From 6a741d6da244fd3bd087d138afbbea967e3dd150 Mon Sep 17 00:00:00 2001 From: Jason Robitaille Date: Tue, 27 Aug 2019 13:19:00 -0700 Subject: [PATCH] enact-framework=v3.0.0,r4 enact-dev-native=v2.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit :Release Notes: Updated Enact 3.0.0 release and Enact devtools. :Detailed Notes: * Updated Enact framework to 3.0.0 release * Updated Enact devtools to 2.5.1 release * Enact app bbclass now supports css module enforcement and improved ilib override enact 2.2.1..3.0.0: f4366caa Version value updating 67d5f67e Update change logs for 3.0.0 0e525fc3 For QA Scroller samples, ensure "Spacer Size" slider is included under "Scroller" rather than "Other". 515d2c89 ENYO-6230: Render the first item properly when `dataSize` prop is updated and the function as a parameter of the `cbScrollTo` prop in VirtualList is called b958f324 ENYO-6226: Fix text strings length in QA samples to allow for marquee 752a838d PLAT-85115: Fix LS2Request to handle path without luna:// prefix f683283f ENYO-6174: Fix ProgressBar fill color when highlighted prop is set 02391c61 ENYO-6224: Fix docs to improve generate TypeScript definitions 6f05a853 PLAT-85170: Fix Scrollable to apply will-change to the proper node 3d647b87 PLAT-84674: Fix Dropdown performance with long lists 582b0b54 ENYO-6165: Fix horizontal scroll behavior in Scroller db8fd0cc ENYO-6216: Fix Slider noFill style when focused 1af228f0 Fix: casing for See also text and bullet for header ca3a874d ENYO-6183: Fix ContextualPopup close button layout fcb73fb2 PLAT-84362: Add additional actions in Scroller samples bfdff87e Version value updating 2619d269 Update change logs for 3.0.0-rc.4 aa823f5e ENYO-6176: Implement a more complete font definition system 396b4521 ENYO-6176: Implement a more complete font definition system c6d7200b ENYO-6186: Fix type of children a453cd12 ENYO-6187: Fix remaining small prop references 7a3e072c ENYO-6186: Fix EditableIntegerPicker to display value after editing db4d0c50 ENYO-6186: Fix Text to determine when translations are available when async 584d157b ENYO-6195: Fix typescript generation for some HoCs 81fb842f ENYO-6155: Fix VideoPlayer jump forward/backward icons f9b60ce5 PLAT-84278: Add support to VirtualList for different item sizes fe42b6d2 ENYO-6188: Fix FormCheckboxItem to marquee its contents 28eb38e6 PLAT-84364: Add useful knobs and actions for QA VirtualListNative sample 03980d46 PLAT-84596: Fix ContextualPopup arrow rendering issue 666b0a70 ENYO-6181: Add missing qa sample config displaynames. 34f48974 Version value updating 8cfb0b31 update CHANGELOG a4e1d694 Update CHANGELOG 161461d6 ENYO-6154: Fix HeaderInput highlight positioning b6d211fb PLAT-81214: Add limit to sampler action payloads c436ee19 PLAT-79523: Improve animation performance of Panels 205dc450 ENYO-6129: Add LabeledItem QA samples 7cbec400 ENYO-6088: Fix restoring focusing within overflow containers 1c03ef1d ENYO-6175: Remove muted attribute in MediaOverlay bc98ba66 ENYO-6096: Fix VirtualList to retain proper scroll position after updating item size-spacing 6aa54ec1 ENYO-6123: Correctly scroll to spotted VirtualList control when focused via 5way 7bca1fff PLAT-83432: Add missing knobs of Scroller, VirtualList and VirtualGridList saimples 9254f9a4 Version value updating 9b7ec153 Update CHANGELOG 23dc3cc6 removing redundant disabled rules 20c10bbc fix Picker item rendering when noAnimation is set add9be54 PLAT-84120: Add support for zh-Hans Font 8dc7a51e ENYO-6145: Fix Scrollable's focus target after using paging control 80c2479f ENYO-6164: Add QA sample for VirtualListNative with extra items outside list 4a718734 ENYO-5944: Add additional icons to Moonstone ebb02e67 PLAT-78618: Update disabled colors b7399024 PLAT-83423: Fix VirtualList not to scroll via channel up and down keys on horizontal paging controls 1e7b8745 ENYO-6151: Fix focused, high contrast, and disabled appearance of expandables 6a9552b8 PLAT-83422: Fix VirtualList to scroll via channel up and down keys on vertical paging controls in pointer mode 65df5fd2 PLAT-83440: Add vertical and horizontal scrollable scroller qa-sampler aa5aa2e0 ENYO-6153: Fix Picker to avoid overlapping items on render d3cebb0c ENYO-6144: Prevent keydown event bubbling appropriately in scroll but… aca8f338 ENYO-6122: Improve platform sampler b0e4bb85 Version value updating 38581aeb Update change logs for 3.0.0-rc.1 53084156 PLAT-81336: Update Dialog for new designs 21b23fe8 Fix typedef declrations 4b503bbf ENYO-6147 Fix @see and some core docs 3afb34e2 ENYO-6130: Fix Scrollable to catch `mousedown` event on a scrollbar 3a9f40b9 ENYO-6115: Fix VideoPlayer more button tooltip rtl flip 8214519b PLAT-83147: Fix Spotlight to restore focus through ancestor containers a7ba58e0 ENYO-6122: Add Panels test for aria-owns if controls exist d80a02db ENYO-6122: Add support for aria-owns in spotlight container nav 32fccd95 ENYO-6142: Fix tooltip arrow gap 45449525 fixed the typo in update 1f362bf1 PLAT-83169: Major overhaul of localized fonts 0687618d ENYO-6146: Increase string length of RadioItem QA sample 5f71aea9 ENYO-6128: Fix Input disabled focus color a73e2b90 ENYO-6080: Fix VideoPlayer feedback tooltip overlap f07e18dc ENYO-6131: Fix VirtualList to navigate from scroll buttons correctly 87eafe8c ENYO-6090: Change Scroller to support page up/down when scrollbar is hidden 5e83cbf6 ENYO-6135: Fix Scroller to not scroll after 5-way down in horizontal scroller d4c6468b ENYO-6109: Fix Scroller off-axis scroll behavior 4c27539c Version value updating 526766b4 update changelog date a4686c06 ENYO-6011: Update Redux integration docs 5f6d8b85 Navigate items properly in RTL languages 5a406c45 ENYO-6098: Guarantee to pass number to itemSize knobs in VirtualList samplers 8de8b960 PLAT-83255: Fix base text mixin to decouple from header variable ec267c70 Updated changelogs for release 25d3fc4a PLAT-81342: Assigned proper colors to RadioItem dot c879a147 PLAT-81341: Fix ProgressBar and Slider to match current designs f1689496 PLAT-83171: Fix Header to match current design guidelines 26fe6918 PLAT-83166: Organized the Button CSS rules 87b3f6a4 PLAT-83172: Fix Heading spacing between text and divider c887b007 ENYO-6079: Fix LS2Request to return an error for null messages dc2f6933 PLAT-83080: Added a new type to Header: "dense" 6d172a94 PLAT-83114: Fix Picker read out of disabled buttons ea70b765 ENYO-6094: Reset spotlight accelerator when focus leaves VirtualList d94d091f ENYO-6095: Fix VirtualGridList scrolling when navigating to adjacent items c12a254d PLAT-81157: Move VirtualGridList to the component directory in qa-sampler 13d2e4d4 ENYO)-6100: Fix LabeledItem to pass marqueeOn prop b49178cc ENYO-6116: Fix Tooltip Layering Order 125b7e91 PLAT-81337: Remove Dropdown Button animation f5c3f7de PLAT-81343: Updated Spinner to use the latest designs f5e649df PLAT-81339: FormCheckboxItem no longer responds to `largeText` mode d8f653cc ENYO-6120: Req: hides border-bottom of the Header 0f79c8d3 Revert "PLAT-81341: Updated the color values of ProgressBar, Slider, and IncrementSlider" a89d20d8 PLAT-81341: Updated the color values of ProgressBar, Slider, and IncrementSlider 99c7d338 Fix wrong item container Ref in VirtualList d221d401 Revert "Updated the 3.x migration guide" b45b422c Updated the 3.x migration guide 89b1d16e Version value updating 9c9a68a6 ENYO-6112: Fix Scrollable to only stop propagation when in contents 6da30bf3 PLAT-81707: Docs: update Enact 3 migration guide for beta.1 e58f1eb1 Additional changelog updates. 49373c7d Updated changelogs for release 3ab3ff30 PLAT-79873: Added/Updated full collection of localized fonts f06dbbad Remove unused to/from variables. 383d6dc4 Additional webOS platform detection, including a generic LG webOS fallback a0a25652 PLAT-80194: Fix Scroller and VirtualList duplicate scrolling by page up/down 1c7c05d0 ENYO-6107: Fix Panels clip path to only apply during transition 62658baf PLAT-78609: Remove deprecated props c8422e29 PLAT-81338: Add Dropdown additional widths d45f6499 Update @enact/dev-utils dependency and remove shrinkwrap (will be regenerated later, with ilib) 6525d8d3 PLAT-80499: Transition to external iLib NPM module d99e4159 ENYO-6099: VirtualList to set focus correctly after an update ccd14a50 ENYO-6041: Add onKeyDown action to VirtualList QA samples e9954601 PLAT-81126: Fix VirtualList wrap knob configuration 1e539a53 PLAT-80938: Update Spotlight QA Samples 92499fab PLAT-41125: Improve webOS platform detection a44d0d60 ENYO-6103: Fix SpotlightContainerDecorator focus and blur event forwarding 22e14dc5 ENYO-6076: Fix largeText mode label size/position in LabeledItem c18f1ace PLAT-79873: Updated Global font to 3-languages font name(s) c34d7f87 ENYO-6101: Set the aria-label of IconButton in IncrementSlider 02fe8536 Enyo 6073: Added QA Sample to Scroller to test focus in a container 046a0197 PLAT-81278: Add Long Content to VirtualList Sample 21b2ed36 PLAT-79889: Fix Redux doc sort order 1c311b0a PLAT-61546: Configure table of contents for docs 5271d107 PLAT-79985: Fix VirtualList event bubbling ed3b85b5 ENYO-6042: Add qa sample for VirtualList in panels 597f23b7 ENYO-6073: Fix Scrollable to focus outside the container d9ebf265 PLAT-78973: Update Icon to support arbitrary strings as icon names 5fe7e2a3 ENYO-6061: Warn only once for validation 9add5a2c ENYO-6077: Add marqueeOn knob to Header QA samples 20a276a7 PLAT-80782: Refactor Header QA Samples for better usability 6d7f7d47 ENYO-6074: Fix FloatingLayer to be closed after transition ends 0ae268c8 add missing knobs for QA sampler 29297468 PLAT-80784: Update accessibility developer guide 55e064c2 PLAT-76949: Fix docs for Scroller and VirtualList 56b00e18 PLAT-78555: Handle resize event in Scrollable 1342a5b3 Version value updating 980a66db Updated changelogs for release 448f0ae1 Fixed typo 813ab0fb Fixed typo 9463b595 PLAT-80081: Scroll and Move Spotlight to the paging control properly via 5-way Down if the current item sticking to the top is only spottable 8e576784 PLAT-79069: Update Header with Input focus aad86a19 PLAT-79871: Fix spotlight support for Dropdown bfc8c010 PLAT-80732: Fix Spotlight qa sample to add space between buttons 8586f5b1 ENYO-6064: Derive groupId from displayName, when one is not set caf4fdb6 ENYO-6067: Fix ExpandableItem to guard against undefined event handlers fd1fbb91 ENYO-6051: Fix VirtualList to scroll to focused item in next line ed2e8d80 ENYO-6066: Fix GridListImageItem to support overriding image css class f9c90443 ENYO-6062: Fix BrowsersList failure on Enact Sampler 8024d51a ENYO-6060: Increase length of title in QA sample 02160dc3 PLAT-72330: Update Storybook to 5.x 23b1877d Fix change log titles from alpha.6 65580fc3 Version value updating 421d4af6 Don't warn on fractional step 79de8f64 Update change logs for 3.0.0-alpha.6 e77fc99b PLAT-76792: Remove Uppercase from components 865338fc ENYO-6045: Remove Divider from samples b7637e8f PLAT-80079: Cleanup code in VirtualList and Scroller 05e6c3fa ENYO-6050: Fix ViewManager to provide a default value for previousIndex a25c242b PLAT-78971: Improved docs for Layout b6150aae ENYO-6034: Fix Scroller to scroll once by page up/down d545c9de PLAT-79783: Apply accessibility on Dropdown b3f1796e PLAT-79571: Updated to prescribed Dropdown widths 468770ff ENYO-6035: Dropdown closes if it is disabled after opening 8aa52aa6 ENYO-6047: Fix Header to center title when centered c343d629 ENYO-6046: Fix Measurable linting 452d96c7 Version value updating e6d0fa06 Update CHANGELOG 0a284d70 VirtualList: add missing findSpottableItem method 0bb463b8 ENYO-5971: Aria debug label fix 83ca9b9f ENYO-5993: Fix VirtualList to restore focus to an item when scrollbars are visible 8f81a57c PLAT-79571: Fix doc parsing error 54a7e269 ENYO-6009: ui/ToggleItem value prop is not sent to onToggle 2665ca07 PLAT-79571: Add prop width to moonstone/Dropdown c0409257 ENYO-6031: Fix specificity for focused and disabled d004f9b9 ENYO-6032: Fix slider opacity when disabled and focused 8ea2ca5f ENYO-5994: Fix VirtualList to allow key events to bubble d1c80240 Fix CHANGELOG 66a1d5de Version value updating 9315e356 PLAT-65757: Changed lists and scroller to scroll by page on page up/down keys 9c4d2f46 Update change logs for 2.5.3 9f9069e8 PLAT-79791: Update font weights for non-latin mixed text c4928abb ENYO-5964: Restore full height Scrollable a0760ed8 ENYO-5979: Fix VL unexpected focus change to to last focused items 748f4497 PLAT-78406: Fix EditableIntegerPicker docs for min and max props e5a601db ENYO-6021: Scroller Buttons: fix focus changes to opposite button when switching modes 07ec9e84 ENYO-6019: Fix ExpandableList with selected array a1a47d5a PLAT-79212: Updated the Touchable sample to better demonstrate its intent 7015f517 ENYO-5957: Fix Scroller to not blur when spotlight is paused 4a437cb0 PLAT-78786: Fix 5way navigation in VirtualList 38d7ae3e ENYO-5961: Fix slider to not scroll viewport on touch platforms 20a5ecde ENYO-5955: Fix ContextualPopupDecorator methods to be bound to the instance d9f3f602 PLAT-74475: Restore animation in Scrollable family 49ae5dcc PLAT-77740: Fix ViewManager children reconciliation 9384c524 PLAT-78459: Fix Slider to focus knob when dragging on touch platforms 4de69488 PLAT-77085: Fix scroller sample to use spotlightDisabled c423e261 PLAT-77177, 77175: Fix issues where scroller and lists does not scroll when in RTL, horizontal mode ab237a81 ENYO-5575: Add voiceControlExtractor 8660534c PLAT-77085: Revert 9bac4bf6cc515dd5f65774ce4fa41cf11adcaeb2 11db978c PLAT-78026: Adjust Scrollable container height a9138d30 PLAT:77174: Adjust focus in Scrollable due to touch events 7cee571f PLAT-77085: Remove data-spotlight-* props from Scrollable 4bfed10a Add css to prevent features that interfere with iOS, Android testing 53285700 PLAT-78104: Fix Input refocusing on touch on iOS b447f15d PLAT-76982: Fix spotlight to unspot when tapping on a non-spottable target 321a9ed8 ENYO-5923: Remove duplicate label from locale knob a2442197 PLAT-77089: Add touch move handlers for VideoPlayer 83da758e PLAT-77904: Fix flick action only for Safari browser on iOS c9bd5006 Updated display name 1895637d Version value updating 0b71bdd6 ENYO-6005: Add moonstone style changes to 3.0 migration guide 27742b97 Update change logs for 3.0.0-alpha.4 cfc570f3 ENYO-6024: Fix Button to does not shrink width of icon 5e066714 PLAT-77708: Reassigned several newly supported languages d45fe4a1 ENYO-6023: Fix VideoPlayer to hide scrim if bottom controls are hidden cc0e42a9 added prop `spotlightRestrict` c4169380 ENYO-6022: Fix setting initial focus of short VirtualList 7ea19383 PLAT-77050: Update to check marqueeOn prop behavior with long title header b7df1e20 PLAT-78227: High Contrast updates 2e8e2397 ENYO-5979: Fix VL unexpected focus change to to last focused items 593e2cdb added a sample to test tall characters 681540d5 PLAT-78406: Fix EditableIntegerPicker docs for min and max props f3da9e6e ENYO-6014: Remove Unneeded Scroller sample 392c6472 ENYO-6021: Scroller Buttons: fix focus changes to opposite button when switching modes bac0ce17 PLAT-79578: Add Dropdown QA sample with array of children 600ff37e ENYO-6019: Fix ExpandableList with selected array c1c01fdd ENYO-6015: Updated Radio Dot to more closely match the design and not overflow its container f75019a1 ENYO-6017: Change Dropdown to use radio selection b459813c Version value updating 3ae44417 Update change logs for 3.0.0-alpha.3 78b60d9a PLAT-76082: Add SharedStateDecorator 3c597b01 ENYO 6008: added a letter 'a' in front of special character so text displays fully 67d1bb74 ENYO-6007: Corrected spacing between Header and content 0f8a330d PLAT-78225: Update light skin colors a2437e36 PLAT-75963: Change ViewManager to use Web Animations API 80cc7425 PLAT-75963: Change ViewManager to use Web Animations API d8532b38 PLAT-79212: Updated the Touchable sample to better demonstrate its intent 06a8d883 ENYO-5999: Fix Dropdown with children of type array-obj 72229cd5 ENYO-5991: Create 2.0 to 3.0 migration guide 1b527973 ENYO-5957: Fix Scroller to not blur when spotlight is paused f666cb19 PLAT-78786: Fix 5way navigation in VirtualList da9c52b6 ENYO-5999: Extended Dropdown to support objects, like Group 652d0e6b ENYO-6006: Fix doc warning in Divider 8488cfe1 ENYO-5997- Increased size of button label to test marquee f8c9e95a ENYO-6001: Fix MediaControls to change button size to large 90bd878e PLAT-77055: Change Scroller to scroll and focus button when no focus target found 1e2b4a65 ENYO-5985: Fix font names from PostScript names to full names ad49c856 PLAT-79105: Add Header sample e85adfcd ENYO-5990: Update prop-types to variable range dependency. 9204bdf9 added a character in front of tall-glyphs f0dd2819 removed the sample 'with 10 options' e1ae183b Version value updating deca4aa9 Update change logs for 3.0.0-alpha.2 29b4ac85 ENYO-5981: Fix Light skin disabled+focused checkbox 9f9701f1 ENYO-5992: Fix FormCheckbox size and colors 0728e9b9 ENYO-5981: Fix colors for Checkbox in both skins 6541445c PLAT-78893: Add moonstone/Heading prop spacing febaf33d ENYO-5986: Corrected the color of the translucent family of buttons 183fd5aa PLAT-78894: Updated caret color for latest designs efc17ca0 ENYO-5982: Normalized Item height and added large-text mode support to Dropdown eac288d9 ENYO-5980: Updated sample to statically set button sizes and only include relevant knobs 176b613a Added qa-sampler for Dropdown 33c200cc ENYO-5988: Fix background color of Input in Header d350e36a ENYO-5978: Fixed large-text mode icon size for SelectableItem and RadioItem f7ffc202 ENYO-5961: Fix slider to not scroll viewport on touch platforms fe762329 Version value updating 70f55d47 Remove 3.0.0 section b9f1d93d Update change logs for 3.0.0-alpha.1 bdbe35ee ENYO-5955: Fix ContextualPopupDecorator methods to be bound to the instance 2bdcf63c ENYO-5955: Fix ContextualPopupDecorator methods to be bound to the instance aa9bfd38 ENYO-5975: Fix Disabled+Focused IconButton and Switch 42e345ec ENYO-5966: Fix LabeledItem font color 615f3950 ENYO-5965: Fix ContextualPopup padding 3a15dc30 ENYO-5964: Restore full height Scrollable 417a62a4 PLAT-78718: Update disabled scrollbars to get a focus on page up/down 95568402 ENYO-5961: Fix slider to not scroll viewport on touch platforms 92dee605 PLAT-78725: Fix VirtualGridList to work properly with `wrap` prop deb7f009 ENYO-5950: Fix Input text to be visible when disabled and focused 178203ca Fix button position in ContextualPopupDecorator of qa-sampler 05586c3e PLAT-78617: Update default size to "small" 704dfa48 PLAT-77999: Add moonstone/Heading component 1809f117 PLAT-77054: Update docs to remove isItemDisabled 3643ae9f PLAT-78579: Fix ToggleButton and DaySelector icon shape 21a781a6 PLAT-74475: Restore animation in Scrollable family 3128ccac PLAT-77740: Fix ViewManager children reconciliation cb6fcc8e PLAT-78459: Fix Slider to focus knob when dragging on touch platforms ffb05a7a PLAT-78512: Fix Tooltip regressions 7152a284 PLAT-78612: Fix the font-size in breadcrumb to not wrap 98b294fb PLAT-76988: Add noScrollByWheel to prevent scrolling on wheel events a6d9d394 ENYO-5948: Spinner - Added a size prop to support "small" 7c7e0ec8 PLAT-77085: Fix scroller sample to use spotlightDisabled bd6636ed PLAT-78043: Updated Checkbox style a little bit 1d0d8864 PLAT-78102: Fix Measurable to measure after initial render cd900cd6 PLAT-76359: Add Dropdown b8f0ddb8 PLAT-77177, 77175: Fix issues where scroller and lists does not scroll when in RTL, horizontal mode 96104c27 ENYO-5575: Add voiceControlExtractor ef8bd03f PLAT-77085: Revert 9bac4bf6cc515dd5f65774ce4fa41cf11adcaeb2 1f3bed02 PLAT-73523: Change Tooltip appearance to match new designs b61e80d3 PLAT-77054: Change components to allow disabled components to be focusable 7b5fd967 ENYO-5949: Header hides components block if there are none d6b5221c PLAT-78026: Adjust Scrollable container height c604802c PLAT:77174: Adjust focus in Scrollable due to touch events 0ec46a0c PLAT-78048: Updated general/global rules aac06ffb PLAT-78051: Updated Button designs 9bac4bf6 PLAT-77085: Remove data-spotlight-* props from Scrollable ef3edacf PLAT-78050: Added a "selected dot" into the selected Radio circle 1e6841ef PLAT-78046: Updated Header to match designs ff6f2024 PLAT-75756: Add paging support to Scrollable when focus is not set 03f31473 Add css to prevent features that interfere with iOS, Android testing f08fd7dd PLAT-78104: Fix Input refocusing on touch on iOS ae52be4d PLAT-76982: Fix spotlight to unspot when tapping on a non-spottable target 503c3466 ENYO-5923: Remove duplicate label from locale knob 7cb91eda PLAT-77089: Add touch move handlers for VideoPlayer d3a6022c PLAT-77904: Fix flick action only for Safari browser on iOS f17e05bf PLAT-78053: Updated Panel and Panels margins/paddings 846d4d92 PLAT-78049: Updated DaySelector's checkbox shape 324aeb84 PLAT-78047: Updated font size for BodyText and added size prop 17a8b4c4 PLAT-78052: Updated LabeledIcon and LabeledIconButton text size 34cc7f14 PLAT-78054: Updated the appearance of FormCheckboxItem (and friends) 80cd09ca PLAT-76789: Add size prop and deprecate small prop d0ccc069 PLAT-76464: Refactor Tooltip to improve maintainability e9f5a1de PLAT-77851: Change Notification appears to match new designs 36c3e3de PLAT-73522: Change ContextualPopup appearance to match new designs 9dc25277 Updated display name 8c20907c PLAT-73816: Add itemIcon prop to ui/ToggleIcon fbab4a4e Fix typo d26d9deb PLAT-77661: Add IconButton to Taparea QA-sample 9cada28f PLAT-77150: Fix moonstone to suppress tap highlighting on Android 26a5823e PLAT-76788: Update designs for Input in high contrast f28a70d9 ENYO-5920: Fix Pickers to not error when min > max e940c6c2 Update EditableIntergerPicker box shadow thickness 46a4caa9 PLAT-77050: Update to check marqueeOn prop behavior with long title header e7592c89 PLAT-77194: Deprecate moonstone/Input.InputBase focused prop bae60584 Version value updating fd04cedb Update release date 2670aafb ENYO-5933: Fix 5-way navigation for RTL with VirtualGridList 5f361bd7 Revert "PLAT-77661: QA Sampler-Button with tap area displayed: added taparea to IconButton and a divider to viewport (#2209)" e5b8700d Update CHANGELOG 094f9fd2 Feature/plat 76981 roysutton e745d3f7 PLAT-77119 - Added sample to test change layout to arrow function 84b285ca PLAT-77661: QA Sampler-Button with tap area displayed: added taparea to IconButton and a divider to viewport 4e91403f Removed code for restoring the scroll position on focus 16623e55 PLAT-75887: VirtualList Perf - Manage focus within VirtualList 31b6ea6c ENYO-5919: Fix alignment of content in moonstone/EditableIntegerPicker 61f60a0c ENYO-5926: Fix overriding default skin variants from Skinnable 78686e06 PLAT-75346: Update design of moonstone/Header with Input cfc2ed05 ENYO-5898: Fix VideoPlayer to continue to display thumbnail image 505139e7 PLAT-75399: Updated font names ecb8bd15 PLAT-76981: Fix Touchable to prevent handling events on multiple nodes 84ae494a PLAT-75350: Update Button and IconButton color update e7c840d2 Update docs for TooltipDecorator a460c2e3 Skip sampler package for NPM linking during link-all and unlink-all tasks. 6f87c7c8 PLAT-76786: Change Touchable to not gain focus when activated by touch 470aab17 PLAT-73229: Update Header to match latest designs 7fde7c21 PLAT-74078: Enable drag support for moonstone/Scroller e0f68869 Remove casing reference fc82d38c PLAT-74980: Update design of moonstone/Button d2749032 ENYO-5909: Remove rAF in onScroll handler f403f757 Version value updating 24393786 Updated CHANGELOG 92ffe234 PLAT-73234: Update design of moonstone/Input 581d4311 Fix Touchable forwarding of mousedown events ccc30e5e PLAT-76545: Fix core/kind to only apply static component props when provided f385da48 PLAT-75397: Fix ExpandableInput to close on touch platforms when tapping off it 9c299d61 PLAT-75393: Fix Touchable firing duplicate onTap events c9f31594 ENYO-5906: Add check for demote to avoid setState call fd536387 Version value updating fc94a608 Update CHANGELOG 0ec27514 Update CHANGELOG 6a5608cf ENYO-5905: Fix QA Tooltip sample typo e0d894f3 ENYO-5888: Add BodyText to QA sampler 92abafce ENYO-5893: Fix ContextualPopupDecorator to allow positioning from app code f570b005 PLAT-68767: Fix Scroll buttons to only update state when needed ab8ccf70 I added condition whether child is valid or not before generating spotlightId of Panel c6d567e3 PLAT-64255: Optimize ExpandableItem render performance b7724166 Remove extraneous CHANGELOG a87e5ea8 ENYO-5880: Better layout of overflowing Tooltip cda885cd ENYO-5874: Bump up clientSize prop to Scrollable a03e4700 ENYO-5841: Add ref support to Layout and Cell 0021ca26 ENYO-5890: Fix to move Spotlight between scroll buttons properly via 5-way keys 1c75a501 ENYO-5728: Fix spotlight to guard against accessing non-existent containers a6961168 ENYO-5818: Fix list QA samples when dataSize is greater than 1000 cf3a21b8 PLAT-75865: Fix to resume spotlight pauses when closing with animation 5efb0b99 ENYO-5822: Enact QA-Sampler: create a sample to test long text and verify height of Notification extends a634211e ENYO-5878: Fix Spottable to minimize unnecessary re-renders 61a40b41 ENYO-5885: Fix that 'removeEventListener' was undefined in VirtualList and Scroller samples 9afccb6e Add missing CHANGELOG section a6fd1616 PLAT-75294: Fix Picker to display more of the selected value in wide instances e6a0f0ac Version value updating aae6822a Update CHANGELOG for release 8bc1ef07 ENYO-5881: Fix TooltipDecorator in iso builds 60c1119a Prevent focused functions until window ready 49cd3e2c PLAT-54923: Apply createRef and forwardRef to VirtualList and Scroller eef191db PLAT-69081: Fix I18nDecorator to defer locale change until window focus 9ed1af27 ENYO-5693: Fix muted colors 0adc6631 Let's use em 609ea6b9 PLAT-73548: TooltipDecorator recalculate layout cdc82418 ENYO-5873: Fix VirtualList to only resume its spotlight pauses 23d97d76 ENYO-5865: Fix remaining in pointer mode when the Escape key is pressed 9eeeed81 PLAT-73358: Fix to perform `scrollTo` callback during the list is updated by prop changes 6ee0229e ENYO-5856: Stop pulse for seek when blur event occur 93677a62 ENYO-5866: Fix isRenderable and hoc to support special React types 9dea342b ENYO-5867: Fix Spinner animation synchronization f335c5f2 ENYO-5764: Fix VideoPlayer to continue to show thumbnail on playback keypress b0fe65c3 Use latest LTS release of NodeJS for increased stability. 5321f4ed Version value updating 79458b45 Added new fonts and refactored fonts.less 72723754 Update CHANGELOG fd194cb1 PLAT-69177: Added single-line support to BodyText 63e869ea PLAT-74086: Update interop docs for 2.3.0 07df7a6c ENYO-5722: Create sample to test tall glyphs as non latin components 6da6ea40 PLAT-69511: Add line-height in the base font mixin dacef16e ENYO-5842: Switch ui/ProgressBar to unitless proportions from percents 3375057f PLAT-73235: Fix Spinner to use chromium 68-compatible gradient 06f90f26 ENYO-5843: Added a component prop to Repeater to allow customization 5149fd60 PLAT-73235: Updated Spinner to new GUI spec dc44dff8 ENYO-5852: Enact-ui-tests: DatePicker and TimePicker - running same test on different builds gives different result 627de5fc ENYO-5630: focus to default element when moving to next panel 70f87b1e ENYO-5791: Fix timing of popup content spotlight to onOpen 4d932de9 PLAT-64279: High Contrast color support 0254210c ENYO-5853: Remove trailing semicolon from AccessibilityDecorator 7dfefc58 PLAT-72723: Update ui/VirtualList lifecycle method c82e2ed8 ENYO-5839: Fix Storybook story workspace positioning fbf2c550 PLAT-73547: Update ViewManager internal lifecycle methods 14ed18cb ENYO-5779: Spottable > prevent updates due to focus changes 973bbeab ENYO-5815: Storybook Improvements c6866dda PLAT-73546: ui/Changeable & ui/Toggleable: Add warning if both [defaultProp] and [prop] are declared 1e1834fd ENYO-5808: Slider > prevent default browser scroll behavior df9c322a PLAT-72718: Update Scrollable and VirtualList lifecycle methods 8f79ca3e Test code coverage 51f64814 PLAT-72724: Update QA VirtualList sample lifecycle methods 480dadb5 add marqueeOnRenderDelay to Marquee qa story 29baaa44 PLAT-73957: Fix linting errors post 2.3.0 release e14159e0 Version value updating f960ff89 Fix missing semicolon c9afc6f5 Fix missing semicolon 50050918 Version value updating a84054d4 Fix DurFmt retrieval for isomrphic rendering fc02b6d3 ENYO-5795: Fix Slider to prevent gaining focus when disabled 34038acd Version value updating 7d891e81 Version value updating 6e93e16f Update CHANGELOGs 14eebd22 Lock prop-types on 15.6.2 e3e55120 Workaround syntax fix for Babel bug. b2e99780 PLAT-73583: Consolidated Picker's largeText rules into one section 57252f0f ENYO-5793: Restore OPENING state in Popup a87134d7 ENYO-5794: Revert logic for controlled state for Changeable/Toggleable 87862245 Remove jsdoc from non-doc object 877a0308 Remove .only from a couple unit test files e1d3a460 PLAT-72716: Picker and Scrollable - Update lifecycle method 43723474 PLAT-72159: Adopt new context API for controllers 4b307355 ENYO-5784 - Qa-Sampler: Marquee - with short content: Cannot read property 'scrollWidth' of undefined e1deb036 Joined Picker: re-add spotlightDisabled and onSpotlightDisappear support 35eadfff PLAT-72654: FloatingLayer & Popup life cycle method update 7e801189 PLAT-72713: Transition update lifecycle 286cd3c4 PLAT-67808: Async ilib workaround for moonstone 5e960f5f PLAT-72715: ViewManager update lifecyle methods 4175e31c PLAT-72740: MarqueeDecorator lifecycle update 031bab65 PLAT-72655: Fix ApiDecorator to be compatible with StrictMode 81bb310b PLAT-72158: Replace contextTypes with contextType in core/kind 7c298045 move controller updates to componentDidUpdate faa16392 PLAT-72725: Update lifecycle methods in Changeable and Toggleable e57b358a PLAT-72712 - i18n: lifecycle method updates per locale prop update 9c73ed97 PLAT-72733: ExpandablePicker lifecycle update 9d2eccc8 PLAT-64279: Add support for skin variants 2bafe80e PLAT-72905: Implement a CRA-compatible modular CSS resolution strategy 26e52285 PLAT-72731: DaySelectorDecorator life cycle methods updates 7ca00320 PLAT-72739: Update Spottable lifecycle method 474263af PLAT-72576: Pare down Enact framework's root .less files 3a2ba7de PLAT-68622: Update docs for Panels and kind() 2cae27d6 ENYO-5766: [qa-sampler] Fixed qa-sampler not being refreshed when entering values for knob cd5c5d27 PLAT-72618: [qa-sampler] Add `max`, `min`, and `value` knobs to IncrementSlider sample fe2a4f70 ENYO-5664: Add onHoldEnd event to Touchable 3f087774 PLAT-72734: Update DateTimeDecorator life cycle methods c7c64e01 PLAT-72726: Update VideoPlayer life cycle methods 237836b7 Spottable: Fix multiple click event when keyboard accessible node is … 45721a70 PLAT-72875: Add support for 8k display in Moonstone 7a7cfca8 ENYO-5775: Add QA sample to test scroller and marquee 677b3ff3 PLAT-72730: Update ContextualPopupDecorator life cycle methods 98d39412 PLAT-72738: Update lifecycle method in SpotlightContainerDecorator c6930b77 PLAT-72742: Update ui/Touchable lifecycle method 8bfd0526 PLAT-72732: ExpandableInput - Update lifecycle method c6bbc3d8 PLAT-72653 - Converted Cancellable to not use componentWillUpdate 30726fa6 PLAT-72735: Router - update router lifecyle method 58081abc PLAT-72737: Update TimePicker lifecycle method 93cf4743 PLAT-72736: Update Slider to use getDerivedStateFromProps a55ea0fa PLAT-72727: Remove componentWillMount blocks 55a8506d ENYO-5555: Fix Picker hold behavior f661b4e2 PLAT-72156: Replace `resize` PubSub with context API a4958079 PLAT-72155: Remove ui/Remeasurable d9182138 update copyright years 9ba9dcd6 PLAT-72250: Fix i18n loader to fail gracefully when paths are not injected d21456a6 ENYO-5688: Prevent Spottable focus when it should not be focusable e9f84fb6 PLAT-61824: Add QA sample to test disabling spottable-marqueeable button 35603c2e missed one dc6c2fb4 convert lifecyle with rename-unsafe-lifecycles codemod 752911ae ENYO-5756: Fix closing Popup's floating layer when closed without animation 75f28f1e PLAT-68147: Improve documentation for type generation 1f856472 ENYO-5702: Add QA sample to test navigating into an overflow container 5bba0b3c Fix change log from 2.2.9 merge 64bc9495 Version value updating b5ac66a7 Update change log for 2.2.9 0208a5e9 ENYO-5752: Fix scrolling to boundary for short scrollers b694bb47 ENYO-5723: Fix fetching rtl context value for Scrollable b878c629 ENYO-5742: Add unit tests of voice control for moonstone components d68e5b7e ENYO-5752: Fix scrolling to boundary for short scrollers 8c87802a ENYO-5611: Remove global keydown handler from Scrollable 3a1cb39a ENYO-5746: Fix Spotlight prioritization within overflow containers 173e6238 PLAT-70229: Fix Spotlight unit tests e505b77f PLAT-50585: Fix ui/Marquee to marquee text after locale change 92035ac5 ENYO-5751: Fix focusing a VirtualList list item within the viewport via scrollTo e13c7ab5 PLAT-71710: Sampler: ExpandableInput, Input: Change 'type' knob to a dropdown list 0855c07a Restore .travis.yml to use develop branch of CLI 85d4e2ef Version value updating c6f2449e ENYO-5715: Add QA sample to show added children 5493ff4a ENYO-5745: Fix ExpandableItem and Scroller handling of disabled containers e3a8b72b PLAT-70230: Drop Sinon in favor of using Jest built-ins for mocking/spies 2df4a251 Update change logs for 2.2.8 23ce8075 ENYO-5739: Fix runtime error when unloading Marquee sample d337bdf5 ENYO-5734: Resume Spotlight when ExpandableInput closes 01095eea PLAT-63753: Add sample to test interaction between IncrementSlider and Contextual… b044976b PLAT-70494: Add sample to test short content Marquee eeecd2d2 ENYO-5710: Fix Scroller to better handle scrolling due to focus 177b8e26 ENYO-5726: Reduced onScrollStart and onScrollStop calls on key down 3bd33d5b ENYO-5735: Fix Marquee to show ellipsis when children change 302057b2 Use master CLI branch for 2.2.8 release branch in Travis. a444abce PLAT-68129: Convert tests to use Jest 8a9d4030 ENYO-5715: Add QA sample to show added children f11047a7 Version value updating 6f66ad25 Update change logs for 2.2.7 555a7364 ENYO-5731: Fix Marquee to avoid very small animations 88180db4 ENYO-5727: Fix support for disabling voice control in moonstone components da2fd0df Version value updating f8f6703e Update changelog e23b1ea0 ENYO-5724: Fix marquee handling of very small marquees 251934af ENYO-5725: Fix VideoPlayer to blur slider when hiding media controls da266724 ENYO-5720: Use device locale as default in sampler 375b9e5e PLAT-64690: Disable scroll animation with 5-way navigation 77b31cee ENYO-5697: Added .moon-font-size mixin e970a9e2 PLAT: 64797: Add support for async i18n resource retrieval 0fc742dd ENYO-5721: Fix VideoPlayer to disable pointer mode when hiding media controls be65b863 PLAT-67660: Pass childProps through VirtualList 44e15cea Version value updating 2a5c39bc Update CHANGELOGs afc20b94 ENYO-5703: Fix MoonstoneDecorator to Latin and non-Latin font rules to the root 14d16a5c ENYO-5709: Fix ExpandableItem focus when closing 4fdc88a2 ENYO-5708: Fix Transition layout after changing children 996e1569 Version value updating da02a752 Update CHANGELOG 4fbddea6 ENYO-5395: Improve documentation of moonstone/ToggleIcon 5004ff68 PLAT-67667: Fix DayPicker separator character for fa-IR locale 568ebb72 ENYO-5700: Fix scrolling by voice commands in RTL locales e78b46f7 Version value updating ed417b10 Update change logs for 2.2.3 14cbc282 ENYO-5683: Fix handling pointer events in Scroller when spotlight disabled 0aa05dbe ENYO-5691: Fix Notification text to be rendered clearly 047abd6e ENYO-5667: Scroll to the boundary when the first or last item is focused 1b736b40 ENYO-5695: Fix spotlight target selection of clipped elements 2f52c223 ENYTO-5665: Job needs cleanup f4a35520 ENYO-5692: Fix VideoPlayer to clamp knob position e6394e76 ENYO-5690: Add `disableBackHistoryAPI` to appinfo.json of Storybook b5ada3ee Version value updating 345a9798 Update change logs for 2.2.2 349a5d3d ENYO-5681: Fix slowed scrolling due to duplicate scroll requests for native scroller 0c6670b7 ENYO-5682: Prevent default scroll action on repeated page up down key 8154e411 ENYO-5679: Add QA sample for Scroller with 2 ExpandableLists 0eeb9835 ENYO-4581: Fix slowed scrolling due to duplicate scroll requests 62bab0f0 ENYO-5687: Fix Job.idle() to stop an existing job before scheduling a new job a1e5bab3 ENYO-5682: Fix scroller stutter on page up/down enact-dev-native 1.0.14..2.5.1: c76c4e3 PLAT-84731: V8 snapshotting fails when no ilib external package is not found 2fcdc2f 2.5.0 version details. ec00c36 PLAT-72711: Support dynamically setting theme ilib variables 905c17d ENYO-6163: Fix Jest tests to load dotenv files d3f3475 ENYO-6150: Support CLI debug info dump command 7a01ed1 ENYO-6162: Add animate support for tests 1f6b47f ENYO-6133: Support template 'type' value for project creation feedback a94a4ee Export enact api commands in a lazy manner via getter functions, to only require what is needed. Additionally support json meta pack option value via programmatic API usage. b6085e5 Specific check on Int8Array.prototype.toLocaleString 95fcd93 Prevent invocation of Int8Array.prototype.toLocaleString, which, like Array.prototype.toLocaleString, breaks v8 snapshot. 3edc735 Revert disabling of es.typed-array.to-locale-string 2b5a3eb Disable es.typed-array.to-locale-string since it breaks v8 snapshot b644e24 2.4.1 version details c5caab9 Fix iLib alias prioritization such that scenarios where an ilib dependency exists, but an old Enact is use, the framework uses the correct iLib location. 61b2014 PLAT-81105: Undetermined RI value can result in Infinity rem values 95c3a73 ENYO-6043: Improve docs around proxy config option b11e6a5 2.4.0 release details and updated @enact/dev-utils ca50532 PLAT-80499: Transition to external iLib NPM module f6bc0e0 2.3.1 release details e1035ab 2.3.0 release details d174470 PLAT-78524: Narrow polyfill support to only stable features (no draft features) 2e04c8a PLAT-76285: Enhanced React Hooks support in tooling 6d51010 PLAT-77105: Exposes __mocks__directory during serving as a fallback from public, in the event mockdata is needed during devserver usage. ce073c3 Updated Enact dev-utils to 2.2.0 release ea7dd5c 2.2.0 release details. 12ac7ad ENYO-5928: Fix loading Babel for ejected apps a5d5fc6 ENYO-5932: Disable sourcemaps when using inline styles to avoid async blob stylesheets. 40115b3 ENYO-5894: Fix serving TypeScript projects 0cfae28 Support core-js@3 and latest Babel tools/transforms. ac2016b Uses `npm config get prefix -g` to resolve global module path to allow for custom paths via npmrc configs. 1b3e0c2 2.1.0 release details. a4d1bef PLAT-76030: Update Enact Babel dependencies aca3f89 PLAT-74448: PLAT-74448: Support public directory to copy static files during build a0c5e9d ENYO-5831: Option to disable CommonJS transpiling not being applied 1ab7b80 2.0.2 release details d9323cf Fix typo 014c425 ENYO-5814: Add eslint-plugin-jest ea1510c 2.0.1 release details. 8d04707 PLAT-73957: Travis failures after CLI 2.0.0 release 8d2d5af Fix rewriting of LESS URLs for relative paths fe371a4 Updated changelog for 2.0.0 46862a5 Updated moonstone template for module less file extension format. 06640a1 Added information on `forceCSSModules` Enact build option flag. b2839ab Ensure build/dist/coverage directories correctly ignored when searching for test suites. f1a3e5c Code coverage support for Enact libraries. 02df4de 2.0.0 version update 6ba62ad Updated dependencies to latest releases. 976811a Fix output warnin/error formatting and asset filesize printing. a769ffb PLAT-73519: Add option to support ES6 imports/exports without CommonJ… 243dd4e ENYO-5772: Can't import aliased ilib path while testing 0bf4f47 PLAT-72999: Migrate resolution independence plugin to PostCSS 9537c86 PLAT-72905: Implement a CRA-compatible modular CSS resolution strategy 7b896bd PLAT-71620: Implement optional Typescript linting support 35977fa CRA-style POC css ident generation. 4c759fd Improved node_modules Enact-scope CSS detection regex 6110290 Temporarily disable LESS processing for CSS framework files. 5ddbe1a Updated eslint-config-enact to 1.4.0 release 0645684 For any 'style' directory, just copy files. For 'internal' directories within a 'style' directory, skip those files. Additionally, when processing JS imports of LESS files, do not rewrite LESS imports within a `styles` relative directory. ead03e9 update copyright 988b1bb PLAT-64687: Implement a LESS-to-CSS publishing strategy 79f8350 1.2.1 release version d8972d6 PLAT-63216 Add support for TypeScript 38f01bb 2.0.0-alpha.1 release details f9c4b4b ENYO-5689: Support dotenv standard for importing environment variables 9b41f63 PLAT-62880: Add ability to omit debug LESS rulesets ac9fe2f PLAT-70633: Travis tests using Enzyme fails on latest React 16 c973efa PLAT-70230: Drop Sinon in favor of using Jest built-ins for mocking/spies bed9a23 Updated dependencies. 7e498ea PLAT-68130: Implement Jest configuration within CLI 5382f26 ENYO-5698: Disable postcss-custom-properties plugin c028ec8 Updated eslint with no-unused-vars fix and updated eslint-config-enact supporting process global. 95fcfac ENYO-5685: Incorrect error when linking Enact into non-Enact package. 19ce564 PLAT-64686: Improve support for emerging CSS standards 6ebf8c6 ENYO-5050: Webpack 4, Babel 7 and updated dependencies 5081d3a 1.2.0 release details c68feee PLAT-65802: Add meta flag support for overriding metadata at buildtime b7bd87a ENYO-5632: Add core-js as a dev dependency for local installs 7492a80 Update command help and docs a50cc26 Bump mocha-react-proptype-checker version 2c8d6b0 1.1.1 release details 07e5de1 ENYO-5525 - Update templates to 2.0.0 d05f989 Updated @enact/dev-utils 6bb479a 1.1.0 release details. 57e479b Use @enact/dev-utils 1.1.1 dependency 086dc59 ENYO-5290: Create docs for eject, environment, integration features. 2e9dfdc Update to support @enact/dev-utils and React 16.4.1 68198a4 ENYO-5357: Environment variable injection support 8c70706 Updated eslint-config-enact dependency version. 8e04e89 Update to react plugin 7.9.1 6549aa4 ENYO-5310: Add vebose logging support to Enact CLI pack 7eac730 Support caching NPM's cache and minimizing network footprint for improved speed. bda5345 ENYO-5150: Support @moon-accent variable override c8de8d6 ENYO-5287: CLI not respecting global._babelPolyfill and not correctly transpiling babel-polyfill requests into targeted core-js polyfills. 82fc7d3 Disable calc optimization support in css-loader due to a bug where it's destroying css variable that include the word fragment "calc". Eg. --tooltip-calculated-offset. See https://github.com/postcss/postcss-calc/issues/50 ea3b779 ENYO-5232: Source moonstone template from repo/npm b49fcca ENYO-5283: Support @global-import syntax for importing CSS e61ad48 PLAT-54840: Add support for eject 1eefaf7 ENYO-5269: Relocate proptype-checker into mocha-react-proptype-checker 797e58b ENYO-5209: Limit Uglify optimizations to ECMA 5 :Testing Performed: Verf built and locally tested :QA Notes: :Issues Addressed: [PLAT-84121] Run current CLI with OSE Enact apps and identify compatibility issues [PLAT-85066] CCC: enact-framework=v3.0.0,r4 enact-dev-native=v2.5.1 Change-Id: I41fc0abc7c106bce69e093c1cea73a89a0de5057 --- meta-webos/classes/webos_enactjs_app.bbclass | 63 ++++++++++++------- .../enact-dev/enact-dev-native.bb | 6 +- .../enactjs-apps/enact-framework.bb | 51 +++++++++++---- 3 files changed, 81 insertions(+), 39 deletions(-) diff --git a/meta-webos/classes/webos_enactjs_app.bbclass b/meta-webos/classes/webos_enactjs_app.bbclass index 8630d2c48..bacba0f51 100644 --- a/meta-webos/classes/webos_enactjs_app.bbclass +++ b/meta-webos/classes/webos_enactjs_app.bbclass @@ -18,7 +18,7 @@ inherit webos_filesystem_paths inherit webos_enactjs_env # Dependencies: -# - ilib-webapp so we can override @enact/i18n/ilib with device submission +# - ilib-webapp so we can override NPM ilib dependency with device submission # - virtual/webruntime to use the mksnapshot binary to build v8 app snapshot blobs # - enact-framework to use a shared Enact framework libraries # - coreutils-native to use timeout utility to prevent frozen NPM processes @@ -49,15 +49,20 @@ WEBOS_LOCALIZATION_INSTALL_RESOURCES = "false" # Allows a component to override the standard build command with something custom WEBOS_ENACTJS_PACK_OVERRIDE ??= "" -# Allows overriding the build flags used with enact-dev -WEBOS_ENACTJS_PACK_OPTS ??= "--production --isomorphic --snapshot --locales=tv" +# Allows overriding the build arguments for Enact CLI +WEBOS_ENACTJS_PACK_OPTS ??= "--production --isomorphic --snapshot --locales=webos" + +# When true, will force building apps in full CSS modular mode. Otherwise will build CSS in a global +# context with *.module.css in the modular context. +WEBOS_ENACTJS_FORCE_CSS_MODULES ??= "true" # When true, will override the app's version of Enact, React, etc. with the build-target versions # Defaults true. Any apps not compatible will system-wide Enact version standard will need to change this. WEBOS_ENACTJS_SHRINKWRAP_OVERRIDE ??= "true" # Path to javascript override of a build submission ilib -WEBOS_ENACTJS_ILIB_OVERRIDE ??= "${@ '${STAGING_DATADIR}/javascript/ilib'.replace('${LIB32_PREFIX}', '')}" +WEBOS_ENACTJS_ILIB_OVERRIDE ??= "${STAGING_DATADIR}/javascript/ilib" +WEBOS_ENACTJS_ILIB_OVERRIDE_ALLARCH ??= "${@ '${WEBOS_ENACTJS_ILIB_OVERRIDE}'.replace('${LIB32_PREFIX}', '')}" # On-device path to ilib json assets WEBOS_ENACTJS_ILIB_ASSETS ??= "${datadir}/javascript/ilib" @@ -68,8 +73,9 @@ WEBOS_ENACTJS_FORCE_ES5 ??= "false" # May be provided by machine target; ensure the variable exists for allarch filtering LIB32_PREFIX ??= "" -# use allarch enact framework data, filtering out "lib32-" prefix -WEBOS_ENACTJS_FRAMEWORK ??= "${@ '${STAGING_DATADIR}/javascript/enact'.replace('${LIB32_PREFIX}', '')}" +# support potential allarch enact framework data path, filtering out "lib32-" prefix +WEBOS_ENACTJS_FRAMEWORK ??= "${STAGING_DATADIR}/javascript/enact" +WEBOS_ENACTJS_FRAMEWORK_ALLARCH ??= "${@ '${WEBOS_ENACTJS_FRAMEWORK}'.replace('${LIB32_PREFIX}', '')}" # Don't need to configure or compile anything for an enyojs app, but don't use # do_[noexec] = "1" so that recipes that inherit can still override @@ -104,9 +110,17 @@ do_compile() { # apply shrinkwrap override, rerouting to shared enact framework tarballs as needed if [ "${WEBOS_ENACTJS_SHRINKWRAP_OVERRIDE}" = "true" ] ; then + bbnote "Attempting to use submission enact framework" if [ -d ${WEBOS_ENACTJS_FRAMEWORK} ] ; then bbnote "Using system submission Enact framework from ${WEBOS_ENACTJS_FRAMEWORK}" ${ENACT_NODE} "${WEBOS_ENACTJS_TOOL_PATH}/node_binaries/enact-override.js" "${WEBOS_ENACTJS_FRAMEWORK}" + else + if [ -d ${WEBOS_ENACTJS_FRAMEWORK_ALLARCH} ] ; then + bbnote "Using system submission Enact framework from ${WEBOS_ENACTJS_FRAMEWORK_ALLARCH}" + ${ENACT_NODE} "${WEBOS_ENACTJS_TOOL_PATH}/node_binaries/enact-override.js" "${WEBOS_ENACTJS_FRAMEWORK_ALLARCH}" + else + bbwarn "Enact framework submission could not be found" + fi fi fi @@ -152,23 +166,21 @@ do_compile() { if [ ! -z "${WEBOS_ENACTJS_ILIB_OVERRIDE}" ] ; then ## only override ilib if using Enact submission via shrinkwrap override if [ "${WEBOS_ENACTJS_SHRINKWRAP_OVERRIDE}" = "true" ] ; then - if [ -d node_modules/@enact/i18n ] ; then - # use ilib submission component rather than one bundled within @enact/i18n - if [ -d ${WEBOS_ENACTJS_ILIB_OVERRIDE}/lib ] ; then - # override local lib with system-based submission - cp -fr ${WEBOS_ENACTJS_ILIB_OVERRIDE}/lib node_modules/@enact/i18n/ilib - - if [ -f ${WEBOS_ENACTJS_ILIB_OVERRIDE}/package.json ] ; then - cp -f ${WEBOS_ENACTJS_ILIB_OVERRIDE}/package.json node_modules/@enact/i18n/ilib - fi - - if [ -f ${WEBOS_ENACTJS_ILIB_OVERRIDE}/index.js ] ; then - cp -f ${WEBOS_ENACTJS_ILIB_OVERRIDE}/index.js node_modules/@enact/i18n/ilib + SUB_ILIB=${WEBOS_ENACTJS_ILIB_OVERRIDE} + if [ ! -d ${WEBOS_ENACTJS_ILIB_OVERRIDE} ] ; then + SUB_ILIB=${WEBOS_ENACTJS_ILIB_OVERRIDE_ALLARCH} + fi + # use ilib submission component rather than one bundled within @enact/i18n + if [ -d ${SUB_ILIB}/lib ] ; then + # Support both old and current local ilib locations + for LOC_ILIB in node_modules/ilib node_modules/@enact/i18n/ilib ; do + if [ -d ${LOC_ILIB} ] ; then + # override local lib with system-based submission + cp -fr ${SUB_ILIB}/lib ${LOC_ILIB} + cp -f ${SUB_ILIB}/package.json ${LOC_ILIB} + cp -f ${SUB_ILIB}/index.js ${LOC_ILIB} fi - - # removed unneeded files - rm -f node_modules/@enact/i18n/ilib/lib/ZoneInfo.js - fi + done fi fi fi @@ -184,8 +196,11 @@ do_install() { # Support optional transpiling to full ES5 if needed export ES5="${WEBOS_ENACTJS_FORCE_ES5}" - # Target build polyfills, transpiling, and CSS autoprefixing to Chrome 68 - export BROWSERSLIST="Chrome 68" + # Support forcing CSS modules for apps designed for Enact <3.0 + export ENACT_FORCECSSMODULES="${WEBOS_ENACTJS_FORCE_CSS_MODULES}" + + # Target build polyfills, transpiling, and CSS autoprefixing to Chrome 72 + export BROWSERSLIST="Chrome 72" # use local on-device ilib locale assets if [ ! -z "${WEBOS_ENACTJS_ILIB_ASSETS}" ] ; then diff --git a/meta-webos/recipes-webos/enact-dev/enact-dev-native.bb b/meta-webos/recipes-webos/enact-dev/enact-dev-native.bb index 34da44ff4..009089335 100644 --- a/meta-webos/recipes-webos/enact-dev/enact-dev-native.bb +++ b/meta-webos/recipes-webos/enact-dev/enact-dev-native.bb @@ -15,7 +15,7 @@ PR = "r6" S = "${WORKDIR}/git" -SRC_URI = "${ENACTJS_GIT_REPO}/enact-dev-dist;branch=webpack-3;" +SRC_URI = "${ENACTJS_GIT_REPO}/enact-dev-dist.git;nobranch=1" # we don't include SRCPV in PV, so we have to manually include SRCREVs in do_fetch vardeps @@ -26,8 +26,8 @@ do_fetch[vardeps] += "SRCREV" # tag whose hash is specified in SRCREV, so PV and SRCREV will always change # together. -PV = "1.0.14" -SRCREV = "28ce2e1067de550864352a66d9d5ee8638a094f0" +PV = "2.5.1" +SRCREV = "cf6d2d2f84028a6ad6093c0fb4084d86031cd6c0" # Skip unneeded tasks do_configure[noexec] = "1" diff --git a/meta-webos/recipes-webos/enactjs-apps/enact-framework.bb b/meta-webos/recipes-webos/enactjs-apps/enact-framework.bb index 9a7f844a6..2d9c4993e 100644 --- a/meta-webos/recipes-webos/enactjs-apps/enact-framework.bb +++ b/meta-webos/recipes-webos/enactjs-apps/enact-framework.bb @@ -19,8 +19,10 @@ SRC_URI = "${ENACTJS_GIT_REPO}/enact.git;nobranch=1;destsuffix=git/enact" # algorithm properly recognizes that a pre-release precedes the associated final # release (e.g., 1.0-pre.1 < 1.0). -PV = "2.2.1" -SRCREV = "4b4a834dfb156d40e0373d016e5a69f8a278e71c" +PV = "3.0.0" +SRCREV = "757ee297aee056a43f7775a0995b024ce606a887" + +WEBOS_ENACT_ILIB_DEPENDENCY ??= "ilib@14.3.0" # Ordered dependency list for Enact; provides shrink-wrap style locking in of package versions # Generated via https://gecko.lgsvl.com/jenkins/view/Enyo/job/enact-dependency-list/ @@ -30,11 +32,12 @@ WEBOS_ENACT_DEPENDENCIES ??= "\ loose-envify@1.4.0 \ invariant@2.2.4 \ object-assign@4.1.1 \ - prop-types@15.6.2 \ + react-is@16.8.6 \ + prop-types@15.7.2 \ ramda@0.24.1 \ - schedule@0.5.0 \ - react@16.5.2 \ - react-dom@16.5.2 \ + scheduler@0.13.6 \ + react@16.8.6 \ + react-dom@16.8.6 \ change-emitter@0.1.6 \ core-js@1.2.7 \ safer-buffer@2.1.2 \ @@ -47,13 +50,13 @@ WEBOS_ENACT_DEPENDENCIES ??= "\ asap@2.0.6 \ promise@7.3.1 \ setimmediate@1.0.5 \ - ua-parser-js@0.7.18 \ + ua-parser-js@0.7.19 \ fbjs@0.8.17 \ hoist-non-react-statics@2.5.5 \ symbol-observable@1.2.0 \ recompose@0.26.0 \ - direction@1.0.2 \ warning@3.0.0 \ + direction@1.0.3 \ eases@1.0.8 \ dom-walk@0.1.1 \ min-document@2.19.0 \ @@ -62,16 +65,28 @@ WEBOS_ENACT_DEPENDENCIES ??= "\ is-function@1.0.1 \ is-callable@1.1.4 \ for-each@0.3.3 \ - trim@0.0.1 \ - parse-headers@2.0.1 \ + object-keys@1.1.1 \ + define-properties@1.1.3 \ + is-date-object@1.0.1 \ + has-symbols@1.0.0 \ + is-symbol@1.0.2 \ + es-to-primitive@1.2.0 \ + function-bind@1.1.1 \ + has@1.0.3 \ + is-regex@1.0.4 \ + es-abstract@1.13.0 \ + string.prototype.trim@1.1.2 \ + parse-headers@2.0.2 \ xtend@4.0.1 \ xhr@2.5.0 \ + ${WEBOS_ENACT_ILIB_DEPENDENCY} \ + ilib-webos-tv@14.2.0-webostv2 \ " # NOTE: We only need to bump PR if we change something OTHER than # PV, SRCREV or the dependencies statement above. -PR = "r3" +PR = "r4" # Skip unneeded tasks do_configure[noexec] = "1" @@ -83,8 +98,20 @@ do_compile() { rm -fr node_modules mkdir -p node_modules/@enact - sed -i -e "s/\(local([^)]*)\)[^;]*;/\1;/" enact/packages/moonstone/styles/fonts.less + # Update any fonts to exclude unneeded files + if [ -f enact/packages/moonstone/styles/fonts.less ] ; then + sed -i -e "s/[, ]*url([^)]*.ttf['\"]*)[^,;]*//" enact/packages/moonstone/styles/fonts.less + fi + if [ -f enact/packages/moonstone/styles/internal/fonts.less ] ; then + sed -i -e "s/[, ]*url([^)]*.ttf['\"]*)[^,;]*//" enact/packages/moonstone/styles/internal/fonts.less + fi + for LIB in core ui moonstone spotlight i18n webos ; do + cd ${S}/enact/packages/${LIB} + mkdir node_modules + ln -sfn ../.. node_modules/@enact + ${ENACT_NODE} ${WEBOS_ENACTJS_TOOL_PATH}/node_binaries/enact-typedef.js + cd ${S} ${ENACT_NPM} pack --loglevel=error ./enact/packages/${LIB} done