@oracle/oraclejet-preact 19.0.3 → 19.0.5
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/{BarChart-d94f9c56.js → BarChart-8521c53a.js} +2 -2
- package/amd/{BarChart-d94f9c56.js.map → BarChart-8521c53a.js.map} +1 -1
- package/amd/{Chart-3108fa88.js → Chart-061335fe.js} +2 -2
- package/amd/{Chart-3108fa88.js.map → Chart-061335fe.js.map} +1 -1
- package/amd/CheckboxSetContext-2e486ea8.js +2 -0
- package/amd/CheckboxSetContext-2e486ea8.js.map +1 -0
- package/amd/ColorPicker-d8bda48d.js +2 -0
- package/amd/{ColorPicker-8ef0b6e0.js.map → ColorPicker-d8bda48d.js.map} +1 -1
- package/amd/{ComboChart-e61b5581.js → ComboChart-f3876b51.js} +2 -2
- package/amd/{ComboChart-e61b5581.js.map → ComboChart-f3876b51.js.map} +1 -1
- package/amd/{DatePicker-266c4b4e.js → DatePicker-568944a7.js} +2 -2
- package/amd/{DatePicker-266c4b4e.js.map → DatePicker-568944a7.js.map} +1 -1
- package/amd/Expander-942144c1.js +2 -0
- package/amd/{Expander-9efeb845.js.map → Expander-942144c1.js.map} +1 -1
- package/amd/{FlatTreeView-6545afce.js → FlatTreeView-dde3e071.js} +2 -2
- package/amd/{FlatTreeView-6545afce.js.map → FlatTreeView-dde3e071.js.map} +1 -1
- package/amd/{InputColor-5315b76a.js → InputColor-192a309b.js} +2 -2
- package/amd/{InputColor-5315b76a.js.map → InputColor-192a309b.js.map} +1 -1
- package/amd/InputDatePicker-8c8e14ca.js +2 -0
- package/amd/{InputDatePicker-a1eea599.js.map → InputDatePicker-8c8e14ca.js.map} +1 -1
- package/amd/{LineAreaChart-f8aefe07.js → LineAreaChart-68050d87.js} +2 -2
- package/amd/{LineAreaChart-f8aefe07.js.map → LineAreaChart-68050d87.js.map} +1 -1
- package/amd/MaxLengthCounter-cadff1c7.js +2 -0
- package/amd/MaxLengthCounter-cadff1c7.js.map +1 -0
- package/amd/{MonthView-48d59de4.js → MonthView-d2f8f3f1.js} +2 -2
- package/amd/{MonthView-48d59de4.js.map → MonthView-d2f8f3f1.js.map} +1 -1
- package/amd/NavigationListItem-cdbcc394.js +2 -0
- package/amd/{NavigationListItem-73686e95.js.map → NavigationListItem-cdbcc394.js.map} +1 -1
- package/amd/{NavigationListLinkItem-87d5ca3d.js → NavigationListLinkItem-77705dba.js} +2 -2
- package/amd/{NavigationListLinkItem-87d5ca3d.js.map → NavigationListLinkItem-77705dba.js.map} +1 -1
- package/amd/{OverflowTabBar-b43ccbc1.js → OverflowTabBar-587b7c2a.js} +2 -2
- package/amd/{OverflowTabBar-b43ccbc1.js.map → OverflowTabBar-587b7c2a.js.map} +1 -1
- package/amd/{OverflowTabBarItem-b75ebe9b.js → OverflowTabBarItem-bcf24ceb.js} +2 -2
- package/amd/{OverflowTabBarItem-b75ebe9b.js.map → OverflowTabBarItem-bcf24ceb.js.map} +1 -1
- package/amd/PRIVATE_Chart.js +1 -1
- package/amd/PRIVATE_Expander.js +1 -1
- package/amd/PRIVATE_MonthView.js +1 -1
- package/amd/PRIVATE_MonthYearGridView.js +1 -1
- package/amd/PRIVATE_StyledDatePickerButton.js +1 -1
- package/amd/PRIVATE_Table.js +1 -1
- package/amd/RemovableTabBarItem-8c254100.js +2 -0
- package/amd/{RemovableTabBarItem-c7dd457b.js.map → RemovableTabBarItem-8c254100.js.map} +1 -1
- package/amd/{ReorderableTabBar-5d664f67.js → ReorderableTabBar-442e649a.js} +2 -2
- package/amd/{ReorderableTabBar-5d664f67.js.map → ReorderableTabBar-442e649a.js.map} +1 -1
- package/amd/{ScatterChart-1999acf0.js → ScatterChart-6fc3c47e.js} +2 -2
- package/amd/{ScatterChart-1999acf0.js.map → ScatterChart-6fc3c47e.js.map} +1 -1
- package/amd/{SortControl-6d8e62c0.js → SortControl-52991a27.js} +2 -2
- package/amd/{SortControl-6d8e62c0.js.map → SortControl-52991a27.js.map} +1 -1
- package/amd/StyledDatePickerButton-5332fad7.js +2 -0
- package/amd/StyledDatePickerButton-5332fad7.js.map +1 -0
- package/amd/StyledDatePickerButtonStyles.styles.css +17 -0
- package/amd/TabBar-3fe1e19e.js +2 -0
- package/amd/{TabBar-fa06f492.js.map → TabBar-3fe1e19e.js.map} +1 -1
- package/amd/TabBarMixed-090b4984.js +2 -0
- package/amd/{TabBarMixed-2d5bc172.js.map → TabBarMixed-090b4984.js.map} +1 -1
- package/amd/{Table-d0cc2468.js → Table-42c274a8.js} +2 -2
- package/amd/{Table-d0cc2468.js.map → Table-42c274a8.js.map} +1 -1
- package/amd/{TableView-610de105.js → TableView-770fd77c.js} +2 -2
- package/amd/{TableView-610de105.js.map → TableView-770fd77c.js.map} +1 -1
- package/amd/TextArea-dfd1f679.js +2 -0
- package/amd/TextArea-dfd1f679.js.map +1 -0
- package/amd/TextAreaAutosize-cbdc9644.js +2 -0
- package/amd/{TextAreaAutosize-3cf8e06c.js.map → TextAreaAutosize-cbdc9644.js.map} +1 -1
- package/amd/Theme-redwood/theme.css +237 -237
- package/amd/Theme-stable/theme.css +198 -198
- package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
- package/amd/UNSAFE_BarChart.js +1 -1
- package/amd/UNSAFE_CheckboxItem.js +1 -1
- package/amd/UNSAFE_CheckboxItem.js.map +1 -1
- package/amd/UNSAFE_CheckboxSet.js +1 -1
- package/amd/UNSAFE_CheckboxSet.js.map +1 -1
- package/amd/UNSAFE_ColorPicker.js +1 -1
- package/amd/UNSAFE_ComboChart.js +1 -1
- package/amd/UNSAFE_DatePicker.js +1 -1
- package/amd/UNSAFE_FlatTreeView.js +1 -1
- package/amd/UNSAFE_InputColor.js +1 -1
- package/amd/UNSAFE_InputDatePicker.js +1 -1
- package/amd/UNSAFE_LineAreaChart.js +1 -1
- package/amd/UNSAFE_NavigationList.js +1 -1
- package/amd/UNSAFE_NavigationListCommon.js +1 -1
- package/amd/UNSAFE_OverflowTabBar.js +1 -1
- package/amd/UNSAFE_ReorderableTabBar.js +1 -1
- package/amd/UNSAFE_RichCheckboxSet.js +1 -1
- package/amd/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/amd/UNSAFE_RichSelectionItem.js +1 -1
- package/amd/UNSAFE_RichSelectionItem.js.map +1 -1
- package/amd/UNSAFE_ScatterChart.js +1 -1
- package/amd/UNSAFE_SortControl.js +1 -1
- package/amd/UNSAFE_TabBar.js +1 -1
- package/amd/UNSAFE_TabBarCommon.js +1 -1
- package/amd/UNSAFE_TabBarMixed.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/{YearsGridView-eae67964.js → YearsGridView-f5c6d70d.js} +2 -2
- package/amd/{YearsGridView-eae67964.js.map → YearsGridView-f5c6d70d.js.map} +1 -1
- package/cjs/{ColorPicker-30ee6033.js → ColorPicker-03036ee3.js} +2 -2
- package/cjs/{ColorPicker-30ee6033.js.map → ColorPicker-03036ee3.js.map} +1 -1
- package/cjs/{DatePicker-0e143849.js → DatePicker-142a4531.js} +3 -3
- package/cjs/{DatePicker-0e143849.js.map → DatePicker-142a4531.js.map} +1 -1
- package/cjs/{MonthView-cd65e44a.js → MonthView-7fc19b53.js} +2 -2
- package/cjs/{MonthView-cd65e44a.js.map → MonthView-7fc19b53.js.map} +1 -1
- package/cjs/PRIVATE_MonthView.js +2 -3
- package/cjs/PRIVATE_MonthView.js.map +1 -1
- package/cjs/PRIVATE_MonthYearGridView.js +2 -3
- package/cjs/PRIVATE_MonthYearGridView.js.map +1 -1
- package/cjs/PRIVATE_StyledDatePickerButton.js +1 -2
- package/cjs/PRIVATE_StyledDatePickerButton.js.map +1 -1
- package/cjs/{StyledDatePickerButton-128e2a5d.js → StyledDatePickerButton-03b7e281.js} +2 -8
- package/cjs/StyledDatePickerButton-03b7e281.js.map +1 -0
- package/cjs/StyledDatePickerButtonStyles.styles.css +17 -0
- package/cjs/Theme-redwood/theme.css +172 -172
- package/cjs/Theme-stable/theme.css +195 -195
- package/cjs/UNSAFE_ColorPicker.js +25 -25
- package/cjs/UNSAFE_DatePicker.js +4 -4
- package/cjs/UNSAFE_InputColor.js +2 -2
- package/cjs/UNSAFE_InputDatePicker.js +4 -4
- package/cjs/{YearsGridView-804c9377.js → YearsGridView-5062a05d.js} +2 -2
- package/cjs/{YearsGridView-804c9377.js.map → YearsGridView-5062a05d.js.map} +1 -1
- package/es/{BaseButton-93d2f16c.js → BaseButton-32b49810.js} +2 -2
- package/es/{BaseButton-93d2f16c.js.map → BaseButton-32b49810.js.map} +1 -1
- package/es/BaseCardView-8bf692bc.js +6 -6
- package/es/BaseRichSelection-533f2231.js +9 -9
- package/es/BaseSwatchView-96d72c6c.js +2 -2
- package/es/{Button-daabfd1b.js → Button-8e80e038.js} +2 -2
- package/es/{Button-daabfd1b.js.map → Button-8e80e038.js.map} +1 -1
- package/es/ButtonSet-220507f5.js +2 -2
- package/es/ButtonSetButton-a7b01fb2.js +1 -1
- package/es/ButtonSetIconButton-6c171897.js +4 -4
- package/es/{Center-812c0108.js → Center-dd9bb922.js} +2 -2
- package/es/{Center-812c0108.js.map → Center-dd9bb922.js.map} +1 -1
- package/es/{Chart-9aec139e.js → Chart-908f60ec.js} +12 -12
- package/es/{Chart-9aec139e.js.map → Chart-908f60ec.js.map} +1 -1
- package/es/CheckboxControl-6fb2836d.js +6 -6
- package/es/CheckboxRadioField-4ca01498.js +6 -6
- package/es/CheckboxRadioLabelValueLayout-1af018de.js +1 -1
- package/es/Chip-9e0e6f76.js +1 -1
- package/es/ClearIcon-112c6200.js +1 -1
- package/es/CollapseIcon-3013b9f0.js +1 -1
- package/es/ColorPalette-765bbe22.js +2 -2
- package/es/{ColorPicker-c603ebc6.js → ColorPicker-3bb4cad3.js} +4 -4
- package/es/{ColorPicker-c603ebc6.js.map → ColorPicker-3bb4cad3.js.map} +1 -1
- package/es/ColorSwatch-e98ed8ec.js +4 -4
- package/es/{CompactLabelAssistance-89c305c6.js → CompactLabelAssistance-1082f67f.js} +6 -6
- package/es/{CompactLabelAssistance-89c305c6.js.map → CompactLabelAssistance-1082f67f.js.map} +1 -1
- package/es/CompactUserAssistance-308c2ad3.js +5 -5
- package/es/ComponentMessageContainer-dc2b5f81.js +4 -4
- package/es/{DatePicker-86c5eebd.js → DatePicker-4b14c5a2.js} +8 -8
- package/es/{DatePicker-86c5eebd.js.map → DatePicker-4b14c5a2.js.map} +1 -1
- package/es/DatePickerHeader-cd95c0f1.js +3 -3
- package/es/DiagramStyles.styles.css +16 -10
- package/es/DiagramStyles.styles2.css +10 -16
- package/es/{Dialog-1b1a87ff.js → Dialog-9b3350f4.js} +8 -8
- package/es/{Dialog-1b1a87ff.js.map → Dialog-9b3350f4.js.map} +1 -1
- package/es/DirectionalCollapseArrowIcon-d9c9f9ac.js +1 -1
- package/es/DirectionalExpandArrowIcon-4591d832.js +1 -1
- package/es/{Dropdown-3488ddd2.js → Dropdown-ead9e679.js} +6 -6
- package/es/{Dropdown-3488ddd2.js.map → Dropdown-ead9e679.js.map} +1 -1
- package/es/{EmbeddedIconButton-9027fc97.js → EmbeddedIconButton-43cbf075.js} +2 -2
- package/es/{EmbeddedIconButton-9027fc97.js.map → EmbeddedIconButton-43cbf075.js.map} +1 -1
- package/es/{EnvironmentProvider-8792b192.js → EnvironmentProvider-546b7ebd.js} +3 -3
- package/es/{EnvironmentProvider-8792b192.js.map → EnvironmentProvider-546b7ebd.js.map} +1 -1
- package/es/{Expander-f035d214.js → Expander-138433a6.js} +2 -2
- package/es/{Expander-f035d214.js.map → Expander-138433a6.js.map} +1 -1
- package/es/{Flex-97b023db.js → Flex-5befe411.js} +2 -2
- package/es/{Flex-97b023db.js.map → Flex-5befe411.js.map} +1 -1
- package/es/{Floating-eef4ae92.js → Floating-6023b41d.js} +4 -4
- package/es/{Floating-eef4ae92.js.map → Floating-6023b41d.js.map} +1 -1
- package/es/FormLayoutVariants.styles.css +14 -14
- package/es/FormLayoutVariants.styles2.css +14 -14
- package/es/{Grid-caf06064.js → Grid-5d56c8aa.js} +2 -2
- package/es/{Grid-caf06064.js.map → Grid-5d56c8aa.js.map} +1 -1
- package/es/{Gridlines-1e499c9b.js → Gridlines-3cc69518.js} +2 -2
- package/es/{Gridlines-1e499c9b.js.map → Gridlines-3cc69518.js.map} +1 -1
- package/es/GroupLoadingIndicator-28cb2b95.js +1 -1
- package/es/{HighlightText-cc8d5737.js → HighlightText-d8012ba6.js} +2 -2
- package/es/{HighlightText-cc8d5737.js.map → HighlightText-d8012ba6.js.map} +1 -1
- package/es/Icon-ef2ac069.js +3 -3
- package/es/IconButton-e7787aeb.js +4 -4
- package/es/IconSwitchButton-2b69f5c2.js +4 -4
- package/es/IconToggleButton-f2a9d54a.js +4 -4
- package/es/{IconUserAssistance-90369a96.js → IconUserAssistance-b3b8ed0f.js} +3 -3
- package/es/{IconUserAssistance-90369a96.js.map → IconUserAssistance-b3b8ed0f.js.map} +1 -1
- package/es/InlineHelp-8293a502.js +1 -1
- package/es/InlineUserAssistance-af01b717.js +5 -5
- package/es/InputDateMask-840db1a2.js +7 -7
- package/es/Label-17e1d221.js +8 -8
- package/es/LabelValueLayout-d7a71947.js +1 -1
- package/es/{Layer-5bf232ee.js → Layer-7d3dc8c7.js} +3 -3
- package/es/{Layer-5bf232ee.js.map → Layer-7d3dc8c7.js.map} +1 -1
- package/es/{LayerHost-a54158ef.js → LayerHost-12489cef.js} +2 -2
- package/es/{LayerHost-a54158ef.js.map → LayerHost-12489cef.js.map} +1 -1
- package/es/{LayerManager-08585f39.js → LayerManager-a62e619b.js} +2 -2
- package/es/{LayerManager-08585f39.js.map → LayerManager-a62e619b.js.map} +1 -1
- package/es/Link-d7ad7267.js +1 -1
- package/es/List-ec8a9e41.js +5 -5
- package/es/{LiveRegion-792f6c64.js → LiveRegion-79ffc814.js} +2 -2
- package/es/{LiveRegion-792f6c64.js.map → LiveRegion-79ffc814.js.map} +1 -1
- package/es/MaxLengthCounter-d622f964.js +25 -0
- package/es/MaxLengthCounter-d622f964.js.map +1 -0
- package/es/{MaxLengthLiveRegion-e23bcdb2.js → MaxLengthLiveRegion-7a81593c.js} +3 -3
- package/es/{MaxLengthLiveRegion-e23bcdb2.js.map → MaxLengthLiveRegion-7a81593c.js.map} +1 -1
- package/es/Message-b2ab3a28.js +2 -2
- package/es/{MessageLayer-7c6dd5b8.js → MessageLayer-99583d35.js} +6 -6
- package/es/{MessageLayer-7c6dd5b8.js.map → MessageLayer-99583d35.js.map} +1 -1
- package/es/MessagesManager-c46786cb.js +3 -3
- package/es/{Modal-59d7ca14.js → Modal-678575d5.js} +4 -4
- package/es/{Modal-59d7ca14.js.map → Modal-678575d5.js.map} +1 -1
- package/es/{MonthView-04900992.js → MonthView-e51f165f.js} +5 -5
- package/es/{MonthView-04900992.js.map → MonthView-e51f165f.js.map} +1 -1
- package/es/{NavigationListItem-70f70367.js → NavigationListItem-db2a88ef.js} +9 -11
- package/es/{NavigationListItem-70f70367.js.map → NavigationListItem-db2a88ef.js.map} +1 -1
- package/es/{NavigationListLinkItem-8a575042.js → NavigationListLinkItem-fc69548b.js} +5 -5
- package/es/{NavigationListLinkItem-8a575042.js.map → NavigationListLinkItem-fc69548b.js.map} +1 -1
- package/es/NumberInputText-4a0cff76.js +6 -6
- package/es/{OverflowTabBarItem-187bd359.js → OverflowTabBarItem-49be7e0a.js} +10 -10
- package/es/{OverflowTabBarItem-187bd359.js.map → OverflowTabBarItem-49be7e0a.js.map} +1 -1
- package/es/PRIVATE_BaseCardView.js +22 -22
- package/es/PRIVATE_BaseSwatchView.js +5 -5
- package/es/PRIVATE_Chart.js +40 -40
- package/es/PRIVATE_CheckboxControl.js +26 -26
- package/es/PRIVATE_CheckboxRadioField.js +28 -28
- package/es/PRIVATE_ClearIcon.js +19 -19
- package/es/PRIVATE_ContainerDiagram/themes/DiagramStyles.css.js +1 -1
- package/es/PRIVATE_ContainerDiagram.js +31 -31
- package/es/PRIVATE_DatePickerHeader.js +20 -20
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +6 -6
- package/es/PRIVATE_Expander.js +67 -67
- package/es/PRIVATE_FormControls.js +21 -21
- package/es/PRIVATE_IconSwitchButton.js +17 -17
- package/es/PRIVATE_Icons/CheckboxCrossed.js +16 -16
- package/es/PRIVATE_Icons/CheckboxMixed.js +16 -16
- package/es/PRIVATE_Icons/CheckboxOff.js +16 -16
- package/es/PRIVATE_Icons/CheckboxOn.js +16 -16
- package/es/PRIVATE_Icons/DragV.js +16 -16
- package/es/PRIVATE_Icons/None.js +16 -16
- package/es/PRIVATE_List.js +20 -20
- package/es/PRIVATE_Message.js +20 -20
- package/es/PRIVATE_MessageLayer.js +12 -12
- package/es/PRIVATE_MonthView.js +8 -9
- package/es/PRIVATE_MonthView.js.map +1 -1
- package/es/PRIVATE_MonthYearGridView.js +8 -9
- package/es/PRIVATE_MonthYearGridView.js.map +1 -1
- package/es/PRIVATE_PlotArea.js +4 -4
- package/es/PRIVATE_RevealToggleIcon.js +18 -18
- package/es/PRIVATE_RichSelectionCommon.js +29 -29
- package/es/PRIVATE_SelectCommon.js +32 -32
- package/es/PRIVATE_StyledCard.js +4 -4
- package/es/PRIVATE_StyledCheckbox.js +16 -16
- package/es/PRIVATE_StyledDatePickerButton.js +1 -2
- package/es/PRIVATE_StyledDatePickerButton.js.map +1 -1
- package/es/PRIVATE_SwatchFlexView.js +5 -5
- package/es/PRIVATE_Table.js +42 -42
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxCrossedIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/None.js +16 -16
- package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
- package/es/PRIVATE_TimeComponent.js +19 -19
- package/es/PRIVATE_VisOverview.js +16 -16
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/{Popup-8962c960.js → Popup-0f026f03.js} +11 -11
- package/es/{Popup-8962c960.js.map → Popup-0f026f03.js.map} +1 -1
- package/es/ProgressBarVariants.styles.css +1 -1
- package/es/ProgressBarVariants.styles2.css +1 -1
- package/es/ProgressButtonLabelLayout-875f1282.js +3 -3
- package/es/{ProgressCircle-59e6a584.js → ProgressCircle-9f9dc011.js} +2 -2
- package/es/{ProgressCircle-59e6a584.js.map → ProgressCircle-9f9dc011.js.map} +1 -1
- package/es/ReadonlyTextFieldInput-7bfb1cad.js +1 -1
- package/es/RevealToggleIcon-0cc8250a.js +1 -1
- package/es/{SectionedContent-7955ee79.js → SectionedContent-bee76fed.js} +5 -5
- package/es/{SectionedContent-7955ee79.js.map → SectionedContent-bee76fed.js.map} +1 -1
- package/es/SelectMenuGroupContext-0c1a7603.js +7 -7
- package/es/SelectMobileFieldInput-373047db.js +8 -8
- package/es/Selector-1ceeaf0a.js +1 -1
- package/es/{SelectorAll-e66c835a.js → SelectorAll-d151b011.js} +7 -7
- package/es/{SelectorAll-e66c835a.js.map → SelectorAll-d151b011.js.map} +1 -1
- package/es/{Sheet-4a82eacd.js → Sheet-24c3e407.js} +4 -4
- package/es/{Sheet-4a82eacd.js.map → Sheet-24c3e407.js.map} +1 -1
- package/es/{SortControl-36062682.js → SortControl-2eaa26f5.js} +4 -4
- package/es/{SortControl-36062682.js.map → SortControl-2eaa26f5.js.map} +1 -1
- package/es/SplitMenuButtonTheme.styles.css +4 -4
- package/es/SplitMenuButtonTheme.styles2.css +4 -4
- package/es/{StyledCard-928b31f2.js → StyledCard-efd0a872.js} +2 -2
- package/es/{StyledCard-928b31f2.js.map → StyledCard-efd0a872.js.map} +1 -1
- package/es/{StyledDatePickerButton-444aa824.js → StyledDatePickerButton-ca54e491.js} +2 -8
- package/es/StyledDatePickerButton-ca54e491.js.map +1 -0
- package/es/StyledDatePickerButtonStyles.styles.css +17 -0
- package/es/{StyledLabelValueLayout-24b10baa.js → StyledLabelValueLayout-32bdf9d1.js} +2 -2
- package/es/{StyledLabelValueLayout-24b10baa.js.map → StyledLabelValueLayout-32bdf9d1.js.map} +1 -1
- package/es/StyledTextField-9c60efac.js +5 -5
- package/es/Submenu-712f5f55.js +1 -1
- package/es/{TabBar-218d6e96.js → TabBar-0de29233.js} +7 -9
- package/es/{TabBar-218d6e96.js.map → TabBar-0de29233.js.map} +1 -1
- package/es/TabBarContextMenu-47631108.js +2 -2
- package/es/TabBarLayout-e6b564fc.js +1 -1
- package/es/{TabBarLinkItem-574d7229.js → TabBarLinkItem-af4541c2.js} +2 -2
- package/es/{TabBarLinkItem-574d7229.js.map → TabBarLinkItem-af4541c2.js.map} +1 -1
- package/es/{Table-3f93cee3.js → Table-c8a87739.js} +13 -13
- package/es/{Table-3f93cee3.js.map → Table-c8a87739.js.map} +1 -1
- package/es/TextField-2643ae3c.js +3 -3
- package/es/Theme-redwood/theme.css +456 -456
- package/es/Theme-stable/theme.css +482 -482
- package/es/TimeComponentCanvas2D-9336e008.js +6 -6
- package/es/ToggleButton-0253034c.js +1 -1
- package/es/TruncatingText-659ee20a.js +1 -1
- package/es/UNSAFE_ActionCard.js +3 -3
- package/es/UNSAFE_BarChart.js +41 -41
- package/es/UNSAFE_BareButton.js +2 -2
- package/es/UNSAFE_BaseButton.js +5 -5
- package/es/UNSAFE_Button.js +6 -6
- package/es/UNSAFE_ButtonSet.js +4 -4
- package/es/UNSAFE_ButtonSetButton.js +5 -5
- package/es/UNSAFE_ButtonSetIconButton.js +17 -17
- package/es/UNSAFE_ButtonSetItem.js +18 -18
- package/es/UNSAFE_ButtonSetMultiple.js +4 -4
- package/es/UNSAFE_ButtonSetSingle.js +4 -4
- package/es/UNSAFE_Card.js +4 -4
- package/es/UNSAFE_CardFlexView.js +22 -22
- package/es/UNSAFE_CardGridView.js +22 -22
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_Checkbox.js +26 -26
- package/es/UNSAFE_CheckboxItem.js +28 -28
- package/es/UNSAFE_CheckboxRadioField.js +4 -4
- package/es/UNSAFE_CheckboxSet.js +27 -27
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +18 -18
- package/es/UNSAFE_ColorPalette.js +19 -19
- package/es/UNSAFE_ColorPicker.js +44 -44
- package/es/UNSAFE_ColorSwatch.js +17 -17
- package/es/UNSAFE_ComboChart.js +41 -41
- package/es/UNSAFE_ComponentMessage.js +20 -20
- package/es/UNSAFE_ConveyorBelt.js +18 -18
- package/es/UNSAFE_DatePicker.js +28 -28
- package/es/UNSAFE_Diagram/themes/DiagramStyles.css.js +1 -1
- package/es/UNSAFE_Diagram.js +31 -31
- package/es/UNSAFE_Dialog.js +23 -23
- package/es/UNSAFE_DragHandle.js +17 -17
- package/es/UNSAFE_DrawerLayout.js +12 -12
- package/es/UNSAFE_DrawerPopup.js +12 -12
- package/es/UNSAFE_Dropdown.js +15 -15
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +25 -25
- package/es/UNSAFE_FilePicker.js +4 -4
- package/es/UNSAFE_FlatTreeView.js +52 -52
- package/es/UNSAFE_Flex.js +4 -4
- package/es/UNSAFE_Floating.js +11 -11
- package/es/UNSAFE_FormLayout/themes/redwood/FormLayoutTheme.js +1 -1
- package/es/UNSAFE_FormLayout/themes/redwood/FormLayoutVariants.css.js +1 -1
- package/es/UNSAFE_FormLayout/themes/stable/FormLayoutTheme.js +1 -1
- package/es/UNSAFE_FormLayout/themes/stable/FormLayoutVariants.css.js +1 -1
- package/es/UNSAFE_FormLayout.js +3 -3
- package/es/UNSAFE_Gantt.js +23 -23
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +16 -16
- package/es/UNSAFE_IconButton.js +17 -17
- package/es/UNSAFE_IconMenuButton.js +27 -27
- package/es/UNSAFE_IconProgressButton.js +20 -20
- package/es/UNSAFE_IconToggleButton.js +17 -17
- package/es/UNSAFE_Indexer.js +6 -6
- package/es/UNSAFE_InlineSelectSingle.js +33 -33
- package/es/UNSAFE_InputColor.js +35 -35
- package/es/UNSAFE_InputDateMask.js +27 -27
- package/es/UNSAFE_InputDatePicker.js +127 -127
- package/es/UNSAFE_InputPassword.js +27 -27
- package/es/UNSAFE_InputSensitiveText.js +28 -28
- package/es/UNSAFE_InputText.js +29 -29
- package/es/UNSAFE_InputTimeMask.js +27 -27
- package/es/UNSAFE_Label.js +26 -26
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +28 -28
- package/es/UNSAFE_Layer.js +8 -8
- package/es/UNSAFE_Legend.js +29 -29
- package/es/UNSAFE_LineAreaChart.js +41 -41
- package/es/UNSAFE_Link.js +2 -2
- package/es/UNSAFE_ListItemLayout.js +4 -4
- package/es/UNSAFE_ListView.js +30 -30
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +28 -28
- package/es/UNSAFE_MenuButton.js +27 -27
- package/es/UNSAFE_MessageBanner.js +20 -20
- package/es/UNSAFE_MessageToast.js +22 -22
- package/es/UNSAFE_MeterBar.js +16 -16
- package/es/UNSAFE_MeterCircle.js +17 -17
- package/es/UNSAFE_Modal.js +9 -9
- package/es/UNSAFE_NavigationList.js +40 -40
- package/es/UNSAFE_NavigationListCommon.js +21 -21
- package/es/UNSAFE_NumberInputText.js +29 -29
- package/es/UNSAFE_OverflowTabBar.js +62 -62
- package/es/UNSAFE_PictoChart.js +27 -27
- package/es/UNSAFE_PieChart.js +28 -28
- package/es/UNSAFE_Popup.js +19 -19
- package/es/UNSAFE_ProgressBar/themes/redwood/ProgressBarTheme.js +1 -1
- package/es/UNSAFE_ProgressBar/themes/redwood/ProgressBarVariants.css.js +1 -1
- package/es/UNSAFE_ProgressBar/themes/stable/ProgressBarTheme.js +1 -1
- package/es/UNSAFE_ProgressBar/themes/stable/ProgressBarVariants.css.js +1 -1
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +20 -20
- package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/es/UNSAFE_ProgressCircle.js +4 -4
- package/es/UNSAFE_RadioItem.js +26 -26
- package/es/UNSAFE_RadioSet.js +27 -27
- package/es/UNSAFE_RatingGauge.js +18 -18
- package/es/UNSAFE_ReorderableTabBar.js +35 -56
- package/es/UNSAFE_ReorderableTabBar.js.map +1 -1
- package/es/UNSAFE_RichCheckboxSet.js +29 -29
- package/es/UNSAFE_RichRadioSet.js +29 -29
- package/es/UNSAFE_RichSelectionItem.js +31 -31
- package/es/UNSAFE_ScatterChart.js +41 -41
- package/es/UNSAFE_SectionalLegend.js +29 -29
- package/es/UNSAFE_SelectMultiple.js +36 -36
- package/es/UNSAFE_SelectSingle.js +35 -35
- package/es/UNSAFE_SelectionCard.js +4 -4
- package/es/UNSAFE_Selector.js +16 -16
- package/es/UNSAFE_SelectorAll.js +20 -20
- package/es/UNSAFE_Sheet.js +13 -13
- package/es/UNSAFE_SortControl.js +63 -63
- package/es/UNSAFE_SplitMenuButton/themes/redwood/SplitMenuButtonTheme.css.js +1 -1
- package/es/UNSAFE_SplitMenuButton/themes/stable/SplitMenuButtonTheme.css.js +1 -1
- package/es/UNSAFE_SplitMenuButton.js +28 -28
- package/es/UNSAFE_TabBar.js +63 -63
- package/es/UNSAFE_TabBarCommon.js +78 -78
- package/es/UNSAFE_TabBarMixed.js +62 -62
- package/es/UNSAFE_TableView.js +42 -42
- package/es/UNSAFE_TagCloud.js +28 -28
- package/es/UNSAFE_TextArea.js +230 -115
- package/es/UNSAFE_TextArea.js.map +1 -1
- package/es/UNSAFE_TextAreaAutosize.js +29 -29
- package/es/UNSAFE_TextField.js +20 -20
- package/es/UNSAFE_ToggleButton.js +5 -5
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +17 -17
- package/es/UNSAFE_TruncatingBadge.js +17 -17
- package/es/UNSAFE_TruncatingText.js +17 -17
- package/es/UNSAFE_UserAssistance.js +27 -27
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +20 -20
- package/es/UNSAFE_VisProgressiveLoader.js +5 -5
- package/es/UNSAFE_VisStatusMessage.js +5 -5
- package/es/UNSAFE_WindowOverlay.js +4 -4
- package/es/{View-cebbf701.js → View-ef109be6.js} +5 -5
- package/es/{View-cebbf701.js.map → View-ef109be6.js.map} +1 -1
- package/es/{VisTabularDatatip-078c883c.js → VisTabularDatatip-4d0f026a.js} +2 -2
- package/es/{VisTabularDatatip-078c883c.js.map → VisTabularDatatip-4d0f026a.js.map} +1 -1
- package/es/{WindowOverlay-269c31f1.js → WindowOverlay-b380ce51.js} +2 -2
- package/es/{WindowOverlay-269c31f1.js.map → WindowOverlay-b380ce51.js.map} +1 -1
- package/es/{YearsGridView-3858303c.js → YearsGridView-7dca4003.js} +5 -5
- package/es/{YearsGridView-3858303c.js.map → YearsGridView-7dca4003.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 +25 -25
- package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/es/hooks/PRIVATE_useChartEvents.js +19 -19
- package/es/hooks/PRIVATE_useChartMarquee.js +19 -19
- package/es/hooks/PRIVATE_useCssVars.js +7 -7
- package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/es/hooks/PRIVATE_useDatatip.js +12 -12
- package/es/hooks/PRIVATE_useFloating.js +4 -4
- package/es/hooks/PRIVATE_useListCommon.js +5 -5
- package/es/hooks/PRIVATE_useOutsideMousedown.js +9 -9
- package/es/hooks/PRIVATE_useReorderable.js +5 -5
- package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/es/hooks/PRIVATE_useSelection.js +4 -4
- package/es/hooks/PRIVATE_useTabBar.js +26 -26
- package/es/hooks/PRIVATE_useTooltipOnTruncation.js +17 -17
- package/es/hooks/PRIVATE_useVisContextMenu.js +25 -25
- package/es/hooks/PRIVATE_useVisDragModeControls.js +19 -19
- package/es/hooks/PRIVATE_useVisEvents.js +4 -4
- package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/es/hooks/PRIVATE_useVisSelection.js +15 -15
- package/es/hooks/UNSAFE_useBareButton.js +2 -2
- package/es/hooks/UNSAFE_useColorScheme.js +3 -3
- package/es/hooks/UNSAFE_useCurrentBgColor.js +2 -2
- package/es/hooks/UNSAFE_useDensity.js +3 -3
- package/es/hooks/UNSAFE_useHiddenTestMethod.js +3 -3
- package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
- 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 +6 -6
- package/es/hooks/UNSAFE_useTooltip.js +17 -17
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/{popupUtils-d16929d4.js → popupUtils-4edf62b5.js} +2 -2
- package/es/{popupUtils-d16929d4.js.map → popupUtils-4edf62b5.js.map} +1 -1
- package/es/{tooltipUtils-a4b02dcc.js → tooltipUtils-466c63c4.js} +5 -5
- package/es/{tooltipUtils-a4b02dcc.js.map → tooltipUtils-466c63c4.js.map} +1 -1
- package/es/useBareButton-31066c02.js +1 -1
- package/es/useCellNavigation-260b7166.js +1 -1
- package/es/useChartContextMenu-92d9028b.js +2 -2
- package/es/{useChartDatatip-80e63b68.js → useChartDatatip-a3ce4e23.js} +4 -4
- package/es/{useChartDatatip-80e63b68.js.map → useChartDatatip-a3ce4e23.js.map} +1 -1
- package/es/{useColorScheme-14c5c7ab.js → useColorScheme-96cce6a1.js} +2 -2
- package/es/{useColorScheme-14c5c7ab.js.map → useColorScheme-96cce6a1.js.map} +1 -1
- package/es/useContextMenu-6aa8193e.js +2 -2
- package/es/{useCssVars-2f0c41b3.js → useCssVars-143870e2.js} +5 -5
- package/es/{useCssVars-2f0c41b3.js.map → useCssVars-143870e2.js.map} +1 -1
- package/es/{useCurrentKey-5a845f38.js → useCurrentKey-7c652655.js} +2 -2
- package/es/{useCurrentKey-5a845f38.js.map → useCurrentKey-7c652655.js.map} +1 -1
- package/es/{useDatatip-f6cac47d.js → useDatatip-c7727336.js} +4 -4
- package/es/{useDatatip-f6cac47d.js.map → useDatatip-c7727336.js.map} +1 -1
- package/es/{useDensity-c6a5a6c7.js → useDensity-d06ae84a.js} +2 -2
- package/es/{useDensity-c6a5a6c7.js.map → useDensity-d06ae84a.js.map} +1 -1
- package/es/useDisplayValue-a5e6601d.js +5 -5
- package/es/{useExpandCollapse-0249ff50.js → useExpandCollapse-e68ba8a1.js} +2 -2
- package/es/{useExpandCollapse-0249ff50.js.map → useExpandCollapse-e68ba8a1.js.map} +1 -1
- package/es/{useFloating-4f5eed8d.js → useFloating-e1167cb9.js} +2 -2
- package/es/{useFloating-4f5eed8d.js.map → useFloating-e1167cb9.js.map} +1 -1
- package/es/{useHiddenTestMethod-cf489963.js → useHiddenTestMethod-fffaa50e.js} +2 -2
- package/es/{useHiddenTestMethod-cf489963.js.map → useHiddenTestMethod-fffaa50e.js.map} +1 -1
- package/es/{useKeyboardEvents-3fab98e7.js → useKeyboardEvents-d275baaf.js} +2 -2
- package/es/{useKeyboardEvents-3fab98e7.js.map → useKeyboardEvents-d275baaf.js.map} +1 -1
- package/es/useLegendContextMenu-44f0fe17.js +4 -4
- package/es/{useMeterDatatip-a3fa9c61.js → useMeterDatatip-55feecf0.js} +3 -3
- package/es/{useMeterDatatip-a3fa9c61.js.map → useMeterDatatip-55feecf0.js.map} +1 -1
- package/es/useNavigation-cd59ca08.js +1 -1
- package/es/{useOutsideClick-caa3f8ef.js → useOutsideClick-73a51e1d.js} +2 -2
- package/es/{useOutsideClick-caa3f8ef.js.map → useOutsideClick-73a51e1d.js.map} +1 -1
- package/es/{useOutsideMousedown-653b22ea.js → useOutsideMousedown-39d7c9a6.js} +2 -2
- package/es/{useOutsideMousedown-653b22ea.js.map → useOutsideMousedown-39d7c9a6.js.map} +1 -1
- package/es/{usePopupAnimation-feb78098.js → usePopupAnimation-66b186ad.js} +2 -2
- package/es/{usePopupAnimation-feb78098.js.map → usePopupAnimation-66b186ad.js.map} +1 -1
- package/es/{usePrefixSuffix-d3b7e506.js → usePrefixSuffix-01bfeee0.js} +2 -2
- package/es/{usePrefixSuffix-d3b7e506.js.map → usePrefixSuffix-01bfeee0.js.map} +1 -1
- package/es/{useReorderableItem-5dc7f226.js → useReorderableItem-26d8f85b.js} +3 -3
- package/es/{useReorderableItem-5dc7f226.js.map → useReorderableItem-26d8f85b.js.map} +1 -1
- package/es/{useRovingTabIndexContainer-6baad1b3.js → useRovingTabIndexContainer-3903d005.js} +2 -2
- package/es/{useRovingTabIndexContainer-6baad1b3.js.map → useRovingTabIndexContainer-3903d005.js.map} +1 -1
- package/es/{useScale-97db3e53.js → useScale-0ebe15ed.js} +2 -2
- package/es/{useScale-97db3e53.js.map → useScale-0ebe15ed.js.map} +1 -1
- package/es/useSelectCommon-83a6eaeb.js +5 -5
- package/es/{useSelectDrill-7cd3819f.js → useSelectDrill-47009d96.js} +3 -3
- package/es/{useSelectDrill-7cd3819f.js.map → useSelectDrill-47009d96.js.map} +1 -1
- package/es/{useSelection-a3c695f6.js → useSelection-76327a96.js} +6 -6
- package/es/{useSelection-a3c695f6.js.map → useSelection-76327a96.js.map} +1 -1
- package/es/{useSelection-5a661630.js → useSelection-c405739d.js} +2 -2
- package/es/{useSelection-5a661630.js.map → useSelection-c405739d.js.map} +1 -1
- package/es/useTabBar-816d84de.js +3 -3
- package/es/{useTestId-7f8e69e7.js → useTestId-e5d44ab1.js} +2 -2
- package/es/{useTestId-7f8e69e7.js.map → useTestId-e5d44ab1.js.map} +1 -1
- package/es/{useTheme-9172bf84.js → useTheme-d30637db.js} +2 -2
- package/es/{useTheme-9172bf84.js.map → useTheme-d30637db.js.map} +1 -1
- package/es/{useThemeInterpolations-f5b476d4.js → useThemeInterpolations-4b48d878.js} +5 -5
- package/es/{useThemeInterpolations-f5b476d4.js.map → useThemeInterpolations-4b48d878.js.map} +1 -1
- package/es/{useTooltip-4c8e3803.js → useTooltip-f442fedb.js} +2 -2
- package/es/{useTooltip-4c8e3803.js.map → useTooltip-f442fedb.js.map} +1 -1
- package/es/{useTooltipControlled-c396e1f3.js → useTooltipControlled-d7724623.js} +5 -5
- package/es/{useTooltipControlled-c396e1f3.js.map → useTooltipControlled-d7724623.js.map} +1 -1
- package/es/{useTooltipOnTruncation-c21a170f.js → useTooltipOnTruncation-ea080f54.js} +4 -4
- package/es/{useTooltipOnTruncation-c21a170f.js.map → useTooltipOnTruncation-ea080f54.js.map} +1 -1
- package/es/{useTranslationBundle-38db1e3c.js → useTranslationBundle-25469f1c.js} +2 -2
- package/es/{useTranslationBundle-38db1e3c.js.map → useTranslationBundle-25469f1c.js.map} +1 -1
- package/es/{useUser-2decb9ed.js → useUser-df8ae011.js} +2 -2
- package/es/{useUser-2decb9ed.js.map → useUser-df8ae011.js.map} +1 -1
- package/es/useVisDragModeControls-a6c518c5.js +1 -1
- package/es/{useVisEvents-2da4c609.js → useVisEvents-51a15315.js} +2 -2
- package/es/{useVisEvents-2da4c609.js.map → useVisEvents-51a15315.js.map} +1 -1
- package/es/utils/PRIVATE_tooltipUtils.js +14 -14
- package/es/utils/PRIVATE_visTestUtils.js +4 -4
- package/es/utils/UNSAFE_popupUtils.js +8 -8
- package/es/{withDirectionIcon-e5c4596f.js → withDirectionIcon-6032db58.js} +2 -2
- package/es/{withDirectionIcon-e5c4596f.js.map → withDirectionIcon-6032db58.js.map} +1 -1
- package/es/withThemeProps-30bc550b.js +2 -2
- package/package.json +2 -2
- package/amd/CheckboxSet-678ea1d4.js +0 -2
- package/amd/CheckboxSet-678ea1d4.js.map +0 -1
- package/amd/ColorPicker-8ef0b6e0.js +0 -2
- package/amd/Expander-9efeb845.js +0 -2
- package/amd/InputDatePicker-a1eea599.js +0 -2
- package/amd/NavigationListItem-73686e95.js +0 -2
- package/amd/RemovableTabBarItem-c7dd457b.js +0 -2
- package/amd/StyledDatePickerButton-e886e52a.js +0 -2
- package/amd/StyledDatePickerButton-e886e52a.js.map +0 -1
- package/amd/TabBar-fa06f492.js +0 -2
- package/amd/TabBarMixed-2d5bc172.js +0 -2
- package/amd/TextArea-ddd1d6b9.js +0 -2
- package/amd/TextArea-ddd1d6b9.js.map +0 -1
- package/amd/TextAreaAutosize-3cf8e06c.js +0 -2
- package/cjs/StyledDatePickerButton-128e2a5d.js.map +0 -1
- package/es/StyledDatePickerButton-444aa824.js.map +0 -1
- package/es/TextArea-273e8ce4.js +0 -184
- package/es/TextArea-273e8ce4.js.map +0 -1
|
@@ -12,7 +12,7 @@ import { m as mergeInterpolations } from './mergeInterpolations-30cd9a69.js';
|
|
|
12
12
|
import { f as flexitemInterpolations } from './flexitem-7b7f7920.js';
|
|
13
13
|
import { listGroupHeaderMultiVariantStyles } from './PRIVATE_List/themes/ListStyles.css.js';
|
|
14
14
|
import { GroupedListRedwoodTheme } from './UNSAFE_GroupedList/themes/redwood/GroupedListTheme.js';
|
|
15
|
-
import { F as Flex } from './Flex-
|
|
15
|
+
import { F as Flex } from './Flex-5befe411.js';
|
|
16
16
|
import { S as Skeleton } from './Skeleton-a06f4f74.js';
|
|
17
17
|
import { S as SkeletonContainer } from './List-ec8a9e41.js';
|
|
18
18
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import './HighlightTextStyles.styles.css';
|
|
4
|
-
import { u as useTestId } from './useTestId-
|
|
4
|
+
import { u as useTestId } from './useTestId-e5d44ab1.js';
|
|
5
5
|
|
|
6
6
|
var highlightStyles = 'HighlightTextStyles_highlightStyles__6s5c4p0';
|
|
7
7
|
|
|
@@ -28,4 +28,4 @@ function escapeRegExp(str) {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export { HighlightText as H };
|
|
31
|
-
//# sourceMappingURL=HighlightText-
|
|
31
|
+
//# sourceMappingURL=HighlightText-d8012ba6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HighlightText-
|
|
1
|
+
{"version":3,"file":"HighlightText-d8012ba6.js","sources":["../../src/UNSAFE_HighlightText/HighlightText.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 { highlightStyles } from './HighlightTextStyles.css';\nimport { TestIdProps, useTestId } from '#hooks/UNSAFE_useTestId';\n\ntype Props = TestIdProps & {\n /**\n * The text string to apply highlighting to.\n */\n children?: string;\n /**\n * The text string to match.\n */\n matchText?: string;\n};\n\nconst HIGHLIGHT_TOKEN = '__@@__';\nconst HIGHLIGHT_PATTERN = `${HIGHLIGHT_TOKEN}$&${HIGHLIGHT_TOKEN}`;\n\n/**\n * Renders a text string with highlighting applied to the given text to match.\n */\nexport function HighlightText({ children = '', matchText = '', testId }: Props) {\n const testIdProps = useTestId(testId);\n if (matchText.length > 0 && children.length > 0) {\n const escapedMatchText = escapeRegExp(matchText);\n const highlightedText = children.replace(new RegExp(escapedMatchText, 'gi'), HIGHLIGHT_PATTERN);\n const tokens = highlightedText.split(HIGHLIGHT_TOKEN);\n const nodes = tokens.map((current, index) =>\n index % 2 == 0 ? current : <span class={highlightStyles}>{current}</span>\n );\n\n return <span {...testIdProps}>{nodes}</span>;\n }\n return <span {...testIdProps}>{children}</span>;\n}\n\nfunction escapeRegExp(str: string) {\n // copied from:\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Escaping\n return str.replace(/[.*+\\-?^${}()|[\\]\\\\]/g, '\\\\$&'); // $& means the whole matched string\n}\n"],"names":["_jsx"],"mappings":";;;;;;;AAsBA,MAAM,eAAe,GAAG,QAAQ,CAAC;AACjC,MAAM,iBAAiB,GAAG,CAAA,EAAG,eAAe,CAAK,EAAA,EAAA,eAAe,EAAE,CAAC;AAEnE;;AAEG;AACa,SAAA,aAAa,CAAC,EAAE,QAAQ,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAS,EAAA;AAC5E,IAAA,MAAM,WAAW,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;AACtC,IAAA,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;AAC/C,QAAA,MAAM,gBAAgB,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;AACjD,QAAA,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,gBAAgB,EAAE,IAAI,CAAC,EAAE,iBAAiB,CAAC,CAAC;QAChG,MAAM,MAAM,GAAG,eAAe,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;AACtD,QAAA,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,KACtC,KAAK,GAAG,CAAC,IAAI,CAAC,GAAG,OAAO,GAAGA,GAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,eAAe,EAAA,QAAA,EAAG,OAAO,EAAA,CAAQ,CAC1E,CAAC;AAEF,QAAA,OAAOA,GAAU,CAAA,MAAA,EAAA,EAAA,GAAA,WAAW,EAAG,QAAA,EAAA,KAAK,GAAQ,CAAC;KAC9C;AACD,IAAA,OAAOA,GAAU,CAAA,MAAA,EAAA,EAAA,GAAA,WAAW,EAAG,QAAA,EAAA,QAAQ,GAAQ,CAAC;AAClD,CAAC;AAED,SAAS,YAAY,CAAC,GAAW,EAAA;;;IAG/B,OAAO,GAAG,CAAC,OAAO,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;AACtD;;;;"}
|
package/es/Icon-ef2ac069.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { jsx, jsxs } from 'preact/jsx-runtime';
|
|
3
3
|
import { Fragment } from 'preact';
|
|
4
4
|
import { s as sizeToCSS } from './size-a3d3aeaf.js';
|
|
5
|
-
import { u as useTooltip } from './useTooltip-
|
|
5
|
+
import { u as useTooltip } from './useTooltip-f442fedb.js';
|
|
6
6
|
import 'preact/hooks';
|
|
7
7
|
import './logger-c92f309c.js';
|
|
8
|
-
import './LayerHost-
|
|
8
|
+
import './LayerHost-12489cef.js';
|
|
9
9
|
import 'preact/compat';
|
|
10
10
|
import './TooltipContentStyles.styles.css';
|
|
11
11
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
|
|
12
12
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
|
|
13
|
-
import './tooltipUtils-
|
|
13
|
+
import './tooltipUtils-466c63c4.js';
|
|
14
14
|
import { styles } from './UNSAFE_Icon/themes/IconStyle.css.js';
|
|
15
15
|
import { g as getClientHints } from './clientHints-a42b510c.js';
|
|
16
16
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsxs, jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import { Fragment } from 'preact';
|
|
4
|
-
import { B as BaseButton } from './BaseButton-
|
|
4
|
+
import { B as BaseButton } from './BaseButton-32b49810.js';
|
|
5
5
|
import { B as ButtonLabelLayout } from './ButtonLabelLayout-d449261a.js';
|
|
6
6
|
import { forwardRef } from 'preact/compat';
|
|
7
|
-
import { u as useTooltip } from './useTooltip-
|
|
7
|
+
import { u as useTooltip } from './useTooltip-f442fedb.js';
|
|
8
8
|
import 'preact/hooks';
|
|
9
9
|
import { m as mergeProps } from './mergeProps-88ea8306.js';
|
|
10
10
|
import './logger-c92f309c.js';
|
|
11
|
-
import './LayerHost-
|
|
11
|
+
import './LayerHost-12489cef.js';
|
|
12
12
|
import './TooltipContentStyles.styles.css';
|
|
13
13
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
|
|
14
14
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
|
|
15
|
-
import './tooltipUtils-
|
|
15
|
+
import './tooltipUtils-466c63c4.js';
|
|
16
16
|
import { p as processGlobals } from './buttonUtils-55fb1df7.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import { jsxs, jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import { Fragment } from 'preact';
|
|
4
4
|
import { forwardRef } from 'preact/compat';
|
|
5
|
-
import { B as BaseButton } from './BaseButton-
|
|
5
|
+
import { B as BaseButton } from './BaseButton-32b49810.js';
|
|
6
6
|
import { u as useToggleAction } from './useToggleAction-fc0f5399.js';
|
|
7
|
-
import { u as useTooltip } from './useTooltip-
|
|
7
|
+
import { u as useTooltip } from './useTooltip-f442fedb.js';
|
|
8
8
|
import 'preact/hooks';
|
|
9
9
|
import { u as useId } from './useId-03dbfdf0.js';
|
|
10
10
|
import { m as mergeProps } from './mergeProps-88ea8306.js';
|
|
11
11
|
import './logger-c92f309c.js';
|
|
12
|
-
import './LayerHost-
|
|
12
|
+
import './LayerHost-12489cef.js';
|
|
13
13
|
import './TooltipContentStyles.styles.css';
|
|
14
14
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
|
|
15
15
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
|
|
16
|
-
import './tooltipUtils-
|
|
16
|
+
import './tooltipUtils-466c63c4.js';
|
|
17
17
|
import { a as toggleStyling } from './toggleButtonUtils-75e3d781.js';
|
|
18
18
|
import { T as ToggleButtonLabel } from './ToggleButtonLabel-802339c7.js';
|
|
19
19
|
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import { jsxs, jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import { Fragment } from 'preact';
|
|
4
4
|
import { forwardRef } from 'preact/compat';
|
|
5
|
-
import { B as BaseButton } from './BaseButton-
|
|
5
|
+
import { B as BaseButton } from './BaseButton-32b49810.js';
|
|
6
6
|
import { u as useToggleAction } from './useToggleAction-fc0f5399.js';
|
|
7
|
-
import { u as useTooltip } from './useTooltip-
|
|
7
|
+
import { u as useTooltip } from './useTooltip-f442fedb.js';
|
|
8
8
|
import 'preact/hooks';
|
|
9
9
|
import { m as mergeProps } from './mergeProps-88ea8306.js';
|
|
10
10
|
import './logger-c92f309c.js';
|
|
11
|
-
import './LayerHost-
|
|
11
|
+
import './LayerHost-12489cef.js';
|
|
12
12
|
import './TooltipContentStyles.styles.css';
|
|
13
13
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
|
|
14
14
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
|
|
15
|
-
import './tooltipUtils-
|
|
15
|
+
import './tooltipUtils-466c63c4.js';
|
|
16
16
|
import { a as toggleStyling } from './toggleButtonUtils-75e3d781.js';
|
|
17
17
|
import { p as processGlobals } from './buttonUtils-55fb1df7.js';
|
|
18
18
|
import { T as ToggleButtonLabel } from './ToggleButtonLabel-802339c7.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsxs, Fragment, jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import { useRef, useCallback } from 'preact/hooks';
|
|
4
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
4
|
+
import { u as useTranslationBundle } from './useTranslationBundle-25469f1c.js';
|
|
5
5
|
import { S as SvgHelp } from './Help-2b3a3ccf.js';
|
|
6
|
-
import { P as Popup } from './Popup-
|
|
6
|
+
import { P as Popup } from './Popup-0f026f03.js';
|
|
7
7
|
import { H as HiddenAccessible } from './HiddenAccessible-61197e7c.js';
|
|
8
8
|
import { I as InlineHelp } from './InlineHelp-8293a502.js';
|
|
9
9
|
import { iconUserAssistancePopupFocus, iconUserAssistanceIcon } from './UNSAFE_UserAssistance/themes/UserAssistanceStyles.css.js';
|
|
@@ -70,4 +70,4 @@ const IconUserAssistance = ({ assistiveText, helpSourceLink, helpSourceText, isT
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
export { IconUserAssistance as I };
|
|
73
|
-
//# sourceMappingURL=IconUserAssistance-
|
|
73
|
+
//# sourceMappingURL=IconUserAssistance-b3b8ed0f.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconUserAssistance-
|
|
1
|
+
{"version":3,"file":"IconUserAssistance-b3b8ed0f.js","sources":["../../src/UNSAFE_UserAssistance/IconUserAssistance.tsx"],"sourcesContent":["import { useCallback, useRef } from 'preact/hooks';\n\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '#resources/nls/bundle';\n\nimport { HelpIcon } from '#PRIVATE_ThemedIcons/HelpIcon';\nimport { Popup } from '#UNSAFE_Popup';\nimport { HiddenAccessible } from '#UNSAFE_HiddenAccessible';\nimport { InlineHelp } from './InlineHelp';\nimport {\n iconUserAssistanceIcon,\n iconUserAssistancePopupFocus\n} from './themes/UserAssistanceStyles.css';\nimport { useComponentTheme } from '#hooks/UNSAFE_useComponentTheme';\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { PopupRedwoodTheme } from '#UNSAFE_Popup/themes/redwood/PopupTheme';\nimport { useToggle } from '#hooks/UNSAFE_useToggle';\n\ntype Props = {\n /**\n * Text to provide guidance to help the user understand what data to enter.\n */\n assistiveText?: string;\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: string;\n /**\n * Custom text to be rendered for the `helpSourceLink`. \"Learn more\" will be used if no custom text is provided.\n */\n helpSourceText?: string;\n /**\n * Whether the trigger element is in tab sequence\n */\n isTabbable?: boolean;\n /**\n * ID of the pop up content that can be used for aria-describedby\n */\n id?: string;\n};\n\n/**\n * Created to match icon user assistance spec for use with radio option, pending design review\n * of inline UA assistance.\n */\nconst IconUserAssistance = ({\n assistiveText,\n helpSourceLink,\n helpSourceText,\n isTabbable = true,\n id\n}: Props) => {\n const { bool: isOpen, setFalse: setIsOpenFalse, toggle } = useToggle(false);\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const userAssistance_learnMoreStr = translations.userAssistance_learnMore();\n const sourceText = helpSourceLink && (helpSourceText || userAssistance_learnMoreStr);\n const helpForRadioString = translations.radio_helpForRadio();\n const helpStringId = `${id}-help-string`;\n const anchorRef = useRef<HTMLSpanElement>(null);\n\n const handleOutsideClick = useCallback(\n (event: MouseEvent) => {\n const target = event?.target;\n // We need to filter out anchor click events, because anchor is responsible for the toggling\n if (\n (target instanceof Element || target instanceof Document) &&\n !anchorRef.current?.contains(target) &&\n isOpen\n ) {\n setIsOpenFalse();\n }\n },\n [isOpen, setIsOpenFalse]\n );\n\n const handleLinkEvent = useCallback(\n (e: Event) => {\n // if it's a key event that is not \"enter\", return early\n const { key } = e as KeyboardEvent;\n if (key && key !== 'Enter') {\n return;\n }\n\n // We want to close the pop up if a link is triggered with mouse or keyboard\n const { tagName } = e.target as Element;\n\n if (tagName?.toLowerCase() === 'a') {\n setIsOpenFalse();\n\n // we want to refocus to the help icon after the browser has launched the link\n // prematurely doing so prevents keyboard events from firing\n setTimeout(() => anchorRef.current?.focus());\n }\n },\n [setIsOpenFalse]\n );\n\n const handleOnKeyDown = useCallback(\n (e: KeyboardEvent) => {\n // allow user to close popup without having to focus it\n if (['Tab', 'Escape'].includes(e.code) && isOpen) {\n setIsOpenFalse();\n }\n\n // toggle and prevent scroll jump\n if (['Space', 'Enter'].includes(e.code)) {\n e.preventDefault();\n toggle();\n }\n },\n [isOpen, setIsOpenFalse, toggle]\n );\n\n const onClickHandler = useCallback(\n (e: Event) => {\n e.preventDefault();\n toggle();\n },\n [toggle]\n );\n\n // We are referencing popup vars, so we need to bring in the baseTheme for popup\n const { baseTheme: popupBaseTheme } = useComponentTheme(PopupRedwoodTheme);\n const iconUserAssistanceClasses = classNames([popupBaseTheme, iconUserAssistancePopupFocus]);\n\n return helpSourceLink || assistiveText ? (\n <>\n <span\n onKeyDown={handleOnKeyDown}\n onClick={onClickHandler}\n role=\"link\"\n aria-describedby={helpStringId}\n aria-haspopup=\"dialog\"\n ref={anchorRef}\n tabIndex={isTabbable ? 0 : -1}\n class={iconUserAssistanceIcon}\n id={`${id}-help-icon`}>\n <HelpIcon />\n </span>\n <HiddenAccessible id={helpStringId} isHidden={true}>\n {helpForRadioString}\n </HiddenAccessible>\n <Popup\n placement=\"top\"\n isOpen={isOpen}\n anchorRef={anchorRef}\n onClose={setIsOpenFalse}\n onClickOutside={handleOutsideClick}\n shiftOptions={{ mainAxis: true, crossAxis: false }}\n role=\"tooltip\"\n maxWidth={'296px'}>\n <div\n id={id}\n tabIndex={0}\n class={iconUserAssistanceClasses}\n onMouseUp={handleLinkEvent}\n onKeyDown={handleLinkEvent}>\n <InlineHelp\n assistiveText={assistiveText}\n sourceLink={helpSourceLink}\n sourceText={sourceText}\n />\n </div>\n </Popup>\n </>\n ) : null;\n};\n\nexport { IconUserAssistance };\n"],"names":["_jsxs","_Fragment","_jsx","HelpIcon"],"mappings":"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"}
|
|
@@ -4,7 +4,7 @@ import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
|
4
4
|
import { c as classNames } from './classNames-4e12b00d.js';
|
|
5
5
|
import './TabbableModeContext-7d8ad946.js';
|
|
6
6
|
import { u as useTabbableMode } from './useTabbableMode-a2fdbb06.js';
|
|
7
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
7
|
+
import { u as useTranslationBundle } from './useTranslationBundle-25469f1c.js';
|
|
8
8
|
import { UserAssistanceRedwoodTheme } from './UNSAFE_UserAssistance/themes/redwood/UserAssistanceTheme.js';
|
|
9
9
|
|
|
10
10
|
function InlineHelpSource({ children, source }) {
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import { jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import './logger-c92f309c.js';
|
|
4
4
|
import 'preact/hooks';
|
|
5
|
-
import './Flex-
|
|
5
|
+
import './Flex-5befe411.js';
|
|
6
6
|
import './MessageBannerStyles.styles.css';
|
|
7
7
|
import './UNSAFE_MessageBanner/themes/redwood/MessageBannerBaseTheme.styles.css';
|
|
8
8
|
import './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css.js';
|
|
9
9
|
import 'preact';
|
|
10
|
-
import './LayerHost-
|
|
10
|
+
import './LayerHost-12489cef.js';
|
|
11
11
|
import 'preact/compat';
|
|
12
12
|
import './TooltipContentStyles.styles.css';
|
|
13
13
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
|
|
14
14
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
|
|
15
|
-
import './tooltipUtils-
|
|
15
|
+
import './tooltipUtils-466c63c4.js';
|
|
16
16
|
import './IconStyle.styles.css';
|
|
17
17
|
import './IconButton-e7787aeb.js';
|
|
18
18
|
import './MessageStyles.styles.css';
|
|
@@ -32,13 +32,13 @@ import { u as useFormContext } from './useFormContext-bb9dc478.js';
|
|
|
32
32
|
import './FormFieldContext-47ca0c20.js';
|
|
33
33
|
import { u as useFormFieldContext } from './useFormFieldContext-daf7a676.js';
|
|
34
34
|
import { I as InlineHelp } from './InlineHelp-8293a502.js';
|
|
35
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
35
|
+
import { u as useTranslationBundle } from './useTranslationBundle-25469f1c.js';
|
|
36
36
|
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
37
37
|
import { UserAssistanceRedwoodTheme } from './UNSAFE_UserAssistance/themes/redwood/UserAssistanceTheme.js';
|
|
38
38
|
import { c as classNames } from './classNames-4e12b00d.js';
|
|
39
39
|
import './InputGroupContext-20bdbd6e.js';
|
|
40
40
|
import { u as useInputGroupContext } from './useInputGroupContext-1d19411e.js';
|
|
41
|
-
import { u as useTestId } from './useTestId-
|
|
41
|
+
import { u as useTestId } from './useTestId-e5d44ab1.js';
|
|
42
42
|
|
|
43
43
|
function InlineRequired({ align = 'end', hasHelp = false, hasMessages = false }) {
|
|
44
44
|
const { classes } = useComponentTheme(UserAssistanceRedwoodTheme, {
|
|
@@ -8,9 +8,9 @@ import { R as ReadonlyTextField } from './StyledTextField-9c60efac.js';
|
|
|
8
8
|
import './ObfuscatedTextFieldInputStyles.styles.css';
|
|
9
9
|
import { R as ReadonlyTextFieldInput } from './ReadonlyTextFieldInput-7bfb1cad.js';
|
|
10
10
|
import { T as TextField } from './TextField-2643ae3c.js';
|
|
11
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
11
|
+
import { u as useTranslationBundle } from './useTranslationBundle-25469f1c.js';
|
|
12
12
|
import './LiveRegionStyles.styles.css';
|
|
13
|
-
import './LayerHost-
|
|
13
|
+
import './LayerHost-12489cef.js';
|
|
14
14
|
import './UNSAFE_TextField/themes/TextFieldStyles.css.js';
|
|
15
15
|
import './SkeletonStyles.styles.css';
|
|
16
16
|
import './TextFieldLoadingStyles.styles.css';
|
|
@@ -27,10 +27,10 @@ import { C as CompactUserAssistance } from './CompactUserAssistance-308c2ad3.js'
|
|
|
27
27
|
import './TooltipContentStyles.styles.css';
|
|
28
28
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
|
|
29
29
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
|
|
30
|
-
import './tooltipUtils-
|
|
30
|
+
import './tooltipUtils-466c63c4.js';
|
|
31
31
|
import { createContext } from 'preact';
|
|
32
32
|
import './IconStyle.styles.css';
|
|
33
|
-
import './Popup-
|
|
33
|
+
import './Popup-0f026f03.js';
|
|
34
34
|
import './LabelStyles.styles.css';
|
|
35
35
|
import './UNSAFE_Label/themes/redwood/LabelBaseTheme.styles.css';
|
|
36
36
|
import './UNSAFE_Label/themes/redwood/LabelVariants.css.js';
|
|
@@ -43,16 +43,16 @@ import './FormContext-55fb8000.js';
|
|
|
43
43
|
import { u as useFormContext } from './useFormContext-bb9dc478.js';
|
|
44
44
|
import { F as FormFieldContext } from './FormFieldContext-47ca0c20.js';
|
|
45
45
|
import { u as useTextField } from './useTextField-eb9db737.js';
|
|
46
|
-
import { u as useUser } from './useUser-
|
|
46
|
+
import { u as useUser } from './useUser-df8ae011.js';
|
|
47
47
|
import { b as isLeapYear } from './getFormatParse-6e71bd79.js';
|
|
48
48
|
import { M as MAX_ISO_YEAR, q as getMonthsInYear, m as getDaysInMonth, r as MIN_ISO_DAY, s as MIN_ISO_YEAR, u as MIN_ISO_MONTH, f as formatFullCalendarDate, v as getDatePlaceholderMasks, w as formatShortCalendarDate } from './calendarDateUtils-52ee4867.js';
|
|
49
49
|
import { i as isNumberOnlyString, g as getMonthName, a as getTodayAsCalendarDate, c as calendarDatesAreDifferent, t as translateCustomMasks } from './maskUtils-ad8f1f9b.js';
|
|
50
50
|
import { l } from './stringUtils-0fe25200.js';
|
|
51
51
|
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
52
52
|
import { u as useFormFieldContext } from './useFormFieldContext-daf7a676.js';
|
|
53
|
-
import { F as Flex } from './Flex-
|
|
53
|
+
import { F as Flex } from './Flex-5befe411.js';
|
|
54
54
|
import { H as HiddenAccessible } from './HiddenAccessible-61197e7c.js';
|
|
55
|
-
import { L as LiveRegion } from './LiveRegion-
|
|
55
|
+
import { L as LiveRegion } from './LiveRegion-79ffc814.js';
|
|
56
56
|
import { TextFieldInputRedwoodTheme } from './UNSAFE_TextField/themes/redwood/TextFieldInputTheme.js';
|
|
57
57
|
import { i as isEmbeddedVariant } from './formControlUtils-84e2af0e.js';
|
|
58
58
|
import { c as classNames } from './classNames-4e12b00d.js';
|
package/es/Label-17e1d221.js
CHANGED
|
@@ -8,23 +8,23 @@ import './FormContext-55fb8000.js';
|
|
|
8
8
|
import { u as useFormContext } from './useFormContext-bb9dc478.js';
|
|
9
9
|
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
10
10
|
import './TabbableModeContext-7d8ad946.js';
|
|
11
|
-
import './LayerHost-
|
|
11
|
+
import './LayerHost-12489cef.js';
|
|
12
12
|
import 'preact/compat';
|
|
13
13
|
import './UserAssistanceStyles.styles.css';
|
|
14
14
|
import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceBaseTheme.styles.css';
|
|
15
15
|
import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css.js';
|
|
16
|
-
import './Flex-
|
|
16
|
+
import './Flex-5befe411.js';
|
|
17
17
|
import './MessageBannerStyles.styles.css';
|
|
18
18
|
import './UNSAFE_MessageBanner/themes/redwood/MessageBannerBaseTheme.styles.css';
|
|
19
19
|
import './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css.js';
|
|
20
20
|
import 'preact';
|
|
21
|
-
import { u as useTooltip } from './useTooltip-
|
|
22
|
-
import { u as useScale } from './useScale-
|
|
23
|
-
import { u as useDensity } from './useDensity-
|
|
21
|
+
import { u as useTooltip } from './useTooltip-f442fedb.js';
|
|
22
|
+
import { u as useScale } from './useScale-0ebe15ed.js';
|
|
23
|
+
import { u as useDensity } from './useDensity-d06ae84a.js';
|
|
24
24
|
import './TooltipContentStyles.styles.css';
|
|
25
25
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
|
|
26
26
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
|
|
27
|
-
import './tooltipUtils-
|
|
27
|
+
import './tooltipUtils-466c63c4.js';
|
|
28
28
|
import './IconStyle.styles.css';
|
|
29
29
|
import { g as getClientHints } from './clientHints-a42b510c.js';
|
|
30
30
|
import './IconButton-e7787aeb.js';
|
|
@@ -38,9 +38,9 @@ import './ComponentMessageStyles.styles.css';
|
|
|
38
38
|
import './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageBaseTheme.styles.css';
|
|
39
39
|
import './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css.js';
|
|
40
40
|
import './InputGroupContext-20bdbd6e.js';
|
|
41
|
-
import './Popup-
|
|
41
|
+
import './Popup-0f026f03.js';
|
|
42
42
|
import './UNSAFE_Separator/themes/SeparatorStyles.css.js';
|
|
43
|
-
import { C as CompactLabelAssistance } from './CompactLabelAssistance-
|
|
43
|
+
import { C as CompactLabelAssistance } from './CompactLabelAssistance-1082f67f.js';
|
|
44
44
|
import './UNSAFE_Popup/themes/redwood/PopupBaseTheme.styles.css';
|
|
45
45
|
import './UNSAFE_Popup/themes/redwood/PopupVariants.css.js';
|
|
46
46
|
import { d as detectTruncation } from './truncationUtils-e37f95ee.js';
|
|
@@ -5,7 +5,7 @@ import './FormContext-55fb8000.js';
|
|
|
5
5
|
import { u as useFormContext } from './useFormContext-bb9dc478.js';
|
|
6
6
|
import './FormFieldContext-47ca0c20.js';
|
|
7
7
|
import { u as useFormFieldContext } from './useFormFieldContext-daf7a676.js';
|
|
8
|
-
import { l as labelSlotStyles, a as labelInnerStyles, S as StyledLabelValueLayout } from './StyledLabelValueLayout-
|
|
8
|
+
import { l as labelSlotStyles, a as labelInnerStyles, S as StyledLabelValueLayout } from './StyledLabelValueLayout-32bdf9d1.js';
|
|
9
9
|
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
10
10
|
import { TextFieldRedwoodTheme } from './UNSAFE_TextField/themes/redwood/TextFieldTheme.js';
|
|
11
11
|
import { LabelRedwoodTheme } from './UNSAFE_Label/themes/redwood/LabelTheme.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import { useState, useRef, useContext, useLayoutEffect, useCallback, useMemo, createPortal } from 'preact/compat';
|
|
4
|
-
import { L as LayerContext } from './LayerHost-
|
|
4
|
+
import { L as LayerContext } from './LayerHost-12489cef.js';
|
|
5
5
|
import { c as classNames } from './classNames-4e12b00d.js';
|
|
6
6
|
import { styles, baseStyle } from './UNSAFE_Layer/themes/LayerStyles.css.js';
|
|
7
|
-
import { u as useThemeInterpolations, t as toUnsafeDomElement } from './useThemeInterpolations-
|
|
7
|
+
import { u as useThemeInterpolations, t as toUnsafeDomElement } from './useThemeInterpolations-4b48d878.js';
|
|
8
8
|
|
|
9
9
|
const LOGICAL_PARENT = Symbol.for('oj-logical-parent');
|
|
10
10
|
const Layer = ({ children, logicalParentRef, isModal = false, priority = 'popup', level = 'nearestAncestor' }) => {
|
|
@@ -88,4 +88,4 @@ const Layer = ({ children, logicalParentRef, isModal = false, priority = 'popup'
|
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
export { Layer as L, LOGICAL_PARENT as a };
|
|
91
|
-
//# sourceMappingURL=Layer-
|
|
91
|
+
//# sourceMappingURL=Layer-7d3dc8c7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layer-
|
|
1
|
+
{"version":3,"file":"Layer-7d3dc8c7.js","sources":["../../src/UNSAFE_Layer/Layer.tsx"],"sourcesContent":["import { VNode, type RefObject } from 'preact';\nimport {\n createPortal,\n useContext,\n useLayoutEffect,\n useState,\n useRef,\n useMemo,\n useCallback\n} from 'preact/compat';\nimport { LayerContext, LayerContextProps, LayerLevel, LayerPriority } from './LayerContext';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { baseStyle, styles } from './themes/LayerStyles.css';\nimport { useThemeInterpolations } from '../hooks/UNSAFE_useThemeInterpolations/useThemeInterpolations';\nimport { toUnsafeDomElement } from '#utils/PRIVATE_unsafeDomRefUtils/unsafeDomRefUtils';\nimport { UnsafeDomHandle } from '#utils/UNSAFE_unsafeDomAccess';\n\nexport const LOGICAL_PARENT = Symbol.for('oj-logical-parent');\n\ntype Props = {\n /**\n * The content to be re-parented using Portal\n */\n children: VNode;\n /**\n * Logical parent of the re-parented content. Typically the 'launcher' associated\n * with the popup.\n */\n logicalParentRef?: RefObject<Element> | RefObject<UnsafeDomHandle<Element>> | null;\n /**\n * Determines if this layer contains a Modal.\n */\n isModal?: boolean;\n /**\n * Determines Layer's stacking context. Components that always need to render on top of other popup\n * elements (such as Messages) should use respective priority value. The default priority level is 'popup'.\n */\n priority?: LayerPriority;\n /**\n * Determines Layer's nesting context. By default, new layers will render in the context of a parent Layer,\n * if it exists (nearestAncestor)). Some popup components (such as Dialog and Message) may need to set up\n * a new nesting context as(topLevel).\n */\n level?: LayerLevel;\n};\n\nexport type LayerElement = HTMLElement & {\n [LOGICAL_PARENT]?: Element | null;\n};\n\nconst Layer = ({\n children,\n logicalParentRef,\n isModal = false,\n priority = 'popup',\n level = 'nearestAncestor'\n}: Props) => {\n const [layerContainer, _setLayerContainer] = useState<Element | null>(null);\n const layerContainerRef = useRef<Element | null>(null);\n\n const context = useContext(LayerContext);\n\n const setLayerContainer = (elem: Element | null) => {\n layerContainerRef.current = elem;\n _setLayerContainer(elem);\n };\n\n // because the children are being rendered into a portal that is out of the flow of parent dom,\n // we need to specify the colorScheme and scale class names here to pick up the correct CSS styles.\n const themeClasses = useThemeInterpolations(logicalParentRef);\n\n let priorityStyle = styles.popupPriorityStyle;\n\n switch (priority) {\n case 'dialog': {\n priorityStyle = styles.dialogPriorityStyle;\n break;\n }\n case 'messages': {\n priorityStyle = styles.messagesPriorityStyle;\n break;\n }\n case 'tooltip': {\n priorityStyle = styles.tooltipPriorityStyle;\n break;\n }\n default: {\n priorityStyle = styles.popupPriorityStyle;\n break;\n }\n }\n\n const classes = classNames([themeClasses, baseStyle, priorityStyle]);\n\n // Really need useLayoutEffect instead of useEffect here. Otherwise the re-parented\n // content does not get re-rendered with valid ref's\n useLayoutEffect(() => {\n const host =\n level === 'topLevel'\n ? context.getRootLayerHost?.(priority)\n : context.getLayerHost?.(priority);\n\n if (!host) return;\n const doc = host.ownerDocument ?? document;\n const layer: LayerElement = doc.createElement('div');\n\n layer.setAttribute('data-oj-layer', isModal ? 'modal' : 'modeless');\n\n if (logicalParentRef) {\n layer[LOGICAL_PARENT] = toUnsafeDomElement(logicalParentRef);\n }\n host.appendChild(layer);\n setLayerContainer(layer);\n\n return () => {\n if (host && layer && host.contains(layer)) {\n delete layer[LOGICAL_PARENT];\n host.removeChild(layer);\n }\n if (context.onLayerUnmount) {\n context.onLayerUnmount(layer);\n }\n setLayerContainer(null);\n };\n }, [logicalParentRef, context, level, priority, isModal]);\n\n // add the colorScheme and scale classes if there is a layerContainer\n if (layerContainer) {\n // use the theme interpolations to set the appropriate style classes for colorScheme and scale\n layerContainer.className = classes;\n }\n\n const getLayerHost = useCallback(() => {\n return layerContainer;\n }, [layerContainer]);\n\n const newLayerContext = useMemo(() => {\n if (context.getLayerHost) {\n return {\n getRootLayerHost: context.getRootLayerHost?.bind(null, priority),\n getLayerHost: getLayerHost.bind(null)\n };\n } else {\n return {};\n }\n }, [context.getLayerHost, context.getRootLayerHost, getLayerHost, priority]);\n\n return (\n <LayerContext.Provider value={newLayerContext as LayerContextProps}>\n {layerContainer && createPortal(children, layerContainer)}\n </LayerContext.Provider>\n );\n};\n\nexport default Layer;\n"],"names":["_jsx"],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
|
-
import { createContext } from 'preact';
|
|
3
2
|
import { t } from './index-3e2e69c4.js';
|
|
3
|
+
import { createContext } from 'preact';
|
|
4
4
|
import { jsx } from 'preact/jsx-runtime';
|
|
5
5
|
import { forwardRef } from 'preact/compat';
|
|
6
6
|
import { baseStyle } from './UNSAFE_Layer/themes/LayerHostStyles.css.js';
|
|
@@ -38,4 +38,4 @@ const LayerHost = forwardRef((_props, ref) => {
|
|
|
38
38
|
LayerHost.displayName = 'Forwarded<LayerHost>';
|
|
39
39
|
|
|
40
40
|
export { DefaultEnvironment as D, EnvironmentContext as E, LayerContext as L, LayerHost as a };
|
|
41
|
-
//# sourceMappingURL=LayerHost-
|
|
41
|
+
//# sourceMappingURL=LayerHost-12489cef.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerHost-
|
|
1
|
+
{"version":3,"file":"LayerHost-12489cef.js","sources":["../../src/UNSAFE_Environment/EnvironmentContext.tsx","../../src/UNSAFE_Layer/LayerContext.ts","../../src/UNSAFE_Layer/LayerHost.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 { Theme, ThemeModifiers } from '../UNSAFE_Theme';\n\nimport { Redwood } from '../Common';\nimport { createContext } from 'preact';\n\n/**\n * Defines user specific environment\n */\ntype User = {\n locale: string;\n direction: 'rtl' | 'ltr';\n forcedColors: 'none' | 'active';\n};\n\n/**\n * Defines translation bundle type.\n */\nexport type TranslationBundle = Record<string, (...args: any[]) => string>;\n\n/**\n * Defines a type for translation property which is an object where\n * - key - string - bundle id\n * - value - object - strings to functions of the type (options?: object)=>string\n *\n * Translation bundle example:\n * const bundle = {\n * @oracle/oracle-preact-bundle: {\n * welcome: () => 'bienvenido',\n * success: () => 'éxito'\n * }\n * }\n */\ntype Translations = { [bundleId: string]: TranslationBundle };\n\n/**\n * Defines the mode in which the application is running. For \"test\" mode, UNSAFE_useTestId hook will\n * return a set of attributes to be rendered on the component DOM for testing purposes. Default is\n * \"production\"\n */\ntype Mode = 'test' | 'production';\n\n/**\n * Environment specified at the root level\n */\nexport type RootEnvironment = Partial<ThemeModifiers> & {\n /**\n * user - supports user preferences\n */\n user?: Partial<User>;\n /**\n * theme - supports theme settings\n */\n theme?: Theme;\n /**\n * translations - supports translation bundles\n */\n translations?: Translations;\n /**\n * mode - the application's configured mode\n */\n mode?: Mode;\n};\n\n/**\n * Environment specified at the component level\n */\nexport type Environment = Partial<ThemeModifiers> & {\n translations?: Translations;\n};\n\nexport type CompleteEnvironmentType = ThemeModifiers & {\n user: User;\n theme: Theme;\n translations?: Translations;\n mode: Mode;\n};\n\n/**\n * Default environment created for the application\n */\nexport const DefaultEnvironment: CompleteEnvironmentType = {\n user: {\n locale: document.documentElement.getAttribute('lang') || 'en',\n direction:\n document.documentElement.getAttribute('dir')?.toLowerCase() === 'rtl' ? 'rtl' : 'ltr',\n forcedColors: window.matchMedia?.('(forced-colors: active)')?.matches ? 'active' : 'none'\n },\n theme: Redwood,\n colorScheme: 'light',\n scale: 'lg',\n currentBgColor: undefined,\n mode: 'production',\n density: 'standard'\n};\n\nexport const EnvironmentContext = createContext<CompleteEnvironmentType>(DefaultEnvironment);\n","import { createContext } from 'preact';\n\nexport type LayerLevel = 'nearestAncestor' | 'topLevel';\nexport type LayerPriority = 'popup' | 'dialog' | 'messages' | 'tooltip';\n\nexport type LayerContextProps = {\n getRootLayerHost?: (priority?: LayerPriority) => Element;\n getLayerHost?: (priority?: LayerPriority) => Element;\n onLayerUnmount?: (element: HTMLElement) => void;\n};\n\nexport const LayerContext = createContext<LayerContextProps>({});\n","/**\n * The LayerHost is a div which is created in place\n * where you want to \"house\" a portaled content\n */\nimport { forwardRef } from 'preact/compat';\nimport { baseStyle } from './themes/LayerHostStyles.css';\n\nconst LayerHost = forwardRef<HTMLDivElement>((_props, ref) => {\n return <div id=\"__root_layer_host\" role=\"presentation\" ref={ref} class={baseStyle} />;\n});\n\nLayerHost.displayName = 'Forwarded<LayerHost>';\n\nexport default LayerHost;\n"],"names":["Redwood","_jsx"],"mappings":";;;;;;;AAAA;;;;;;AAMG;AA+EH;;AAEG;AACU,MAAA,kBAAkB,GAA4B;AACzD,IAAA,IAAI,EAAE;QACJ,MAAM,EAAE,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,IAAI;QAC7D,SAAS,EACP,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,KAAK,KAAK,GAAG,KAAK,GAAG,KAAK;AACvF,QAAA,YAAY,EAAE,MAAM,CAAC,UAAU,GAAG,yBAAyB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM;AAC1F,KAAA;AACD,IAAA,KAAK,EAAEA,CAAO;AACd,IAAA,WAAW,EAAE,OAAO;AACpB,IAAA,KAAK,EAAE,IAAI;AACX,IAAA,cAAc,EAAE,SAAS;AACzB,IAAA,IAAI,EAAE,YAAY;AAClB,IAAA,OAAO,EAAE,UAAU;EACnB;MAEW,kBAAkB,GAAG,aAAa,CAA0B,kBAAkB;;MC5F9E,YAAY,GAAG,aAAa,CAAoB,EAAE;;ACJzD,MAAA,SAAS,GAAG,UAAU,CAAiB,CAAC,MAAM,EAAE,GAAG,KAAI;AAC3D,IAAA,OAAOC,aAAK,EAAE,EAAC,mBAAmB,EAAC,IAAI,EAAC,cAAc,EAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,GAAI,CAAC;AACxF,CAAC,EAAE;AAEH,SAAS,CAAC,WAAW,GAAG,sBAAsB;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsx, jsxs } from 'preact/jsx-runtime';
|
|
3
3
|
import { useState, useCallback } from 'preact/compat';
|
|
4
|
-
import { L as LayerContext, a as LayerHost } from './LayerHost-
|
|
4
|
+
import { L as LayerContext, a as LayerHost } from './LayerHost-12489cef.js';
|
|
5
5
|
|
|
6
6
|
function LayerManager({ children }) {
|
|
7
7
|
const [defaultHost, setDefaultHost] = useState();
|
|
@@ -31,4 +31,4 @@ function LayerManager({ children }) {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export { LayerManager as L };
|
|
34
|
-
//# sourceMappingURL=LayerManager-
|
|
34
|
+
//# sourceMappingURL=LayerManager-a62e619b.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerManager-
|
|
1
|
+
{"version":3,"file":"LayerManager-a62e619b.js","sources":["../../src/UNSAFE_Layer/LayerManager.tsx"],"sourcesContent":["/**\n * The LayerManager wraps your application and creates two adjacent divs for\n * rendering your application and housing Layers.\n */\nimport { ComponentChildren } from 'preact';\nimport { useCallback, useState } from 'preact/compat';\nimport { LayerContext, LayerContextProps } from './LayerContext';\nimport LayerHost from './LayerHost';\n\ntype LayerManagerProps = {\n children?: ComponentChildren;\n};\n\nexport function LayerManager({ children }: LayerManagerProps) {\n const [defaultHost, setDefaultHost] = useState<Element>();\n //const context = useContext(LayerContext);\n const defaultHostRef = useCallback((el: Element | null) => {\n // ref callbacks fire after the component has been unnmounted so we do not\n // want to set state in this use-case\n if (el !== null) {\n setDefaultHost(el);\n }\n }, []);\n\n return (\n <LayerContext.Consumer>\n {(value: LayerContextProps) => {\n let defaultHostContext = {};\n if (defaultHost) {\n defaultHostContext = {\n getRootLayerHost: () => {\n return defaultHost;\n },\n getLayerHost: () => {\n return defaultHost;\n }\n };\n }\n const layerContext = value.getLayerHost ? value : defaultHostContext;\n return (\n <LayerContext.Provider value={layerContext}>\n {children}\n {!value.getLayerHost && <LayerHost ref={defaultHostRef} />}\n </LayerContext.Provider>\n );\n }}\n </LayerContext.Consumer>\n );\n}\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;AAagB,SAAA,YAAY,CAAC,EAAE,QAAQ,EAAqB,EAAA;IAC1D,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,EAAW,CAAC;;AAE1D,IAAA,MAAM,cAAc,GAAG,WAAW,CAAC,CAAC,EAAkB,KAAI;;;AAGxD,QAAA,IAAI,EAAE,KAAK,IAAI,EAAE;YACf,cAAc,CAAC,EAAE,CAAC,CAAC;SACpB;KACF,EAAE,EAAE,CAAC,CAAC;IAEP,QACEA,IAAC,YAAY,CAAC,QAAQ,EACnB,EAAA,QAAA,EAAA,CAAC,KAAwB,KAAI;YAC5B,IAAI,kBAAkB,GAAG,EAAE,CAAC;YAC5B,IAAI,WAAW,EAAE;AACf,gBAAA,kBAAkB,GAAG;oBACnB,gBAAgB,EAAE,MAAK;AACrB,wBAAA,OAAO,WAAW,CAAC;qBACpB;oBACD,YAAY,EAAE,MAAK;AACjB,wBAAA,OAAO,WAAW,CAAC;qBACpB;iBACF,CAAC;aACH;AACD,YAAA,MAAM,YAAY,GAAG,KAAK,CAAC,YAAY,GAAG,KAAK,GAAG,kBAAkB,CAAC;YACrE,QACEC,IAAC,CAAA,YAAY,CAAC,QAAQ,EAAC,EAAA,KAAK,EAAE,YAAY,EACvC,QAAA,EAAA,CAAA,QAAQ,EACR,CAAC,KAAK,CAAC,YAAY,IAAID,GAAA,CAAC,SAAS,EAAA,EAAC,GAAG,EAAE,cAAc,EAAA,CAAI,CACpC,EAAA,CAAA,EACxB;SACH,EAAA,CACqB,EACxB;AACJ;;;;"}
|
package/es/Link-d7ad7267.js
CHANGED
|
@@ -7,7 +7,7 @@ import { u as useInteractionStyle } from './useInteractionStyle-99e32c23.js';
|
|
|
7
7
|
import { LinkRedwoodTheme } from './UNSAFE_Link/themes/redwood/LinkTheme.js';
|
|
8
8
|
import './TabbableModeContext-7d8ad946.js';
|
|
9
9
|
import { u as useTabbableMode } from './useTabbableMode-a2fdbb06.js';
|
|
10
|
-
import { u as useTestId } from './useTestId-
|
|
10
|
+
import { u as useTestId } from './useTestId-e5d44ab1.js';
|
|
11
11
|
|
|
12
12
|
const noop = () => { };
|
|
13
13
|
/**
|
package/es/List-ec8a9e41.js
CHANGED
|
@@ -17,17 +17,17 @@ import { m as mergeInterpolations } from './mergeInterpolations-30cd9a69.js';
|
|
|
17
17
|
import { f as flexitemInterpolations } from './flexitem-7b7f7920.js';
|
|
18
18
|
import { listItemMultiVariantStyles, paddingStyles, listItemStyles, skeletonStyles, sparkleStyles, listStyles } from './PRIVATE_List/themes/ListStyles.css.js';
|
|
19
19
|
import { S as Skeleton } from './Skeleton-a06f4f74.js';
|
|
20
|
-
import { F as Flex } from './Flex-
|
|
20
|
+
import { F as Flex } from './Flex-5befe411.js';
|
|
21
21
|
import { S as Selector } from './Selector-1ceeaf0a.js';
|
|
22
22
|
import { g as globalImages } from './ImageVars.css-7b3180c8.js';
|
|
23
|
-
import { u as useTheme } from './useTheme-
|
|
24
|
-
import { u as useTestId } from './useTestId-
|
|
23
|
+
import { u as useTheme } from './useTheme-d30637db.js';
|
|
24
|
+
import { u as useTestId } from './useTestId-e5d44ab1.js';
|
|
25
25
|
import './ReorderableContext-0daeea89.js';
|
|
26
|
-
import './LayerHost-
|
|
26
|
+
import './LayerHost-12489cef.js';
|
|
27
27
|
import './CollectionInteractionContext-7cf19abc.js';
|
|
28
28
|
import { u as useCollectionInteractionContext } from './useCollectionInteractionContext-3895c632.js';
|
|
29
29
|
import 'preact';
|
|
30
|
-
import { u as useSelection } from './useSelection-
|
|
30
|
+
import { u as useSelection } from './useSelection-c405739d.js';
|
|
31
31
|
import { u as useAdditiveSelection } from './useAdditiveSelection-dc54508b.js';
|
|
32
32
|
import { u as useItemAction } from './useItemAction-f256a7af.js';
|
|
33
33
|
import { I as Inset } from './Inset-f310ac0b.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import { useState, useCallback, useEffect } from 'preact/hooks';
|
|
4
4
|
import './LiveRegionStyles.styles.css';
|
|
5
|
-
import { u as useTestId } from './useTestId-
|
|
5
|
+
import { u as useTestId } from './useTestId-e5d44ab1.js';
|
|
6
6
|
|
|
7
7
|
var offScreenStyle = 'LiveRegionStyles_offScreenStyle__1uvpdtw0';
|
|
8
8
|
|
|
@@ -36,4 +36,4 @@ function useLiveText(text, timeout) {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
export { LiveRegion as L };
|
|
39
|
-
//# sourceMappingURL=LiveRegion-
|
|
39
|
+
//# sourceMappingURL=LiveRegion-79ffc814.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LiveRegion-
|
|
1
|
+
{"version":3,"file":"LiveRegion-79ffc814.js","sources":["../../src/UNSAFE_LiveRegion/LiveRegion.tsx"],"sourcesContent":["import { useCallback, useEffect, useState } from 'preact/hooks';\nimport { offScreenStyle } from './LiveRegionStyles.css';\nimport { TestIdProps, useTestId } from '#hooks/UNSAFE_useTestId';\n\ntype Props = TestIdProps & {\n /**\n * Whether this live region is atomic\n */\n atomic?: 'true' | 'false';\n\n /**\n * The text to be read out in the live region\n */\n children?: string;\n\n /**\n * Timeout for updating the text\n */\n timeout?: number;\n\n /**\n * The value for the aria-live attribute\n */\n type?: 'assertive' | 'polite' | 'off';\n};\n\n/**\n * A helper component that renders an aria-live region\n *\n * TODO: Create a more centralized component that can handle aria-live region for\n * the whole application and use context api to communicate\n */\nfunction LiveRegion({\n testId,\n atomic = 'false',\n children = '',\n timeout = 100,\n type = 'polite'\n}: Props) {\n const ariaLiveText = useLiveText(children, timeout);\n const testIdProps = useTestId(testId);\n\n return (\n <span aria-live={type} aria-atomic={atomic} class={offScreenStyle} {...testIdProps}>\n {ariaLiveText}\n </span>\n );\n}\n\n/**\n * A custom hook for handling the aria-live region\n *\n * @param text The aria-live text to use\n * @param timeout The timeout for setting the aria-live text async\n * @returns The aria-live text\n */\nfunction useLiveText(text: string, timeout: number) {\n const [liveText, setLiveText] = useState('');\n const updateText = useCallback(() => setLiveText(text), [text]);\n const updateTextAsync = useCallback(() => setTimeout(updateText, timeout), [updateText, timeout]);\n\n useEffect(() => {\n const timeoutId = updateTextAsync();\n\n return () => clearTimeout(timeoutId);\n }, [updateTextAsync]);\n\n return liveText;\n}\n\nexport { LiveRegion };\n"],"names":["_jsx"],"mappings":";;;;;;;;AA0BA;;;;;AAKG;AACH,SAAS,UAAU,CAAC,EAClB,MAAM,EACN,MAAM,GAAG,OAAO,EAChB,QAAQ,GAAG,EAAE,EACb,OAAO,GAAG,GAAG,EACb,IAAI,GAAG,QAAQ,EACT,EAAA;IACN,MAAM,YAAY,GAAG,WAAW,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AACpD,IAAA,MAAM,WAAW,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;AAEtC,IAAA,QACEA,GAAA,CAAA,MAAA,EAAA,EAAA,WAAA,EAAiB,IAAI,EAAA,aAAA,EAAe,MAAM,EAAE,KAAK,EAAE,cAAc,KAAM,WAAW,EAAA,QAAA,EAC/E,YAAY,EAAA,CACR,EACP;AACJ,CAAC;AAED;;;;;;AAMG;AACH,SAAS,WAAW,CAAC,IAAY,EAAE,OAAe,EAAA;IAChD,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;AAC7C,IAAA,MAAM,UAAU,GAAG,WAAW,CAAC,MAAM,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IAChE,MAAM,eAAe,GAAG,WAAW,CAAC,MAAM,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC;IAElG,SAAS,CAAC,MAAK;AACb,QAAA,MAAM,SAAS,GAAG,eAAe,EAAE,CAAC;AAEpC,QAAA,OAAO,MAAM,YAAY,CAAC,SAAS,CAAC,CAAC;AACvC,KAAC,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;AAEtB,IAAA,OAAO,QAAQ,CAAC;AAClB;;;;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* @oracle/oraclejet-preact: undefined */
|
|
2
|
+
import { jsx, jsxs } from 'preact/jsx-runtime';
|
|
3
|
+
import { useCallback } from 'preact/hooks';
|
|
4
|
+
import { c as classNames } from './classNames-4e12b00d.js';
|
|
5
|
+
import { u as usePress } from './usePress-051f5adb.js';
|
|
6
|
+
import './FormFieldContext-47ca0c20.js';
|
|
7
|
+
import { u as useFormFieldContext } from './useFormFieldContext-daf7a676.js';
|
|
8
|
+
import './MaxLengthCounterStyles.styles.css';
|
|
9
|
+
|
|
10
|
+
var hide = 'MaxLengthCounterStyles_hide__7dy9j71';
|
|
11
|
+
var maxLengthCounterBase = 'MaxLengthCounterStyles_maxLengthCounterBase__7dy9j70';
|
|
12
|
+
var spanStyles = 'MaxLengthCounterStyles_spanStyles__7dy9j72';
|
|
13
|
+
|
|
14
|
+
const noop = () => { };
|
|
15
|
+
function MaxLengthCounter({ maxLength, valueLength = 0, onClick }) {
|
|
16
|
+
const { isFocused } = useFormFieldContext();
|
|
17
|
+
// We don't want mousedown on this component to do anything, so prevent the default behavior.
|
|
18
|
+
const killEvent = useCallback((event) => event.preventDefault(), []);
|
|
19
|
+
const textClasses = classNames([!isFocused && hide]);
|
|
20
|
+
const { pressProps } = usePress(onClick ?? noop);
|
|
21
|
+
return (jsx("div", { class: maxLengthCounterBase, onMouseDown: killEvent, ...pressProps, children: jsxs("span", { class: textClasses, children: [jsx("span", { class: spanStyles, children: valueLength }), jsx("span", { class: spanStyles, children: "/" }), jsx("span", { class: spanStyles, children: maxLength })] }) }));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { MaxLengthCounter as M };
|
|
25
|
+
//# sourceMappingURL=MaxLengthCounter-d622f964.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MaxLengthCounter-d622f964.js","sources":["../../src/UNSAFE_TextArea/MaxLengthCounter.tsx"],"sourcesContent":["import { useCallback } from 'preact/hooks';\n\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { usePress } from '../hooks/UNSAFE_usePress';\nimport { useFormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { hide, maxLengthCounterBase, spanStyles } from './MaxLengthCounterStyles.css';\n\ntype Props = {\n maxLength: number;\n valueLength?: number;\n onClick?: () => void; // the calling component should focus on the appropriate element when clicked.\n};\n\nconst noop = () => {};\n\nexport function MaxLengthCounter({ maxLength, valueLength = 0, onClick }: Props) {\n const { isFocused } = useFormFieldContext();\n // We don't want mousedown on this component to do anything, so prevent the default behavior.\n const killEvent = useCallback((event: Event) => event.preventDefault(), []);\n const textClasses = classNames([!isFocused && hide]);\n const { pressProps } = usePress(onClick ?? noop);\n return (\n <div class={maxLengthCounterBase} onMouseDown={killEvent} {...pressProps}>\n <span class={textClasses}>\n <span class={spanStyles}>{valueLength}</span>\n <span class={spanStyles}>/</span>\n <span class={spanStyles}>{maxLength}</span>\n </span>\n </div>\n );\n}\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;AAaA,MAAM,IAAI,GAAG,MAAK,GAAG,CAAC;AAEhB,SAAU,gBAAgB,CAAC,EAAE,SAAS,EAAE,WAAW,GAAG,CAAC,EAAE,OAAO,EAAS,EAAA;AAC7E,IAAA,MAAM,EAAE,SAAS,EAAE,GAAG,mBAAmB,EAAE,CAAC;;AAE5C,IAAA,MAAM,SAAS,GAAG,WAAW,CAAC,CAAC,KAAY,KAAK,KAAK,CAAC,cAAc,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,MAAM,WAAW,GAAG,UAAU,CAAC,CAAC,CAAC,SAAS,IAAI,IAAI,CAAC,CAAC,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,GAAG,QAAQ,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC;AACjD,IAAA,QACEA,GAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,SAAS,EAAM,GAAA,UAAU,YACtEC,IAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,WAAW,EAAA,QAAA,EAAA,CACtBD,cAAM,KAAK,EAAE,UAAU,EAAA,QAAA,EAAG,WAAW,EAAQ,CAAA,EAC7CA,cAAM,KAAK,EAAE,UAAU,EAAU,QAAA,EAAA,GAAA,EAAA,CAAA,EACjCA,cAAM,KAAK,EAAE,UAAU,EAAG,QAAA,EAAA,SAAS,GAAQ,CACtC,EAAA,CAAA,EAAA,CACH,EACN;AACJ;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsxs, Fragment, jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import { u as useDebounce } from './useDebounce-fa5a80e9.js';
|
|
4
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
5
|
-
import { L as LiveRegion } from './LiveRegion-
|
|
4
|
+
import { u as useTranslationBundle } from './useTranslationBundle-25469f1c.js';
|
|
5
|
+
import { L as LiveRegion } from './LiveRegion-79ffc814.js';
|
|
6
6
|
|
|
7
7
|
const MAX_LENGTH_UPDATE_DELAY = 500;
|
|
8
8
|
function MaxLengthLiveRegion({ isMaxLengthExceeded, maxLength, testId, valueLength = 0 }) {
|
|
@@ -23,4 +23,4 @@ function MaxLengthLiveRegion({ isMaxLengthExceeded, maxLength, testId, valueLeng
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export { MaxLengthLiveRegion as M };
|
|
26
|
-
//# sourceMappingURL=MaxLengthLiveRegion-
|
|
26
|
+
//# sourceMappingURL=MaxLengthLiveRegion-7a81593c.js.map
|