@oracle/oraclejet-preact 17.0.6 → 17.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/amd/{BaseCardView-1aa0d986.js → BaseCardView-3c1e5b4c.js} +2 -2
- package/amd/{BaseCardView-1aa0d986.js.map → BaseCardView-3c1e5b4c.js.map} +1 -1
- package/amd/CardFlexView-3e4bd681.js +2 -0
- package/amd/{CardFlexView-a647550f.js.map → CardFlexView-3e4bd681.js.map} +1 -1
- package/amd/CardGridView-8fb55ad7.js +2 -0
- package/amd/{CardGridView-06fb67cb.js.map → CardGridView-8fb55ad7.js.map} +1 -1
- package/amd/GroupLoadingIndicator-e66ed431.js +1 -1
- package/amd/{Indexer-204a6d88.js → Indexer-51d51cda.js} +2 -2
- package/amd/{Indexer-204a6d88.js.map → Indexer-51d51cda.js.map} +1 -1
- package/amd/InputDatePicker-0012b304.js +2 -0
- package/amd/{InputDatePicker-da5d8728.js.map → InputDatePicker-0012b304.js.map} +1 -1
- package/amd/List-88a7bee6.js +2 -0
- package/amd/{List-5958c802.js.map → List-88a7bee6.js.map} +1 -1
- package/amd/{ListView-27d10b67.js → ListView-6739207e.js} +2 -2
- package/amd/{ListView-27d10b67.js.map → ListView-6739207e.js.map} +1 -1
- package/amd/LoadMoreCollection-a6adbc3f.js +2 -0
- package/amd/{LoadMoreCollection-83413a59.js.map → LoadMoreCollection-a6adbc3f.js.map} +1 -1
- package/amd/MaxLengthCounter-caafceef.js +2 -0
- package/amd/MaxLengthCounter-caafceef.js.map +1 -0
- package/amd/PRIVATE_BaseCardView.js +1 -1
- package/amd/PRIVATE_List.js +1 -1
- package/amd/PRIVATE_LoadMoreCollection.js +1 -1
- package/amd/PRIVATE_SelectCommon.js +1 -1
- package/amd/PRIVATE_Table.js +1 -1
- package/amd/PRIVATE_VirtualizedCollection.js +1 -1
- package/amd/{SelectMultiple-fabd883c.js → SelectMultiple-06da3db0.js} +2 -2
- package/amd/{SelectMultiple-fabd883c.js.map → SelectMultiple-06da3db0.js.map} +1 -1
- package/amd/{SelectSingle-34d636a8.js → SelectSingle-2266e5c4.js} +2 -2
- package/amd/{SelectSingle-34d636a8.js.map → SelectSingle-2266e5c4.js.map} +1 -1
- package/amd/{Table-fda0ad21.js → Table-8e271f0f.js} +2 -2
- package/amd/{Table-fda0ad21.js.map → Table-8e271f0f.js.map} +1 -1
- package/amd/{TableView-e4216655.js → TableView-cc05c32f.js} +2 -2
- package/amd/{TableView-e4216655.js.map → TableView-cc05c32f.js.map} +1 -1
- package/amd/TextArea-44c90bc4.js +2 -0
- package/amd/TextArea-44c90bc4.js.map +1 -0
- package/amd/TextAreaAutosize-0a023972.js +2 -0
- package/amd/{TextAreaAutosize-9dc5bffe.js.map → TextAreaAutosize-0a023972.js.map} +1 -1
- package/amd/Theme-redwood/theme.css +254 -254
- package/amd/Theme-stable/theme.css +336 -336
- package/amd/UNSAFE_CardFlexView.js +1 -1
- package/amd/UNSAFE_CardGridView.js +1 -1
- package/amd/UNSAFE_ExpandableList.js +1 -1
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputDatePicker.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_TableView.js +1 -1
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/{VirtualizedCollection-897516a5.js → VirtualizedCollection-63223f5e.js} +2 -2
- package/amd/{VirtualizedCollection-897516a5.js.map → VirtualizedCollection-63223f5e.js.map} +1 -1
- package/amd/VirtualizedListView-0924cf91.js +2 -0
- package/amd/{VirtualizedListView-ead601c7.js.map → VirtualizedListView-0924cf91.js.map} +1 -1
- package/amd/{useSelectCommon-8657b927.js → useSelectCommon-cbb310df.js} +2 -2
- package/amd/{useSelectCommon-8657b927.js.map → useSelectCommon-cbb310df.js.map} +1 -1
- package/cjs/{BarChart-acda079d.js → BarChart-11c56b6a.js} +2 -2
- package/cjs/{BarChart-acda079d.js.map → BarChart-11c56b6a.js.map} +1 -1
- package/cjs/{BaseCardView-badf6df3.js → BaseCardView-99f89fbf.js} +2 -2
- package/cjs/{BaseCardView-badf6df3.js.map → BaseCardView-99f89fbf.js.map} +1 -1
- package/cjs/{useNavigationListItem-74009187.js → BaseNavigationListItem-070d75bc.js} +40 -2
- package/cjs/BaseNavigationListItem-070d75bc.js.map +1 -0
- package/cjs/{CardFlexView-d44dfed5.js → CardFlexView-48f39ef2.js} +2 -2
- package/cjs/{CardFlexView-d44dfed5.js.map → CardFlexView-48f39ef2.js.map} +1 -1
- package/cjs/{CardGridView-dd7c777f.js → CardGridView-6bb427fe.js} +2 -2
- package/cjs/{CardGridView-dd7c777f.js.map → CardGridView-6bb427fe.js.map} +1 -1
- package/cjs/{Chart-c55ecfa4.js → Chart-6684fa6d.js} +2 -2
- package/cjs/{Chart-c55ecfa4.js.map → Chart-6684fa6d.js.map} +1 -1
- package/cjs/GroupLoadingIndicator-3c9d8341.js +1 -1
- package/cjs/{Indexer-563ea09d.js → Indexer-0663a593.js} +2 -2
- package/cjs/{Indexer-563ea09d.js.map → Indexer-0663a593.js.map} +1 -1
- package/cjs/{InputDatePicker-91be7790.js → InputDatePicker-005c03d0.js} +2 -2
- package/cjs/{InputDatePicker-91be7790.js.map → InputDatePicker-005c03d0.js.map} +1 -1
- package/cjs/{LineAreaChart-2320dafa.js → LineAreaChart-7e0e021f.js} +2 -2
- package/cjs/{LineAreaChart-2320dafa.js.map → LineAreaChart-7e0e021f.js.map} +1 -1
- package/cjs/{List-bd9ecebb.js → List-8802ce35.js} +3 -4
- package/cjs/{List-bd9ecebb.js.map → List-8802ce35.js.map} +1 -1
- package/cjs/{ListView-d67f49db.js → ListView-f7871b48.js} +2 -2
- package/cjs/{ListView-d67f49db.js.map → ListView-f7871b48.js.map} +1 -1
- package/cjs/{LoadMoreCollection-73112ff0.js → LoadMoreCollection-69bc038c.js} +2 -2
- package/cjs/{LoadMoreCollection-73112ff0.js.map → LoadMoreCollection-69bc038c.js.map} +1 -1
- package/cjs/{NavigationList-5218562e.js → NavigationListItem-12a76e7d.js} +18 -3
- package/cjs/NavigationListItem-12a76e7d.js.map +1 -0
- package/cjs/{OverflowTabBarItem-1de46588.js → OverflowTabBarItem-c0a592fd.js} +4 -5
- package/cjs/{OverflowTabBarItem-1de46588.js.map → OverflowTabBarItem-c0a592fd.js.map} +1 -1
- package/cjs/PRIVATE_BaseCardView.js +3 -3
- package/cjs/PRIVATE_Chart.js +4 -4
- package/cjs/PRIVATE_List.js +4 -4
- package/cjs/PRIVATE_LoadMoreCollection.js +2 -2
- package/cjs/PRIVATE_SelectCommon.js +5 -5
- package/cjs/PRIVATE_Table.js +3 -3
- package/cjs/PRIVATE_VirtualizedCollection.js +2 -2
- package/cjs/{RemovableNavigationListItem-eb2c8156.js → RemovableNavigationListItem-6231df42.js} +3 -4
- package/cjs/{RemovableNavigationListItem-eb2c8156.js.map → RemovableNavigationListItem-6231df42.js.map} +1 -1
- package/cjs/{ReorderableTabBar-025a0d71.js → ReorderableTabBar-5743c66a.js} +2 -2
- package/cjs/{ReorderableTabBar-025a0d71.js.map → ReorderableTabBar-5743c66a.js.map} +1 -1
- package/cjs/{SelectMultiple-3af44d48.js → SelectMultiple-fcfb029a.js} +2 -2
- package/cjs/{SelectMultiple-3af44d48.js.map → SelectMultiple-fcfb029a.js.map} +1 -1
- package/cjs/{SelectSingle-315c9871.js → SelectSingle-40cb868a.js} +2 -2
- package/cjs/{SelectSingle-315c9871.js.map → SelectSingle-40cb868a.js.map} +1 -1
- package/cjs/{TabBar-e77706d0.js → TabBar-73bb6c97.js} +1 -6
- package/cjs/{TabBar-e77706d0.js.map → TabBar-73bb6c97.js.map} +1 -1
- package/cjs/{TabBarMixed-bc696a46.js → TabBarMixed-426fcaf1.js} +1 -6
- package/cjs/{TabBarMixed-bc696a46.js.map → TabBarMixed-426fcaf1.js.map} +1 -1
- package/cjs/{Table-ecf57a09.js → Table-17b3dbc3.js} +2 -2
- package/cjs/{Table-ecf57a09.js.map → Table-17b3dbc3.js.map} +1 -1
- package/cjs/{TableView-756b9d98.js → TableView-26f85ff8.js} +2 -2
- package/cjs/{TableView-756b9d98.js.map → TableView-26f85ff8.js.map} +1 -1
- package/cjs/Theme-redwood/theme.css +180 -180
- package/cjs/Theme-stable/theme.css +149 -149
- package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +5 -5
- package/cjs/UNSAFE_BarChart.js +5 -5
- package/cjs/UNSAFE_CardFlexView.js +4 -4
- package/cjs/UNSAFE_CardGridView.js +4 -4
- package/cjs/UNSAFE_ExpandableList.js +3 -3
- package/cjs/UNSAFE_Indexer.js +2 -2
- package/cjs/UNSAFE_InputDatePicker.js +87 -87
- package/cjs/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +5 -5
- package/cjs/UNSAFE_LineAreaChart.js +5 -5
- package/cjs/UNSAFE_ListView.js +5 -5
- package/cjs/UNSAFE_NavigationList.js +14 -16
- package/cjs/UNSAFE_NavigationList.js.map +1 -1
- package/cjs/UNSAFE_NavigationListCommon.js +54 -55
- package/cjs/UNSAFE_NavigationListCommon.js.map +1 -1
- package/cjs/UNSAFE_OverflowTabBar.js +21 -23
- package/cjs/UNSAFE_OverflowTabBar.js.map +1 -1
- package/cjs/UNSAFE_ReorderableTabBar.js +7 -21
- package/cjs/UNSAFE_ReorderableTabBar.js.map +1 -1
- package/cjs/UNSAFE_SelectMultiple.js +6 -6
- package/cjs/UNSAFE_SelectSingle.js +6 -6
- package/cjs/UNSAFE_TabBar.js +22 -24
- package/cjs/UNSAFE_TabBar.js.map +1 -1
- package/cjs/UNSAFE_TabBarCommon.js +18 -20
- package/cjs/UNSAFE_TabBarCommon.js.map +1 -1
- package/cjs/UNSAFE_TabBarMixed.js +22 -24
- package/cjs/UNSAFE_TabBarMixed.js.map +1 -1
- package/cjs/UNSAFE_TableView.js +4 -4
- package/cjs/UNSAFE_VirtualizedListView.js +5 -5
- package/cjs/{VirtualizedCollection-00aedb8b.js → VirtualizedCollection-9e8c48b9.js} +2 -2
- package/cjs/{VirtualizedCollection-00aedb8b.js.map → VirtualizedCollection-9e8c48b9.js.map} +1 -1
- package/cjs/{VirtualizedListView-a07fe73b.js → VirtualizedListView-b4147305.js} +2 -2
- package/cjs/{VirtualizedListView-a07fe73b.js.map → VirtualizedListView-b4147305.js.map} +1 -1
- package/cjs/{useSelectCommon-8aaf62bd.js → useSelectCommon-d39e90e2.js} +2 -2
- package/cjs/{useSelectCommon-8aaf62bd.js.map → useSelectCommon-d39e90e2.js.map} +1 -1
- package/es/ActionCard-623c6191.js +1 -1
- package/es/BarChart-c8f78f4b.js +2 -2
- package/es/BaseButton-5b2791b1.js +2 -2
- package/es/BaseCardView-59efba85.js +7 -7
- package/es/{BaseCardViewSelectionTest-6796b2b4.js → BaseCardViewSelectionTest-ab83a0b0.js} +6 -6
- package/es/{BaseCardViewSelectionTest-6796b2b4.js.map → BaseCardViewSelectionTest-ab83a0b0.js.map} +1 -1
- package/es/BaseNavigationListItem-3a377d46.js +1 -1
- package/es/ButtonSet-fa7e8acd.js +2 -2
- package/es/ButtonSetIconButton-c5860cc1.js +2 -2
- package/es/{Center-2ffc1dcc.js → Center-58d4b406.js} +2 -2
- package/es/{Center-2ffc1dcc.js.map → Center-58d4b406.js.map} +1 -1
- package/es/Chart-793bd008.js +9 -9
- package/es/CheckboxControl-7174e0b2.js +6 -6
- package/es/CheckboxIconVariants.styles.css +7 -7
- package/es/CheckboxIconVariants.styles2.css +7 -7
- package/es/CheckboxRadioField-c7c4643e.js +5 -5
- package/es/CheckboxVariants.styles.css +4 -4
- package/es/CheckboxVariants.styles2.css +4 -4
- package/es/Chip-2c86a76f.js +1 -1
- package/es/ClearIcon-f1f796b4.js +1 -1
- package/es/CollapseIcon-b6d7cfd6.js +1 -1
- package/es/Collapsible-4cdc17e3.js +2 -2
- package/es/CollapsibleVariants.styles.css +3 -3
- package/es/CollapsibleVariants.styles2.css +3 -3
- package/es/CompactHelpSource-548938ff.js +2 -2
- package/es/{CompactLabelAssistance-fc9478aa.js → CompactLabelAssistance-933d1d68.js} +4 -4
- package/es/{CompactLabelAssistance-fc9478aa.js.map → CompactLabelAssistance-933d1d68.js.map} +1 -1
- package/es/CompactUserAssistance-41c32c6f.js +4 -4
- package/es/ComponentMessageContainer-7d9228a3.js +4 -4
- package/es/ConveyorBeltItem-3d1d7f3c.js +2 -2
- package/es/{DatePicker-4356274b.js → DatePicker-e517dad2.js} +6 -6
- package/es/{DatePicker-4356274b.js.map → DatePicker-e517dad2.js.map} +1 -1
- package/es/DatePickerHeader-7078d6e8.js +3 -3
- package/es/{Diagram-214e374c.js → Diagram-15e246b6.js} +5 -5
- package/es/{Diagram-214e374c.js.map → Diagram-15e246b6.js.map} +1 -1
- package/es/DirectionalCollapseArrowIcon-0298f5ef.js +1 -1
- package/es/DirectionalExpandArrowIcon-cf8fd7a8.js +1 -1
- package/es/DragHandle-9514fcdc.js +1 -1
- package/es/DrawerPopupVariants.styles.css +5 -5
- package/es/DrawerPopupVariants.styles2.css +5 -5
- package/es/{Dropdown-717319bb.js → Dropdown-2a328b40.js} +5 -5
- package/es/{Dropdown-717319bb.js.map → Dropdown-2a328b40.js.map} +1 -1
- package/es/{EnvironmentProvider-f543a463.js → EnvironmentProvider-6846a7ff.js} +3 -3
- package/es/{EnvironmentProvider-f543a463.js.map → EnvironmentProvider-6846a7ff.js.map} +1 -1
- package/es/FilePicker-d8a0ad3a.js +2 -2
- package/es/{Flex-24628925.js → Flex-5ff5aa5e.js} +2 -2
- package/es/{Flex-24628925.js.map → Flex-5ff5aa5e.js.map} +1 -1
- package/es/{Floating-9703160e.js → Floating-5b269acc.js} +4 -4
- package/es/{Floating-9703160e.js.map → Floating-5b269acc.js.map} +1 -1
- package/es/FormLayout-ecd0259b.js +1 -1
- package/es/Gantt-b21af627.js +9 -9
- package/es/{Grid-cfeac922.js → Grid-5d8f712b.js} +2 -2
- package/es/{Grid-cfeac922.js.map → Grid-5d8f712b.js.map} +1 -1
- package/es/{Gridlines-428bf909.js → Gridlines-4b7301e7.js} +2 -2
- package/es/{Gridlines-428bf909.js.map → Gridlines-4b7301e7.js.map} +1 -1
- package/es/GroupLoadingIndicator-9c995e99.js +1 -1
- package/es/{HighlightText-180e29f6.js → HighlightText-39781e79.js} +2 -2
- package/es/{HighlightText-180e29f6.js.map → HighlightText-39781e79.js.map} +1 -1
- package/es/Icon-90c3a630.js +2 -2
- package/es/IconButton-37310d21.js +2 -2
- package/es/IconMenuButton-9fe6cbf9.js +4 -4
- package/es/IconSwitchButton-61cabbfe.js +2 -2
- package/es/IconToggleButton-f57e5484.js +2 -2
- package/es/{IconUserAssistance-c226cb4f.js → IconUserAssistance-744d71a4.js} +3 -3
- package/es/{IconUserAssistance-c226cb4f.js.map → IconUserAssistance-744d71a4.js.map} +1 -1
- package/es/Indexer-a671092c.js +4 -4
- package/es/InlineHelpSource-b43def76.js +1 -1
- package/es/InlineUserAssistance-bb690d93.js +5 -5
- package/es/InputDateMask-7386adfe.js +7 -7
- package/es/InputDatePicker-aa02a34c.js +8 -8
- package/es/InputPassword-1f1f80b3.js +4 -4
- package/es/InputText-5fb896e7.js +6 -6
- package/es/Label-6674b3f2.js +5 -5
- package/es/LabelValueLayout-23b74176.js +1 -1
- package/es/LabelledLinkVariants.styles.css +3 -3
- package/es/LabelledLinkVariants.styles2.css +3 -3
- package/es/{Layer-9b06412e.js → Layer-5d259d3a.js} +3 -3
- package/es/{Layer-9b06412e.js.map → Layer-5d259d3a.js.map} +1 -1
- package/es/{LayerHost-45f545d7.js → LayerHost-aaed41a1.js} +2 -2
- package/es/{LayerHost-45f545d7.js.map → LayerHost-aaed41a1.js.map} +1 -1
- package/es/{LayerManager-625d2503.js → LayerManager-87beee1e.js} +2 -2
- package/es/{LayerManager-625d2503.js.map → LayerManager-87beee1e.js.map} +1 -1
- package/es/Legend-98a79c12.js +3 -3
- package/es/{LineAreaChart-413e0043.js → LineAreaChart-35327196.js} +3 -3
- package/es/{LineAreaChart-413e0043.js.map → LineAreaChart-35327196.js.map} +1 -1
- package/es/Link-bfa35319.js +1 -1
- package/es/List-9026206d.js +5 -5
- package/es/{ListItemLayout-695ec1a5.js → ListItemLayout-961c8443.js} +2 -2
- package/es/{ListItemLayout-695ec1a5.js.map → ListItemLayout-961c8443.js.map} +1 -1
- package/es/ListView-c508c3a4.js +3 -3
- package/es/{LiveRegion-81216fe6.js → LiveRegion-4646cd7d.js} +2 -2
- package/es/{LiveRegion-81216fe6.js.map → LiveRegion-4646cd7d.js.map} +1 -1
- package/es/MaxLengthCounter-cead2dac.js +25 -0
- package/es/MaxLengthCounter-cead2dac.js.map +1 -0
- package/es/{MaxLengthLiveRegion-cd15b075.js → MaxLengthLiveRegion-1278e638.js} +3 -3
- package/es/{MaxLengthLiveRegion-cd15b075.js.map → MaxLengthLiveRegion-1278e638.js.map} +1 -1
- package/es/{Menu-c7ab8412.js → Menu-b0c28cfd.js} +8 -8
- package/es/{Menu-c7ab8412.js.map → Menu-b0c28cfd.js.map} +1 -1
- package/es/MenuButton-39563941.js +3 -3
- package/es/MenuItem-a8f9c954.js +1 -1
- package/es/Message-be36b84a.js +2 -2
- package/es/MessageBannerVariants.styles.css +2 -2
- package/es/MessageBannerVariants.styles2.css +2 -2
- package/es/{MessageLayer-0946d6b7.js → MessageLayer-322485df.js} +6 -6
- package/es/{MessageLayer-0946d6b7.js.map → MessageLayer-322485df.js.map} +1 -1
- package/es/MessageToast-2fa3c9d4.js +8 -8
- package/es/MessagesManager-0d60fea1.js +3 -3
- package/es/MeterBar-bdd7f9da.js +4 -4
- package/es/MeterCircle-fd10f18b.js +4 -4
- package/es/{Modal-6b11d8cb.js → Modal-986872f3.js} +3 -3
- package/es/{Modal-6b11d8cb.js.map → Modal-986872f3.js.map} +1 -1
- package/es/{MonthView-cc017afe.js → MonthView-99cc26ac.js} +4 -4
- package/es/{MonthView-cc017afe.js.map → MonthView-99cc26ac.js.map} +1 -1
- package/es/NavigationListItem-ea899fab.js +5 -5
- package/es/NumberInputText-21ded33a.js +6 -6
- package/es/OverflowTabBarItem-8f35961d.js +3 -3
- package/es/PRIVATE_BaseCardView/themes/redwood/BaseCardViewBaseTheme.css.js +1 -1
- package/es/PRIVATE_BaseCardView/themes/stable/BaseCardViewBaseTheme.css.js +1 -1
- package/es/PRIVATE_BaseCardView.js +21 -21
- package/es/PRIVATE_Chart.js +29 -29
- package/es/PRIVATE_CheckboxControl.js +24 -24
- package/es/PRIVATE_CheckboxRadioField.js +24 -24
- package/es/PRIVATE_ClearIcon.js +16 -16
- package/es/PRIVATE_DatePickerHeader.js +18 -18
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +3 -3
- package/es/PRIVATE_FormControls.js +19 -19
- package/es/PRIVATE_IconSwitchButton.js +14 -14
- package/es/PRIVATE_Icons/CheckboxMixed.js +14 -14
- package/es/PRIVATE_Icons/CheckboxOff.js +14 -14
- package/es/PRIVATE_Icons/CheckboxOn.js +14 -14
- package/es/PRIVATE_Icons/RadiobuttonOff.js +14 -14
- package/es/PRIVATE_Icons/RadiobuttonOn.js +14 -14
- package/es/PRIVATE_Icons/WarningS.js +14 -14
- package/es/PRIVATE_List.js +19 -19
- package/es/PRIVATE_Message.js +18 -18
- package/es/PRIVATE_MessageLayer.js +11 -11
- package/es/PRIVATE_MonthView.js +7 -7
- package/es/PRIVATE_MonthYearGridView.js +7 -7
- package/es/PRIVATE_PlotArea.js +4 -4
- package/es/PRIVATE_RevealToggleIcon.js +15 -15
- package/es/PRIVATE_SelectCommon.js +28 -28
- package/es/PRIVATE_StyledCheckbox.js +15 -15
- package/es/PRIVATE_Table/themes/redwood/TableBaseTheme.css.js +1 -1
- package/es/PRIVATE_Table/themes/redwood/TableTheme.js +1 -1
- package/es/PRIVATE_Table/themes/stable/TableBaseTheme.css.js +1 -1
- package/es/PRIVATE_Table.js +18 -18
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/SortDefaultIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +14 -14
- package/es/PRIVATE_TimeComponent.js +17 -17
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-20c9a0c2.js +6 -6
- package/es/{PieChart-f349498b.js → PieChart-e41e3463.js} +5 -5
- package/es/{PieChart-f349498b.js.map → PieChart-e41e3463.js.map} +1 -1
- package/es/{Popup-8889a781.js → Popup-6288438d.js} +9 -9
- package/es/{Popup-8889a781.js.map → Popup-6288438d.js.map} +1 -1
- package/es/{ProgressBar-afafe39a.js → ProgressBar-ed0c5ba0.js} +3 -3
- package/es/{ProgressBar-afafe39a.js.map → ProgressBar-ed0c5ba0.js.map} +1 -1
- package/es/{ProgressCircle-fa5866a3.js → ProgressCircle-95a70910.js} +2 -2
- package/es/{ProgressCircle-fa5866a3.js.map → ProgressCircle-95a70910.js.map} +1 -1
- package/es/RadioItem-e5b1f50b.js +6 -6
- package/es/RatingGauge-4d8a68df.js +7 -7
- package/es/ReadonlyTextFieldInput-4392c7aa.js +1 -1
- package/es/RemovableNavigationListItem-4c86bec8.js +1 -1
- package/es/RemovableTabBarItem-217d4a0b.js +2 -2
- package/es/ReorderableTabBar-84640a66.js +2 -2
- package/es/RevealToggleIcon-9236963e.js +1 -1
- package/es/SectionalLegend-6ffb4255.js +4 -4
- package/es/{SectionedContent-815e377a.js → SectionedContent-13d72f4b.js} +5 -5
- package/es/{SectionedContent-815e377a.js.map → SectionedContent-13d72f4b.js.map} +1 -1
- package/es/SelectMultiple-fd3ea6f8.js +8 -8
- package/es/SelectSingle-8a8d1f5e.js +7 -7
- package/es/{SelectionCard-79044c5f.js → SelectionCard-8496e467.js} +2 -2
- package/es/{SelectionCard-79044c5f.js.map → SelectionCard-8496e467.js.map} +1 -1
- package/es/Selector-e56a73a8.js +1 -1
- package/es/SelectorAll-6f080f88.js +5 -5
- package/es/{Sheet-e4121f4a.js → Sheet-8914df23.js} +3 -3
- package/es/{Sheet-e4121f4a.js.map → Sheet-8914df23.js.map} +1 -1
- package/es/SplitMenuButton-79bdfe96.js +3 -3
- package/es/StyledTextField-c79f5438.js +3 -3
- package/es/Submenu-8b3fa593.js +1 -1
- package/es/TabBar-e39e8dbd.js +6 -6
- package/es/TabBarItem-c681fa07.js +3 -3
- package/es/TabBarLayout-a0d89ec4.js +1 -1
- package/es/TabBarMixed-3658d3d2.js +6 -6
- package/es/{TabBarMixedSeparator-8ab78880.js → TabBarMixedSeparator-da2254c9.js} +2 -2
- package/es/{TabBarMixedSeparator-8ab78880.js.map → TabBarMixedSeparator-da2254c9.js.map} +1 -1
- package/es/Table-e3ef68ad.js +3 -3
- package/es/TagCloud-78991c29.js +9 -9
- package/es/{TextArea-979496a0.js → TextArea-d97aac1f.js} +13 -30
- package/es/TextArea-d97aac1f.js.map +1 -0
- package/es/{TextAreaAutosize-b73aaa2f.js → TextAreaAutosize-68a4786d.js} +7 -7
- package/es/{TextAreaAutosize-b73aaa2f.js.map → TextAreaAutosize-68a4786d.js.map} +1 -1
- package/es/TextField-323fe0e9.js +3 -3
- package/es/TextFieldInput-3c39cb7b.js +1 -1
- package/es/Theme-redwood/theme.css +595 -614
- package/es/Theme-stable/theme.css +421 -402
- package/es/TimeComponentCanvas2D-c2ab38ba.js +4 -4
- package/es/Toolbar-f0e57a9d.js +1 -1
- package/es/TruncatingBadge-084c6682.js +2 -2
- package/es/TruncatingText-780cbb19.js +2 -2
- package/es/UNSAFE_ActionCard.js +2 -2
- package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +29 -29
- package/es/UNSAFE_BarChart.js +29 -29
- package/es/UNSAFE_BaseButton.js +3 -3
- package/es/UNSAFE_Button.js +3 -3
- package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +18 -18
- package/es/UNSAFE_ButtonSet.js +4 -4
- package/es/UNSAFE_ButtonSetButton.js +3 -3
- package/es/UNSAFE_ButtonSetIconButton.js +14 -14
- package/es/UNSAFE_ButtonSetItem.js +14 -14
- package/es/UNSAFE_ButtonSetMultiple.js +4 -4
- package/es/UNSAFE_ButtonSetSingle.js +4 -4
- package/es/UNSAFE_CardFlexView.js +21 -21
- package/es/UNSAFE_CardGridView.js +21 -21
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_ChartWithLegend.js +4 -4
- package/es/UNSAFE_Checkbox/themes/redwood/CheckboxIconTheme.js +1 -1
- package/es/UNSAFE_Checkbox/themes/redwood/CheckboxIconVariants.css.js +1 -1
- package/es/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -1
- package/es/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -1
- package/es/UNSAFE_Checkbox/themes/stable/CheckboxIconTheme.js +1 -1
- package/es/UNSAFE_Checkbox/themes/stable/CheckboxIconVariants.css.js +1 -1
- package/es/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -1
- package/es/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -1
- package/es/UNSAFE_Checkbox.js +24 -24
- package/es/UNSAFE_CheckboxItem.js +25 -25
- package/es/UNSAFE_CheckboxSet.js +23 -23
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible/themes/redwood/CollapsibleTheme.js +1 -1
- package/es/UNSAFE_Collapsible/themes/redwood/CollapsibleVariants.css.js +1 -1
- package/es/UNSAFE_Collapsible/themes/stable/CollapsibleTheme.js +1 -1
- package/es/UNSAFE_Collapsible/themes/stable/CollapsibleVariants.css.js +1 -1
- package/es/UNSAFE_Collapsible.js +17 -17
- package/es/UNSAFE_ComponentMessage.js +18 -18
- package/es/UNSAFE_ConveyorBelt.js +14 -14
- package/es/UNSAFE_DatePicker.js +23 -23
- package/es/UNSAFE_Diagram.js +15 -15
- package/es/UNSAFE_Dialog.js +9 -9
- package/es/UNSAFE_DragHandle.js +15 -15
- package/es/UNSAFE_DrawerLayout.js +11 -11
- package/es/UNSAFE_DrawerPopup/themes/redwood/DrawerPopupTheme.js +1 -1
- package/es/UNSAFE_DrawerPopup/themes/redwood/DrawerPopupVariants.css.js +1 -1
- package/es/UNSAFE_DrawerPopup/themes/stable/DrawerPopupTheme.js +1 -1
- package/es/UNSAFE_DrawerPopup/themes/stable/DrawerPopupVariants.css.js +1 -1
- package/es/UNSAFE_DrawerPopup.js +11 -11
- package/es/UNSAFE_Dropdown.js +12 -12
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +22 -22
- package/es/UNSAFE_FilePicker.js +4 -4
- package/es/UNSAFE_Flex.js +4 -4
- package/es/UNSAFE_Floating.js +10 -10
- package/es/UNSAFE_FormLayout.js +2 -2
- package/es/UNSAFE_Gantt.js +21 -21
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +14 -14
- package/es/UNSAFE_IconButton.js +14 -14
- package/es/UNSAFE_IconMenuButton.js +18 -18
- package/es/UNSAFE_IconToggleButton.js +14 -14
- package/es/UNSAFE_Indexer.js +6 -6
- package/es/UNSAFE_InputDateMask.js +24 -24
- package/es/UNSAFE_InputDatePicker.js +33 -33
- package/es/UNSAFE_InputPassword.js +23 -23
- package/es/UNSAFE_InputSensitiveText.js +25 -25
- package/es/UNSAFE_InputText.js +26 -26
- package/es/UNSAFE_Label.js +22 -22
- package/es/UNSAFE_LabelValueLayout.js +5 -5
- package/es/UNSAFE_LabelledLink/themes/redwood/LabelledLinkTheme.js +1 -1
- package/es/UNSAFE_LabelledLink/themes/redwood/LabelledLinkVariants.css.js +1 -1
- package/es/UNSAFE_LabelledLink/themes/stable/LabelledLinkTheme.js +1 -1
- package/es/UNSAFE_LabelledLink/themes/stable/LabelledLinkVariants.css.js +1 -1
- package/es/UNSAFE_LabelledLink.js +26 -26
- package/es/UNSAFE_Layer.js +7 -7
- package/es/UNSAFE_Legend.js +22 -22
- package/es/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +29 -29
- package/es/UNSAFE_LineAreaChart.js +30 -30
- package/es/UNSAFE_Link.js +2 -2
- package/es/UNSAFE_ListItemLayout.js +5 -5
- package/es/UNSAFE_ListView.js +25 -25
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +20 -20
- package/es/UNSAFE_MenuButton.js +18 -18
- package/es/UNSAFE_MessageBanner/themes/redwood/MessageBannerTheme.js +1 -1
- package/es/UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css.js +1 -1
- package/es/UNSAFE_MessageBanner/themes/stable/MessageBannerTheme.js +1 -1
- package/es/UNSAFE_MessageBanner/themes/stable/MessageBannerVariants.css.js +1 -1
- package/es/UNSAFE_MessageBanner.js +18 -18
- package/es/UNSAFE_MessageToast.js +21 -21
- package/es/UNSAFE_MeterBar.js +14 -14
- package/es/UNSAFE_MeterCircle.js +14 -14
- package/es/UNSAFE_Modal.js +7 -7
- package/es/UNSAFE_NavigationList.js +18 -18
- package/es/UNSAFE_NavigationListCommon.js +16 -16
- package/es/UNSAFE_NumberInputText.js +25 -25
- package/es/UNSAFE_OverflowTabBar.js +23 -23
- package/es/UNSAFE_PictoChart.js +13 -13
- package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +14 -14
- package/es/UNSAFE_PieChart.js +14 -14
- package/es/UNSAFE_Popup.js +15 -15
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressCircle.js +4 -4
- package/es/UNSAFE_RadioItem.js +22 -22
- package/es/UNSAFE_RadioSet.js +23 -23
- package/es/UNSAFE_RatingGauge.js +15 -15
- package/es/UNSAFE_ReorderableTabBar.js +21 -21
- package/es/UNSAFE_SectionalLegend.js +23 -23
- package/es/UNSAFE_SelectMultiple.js +32 -32
- package/es/UNSAFE_SelectSingle.js +32 -32
- package/es/UNSAFE_SelectionCard.js +4 -4
- package/es/UNSAFE_Selector.js +15 -15
- package/es/UNSAFE_SelectorAll.js +18 -18
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +13 -13
- package/es/UNSAFE_Sheet.js +10 -10
- package/es/UNSAFE_SplitMenuButton.js +18 -18
- package/es/UNSAFE_TabBar.js +24 -24
- package/es/UNSAFE_TabBarCommon.js +23 -23
- package/es/UNSAFE_TabBarMixed.js +27 -27
- package/es/UNSAFE_TableView.js +18 -18
- package/es/UNSAFE_TagCloud.js +22 -22
- package/es/UNSAFE_TextArea.js +28 -27
- package/es/UNSAFE_TextArea.js.map +1 -1
- package/es/UNSAFE_TextAreaAutosize.js +27 -27
- package/es/UNSAFE_TextField.js +8 -8
- package/es/UNSAFE_ToggleButton.js +3 -3
- package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +20 -20
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +15 -15
- package/es/UNSAFE_TruncatingBadge.js +15 -15
- package/es/UNSAFE_TruncatingText.js +15 -15
- package/es/UNSAFE_UserAssistance.js +23 -23
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +19 -19
- package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
- package/es/UNSAFE_VisProgressiveLoader.js +6 -6
- package/es/UNSAFE_VisStatusMessage.js +6 -6
- package/es/UNSAFE_WindowOverlay.js +4 -4
- package/es/{View-6013acac.js → View-4dc6ce42.js} +5 -5
- package/es/{View-6013acac.js.map → View-4dc6ce42.js.map} +1 -1
- package/es/{VisNoData-8593beaa.js → VisNoData-c69e8f5e.js} +3 -3
- package/es/{VisNoData-8593beaa.js.map → VisNoData-c69e8f5e.js.map} +1 -1
- package/es/{VisProgressiveLoader-0d9a0dd0.js → VisProgressiveLoader-cc1ab7cc.js} +3 -3
- package/es/{VisProgressiveLoader-0d9a0dd0.js.map → VisProgressiveLoader-cc1ab7cc.js.map} +1 -1
- package/es/{VisTabularDatatip-1f16ca1f.js → VisTabularDatatip-418525b0.js} +2 -2
- package/es/{VisTabularDatatip-1f16ca1f.js.map → VisTabularDatatip-418525b0.js.map} +1 -1
- package/es/{WindowOverlay-e14f8324.js → WindowOverlay-88b63ede.js} +2 -2
- package/es/{WindowOverlay-e14f8324.js.map → WindowOverlay-88b63ede.js.map} +1 -1
- package/es/{YearsGridView-165e5eec.js → YearsGridView-76892288.js} +4 -4
- package/es/{YearsGridView-165e5eec.js.map → YearsGridView-76892288.js.map} +1 -1
- package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
- package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
- package/es/hoc/UNSAFE_withThemeProps.js +3 -3
- package/es/hooks/PRIVATE_useChartContextMenu.js +18 -18
- package/es/hooks/PRIVATE_useChartDatatip.js +13 -13
- package/es/hooks/PRIVATE_useChartEvents.js +17 -17
- package/es/hooks/PRIVATE_useChartMarquee.js +16 -16
- package/es/hooks/PRIVATE_useCssVars.js +7 -7
- package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/es/hooks/PRIVATE_useDatatip.js +11 -11
- package/es/hooks/PRIVATE_useFloating.js +4 -4
- package/es/hooks/PRIVATE_useReorderable.js +4 -4
- package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/es/hooks/PRIVATE_useSelection.js +4 -4
- package/es/hooks/PRIVATE_useTabBar.js +5 -5
- package/es/hooks/PRIVATE_useVisContextMenu.js +18 -18
- package/es/hooks/PRIVATE_useVisEvents.js +4 -4
- package/es/hooks/PRIVATE_useVisMeterEvents.js +13 -13
- package/es/hooks/PRIVATE_useVisSelection.js +12 -12
- package/es/hooks/UNSAFE_useColorScheme.js +3 -3
- package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
- package/es/hooks/UNSAFE_useDensity.js +3 -3
- package/es/hooks/UNSAFE_useOutsideClick.js +7 -7
- package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
- package/es/hooks/UNSAFE_useScale.js +3 -3
- package/es/hooks/UNSAFE_useTestId.js +3 -3
- package/es/hooks/UNSAFE_useTheme.js +3 -3
- package/es/hooks/UNSAFE_useThemeInterpolations.js +5 -5
- package/es/hooks/UNSAFE_useTooltip.js +15 -15
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/{index-5f0f1501.js → index-75f23286.js} +2 -2
- package/es/index-75f23286.js.map +1 -0
- package/es/listViewSelectionTests-ebf987d2.js +4 -4
- package/es/{render-c90e85c7.js → render-8e2a09d1.js} +3 -3
- package/es/{render-c90e85c7.js.map → render-8e2a09d1.js.map} +1 -1
- package/es/{tabbableUtils-e6193af2.js → tabbableUtils-73a9ba14.js} +3 -3
- package/es/{tabbableUtils-e6193af2.js.map → tabbableUtils-73a9ba14.js.map} +1 -1
- package/es/{testData-2998863b.js → testData-0aee4d83.js} +3 -3
- package/es/{testData-2998863b.js.map → testData-0aee4d83.js.map} +1 -1
- package/es/useCellNavigation-006fbce0.js +1 -1
- package/es/useChartContextMenu-0014fc73.js +3 -3
- package/es/{useChartDatatip-b6b2b00a.js → useChartDatatip-f7bacd9b.js} +4 -4
- package/es/{useChartDatatip-b6b2b00a.js.map → useChartDatatip-f7bacd9b.js.map} +1 -1
- package/es/useChartMarquee-38dbb5f9.js +1 -1
- package/es/{useColorScheme-e1b17324.js → useColorScheme-bf110202.js} +2 -2
- package/es/{useColorScheme-e1b17324.js.map → useColorScheme-bf110202.js.map} +1 -1
- package/es/useContextMenu-81db2534.js +3 -3
- package/es/{useCssVars-64d9b696.js → useCssVars-b3bf30fb.js} +5 -5
- package/es/{useCssVars-64d9b696.js.map → useCssVars-b3bf30fb.js.map} +1 -1
- package/es/{useCurrentBgColor-d89afadb.js → useCurrentBgColor-b3ebd7be.js} +2 -2
- package/es/{useCurrentBgColor-d89afadb.js.map → useCurrentBgColor-b3ebd7be.js.map} +1 -1
- package/es/{useCurrentKey-db7d3bb9.js → useCurrentKey-1f99b0f6.js} +2 -2
- package/es/{useCurrentKey-db7d3bb9.js.map → useCurrentKey-1f99b0f6.js.map} +1 -1
- package/es/{useDatatip-7c661980.js → useDatatip-f9bcaab9.js} +4 -4
- package/es/{useDatatip-7c661980.js.map → useDatatip-f9bcaab9.js.map} +1 -1
- package/es/{useDensity-60cfa748.js → useDensity-9f6c6bf0.js} +2 -2
- package/es/{useDensity-60cfa748.js.map → useDensity-9f6c6bf0.js.map} +1 -1
- package/es/{useFloating-c99976f8.js → useFloating-1cca9e4f.js} +2 -2
- package/es/{useFloating-c99976f8.js.map → useFloating-1cca9e4f.js.map} +1 -1
- package/es/{useKeyboardEvents-102b4feb.js → useKeyboardEvents-11b26017.js} +2 -2
- package/es/{useKeyboardEvents-102b4feb.js.map → useKeyboardEvents-11b26017.js.map} +1 -1
- package/es/useLegendContextMenu-d88be99d.js +5 -5
- package/es/{useMeterDatatip-262c0e39.js → useMeterDatatip-7366880d.js} +3 -3
- package/es/{useMeterDatatip-262c0e39.js.map → useMeterDatatip-7366880d.js.map} +1 -1
- package/es/{useOutsideClick-eb8324f6.js → useOutsideClick-ab98bfa3.js} +2 -2
- package/es/{useOutsideClick-eb8324f6.js.map → useOutsideClick-ab98bfa3.js.map} +1 -1
- package/es/{usePopupAnimation-4be04290.js → usePopupAnimation-4969107b.js} +2 -2
- package/es/{usePopupAnimation-4be04290.js.map → usePopupAnimation-4969107b.js.map} +1 -1
- package/es/{usePrefixSuffix-71a410f4.js → usePrefixSuffix-a14dacb0.js} +2 -2
- package/es/{usePrefixSuffix-71a410f4.js.map → usePrefixSuffix-a14dacb0.js.map} +1 -1
- package/es/useReorderableItem-25aa1c34.js +2 -2
- package/es/{useRovingTabIndexContainer-e7926bd6.js → useRovingTabIndexContainer-91fd85f3.js} +2 -2
- package/es/{useRovingTabIndexContainer-e7926bd6.js.map → useRovingTabIndexContainer-91fd85f3.js.map} +1 -1
- package/es/{useScale-d64a1a28.js → useScale-42018695.js} +2 -2
- package/es/{useScale-d64a1a28.js.map → useScale-42018695.js.map} +1 -1
- package/es/useSelectCommon-b6d67057.js +11 -11
- package/es/{useSelectDrill-9ce5bccf.js → useSelectDrill-333650bd.js} +3 -3
- package/es/{useSelectDrill-9ce5bccf.js.map → useSelectDrill-333650bd.js.map} +1 -1
- package/es/{useSelection-c12f7802.js → useSelection-48f572e5.js} +5 -5
- package/es/{useSelection-c12f7802.js.map → useSelection-48f572e5.js.map} +1 -1
- package/es/{useSelection-ce0f9a43.js → useSelection-a098b3af.js} +2 -2
- package/es/{useSelection-ce0f9a43.js.map → useSelection-a098b3af.js.map} +1 -1
- package/es/{useTabBar-8af19c50.js → useTabBar-4b318196.js} +2 -2
- package/es/{useTabBar-8af19c50.js.map → useTabBar-4b318196.js.map} +1 -1
- package/es/{useTestId-adde554c.js → useTestId-f5aed66c.js} +2 -2
- package/es/{useTestId-adde554c.js.map → useTestId-f5aed66c.js.map} +1 -1
- package/es/{useTheme-1f6035d2.js → useTheme-e7ea1253.js} +2 -2
- package/es/{useTheme-1f6035d2.js.map → useTheme-e7ea1253.js.map} +1 -1
- package/es/{useThemeInterpolations-9bddc683.js → useThemeInterpolations-66ce2e56.js} +4 -4
- package/es/{useThemeInterpolations-9bddc683.js.map → useThemeInterpolations-66ce2e56.js.map} +1 -1
- package/es/{useTooltip-9dec25b3.js → useTooltip-30a4a4fc.js} +2 -2
- package/es/{useTooltip-9dec25b3.js.map → useTooltip-30a4a4fc.js.map} +1 -1
- package/es/{useTooltipControlled-2044f639.js → useTooltipControlled-eafec36e.js} +8 -8
- package/es/{useTooltipControlled-2044f639.js.map → useTooltipControlled-eafec36e.js.map} +1 -1
- package/es/{useTranslationBundle-cd815e10.js → useTranslationBundle-e8a8c4f3.js} +2 -2
- package/es/{useTranslationBundle-cd815e10.js.map → useTranslationBundle-e8a8c4f3.js.map} +1 -1
- package/es/{useUser-99920e02.js → useUser-fb09e212.js} +2 -2
- package/es/{useUser-99920e02.js.map → useUser-fb09e212.js.map} +1 -1
- package/es/{useVisEvents-4cfe354c.js → useVisEvents-e31dcd17.js} +2 -2
- package/es/{useVisEvents-4cfe354c.js.map → useVisEvents-e31dcd17.js.map} +1 -1
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/{withDirectionIcon-f8ff778c.js → withDirectionIcon-6eefb71a.js} +2 -2
- package/es/{withDirectionIcon-f8ff778c.js.map → withDirectionIcon-6eefb71a.js.map} +1 -1
- package/package.json +2 -2
- package/amd/CardFlexView-a647550f.js +0 -2
- package/amd/CardGridView-06fb67cb.js +0 -2
- package/amd/InputDatePicker-da5d8728.js +0 -2
- package/amd/List-5958c802.js +0 -2
- package/amd/LoadMoreCollection-83413a59.js +0 -2
- package/amd/TextArea-2c7af40c.js +0 -2
- package/amd/TextArea-2c7af40c.js.map +0 -1
- package/amd/TextAreaAutosize-9dc5bffe.js +0 -2
- package/amd/VirtualizedListView-ead601c7.js +0 -2
- package/cjs/BaseNavigationListItem-175a3f35.js +0 -49
- package/cjs/BaseNavigationListItem-175a3f35.js.map +0 -1
- package/cjs/NavigationList-5218562e.js.map +0 -1
- package/cjs/NavigationListItem-b80c41dc.js +0 -12
- package/cjs/NavigationListItem-b80c41dc.js.map +0 -1
- package/cjs/useNavigationListItem-74009187.js.map +0 -1
- package/es/TextArea-979496a0.js.map +0 -1
- package/es/index-5f0f1501.js.map +0 -1
- /package/es/PRIVATE_BaseCardView/themes/{redwood → stable}/BaseCardViewBaseTheme.styles.css +0 -0
- /package/es/PRIVATE_Table/themes/{redwood → stable}/TableBaseTheme.styles.css +0 -0
|
@@ -4,7 +4,7 @@ import { u as useNavigationListContext, B as BaseNavigationListItem } from './Ba
|
|
|
4
4
|
import { S as SvgClose } from './Close-97d45aca.js';
|
|
5
5
|
import { useCallback } from 'preact/hooks';
|
|
6
6
|
import { u as useHover } from './useHover-d5088fcd.js';
|
|
7
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
7
|
+
import { u as useTranslationBundle } from './useTranslationBundle-e8a8c4f3.js';
|
|
8
8
|
import { E as EmbeddedIconButton } from './EmbeddedIconButton-2bee9a35.js';
|
|
9
9
|
|
|
10
10
|
function RemovableNavigationListItem({ itemKey, label, badge, metadata, severity }) {
|
|
@@ -3,12 +3,12 @@ import { jsx } from 'preact/jsx-runtime';
|
|
|
3
3
|
import { useCallback } from 'preact/hooks';
|
|
4
4
|
import { u as useHover } from './useHover-d5088fcd.js';
|
|
5
5
|
import { S as SvgClose } from './Close-97d45aca.js';
|
|
6
|
-
import { F as Flex } from './Flex-
|
|
6
|
+
import { F as Flex } from './Flex-5ff5aa5e.js';
|
|
7
7
|
import { m as mergeInterpolations } from './mergeInterpolations-e2db2a66.js';
|
|
8
8
|
import { f as flexitemInterpolations } from './flexitem-7b7f7920.js';
|
|
9
9
|
import { u as useTabBarContext } from './useTabBarContext-0071d2a7.js';
|
|
10
10
|
import { B as BaseTabBarItem } from './TabBarItem-c681fa07.js';
|
|
11
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
11
|
+
import { u as useTranslationBundle } from './useTranslationBundle-e8a8c4f3.js';
|
|
12
12
|
import { E as EmbeddedIconButton } from './EmbeddedIconButton-2bee9a35.js';
|
|
13
13
|
|
|
14
14
|
function RemovableTabBarItem({ itemKey, label, icon, badge, metadata, severity, 'aria-controls': ariaControls }) {
|
|
@@ -3,12 +3,12 @@ import { jsxs, Fragment, jsx } from 'preact/jsx-runtime';
|
|
|
3
3
|
import { toChildArray } from 'preact';
|
|
4
4
|
import { useRef, useCallback, useState } from 'preact/hooks';
|
|
5
5
|
import { H as HiddenAccessible } from './HiddenAccessible-61197e7c.js';
|
|
6
|
-
import { L as LiveRegion } from './LiveRegion-
|
|
6
|
+
import { L as LiveRegion } from './LiveRegion-4646cd7d.js';
|
|
7
7
|
import { T as TabBar } from './TabBar-e39e8dbd.js';
|
|
8
8
|
import { m as mergeInterpolations } from './mergeInterpolations-e2db2a66.js';
|
|
9
9
|
import { f as flexitemInterpolations } from './flexitem-7b7f7920.js';
|
|
10
10
|
import { b as getKey } from './collectionUtils-d72c7c40.js';
|
|
11
|
-
import './LayerHost-
|
|
11
|
+
import './LayerHost-aaed41a1.js';
|
|
12
12
|
import 'preact/compat';
|
|
13
13
|
import { a as useReorderableItem, u as useReorderable, R as ReorderableContext } from './useReorderableItem-25aa1c34.js';
|
|
14
14
|
import { styles } from './UNSAFE_ReorderableTabBar/themes/ReorderableTabBarItemStyles.css.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import { S as SvgViewHide } from './ViewHide-fbe3f8fe.js';
|
|
4
4
|
import { S as SvgView } from './View-0f9eaf88.js';
|
|
5
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
5
|
+
import { u as useTranslationBundle } from './useTranslationBundle-e8a8c4f3.js';
|
|
6
6
|
import { I as IconSwitchButton } from './IconSwitchButton-61cabbfe.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsxs, jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import { useRef } from 'preact/hooks';
|
|
4
|
-
import { u as useVisEvent } from './useVisEvents-
|
|
4
|
+
import { u as useVisEvent } from './useVisEvents-e31dcd17.js';
|
|
5
5
|
import { m as mergeProps } from './mergeProps-88ea8306.js';
|
|
6
6
|
import { g as getRandomId } from './layoutUtils-2374ab3e.js';
|
|
7
7
|
import { l as legendVars, g as getLegendTextStyle, u as useLegendLayout, a as getItemInfo, i as isEqualItem, j as getKeyUpHandler, b as getDatatipText, c as useLegendDatatip, d as getAriaProps, e as useLegendContextMenu, f as getGridNums, L as LegendText, B as BaseLegend, h as getIsLegendItemActionable } from './useLegendContextMenu-d88be99d.js';
|
|
8
8
|
import { u as useItemFocus } from './useItemFocus-c12e2756.js';
|
|
9
|
-
import { F as Flex } from './Flex-
|
|
9
|
+
import { F as Flex } from './Flex-5ff5aa5e.js';
|
|
10
10
|
import { styles } from './UNSAFE_Legend/themes/LegendStyles.css.js';
|
|
11
|
-
import { u as useCssVars } from './useCssVars-
|
|
11
|
+
import { u as useCssVars } from './useCssVars-b3bf30fb.js';
|
|
12
12
|
import { c as classNames } from './classNames-4e12b00d.js';
|
|
13
|
-
import { u as useTestId } from './useTestId-
|
|
13
|
+
import { u as useTestId } from './useTestId-f5aed66c.js';
|
|
14
14
|
import { u as useVisTouchResponse } from './useVisTouchResponse-e9ca4766.js';
|
|
15
15
|
import { m as merge } from './stringUtils-16f617bc.js';
|
|
16
16
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsx, jsxs } from 'preact/jsx-runtime';
|
|
3
3
|
import { useState, useCallback, useRef } from 'preact/hooks';
|
|
4
|
-
import { D as Dropdown } from './Dropdown-
|
|
5
|
-
import { F as Flex } from './Flex-
|
|
4
|
+
import { D as Dropdown } from './Dropdown-2a328b40.js';
|
|
5
|
+
import { F as Flex } from './Flex-5ff5aa5e.js';
|
|
6
6
|
import { F as FocusTrap } from './FocusTrap-8ddd383f.js';
|
|
7
7
|
import { K as KEYS } from './keyboardUtils-4db21770.js';
|
|
8
|
-
import { u as useTestId } from './useTestId-
|
|
9
|
-
import { V as View } from './View-
|
|
8
|
+
import { u as useTestId } from './useTestId-f5aed66c.js';
|
|
9
|
+
import { V as View } from './View-4dc6ce42.js';
|
|
10
10
|
|
|
11
11
|
const DEFAULT_PLACEMENT = 'bottom-start';
|
|
12
12
|
/**
|
|
@@ -61,4 +61,4 @@ const SectionedContent = ({ 'aria-label': ariaLabel, contentRef: propRef, gap, f
|
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
export { StickyPositioningDropdown as S, SectionedContent as a };
|
|
64
|
-
//# sourceMappingURL=SectionedContent-
|
|
64
|
+
//# sourceMappingURL=SectionedContent-13d72f4b.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionedContent-
|
|
1
|
+
{"version":3,"file":"SectionedContent-13d72f4b.js","sources":["../../src/PRIVATE_FormControls/StickyPositioningDropdown.tsx","../../src/PRIVATE_FormControls/SectionedContent.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps } from 'preact';\nimport { useCallback } from 'preact/hooks';\nimport { useState } from 'preact/hooks';\nimport { Dropdown } from '#UNSAFE_Dropdown';\nimport { PositionData } from '../UNSAFE_Floating';\n\ntype DropdownProps = ComponentProps<typeof Dropdown>;\ntype Props = Pick<\n DropdownProps,\n | 'anchorRef'\n | 'children'\n | 'flipOptions'\n | 'id'\n | 'initialFocus'\n | 'isOpen'\n | 'minWidth'\n | 'offset'\n | 'onClose'\n | 'onPosition'\n | 'sizeOptions'\n>;\n\nconst DEFAULT_PLACEMENT = 'bottom-start';\n\n/**\n * StickyPositioningDropdown is used to display content which supports conditional rendering,\n * or other cases where the size of the content can change and cause the dropdown to rerender\n * in a different placement. This component ensures the repositioning happens only once,\n * until there is a collision, instead of allowing the dropdown to keep trying to\n * move back to its default position on every render.\n */\nconst StickyPositioningDropdown = ({ children, isOpen, onPosition, ...rest }: Props) => {\n const [placement, setPlacement] = useState<DropdownProps['placement']>(DEFAULT_PLACEMENT);\n const [prevIsOpen, setPrevIsOpen] = useState(isOpen);\n\n if (prevIsOpen !== isOpen) {\n setPrevIsOpen(isOpen);\n\n // reset the placement to the default when the dropdown closes, not opens, so that it doesn't\n // initially open in the previous position and then move to the default position on the\n // rerender after the state is updated\n if (!isOpen) {\n setPlacement(DEFAULT_PLACEMENT);\n }\n }\n const handlePosition = useCallback(\n (positionData: PositionData) => {\n // update the placement so that the dropdown stays where it is until there is a collision,\n // i.e. it no longer fits, instead of letting it try to move back to the default position\n // on every render\n setPlacement(positionData.placement);\n\n // call the callback that was passed in through props\n onPosition?.(positionData);\n },\n [onPosition, setPlacement]\n );\n\n return (\n <Dropdown isOpen={isOpen} onPosition={handlePosition} placement={placement} {...rest}>\n {children}\n </Dropdown>\n );\n};\n\nexport { StickyPositioningDropdown };\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentChildren, ComponentProps, RefObject } from 'preact';\nimport { useCallback, useRef } from 'preact/hooks';\nimport {\n AriaAttributesSignalExcluded,\n HTMLAttributesSignalExcluded\n} from '#utils/UNSAFE_attributeUtils';\nimport { Flex } from '#UNSAFE_Flex';\nimport { FocusTrap } from '#UNSAFE_FocusTrap';\nimport { KEYS } from '#utils/PRIVATE_keyboardUtils';\nimport { PaddingProps } from '#utils/UNSAFE_interpolations/padding';\nimport { TestIdProps, useTestId } from '#hooks/UNSAFE_useTestId';\nimport { View } from '#UNSAFE_View';\n\ntype FlexProps = ComponentProps<typeof Flex>;\n\ntype Props = TestIdProps & {\n /**\n * An accessible label that describes the content.\n */\n 'aria-label'?: AriaAttributesSignalExcluded['aria-label'];\n\n /**\n * A ref to the content container.\n */\n contentRef?: RefObject<HTMLDivElement>;\n\n /**\n * Child content in the footer section.\n */\n footer?: ComponentChildren;\n\n /**\n * The spacing between the sections.\n */\n gap?: FlexProps['gap'];\n\n /**\n * True if the tab key should cycle focus within the content.\n * @default false\n */\n hasFocusTrap?: boolean;\n\n /**\n * Child content in the header section.\n */\n header?: ComponentChildren;\n\n /**\n * Child content in the main section.\n */\n main?: ComponentChildren;\n\n /**\n * The padding between the footer or bottom edge and the main content.\n * @default '4x'\n */\n paddingBlockEnd?: PaddingProps['paddingBlockEnd'];\n\n /**\n * The padding between the header or top edge and the main content.\n * @default '4x'\n */\n paddingBlockStart?: PaddingProps['paddingBlockStart'];\n\n /**\n * The padding between the right edge and the main content.\n * @default '4x'\n */\n paddingInlineEnd?: PaddingProps['paddingInlineEnd'];\n\n /**\n * The padding between the left edge and the main content.\n * @default '4x'\n */\n paddingInlineStart?: PaddingProps['paddingInlineStart'];\n\n /**\n * The aria role applied to the content container. For example, if the \"launcher\" element\n * includes aria-haspopup=\"dialog\", then the associated content should have role \"dialog\"\n * and an aria-label that describes it. If the launcher element has role \"combobox\", then\n * it controls an element with a role such as listbox or grid.\n */\n role?: HTMLAttributesSignalExcluded['role'];\n};\n\n/**\n * The SectionedContent component has slots for header, main, and footer content.\n * It is meant to be used in a floating or modal type container and includes\n * conditional support for focus trapping, so that you can tab between components\n * and sections while the container remains open.\n */\nexport const SectionedContent = ({\n 'aria-label': ariaLabel,\n contentRef: propRef,\n gap,\n footer,\n hasFocusTrap = false,\n header,\n main,\n paddingBlockEnd = '4x',\n paddingBlockStart = '4x',\n paddingInlineEnd = '4x',\n paddingInlineStart = '4x',\n role,\n testId\n}: Props) => {\n const testIdProps = useTestId(testId);\n\n const cRef = useRef<HTMLDivElement>(null);\n const contentRef = propRef ?? cRef;\n\n const handleKeyDown = useCallback((event: KeyboardEvent) => {\n if (event.code === KEYS.TAB) {\n event.stopPropagation();\n }\n }, []);\n\n const sections = (\n <Flex direction=\"column\" gap={gap}>\n {header}\n <View\n paddingBlockEnd={paddingBlockEnd}\n paddingBlockStart={paddingBlockStart}\n paddingInlineEnd={paddingInlineEnd}\n paddingInlineStart={paddingInlineStart}>\n {main}\n </View>\n {footer}\n </Flex>\n );\n\n // Use a FocusTrap around the content if hasFocusTrap is true.\n const childContent = hasFocusTrap ? (\n <FocusTrap restoreFocusRef={false}>{sections}</FocusTrap>\n ) : (\n { sections }\n );\n\n return (\n <div\n aria-label={ariaLabel}\n onKeyDown={hasFocusTrap ? handleKeyDown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FieldInputStyles.styles.css';
|
|
8
8
|
import { R as ReadonlyTextFieldInput } from './ReadonlyTextFieldInput-4392c7aa.js';
|
|
9
9
|
import { R as ReadonlyTextField } from './StyledTextField-c79f5438.js';
|
|
10
|
-
import { F as Flex } from './Flex-
|
|
10
|
+
import { F as Flex } from './Flex-5ff5aa5e.js';
|
|
11
11
|
import './FormContext-4d71f9c7.js';
|
|
12
12
|
import { u as useFormContext } from './useFormContext-875cacd7.js';
|
|
13
13
|
import { F as FormFieldContext } from './FormFieldContext-68eb5946.js';
|
|
@@ -31,8 +31,8 @@ import './CheckboxStyles.styles.css';
|
|
|
31
31
|
import './UNSAFE_Checkbox/themes/redwood/CheckboxBaseTheme.styles.css';
|
|
32
32
|
import './UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js';
|
|
33
33
|
import './InputGroupContext-20bdbd6e.js';
|
|
34
|
-
import './LayerHost-
|
|
35
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
34
|
+
import './LayerHost-aaed41a1.js';
|
|
35
|
+
import { u as useTranslationBundle } from './useTranslationBundle-e8a8c4f3.js';
|
|
36
36
|
import './LiveRegionStyles.styles.css';
|
|
37
37
|
import { T as TabbableModeContext } from './TabbableModeContext-7d8ad946.js';
|
|
38
38
|
import './UserAssistanceStyles.styles.css';
|
|
@@ -40,10 +40,10 @@ import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceBaseTheme.styles.cs
|
|
|
40
40
|
import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css.js';
|
|
41
41
|
import { a as InlineUserAssistance } from './InlineUserAssistance-bb690d93.js';
|
|
42
42
|
import { C as CompactUserAssistance } from './CompactUserAssistance-41c32c6f.js';
|
|
43
|
-
import './useTooltipControlled-
|
|
43
|
+
import './useTooltipControlled-eafec36e.js';
|
|
44
44
|
import { Fragment as Fragment$1 } from 'preact';
|
|
45
45
|
import './IconStyle.styles.css';
|
|
46
|
-
import './Popup-
|
|
46
|
+
import './Popup-6288438d.js';
|
|
47
47
|
import './HiddenAccessibleStyles.styles.css';
|
|
48
48
|
import './UNSAFE_Popup/themes/redwood/PopupBaseTheme.styles.css';
|
|
49
49
|
import './UNSAFE_Popup/themes/redwood/PopupVariants.css.js';
|
|
@@ -62,7 +62,7 @@ import { C as Chip } from './Chip-2c86a76f.js';
|
|
|
62
62
|
import { I as IconButton } from './IconButton-37310d21.js';
|
|
63
63
|
import { S as SvgNavLeft, a as SvgCancelS } from './CancelS-90fa1514.js';
|
|
64
64
|
import { u as useFocusWithin } from './useFocusWithin-30b1e2d8.js';
|
|
65
|
-
import { u as useUser } from './useUser-
|
|
65
|
+
import { u as useUser } from './useUser-fb09e212.js';
|
|
66
66
|
import { b as isBackspaceOrDelete, a as isSelectAll, K as KEYS, i as isControlOrFunctionKey } from './keyboardUtils-4db21770.js';
|
|
67
67
|
import { c as classNames } from './classNames-4e12b00d.js';
|
|
68
68
|
import { d as dimensionInterpolations } from './dimensions-5229d942.js';
|
|
@@ -73,8 +73,8 @@ import { S as SvgClose } from './Close-97d45aca.js';
|
|
|
73
73
|
import { u as useId } from './useId-03dbfdf0.js';
|
|
74
74
|
import { textTagStyles } from './UNSAFE_SelectMultiple/themes/TextTagStyles.css.js';
|
|
75
75
|
import { textTagListStyles } from './UNSAFE_SelectMultiple/themes/TextTagListStyles.css.js';
|
|
76
|
-
import { L as LiveRegion } from './LiveRegion-
|
|
77
|
-
import { V as View } from './View-
|
|
76
|
+
import { L as LiveRegion } from './LiveRegion-4646cd7d.js';
|
|
77
|
+
import { V as View } from './View-4dc6ce42.js';
|
|
78
78
|
import { mobileDropdownFooterStyles } from './UNSAFE_SelectMultiple/themes/MobileDropdownFooterStyles.css.js';
|
|
79
79
|
import { B as Button } from './Button-50c5589f.js';
|
|
80
80
|
import { u as useEffectEvent } from './useEffectEvent-e320381e.js';
|
|
@@ -7,7 +7,7 @@ import { T as TextFieldInput } from './TextFieldInput-3c39cb7b.js';
|
|
|
7
7
|
import './ObfuscatedTextFieldInputStyles.styles.css';
|
|
8
8
|
import { R as ReadonlyTextFieldInput } from './ReadonlyTextFieldInput-4392c7aa.js';
|
|
9
9
|
import { R as ReadonlyTextField } from './StyledTextField-c79f5438.js';
|
|
10
|
-
import './Flex-
|
|
10
|
+
import './Flex-5ff5aa5e.js';
|
|
11
11
|
import './FormContext-4d71f9c7.js';
|
|
12
12
|
import { u as useFormContext } from './useFormContext-875cacd7.js';
|
|
13
13
|
import { F as FormFieldContext } from './FormFieldContext-68eb5946.js';
|
|
@@ -31,8 +31,8 @@ import './CheckboxStyles.styles.css';
|
|
|
31
31
|
import './UNSAFE_Checkbox/themes/redwood/CheckboxBaseTheme.styles.css';
|
|
32
32
|
import './UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js';
|
|
33
33
|
import './InputGroupContext-20bdbd6e.js';
|
|
34
|
-
import './LayerHost-
|
|
35
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
34
|
+
import './LayerHost-aaed41a1.js';
|
|
35
|
+
import { u as useTranslationBundle } from './useTranslationBundle-e8a8c4f3.js';
|
|
36
36
|
import './LiveRegionStyles.styles.css';
|
|
37
37
|
import { T as TabbableModeContext } from './TabbableModeContext-7d8ad946.js';
|
|
38
38
|
import './UserAssistanceStyles.styles.css';
|
|
@@ -40,10 +40,10 @@ import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceBaseTheme.styles.cs
|
|
|
40
40
|
import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css.js';
|
|
41
41
|
import { a as InlineUserAssistance } from './InlineUserAssistance-bb690d93.js';
|
|
42
42
|
import { C as CompactUserAssistance } from './CompactUserAssistance-41c32c6f.js';
|
|
43
|
-
import './useTooltipControlled-
|
|
43
|
+
import './useTooltipControlled-eafec36e.js';
|
|
44
44
|
import { Fragment as Fragment$1 } from 'preact';
|
|
45
45
|
import './IconStyle.styles.css';
|
|
46
|
-
import './Popup-
|
|
46
|
+
import './Popup-6288438d.js';
|
|
47
47
|
import './HiddenAccessibleStyles.styles.css';
|
|
48
48
|
import './UNSAFE_Popup/themes/redwood/PopupBaseTheme.styles.css';
|
|
49
49
|
import './UNSAFE_Popup/themes/redwood/PopupVariants.css.js';
|
|
@@ -60,8 +60,8 @@ import { u as useFormFieldContext } from './useFormFieldContext-626574fd.js';
|
|
|
60
60
|
import './ReadonlyTextFieldInputStyles.styles.css';
|
|
61
61
|
import './UNSAFE_TextField/themes/redwood/ReadonlyTextFieldInputVariants.css.js';
|
|
62
62
|
import { T as TextField } from './TextField-323fe0e9.js';
|
|
63
|
-
import { L as LiveRegion } from './LiveRegion-
|
|
64
|
-
import { V as View } from './View-
|
|
63
|
+
import { L as LiveRegion } from './LiveRegion-4646cd7d.js';
|
|
64
|
+
import { V as View } from './View-4dc6ce42.js';
|
|
65
65
|
import { u as useEffectEvent } from './useEffectEvent-e320381e.js';
|
|
66
66
|
import { m as mergeProps } from './mergeProps-88ea8306.js';
|
|
67
67
|
import { K as KEYS, i as isControlOrFunctionKey } from './keyboardUtils-4db21770.js';
|
|
@@ -6,7 +6,7 @@ import { p as paddingInterpolations } from './padding-01bef196.js';
|
|
|
6
6
|
import { c as colorInterpolations } from './colors-aab9ed12.js';
|
|
7
7
|
import { a as ariaInterpolations } from './aria-efa0582c.js';
|
|
8
8
|
import { m as mergeInterpolations } from './mergeInterpolations-e2db2a66.js';
|
|
9
|
-
import { u as useTestId } from './useTestId-
|
|
9
|
+
import { u as useTestId } from './useTestId-f5aed66c.js';
|
|
10
10
|
import { baseStyle, hoverStyle, selectedHoverStyle, selectedStyle } from './UNSAFE_SelectionCard/themes/SelectionCardStyles.css.js';
|
|
11
11
|
import { u as useHover } from './useHover-d5088fcd.js';
|
|
12
12
|
|
|
@@ -35,4 +35,4 @@ const SelectionCard = ({ children, isSelected = false, testId, ...rest }) => {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
export { SelectionCard as S };
|
|
38
|
-
//# sourceMappingURL=SelectionCard-
|
|
38
|
+
//# sourceMappingURL=SelectionCard-8496e467.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionCard-
|
|
1
|
+
{"version":3,"file":"SelectionCard-8496e467.js","sources":["../../src/UNSAFE_SelectionCard/SelectionCard.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChildren } from 'preact';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { DimensionProps, dimensionInterpolations } from '../utils/UNSAFE_interpolations/dimensions';\nimport { PaddingProps, paddingInterpolations } from '../utils/UNSAFE_interpolations/padding';\nimport { ColorProps, colorInterpolations } from '../utils/UNSAFE_interpolations/colors';\nimport { AriaProps, ariaInterpolations } from '../utils/UNSAFE_interpolations/aria';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\nimport { useTestId, TestIdProps } from '../hooks/UNSAFE_useTestId';\nimport {\n baseStyle,\n hoverStyle,\n selectedStyle,\n selectedHoverStyle\n} from './themes/SelectionCardStyles.css';\nimport { useHover } from '../hooks/UNSAFE_useHover';\n\ntype StyleProps = DimensionProps & PaddingProps & ColorProps & AriaProps;\n\ntype Props = StyleProps &\n TestIdProps & {\n children?: ComponentChildren;\n\n /**\n * This flag marks this card as selected within a collection.\n */\n isSelected?: boolean;\n };\n\nconst interpolations = [\n ...Object.values(dimensionInterpolations),\n ...Object.values(colorInterpolations),\n ...Object.values(ariaInterpolations),\n ...Object.values(paddingInterpolations)\n];\n\nconst mergedInterpolations = mergeInterpolations<Props>(interpolations);\n\n/**\n * A selection card is a container element that is a part of a collection of elements, and renders a group of related information in a styled rectangular area.\n * Width, height, and backgroundColor are set through props.\n */\nexport const SelectionCard = ({ children, isSelected = false, testId, ...rest }: Props) => {\n const { hoverProps, isHover } = useHover();\n\n const { class: mergedClasses, ...mergedStyles } = mergedInterpolations(rest);\n const selectionStyles = classNames([\n baseStyle,\n mergedClasses,\n isHover && hoverStyle,\n isSelected && (isHover ? selectedHoverStyle : selectedStyle)\n ]);\n const testIdProps = useTestId(testId);\n return (\n <div\n role=\"region\"\n {...hoverProps}\n class={selectionStyles}\n style={mergedStyles}\n {...testIdProps}>\n {children}\n </div>\n );\n};\n"],"names":["_jsx"],"mappings":";;;;;;;;;;;;AAmCA,MAAM,cAAc,GAAG;AACrB,IAAA,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC;AACzC,IAAA,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC;AACrC,IAAA,GAAG,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC;AACpC,IAAA,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC;CACxC,CAAC;AAEF,MAAM,oBAAoB,GAAG,mBAAmB,CAAQ,cAAc,CAAC,CAAC;AAExE;;;AAGG;AACU,MAAA,aAAa,GAAG,CAAC,EAAE,QAAQ,EAAE,UAAU,GAAG,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,EAAS,KAAI;IACxF,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,QAAQ,EAAE,CAAC;AAE3C,IAAA,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,YAAY,EAAE,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC7E,MAAM,eAAe,GAAG,UAAU,CAAC;QACjC,SAAS;QACT,aAAa;AACb,QAAA,OAAO,IAAI,UAAU;QACrB,UAAU,KAAK,OAAO,GAAG,kBAAkB,GAAG,aAAa,CAAC;AAC7D,KAAA,CAAC,CAAC;AACH,IAAA,MAAM,WAAW,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;IACtC,QACEA,aACE,IAAI,EAAC,QAAQ,EACT,GAAA,UAAU,EACd,KAAK,EAAE,eAAe,EACtB,KAAK,EAAE,YAAY,EAAA,GACf,WAAW,EACd,QAAA,EAAA,QAAQ,EACL,CAAA,EACN;AACJ;;;;"}
|
package/es/Selector-e56a73a8.js
CHANGED
|
@@ -6,7 +6,7 @@ import { styles } from './UNSAFE_Selector/themes/SelectorStyles.css.js';
|
|
|
6
6
|
import { S as StyledCheckbox } from './StyledCheckbox-7dc33a92.js';
|
|
7
7
|
import { u as useActive } from './useActive-7d9737a5.js';
|
|
8
8
|
import { u as useFocus } from './useFocus-38c95977.js';
|
|
9
|
-
import { u as useTestId } from './useTestId-
|
|
9
|
+
import { u as useTestId } from './useTestId-f5aed66c.js';
|
|
10
10
|
import { u as useHover } from './useHover-d5088fcd.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsx, jsxs } from 'preact/jsx-runtime';
|
|
3
3
|
import { useRef } from 'preact/hooks';
|
|
4
|
-
import { F as Flex } from './Flex-
|
|
4
|
+
import { F as Flex } from './Flex-5ff5aa5e.js';
|
|
5
5
|
import { u as usePress } from './usePress-97fc1cf1.js';
|
|
6
6
|
import { styles } from './UNSAFE_Selector/themes/SelectorStyles.css.js';
|
|
7
7
|
import { S as StyledCheckbox } from './StyledCheckbox-7dc33a92.js';
|
|
8
8
|
import { m as mergeProps } from './mergeProps-88ea8306.js';
|
|
9
9
|
import { u as useActive } from './useActive-7d9737a5.js';
|
|
10
10
|
import { u as useFocus } from './useFocus-38c95977.js';
|
|
11
|
-
import { u as useTestId } from './useTestId-
|
|
12
|
-
import { u as useTooltip } from './useTooltip-
|
|
13
|
-
import './useTooltipControlled-
|
|
14
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
11
|
+
import { u as useTestId } from './useTestId-f5aed66c.js';
|
|
12
|
+
import { u as useTooltip } from './useTooltip-30a4a4fc.js';
|
|
13
|
+
import './useTooltipControlled-eafec36e.js';
|
|
14
|
+
import { u as useTranslationBundle } from './useTranslationBundle-e8a8c4f3.js';
|
|
15
15
|
import { u as useHover } from './useHover-d5088fcd.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsx, Fragment } from 'preact/jsx-runtime';
|
|
3
3
|
import { useRef, useCallback, useEffect, useMemo } from 'preact/hooks';
|
|
4
|
-
import { M as Modal } from './Modal-
|
|
5
|
-
import { W as WindowOverlay } from './WindowOverlay-
|
|
4
|
+
import { M as Modal } from './Modal-986872f3.js';
|
|
5
|
+
import { W as WindowOverlay } from './WindowOverlay-88b63ede.js';
|
|
6
6
|
import { f as focusWithin } from './tabbableUtils-dca964ca.js';
|
|
7
7
|
import { sheetMenuStyles } from './UNSAFE_Sheet/themes/SheetStyles.css.js';
|
|
8
8
|
import { m as mergeRefs } from './refUtils-b9d8d91a.js';
|
|
@@ -155,4 +155,4 @@ const Sheet = ({ children, onClose, isOpen = false, initialFocus = 'none' }) =>
|
|
|
155
155
|
const TOP_OFFSET = 96;
|
|
156
156
|
|
|
157
157
|
export { Sheet as S, useSheetSwipe as u };
|
|
158
|
-
//# sourceMappingURL=Sheet-
|
|
158
|
+
//# sourceMappingURL=Sheet-8914df23.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sheet-e4121f4a.js","sources":["../../src/UNSAFE_Sheet/useSheetSwipe.ts","../../src/UNSAFE_Sheet/Sheet.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { useRef, useCallback } from 'preact/hooks';\n\n/*\n threshold: Minimal threshold required before recognizing\n tolerance: A tolerance value which allows the user to move their finger about a length measured in pixels.\n This allows the swipe gesture to be triggered more easily since a User might not move their finger\n in a straight line.\n*/\ntype SwipeOptions = {\n threshold?: number;\n maximumTime?: number;\n tolerance?: number;\n isDisabled?: boolean;\n};\n\ntype SwipeInfo = {\n direction: 'down';\n};\n\ntype SwipeState = {\n pointerDownId: number | null;\n startTime: number | null;\n prevpageX: number;\n prevpageY: number;\n elementScrollTop: number;\n};\n/*This \"private\" hook will live until we end up stating a final decision on useSwipe hook.\nFor that hook to work, element that use it has to set touch-action:none;, since pointer events\nare canceled once a touch action is going to be handled by the browser. This works for most\nof the components that don't scroll. But if the component scroll, there is a need for the browser to \nhandle scroll which is imposible with a hook just using pointer events.\n\nUpdate 11/6/23:\nNishad's team is going to confirm if other comps that will use useSwipe need mouse interactions. If they need it,\nwe can either have a flag to use pointer or touch events or two separated hooks. If they don't need mouse interactions,\nwe could start using useSwipe with touch events instead.\n*/\nexport function useSheetSwipe(\n onSwipe: (e: SwipeInfo) => void,\n { threshold = 10, maximumTime = 300, tolerance = 50, isDisabled = false }: SwipeOptions = {\n threshold: 10,\n maximumTime: 300,\n tolerance: 50,\n isDisabled: false\n }\n): { swipeProps: Record<string, any> } {\n const ref = useRef<SwipeState>({\n pointerDownId: 0,\n startTime: null,\n prevpageX: 0,\n prevpageY: 0,\n elementScrollTop: 0\n });\n\n const clearSwipe = useCallback(() => {\n ref.current = {\n pointerDownId: null,\n startTime: 0,\n prevpageX: 0,\n prevpageY: 0,\n elementScrollTop: 0\n };\n }, []);\n\n const onTouchStart = useCallback(\n (e: TouchEvent) => {\n const touchobj = e.changedTouches[0];\n if (!ref.current.pointerDownId) {\n ref.current = {\n pointerDownId: touchobj.identifier,\n startTime: e.timeStamp,\n prevpageX: touchobj.pageX,\n prevpageY: touchobj.pageY,\n elementScrollTop: (e.currentTarget as HTMLElement).scrollTop\n };\n } else {\n clearSwipe();\n }\n },\n [clearSwipe]\n );\n\n const onTouchEnd = useCallback(\n (ev: TouchEvent) => {\n const touchobj = ev.changedTouches[0];\n if (touchobj.identifier === ref.current.pointerDownId) {\n if (ref.current.startTime && ev.timeStamp - ref.current.startTime < maximumTime) {\n if (\n touchobj.pageY - ref.current.prevpageY > threshold &&\n Math.abs(touchobj.pageX - ref.current.prevpageX) <= tolerance &&\n ref.current.elementScrollTop === 0\n ) {\n onSwipe?.({ direction: 'down' });\n }\n }\n }\n // state would be reset to its original state whether swipe is completed or cancelled\n clearSwipe();\n },\n [threshold, onSwipe, clearSwipe, maximumTime, tolerance]\n );\n\n const swipeProps = isDisabled\n ? {}\n : {\n /** event handlers to spread on the target element. */\n onTouchStart,\n onTouchEnd,\n ontouchcancel: clearSwipe\n };\n\n return {\n swipeProps\n };\n}\n","import { JSX } from 'preact';\nimport { useCallback, useEffect, useMemo, useRef } from 'preact/hooks';\n\nimport { Modal } from '../UNSAFE_Modal';\nimport { WindowOverlay } from '../UNSAFE_WindowOverlay';\n//Temporal import.\nimport { useSheetSwipe } from './useSheetSwipe';\nimport { focusWithin } from '../utils/PRIVATE_tabbableUtils';\n\nimport { sheetMenuStyles } from './themes/SheetStyles.css';\nimport { mergeRefs } from '#utils/PRIVATE_refUtils';\nimport { AnimationStates, useAnimationStatus } from '#hooks/PRIVATE_useAnimationStatus';\nimport { SLIDE_DOWN_XLARGE, SLIDE_UP_XLARGE, DURATION_LARGE } from '#utils/PRIVATE_animationUtils';\n\n/*\n pointerDismissed: Swipedown and tapScrim\n keyboardDismissed: \"Escape\" | \"Tab\"\n*/\nexport type CloseDetail = { reason: 'pointerDismissed' | 'keyboardDismissed' };\n\ntype IntrinsicProps = Pick<JSX.HTMLAttributes<HTMLDivElement>, 'children'>;\n\ntype SheetProps = IntrinsicProps & {\n onClose?: (detail: CloseDetail) => void;\n isOpen?: boolean;\n initialFocus?: 'none' | 'firstFocusable';\n};\n\nconst animationStates: AnimationStates = {\n opening: {\n ...SLIDE_UP_XLARGE,\n options: {\n duration: DURATION_LARGE\n }\n },\n closing: {\n ...SLIDE_DOWN_XLARGE,\n options: {\n duration: DURATION_LARGE\n }\n }\n};\n\nexport const Sheet = ({ children, onClose, isOpen = false, initialFocus = 'none' }: SheetProps) => {\n const sheetRef = useRef<HTMLDivElement>(null);\n\n // Initial focus going to be set after animation once opening animation is added\n useEffect(() => {\n if (isOpen && initialFocus === 'firstFocusable') {\n const sheetElement = sheetRef.current;\n if (sheetElement) {\n focusWithin(sheetElement);\n }\n }\n }, [isOpen, initialFocus]);\n const handlePointerDismissed = useCallback(() => {\n onClose?.({ reason: 'pointerDismissed' });\n }, [onClose]);\n\n // TODO: Use useSwipe when it works on components that could scroll. Important to notice all components that have a\n // sheet will use this comp and this comp is going to use useSwipe. So comps that have their own impl (menu right now),\n // will stop having its own implementation\n const { swipeProps } = useSheetSwipe(handlePointerDismissed);\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.defaultPrevented) {\n return;\n }\n switch (event.code) {\n case 'Tab':\n case 'Escape':\n onClose?.({ reason: 'keyboardDismissed' });\n default:\n break;\n }\n },\n [onClose]\n );\n const { setAnimationElementRef, status } = useAnimationStatus<HTMLElement>({\n isOpen,\n isAnimatedOnMount: false,\n animationStates\n });\n\n useEffect(() => {\n if (status === 'opening') {\n if (initialFocus === 'firstFocusable') {\n const dropdownElement = sheetRef.current;\n if (dropdownElement) {\n focusWithin(dropdownElement);\n }\n }\n }\n }, [status, initialFocus]);\n\n const stableRef = useMemo(\n () => mergeRefs(setAnimationElementRef, sheetRef),\n [setAnimationElementRef]\n );\n\n const isMounted = status !== 'unmounted';\n\n return (\n <>\n {isMounted ? (\n <Modal isOpen={isMounted} onBackdropClick={handlePointerDismissed}>\n <WindowOverlay placement=\"bottom\">\n <div\n {...swipeProps}\n ref={stableRef}\n class={sheetMenuStyles.sheetMenuContainerWrapper}\n style={{ maxHeight: `calc(100vh - ${TOP_OFFSET}px)` }}\n onKeyDown={handleKeyDown}>\n {children}\n </div>\n </WindowOverlay>\n </Modal>\n ) : null}\n </>\n );\n};\n\nconst TOP_OFFSET = 96;\n"],"names":["_jsx","_Fragment"],"mappings":";;;;;;;;;;;AAAA;;;;;;AAMG;AA4BH;;;;;;;;;;AAUE;AACI,SAAU,aAA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AEH,SAAS,CAAC,MAAK;AACb,QAAA,IAAI,MAAM,KAAK,SAAS,EAAE;AACxB,YAAA,IAAI,YAAY,KAAK,gBAAgB,EAAE;AACrC,gBAAA,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC;gBACzC,IAAI,eAAe,EAAE;oBACnB,WAAW,CAAC,eAAe,CAAC,CAAC;iBAC9B;aACF;SACF;AACH,KAAC,EAAE,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC;AAE3B,IAAA,MAAM,SAAS,GAAG,OAAO,CACvB,MAAM,SAAS,CAAC,sBAAsB,EAAE,QAAQ,CAAC,EACjD,CAAC,sBAAsB,CAAC,CACzB,CAAC;AAEF,IAAA,MAAM,SAAS,GAAG,MAAM,KAAK,WAAW,CAAC;AAEzC,IAAA,QACEA,GAAA,CAAAC,QAAA,EAAA,EAAA,QAAA,EACG,SAAS,IACRD,GAAA,CAAC,KAAK,EAAA,EAAC,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,sBAAsB,EAAA,QAAA,EAC/DA,GAAC,CAAA,aAAa,EAAC,EAAA,SAAS,EAAC,QAAQ,EAC/B,QAAA,EAAAA,GAAA,CAAA,KAAA,EAAA,EAAA,GACM,UAAU,EACd,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,eAAe,CAAC,yBAAyB,EAChD,KAAK,EAAE,EAAE,SAAS,EAAE,CAAgB,aAAA,EAAA,UAAU,KAAK,EAAE,EACrD,SAAS,EAAE,aAAa,EAAA,QAAA,EACvB,QAAQ,EAAA,CACL,EACQ,CAAA,EAAA,CACV,IACN,IAAI,EAAA,CACP,EACH;AACJ,EAAE;AAEF,MAAM,UAAU,GAAG,EAAE;;;;"}
|
|
1
|
+
{"version":3,"file":"Sheet-8914df23.js","sources":["../../src/UNSAFE_Sheet/useSheetSwipe.ts","../../src/UNSAFE_Sheet/Sheet.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { useRef, useCallback } from 'preact/hooks';\n\n/*\n threshold: Minimal threshold required before recognizing\n tolerance: A tolerance value which allows the user to move their finger about a length measured in pixels.\n This allows the swipe gesture to be triggered more easily since a User might not move their finger\n in a straight line.\n*/\ntype SwipeOptions = {\n threshold?: number;\n maximumTime?: number;\n tolerance?: number;\n isDisabled?: boolean;\n};\n\ntype SwipeInfo = {\n direction: 'down';\n};\n\ntype SwipeState = {\n pointerDownId: number | null;\n startTime: number | null;\n prevpageX: number;\n prevpageY: number;\n elementScrollTop: number;\n};\n/*This \"private\" hook will live until we end up stating a final decision on useSwipe hook.\nFor that hook to work, element that use it has to set touch-action:none;, since pointer events\nare canceled once a touch action is going to be handled by the browser. This works for most\nof the components that don't scroll. But if the component scroll, there is a need for the browser to \nhandle scroll which is imposible with a hook just using pointer events.\n\nUpdate 11/6/23:\nNishad's team is going to confirm if other comps that will use useSwipe need mouse interactions. If they need it,\nwe can either have a flag to use pointer or touch events or two separated hooks. If they don't need mouse interactions,\nwe could start using useSwipe with touch events instead.\n*/\nexport function useSheetSwipe(\n onSwipe: (e: SwipeInfo) => void,\n { threshold = 10, maximumTime = 300, tolerance = 50, isDisabled = false }: SwipeOptions = {\n threshold: 10,\n maximumTime: 300,\n tolerance: 50,\n isDisabled: false\n }\n): { swipeProps: Record<string, any> } {\n const ref = useRef<SwipeState>({\n pointerDownId: 0,\n startTime: null,\n prevpageX: 0,\n prevpageY: 0,\n elementScrollTop: 0\n });\n\n const clearSwipe = useCallback(() => {\n ref.current = {\n pointerDownId: null,\n startTime: 0,\n prevpageX: 0,\n prevpageY: 0,\n elementScrollTop: 0\n };\n }, []);\n\n const onTouchStart = useCallback(\n (e: TouchEvent) => {\n const touchobj = e.changedTouches[0];\n if (!ref.current.pointerDownId) {\n ref.current = {\n pointerDownId: touchobj.identifier,\n startTime: e.timeStamp,\n prevpageX: touchobj.pageX,\n prevpageY: touchobj.pageY,\n elementScrollTop: (e.currentTarget as HTMLElement).scrollTop\n };\n } else {\n clearSwipe();\n }\n },\n [clearSwipe]\n );\n\n const onTouchEnd = useCallback(\n (ev: TouchEvent) => {\n const touchobj = ev.changedTouches[0];\n if (touchobj.identifier === ref.current.pointerDownId) {\n if (ref.current.startTime && ev.timeStamp - ref.current.startTime < maximumTime) {\n if (\n touchobj.pageY - ref.current.prevpageY > threshold &&\n Math.abs(touchobj.pageX - ref.current.prevpageX) <= tolerance &&\n ref.current.elementScrollTop === 0\n ) {\n onSwipe?.({ direction: 'down' });\n }\n }\n }\n // state would be reset to its original state whether swipe is completed or cancelled\n clearSwipe();\n },\n [threshold, onSwipe, clearSwipe, maximumTime, tolerance]\n );\n\n const swipeProps = isDisabled\n ? {}\n : {\n /** event handlers to spread on the target element. */\n onTouchStart,\n onTouchEnd,\n ontouchcancel: clearSwipe\n };\n\n return {\n swipeProps\n };\n}\n","import { JSX } from 'preact';\nimport { useCallback, useEffect, useMemo, useRef } from 'preact/hooks';\n\nimport { Modal } from '../UNSAFE_Modal';\nimport { WindowOverlay } from '../UNSAFE_WindowOverlay';\n//Temporal import.\nimport { useSheetSwipe } from './useSheetSwipe';\nimport { focusWithin } from '../utils/PRIVATE_tabbableUtils';\n\nimport { sheetMenuStyles } from './themes/SheetStyles.css';\nimport { mergeRefs } from '#utils/PRIVATE_refUtils';\nimport { AnimationStates, useAnimationStatus } from '#hooks/PRIVATE_useAnimationStatus';\nimport { SLIDE_DOWN_XLARGE, SLIDE_UP_XLARGE, DURATION_LARGE } from '#utils/PRIVATE_animationUtils';\n\n/*\n pointerDismissed: Swipedown and tapScrim\n keyboardDismissed: \"Escape\" | \"Tab\"\n*/\nexport type CloseDetail = { reason: 'pointerDismissed' | 'keyboardDismissed' };\n\ntype IntrinsicProps = Pick<JSX.HTMLAttributes<HTMLDivElement>, 'children'>;\n\ntype SheetProps = IntrinsicProps & {\n onClose?: (detail: CloseDetail) => void;\n isOpen?: boolean;\n initialFocus?: 'none' | 'firstFocusable';\n};\n\nconst animationStates: AnimationStates = {\n opening: {\n ...SLIDE_UP_XLARGE,\n options: {\n duration: DURATION_LARGE\n }\n },\n closing: {\n ...SLIDE_DOWN_XLARGE,\n options: {\n duration: DURATION_LARGE\n }\n }\n};\n\nexport const Sheet = ({ children, onClose, isOpen = false, initialFocus = 'none' }: SheetProps) => {\n const sheetRef = useRef<HTMLDivElement>(null);\n\n // Initial focus going to be set after animation once opening animation is added\n useEffect(() => {\n if (isOpen && initialFocus === 'firstFocusable') {\n const sheetElement = sheetRef.current;\n if (sheetElement) {\n focusWithin(sheetElement);\n }\n }\n }, [isOpen, initialFocus]);\n const handlePointerDismissed = useCallback(() => {\n onClose?.({ reason: 'pointerDismissed' });\n }, [onClose]);\n\n // TODO: Use useSwipe when it works on components that could scroll. Important to notice all components that have a\n // sheet will use this comp and this comp is going to use useSwipe. So comps that have their own impl (menu right now),\n // will stop having its own implementation\n const { swipeProps } = useSheetSwipe(handlePointerDismissed);\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.defaultPrevented) {\n return;\n }\n switch (event.code) {\n case 'Tab':\n case 'Escape':\n onClose?.({ reason: 'keyboardDismissed' });\n default:\n break;\n }\n },\n [onClose]\n );\n const { setAnimationElementRef, status } = useAnimationStatus<HTMLElement>({\n isOpen,\n isAnimatedOnMount: false,\n animationStates\n });\n\n useEffect(() => {\n if (status === 'opening') {\n if (initialFocus === 'firstFocusable') {\n const dropdownElement = sheetRef.current;\n if (dropdownElement) {\n focusWithin(dropdownElement);\n }\n }\n }\n }, [status, initialFocus]);\n\n const stableRef = useMemo(\n () => mergeRefs(setAnimationElementRef, sheetRef),\n [setAnimationElementRef]\n );\n\n const isMounted = status !== 'unmounted';\n\n return (\n <>\n {isMounted ? (\n <Modal isOpen={isMounted} onBackdropClick={handlePointerDismissed}>\n <WindowOverlay placement=\"bottom\">\n <div\n {...swipeProps}\n ref={stableRef}\n class={sheetMenuStyles.sheetMenuContainerWrapper}\n style={{ maxHeight: `calc(100vh - ${TOP_OFFSET}px)` }}\n onKeyDown={handleKeyDown}>\n {children}\n </div>\n </WindowOverlay>\n </Modal>\n ) : null}\n </>\n );\n};\n\nconst TOP_OFFSET = 96;\n"],"names":["_jsx","_Fragment"],"mappings":";;;;;;;;;;;AAAA;;;;;;AAMG;AA4BH;;;;;;;;;;AAUE;AACI,SAAU,aAAa,CAC3B,OAA+B,EAC/B,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,GAAG,GAAG,EAAE,SAAS,GAAG,EAAE,EAAE,UAAU,GAAG,KAAK,EAAmB,GAAA;AACxF,IAAA,SAAS,EAAE,EAAE;AACb,IAAA,WAAW,EAAE,GAAG;AAChB,IAAA,SAAS,EAAE,EAAE;AACb,IAAA,UAAU,EAAE,KAAK;AAClB,CAAA,EAAA;IAED,MAAM,GAAG,GAAG,MAAM,CAAa;AAC7B,QAAA,aAAa,EAAE,CAAC;AAChB,QAAA,SAAS,EAAE,IAAI;AACf,QAAA,SAAS,EAAE,CAAC;AACZ,QAAA,SAAS,EAAE,CAAC;AACZ,QAAA,gBAAgB,EAAE,CAAC;AACpB,KAAA,CAAC,CAAC;AAEH,IAAA,MAAM,UAAU,GAAG,WAAW,CAAC,MAAK;QAClC,GAAG,CAAC,OAAO,GAAG;AACZ,YAAA,aAAa,EAAE,IAAI;AACnB,YAAA,SAAS,EAAE,CAAC;AACZ,YAAA,SAAS,EAAE,CAAC;AACZ,YAAA,SAAS,EAAE,CAAC;AACZ,YAAA,gBAAgB,EAAE,CAAC;SACpB,CAAC;KACH,EAAE,EAAE,CAAC,CAAC;AAEP,IAAA,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,CAAa,KAAI;QAChB,MAAM,QAAQ,GAAG,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;AACrC,QAAA,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,aAAa,EAAE;YAC9B,G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AA,CACL,EACQ,CAAA,EAAA,CACV,IACN,IAAI,EAAA,CACP,EACH;AACJ,EAAE;AAEF,MAAM,UAAU,GAAG,EAAE;;;;"}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { jsx, jsxs } from 'preact/jsx-runtime';
|
|
3
3
|
import { B as ButtonLabelLayout } from './ButtonLabelLayout-03cfed16.js';
|
|
4
4
|
import { S as SvgChevronDown } from './ChevronDown-d9848cc4.js';
|
|
5
|
-
import { M as Menu } from './Menu-
|
|
5
|
+
import { M as Menu } from './Menu-b0c28cfd.js';
|
|
6
6
|
import './MenuItem-a8f9c954.js';
|
|
7
7
|
import { useState, useCallback, useRef, useImperativeHandle } from 'preact/hooks';
|
|
8
8
|
import 'preact';
|
|
9
|
-
import './useTooltipControlled-
|
|
9
|
+
import './useTooltipControlled-eafec36e.js';
|
|
10
10
|
import './IconStyle.styles.css';
|
|
11
11
|
import './SelectMenuGroupContext-b56cf5d4.js';
|
|
12
12
|
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
@@ -16,7 +16,7 @@ import './MenuSeparatorStyles.styles.css';
|
|
|
16
16
|
import './UNSAFE_Menu/themes/redwood/MenuSeparatorBaseTheme.styles.css';
|
|
17
17
|
import './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css.js';
|
|
18
18
|
import { forwardRef } from 'preact/compat';
|
|
19
|
-
import './LayerHost-
|
|
19
|
+
import './LayerHost-aaed41a1.js';
|
|
20
20
|
import { T as Text } from './Text-da8588ce.js';
|
|
21
21
|
import { B as BaseButton } from './BaseButton-5b2791b1.js';
|
|
22
22
|
import { T as TabbableModeContext } from './TabbableModeContext-7d8ad946.js';
|
|
@@ -4,7 +4,7 @@ import { LabelRedwoodTheme } from './UNSAFE_Label/themes/redwood/LabelTheme.js';
|
|
|
4
4
|
import { L as LabelValueLayout } from './LabelValueLayout-23b74176.js';
|
|
5
5
|
import { SkeletonRedwoodTheme } from './UNSAFE_Skeleton/themes/redwood/SkeletonTheme.js';
|
|
6
6
|
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
7
|
-
import { u as useTestId } from './useTestId-
|
|
7
|
+
import { u as useTestId } from './useTestId-f5aed66c.js';
|
|
8
8
|
import { c as classNames } from './classNames-4e12b00d.js';
|
|
9
9
|
import { l as layoutSpanStyles } from './LayoutStyles.css-a679044e.js';
|
|
10
10
|
import { forwardRef } from 'preact/compat';
|
|
@@ -12,10 +12,10 @@ import './FormContext-4d71f9c7.js';
|
|
|
12
12
|
import { u as useFormContext } from './useFormContext-875cacd7.js';
|
|
13
13
|
import './FormFieldContext-68eb5946.js';
|
|
14
14
|
import { u as useFormFieldContext } from './useFormFieldContext-626574fd.js';
|
|
15
|
-
import { F as Flex } from './Flex-
|
|
15
|
+
import { F as Flex } from './Flex-5ff5aa5e.js';
|
|
16
16
|
import './InputGroupContext-20bdbd6e.js';
|
|
17
17
|
import { u as useInputGroupContext } from './useInputGroupContext-1d19411e.js';
|
|
18
|
-
import { u as useUser } from './useUser-
|
|
18
|
+
import { u as useUser } from './useUser-fb09e212.js';
|
|
19
19
|
import { TextFieldRedwoodTheme } from './UNSAFE_TextField/themes/redwood/TextFieldTheme.js';
|
|
20
20
|
import { ReadonlyTextFieldRedwoodTheme } from './UNSAFE_TextField/themes/redwood/ReadonlyTextFieldTheme.js';
|
|
21
21
|
import { FormLayoutRedwoodTheme } from './UNSAFE_TextField/themes/redwood/FormLayoutTheme.js';
|
package/es/Submenu-8b3fa593.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useMemo, useRef, useState, useEffect, useCallback } from 'preact/compat
|
|
|
4
4
|
import { D as DirectionalExpandArrowIcon } from './DirectionalExpandArrowIcon-cf8fd7a8.js';
|
|
5
5
|
import { u as useId } from './useId-03dbfdf0.js';
|
|
6
6
|
import { m as useMenuContainerContext, B as BaseMenuItem, u as useMenuContext } from './MenuItem-a8f9c954.js';
|
|
7
|
-
import { D as DropdownMenu, S as SheetMenu } from './Menu-
|
|
7
|
+
import { D as DropdownMenu, S as SheetMenu } from './Menu-b0c28cfd.js';
|
|
8
8
|
import { useRef as useRef$1, useState as useState$1, useEffect as useEffect$1, useCallback as useCallback$1 } from 'preact/hooks';
|
|
9
9
|
import { D as DirectionalCollapseArrowIcon } from './DirectionalCollapseArrowIcon-0298f5ef.js';
|
|
10
10
|
|
package/es/TabBar-e39e8dbd.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import { useRef, useImperativeHandle } from 'preact/hooks';
|
|
4
|
-
import './LayerHost-
|
|
4
|
+
import './LayerHost-aaed41a1.js';
|
|
5
5
|
import { forwardRef } from 'preact/compat';
|
|
6
6
|
import './UNSAFE_Text/themes/TextStyles.css.js';
|
|
7
|
-
import './Flex-
|
|
7
|
+
import './Flex-5ff5aa5e.js';
|
|
8
8
|
import { T as TabBarContext } from './useTabBarContext-0071d2a7.js';
|
|
9
9
|
import './flexitem-7b7f7920.js';
|
|
10
10
|
import './dimensions-5229d942.js';
|
|
@@ -15,18 +15,18 @@ import './UNSAFE_TabBarCommon/themes/redwood/TabBarItemBaseTheme.styles.css';
|
|
|
15
15
|
import './UNSAFE_TabBarCommon/themes/redwood/TabBarItemVariants.css.js';
|
|
16
16
|
import './ConveyorBeltContext-76a29c59.js';
|
|
17
17
|
import 'preact';
|
|
18
|
-
import './useTooltipControlled-
|
|
18
|
+
import './useTooltipControlled-eafec36e.js';
|
|
19
19
|
import './IconStyle.styles.css';
|
|
20
|
-
import './Floating-
|
|
20
|
+
import './Floating-5b269acc.js';
|
|
21
21
|
import './LayerStyles.styles.css';
|
|
22
22
|
import './keyboardUtils-4db21770.js';
|
|
23
23
|
import './tabbableUtils-dca964ca.js';
|
|
24
24
|
import './dropdownStyles.styles.css';
|
|
25
|
-
import './Sheet-
|
|
25
|
+
import './Sheet-8914df23.js';
|
|
26
26
|
import './OverflowTabBarItemStyles.styles.css';
|
|
27
27
|
import { T as TabBarLayout } from './TabBarLayout-a0d89ec4.js';
|
|
28
28
|
import { styles } from './UNSAFE_TabBar/themes/TabBarStyles.css.js';
|
|
29
|
-
import { u as useTabBar } from './useTabBar-
|
|
29
|
+
import { u as useTabBar } from './useTabBar-4b318196.js';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* A tab bar allows navigation between different content sections.
|
|
@@ -3,9 +3,9 @@ import { jsxs, jsx } from 'preact/jsx-runtime';
|
|
|
3
3
|
import { useState, useCallback } from 'preact/hooks';
|
|
4
4
|
import { c as classNames } from './classNames-4e12b00d.js';
|
|
5
5
|
import { u as usePress } from './usePress-97fc1cf1.js';
|
|
6
|
-
import { u as useUser } from './useUser-
|
|
6
|
+
import { u as useUser } from './useUser-fb09e212.js';
|
|
7
7
|
import { T as Text } from './Text-da8588ce.js';
|
|
8
|
-
import { F as Flex } from './Flex-
|
|
8
|
+
import { F as Flex } from './Flex-5ff5aa5e.js';
|
|
9
9
|
import { u as useTabBarContext } from './useTabBarContext-0071d2a7.js';
|
|
10
10
|
import { m as mergeInterpolations } from './mergeInterpolations-e2db2a66.js';
|
|
11
11
|
import { f as flexitemInterpolations } from './flexitem-7b7f7920.js';
|
|
@@ -19,7 +19,7 @@ import { S as SvgErrorS } from './ErrorS-e6e7e0e2.js';
|
|
|
19
19
|
import { S as SvgInformationS } from './InformationS-170eee52.js';
|
|
20
20
|
import { S as SvgSuccessS } from './SuccessS-b342103c.js';
|
|
21
21
|
import { m as mergeProps } from './mergeProps-88ea8306.js';
|
|
22
|
-
import { u as useTooltipControlled } from './useTooltipControlled-
|
|
22
|
+
import { u as useTooltipControlled } from './useTooltipControlled-eafec36e.js';
|
|
23
23
|
import { tabBarItemVars } from './UNSAFE_TabBarCommon/themes/TabBarItemContract.css.js';
|
|
24
24
|
import { B as Badge } from './Badge-a458c469.js';
|
|
25
25
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsx } from 'preact/jsx-runtime';
|
|
3
|
-
import { F as Flex } from './Flex-
|
|
3
|
+
import { F as Flex } from './Flex-5ff5aa5e.js';
|
|
4
4
|
import { u as useTabBarContext, T as TabBarContext } from './useTabBarContext-0071d2a7.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import { useRef } from 'preact/hooks';
|
|
4
4
|
import { forwardRef, useImperativeHandle } from 'preact/compat';
|
|
5
|
-
import './LayerHost-
|
|
5
|
+
import './LayerHost-aaed41a1.js';
|
|
6
6
|
import './UNSAFE_Text/themes/TextStyles.css.js';
|
|
7
|
-
import './Flex-
|
|
7
|
+
import './Flex-5ff5aa5e.js';
|
|
8
8
|
import { T as TabBarContext } from './useTabBarContext-0071d2a7.js';
|
|
9
9
|
import './flexitem-7b7f7920.js';
|
|
10
10
|
import './dimensions-5229d942.js';
|
|
@@ -15,17 +15,17 @@ import './UNSAFE_TabBarCommon/themes/redwood/TabBarItemBaseTheme.styles.css';
|
|
|
15
15
|
import './UNSAFE_TabBarCommon/themes/redwood/TabBarItemVariants.css.js';
|
|
16
16
|
import './ConveyorBeltContext-76a29c59.js';
|
|
17
17
|
import 'preact';
|
|
18
|
-
import './useTooltipControlled-
|
|
18
|
+
import './useTooltipControlled-eafec36e.js';
|
|
19
19
|
import './IconStyle.styles.css';
|
|
20
|
-
import './Floating-
|
|
20
|
+
import './Floating-5b269acc.js';
|
|
21
21
|
import './LayerStyles.styles.css';
|
|
22
22
|
import './keyboardUtils-4db21770.js';
|
|
23
23
|
import './tabbableUtils-dca964ca.js';
|
|
24
24
|
import './dropdownStyles.styles.css';
|
|
25
|
-
import './Sheet-
|
|
25
|
+
import './Sheet-8914df23.js';
|
|
26
26
|
import './OverflowTabBarItemStyles.styles.css';
|
|
27
27
|
import { styles } from './UNSAFE_TabBarMixed/themes/TabBarMixedStyles.css.js';
|
|
28
|
-
import { u as useTabBar } from './useTabBar-
|
|
28
|
+
import { u as useTabBar } from './useTabBar-4b318196.js';
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* A thin wrapper around useTabBar hook
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsx } from 'preact/jsx-runtime';
|
|
3
|
-
import { V as View } from './View-
|
|
3
|
+
import { V as View } from './View-4dc6ce42.js';
|
|
4
4
|
import { styles } from './UNSAFE_TabBarMixed/themes/TabBarMixedSeparator.css.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -16,4 +16,4 @@ function TabBarMixedSeparator(props) {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export { TabBarMixedSeparator as T };
|
|
19
|
-
//# sourceMappingURL=TabBarMixedSeparator-
|
|
19
|
+
//# sourceMappingURL=TabBarMixedSeparator-da2254c9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabBarMixedSeparator-
|
|
1
|
+
{"version":3,"file":"TabBarMixedSeparator-da2254c9.js","sources":["../../src/UNSAFE_TabBarMixed/TabBarMixedSeparator.tsx"],"sourcesContent":["import { View } from '../UNSAFE_View';\nimport { styles } from './themes/TabBarMixedSeparator.css';\n\nimport type { Size } from '../utils/UNSAFE_size';\n\ntype TabBarMixedSeparatorProps = {\n /**\n * Padding around the visual Separator line.\n */\n padding?: Size;\n};\n\n/**\n * TabBarMixedSeparator is a component that renders a visual separator (displayed\n * as a vertical line) between collections of tabs within TabBarMixed.\n *\n * @param {TabBarMixedSeparatorProps} props Component props for TabBarMixedSeparator.\n * @returns {JSX.Element} Component element for TabBarMixedSeparator.\n */\nexport function TabBarMixedSeparator(props: TabBarMixedSeparatorProps) {\n const { padding = 0 } = props;\n\n return (\n <View padding={[0, padding, 0, padding]}>\n <div class={styles.separator} role=\"presentation\" />\n </View>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;;AAYA;;;;;;AAMG;AACG,SAAU,oBAAoB,CAAC,KAAgC,EAAA;AACnE,IAAA,MAAM,EAAE,OAAO,GAAG,CAAC,EAAE,GAAG,KAAK,CAAC;AAE9B,IAAA,QACEA,GAAA,CAAC,IAAI,EAAA,EAAC,OAAO,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,CAAC,EAAA,QAAA,EACrCA,GAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,MAAM,CAAC,SAAS,EAAE,IAAI,EAAC,cAAc,EAAG,CAAA,EAAA,CAC/C,EACP;AACJ;;;;"}
|