@oracle/oraclejet-preact 18.1.5 → 18.1.6
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-0ad4ca6d.js +2 -0
- package/amd/BarChart-0ad4ca6d.js.map +1 -0
- package/amd/BaseButton-c86afd54.js +2 -0
- package/amd/BaseButton-c86afd54.js.map +1 -0
- package/amd/BaseCardView-a1c5a21d.js +2 -0
- package/amd/BaseCardView-a1c5a21d.js.map +1 -0
- package/amd/BaseCardViewSelectionTest-36a03079.js +2 -0
- package/amd/BaseCardViewSelectionTest-36a03079.js.map +1 -0
- package/amd/BaseRichSelection-33a97275.js +2 -0
- package/amd/BaseRichSelection-33a97275.js.map +1 -0
- package/amd/Button-cb88d20f.js +2 -0
- package/amd/Button-cb88d20f.js.map +1 -0
- package/amd/ButtonSetButton-819e99a8.js +2 -0
- package/amd/ButtonSetButton-819e99a8.js.map +1 -0
- package/amd/ButtonSetIconButton-9f171b1e.js +2 -0
- package/amd/ButtonSetIconButton-9f171b1e.js.map +1 -0
- package/amd/ButtonSetItem-8a51cd2a.js +2 -0
- package/amd/ButtonSetItem-8a51cd2a.js.map +1 -0
- package/amd/CardFlexView-f7fdfac8.js +2 -0
- package/amd/CardFlexView-f7fdfac8.js.map +1 -0
- package/amd/CardGridView-b8a60fae.js +2 -0
- package/amd/CardGridView-b8a60fae.js.map +1 -0
- package/amd/Chart-79cfc878.js +2 -0
- package/amd/Chart-79cfc878.js.map +1 -0
- package/amd/Checkbox-49753599.js +2 -0
- package/amd/Checkbox-49753599.js.map +1 -0
- package/amd/CheckboxControl-c6a380b3.js +2 -0
- package/amd/CheckboxControl-c6a380b3.js.map +1 -0
- package/amd/CheckboxRadioField-1987c75d.js +2 -0
- package/amd/CheckboxRadioField-1987c75d.js.map +1 -0
- package/amd/CheckboxSet-05423d28.js +2 -0
- package/amd/CheckboxSet-05423d28.js.map +1 -0
- package/amd/CheckboxStyles.styles.css +6 -0
- package/amd/ClearIcon-d73689cc.js +2 -0
- package/amd/ClearIcon-d73689cc.js.map +1 -0
- package/amd/ComboChart-72eda15f.js +2 -0
- package/amd/ComboChart-72eda15f.js.map +1 -0
- package/amd/CompactUserAssistance-3799998f.js +2 -0
- package/amd/CompactUserAssistance-3799998f.js.map +1 -0
- package/amd/ComponentMessageContainer-cf186eeb.js +2 -0
- package/amd/ComponentMessageContainer-cf186eeb.js.map +1 -0
- package/amd/ConveyorBeltItem-e3002f4a.js +2 -0
- package/amd/ConveyorBeltItem-e3002f4a.js.map +1 -0
- package/amd/DatePicker-9115226e.js +2 -0
- package/amd/DatePicker-9115226e.js.map +1 -0
- package/amd/DatePickerHeader-a0da70a0.js +2 -0
- package/amd/DatePickerHeader-a0da70a0.js.map +1 -0
- package/amd/Diagram-14fa4924.js +2 -0
- package/amd/Diagram-14fa4924.js.map +1 -0
- package/amd/Dialog-896c0bfd.js +2 -0
- package/amd/Dialog-896c0bfd.js.map +1 -0
- package/amd/EmbeddedIconButton-3608bfb4.js +2 -0
- package/amd/EmbeddedIconButton-3608bfb4.js.map +1 -0
- package/amd/ExpandableList-daabc548.js +2 -0
- package/amd/ExpandableList-daabc548.js.map +1 -0
- package/amd/Gantt-7265d4ce.js +2 -0
- package/amd/Gantt-7265d4ce.js.map +1 -0
- package/amd/GroupLoadingIndicator-9fd33355.js +1 -1
- package/amd/IconButton-368fba34.js +2 -0
- package/amd/IconButton-368fba34.js.map +1 -0
- package/amd/IconMenuButton-3f3c2386.js +2 -0
- package/amd/IconMenuButton-3f3c2386.js.map +1 -0
- package/amd/IconProgressButton-11c44c28.js +2 -0
- package/amd/IconProgressButton-11c44c28.js.map +1 -0
- package/amd/IconSwitchButton-1a400cdf.js +2 -0
- package/amd/IconSwitchButton-1a400cdf.js.map +1 -0
- package/amd/IconToggleButton-ea46b246.js +2 -0
- package/amd/IconToggleButton-ea46b246.js.map +1 -0
- package/amd/Indexer-5df524f2.js +2 -0
- package/amd/Indexer-5df524f2.js.map +1 -0
- package/amd/InlineUserAssistance-a97e0011.js +2 -0
- package/amd/InlineUserAssistance-a97e0011.js.map +1 -0
- package/amd/InputDateMask-09989b51.js +2 -0
- package/amd/InputDateMask-09989b51.js.map +1 -0
- package/amd/InputDatePicker-03bdeb95.js +2 -0
- package/amd/InputDatePicker-03bdeb95.js.map +1 -0
- package/amd/InputPassword-57a5e072.js +2 -0
- package/amd/InputPassword-57a5e072.js.map +1 -0
- package/amd/InputText-a72eb1c3.js +2 -0
- package/amd/InputText-a72eb1c3.js.map +1 -0
- package/amd/Label-41b672b4.js +2 -0
- package/amd/Label-41b672b4.js.map +1 -0
- package/amd/LineAreaChart-3aff0c1a.js +2 -0
- package/amd/LineAreaChart-3aff0c1a.js.map +1 -0
- package/amd/Link-1f126248.js +2 -0
- package/amd/Link-1f126248.js.map +1 -0
- package/amd/LinkVariants.styles.css +2 -1
- package/amd/LinkVariants.styles2.css +2 -1
- package/amd/List-0da6ee9c.js +2 -0
- package/amd/List-0da6ee9c.js.map +1 -0
- package/amd/ListView-cdfac903.js +2 -0
- package/amd/ListView-cdfac903.js.map +1 -0
- package/amd/LoadMoreCollection-a6adbc3f.js +2 -0
- package/amd/LoadMoreCollection-a6adbc3f.js.map +1 -0
- package/amd/MenuButton-66e5430a.js +2 -0
- package/amd/MenuButton-66e5430a.js.map +1 -0
- package/amd/Message-d66cc7e9.js +2 -0
- package/amd/Message-d66cc7e9.js.map +1 -0
- package/amd/MessageToast-19703f73.js +2 -0
- package/amd/MessageToast-19703f73.js.map +1 -0
- package/amd/MonthView-67179db3.js +2 -0
- package/amd/MonthView-67179db3.js.map +1 -0
- package/amd/NumberInputText-e2cf1795.js +2 -0
- package/amd/NumberInputText-e2cf1795.js.map +1 -0
- package/amd/OverflowTabBar-1dd5c327.js +2 -0
- package/amd/OverflowTabBar-1dd5c327.js.map +1 -0
- package/amd/OverflowTabBarItem-f8128e3d.js +2 -0
- package/amd/OverflowTabBarItem-f8128e3d.js.map +1 -0
- package/amd/PRIVATE_BaseCardView.js +1 -1
- package/amd/PRIVATE_Chart.js +1 -1
- package/amd/PRIVATE_CheckboxControl.js +1 -1
- package/amd/PRIVATE_CheckboxRadioField.js +1 -1
- package/amd/PRIVATE_ClearIcon.js +1 -1
- package/amd/PRIVATE_DatePickerHeader.js +1 -1
- package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
- package/amd/PRIVATE_IconSwitchButton.js +1 -1
- package/amd/PRIVATE_List.js +1 -1
- package/amd/PRIVATE_LoadMoreCollection.js +1 -1
- package/amd/PRIVATE_Message.js +1 -1
- package/amd/PRIVATE_MonthView.js +1 -1
- package/amd/PRIVATE_MonthYearGridView.js +1 -1
- package/amd/PRIVATE_RevealToggleIcon.js +1 -1
- package/amd/PRIVATE_RichSelectionCommon.js +1 -1
- package/amd/PRIVATE_SelectCommon.js +1 -1
- package/amd/PRIVATE_Table.js +1 -1
- package/amd/PRIVATE_TimeComponent.js +1 -1
- package/amd/PRIVATE_VirtualizedCollection.js +1 -1
- package/amd/PictoChart-98b892fb.js +2 -0
- package/amd/PictoChart-98b892fb.js.map +1 -0
- package/amd/ProgressButton-cd0c21df.js +2 -0
- package/amd/ProgressButton-cd0c21df.js.map +1 -0
- package/amd/RadioItem-1a02d3dc.js +2 -0
- package/amd/RadioItem-1a02d3dc.js.map +1 -0
- package/amd/RadioSet-94d12876.js +2 -0
- package/amd/RadioSet-94d12876.js.map +1 -0
- package/amd/RemovableNavigationListItem-1f69907c.js +2 -0
- package/amd/RemovableNavigationListItem-1f69907c.js.map +1 -0
- package/amd/RemovableTabBarItem-5c240801.js +2 -0
- package/amd/RemovableTabBarItem-5c240801.js.map +1 -0
- package/amd/RevealToggleIcon-c22626da.js +2 -0
- package/amd/RevealToggleIcon-c22626da.js.map +1 -0
- package/amd/ScatterChart-e6f8d49a.js +2 -0
- package/amd/ScatterChart-e6f8d49a.js.map +1 -0
- package/amd/SelectMultiple-a159ccbf.js +2 -0
- package/amd/SelectMultiple-a159ccbf.js.map +1 -0
- package/amd/SelectSingle-e3d0d8d2.js +2 -0
- package/amd/SelectSingle-e3d0d8d2.js.map +1 -0
- package/amd/SplitMenuButton-a2001b04.js +2 -0
- package/amd/SplitMenuButton-a2001b04.js.map +1 -0
- package/amd/Table-f5ebf3d4.js +2 -0
- package/amd/Table-f5ebf3d4.js.map +1 -0
- package/amd/TableView-e8cab364.js +2 -0
- package/amd/TableView-e8cab364.js.map +1 -0
- package/amd/TagCloud-39552a78.js +2 -0
- package/amd/TagCloud-39552a78.js.map +1 -0
- package/amd/TextArea-0ec1a311.js +2 -0
- package/amd/TextArea-0ec1a311.js.map +1 -0
- package/amd/TextAreaAutosize-8cac0a54.js +2 -0
- package/amd/TextAreaAutosize-8cac0a54.js.map +1 -0
- package/amd/Theme-redwood/theme.css +209 -209
- package/amd/Theme-stable/theme.css +415 -415
- package/amd/TimeComponentCanvas2D-82ebf0c7.js +2 -0
- package/amd/TimeComponentCanvas2D-82ebf0c7.js.map +1 -0
- package/amd/ToggleButton-f8845804.js +2 -0
- package/amd/ToggleButton-f8845804.js.map +1 -0
- package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
- package/amd/UNSAFE_BarChart.js +1 -1
- package/amd/UNSAFE_BaseButton.js +1 -1
- package/amd/UNSAFE_Button.js +1 -1
- package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
- package/amd/UNSAFE_ButtonSetButton.js +1 -1
- package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
- package/amd/UNSAFE_ButtonSetItem.js +1 -1
- package/amd/UNSAFE_CardFlexView.js +1 -1
- package/amd/UNSAFE_CardGridView.js +1 -1
- package/amd/UNSAFE_Checkbox/themes/CheckboxStyles.css.js +1 -1
- package/amd/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -1
- package/amd/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js.map +1 -1
- package/amd/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -1
- package/amd/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -1
- package/amd/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js.map +1 -1
- package/amd/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -1
- package/amd/UNSAFE_Checkbox.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_ComboChart.js +1 -1
- package/amd/UNSAFE_ComponentMessage.js +1 -1
- package/amd/UNSAFE_ConveyorBelt.js +1 -1
- package/amd/UNSAFE_DatePicker.js +1 -1
- package/amd/UNSAFE_Diagram.js +1 -1
- package/amd/UNSAFE_Dialog.js +1 -1
- package/amd/UNSAFE_ExpandableList.js +1 -1
- package/amd/UNSAFE_Gantt.js +1 -1
- package/amd/UNSAFE_IconButton.js +1 -1
- package/amd/UNSAFE_IconMenuButton.js +1 -1
- package/amd/UNSAFE_IconProgressButton.js +1 -1
- package/amd/UNSAFE_IconToggleButton.js +1 -1
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputDateMask.js +1 -1
- package/amd/UNSAFE_InputDatePicker.js +1 -1
- package/amd/UNSAFE_InputPassword.js +1 -1
- package/amd/UNSAFE_InputSensitiveText.js +1 -1
- package/amd/UNSAFE_InputText.js +1 -1
- package/amd/UNSAFE_InputTimeMask.js +1 -1
- package/amd/UNSAFE_Label.js +1 -1
- package/amd/UNSAFE_LabelledLink.js +1 -1
- package/amd/UNSAFE_LineAreaChart.js +1 -1
- package/amd/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_MenuButton.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_NavigationList.js +1 -1
- package/amd/UNSAFE_NavigationListCommon.js +1 -1
- package/amd/UNSAFE_NumberInputText.js +1 -1
- package/amd/UNSAFE_OverflowTabBar.js +1 -1
- package/amd/UNSAFE_PictoChart.js +1 -1
- package/amd/UNSAFE_ProgressButton.js +1 -1
- package/amd/UNSAFE_RadioItem.js +1 -1
- package/amd/UNSAFE_RadioSet.js +1 -1
- package/amd/UNSAFE_RichCheckboxSet.js +1 -1
- package/amd/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/amd/UNSAFE_RichRadioSet.js +1 -1
- package/amd/UNSAFE_RichRadioSet.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_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
- package/amd/UNSAFE_SplitMenuButton.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_TagCloud.js +1 -1
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_ToggleButton.js +1 -1
- package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
- package/amd/UNSAFE_UserAssistance.js +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/VirtualizedCollection-63223f5e.js +2 -0
- package/amd/VirtualizedCollection-63223f5e.js.map +1 -0
- package/amd/VirtualizedListView-d353d174.js +2 -0
- package/amd/VirtualizedListView-d353d174.js.map +1 -0
- package/amd/YearsGridView-e645d5de.js +2 -0
- package/amd/YearsGridView-e645d5de.js.map +1 -0
- package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
- package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
- package/amd/hooks/PRIVATE_useVisDragModeControls.js +1 -1
- package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
- package/amd/hooks/UNSAFE_usePressClick.js +1 -1
- package/amd/useCellNavigation-4138513e.js +2 -0
- package/amd/useCellNavigation-4138513e.js.map +1 -0
- package/amd/useChartMarquee-2f7d51c4.js +2 -0
- package/amd/useChartMarquee-2f7d51c4.js.map +1 -0
- package/amd/usePressClick-b5bf4243.js +2 -0
- package/amd/usePressClick-b5bf4243.js.map +1 -0
- package/amd/useSelectCommon-380baecd.js +2 -0
- package/amd/useSelectCommon-380baecd.js.map +1 -0
- package/amd/useSelectDrill-113ae3ae.js +2 -0
- package/amd/useSelectDrill-113ae3ae.js.map +1 -0
- package/amd/useSelection-80e262f2.js +2 -0
- package/amd/useSelection-80e262f2.js.map +1 -0
- package/amd/useVisDragModeControls-f187d8b2.js +2 -0
- package/amd/useVisDragModeControls-f187d8b2.js.map +1 -0
- package/cjs/BarChart-66dbe5be.js +181 -0
- package/cjs/BarChart-66dbe5be.js.map +1 -0
- package/cjs/BaseButton-590432e4.js +174 -0
- package/cjs/BaseButton-590432e4.js.map +1 -0
- package/cjs/BaseCardView-5c483f52.js +687 -0
- package/cjs/BaseCardView-5c483f52.js.map +1 -0
- package/cjs/BaseCardViewSelectionTest-f29b3ecf.js +734 -0
- package/cjs/BaseCardViewSelectionTest-f29b3ecf.js.map +1 -0
- package/cjs/BaseRichSelection-07d33b2a.js +344 -0
- package/cjs/BaseRichSelection-07d33b2a.js.map +1 -0
- package/cjs/Button-2427b7df.js +24 -0
- package/cjs/Button-2427b7df.js.map +1 -0
- package/cjs/ButtonSetButton-a23b6b7d.js +35 -0
- package/cjs/ButtonSetButton-a23b6b7d.js.map +1 -0
- package/cjs/ButtonSetIconButton-c632a294.js +42 -0
- package/cjs/ButtonSetIconButton-c632a294.js.map +1 -0
- package/cjs/ButtonSetItem-b260b6a5.js +67 -0
- package/cjs/ButtonSetItem-b260b6a5.js.map +1 -0
- package/cjs/CardFlexView-385f1b2d.js +29 -0
- package/cjs/CardFlexView-385f1b2d.js.map +1 -0
- package/cjs/CardGridView-d337b9f4.js +17 -0
- package/cjs/CardGridView-d337b9f4.js.map +1 -0
- package/cjs/Chart-13ccd345.js +493 -0
- package/cjs/Chart-13ccd345.js.map +1 -0
- package/cjs/Checkbox-07e4794b.js +106 -0
- package/cjs/Checkbox-07e4794b.js.map +1 -0
- package/cjs/CheckboxControl-697725cb.js +111 -0
- package/cjs/CheckboxControl-697725cb.js.map +1 -0
- package/cjs/CheckboxRadioField-1bb0d57d.js +185 -0
- package/cjs/CheckboxRadioField-1bb0d57d.js.map +1 -0
- package/cjs/CheckboxStyles.styles.css +6 -0
- package/cjs/ClearIcon-22a24975.js +23 -0
- package/cjs/ClearIcon-22a24975.js.map +1 -0
- package/cjs/ComboChart-7188af92.js +174 -0
- package/cjs/ComboChart-7188af92.js.map +1 -0
- package/cjs/CompactUserAssistance-54247e7e.js +49 -0
- package/cjs/CompactUserAssistance-54247e7e.js.map +1 -0
- package/cjs/ComponentMessageContainer-f8dc57aa.js +71 -0
- package/cjs/ComponentMessageContainer-f8dc57aa.js.map +1 -0
- package/cjs/ConveyorBeltItem-324014ba.js +641 -0
- package/cjs/ConveyorBeltItem-324014ba.js.map +1 -0
- package/cjs/DatePicker-9c362a68.js +566 -0
- package/cjs/DatePicker-9c362a68.js.map +1 -0
- package/cjs/DatePickerHeader-4223c919.js +46 -0
- package/cjs/DatePickerHeader-4223c919.js.map +1 -0
- package/cjs/Diagram-151103ac.js +2037 -0
- package/cjs/Diagram-151103ac.js.map +1 -0
- package/cjs/Dialog-40a1b708.js +346 -0
- package/cjs/Dialog-40a1b708.js.map +1 -0
- package/cjs/EmbeddedIconButton-f3f6e8f6.js +13 -0
- package/cjs/EmbeddedIconButton-f3f6e8f6.js.map +1 -0
- package/cjs/ExpandableList-0a0d75b3.js +169 -0
- package/cjs/ExpandableList-0a0d75b3.js.map +1 -0
- package/cjs/Gantt-aa6f41d6.js +3819 -0
- package/cjs/Gantt-aa6f41d6.js.map +1 -0
- package/cjs/GroupLoadingIndicator-824d658f.js +1 -1
- package/cjs/IconButton-fad4e4b2.js +39 -0
- package/cjs/IconButton-fad4e4b2.js.map +1 -0
- package/cjs/IconMenuButton-70ef4775.js +58 -0
- package/cjs/IconMenuButton-70ef4775.js.map +1 -0
- package/cjs/IconProgressButton-b4116a09.js +49 -0
- package/cjs/IconProgressButton-b4116a09.js.map +1 -0
- package/cjs/IconSwitchButton-2f946274.js +46 -0
- package/cjs/IconSwitchButton-2f946274.js.map +1 -0
- package/cjs/IconToggleButton-493cf27c.js +45 -0
- package/cjs/IconToggleButton-493cf27c.js.map +1 -0
- package/cjs/Indexer-a4a2d6b8.js +339 -0
- package/cjs/Indexer-a4a2d6b8.js.map +1 -0
- package/cjs/InlineUserAssistance-6c6d3250.js +85 -0
- package/cjs/InlineUserAssistance-6c6d3250.js.map +1 -0
- package/cjs/InputDateMask-d6b1a660.js +1060 -0
- package/cjs/InputDateMask-d6b1a660.js.map +1 -0
- package/cjs/InputDatePicker-7eb5931a.js +309 -0
- package/cjs/InputDatePicker-7eb5931a.js.map +1 -0
- package/cjs/InputPassword-e15aa37b.js +157 -0
- package/cjs/InputPassword-e15aa37b.js.map +1 -0
- package/cjs/InputText-6a6ae7e5.js +199 -0
- package/cjs/InputText-6a6ae7e5.js.map +1 -0
- package/cjs/Label-c51bd5de.js +85 -0
- package/cjs/Label-c51bd5de.js.map +1 -0
- package/cjs/LineAreaChart-05a58ac5.js +172 -0
- package/cjs/LineAreaChart-05a58ac5.js.map +1 -0
- package/cjs/Link-c928d5f1.js +35 -0
- package/cjs/Link-c928d5f1.js.map +1 -0
- package/cjs/LinkVariants.styles.css +2 -1
- package/cjs/LinkVariants.styles2.css +2 -1
- package/cjs/List-bad74e43.js +723 -0
- package/cjs/List-bad74e43.js.map +1 -0
- package/cjs/ListView-80a9c725.js +430 -0
- package/cjs/ListView-80a9c725.js.map +1 -0
- package/cjs/LoadMoreCollection-73112ff0.js +34 -0
- package/cjs/LoadMoreCollection-73112ff0.js.map +1 -0
- package/cjs/MenuButton-e6eb6e3e.js +63 -0
- package/cjs/MenuButton-e6eb6e3e.js.map +1 -0
- package/cjs/Message-20bc90cd.js +208 -0
- package/cjs/Message-20bc90cd.js.map +1 -0
- package/cjs/MessageToast-c0730ed5.js +243 -0
- package/cjs/MessageToast-c0730ed5.js.map +1 -0
- package/cjs/MonthView-03da0bd2.js +210 -0
- package/cjs/MonthView-03da0bd2.js.map +1 -0
- package/cjs/NavigationListItem-0a49d6b5.js +166 -0
- package/cjs/NavigationListItem-0a49d6b5.js.map +1 -0
- package/cjs/NumberInputText-c58f78da.js +223 -0
- package/cjs/NumberInputText-c58f78da.js.map +1 -0
- package/cjs/OverflowTabBar-c70fb3bf.js +71 -0
- package/cjs/OverflowTabBar-c70fb3bf.js.map +1 -0
- package/cjs/OverflowTabBarItem-70484f54.js +88 -0
- package/cjs/OverflowTabBarItem-70484f54.js.map +1 -0
- package/cjs/PRIVATE_BaseCardView.js +3 -3
- package/cjs/PRIVATE_Chart.js +14 -14
- package/cjs/PRIVATE_CheckboxControl.js +5 -4
- package/cjs/PRIVATE_CheckboxControl.js.map +1 -1
- package/cjs/PRIVATE_CheckboxRadioField.js +8 -7
- package/cjs/PRIVATE_CheckboxRadioField.js.map +1 -1
- package/cjs/PRIVATE_ClearIcon.js +4 -4
- package/cjs/PRIVATE_DatePickerHeader.js +5 -5
- package/cjs/PRIVATE_EmbeddedIconButton.js +3 -3
- package/cjs/PRIVATE_IconSwitchButton.js +3 -3
- package/cjs/PRIVATE_List.js +4 -4
- package/cjs/PRIVATE_LoadMoreCollection.js +2 -2
- package/cjs/PRIVATE_Message.js +4 -4
- package/cjs/PRIVATE_MonthView.js +2 -2
- package/cjs/PRIVATE_MonthYearGridView.js +2 -2
- package/cjs/PRIVATE_RevealToggleIcon.js +4 -4
- package/cjs/PRIVATE_RichSelectionCommon.js +8 -7
- package/cjs/PRIVATE_RichSelectionCommon.js.map +1 -1
- package/cjs/PRIVATE_SelectCommon.js +11 -11
- package/cjs/PRIVATE_Table.js +6 -6
- package/cjs/PRIVATE_TimeComponent.js +3 -3
- package/cjs/PRIVATE_VirtualizedCollection.js +2 -2
- package/cjs/PictoChart-fd613c80.js +747 -0
- package/cjs/PictoChart-fd613c80.js.map +1 -0
- package/cjs/ProgressButton-81474622.js +58 -0
- package/cjs/ProgressButton-81474622.js.map +1 -0
- package/cjs/RadioItem-3cc743ff.js +115 -0
- package/cjs/RadioItem-3cc743ff.js.map +1 -0
- package/cjs/RadioSet-f4ee4f80.js +45 -0
- package/cjs/RadioSet-f4ee4f80.js.map +1 -0
- package/cjs/RemovableNavigationListItem-f3ad6e8e.js +26 -0
- package/cjs/RemovableNavigationListItem-f3ad6e8e.js.map +1 -0
- package/cjs/RemovableTabBarItem-5c05fa32.js +38 -0
- package/cjs/RemovableTabBarItem-5c05fa32.js.map +1 -0
- package/cjs/RevealToggleIcon-4ec10dbe.js +28 -0
- package/cjs/RevealToggleIcon-4ec10dbe.js.map +1 -0
- package/cjs/ScatterChart-9226c20d.js +105 -0
- package/cjs/ScatterChart-9226c20d.js.map +1 -0
- package/cjs/SelectMultiple-3569988d.js +1299 -0
- package/cjs/SelectMultiple-3569988d.js.map +1 -0
- package/cjs/SelectSingle-43d6953e.js +732 -0
- package/cjs/SelectSingle-43d6953e.js.map +1 -0
- package/cjs/SplitMenuButton-9c1b081c.js +141 -0
- package/cjs/SplitMenuButton-9c1b081c.js.map +1 -0
- package/cjs/Table-6987731e.js +5499 -0
- package/cjs/Table-6987731e.js.map +1 -0
- package/cjs/TableView-1bed3e0b.js +33 -0
- package/cjs/TableView-1bed3e0b.js.map +1 -0
- package/cjs/TagCloud-2715c0e8.js +826 -0
- package/cjs/TagCloud-2715c0e8.js.map +1 -0
- package/cjs/TextArea-d8516f11.js +162 -0
- package/cjs/TextArea-d8516f11.js.map +1 -0
- package/cjs/TextAreaAutosize-1797d5b7.js +246 -0
- package/cjs/TextAreaAutosize-1797d5b7.js.map +1 -0
- package/cjs/Theme-redwood/theme.css +157 -157
- package/cjs/Theme-stable/theme.css +252 -252
- package/cjs/TimeComponentCanvas2D-13c06086.js +591 -0
- package/cjs/TimeComponentCanvas2D-13c06086.js.map +1 -0
- package/cjs/ToggleButton-c614bbec.js +30 -0
- package/cjs/ToggleButton-c614bbec.js.map +1 -0
- package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +15 -15
- package/cjs/UNSAFE_BarChart.js +15 -15
- package/cjs/UNSAFE_BaseButton.js +2 -2
- package/cjs/UNSAFE_Button.js +3 -3
- package/cjs/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +5 -5
- package/cjs/UNSAFE_ButtonSetButton.js +3 -3
- package/cjs/UNSAFE_ButtonSetIconButton.js +3 -3
- package/cjs/UNSAFE_ButtonSetItem.js +5 -5
- package/cjs/UNSAFE_CardFlexView.js +4 -4
- package/cjs/UNSAFE_CardGridView.js +4 -4
- package/cjs/UNSAFE_Checkbox/themes/CheckboxStyles.css.js +1 -0
- package/cjs/UNSAFE_Checkbox/themes/CheckboxStyles.css.js.map +1 -1
- package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -0
- package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js.map +1 -1
- package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -0
- package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js.map +1 -1
- package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -0
- package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js.map +1 -1
- package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -0
- package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js.map +1 -1
- package/cjs/UNSAFE_Checkbox.js +8 -7
- package/cjs/UNSAFE_Checkbox.js.map +1 -1
- package/cjs/UNSAFE_CheckboxItem.js +5 -4
- package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
- package/cjs/UNSAFE_CheckboxSet.js +8 -7
- package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_ComboChart.js +15 -15
- package/cjs/UNSAFE_ComponentMessage.js +4 -4
- package/cjs/UNSAFE_ConveyorBelt.js +3 -3
- package/cjs/UNSAFE_DatePicker.js +10 -10
- package/cjs/UNSAFE_Diagram.js +9 -9
- package/cjs/UNSAFE_Dialog.js +4 -4
- package/cjs/UNSAFE_ExpandableList.js +7 -7
- package/cjs/UNSAFE_Gantt.js +5 -5
- package/cjs/UNSAFE_IconButton.js +3 -3
- package/cjs/UNSAFE_IconMenuButton.js +3 -3
- package/cjs/UNSAFE_IconProgressButton.js +3 -3
- package/cjs/UNSAFE_IconToggleButton.js +3 -3
- package/cjs/UNSAFE_Indexer.js +2 -2
- package/cjs/UNSAFE_InputDateMask.js +8 -8
- package/cjs/UNSAFE_InputDatePicker.js +95 -95
- package/cjs/UNSAFE_InputPassword.js +11 -11
- package/cjs/UNSAFE_InputSensitiveText.js +10 -10
- package/cjs/UNSAFE_InputText.js +9 -9
- package/cjs/UNSAFE_InputTimeMask.js +7 -7
- package/cjs/UNSAFE_Label.js +4 -4
- package/cjs/UNSAFE_LabelledLink.js +7 -7
- package/cjs/UNSAFE_LineAreaChart.js +15 -15
- package/cjs/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
- package/cjs/UNSAFE_Link.js +2 -2
- package/cjs/UNSAFE_ListView.js +5 -5
- package/cjs/UNSAFE_MenuButton.js +3 -3
- package/cjs/UNSAFE_MessageBanner.js +4 -4
- package/cjs/UNSAFE_MessageToast.js +5 -5
- package/cjs/UNSAFE_NavigationList.js +8 -8
- package/cjs/UNSAFE_NavigationListCommon.js +4 -4
- package/cjs/UNSAFE_NumberInputText.js +8 -8
- package/cjs/UNSAFE_OverflowTabBar.js +8 -8
- package/cjs/UNSAFE_PictoChart.js +4 -4
- package/cjs/UNSAFE_ProgressButton.js +3 -3
- package/cjs/UNSAFE_RadioItem.js +4 -4
- package/cjs/UNSAFE_RadioSet.js +9 -8
- package/cjs/UNSAFE_RadioSet.js.map +1 -1
- package/cjs/UNSAFE_RichCheckboxSet.js +8 -7
- package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_RichRadioSet.js +8 -7
- package/cjs/UNSAFE_RichRadioSet.js.map +1 -1
- package/cjs/UNSAFE_ScatterChart.js +15 -15
- package/cjs/UNSAFE_SelectMultiple.js +15 -15
- package/cjs/UNSAFE_SelectSingle.js +14 -14
- package/cjs/UNSAFE_Sheet/__test__/Sheet.spec.js +3 -3
- package/cjs/UNSAFE_SplitMenuButton.js +3 -3
- package/cjs/UNSAFE_TabBar.js +7 -7
- package/cjs/UNSAFE_TabBarCommon.js +7 -7
- package/cjs/UNSAFE_TabBarMixed.js +7 -7
- package/cjs/UNSAFE_TableView.js +7 -7
- package/cjs/UNSAFE_TagCloud.js +4 -4
- package/cjs/UNSAFE_TextArea.js +8 -8
- package/cjs/UNSAFE_TextAreaAutosize.js +8 -8
- package/cjs/UNSAFE_ToggleButton.js +3 -3
- package/cjs/UNSAFE_Toolbar/tests/Toolbar.spec.js +5 -5
- package/cjs/UNSAFE_UserAssistance.js +6 -6
- package/cjs/UNSAFE_VirtualizedListView.js +5 -5
- package/cjs/VirtualizedCollection-00aedb8b.js +180 -0
- package/cjs/VirtualizedCollection-00aedb8b.js.map +1 -0
- package/cjs/VirtualizedListView-ad3219ba.js +16 -0
- package/cjs/VirtualizedListView-ad3219ba.js.map +1 -0
- package/cjs/YearsGridView-67ce0a3a.js +190 -0
- package/cjs/YearsGridView-67ce0a3a.js.map +1 -0
- package/cjs/hooks/PRIVATE_useChartEvents.js +4 -4
- package/cjs/hooks/PRIVATE_useChartMarquee.js +8 -8
- package/cjs/hooks/PRIVATE_useVisDragModeControls.js +7 -7
- package/cjs/hooks/PRIVATE_useVisSelection.js +3 -3
- package/cjs/hooks/UNSAFE_usePressClick.js +1 -1
- package/cjs/useCellNavigation-d503e35f.js +124 -0
- package/cjs/useCellNavigation-d503e35f.js.map +1 -0
- package/cjs/useChartMarquee-7ffcda9e.js +295 -0
- package/cjs/useChartMarquee-7ffcda9e.js.map +1 -0
- package/cjs/usePressClick-7a34624a.js +41 -0
- package/cjs/usePressClick-7a34624a.js.map +1 -0
- package/cjs/useSelectCommon-38a38427.js +709 -0
- package/cjs/useSelectCommon-38a38427.js.map +1 -0
- package/cjs/useSelectDrill-ad5864fd.js +107 -0
- package/cjs/useSelectDrill-ad5864fd.js.map +1 -0
- package/cjs/useSelection-8f68a23a.js +188 -0
- package/cjs/useSelection-8f68a23a.js.map +1 -0
- package/cjs/useVisDragModeControls-d3a7aa57.js +89 -0
- package/cjs/useVisDragModeControls-d3a7aa57.js.map +1 -0
- package/es/ActionCard-bac27bb9.js +1 -1
- package/es/BarChart-43dec3b7.js +179 -0
- package/es/BarChart-43dec3b7.js.map +1 -0
- package/es/BarGroup-dbf70e2c.js +1 -1
- package/es/BaseButton-61f6baa8.js +172 -0
- package/es/BaseButton-61f6baa8.js.map +1 -0
- package/es/BaseCardView-724422f3.js +7 -7
- package/es/BaseCardViewSelectionTest-ef070684.js +721 -0
- package/es/BaseCardViewSelectionTest-ef070684.js.map +1 -0
- package/es/BaseNavigationListItem-1c75c13f.js +47 -0
- package/es/BaseNavigationListItem-1c75c13f.js.map +1 -0
- package/es/BaseRichSelection-72edca7c.js +342 -0
- package/es/BaseRichSelection-72edca7c.js.map +1 -0
- package/es/Button-f90514b2.js +22 -0
- package/es/Button-f90514b2.js.map +1 -0
- package/es/ButtonSet-9b2c41be.js +2 -2
- package/es/ButtonSetButton-974fc462.js +33 -0
- package/es/ButtonSetButton-974fc462.js.map +1 -0
- package/es/ButtonSetIconButton-0081167a.js +40 -0
- package/es/ButtonSetIconButton-0081167a.js.map +1 -0
- package/es/ButtonSetItem-eb2d43d4.js +65 -0
- package/es/ButtonSetItem-eb2d43d4.js.map +1 -0
- package/es/Card-31dc8dc2.js +15 -0
- package/es/Card-31dc8dc2.js.map +1 -0
- package/es/Center-2be68188.js +16 -0
- package/es/Center-2be68188.js.map +1 -0
- package/es/Chart-4ec13697.js +491 -0
- package/es/Chart-4ec13697.js.map +1 -0
- package/es/Checkbox-74259575.js +104 -0
- package/es/Checkbox-74259575.js.map +1 -0
- package/es/CheckboxControl-c3c34028.js +109 -0
- package/es/CheckboxControl-c3c34028.js.map +1 -0
- package/es/CheckboxRadioField-294463ba.js +183 -0
- package/es/CheckboxRadioField-294463ba.js.map +1 -0
- package/es/CheckboxSetContext-1be56556.js +9 -0
- package/es/CheckboxSetContext-1be56556.js.map +1 -0
- package/es/CheckboxStyles.styles.css +6 -0
- package/es/Chip-8fd813ce.js +1 -1
- package/es/ClearIcon-acca9670.js +21 -0
- package/es/ClearIcon-acca9670.js.map +1 -0
- package/es/CollapseIcon-152e59b4.js +1 -1
- package/es/Collapsible-4dddc4f7.js +2 -2
- package/es/ComboChart-d1c3e17a.js +172 -0
- package/es/ComboChart-d1c3e17a.js.map +1 -0
- package/es/CompactHelpSource-c3044924.js +2 -2
- package/es/CompactLabelAssistance-0d70fceb.js +34 -0
- package/es/CompactLabelAssistance-0d70fceb.js.map +1 -0
- package/es/CompactUserAssistance-4f0ff3fc.js +47 -0
- package/es/CompactUserAssistance-4f0ff3fc.js.map +1 -0
- package/es/ComponentMessageContainer-13005c12.js +68 -0
- package/es/ComponentMessageContainer-13005c12.js.map +1 -0
- package/es/ConveyorBeltItem-53f383e1.js +638 -0
- package/es/ConveyorBeltItem-53f383e1.js.map +1 -0
- package/es/DatePicker-a57b08b1.js +564 -0
- package/es/DatePicker-a57b08b1.js.map +1 -0
- package/es/DatePickerHeader-8eee60aa.js +44 -0
- package/es/DatePickerHeader-8eee60aa.js.map +1 -0
- package/es/Diagram-29d78c10.js +2035 -0
- package/es/Diagram-29d78c10.js.map +1 -0
- package/es/Dialog-8a9a90a2.js +344 -0
- package/es/Dialog-8a9a90a2.js.map +1 -0
- package/es/DirectionalCollapseArrowIcon-e1b04846.js +1 -1
- package/es/DirectionalExpandArrowIcon-c9218fa7.js +1 -1
- package/es/DragHandle-198c3118.js +22 -0
- package/es/DragHandle-198c3118.js.map +1 -0
- package/es/DrawerPopup-5292bdfc.js +381 -0
- package/es/DrawerPopup-5292bdfc.js.map +1 -0
- package/es/Dropdown-698afbc6.js +80 -0
- package/es/Dropdown-698afbc6.js.map +1 -0
- package/es/EmbeddedIconButton-7215a912.js +11 -0
- package/es/EmbeddedIconButton-7215a912.js.map +1 -0
- package/es/EnvironmentProvider-713d0dec.js +58 -0
- package/es/EnvironmentProvider-713d0dec.js.map +1 -0
- package/es/ExpandableList-27f4f0d4.js +167 -0
- package/es/ExpandableList-27f4f0d4.js.map +1 -0
- package/es/FilePicker-c3f06d6f.js +2 -2
- package/es/Flex-2d9ebee9.js +30 -0
- package/es/Flex-2d9ebee9.js.map +1 -0
- package/es/Floating-5191a9e6.js +462 -0
- package/es/Floating-5191a9e6.js.map +1 -0
- package/es/FormLayout-b2993e0c.js +1 -1
- package/es/Gantt-e156bd33.js +3817 -0
- package/es/Gantt-e156bd33.js.map +1 -0
- package/es/Grid-238d8757.js +27 -0
- package/es/Grid-238d8757.js.map +1 -0
- package/es/Gridlines-d37f55d2.js +168 -0
- package/es/Gridlines-d37f55d2.js.map +1 -0
- package/es/GroupLoadingIndicator-93bcf33f.js +1 -1
- package/es/HighlightText-fef35694.js +31 -0
- package/es/HighlightText-fef35694.js.map +1 -0
- package/es/Icon-030b6dd4.js +3 -3
- package/es/IconButton-19fcf0a8.js +37 -0
- package/es/IconButton-19fcf0a8.js.map +1 -0
- package/es/IconMenuButton-4118bde6.js +56 -0
- package/es/IconMenuButton-4118bde6.js.map +1 -0
- package/es/IconProgressButton-a595c052.js +47 -0
- package/es/IconProgressButton-a595c052.js.map +1 -0
- package/es/IconSwitchButton-dcafa86c.js +44 -0
- package/es/IconSwitchButton-dcafa86c.js.map +1 -0
- package/es/IconToggleButton-94cbea2b.js +43 -0
- package/es/IconToggleButton-94cbea2b.js.map +1 -0
- package/es/IconUserAssistance-d9bc82d4.js +73 -0
- package/es/IconUserAssistance-d9bc82d4.js.map +1 -0
- package/es/Indexer-18ec7af3.js +4 -4
- package/es/InlineHelpSource-5ed4bb7d.js +1 -1
- package/es/InlineUserAssistance-65ca8810.js +81 -0
- package/es/InlineUserAssistance-65ca8810.js.map +1 -0
- package/es/InputDateMask-8258be53.js +1056 -0
- package/es/InputDateMask-8258be53.js.map +1 -0
- package/es/InputDatePicker-a659ed3a.js +307 -0
- package/es/InputDatePicker-a659ed3a.js.map +1 -0
- package/es/InputPassword-65336899.js +155 -0
- package/es/InputPassword-65336899.js.map +1 -0
- package/es/InputText-21591785.js +197 -0
- package/es/InputText-21591785.js.map +1 -0
- package/es/Label-25eba25e.js +83 -0
- package/es/Label-25eba25e.js.map +1 -0
- package/es/LabelValueLayout-1db91391.js +1 -1
- package/es/Layer-1eb18747.js +91 -0
- package/es/Layer-1eb18747.js.map +1 -0
- package/es/LayerHost-8b98d97d.js +41 -0
- package/es/LayerHost-8b98d97d.js.map +1 -0
- package/es/LayerManager-221afe20.js +34 -0
- package/es/LayerManager-221afe20.js.map +1 -0
- package/es/Legend-0e274097.js +3 -3
- package/es/LineAreaChart-6fabda31.js +170 -0
- package/es/LineAreaChart-6fabda31.js.map +1 -0
- package/es/LineSeries-139bda1a.js +109 -0
- package/es/LineSeries-139bda1a.js.map +1 -0
- package/es/Link-c7061441.js +33 -0
- package/es/Link-c7061441.js.map +1 -0
- package/es/LinkVariants.styles.css +2 -1
- package/es/LinkVariants.styles2.css +2 -1
- package/es/List-58b8d3c9.js +5 -5
- package/es/ListItemLayout-af86b17d.js +110 -0
- package/es/ListItemLayout-af86b17d.js.map +1 -0
- package/es/ListView-be2e2736.js +3 -3
- package/es/LiveRegion-c7bf2f21.js +39 -0
- package/es/LiveRegion-c7bf2f21.js.map +1 -0
- package/es/MaxLengthLiveRegion-d790e55c.js +23 -0
- package/es/MaxLengthLiveRegion-d790e55c.js.map +1 -0
- package/es/Menu-a5bf756f.js +6 -6
- package/es/MenuButton-e012a909.js +61 -0
- package/es/MenuButton-e012a909.js.map +1 -0
- package/es/MenuItem-54015ca3.js +1 -1
- package/es/Message-b0150c6f.js +203 -0
- package/es/Message-b0150c6f.js.map +1 -0
- package/es/MessageLayer-d9129e22.js +58 -0
- package/es/MessageLayer-d9129e22.js.map +1 -0
- package/es/MessageToast-933a0339.js +241 -0
- package/es/MessageToast-933a0339.js.map +1 -0
- package/es/MessagesManager-91ade5dc.js +3 -3
- package/es/MeterBar-732e3b2c.js +5 -5
- package/es/MeterCircle-2156d7ff.js +5 -5
- package/es/Modal-9980f6d1.js +288 -0
- package/es/Modal-9980f6d1.js.map +1 -0
- package/es/MonthView-d60a5df7.js +208 -0
- package/es/MonthView-d60a5df7.js.map +1 -0
- package/es/NavigationList-fb05e081.js +159 -0
- package/es/NavigationList-fb05e081.js.map +1 -0
- package/es/NavigationListItem-193a315a.js +10 -0
- package/es/NavigationListItem-193a315a.js.map +1 -0
- package/es/NumberInputText-2d1aef12.js +220 -0
- package/es/NumberInputText-2d1aef12.js.map +1 -0
- package/es/OverflowTabBar-894c7cd9.js +69 -0
- package/es/OverflowTabBar-894c7cd9.js.map +1 -0
- package/es/OverflowTabBarItem-a578401b.js +87 -0
- package/es/OverflowTabBarItem-a578401b.js.map +1 -0
- package/es/PRIVATE_BaseCardView.js +21 -21
- package/es/PRIVATE_Chart.js +43 -43
- package/es/PRIVATE_CheckboxControl.js +28 -27
- package/es/PRIVATE_CheckboxControl.js.map +1 -1
- package/es/PRIVATE_CheckboxRadioField.js +33 -32
- package/es/PRIVATE_CheckboxRadioField.js.map +1 -1
- package/es/PRIVATE_ClearIcon.js +21 -21
- package/es/PRIVATE_DatePickerHeader.js +23 -23
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +6 -6
- package/es/PRIVATE_FormControls.js +19 -19
- package/es/PRIVATE_IconSwitchButton.js +18 -18
- package/es/PRIVATE_Icons/CheckboxMixed.js +15 -15
- package/es/PRIVATE_Icons/CheckboxOff.js +15 -15
- package/es/PRIVATE_Icons/CheckboxOn.js +15 -15
- package/es/PRIVATE_Icons/DragV.js +15 -15
- package/es/PRIVATE_Icons/WarningS.js +15 -15
- package/es/PRIVATE_List.js +19 -19
- package/es/PRIVATE_Message.js +22 -22
- package/es/PRIVATE_MessageLayer.js +12 -12
- package/es/PRIVATE_MonthView.js +8 -8
- package/es/PRIVATE_MonthYearGridView.js +8 -8
- package/es/PRIVATE_PlotArea.js +4 -4
- package/es/PRIVATE_RevealToggleIcon.js +20 -20
- package/es/PRIVATE_RichSelectionCommon.js +34 -33
- package/es/PRIVATE_RichSelectionCommon.js.map +1 -1
- package/es/PRIVATE_SelectCommon.js +35 -35
- package/es/PRIVATE_StyledCard.js +4 -4
- package/es/PRIVATE_StyledCheckbox.js +15 -15
- package/es/PRIVATE_Table.js +28 -28
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
- package/es/PRIVATE_TimeComponent.js +20 -20
- package/es/PRIVATE_VisOverview.js +15 -15
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-9624c62e.js +744 -0
- package/es/PictoChart-9624c62e.js.map +1 -0
- package/es/PieChart-87a2913f.js +6 -6
- package/es/Popup-f6774b40.js +258 -0
- package/es/Popup-f6774b40.js.map +1 -0
- package/es/ProgressBar-6d816723.js +62 -0
- package/es/ProgressBar-6d816723.js.map +1 -0
- package/es/ProgressButton-bb52347a.js +56 -0
- package/es/ProgressButton-bb52347a.js.map +1 -0
- package/es/ProgressButtonLabelLayout-f1d097d6.js +3 -3
- package/es/ProgressCircle-bbcf67fd.js +48 -0
- package/es/ProgressCircle-bbcf67fd.js.map +1 -0
- package/es/RadioItem-81e9e082.js +113 -0
- package/es/RadioItem-81e9e082.js.map +1 -0
- package/es/RadioSet-d2820846.js +43 -0
- package/es/RadioSet-d2820846.js.map +1 -0
- package/es/RatingGauge-5e1e75b4.js +8 -8
- package/es/ReadonlyTextFieldInput-f407b86c.js +1 -1
- package/es/RemovableNavigationListItem-21cd36b7.js +25 -0
- package/es/RemovableNavigationListItem-21cd36b7.js.map +1 -0
- package/es/RemovableTabBarItem-60574a52.js +36 -0
- package/es/RemovableTabBarItem-60574a52.js.map +1 -0
- package/es/ReorderableTabBar-c280e7d4.js +77 -0
- package/es/ReorderableTabBar-c280e7d4.js.map +1 -0
- package/es/RevealToggleIcon-8e650973.js +26 -0
- package/es/RevealToggleIcon-8e650973.js.map +1 -0
- package/es/ScatterChart-1f818935.js +103 -0
- package/es/ScatterChart-1f818935.js.map +1 -0
- package/es/SectionalLegend-64670096.js +4 -4
- package/es/SectionedContent-48fa242f.js +64 -0
- package/es/SectionedContent-48fa242f.js.map +1 -0
- package/es/SelectMultiple-c7f9e747.js +1297 -0
- package/es/SelectMultiple-c7f9e747.js.map +1 -0
- package/es/SelectSingle-75270526.js +730 -0
- package/es/SelectSingle-75270526.js.map +1 -0
- package/es/SelectionCard-ce3012e8.js +16 -0
- package/es/SelectionCard-ce3012e8.js.map +1 -0
- package/es/Selector-41618991.js +1 -1
- package/es/SelectorAll-27744634.js +69 -0
- package/es/SelectorAll-27744634.js.map +1 -0
- package/es/Sheet-924cfdab.js +158 -0
- package/es/Sheet-924cfdab.js.map +1 -0
- package/es/SplitMenuButton-5cb6e8db.js +139 -0
- package/es/SplitMenuButton-5cb6e8db.js.map +1 -0
- package/es/StyledCard-c8d9836f.js +105 -0
- package/es/StyledCard-c8d9836f.js.map +1 -0
- package/es/StyledLabelValueLayout-5b9a731a.js +18 -0
- package/es/StyledLabelValueLayout-5b9a731a.js.map +1 -0
- package/es/StyledTextField-6d6dd43e.js +3 -3
- package/es/TabBar-4d7054f7.js +82 -0
- package/es/TabBar-4d7054f7.js.map +1 -0
- package/es/TabBarItem-b97091e4.js +3 -3
- package/es/TabBarLayout-bb3f9f69.js +1 -1
- package/es/TabBarMixed-b8e2427c.js +83 -0
- package/es/TabBarMixed-b8e2427c.js.map +1 -0
- package/es/TabBarMixedSeparator-7669e2f0.js +19 -0
- package/es/TabBarMixedSeparator-7669e2f0.js.map +1 -0
- package/es/Table-b8c41429.js +5497 -0
- package/es/Table-b8c41429.js.map +1 -0
- package/es/TableView-2261b9de.js +31 -0
- package/es/TableView-2261b9de.js.map +1 -0
- package/es/TagCloud-0fe9b648.js +824 -0
- package/es/TagCloud-0fe9b648.js.map +1 -0
- package/es/TextArea-6584935d.js +177 -0
- package/es/TextArea-6584935d.js.map +1 -0
- package/es/TextAreaAutosize-2ca5256e.js +244 -0
- package/es/TextAreaAutosize-2ca5256e.js.map +1 -0
- package/es/TextField-500c0227.js +3 -3
- package/es/TextFieldInput-cb551f4e.js +1 -1
- package/es/Theme-redwood/theme.css +590 -590
- package/es/Theme-stable/theme.css +476 -476
- package/es/TimeComponentCanvas2D-a5baa5f6.js +568 -0
- package/es/TimeComponentCanvas2D-a5baa5f6.js.map +1 -0
- package/es/ToggleButton-c50ac048.js +28 -0
- package/es/ToggleButton-c50ac048.js.map +1 -0
- package/es/Toolbar-35426a1b.js +1 -1
- package/es/TruncatingBadge-69621d89.js +1 -1
- package/es/TruncatingText-fd66e0e0.js +1 -1
- package/es/UNSAFE_ActionCard.js +3 -3
- package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +44 -44
- package/es/UNSAFE_BarChart.js +44 -44
- package/es/UNSAFE_BaseButton.js +5 -5
- package/es/UNSAFE_Button.js +6 -6
- package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +26 -26
- package/es/UNSAFE_ButtonSet.js +4 -4
- package/es/UNSAFE_ButtonSetButton.js +6 -6
- package/es/UNSAFE_ButtonSetIconButton.js +18 -18
- package/es/UNSAFE_ButtonSetItem.js +20 -20
- package/es/UNSAFE_ButtonSetMultiple.js +4 -4
- package/es/UNSAFE_ButtonSetSingle.js +4 -4
- package/es/UNSAFE_Card.js +5 -5
- package/es/UNSAFE_CardFlexView.js +21 -21
- package/es/UNSAFE_CardGridView.js +21 -21
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_Checkbox/themes/CheckboxStyles.css.js +1 -0
- package/es/UNSAFE_Checkbox/themes/CheckboxStyles.css.js.map +1 -1
- package/es/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -0
- package/es/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js.map +1 -1
- package/es/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -0
- package/es/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js.map +1 -1
- package/es/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -0
- package/es/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js.map +1 -1
- package/es/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -0
- package/es/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js.map +1 -1
- package/es/UNSAFE_Checkbox.js +31 -30
- package/es/UNSAFE_Checkbox.js.map +1 -1
- package/es/UNSAFE_CheckboxItem.js +57 -108
- package/es/UNSAFE_CheckboxItem.js.map +1 -1
- package/es/UNSAFE_CheckboxSet.js +75 -40
- package/es/UNSAFE_CheckboxSet.js.map +1 -1
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +17 -17
- package/es/UNSAFE_ComboChart.js +46 -46
- package/es/UNSAFE_ComponentMessage.js +22 -22
- package/es/UNSAFE_ConveyorBelt.js +18 -18
- package/es/UNSAFE_DatePicker.js +30 -30
- package/es/UNSAFE_Diagram.js +27 -27
- package/es/UNSAFE_Dialog.js +24 -24
- package/es/UNSAFE_DragHandle.js +17 -17
- package/es/UNSAFE_DrawerLayout.js +12 -12
- package/es/UNSAFE_DrawerPopup.js +13 -13
- package/es/UNSAFE_Dropdown.js +13 -13
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +26 -26
- package/es/UNSAFE_FilePicker.js +4 -4
- package/es/UNSAFE_Flex.js +4 -4
- package/es/UNSAFE_Floating.js +11 -11
- package/es/UNSAFE_FormLayout.js +2 -2
- package/es/UNSAFE_Gantt.js +26 -26
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +15 -15
- package/es/UNSAFE_IconButton.js +18 -18
- package/es/UNSAFE_IconMenuButton.js +24 -24
- package/es/UNSAFE_IconProgressButton.js +21 -21
- package/es/UNSAFE_IconToggleButton.js +18 -18
- package/es/UNSAFE_Indexer.js +6 -6
- package/es/UNSAFE_InputDateMask.js +33 -33
- package/es/UNSAFE_InputDatePicker.js +119 -119
- package/es/UNSAFE_InputPassword.js +35 -35
- package/es/UNSAFE_InputSensitiveText.js +36 -36
- package/es/UNSAFE_InputText.js +36 -36
- package/es/UNSAFE_InputTimeMask.js +32 -32
- package/es/UNSAFE_Label.js +27 -27
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +32 -32
- package/es/UNSAFE_Layer.js +8 -8
- package/es/UNSAFE_Legend.js +25 -25
- package/es/UNSAFE_LineAreaChart.js +46 -46
- package/es/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
- package/es/UNSAFE_Link.js +4 -4
- package/es/UNSAFE_ListItemLayout.js +5 -5
- package/es/UNSAFE_ListView.js +28 -28
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +23 -23
- package/es/UNSAFE_MenuButton.js +24 -24
- package/es/UNSAFE_MessageBanner.js +22 -22
- package/es/UNSAFE_MessageToast.js +26 -26
- 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 +45 -43
- package/es/UNSAFE_NavigationList.js.map +1 -1
- package/es/UNSAFE_NavigationListCommon.js +74 -73
- package/es/UNSAFE_NavigationListCommon.js.map +1 -1
- package/es/UNSAFE_NumberInputText.js +34 -34
- package/es/UNSAFE_OverflowTabBar.js +56 -54
- package/es/UNSAFE_OverflowTabBar.js.map +1 -1
- package/es/UNSAFE_PictoChart.js +17 -17
- package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +22 -22
- package/es/UNSAFE_PieChart.js +22 -22
- package/es/UNSAFE_Popup.js +17 -17
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +21 -21
- package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/es/UNSAFE_ProgressCircle.js +4 -4
- package/es/UNSAFE_RadioItem.js +27 -27
- package/es/UNSAFE_RadioSet.js +33 -32
- package/es/UNSAFE_RadioSet.js.map +1 -1
- package/es/UNSAFE_RatingGauge.js +17 -17
- package/es/UNSAFE_ReorderableTabBar.js +49 -38
- package/es/UNSAFE_ReorderableTabBar.js.map +1 -1
- package/es/UNSAFE_RichCheckboxSet.js +54 -56
- package/es/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/es/UNSAFE_RichRadioSet.js +34 -33
- package/es/UNSAFE_RichRadioSet.js.map +1 -1
- package/es/UNSAFE_RichSelectionItem.js +58 -196
- package/es/UNSAFE_RichSelectionItem.js.map +1 -1
- package/es/UNSAFE_ScatterChart.js +46 -46
- package/es/UNSAFE_SectionalLegend.js +26 -26
- package/es/UNSAFE_SelectMultiple.js +42 -42
- package/es/UNSAFE_SelectSingle.js +41 -41
- package/es/UNSAFE_SelectionCard.js +5 -5
- package/es/UNSAFE_Selector.js +15 -15
- package/es/UNSAFE_SelectorAll.js +19 -19
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +18 -18
- package/es/UNSAFE_Sheet.js +12 -12
- package/es/UNSAFE_SplitMenuButton.js +24 -24
- package/es/UNSAFE_TabBar.js +56 -54
- package/es/UNSAFE_TabBar.js.map +1 -1
- package/es/UNSAFE_TabBarCommon.js +48 -46
- package/es/UNSAFE_TabBarCommon.js.map +1 -1
- package/es/UNSAFE_TabBarMixed.js +66 -64
- package/es/UNSAFE_TabBarMixed.js.map +1 -1
- package/es/UNSAFE_TableView.js +29 -29
- package/es/UNSAFE_TagCloud.js +27 -27
- package/es/UNSAFE_TextArea.js +35 -36
- package/es/UNSAFE_TextArea.js.map +1 -1
- package/es/UNSAFE_TextAreaAutosize.js +36 -36
- package/es/UNSAFE_TextField.js +8 -8
- package/es/UNSAFE_ToggleButton.js +6 -6
- package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +28 -28
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +16 -16
- package/es/UNSAFE_TruncatingBadge.js +16 -16
- package/es/UNSAFE_TruncatingText.js +16 -16
- package/es/UNSAFE_UserAssistance.js +30 -30
- 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-cf6dfd8e.js +167 -0
- package/es/View-cf6dfd8e.js.map +1 -0
- package/es/VisNoData-d6e475d8.js +32 -0
- package/es/VisNoData-d6e475d8.js.map +1 -0
- package/es/VisProgressiveLoader-36053d5a.js +51 -0
- package/es/VisProgressiveLoader-36053d5a.js.map +1 -0
- package/es/VisTabularDatatip-3497f5ff.js +24 -0
- package/es/VisTabularDatatip-3497f5ff.js.map +1 -0
- package/es/WindowOverlay-ca2baa48.js +110 -0
- package/es/WindowOverlay-ca2baa48.js.map +1 -0
- package/es/YearsGridView-2c978d9f.js +187 -0
- package/es/YearsGridView-2c978d9f.js.map +1 -0
- 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 +21 -21
- package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/es/hooks/PRIVATE_useChartEvents.js +20 -20
- package/es/hooks/PRIVATE_useChartMarquee.js +25 -25
- 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_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 +4 -4
- package/es/hooks/PRIVATE_useTooltipOnTruncation.js +16 -16
- package/es/hooks/PRIVATE_useVisContextMenu.js +21 -21
- package/es/hooks/PRIVATE_useVisDragModeControls.js +24 -24
- 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_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 +8 -8
- package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
- package/es/hooks/UNSAFE_usePressClick.js +1 -1
- 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 +16 -16
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/index-3fdaba9a.js +11 -0
- package/es/index-3fdaba9a.js.map +1 -0
- package/es/listViewSelectionTests-d1f64e6f.js +3 -3
- package/es/popupUtils-24a723a0.js +29 -0
- package/es/popupUtils-24a723a0.js.map +1 -0
- package/es/render-4d96f0d2.js +34 -0
- package/es/render-4d96f0d2.js.map +1 -0
- package/es/tabbableUtils-070beeed.js +79 -0
- package/es/tabbableUtils-070beeed.js.map +1 -0
- package/es/testData-e1df8616.js +256 -0
- package/es/testData-e1df8616.js.map +1 -0
- package/es/tooltipUtils-35655bd6.js +93 -0
- package/es/tooltipUtils-35655bd6.js.map +1 -0
- package/es/useCellNavigation-bdb3248d.js +121 -0
- package/es/useCellNavigation-bdb3248d.js.map +1 -0
- package/es/useChartContextMenu-61fe46b8.js +2 -2
- package/es/useChartDatatip-b0d35cfe.js +165 -0
- package/es/useChartDatatip-b0d35cfe.js.map +1 -0
- package/es/useChartMarquee-7cd47205.js +293 -0
- package/es/useChartMarquee-7cd47205.js.map +1 -0
- package/es/useColorScheme-8e5e458d.js +19 -0
- package/es/useColorScheme-8e5e458d.js.map +1 -0
- package/es/useContextMenu-3c62d9eb.js +2 -2
- package/es/useCssVars-608cb842.js +58 -0
- package/es/useCssVars-608cb842.js.map +1 -0
- package/es/useCurrentBgColor-ee671513.js +19 -0
- package/es/useCurrentBgColor-ee671513.js.map +1 -0
- package/es/useCurrentKey-b8e62707.js +81 -0
- package/es/useCurrentKey-b8e62707.js.map +1 -0
- package/es/useDatatip-daec4346.js +90 -0
- package/es/useDatatip-daec4346.js.map +1 -0
- package/es/useDensity-556ca8b2.js +19 -0
- package/es/useDensity-556ca8b2.js.map +1 -0
- package/es/useFloating-abfd69eb.js +1916 -0
- package/es/useFloating-abfd69eb.js.map +1 -0
- package/es/useKeyboardEvents-7202253d.js +78 -0
- package/es/useKeyboardEvents-7202253d.js.map +1 -0
- package/es/useLegendContextMenu-66d6eb7e.js +4 -4
- package/es/useMeterDatatip-dcd2a05e.js +73 -0
- package/es/useMeterDatatip-dcd2a05e.js.map +1 -0
- package/es/useNavigationListItem-a28f2c34.js +81 -0
- package/es/useNavigationListItem-a28f2c34.js.map +1 -0
- package/es/useOutsideClick-817bf098.js +101 -0
- package/es/useOutsideClick-817bf098.js.map +1 -0
- package/es/usePopupAnimation-6e0781b5.js +85 -0
- package/es/usePopupAnimation-6e0781b5.js.map +1 -0
- package/es/usePrefixSuffix-0874343c.js +70 -0
- package/es/usePrefixSuffix-0874343c.js.map +1 -0
- package/es/usePressClick-945cc43b.js +39 -0
- package/es/usePressClick-945cc43b.js.map +1 -0
- package/es/useReorderableItem-99a9dbce.js +268 -0
- package/es/useReorderableItem-99a9dbce.js.map +1 -0
- package/es/useRovingTabIndexContainer-f7972085.js +98 -0
- package/es/useRovingTabIndexContainer-f7972085.js.map +1 -0
- package/es/useScale-1cdb639e.js +19 -0
- package/es/useScale-1cdb639e.js.map +1 -0
- package/es/useSelectCommon-896b594a.js +686 -0
- package/es/useSelectCommon-896b594a.js.map +1 -0
- package/es/useSelectDrill-5525e5a3.js +104 -0
- package/es/useSelectDrill-5525e5a3.js.map +1 -0
- package/es/useSelection-2d26ab04.js +239 -0
- package/es/useSelection-2d26ab04.js.map +1 -0
- package/es/useSelection-8be05a70.js +186 -0
- package/es/useSelection-8be05a70.js.map +1 -0
- package/es/useTabBar-cbac0c2e.js +1 -1
- package/es/useTestId-474ac6ca.js +21 -0
- package/es/useTestId-474ac6ca.js.map +1 -0
- package/es/useTheme-5aa36f52.js +19 -0
- package/es/useTheme-5aa36f52.js.map +1 -0
- package/es/useThemeInterpolations-05e58770.js +57 -0
- package/es/useThemeInterpolations-05e58770.js.map +1 -0
- package/es/useTooltip-138c94ee.js +424 -0
- package/es/useTooltip-138c94ee.js.map +1 -0
- package/es/useTooltipOnTruncation-a97211b6.js +27 -0
- package/es/useTooltipOnTruncation-a97211b6.js.map +1 -0
- package/es/useTranslationBundle-2df40edf.js +29 -0
- package/es/useTranslationBundle-2df40edf.js.map +1 -0
- package/es/useUser-6b2e271a.js +19 -0
- package/es/useUser-6b2e271a.js.map +1 -0
- package/es/useVisDragModeControls-ed260d12.js +87 -0
- package/es/useVisDragModeControls-ed260d12.js.map +1 -0
- package/es/useVisEvents-d8652100.js +153 -0
- package/es/useVisEvents-d8652100.js.map +1 -0
- package/es/utils/PRIVATE_tooltipUtils.js +14 -14
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/utils/UNSAFE_popupUtils.js +8 -8
- package/es/withDirectionIcon-fe0b69a7.js +14 -0
- package/es/withDirectionIcon-fe0b69a7.js.map +1 -0
- package/es/withThemeProps-1621f692.js +2 -2
- package/package.json +2 -2
- package/types/UNSAFE_DatePicker/useCellNavigation.d.ts +0 -1
- package/types/UNSAFE_Link/themes/LinkStyles.css.d.ts +2 -1
- package/types/UNSAFE_Link/themes/redwood/LinkVariants.css.d.ts +2 -1
- package/types/UNSAFE_Link/themes/stable/LinkVariants.css.d.ts +2 -1
- package/types/hooks/UNSAFE_usePressClick/usePressClick.d.ts +1 -0
- package/amd/BarChart-1be56919.js +0 -2
- package/amd/BarChart-1be56919.js.map +0 -1
- package/amd/BaseButton-771c5db8.js +0 -2
- package/amd/BaseButton-771c5db8.js.map +0 -1
- package/amd/BaseCardView-4f88499c.js +0 -2
- package/amd/BaseCardView-4f88499c.js.map +0 -1
- package/amd/BaseCardViewSelectionTest-adaca8ca.js +0 -2
- package/amd/BaseCardViewSelectionTest-adaca8ca.js.map +0 -1
- package/amd/BaseRichSelection-eb93f0e2.js +0 -2
- package/amd/BaseRichSelection-eb93f0e2.js.map +0 -1
- package/amd/Button-af88bb81.js +0 -2
- package/amd/Button-af88bb81.js.map +0 -1
- package/amd/ButtonSetButton-00612cdd.js +0 -2
- package/amd/ButtonSetButton-00612cdd.js.map +0 -1
- package/amd/ButtonSetIconButton-d0684966.js +0 -2
- package/amd/ButtonSetIconButton-d0684966.js.map +0 -1
- package/amd/ButtonSetItem-1d88a72d.js +0 -2
- package/amd/ButtonSetItem-1d88a72d.js.map +0 -1
- package/amd/CardFlexView-86cb369a.js +0 -2
- package/amd/CardFlexView-86cb369a.js.map +0 -1
- package/amd/CardGridView-b3f11290.js +0 -2
- package/amd/CardGridView-b3f11290.js.map +0 -1
- package/amd/Chart-0a3205dd.js +0 -2
- package/amd/Chart-0a3205dd.js.map +0 -1
- package/amd/Checkbox-3a25138e.js +0 -2
- package/amd/Checkbox-3a25138e.js.map +0 -1
- package/amd/CheckboxControl-232e227d.js +0 -2
- package/amd/CheckboxControl-232e227d.js.map +0 -1
- package/amd/CheckboxRadioField-9b73f66b.js +0 -2
- package/amd/CheckboxRadioField-9b73f66b.js.map +0 -1
- package/amd/CheckboxSetContext-2e486ea8.js +0 -2
- package/amd/CheckboxSetContext-2e486ea8.js.map +0 -1
- package/amd/ClearIcon-f1befe37.js +0 -2
- package/amd/ClearIcon-f1befe37.js.map +0 -1
- package/amd/ComboChart-5dba7db4.js +0 -2
- package/amd/ComboChart-5dba7db4.js.map +0 -1
- package/amd/CompactUserAssistance-f962b357.js +0 -2
- package/amd/CompactUserAssistance-f962b357.js.map +0 -1
- package/amd/ComponentMessageContainer-13e53260.js +0 -2
- package/amd/ComponentMessageContainer-13e53260.js.map +0 -1
- package/amd/ConveyorBeltItem-1dfb412e.js +0 -2
- package/amd/ConveyorBeltItem-1dfb412e.js.map +0 -1
- package/amd/DatePicker-b907fb97.js +0 -2
- package/amd/DatePicker-b907fb97.js.map +0 -1
- package/amd/DatePickerHeader-d95959a6.js +0 -2
- package/amd/DatePickerHeader-d95959a6.js.map +0 -1
- package/amd/Diagram-92f409e0.js +0 -2
- package/amd/Diagram-92f409e0.js.map +0 -1
- package/amd/Dialog-b9dd8533.js +0 -2
- package/amd/Dialog-b9dd8533.js.map +0 -1
- package/amd/EmbeddedIconButton-8635fed8.js +0 -2
- package/amd/EmbeddedIconButton-8635fed8.js.map +0 -1
- package/amd/ExpandableList-c372fe68.js +0 -2
- package/amd/ExpandableList-c372fe68.js.map +0 -1
- package/amd/Gantt-f6a53a90.js +0 -2
- package/amd/Gantt-f6a53a90.js.map +0 -1
- package/amd/IconButton-05c6b793.js +0 -2
- package/amd/IconButton-05c6b793.js.map +0 -1
- package/amd/IconMenuButton-82a7258c.js +0 -2
- package/amd/IconMenuButton-82a7258c.js.map +0 -1
- package/amd/IconProgressButton-3bff5384.js +0 -2
- package/amd/IconProgressButton-3bff5384.js.map +0 -1
- package/amd/IconSwitchButton-faf2b405.js +0 -2
- package/amd/IconSwitchButton-faf2b405.js.map +0 -1
- package/amd/IconToggleButton-d5112634.js +0 -2
- package/amd/IconToggleButton-d5112634.js.map +0 -1
- package/amd/Indexer-510aaf3a.js +0 -2
- package/amd/Indexer-510aaf3a.js.map +0 -1
- package/amd/InlineUserAssistance-3d3e72a9.js +0 -2
- package/amd/InlineUserAssistance-3d3e72a9.js.map +0 -1
- package/amd/InputDateMask-55fcbf50.js +0 -2
- package/amd/InputDateMask-55fcbf50.js.map +0 -1
- package/amd/InputDatePicker-ecd4a7ce.js +0 -2
- package/amd/InputDatePicker-ecd4a7ce.js.map +0 -1
- package/amd/InputPassword-61090b77.js +0 -2
- package/amd/InputPassword-61090b77.js.map +0 -1
- package/amd/InputText-32954a14.js +0 -2
- package/amd/InputText-32954a14.js.map +0 -1
- package/amd/Label-7cbbe3b7.js +0 -2
- package/amd/Label-7cbbe3b7.js.map +0 -1
- package/amd/LineAreaChart-190b3d46.js +0 -2
- package/amd/LineAreaChart-190b3d46.js.map +0 -1
- package/amd/Link-2dae4de2.js +0 -2
- package/amd/Link-2dae4de2.js.map +0 -1
- package/amd/List-37e37948.js +0 -2
- package/amd/List-37e37948.js.map +0 -1
- package/amd/ListView-325e1814.js +0 -2
- package/amd/ListView-325e1814.js.map +0 -1
- package/amd/LoadMoreCollection-83413a59.js +0 -2
- package/amd/LoadMoreCollection-83413a59.js.map +0 -1
- package/amd/MenuButton-233a631a.js +0 -2
- package/amd/MenuButton-233a631a.js.map +0 -1
- package/amd/Message-40182dfc.js +0 -2
- package/amd/Message-40182dfc.js.map +0 -1
- package/amd/MessageToast-236687bd.js +0 -2
- package/amd/MessageToast-236687bd.js.map +0 -1
- package/amd/MonthView-c8a6ab15.js +0 -2
- package/amd/MonthView-c8a6ab15.js.map +0 -1
- package/amd/NumberInputText-91b73dcb.js +0 -2
- package/amd/NumberInputText-91b73dcb.js.map +0 -1
- package/amd/OverflowTabBar-ef21bcd3.js +0 -2
- package/amd/OverflowTabBar-ef21bcd3.js.map +0 -1
- package/amd/OverflowTabBarItem-db77f3d3.js +0 -2
- package/amd/OverflowTabBarItem-db77f3d3.js.map +0 -1
- package/amd/PictoChart-d5bedf82.js +0 -2
- package/amd/PictoChart-d5bedf82.js.map +0 -1
- package/amd/ProgressButton-e30c909b.js +0 -2
- package/amd/ProgressButton-e30c909b.js.map +0 -1
- package/amd/RadioItem-7ebada33.js +0 -2
- package/amd/RadioItem-7ebada33.js.map +0 -1
- package/amd/RadioSet-5e4b6669.js +0 -2
- package/amd/RadioSet-5e4b6669.js.map +0 -1
- package/amd/RemovableNavigationListItem-9950c473.js +0 -2
- package/amd/RemovableNavigationListItem-9950c473.js.map +0 -1
- package/amd/RemovableTabBarItem-fcada993.js +0 -2
- package/amd/RemovableTabBarItem-fcada993.js.map +0 -1
- package/amd/RevealToggleIcon-411d7a73.js +0 -2
- package/amd/RevealToggleIcon-411d7a73.js.map +0 -1
- package/amd/ScatterChart-3f6024a2.js +0 -2
- package/amd/ScatterChart-3f6024a2.js.map +0 -1
- package/amd/SelectMultiple-d3196bcd.js +0 -2
- package/amd/SelectMultiple-d3196bcd.js.map +0 -1
- package/amd/SelectSingle-007ab01c.js +0 -2
- package/amd/SelectSingle-007ab01c.js.map +0 -1
- package/amd/SplitMenuButton-65acf4d4.js +0 -2
- package/amd/SplitMenuButton-65acf4d4.js.map +0 -1
- package/amd/Table-52c72d48.js +0 -2
- package/amd/Table-52c72d48.js.map +0 -1
- package/amd/TableView-dc0766a7.js +0 -2
- package/amd/TableView-dc0766a7.js.map +0 -1
- package/amd/TagCloud-6afc73f7.js +0 -2
- package/amd/TagCloud-6afc73f7.js.map +0 -1
- package/amd/TextArea-f6b13c73.js +0 -2
- package/amd/TextArea-f6b13c73.js.map +0 -1
- package/amd/TextAreaAutosize-af350c32.js +0 -2
- package/amd/TextAreaAutosize-af350c32.js.map +0 -1
- package/amd/TimeComponentCanvas2D-27e55de9.js +0 -2
- package/amd/TimeComponentCanvas2D-27e55de9.js.map +0 -1
- package/amd/ToggleButton-a999647d.js +0 -2
- package/amd/ToggleButton-a999647d.js.map +0 -1
- package/amd/VirtualizedCollection-897516a5.js +0 -2
- package/amd/VirtualizedCollection-897516a5.js.map +0 -1
- package/amd/VirtualizedListView-0b9e1c53.js +0 -2
- package/amd/VirtualizedListView-0b9e1c53.js.map +0 -1
- package/amd/YearsGridView-c09d1d19.js +0 -2
- package/amd/YearsGridView-c09d1d19.js.map +0 -1
- package/amd/useCellNavigation-47060bc3.js +0 -2
- package/amd/useCellNavigation-47060bc3.js.map +0 -1
- package/amd/useChartMarquee-8ce16d57.js +0 -2
- package/amd/useChartMarquee-8ce16d57.js.map +0 -1
- package/amd/usePressClick-b7b38da2.js +0 -2
- package/amd/usePressClick-b7b38da2.js.map +0 -1
- package/amd/useSelectCommon-fd0e7664.js +0 -2
- package/amd/useSelectCommon-fd0e7664.js.map +0 -1
- package/amd/useSelectDrill-332195a7.js +0 -2
- package/amd/useSelectDrill-332195a7.js.map +0 -1
- package/amd/useSelection-04d131fa.js +0 -2
- package/amd/useSelection-04d131fa.js.map +0 -1
- package/amd/useVisDragModeControls-69001c64.js +0 -2
- package/amd/useVisDragModeControls-69001c64.js.map +0 -1
- package/cjs/BarChart-fae84003.js +0 -181
- package/cjs/BarChart-fae84003.js.map +0 -1
- package/cjs/BaseButton-97ec7696.js +0 -174
- package/cjs/BaseButton-97ec7696.js.map +0 -1
- package/cjs/BaseCardView-0be36db0.js +0 -687
- package/cjs/BaseCardView-0be36db0.js.map +0 -1
- package/cjs/BaseCardViewSelectionTest-d91b3015.js +0 -734
- package/cjs/BaseCardViewSelectionTest-d91b3015.js.map +0 -1
- package/cjs/BaseRichSelection-e2a38380.js +0 -344
- package/cjs/BaseRichSelection-e2a38380.js.map +0 -1
- package/cjs/Button-371573d5.js +0 -24
- package/cjs/Button-371573d5.js.map +0 -1
- package/cjs/ButtonSetButton-c6621073.js +0 -35
- package/cjs/ButtonSetButton-c6621073.js.map +0 -1
- package/cjs/ButtonSetIconButton-8645f3a5.js +0 -42
- package/cjs/ButtonSetIconButton-8645f3a5.js.map +0 -1
- package/cjs/ButtonSetItem-aa4211b4.js +0 -67
- package/cjs/ButtonSetItem-aa4211b4.js.map +0 -1
- package/cjs/CardFlexView-2547fc13.js +0 -29
- package/cjs/CardFlexView-2547fc13.js.map +0 -1
- package/cjs/CardGridView-c355e9d4.js +0 -17
- package/cjs/CardGridView-c355e9d4.js.map +0 -1
- package/cjs/Chart-b79289a8.js +0 -493
- package/cjs/Chart-b79289a8.js.map +0 -1
- package/cjs/Checkbox-5bfd221f.js +0 -106
- package/cjs/Checkbox-5bfd221f.js.map +0 -1
- package/cjs/CheckboxControl-3be46530.js +0 -111
- package/cjs/CheckboxControl-3be46530.js.map +0 -1
- package/cjs/CheckboxRadioField-037cddb9.js +0 -185
- package/cjs/CheckboxRadioField-037cddb9.js.map +0 -1
- package/cjs/ClearIcon-02e093be.js +0 -23
- package/cjs/ClearIcon-02e093be.js.map +0 -1
- package/cjs/ComboChart-e17d5863.js +0 -174
- package/cjs/ComboChart-e17d5863.js.map +0 -1
- package/cjs/CompactUserAssistance-b3c3929e.js +0 -49
- package/cjs/CompactUserAssistance-b3c3929e.js.map +0 -1
- package/cjs/ComponentMessageContainer-1cea67f6.js +0 -71
- package/cjs/ComponentMessageContainer-1cea67f6.js.map +0 -1
- package/cjs/ConveyorBeltItem-2577c86d.js +0 -641
- package/cjs/ConveyorBeltItem-2577c86d.js.map +0 -1
- package/cjs/DatePicker-c770df48.js +0 -566
- package/cjs/DatePicker-c770df48.js.map +0 -1
- package/cjs/DatePickerHeader-da8173f7.js +0 -46
- package/cjs/DatePickerHeader-da8173f7.js.map +0 -1
- package/cjs/Diagram-c4064fd7.js +0 -2037
- package/cjs/Diagram-c4064fd7.js.map +0 -1
- package/cjs/Dialog-c6c8024c.js +0 -346
- package/cjs/Dialog-c6c8024c.js.map +0 -1
- package/cjs/EmbeddedIconButton-89616e5f.js +0 -13
- package/cjs/EmbeddedIconButton-89616e5f.js.map +0 -1
- package/cjs/ExpandableList-d1823448.js +0 -169
- package/cjs/ExpandableList-d1823448.js.map +0 -1
- package/cjs/Gantt-674a89f8.js +0 -3819
- package/cjs/Gantt-674a89f8.js.map +0 -1
- package/cjs/IconButton-e7a68b4b.js +0 -39
- package/cjs/IconButton-e7a68b4b.js.map +0 -1
- package/cjs/IconMenuButton-3e540f38.js +0 -58
- package/cjs/IconMenuButton-3e540f38.js.map +0 -1
- package/cjs/IconProgressButton-3aa70c31.js +0 -49
- package/cjs/IconProgressButton-3aa70c31.js.map +0 -1
- package/cjs/IconSwitchButton-6bab813f.js +0 -46
- package/cjs/IconSwitchButton-6bab813f.js.map +0 -1
- package/cjs/IconToggleButton-7ec8c084.js +0 -45
- package/cjs/IconToggleButton-7ec8c084.js.map +0 -1
- package/cjs/Indexer-099ecbad.js +0 -339
- package/cjs/Indexer-099ecbad.js.map +0 -1
- package/cjs/InlineUserAssistance-5d6bac7a.js +0 -85
- package/cjs/InlineUserAssistance-5d6bac7a.js.map +0 -1
- package/cjs/InputDateMask-946f6dfa.js +0 -1060
- package/cjs/InputDateMask-946f6dfa.js.map +0 -1
- package/cjs/InputDatePicker-3dace90c.js +0 -309
- package/cjs/InputDatePicker-3dace90c.js.map +0 -1
- package/cjs/InputPassword-564260d2.js +0 -157
- package/cjs/InputPassword-564260d2.js.map +0 -1
- package/cjs/InputText-a9d46813.js +0 -199
- package/cjs/InputText-a9d46813.js.map +0 -1
- package/cjs/Label-2e05c87f.js +0 -85
- package/cjs/Label-2e05c87f.js.map +0 -1
- package/cjs/LineAreaChart-523ae108.js +0 -172
- package/cjs/LineAreaChart-523ae108.js.map +0 -1
- package/cjs/Link-a829e7f1.js +0 -35
- package/cjs/Link-a829e7f1.js.map +0 -1
- package/cjs/List-24abb3df.js +0 -722
- package/cjs/List-24abb3df.js.map +0 -1
- package/cjs/ListView-7e894199.js +0 -430
- package/cjs/ListView-7e894199.js.map +0 -1
- package/cjs/LoadMoreCollection-69bc038c.js +0 -34
- package/cjs/LoadMoreCollection-69bc038c.js.map +0 -1
- package/cjs/MenuButton-b811e5e4.js +0 -63
- package/cjs/MenuButton-b811e5e4.js.map +0 -1
- package/cjs/Message-d1d5538e.js +0 -208
- package/cjs/Message-d1d5538e.js.map +0 -1
- package/cjs/MessageToast-9154f05f.js +0 -243
- package/cjs/MessageToast-9154f05f.js.map +0 -1
- package/cjs/MonthView-35623a0e.js +0 -210
- package/cjs/MonthView-35623a0e.js.map +0 -1
- package/cjs/NavigationListItem-9b3d3258.js +0 -153
- package/cjs/NavigationListItem-9b3d3258.js.map +0 -1
- package/cjs/NumberInputText-6032717d.js +0 -223
- package/cjs/NumberInputText-6032717d.js.map +0 -1
- package/cjs/OverflowTabBar-794b4c93.js +0 -71
- package/cjs/OverflowTabBar-794b4c93.js.map +0 -1
- package/cjs/OverflowTabBarItem-43956479.js +0 -88
- package/cjs/OverflowTabBarItem-43956479.js.map +0 -1
- package/cjs/PictoChart-b650c050.js +0 -747
- package/cjs/PictoChart-b650c050.js.map +0 -1
- package/cjs/ProgressButton-1a01d49b.js +0 -58
- package/cjs/ProgressButton-1a01d49b.js.map +0 -1
- package/cjs/RadioItem-68304596.js +0 -115
- package/cjs/RadioItem-68304596.js.map +0 -1
- package/cjs/RadioSet-a16f664b.js +0 -45
- package/cjs/RadioSet-a16f664b.js.map +0 -1
- package/cjs/RemovableNavigationListItem-b13b3516.js +0 -26
- package/cjs/RemovableNavigationListItem-b13b3516.js.map +0 -1
- package/cjs/RemovableTabBarItem-e71b7be3.js +0 -38
- package/cjs/RemovableTabBarItem-e71b7be3.js.map +0 -1
- package/cjs/RevealToggleIcon-06b0b035.js +0 -28
- package/cjs/RevealToggleIcon-06b0b035.js.map +0 -1
- package/cjs/ScatterChart-bd2e0ebb.js +0 -105
- package/cjs/ScatterChart-bd2e0ebb.js.map +0 -1
- package/cjs/SelectMultiple-0d809f25.js +0 -1299
- package/cjs/SelectMultiple-0d809f25.js.map +0 -1
- package/cjs/SelectSingle-f5dd375a.js +0 -732
- package/cjs/SelectSingle-f5dd375a.js.map +0 -1
- package/cjs/SplitMenuButton-e7fd9b79.js +0 -141
- package/cjs/SplitMenuButton-e7fd9b79.js.map +0 -1
- package/cjs/Table-65e94df9.js +0 -5499
- package/cjs/Table-65e94df9.js.map +0 -1
- package/cjs/TableView-dfc37f9f.js +0 -33
- package/cjs/TableView-dfc37f9f.js.map +0 -1
- package/cjs/TagCloud-0aee2c72.js +0 -826
- package/cjs/TagCloud-0aee2c72.js.map +0 -1
- package/cjs/TextArea-a11875f3.js +0 -162
- package/cjs/TextArea-a11875f3.js.map +0 -1
- package/cjs/TextAreaAutosize-5a8e8335.js +0 -246
- package/cjs/TextAreaAutosize-5a8e8335.js.map +0 -1
- package/cjs/TimeComponentCanvas2D-e6be22d4.js +0 -591
- package/cjs/TimeComponentCanvas2D-e6be22d4.js.map +0 -1
- package/cjs/ToggleButton-8ac0ff29.js +0 -30
- package/cjs/ToggleButton-8ac0ff29.js.map +0 -1
- package/cjs/VirtualizedCollection-9e8c48b9.js +0 -180
- package/cjs/VirtualizedCollection-9e8c48b9.js.map +0 -1
- package/cjs/VirtualizedListView-0a4f07ca.js +0 -16
- package/cjs/VirtualizedListView-0a4f07ca.js.map +0 -1
- package/cjs/YearsGridView-83c7e684.js +0 -190
- package/cjs/YearsGridView-83c7e684.js.map +0 -1
- package/cjs/useCellNavigation-7a24d0c0.js +0 -129
- package/cjs/useCellNavigation-7a24d0c0.js.map +0 -1
- package/cjs/useChartMarquee-7c09d6ef.js +0 -295
- package/cjs/useChartMarquee-7c09d6ef.js.map +0 -1
- package/cjs/usePressClick-421494df.js +0 -33
- package/cjs/usePressClick-421494df.js.map +0 -1
- package/cjs/useSelectCommon-d593ef26.js +0 -709
- package/cjs/useSelectCommon-d593ef26.js.map +0 -1
- package/cjs/useSelectDrill-ddca7003.js +0 -107
- package/cjs/useSelectDrill-ddca7003.js.map +0 -1
- package/cjs/useSelection-810ecdc6.js +0 -188
- package/cjs/useSelection-810ecdc6.js.map +0 -1
- package/cjs/useVisDragModeControls-388926ea.js +0 -89
- package/cjs/useVisDragModeControls-388926ea.js.map +0 -1
- package/es/BarChart-bbc688ef.js +0 -179
- package/es/BarChart-bbc688ef.js.map +0 -1
- package/es/BaseButton-a0534b4d.js +0 -172
- package/es/BaseButton-a0534b4d.js.map +0 -1
- package/es/BaseCardViewSelectionTest-2e5f019a.js +0 -721
- package/es/BaseCardViewSelectionTest-2e5f019a.js.map +0 -1
- package/es/BaseNavigationListItem-af84a9ee.js +0 -119
- package/es/BaseNavigationListItem-af84a9ee.js.map +0 -1
- package/es/BaseRichSelection-9f2f2b59.js +0 -342
- package/es/BaseRichSelection-9f2f2b59.js.map +0 -1
- package/es/Button-f55c264d.js +0 -22
- package/es/Button-f55c264d.js.map +0 -1
- package/es/ButtonSetButton-226c9e73.js +0 -33
- package/es/ButtonSetButton-226c9e73.js.map +0 -1
- package/es/ButtonSetIconButton-2a046c9c.js +0 -40
- package/es/ButtonSetIconButton-2a046c9c.js.map +0 -1
- package/es/ButtonSetItem-43ef9553.js +0 -65
- package/es/ButtonSetItem-43ef9553.js.map +0 -1
- package/es/Card-f3b7c723.js +0 -15
- package/es/Card-f3b7c723.js.map +0 -1
- package/es/Center-76b761ea.js +0 -16
- package/es/Center-76b761ea.js.map +0 -1
- package/es/Chart-6291ad48.js +0 -491
- package/es/Chart-6291ad48.js.map +0 -1
- package/es/Checkbox-34816a7d.js +0 -104
- package/es/Checkbox-34816a7d.js.map +0 -1
- package/es/CheckboxControl-a9d4d9d5.js +0 -109
- package/es/CheckboxControl-a9d4d9d5.js.map +0 -1
- package/es/CheckboxRadioField-922ab9ff.js +0 -183
- package/es/CheckboxRadioField-922ab9ff.js.map +0 -1
- package/es/CheckboxSet-28953b25.js +0 -49
- package/es/CheckboxSet-28953b25.js.map +0 -1
- package/es/ClearIcon-29781882.js +0 -21
- package/es/ClearIcon-29781882.js.map +0 -1
- package/es/ComboChart-4738f936.js +0 -172
- package/es/ComboChart-4738f936.js.map +0 -1
- package/es/CompactLabelAssistance-fd3fb481.js +0 -34
- package/es/CompactLabelAssistance-fd3fb481.js.map +0 -1
- package/es/CompactUserAssistance-bd24e31a.js +0 -47
- package/es/CompactUserAssistance-bd24e31a.js.map +0 -1
- package/es/ComponentMessageContainer-6c106a09.js +0 -68
- package/es/ComponentMessageContainer-6c106a09.js.map +0 -1
- package/es/ConveyorBeltItem-ce67a451.js +0 -638
- package/es/ConveyorBeltItem-ce67a451.js.map +0 -1
- package/es/DatePicker-e7f2ef3c.js +0 -564
- package/es/DatePicker-e7f2ef3c.js.map +0 -1
- package/es/DatePickerHeader-9c0d4332.js +0 -44
- package/es/DatePickerHeader-9c0d4332.js.map +0 -1
- package/es/Diagram-b1f6a590.js +0 -2035
- package/es/Diagram-b1f6a590.js.map +0 -1
- package/es/Dialog-0ca362cc.js +0 -344
- package/es/Dialog-0ca362cc.js.map +0 -1
- package/es/DragHandle-99d4c921.js +0 -22
- package/es/DragHandle-99d4c921.js.map +0 -1
- package/es/DrawerPopup-9cdb203a.js +0 -381
- package/es/DrawerPopup-9cdb203a.js.map +0 -1
- package/es/Dropdown-60833900.js +0 -80
- package/es/Dropdown-60833900.js.map +0 -1
- package/es/EmbeddedIconButton-0c3562a1.js +0 -11
- package/es/EmbeddedIconButton-0c3562a1.js.map +0 -1
- package/es/EnvironmentProvider-bada8909.js +0 -58
- package/es/EnvironmentProvider-bada8909.js.map +0 -1
- package/es/ExpandableList-cbf9ae2c.js +0 -167
- package/es/ExpandableList-cbf9ae2c.js.map +0 -1
- package/es/Flex-ce31b351.js +0 -30
- package/es/Flex-ce31b351.js.map +0 -1
- package/es/Floating-f02677ba.js +0 -462
- package/es/Floating-f02677ba.js.map +0 -1
- package/es/Gantt-5a395647.js +0 -3817
- package/es/Gantt-5a395647.js.map +0 -1
- package/es/Grid-421eb560.js +0 -27
- package/es/Grid-421eb560.js.map +0 -1
- package/es/Gridlines-6098cb5b.js +0 -168
- package/es/Gridlines-6098cb5b.js.map +0 -1
- package/es/HighlightText-86d92552.js +0 -31
- package/es/HighlightText-86d92552.js.map +0 -1
- package/es/IconButton-f3f7af21.js +0 -37
- package/es/IconButton-f3f7af21.js.map +0 -1
- package/es/IconMenuButton-48909b85.js +0 -56
- package/es/IconMenuButton-48909b85.js.map +0 -1
- package/es/IconProgressButton-1c4d65c3.js +0 -47
- package/es/IconProgressButton-1c4d65c3.js.map +0 -1
- package/es/IconSwitchButton-5db4ae26.js +0 -44
- package/es/IconSwitchButton-5db4ae26.js.map +0 -1
- package/es/IconToggleButton-be6c0ba1.js +0 -43
- package/es/IconToggleButton-be6c0ba1.js.map +0 -1
- package/es/IconUserAssistance-92be9618.js +0 -73
- package/es/IconUserAssistance-92be9618.js.map +0 -1
- package/es/InlineUserAssistance-2677a1eb.js +0 -81
- package/es/InlineUserAssistance-2677a1eb.js.map +0 -1
- package/es/InputDateMask-76493bee.js +0 -1056
- package/es/InputDateMask-76493bee.js.map +0 -1
- package/es/InputDatePicker-836ee6f7.js +0 -307
- package/es/InputDatePicker-836ee6f7.js.map +0 -1
- package/es/InputPassword-fa63ac17.js +0 -155
- package/es/InputPassword-fa63ac17.js.map +0 -1
- package/es/InputText-ce2272a8.js +0 -197
- package/es/InputText-ce2272a8.js.map +0 -1
- package/es/Label-56ca049f.js +0 -83
- package/es/Label-56ca049f.js.map +0 -1
- package/es/Layer-446bf21e.js +0 -91
- package/es/Layer-446bf21e.js.map +0 -1
- package/es/LayerHost-e6402730.js +0 -41
- package/es/LayerHost-e6402730.js.map +0 -1
- package/es/LayerManager-fa745cec.js +0 -34
- package/es/LayerManager-fa745cec.js.map +0 -1
- package/es/LineAreaChart-d3586935.js +0 -170
- package/es/LineAreaChart-d3586935.js.map +0 -1
- package/es/LineSeries-fc167ea2.js +0 -109
- package/es/LineSeries-fc167ea2.js.map +0 -1
- package/es/Link-98742013.js +0 -33
- package/es/Link-98742013.js.map +0 -1
- package/es/ListItemLayout-e9854821.js +0 -110
- package/es/ListItemLayout-e9854821.js.map +0 -1
- package/es/LiveRegion-b56a1aa2.js +0 -39
- package/es/LiveRegion-b56a1aa2.js.map +0 -1
- package/es/MaxLengthCounter-181b4fc9.js +0 -25
- package/es/MaxLengthCounter-181b4fc9.js.map +0 -1
- package/es/MaxLengthLiveRegion-2f3d34cf.js +0 -23
- package/es/MaxLengthLiveRegion-2f3d34cf.js.map +0 -1
- package/es/MenuButton-c00e269e.js +0 -61
- package/es/MenuButton-c00e269e.js.map +0 -1
- package/es/Message-b9e16c1c.js +0 -203
- package/es/Message-b9e16c1c.js.map +0 -1
- package/es/MessageLayer-7e3184aa.js +0 -58
- package/es/MessageLayer-7e3184aa.js.map +0 -1
- package/es/MessageToast-f9b0a234.js +0 -241
- package/es/MessageToast-f9b0a234.js.map +0 -1
- package/es/Modal-24a0bf4b.js +0 -288
- package/es/Modal-24a0bf4b.js.map +0 -1
- package/es/MonthView-5e633194.js +0 -208
- package/es/MonthView-5e633194.js.map +0 -1
- package/es/NavigationListItem-37edc23b.js +0 -150
- package/es/NavigationListItem-37edc23b.js.map +0 -1
- package/es/NumberInputText-f5d01daa.js +0 -220
- package/es/NumberInputText-f5d01daa.js.map +0 -1
- package/es/OverflowTabBar-87b36877.js +0 -69
- package/es/OverflowTabBar-87b36877.js.map +0 -1
- package/es/OverflowTabBarItem-a2684d2b.js +0 -86
- package/es/OverflowTabBarItem-a2684d2b.js.map +0 -1
- package/es/PictoChart-5b71908b.js +0 -744
- package/es/PictoChart-5b71908b.js.map +0 -1
- package/es/Popup-d8bf7f4d.js +0 -258
- package/es/Popup-d8bf7f4d.js.map +0 -1
- package/es/ProgressBar-2fa99d6f.js +0 -62
- package/es/ProgressBar-2fa99d6f.js.map +0 -1
- package/es/ProgressButton-9390070e.js +0 -56
- package/es/ProgressButton-9390070e.js.map +0 -1
- package/es/ProgressCircle-faf79b79.js +0 -48
- package/es/ProgressCircle-faf79b79.js.map +0 -1
- package/es/RadioItem-96cbf0ed.js +0 -113
- package/es/RadioItem-96cbf0ed.js.map +0 -1
- package/es/RadioSet-c51b3d56.js +0 -43
- package/es/RadioSet-c51b3d56.js.map +0 -1
- package/es/RemovableNavigationListItem-517d59b0.js +0 -24
- package/es/RemovableNavigationListItem-517d59b0.js.map +0 -1
- package/es/RemovableTabBarItem-87ba87ca.js +0 -36
- package/es/RemovableTabBarItem-87ba87ca.js.map +0 -1
- package/es/ReorderableTabBar-fc76a33b.js +0 -77
- package/es/ReorderableTabBar-fc76a33b.js.map +0 -1
- package/es/RevealToggleIcon-35baaadf.js +0 -26
- package/es/RevealToggleIcon-35baaadf.js.map +0 -1
- package/es/ScatterChart-449ec029.js +0 -103
- package/es/ScatterChart-449ec029.js.map +0 -1
- package/es/SectionedContent-3274d8f9.js +0 -64
- package/es/SectionedContent-3274d8f9.js.map +0 -1
- package/es/SelectMultiple-50995ef7.js +0 -1297
- package/es/SelectMultiple-50995ef7.js.map +0 -1
- package/es/SelectSingle-dcf0e9b1.js +0 -730
- package/es/SelectSingle-dcf0e9b1.js.map +0 -1
- package/es/SelectionCard-1ed9cf08.js +0 -16
- package/es/SelectionCard-1ed9cf08.js.map +0 -1
- package/es/SelectorAll-f52550a6.js +0 -69
- package/es/SelectorAll-f52550a6.js.map +0 -1
- package/es/Sheet-da412baf.js +0 -158
- package/es/Sheet-da412baf.js.map +0 -1
- package/es/SplitMenuButton-f44064de.js +0 -139
- package/es/SplitMenuButton-f44064de.js.map +0 -1
- package/es/StyledCard-362bd74b.js +0 -105
- package/es/StyledCard-362bd74b.js.map +0 -1
- package/es/StyledLabelValueLayout-d4881d3b.js +0 -18
- package/es/StyledLabelValueLayout-d4881d3b.js.map +0 -1
- package/es/TabBar-2858ff9c.js +0 -77
- package/es/TabBar-2858ff9c.js.map +0 -1
- package/es/TabBarMixed-a4beabce.js +0 -78
- package/es/TabBarMixed-a4beabce.js.map +0 -1
- package/es/TabBarMixedSeparator-51c518a1.js +0 -19
- package/es/TabBarMixedSeparator-51c518a1.js.map +0 -1
- package/es/Table-9919625b.js +0 -5497
- package/es/Table-9919625b.js.map +0 -1
- package/es/TableView-c97ef8ee.js +0 -31
- package/es/TableView-c97ef8ee.js.map +0 -1
- package/es/TagCloud-3f81d651.js +0 -824
- package/es/TagCloud-3f81d651.js.map +0 -1
- package/es/TextArea-2eb362ec.js +0 -160
- package/es/TextArea-2eb362ec.js.map +0 -1
- package/es/TextAreaAutosize-35a923c3.js +0 -244
- package/es/TextAreaAutosize-35a923c3.js.map +0 -1
- package/es/TimeComponentCanvas2D-9fd1f811.js +0 -568
- package/es/TimeComponentCanvas2D-9fd1f811.js.map +0 -1
- package/es/ToggleButton-cf8226d9.js +0 -28
- package/es/ToggleButton-cf8226d9.js.map +0 -1
- package/es/View-afe98b65.js +0 -167
- package/es/View-afe98b65.js.map +0 -1
- package/es/VisNoData-9ceb58f4.js +0 -32
- package/es/VisNoData-9ceb58f4.js.map +0 -1
- package/es/VisProgressiveLoader-36c728ac.js +0 -51
- package/es/VisProgressiveLoader-36c728ac.js.map +0 -1
- package/es/VisTabularDatatip-59629377.js +0 -24
- package/es/VisTabularDatatip-59629377.js.map +0 -1
- package/es/WindowOverlay-a07b2e24.js +0 -110
- package/es/WindowOverlay-a07b2e24.js.map +0 -1
- package/es/YearsGridView-d859edba.js +0 -187
- package/es/YearsGridView-d859edba.js.map +0 -1
- package/es/index-e33bcd96.js +0 -11
- package/es/index-e33bcd96.js.map +0 -1
- package/es/popupUtils-58411a98.js +0 -29
- package/es/popupUtils-58411a98.js.map +0 -1
- package/es/render-343557e9.js +0 -34
- package/es/render-343557e9.js.map +0 -1
- package/es/tabbableUtils-d6485f5e.js +0 -79
- package/es/tabbableUtils-d6485f5e.js.map +0 -1
- package/es/testData-d5181e9f.js +0 -256
- package/es/testData-d5181e9f.js.map +0 -1
- package/es/tooltipUtils-768450a7.js +0 -93
- package/es/tooltipUtils-768450a7.js.map +0 -1
- package/es/useCellNavigation-88a1754f.js +0 -126
- package/es/useCellNavigation-88a1754f.js.map +0 -1
- package/es/useChartDatatip-d6a6c5e1.js +0 -165
- package/es/useChartDatatip-d6a6c5e1.js.map +0 -1
- package/es/useChartMarquee-6587dbec.js +0 -293
- package/es/useChartMarquee-6587dbec.js.map +0 -1
- package/es/useColorScheme-c4e237ad.js +0 -19
- package/es/useColorScheme-c4e237ad.js.map +0 -1
- package/es/useCssVars-d72a8439.js +0 -58
- package/es/useCssVars-d72a8439.js.map +0 -1
- package/es/useCurrentBgColor-14745af3.js +0 -19
- package/es/useCurrentBgColor-14745af3.js.map +0 -1
- package/es/useCurrentKey-7287061f.js +0 -81
- package/es/useCurrentKey-7287061f.js.map +0 -1
- package/es/useDatatip-9635bc2f.js +0 -90
- package/es/useDatatip-9635bc2f.js.map +0 -1
- package/es/useDensity-c17603b2.js +0 -19
- package/es/useDensity-c17603b2.js.map +0 -1
- package/es/useFloating-953362cf.js +0 -1916
- package/es/useFloating-953362cf.js.map +0 -1
- package/es/useKeyboardEvents-2378a650.js +0 -78
- package/es/useKeyboardEvents-2378a650.js.map +0 -1
- package/es/useMeterDatatip-834e67e1.js +0 -73
- package/es/useMeterDatatip-834e67e1.js.map +0 -1
- package/es/useOutsideClick-fd9ad806.js +0 -101
- package/es/useOutsideClick-fd9ad806.js.map +0 -1
- package/es/usePopupAnimation-f017bc43.js +0 -85
- package/es/usePopupAnimation-f017bc43.js.map +0 -1
- package/es/usePrefixSuffix-5a74f2c4.js +0 -70
- package/es/usePrefixSuffix-5a74f2c4.js.map +0 -1
- package/es/usePressClick-2ec8e098.js +0 -31
- package/es/usePressClick-2ec8e098.js.map +0 -1
- package/es/useReorderableItem-22ea4c46.js +0 -268
- package/es/useReorderableItem-22ea4c46.js.map +0 -1
- package/es/useRovingTabIndexContainer-bc7ae447.js +0 -98
- package/es/useRovingTabIndexContainer-bc7ae447.js.map +0 -1
- package/es/useScale-83881775.js +0 -19
- package/es/useScale-83881775.js.map +0 -1
- package/es/useSelectCommon-34645d9a.js +0 -686
- package/es/useSelectCommon-34645d9a.js.map +0 -1
- package/es/useSelectDrill-88337c1a.js +0 -104
- package/es/useSelectDrill-88337c1a.js.map +0 -1
- package/es/useSelection-01b28be6.js +0 -186
- package/es/useSelection-01b28be6.js.map +0 -1
- package/es/useSelection-649fd4f1.js +0 -239
- package/es/useSelection-649fd4f1.js.map +0 -1
- package/es/useTestId-9b504481.js +0 -21
- package/es/useTestId-9b504481.js.map +0 -1
- package/es/useTheme-93c07059.js +0 -19
- package/es/useTheme-93c07059.js.map +0 -1
- package/es/useThemeInterpolations-8dd8029f.js +0 -57
- package/es/useThemeInterpolations-8dd8029f.js.map +0 -1
- package/es/useTooltip-89ca3f3e.js +0 -424
- package/es/useTooltip-89ca3f3e.js.map +0 -1
- package/es/useTooltipOnTruncation-175bf8a6.js +0 -27
- package/es/useTooltipOnTruncation-175bf8a6.js.map +0 -1
- package/es/useTranslationBundle-09302c20.js +0 -29
- package/es/useTranslationBundle-09302c20.js.map +0 -1
- package/es/useUser-1cd223a9.js +0 -19
- package/es/useUser-1cd223a9.js.map +0 -1
- package/es/useVisDragModeControls-40fc83b5.js +0 -87
- package/es/useVisDragModeControls-40fc83b5.js.map +0 -1
- package/es/useVisEvents-8877743b.js +0 -153
- package/es/useVisEvents-8877743b.js.map +0 -1
- package/es/withDirectionIcon-19a1d777.js +0 -14
- package/es/withDirectionIcon-19a1d777.js.map +0 -1
|
@@ -0,0 +1,1060 @@
|
|
|
1
|
+
/* @oracle/oraclejet-preact: undefined */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var jsxRuntime = require('preact/jsx-runtime');
|
|
5
|
+
var compat = require('preact/compat');
|
|
6
|
+
var hooks = require('preact/hooks');
|
|
7
|
+
require('./logger-2b636482.js');
|
|
8
|
+
require('./TabbableModeContext-e99d527e.js');
|
|
9
|
+
var useTranslationBundle = require('./useTranslationBundle-40fa4c27.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
require('./UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css.js');
|
|
13
|
+
var InlineUserAssistance = require('./InlineUserAssistance-6c6d3250.js');
|
|
14
|
+
var CompactUserAssistance = require('./CompactUserAssistance-54247e7e.js');
|
|
15
|
+
require('./LayerHost-e7422109.js');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
require('./hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js');
|
|
19
|
+
require('./tooltipUtils-de8fb707.js');
|
|
20
|
+
var preact = require('preact');
|
|
21
|
+
|
|
22
|
+
require('./Popup-75881ab5.js');
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
require('./UNSAFE_Label/themes/redwood/LabelVariants.css.js');
|
|
26
|
+
require('./InputGroupContext-05f2a46f.js');
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
require('./UNSAFE_Popup/themes/redwood/PopupVariants.css.js');
|
|
30
|
+
var classNames = require('./classNames-c14c6ef3.js');
|
|
31
|
+
var clientHints = require('./clientHints-89c01238.js');
|
|
32
|
+
var keyboardUtils = require('./keyboardUtils-c071859a.js');
|
|
33
|
+
require('./getFormatParse-54d91cb3.js');
|
|
34
|
+
var maskUtils = require('./maskUtils-64b38149.js');
|
|
35
|
+
var UNSAFE_InputDateMask_themes_SegmentStyles_css = require('./UNSAFE_InputDateMask/themes/SegmentStyles.css.js');
|
|
36
|
+
var useUser = require('./useUser-3175822e.js');
|
|
37
|
+
var Flex = require('./Flex-1784952c.js');
|
|
38
|
+
var HiddenAccessible = require('./HiddenAccessible-087eb49a.js');
|
|
39
|
+
var LiveRegion = require('./LiveRegion-e68b3027.js');
|
|
40
|
+
var stringUtils = require('./stringUtils-4e4a6b2b.js');
|
|
41
|
+
var useComponentTheme = require('./useComponentTheme-082fc8e4.js');
|
|
42
|
+
var calendarDateUtils = require('./calendarDateUtils-6e7967c6.js');
|
|
43
|
+
var useDoubleTap = require('./useDoubleTap-d3937fb6.js');
|
|
44
|
+
var useTabbableMode = require('./useTabbableMode-5c8fd9e5.js');
|
|
45
|
+
var FormFieldContext = require('./FormFieldContext-8418dc68.js');
|
|
46
|
+
var useFormFieldContext = require('./useFormFieldContext-20f419ef.js');
|
|
47
|
+
var UNSAFE_TextField_themes_redwood_TextFieldInputTheme = require('./UNSAFE_TextField/themes/redwood/TextFieldInputTheme.js');
|
|
48
|
+
var Label = require('./Label-c51bd5de.js');
|
|
49
|
+
require('./TextFieldInput-e803efee.js');
|
|
50
|
+
|
|
51
|
+
var ReadonlyTextFieldInput = require('./ReadonlyTextFieldInput-9a0101dd.js');
|
|
52
|
+
var StyledTextField = require('./StyledTextField-4b29d77a.js');
|
|
53
|
+
var TextField = require('./TextField-ea5d00e0.js');
|
|
54
|
+
|
|
55
|
+
var useFocusableTextField = require('./useFocusableTextField-2c36840d.js');
|
|
56
|
+
require('./FormContext-9452bd30.js');
|
|
57
|
+
var useFormContext = require('./useFormContext-4c3091dc.js');
|
|
58
|
+
var useTextField = require('./useTextField-3ce8f0d0.js');
|
|
59
|
+
|
|
60
|
+
// Used to disable browser cut and paste, which don't really work with segments (copy is fine).
|
|
61
|
+
const preventDefaultHandler = (e) => {
|
|
62
|
+
e.preventDefault();
|
|
63
|
+
};
|
|
64
|
+
const isIos = () => clientHints.getClientHints().platform === 'ios';
|
|
65
|
+
/**
|
|
66
|
+
* A DateSegment renders a part of a calendar date, e.g. the day, month, or year.
|
|
67
|
+
* It can be used as a spinbutton to step or spin its value.
|
|
68
|
+
*/
|
|
69
|
+
const DateSegment = ({ 'aria-label': ariaLabel, 'aria-valuemax': ariaValueMax, 'aria-valuemin': ariaValueMin, 'aria-valuenow': ariaValueNow, 'aria-valuetext': ariaValueText, inputRef, isComplete, isDisabled, isHidden, isHighlighted, isInvalid, isRequired, isSelected, onChange, placeholder, text, type }) => {
|
|
70
|
+
const hasDisplayValue = text && text.length > 0;
|
|
71
|
+
const rootClasses = classNames.classNames([
|
|
72
|
+
UNSAFE_InputDateMask_themes_SegmentStyles_css.segmentStyles.base,
|
|
73
|
+
isSelected && UNSAFE_InputDateMask_themes_SegmentStyles_css.segmentStyles.selected,
|
|
74
|
+
isHighlighted && UNSAFE_InputDateMask_themes_SegmentStyles_css.segmentStyles.highlighted
|
|
75
|
+
]);
|
|
76
|
+
const placeholderClasses = classNames.classNames([
|
|
77
|
+
UNSAFE_InputDateMask_themes_SegmentStyles_css.segmentStyles.placeholder,
|
|
78
|
+
isHidden || hasDisplayValue ? UNSAFE_InputDateMask_themes_SegmentStyles_css.segmentStyles.hidden : UNSAFE_InputDateMask_themes_SegmentStyles_css.segmentStyles.notHidden
|
|
79
|
+
]);
|
|
80
|
+
const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
|
|
81
|
+
const emptySegmentValueText = translations.inputDateMask_empty_segment();
|
|
82
|
+
// If a ref was passed in, use it, otherwise get a ref.
|
|
83
|
+
const sRef = hooks.useRef(null);
|
|
84
|
+
const segmentRef = inputRef ?? sRef;
|
|
85
|
+
const hasLeadingZero = hooks.useRef(false);
|
|
86
|
+
const { locale } = useUser.useUser();
|
|
87
|
+
const onKeyDown = hooks.useCallback((event) => {
|
|
88
|
+
if (isDisabled ||
|
|
89
|
+
event.key === 'Tab' ||
|
|
90
|
+
event.key === 'ArrowLeft' ||
|
|
91
|
+
event.key === 'ArrowRight' ||
|
|
92
|
+
event.key === 'Enter' ||
|
|
93
|
+
keyboardUtils.isSelectAll(event)) {
|
|
94
|
+
// Let the event pass through.
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
if (isHighlighted) {
|
|
98
|
+
// If date is selected, ignore edits and let backspace/delete pass through to clear.
|
|
99
|
+
if (keyboardUtils.isBackspaceOrDelete(event) || event.key === 'Backspace') {
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
else if (event.key === '0' && (isComplete || text === undefined)) {
|
|
104
|
+
// Typing '0' is considered a leading zero if the segment is complete, in which case
|
|
105
|
+
// the user is typing a new value, or if there is no current value.
|
|
106
|
+
hasLeadingZero.current = true;
|
|
107
|
+
}
|
|
108
|
+
else if (maskUtils.isNumberOnlyString(event.key)) {
|
|
109
|
+
onChange?.({
|
|
110
|
+
actionType: 'updateSegment',
|
|
111
|
+
data: { type, text: event.key, hasLeadingZero: hasLeadingZero.current, locale }
|
|
112
|
+
});
|
|
113
|
+
hasLeadingZero.current = false;
|
|
114
|
+
}
|
|
115
|
+
else if (keyboardUtils.isBackspaceOrDelete(event) || event.key === 'Backspace') {
|
|
116
|
+
// Android sends Backspace as event.key, not event.code, so check for it.
|
|
117
|
+
onChange?.({ actionType: 'clearSegment', data: { type } });
|
|
118
|
+
hasLeadingZero.current = false;
|
|
119
|
+
}
|
|
120
|
+
else if (event.key === 'ArrowUp') {
|
|
121
|
+
onChange?.({ actionType: 'step', data: { direction: 'increase', locale, type } });
|
|
122
|
+
hasLeadingZero.current = false;
|
|
123
|
+
}
|
|
124
|
+
else if (event.key === 'ArrowDown') {
|
|
125
|
+
onChange?.({ actionType: 'step', data: { direction: 'decrease', locale, type } });
|
|
126
|
+
hasLeadingZero.current = false;
|
|
127
|
+
}
|
|
128
|
+
else if (event.key === 'PageUp') {
|
|
129
|
+
onChange?.({ actionType: 'page', data: { direction: 'increase', locale, type } });
|
|
130
|
+
hasLeadingZero.current = false;
|
|
131
|
+
}
|
|
132
|
+
else if (event.key === 'PageDown') {
|
|
133
|
+
onChange?.({ actionType: 'page', data: { direction: 'decrease', locale, type } });
|
|
134
|
+
hasLeadingZero.current = false;
|
|
135
|
+
}
|
|
136
|
+
else if (event.key === 'Home') {
|
|
137
|
+
onChange?.({ actionType: 'goToHome', data: { locale, type } });
|
|
138
|
+
hasLeadingZero.current = false;
|
|
139
|
+
}
|
|
140
|
+
else if (event.key === 'End') {
|
|
141
|
+
onChange?.({ actionType: 'goToEnd', data: { locale, type } });
|
|
142
|
+
hasLeadingZero.current = false;
|
|
143
|
+
}
|
|
144
|
+
event.preventDefault();
|
|
145
|
+
event.stopPropagation();
|
|
146
|
+
}, [isComplete, isDisabled, isHighlighted, locale, onChange, text, type]);
|
|
147
|
+
// Used to focus the segment when isSelected is true.
|
|
148
|
+
hooks.useEffect(() => {
|
|
149
|
+
if (isSelected) {
|
|
150
|
+
segmentRef.current?.focus();
|
|
151
|
+
}
|
|
152
|
+
}, [isSelected, segmentRef]);
|
|
153
|
+
// This attribute is used to distinguish between segments when clicked (see DateField.tsx).
|
|
154
|
+
const customDataAttribute = { 'data-segment': [type] };
|
|
155
|
+
// If ariaValueText is undefined, substitute a string that indicates the segment is empty.
|
|
156
|
+
// If ariaValueNow and ariaValueText represent the same value, omit the value text; this
|
|
157
|
+
// is the same as what we do in NumberInputText.
|
|
158
|
+
const valueText = ariaValueText === undefined
|
|
159
|
+
? emptySegmentValueText
|
|
160
|
+
: ariaValueNow?.toString() === ariaValueText
|
|
161
|
+
? undefined
|
|
162
|
+
: ariaValueText;
|
|
163
|
+
return (
|
|
164
|
+
// Introduce a div wrapper around the contentEditable element to prevent it from grabbing focus.
|
|
165
|
+
// https://stackoverflow.com/questions/34354085/clicking-outside-a-contenteditable-div-stills-give-focus-to-it
|
|
166
|
+
// JET-64874: We change the segment's role to "textbox" on iOS to work around a VoiceOver bug.
|
|
167
|
+
jsxRuntime.jsx("div", { children: jsxRuntime.jsxs("div", { ref: segmentRef, role: isIos() ? 'textbox' : 'spinbutton', "aria-disabled": isDisabled, "aria-invalid": isInvalid || undefined, "aria-label": ariaLabel, "aria-required": isRequired, "aria-valuemin": isIos() ? undefined : ariaValueMin, "aria-valuemax": isIos() ? undefined : ariaValueMax, "aria-valuenow": isIos() ? undefined : ariaValueNow, "aria-valuetext": isIos() ? undefined : valueText, autocapitalize: "off", autocorrect: "off", class: rootClasses, contentEditable: !isDisabled, ...customDataAttribute, enterkeyhint: isDisabled ? undefined : 'done', inputMode: isDisabled ? 'none' : 'numeric', onCut: preventDefaultHandler, onKeyDown: onKeyDown, onPaste: preventDefaultHandler, spellcheck: false, tabIndex: isSelected ? 0 : -1, children: [jsxRuntime.jsx("span", { "aria-hidden": "true", class: placeholderClasses, ...customDataAttribute, children: placeholder }), text] }) }));
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* LiteralSegment is used to represent a literal separator in a calendar date,
|
|
172
|
+
* such as the '/' in 11/29/2023.
|
|
173
|
+
*/
|
|
174
|
+
const LiteralSegment = ({ isHidden, isHighlighted, isPlaceholder, text }) => {
|
|
175
|
+
const spanClasses = classNames.classNames([
|
|
176
|
+
UNSAFE_InputDateMask_themes_SegmentStyles_css.segmentStyles.literalBase,
|
|
177
|
+
isPlaceholder && UNSAFE_InputDateMask_themes_SegmentStyles_css.segmentStyles.placeholder,
|
|
178
|
+
isHighlighted && UNSAFE_InputDateMask_themes_SegmentStyles_css.segmentStyles.highlighted,
|
|
179
|
+
isHidden ? UNSAFE_InputDateMask_themes_SegmentStyles_css.segmentStyles.hidden : UNSAFE_InputDateMask_themes_SegmentStyles_css.segmentStyles.notHidden
|
|
180
|
+
]);
|
|
181
|
+
return (jsxRuntime.jsx("span", { "aria-hidden": "true", class: spanClasses, children: text }));
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @license
|
|
186
|
+
* Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
|
|
187
|
+
* The Universal Permissive License (UPL), Version 1.0
|
|
188
|
+
* as shown at https://oss.oracle.com/licenses/upl/
|
|
189
|
+
* @ignore
|
|
190
|
+
*/
|
|
191
|
+
/**
|
|
192
|
+
* Reducer function for updating DateFieldState per the specified DateFieldAction.
|
|
193
|
+
* @param state
|
|
194
|
+
* @param action
|
|
195
|
+
*/
|
|
196
|
+
const dateReducer = (state, action) => {
|
|
197
|
+
// On mount, the reducer is initialized with initial state derived from the DateField's value.
|
|
198
|
+
// If that value is changed programmatically afterwards, the only way to push that update
|
|
199
|
+
// into the reducer is to define a "reset" action.
|
|
200
|
+
if (action.actionType === 'reset') {
|
|
201
|
+
return action.data;
|
|
202
|
+
}
|
|
203
|
+
const segmentType = action.data?.type;
|
|
204
|
+
const segmentState = findSegment$1(state.segments, segmentType);
|
|
205
|
+
switch (action.actionType) {
|
|
206
|
+
case 'clearDate': {
|
|
207
|
+
const updatedSegments = selectFirst(clearDate(state.segments), state.orderedSegments);
|
|
208
|
+
return createDateFieldStateWithSelectedDate(state, updatedSegments, false);
|
|
209
|
+
}
|
|
210
|
+
case 'clearSegment': {
|
|
211
|
+
const updatedSegment = clearSegment(segmentState);
|
|
212
|
+
return createDateFieldState(state, segmentType, updatedSegment);
|
|
213
|
+
}
|
|
214
|
+
case 'commit': {
|
|
215
|
+
const updatedSegments = clearSelectionAndComplete(state.segments);
|
|
216
|
+
return createDateFieldStateWithSelectedDate(state, updatedSegments, false);
|
|
217
|
+
}
|
|
218
|
+
case 'goToEnd': {
|
|
219
|
+
const updatedSegment = goToEnd(segmentType, segmentState, state.segments, action.data?.locale);
|
|
220
|
+
return createDateFieldState(state, segmentType, updatedSegment, false);
|
|
221
|
+
}
|
|
222
|
+
case 'goToHome': {
|
|
223
|
+
const updatedSegment = goToHome(segmentType, segmentState, state.segments, action.data?.locale);
|
|
224
|
+
return createDateFieldState(state, segmentType, updatedSegment, false);
|
|
225
|
+
}
|
|
226
|
+
case 'page': {
|
|
227
|
+
const direction = action.data?.direction;
|
|
228
|
+
const locale = action.data?.locale;
|
|
229
|
+
const updatedSegment = doStepOrPage(segmentType, segmentState, state.segments, 'page', direction, locale);
|
|
230
|
+
return createDateFieldState(state, segmentType, updatedSegment, false);
|
|
231
|
+
}
|
|
232
|
+
case 'selectDateOrSegment': {
|
|
233
|
+
return selectDateOrSegment(state);
|
|
234
|
+
}
|
|
235
|
+
case 'selectFirst': {
|
|
236
|
+
const updatedSegments = selectFirst(state.segments, state.orderedSegments);
|
|
237
|
+
return createDateFieldStateWithSelectedDate(state, updatedSegments, false);
|
|
238
|
+
}
|
|
239
|
+
case 'selectNext': {
|
|
240
|
+
const updatedSegments = selectNext(state.segments, state.orderedSegments);
|
|
241
|
+
return createDateFieldStateWithSelectedDate(state, updatedSegments, false);
|
|
242
|
+
}
|
|
243
|
+
case 'selectPrevious': {
|
|
244
|
+
const updatedSegments = selectPrevious(state.segments, state.orderedSegments);
|
|
245
|
+
return createDateFieldStateWithSelectedDate(state, updatedSegments, false);
|
|
246
|
+
}
|
|
247
|
+
case 'selectSegment': {
|
|
248
|
+
const updatedSegments = selectSegment(state.segments, segmentType);
|
|
249
|
+
return createDateFieldStateWithSelectedDate(state, updatedSegments, false);
|
|
250
|
+
}
|
|
251
|
+
case 'step': {
|
|
252
|
+
const direction = action.data?.direction;
|
|
253
|
+
const locale = action.data?.locale;
|
|
254
|
+
const updatedSegment = doStepOrPage(segmentType, segmentState, state.segments, 'step', direction, locale);
|
|
255
|
+
return createDateFieldState(state, segmentType, updatedSegment, false);
|
|
256
|
+
}
|
|
257
|
+
case 'updateSegment': {
|
|
258
|
+
const updatedSegment = updateSegment(segmentType, segmentState, action, state.segments);
|
|
259
|
+
return createDateFieldState(state, segmentType, updatedSegment);
|
|
260
|
+
}
|
|
261
|
+
default: {
|
|
262
|
+
throw new Error('Unknown action type');
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
const stringToNumber = (s) => +s;
|
|
267
|
+
const numberToString = (n) => n.toString();
|
|
268
|
+
const withinRange = (n, min, max) => n >= min && n <= max;
|
|
269
|
+
const findSegment$1 = (segments, type) => {
|
|
270
|
+
return segments.find((segment) => segment.type === type);
|
|
271
|
+
};
|
|
272
|
+
// A segment is considered complete if appending a zero to the current value causes it
|
|
273
|
+
// to exceed the max. For instance, if you type 2-9 into month or 4-9 into day, the
|
|
274
|
+
// segment is complete because you can't type any more digits and have it be a valid value.
|
|
275
|
+
const isSegmentComplete = (val, max) => {
|
|
276
|
+
const num = stringToNumber(numberToString(val) + '0');
|
|
277
|
+
return num > max;
|
|
278
|
+
};
|
|
279
|
+
// A date is considered complete if all of its segments have values.
|
|
280
|
+
const isDateComplete = (allSegments) => {
|
|
281
|
+
return allSegments.every((seg) => seg.text && seg.text.length > 0);
|
|
282
|
+
};
|
|
283
|
+
// A date is considered a partial date if at least one segment has a value.
|
|
284
|
+
const isPartialDate = (allSegments) => {
|
|
285
|
+
return allSegments.some((seg) => seg['aria-valuenow'] !== undefined);
|
|
286
|
+
};
|
|
287
|
+
// Construct a calendar date that reflects the values of each segment.
|
|
288
|
+
// If none of the segments have a value, return undefined.
|
|
289
|
+
const createCalendarDateFromSegments = (segments) => {
|
|
290
|
+
const hasAnySegmentWithAValue = isPartialDate(segments);
|
|
291
|
+
if (!hasAnySegmentWithAValue) {
|
|
292
|
+
return undefined;
|
|
293
|
+
}
|
|
294
|
+
// This returns something that looks like [ {month: 12}, {day: 25}, {year: 2020} ].
|
|
295
|
+
// Note: we use the aria-valuenow to get the current value as a number (not string).
|
|
296
|
+
const segmentValues = segments.map((seg) => {
|
|
297
|
+
return { [seg.type]: seg['aria-valuenow'] };
|
|
298
|
+
});
|
|
299
|
+
// Iterate over segmentValues and spread each value to get {month: 12, day:25, year: 2020}.
|
|
300
|
+
const iterator = segmentValues.values();
|
|
301
|
+
let cd = {};
|
|
302
|
+
for (const segValue of iterator) {
|
|
303
|
+
cd = { ...cd, ...segValue };
|
|
304
|
+
}
|
|
305
|
+
return cd;
|
|
306
|
+
};
|
|
307
|
+
// Find the current value for year.
|
|
308
|
+
const getYearValue = (segments) => {
|
|
309
|
+
const yearState = findSegment$1(segments, 'year');
|
|
310
|
+
return yearState['aria-valuenow'];
|
|
311
|
+
};
|
|
312
|
+
// Find the current value for month.
|
|
313
|
+
const getMonthValue = (segments) => {
|
|
314
|
+
const monthState = findSegment$1(segments, 'month');
|
|
315
|
+
return monthState['aria-valuenow'];
|
|
316
|
+
};
|
|
317
|
+
// Determine the aria-valuetext for the given month, which includes the month name.
|
|
318
|
+
const getMonthAria = (locale, month, year) => {
|
|
319
|
+
const monthName = maskUtils.getMonthName(locale, month, year ?? '*', 'long');
|
|
320
|
+
return `${month} - ${monthName}`;
|
|
321
|
+
};
|
|
322
|
+
// Return a copy of the ordered segments array.
|
|
323
|
+
const getOrderedSegments = (currentState) => {
|
|
324
|
+
return [...currentState.orderedSegments];
|
|
325
|
+
};
|
|
326
|
+
// Replace the updated segment and return a new DateSegmentState[].
|
|
327
|
+
const replaceDateSegment = (existingSegments, updatedSegmentType, updatedSegment) => {
|
|
328
|
+
return existingSegments.map((seg) => (seg.type === updatedSegmentType ? updatedSegment : seg));
|
|
329
|
+
};
|
|
330
|
+
// Return a new DateSegmentState[] that reflects changes across all segments.
|
|
331
|
+
// When you change the month this can affect the day, for instance.
|
|
332
|
+
const createDateSegmentStates = (existingSegments, orderedSegments, updatedSegmentType, updatedSegment, autoAdvance) => {
|
|
333
|
+
const modifiedSegments = replaceDateSegment(existingSegments, updatedSegmentType, updatedSegment);
|
|
334
|
+
let updatedSegments = modifiedSegments;
|
|
335
|
+
if (updatedSegmentType === 'month' || updatedSegmentType === 'year') {
|
|
336
|
+
// If month was changed, update the day as needed; this includes adjusting the
|
|
337
|
+
// day value if it now exceeds the max number of days in the month.
|
|
338
|
+
// If year was changed, that can also affect the max number of days (if month is February).
|
|
339
|
+
const daySeg = findSegment$1(modifiedSegments, 'day');
|
|
340
|
+
if (daySeg) {
|
|
341
|
+
const monthValue = updatedSegmentType == 'month'
|
|
342
|
+
? updatedSegment['aria-valuenow']
|
|
343
|
+
: getMonthValue(modifiedSegments);
|
|
344
|
+
const yearValue = updatedSegmentType === 'year'
|
|
345
|
+
? updatedSegment['aria-valuenow']
|
|
346
|
+
: getYearValue(modifiedSegments);
|
|
347
|
+
const dayMax = calendarDateUtils.getDaysInMonth(monthValue ?? '*', yearValue ?? '*');
|
|
348
|
+
const currentDay = daySeg['aria-valuenow'];
|
|
349
|
+
const dayValue = !!currentDay && currentDay > dayMax ? dayMax : currentDay;
|
|
350
|
+
const dayValueStr = !!dayValue ? numberToString(dayValue) : undefined;
|
|
351
|
+
const updatedDaySeg = {
|
|
352
|
+
...daySeg,
|
|
353
|
+
'aria-valuemax': dayMax,
|
|
354
|
+
'aria-valuenow': dayValue,
|
|
355
|
+
'aria-valuetext': dayValueStr,
|
|
356
|
+
text: dayValueStr
|
|
357
|
+
};
|
|
358
|
+
updatedSegments = replaceDateSegment(modifiedSegments, 'day', updatedDaySeg);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
// If the updatedSegment is complete, automatically select the next segment.
|
|
362
|
+
updatedSegments =
|
|
363
|
+
updatedSegment.isComplete && autoAdvance
|
|
364
|
+
? selectNext(updatedSegments, orderedSegments)
|
|
365
|
+
: updatedSegments;
|
|
366
|
+
return updatedSegments;
|
|
367
|
+
};
|
|
368
|
+
// Construct a new DateFieldState from a set of updated segments.
|
|
369
|
+
const createDateFieldStateFromSegments = (currentState, updatedSegments) => {
|
|
370
|
+
return {
|
|
371
|
+
currentDate: createCalendarDateFromSegments(updatedSegments),
|
|
372
|
+
isCompleteDate: isDateComplete(updatedSegments),
|
|
373
|
+
isDateSelected: currentState.isDateSelected,
|
|
374
|
+
isPartialDate: isPartialDate(updatedSegments),
|
|
375
|
+
orderedSegments: getOrderedSegments(currentState),
|
|
376
|
+
segments: updatedSegments
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
// Construct a new DateFieldState given an updated segment, which may affect other segments.
|
|
380
|
+
const createDateFieldState = (currentState, updatedSegmentType, updatedSegment, autoAdvance = true) => {
|
|
381
|
+
const updatedSegments = createDateSegmentStates(currentState.segments, currentState.orderedSegments, updatedSegmentType, updatedSegment, autoAdvance);
|
|
382
|
+
return createDateFieldStateFromSegments(currentState, updatedSegments);
|
|
383
|
+
};
|
|
384
|
+
// Return a new copy of the segment with the value cleared.
|
|
385
|
+
const clearSegment = (segmentState) => {
|
|
386
|
+
return {
|
|
387
|
+
...segmentState,
|
|
388
|
+
'aria-valuetext': undefined,
|
|
389
|
+
'aria-valuenow': undefined,
|
|
390
|
+
text: undefined,
|
|
391
|
+
isComplete: false
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
// Return a new copy of segments with all values cleared and aria-valuemax adjusted.
|
|
395
|
+
const clearDate = (segments) => {
|
|
396
|
+
return segments.map((segmentState) => {
|
|
397
|
+
const cleared = clearSegment(segmentState);
|
|
398
|
+
const valueMax = cleared.type === 'year'
|
|
399
|
+
? calendarDateUtils.MAX_ISO_YEAR
|
|
400
|
+
: cleared.type === 'month'
|
|
401
|
+
? calendarDateUtils.getMonthsInYear('*')
|
|
402
|
+
: calendarDateUtils.getDaysInMonth('*', '*');
|
|
403
|
+
return { ...cleared, 'aria-valuemax': valueMax };
|
|
404
|
+
});
|
|
405
|
+
};
|
|
406
|
+
// Return a new copy of the segment with updated values.
|
|
407
|
+
const updateSegment = (segmentType, segmentState, action, segments) => {
|
|
408
|
+
const actionText = action.data?.text;
|
|
409
|
+
const hasLeadingZero = action.data?.hasLeadingZero;
|
|
410
|
+
const locale = action.data?.locale;
|
|
411
|
+
const minValue = segmentState['aria-valuemin'];
|
|
412
|
+
const maxValue = segmentState['aria-valuemax'];
|
|
413
|
+
const wasComplete = segmentState.isComplete;
|
|
414
|
+
// If the segment was already complete, replace any existing text with actionText.
|
|
415
|
+
// Otherwise append actionText onto existing text to get the requested string.
|
|
416
|
+
// For instance if the existing text is '1' and actionText (i.e. that the user typed)
|
|
417
|
+
// is '2' then requestedValStr is '12'.
|
|
418
|
+
const requestedValStr = wasComplete ? actionText : segmentState.text + actionText;
|
|
419
|
+
// If the requested value is out of range, discard the existing text/value and only
|
|
420
|
+
// keep the new one. Check if the segment is complete.
|
|
421
|
+
const requestedVal = stringToNumber(requestedValStr);
|
|
422
|
+
const inRange = withinRange(requestedVal, minValue, maxValue);
|
|
423
|
+
const newValStr = inRange ? requestedValStr : actionText;
|
|
424
|
+
const newVal = inRange ? requestedVal : stringToNumber(actionText);
|
|
425
|
+
const isComplete = isSegmentComplete(newVal, maxValue) || (!!hasLeadingZero && segmentType !== 'year');
|
|
426
|
+
// For month changes, aria-valuetext includes the month name.
|
|
427
|
+
const ariaValueText = segmentType === 'month'
|
|
428
|
+
? getMonthAria(locale, newVal, getYearValue(segments))
|
|
429
|
+
: newValStr;
|
|
430
|
+
// Create a new segment state that reflects the updated value.
|
|
431
|
+
return {
|
|
432
|
+
...segmentState,
|
|
433
|
+
'aria-valuetext': ariaValueText,
|
|
434
|
+
'aria-valuenow': newVal,
|
|
435
|
+
text: newValStr,
|
|
436
|
+
isComplete
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
// Return a new DateSegmentState[] where the specified segment is selected, all others cleared.
|
|
440
|
+
const selectSegment = (segments, segmentType) => {
|
|
441
|
+
return segments.map((seg) => {
|
|
442
|
+
return { ...seg, isSelected: seg.type === segmentType ? true : false };
|
|
443
|
+
});
|
|
444
|
+
};
|
|
445
|
+
// Return a new DateSegmentState[] where the first segment is selected.
|
|
446
|
+
const selectFirst = (segments, orderedSegments) => {
|
|
447
|
+
return selectSegment(segments, orderedSegments[0]);
|
|
448
|
+
};
|
|
449
|
+
// Find the index of the selected segment in the ordered list; return -1 if there is no selection.
|
|
450
|
+
const getSelectedSegmentIndex = (segments, orderedSegments) => {
|
|
451
|
+
const sel = segments.find((seg) => seg.isSelected === true);
|
|
452
|
+
return sel === undefined ? -1 : orderedSegments.findIndex((type) => type === sel.type);
|
|
453
|
+
};
|
|
454
|
+
// Convenience function to mark the selected segment complete.
|
|
455
|
+
const markSelectedSegmentComplete = (segments) => {
|
|
456
|
+
return segments.map((seg) => (seg.isSelected ? { ...seg, isComplete: true } : seg));
|
|
457
|
+
};
|
|
458
|
+
// Select the segment following the one that is currently selected.
|
|
459
|
+
const selectNext = (segments, orderedSegments) => {
|
|
460
|
+
const selectedIndex = getSelectedSegmentIndex(segments, orderedSegments);
|
|
461
|
+
const max = orderedSegments.length - 1;
|
|
462
|
+
// If we're already at the last position, do nothing. Note if nothing was currently selected
|
|
463
|
+
// then selectedIndex is -1. The first segment will be selected.
|
|
464
|
+
return selectedIndex === max
|
|
465
|
+
? segments
|
|
466
|
+
: selectSegment(markSelectedSegmentComplete(segments), orderedSegments[selectedIndex + 1]);
|
|
467
|
+
};
|
|
468
|
+
// Select the segment prior to the one that is currently selected.
|
|
469
|
+
const selectPrevious = (segments, orderedSegments) => {
|
|
470
|
+
const selectedIndex = getSelectedSegmentIndex(segments, orderedSegments);
|
|
471
|
+
return selectedIndex === 0
|
|
472
|
+
? segments
|
|
473
|
+
: selectedIndex === -1
|
|
474
|
+
? selectFirst(segments, orderedSegments)
|
|
475
|
+
: selectSegment(markSelectedSegmentComplete(segments), orderedSegments[selectedIndex - 1]);
|
|
476
|
+
};
|
|
477
|
+
// Return a new DateSegmentState[] where all segments are unselected and any values are
|
|
478
|
+
// marked complete. We want to do this when the user commits the DateField value (on blur).
|
|
479
|
+
const clearSelectionAndComplete = (segments) => {
|
|
480
|
+
return segments.map((seg) => {
|
|
481
|
+
return { ...seg, isSelected: false, isComplete: !!seg.text };
|
|
482
|
+
});
|
|
483
|
+
};
|
|
484
|
+
// Return a new DateSegmentState[] where all segments are unselected.
|
|
485
|
+
const clearSelection = (segments) => {
|
|
486
|
+
return segments.map((seg) => {
|
|
487
|
+
return { ...seg, isSelected: false };
|
|
488
|
+
});
|
|
489
|
+
};
|
|
490
|
+
// Return a new DateFieldState where the entire date is selected if the date is complete,
|
|
491
|
+
// or the first segment is selected.
|
|
492
|
+
const selectDateOrSegment = (currentState) => {
|
|
493
|
+
if (currentState.isCompleteDate) {
|
|
494
|
+
return createDateFieldStateWithSelectedDate(currentState, clearSelection(currentState.segments), true);
|
|
495
|
+
}
|
|
496
|
+
else {
|
|
497
|
+
const updatedSegments = selectFirst(currentState.segments, currentState.orderedSegments);
|
|
498
|
+
return createDateFieldStateFromSegments(currentState, updatedSegments);
|
|
499
|
+
}
|
|
500
|
+
};
|
|
501
|
+
// Create a new DateFieldState from the updatedSegments and isDateSelected params.
|
|
502
|
+
const createDateFieldStateWithSelectedDate = (currentState, updatedSegments, isDateSelected) => {
|
|
503
|
+
return {
|
|
504
|
+
currentDate: createCalendarDateFromSegments(updatedSegments),
|
|
505
|
+
isCompleteDate: isDateComplete(updatedSegments),
|
|
506
|
+
isDateSelected,
|
|
507
|
+
isPartialDate: isPartialDate(updatedSegments),
|
|
508
|
+
orderedSegments: getOrderedSegments(currentState),
|
|
509
|
+
segments: updatedSegments
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
const YEAR_HOME_VALUE = 1900;
|
|
513
|
+
const YEAR_END_VALUE = 2100;
|
|
514
|
+
// If a segment is empty, use today's date as a starting point for any step or page action.
|
|
515
|
+
const getDefaultSegmentValue = (segmentType) => {
|
|
516
|
+
const { year: yearDefault, month: monthDefault, day: dayDefault } = maskUtils.getTodayAsCalendarDate();
|
|
517
|
+
const defaults = { year: yearDefault, month: monthDefault, day: dayDefault };
|
|
518
|
+
return defaults[segmentType];
|
|
519
|
+
};
|
|
520
|
+
// Get the minimum value for the segment.
|
|
521
|
+
const getHomeSegmentValue = (segmentType, segmentState) => {
|
|
522
|
+
return segmentType === 'year' ? YEAR_HOME_VALUE : segmentState['aria-valuemin'];
|
|
523
|
+
};
|
|
524
|
+
// Get the maximum value for the segment (for year, this is YEAR_END_VALUE).
|
|
525
|
+
const getEndSegmentValue = (segmentType, segmentState) => {
|
|
526
|
+
return segmentType === 'year' ? YEAR_END_VALUE : segmentState['aria-valuemax'];
|
|
527
|
+
};
|
|
528
|
+
// Return the result of stepping currentValue in the requested direction, taking into account min and max.
|
|
529
|
+
const getSteppedSegmentValue = (currentValue, direction, min, max) => {
|
|
530
|
+
const newValue = direction === 'increase'
|
|
531
|
+
? currentValue + 1 > max
|
|
532
|
+
? min
|
|
533
|
+
: currentValue + 1
|
|
534
|
+
: currentValue - 1 < min
|
|
535
|
+
? max
|
|
536
|
+
: currentValue - 1;
|
|
537
|
+
return newValue;
|
|
538
|
+
};
|
|
539
|
+
// Return the result of paging the value up or down, taking into account min and max.
|
|
540
|
+
const getPagedSegmentValue = (currentValue, direction, min, max, segmentType) => {
|
|
541
|
+
const step = segmentType === 'month' ? 2 : segmentType === 'year' ? 5 : 7;
|
|
542
|
+
const newValue = direction === 'increase'
|
|
543
|
+
? currentValue + step > max
|
|
544
|
+
? (currentValue + step) % max
|
|
545
|
+
: currentValue + step
|
|
546
|
+
: currentValue - step < min
|
|
547
|
+
? currentValue - step + max
|
|
548
|
+
: currentValue - step;
|
|
549
|
+
return newValue;
|
|
550
|
+
};
|
|
551
|
+
// Create a new segment with an updated value from a keyboard action such as step, page, Home, or End.
|
|
552
|
+
const createSegmentFromKeyboardAction = (newVal, locale, segmentType, segmentState, segments) => {
|
|
553
|
+
const newValStr = numberToString(newVal);
|
|
554
|
+
// For month changes, aria-valuetext includes the month name.
|
|
555
|
+
const ariaValueText = segmentType === 'month'
|
|
556
|
+
? getMonthAria(locale, newVal, getYearValue(segments))
|
|
557
|
+
: newValStr;
|
|
558
|
+
// Create a new segment state that reflects the updated value.
|
|
559
|
+
// After any keyboard action, the value is complete so that if the user types anything,
|
|
560
|
+
// it will replace the stepped value.
|
|
561
|
+
return {
|
|
562
|
+
...segmentState,
|
|
563
|
+
'aria-valuetext': ariaValueText,
|
|
564
|
+
'aria-valuenow': newVal,
|
|
565
|
+
text: newValStr,
|
|
566
|
+
isComplete: true
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
// Set the segment to its minimum value.
|
|
570
|
+
const goToHome = (segmentType, segmentState, segments, locale) => {
|
|
571
|
+
const newValue = getHomeSegmentValue(segmentType, segmentState);
|
|
572
|
+
return createSegmentFromKeyboardAction(newValue, locale, segmentType, segmentState, segments);
|
|
573
|
+
};
|
|
574
|
+
// Set the segment to its maximum value.
|
|
575
|
+
const goToEnd = (segmentType, segmentState, segments, locale) => {
|
|
576
|
+
const newValue = getEndSegmentValue(segmentType, segmentState);
|
|
577
|
+
return createSegmentFromKeyboardAction(newValue, locale, segmentType, segmentState, segments);
|
|
578
|
+
};
|
|
579
|
+
// Step or page a segment's value.
|
|
580
|
+
const doStepOrPage = (segmentType, segmentState, segments, type, direction, locale) => {
|
|
581
|
+
const valueNow = segmentState['aria-valuenow'];
|
|
582
|
+
const min = segmentState['aria-valuemin'];
|
|
583
|
+
const max = segmentState['aria-valuemax'];
|
|
584
|
+
const newValue = valueNow === undefined
|
|
585
|
+
? getDefaultSegmentValue(segmentType)
|
|
586
|
+
: type === 'page'
|
|
587
|
+
? getPagedSegmentValue(valueNow, direction, min, max, segmentType)
|
|
588
|
+
: getSteppedSegmentValue(valueNow, direction, min, max);
|
|
589
|
+
return createSegmentFromKeyboardAction(newValue, locale, segmentType, segmentState, segments);
|
|
590
|
+
};
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* @license
|
|
594
|
+
* Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
|
|
595
|
+
* The Universal Permissive License (UPL), Version 1.0
|
|
596
|
+
* as shown at https://oss.oracle.com/licenses/upl/
|
|
597
|
+
* @ignore
|
|
598
|
+
*/
|
|
599
|
+
/**
|
|
600
|
+
* Hook that returns a DateFieldState and a dispatch method to request changes to that state.
|
|
601
|
+
*/
|
|
602
|
+
const useDateField = ({ ariaLabels, dateMasks, granularity, locale, value: currentValue }) => {
|
|
603
|
+
// Construct an ordered list of the editable segments, i.e. ['month', 'day', 'year'].
|
|
604
|
+
const fdm = dateMasks.filter(({ type }) => type !== 'literal');
|
|
605
|
+
const orderedSegments = fdm.map(({ type }) => type);
|
|
606
|
+
// Derive some data from currentValue that will become part of our initial state.
|
|
607
|
+
const yearValue = currentValue?.year;
|
|
608
|
+
const monthValue = currentValue?.month;
|
|
609
|
+
const dayValue = currentValue?.day;
|
|
610
|
+
const monthMax = calendarDateUtils.getMonthsInYear(yearValue ?? '*');
|
|
611
|
+
const dayMax = calendarDateUtils.getDaysInMonth(monthValue ?? '*', yearValue ?? '*');
|
|
612
|
+
const isCompleteDate = !!yearValue && !!monthValue && (granularity === 'month' || !!dayValue);
|
|
613
|
+
const isPartialDate = !!yearValue || !!monthValue || !!dayValue;
|
|
614
|
+
const yearValueStr = yearValue ? numberToString(yearValue) : undefined;
|
|
615
|
+
const monthValueStr = monthValue ? numberToString(monthValue) : undefined;
|
|
616
|
+
const dayValueStr = dayValue ? numberToString(dayValue) : undefined;
|
|
617
|
+
const monthAria = monthValue ? getMonthAria(locale, monthValue, yearValue) : undefined;
|
|
618
|
+
const daySeg = [
|
|
619
|
+
{
|
|
620
|
+
type: 'day',
|
|
621
|
+
'aria-label': ariaLabels.day,
|
|
622
|
+
'aria-valuemin': calendarDateUtils.MIN_ISO_DAY,
|
|
623
|
+
'aria-valuemax': dayMax,
|
|
624
|
+
'aria-valuenow': dayValue,
|
|
625
|
+
'aria-valuetext': dayValueStr,
|
|
626
|
+
isComplete: !!dayValue,
|
|
627
|
+
isSelected: false,
|
|
628
|
+
text: dayValueStr
|
|
629
|
+
}
|
|
630
|
+
];
|
|
631
|
+
// Create state for each editable segment of a date, i.e. year, month, or day.
|
|
632
|
+
const editableSegments = [
|
|
633
|
+
{
|
|
634
|
+
type: 'year',
|
|
635
|
+
'aria-label': ariaLabels.year,
|
|
636
|
+
'aria-valuemin': calendarDateUtils.MIN_ISO_YEAR,
|
|
637
|
+
'aria-valuemax': calendarDateUtils.MAX_ISO_YEAR,
|
|
638
|
+
'aria-valuenow': yearValue,
|
|
639
|
+
'aria-valuetext': yearValueStr,
|
|
640
|
+
isComplete: !!yearValue,
|
|
641
|
+
isSelected: false,
|
|
642
|
+
text: yearValueStr
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
type: 'month',
|
|
646
|
+
'aria-label': ariaLabels.month,
|
|
647
|
+
'aria-valuemin': calendarDateUtils.MIN_ISO_MONTH,
|
|
648
|
+
'aria-valuemax': monthMax,
|
|
649
|
+
'aria-valuenow': monthValue,
|
|
650
|
+
'aria-valuetext': monthAria,
|
|
651
|
+
isComplete: !!monthValue,
|
|
652
|
+
isSelected: false,
|
|
653
|
+
text: monthValueStr
|
|
654
|
+
},
|
|
655
|
+
...(granularity === 'day' ? daySeg : [])
|
|
656
|
+
];
|
|
657
|
+
// Create the initial state to pass to our reducer.
|
|
658
|
+
const initialState = {
|
|
659
|
+
currentDate: currentValue,
|
|
660
|
+
isCompleteDate,
|
|
661
|
+
isDateSelected: false,
|
|
662
|
+
isPartialDate,
|
|
663
|
+
orderedSegments,
|
|
664
|
+
segments: editableSegments
|
|
665
|
+
};
|
|
666
|
+
const [state, dispatch] = hooks.useReducer(dateReducer, initialState);
|
|
667
|
+
// currentValue is the controlled value passed from the parent.
|
|
668
|
+
const lastValueFromParentRef = hooks.useRef(currentValue);
|
|
669
|
+
const dateResetRef = hooks.useRef(false);
|
|
670
|
+
// If a new value is being pushed from the parent, and that value differs from
|
|
671
|
+
// the current value of the reducer, then this is a programmatic update
|
|
672
|
+
// and we need to call 'reset' to update the reducer state. Otherwise, the only
|
|
673
|
+
// time the reducer state is updated from the value is on mount.
|
|
674
|
+
if (maskUtils.calendarDatesAreDifferent(lastValueFromParentRef.current, currentValue)) {
|
|
675
|
+
lastValueFromParentRef.current = currentValue;
|
|
676
|
+
if (maskUtils.calendarDatesAreDifferent(currentValue, state.currentDate)) {
|
|
677
|
+
dispatch({ actionType: 'reset', data: initialState });
|
|
678
|
+
dateResetRef.current = true;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
return { dateResetRef, dispatch, state };
|
|
682
|
+
};
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* @license
|
|
686
|
+
* Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
|
|
687
|
+
* The Universal Permissive License (UPL), Version 1.0
|
|
688
|
+
* as shown at https://oss.oracle.com/licenses/upl/
|
|
689
|
+
* @ignore
|
|
690
|
+
*/
|
|
691
|
+
function isMobile() {
|
|
692
|
+
const deviceType = clientHints.getClientHints().deviceType;
|
|
693
|
+
return deviceType === 'phone' || deviceType === 'tablet';
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* A hook that creates various handlers and manages effects for a DateField.
|
|
697
|
+
*/
|
|
698
|
+
const useDateFieldHandlers = ({ dateResetRef, direction, dispatch, groupRef, isDisabled, isFocused, isInputFocused, onCommit, onInput, state, value: currentValue }) => {
|
|
699
|
+
const { tabbableModeProps } = useTabbableMode.useTabbableMode();
|
|
700
|
+
const { tabIndex: tabbableModeIndex } = tabbableModeProps;
|
|
701
|
+
const anySegmentSelected = state.segments.some((segment) => !!segment.isSelected);
|
|
702
|
+
// If any segment is selected, it is contenteditable=true and it has the focus. If you shift-Tab, you will
|
|
703
|
+
// land on the outer div (DateField) first meaning it takes 2 shift-tab keys to get the previous element.
|
|
704
|
+
// To prevent this, if any segment is selected the tabindex on the div is set to -1.
|
|
705
|
+
// We also need to set tabindex to -1 for the disabled case, since we are dealing with a div instead
|
|
706
|
+
// of an intrinsic input and have to handle it directly.
|
|
707
|
+
const updatedTabIndex = tabbableModeIndex === -1 || anySegmentSelected || isDisabled ? -1 : 0;
|
|
708
|
+
// Keep track of the last changed and last committed date values.
|
|
709
|
+
const lastDateRef = hooks.useRef(state.currentDate);
|
|
710
|
+
const lastCommittedDateRef = hooks.useRef(state.currentDate);
|
|
711
|
+
// Keep track whether the date was cleared.
|
|
712
|
+
const dateClearedRef = hooks.useRef(false);
|
|
713
|
+
const lastFocusedRef = hooks.useRef(!!isFocused);
|
|
714
|
+
// If the value was programmatically changed (see useDateField.ts), then update the
|
|
715
|
+
// last changed and last committed date refs to stay in sync.
|
|
716
|
+
// currentValue is the controlled value passed from the parent.
|
|
717
|
+
if (dateResetRef.current) {
|
|
718
|
+
lastDateRef.current = currentValue;
|
|
719
|
+
lastCommittedDateRef.current = currentValue;
|
|
720
|
+
}
|
|
721
|
+
// Handle requested segment changes by calling the reducer dispatch function.
|
|
722
|
+
const onChange = hooks.useCallback((action) => {
|
|
723
|
+
dispatch(action);
|
|
724
|
+
}, [dispatch]);
|
|
725
|
+
// If the user clicked on a segment, dispatch a request to select it.
|
|
726
|
+
// If they clicked on the date field itself, select the first segment.
|
|
727
|
+
const onClick = hooks.useCallback((e) => {
|
|
728
|
+
const segmentType = e.target.getAttribute('data-segment');
|
|
729
|
+
!!segmentType
|
|
730
|
+
? dispatch({ actionType: 'selectSegment', data: { type: segmentType } })
|
|
731
|
+
: dispatch({ actionType: 'selectFirst' });
|
|
732
|
+
}, [dispatch]);
|
|
733
|
+
// If complete, select the date.
|
|
734
|
+
const selectAll = hooks.useCallback((isGroupFocus = true) => {
|
|
735
|
+
if (state.isCompleteDate) {
|
|
736
|
+
dispatch({ actionType: 'selectDateOrSegment' });
|
|
737
|
+
// Focus can end up in different places depending on if the user selected a segment
|
|
738
|
+
// first (via click or arrow key), and then did select all. To make shift-tabbing
|
|
739
|
+
// consistent in all cases, set focus to the group when selecting the date.
|
|
740
|
+
isGroupFocus && groupRef?.current?.focus();
|
|
741
|
+
}
|
|
742
|
+
}, [dispatch, groupRef, state.isCompleteDate]);
|
|
743
|
+
const onDoubleClick = hooks.useCallback(() => {
|
|
744
|
+
selectAll();
|
|
745
|
+
}, [selectAll]);
|
|
746
|
+
const onDoubleTap = hooks.useCallback((e) => {
|
|
747
|
+
const segmentType = e.target.getAttribute('data-segment');
|
|
748
|
+
// Only do select all if a segment was double tapped, which means the
|
|
749
|
+
// mobile keyboard will stay up.
|
|
750
|
+
!!segmentType && selectAll(false);
|
|
751
|
+
}, [selectAll]);
|
|
752
|
+
const doubleTapHandlers = useDoubleTap.useDoubleTap({ onDoubleTap: onDoubleTap, onSingleTap: onClick });
|
|
753
|
+
// Handle arrow key navigation between segments. If no segment is currently selected, then select the first one.
|
|
754
|
+
const onKeyDown = hooks.useCallback((event) => {
|
|
755
|
+
if ((direction === 'ltr' && event.key === 'ArrowLeft') ||
|
|
756
|
+
(direction === 'rtl' && event.key === 'ArrowRight')) {
|
|
757
|
+
// Select the previous segment when pressing Left arrow (or Right arrow in rtl).
|
|
758
|
+
dispatch({ actionType: 'selectPrevious' });
|
|
759
|
+
event.stopPropagation();
|
|
760
|
+
}
|
|
761
|
+
else if ((direction === 'ltr' && event.key === 'ArrowRight') ||
|
|
762
|
+
(direction === 'rtl' && event.key === 'ArrowLeft')) {
|
|
763
|
+
// Select the next segment when pressing Right arrow (or Left arrow in rtl).
|
|
764
|
+
dispatch({ actionType: 'selectNext' });
|
|
765
|
+
event.stopPropagation();
|
|
766
|
+
}
|
|
767
|
+
else if ((keyboardUtils.isBackspaceOrDelete(event) || event.key === 'Backspace') &&
|
|
768
|
+
state.isDateSelected) {
|
|
769
|
+
// Clear the entire date.
|
|
770
|
+
dispatch({ actionType: 'clearDate' });
|
|
771
|
+
dateClearedRef.current = true;
|
|
772
|
+
// Kill the event to prevent weird issue with placeholders getting deleted on iOS only.
|
|
773
|
+
event.preventDefault();
|
|
774
|
+
event.stopPropagation();
|
|
775
|
+
event.stopImmediatePropagation();
|
|
776
|
+
}
|
|
777
|
+
else if (keyboardUtils.isSelectAll(event)) {
|
|
778
|
+
selectAll();
|
|
779
|
+
event.preventDefault();
|
|
780
|
+
event.stopPropagation();
|
|
781
|
+
}
|
|
782
|
+
else if (event.key === 'Enter') {
|
|
783
|
+
// Hitting Enter commits any changes.
|
|
784
|
+
if (maskUtils.calendarDatesAreDifferent(lastCommittedDateRef.current, lastDateRef.current)) {
|
|
785
|
+
// Call onCommit only if the value is different.
|
|
786
|
+
onCommit?.({ value: lastDateRef.current });
|
|
787
|
+
lastCommittedDateRef.current = lastDateRef.current;
|
|
788
|
+
}
|
|
789
|
+
event.preventDefault();
|
|
790
|
+
event.stopPropagation();
|
|
791
|
+
}
|
|
792
|
+
}, [direction, dispatch, onCommit, selectAll, state.isDateSelected]);
|
|
793
|
+
// Blurring commits the date value; clear any selected segments and mark non-empty segments as complete.
|
|
794
|
+
hooks.useEffect(() => {
|
|
795
|
+
if (lastFocusedRef.current && !isFocused) {
|
|
796
|
+
dispatch({ actionType: 'commit' });
|
|
797
|
+
if (maskUtils.calendarDatesAreDifferent(lastCommittedDateRef.current, lastDateRef.current)) {
|
|
798
|
+
// Call onCommit only if the value is different.
|
|
799
|
+
onCommit?.({ value: lastDateRef.current });
|
|
800
|
+
lastCommittedDateRef.current = lastDateRef.current;
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
lastFocusedRef.current = !!isFocused;
|
|
804
|
+
}, [dispatch, isFocused, onCommit]);
|
|
805
|
+
// If you try to call onInput from onChange directly it doesn't work. The value of
|
|
806
|
+
// state.currentDate is from the current render, not the render *after* the dispatch.
|
|
807
|
+
// So wait for the state to finish updating.
|
|
808
|
+
hooks.useEffect(() => {
|
|
809
|
+
if (maskUtils.calendarDatesAreDifferent(lastDateRef.current, state.currentDate) &&
|
|
810
|
+
!dateResetRef.current) {
|
|
811
|
+
const frozenDate = state.currentDate !== undefined
|
|
812
|
+
? Object.freeze({ ...state.currentDate })
|
|
813
|
+
: state.currentDate;
|
|
814
|
+
onInput({ value: frozenDate });
|
|
815
|
+
lastDateRef.current = frozenDate;
|
|
816
|
+
}
|
|
817
|
+
dateResetRef.current = false;
|
|
818
|
+
}, [onInput, state.currentDate, dateResetRef]);
|
|
819
|
+
// The following is a simplified version of how we detect keyboard vs. mouse focus
|
|
820
|
+
// in the useCollectionFocusRing hook. If the user tabs onto the field, we want to
|
|
821
|
+
// automatically select the first segment.
|
|
822
|
+
const recentPointerRef = hooks.useRef(false);
|
|
823
|
+
const pointerDownTimerRef = hooks.useRef();
|
|
824
|
+
const onPointerDown = () => {
|
|
825
|
+
recentPointerRef.current = true;
|
|
826
|
+
clearTimeout(pointerDownTimerRef.current);
|
|
827
|
+
pointerDownTimerRef.current = setTimeout(() => {
|
|
828
|
+
recentPointerRef.current = false;
|
|
829
|
+
}, 200);
|
|
830
|
+
};
|
|
831
|
+
hooks.useEffect(() => {
|
|
832
|
+
// If we receive focus that is *not* due to the user clicking in the field, i.e. the user
|
|
833
|
+
// tabbed onto the field, then select the first segment.
|
|
834
|
+
// Note: we cannot check isFocused because it includes the ? icon in compact UAD, and we don't
|
|
835
|
+
// want the date selected when the help icon is focused.
|
|
836
|
+
isInputFocused && !recentPointerRef.current && dispatch({ actionType: 'selectFirst' });
|
|
837
|
+
// If we lose focus due to the keyboard, i.e. shift-tabbing onto the compact UAD help icon,
|
|
838
|
+
// then 'commit' which will clear any selected segments.
|
|
839
|
+
!isInputFocused && !recentPointerRef.current && dispatch({ actionType: 'commit' });
|
|
840
|
+
recentPointerRef.current = false;
|
|
841
|
+
}, [dispatch, isInputFocused]);
|
|
842
|
+
const handlers = isMobile()
|
|
843
|
+
? { ...doubleTapHandlers, onKeyDown }
|
|
844
|
+
: { onClick, onDoubleClick, onKeyDown, onPointerDown };
|
|
845
|
+
return {
|
|
846
|
+
dateClearedRef,
|
|
847
|
+
dateFieldHandlers: isDisabled ? {} : handlers,
|
|
848
|
+
segmentHandlers: isDisabled ? {} : { onChange },
|
|
849
|
+
tabIndex: updatedTabIndex
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
const findSegment = (segments, type) => {
|
|
854
|
+
return segments.find((segment) => segment.type === type);
|
|
855
|
+
};
|
|
856
|
+
/**
|
|
857
|
+
* Container for Segment children that represent different parts of a date with no time.
|
|
858
|
+
*/
|
|
859
|
+
const DateField = ({ 'aria-describedby': describedBy, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, baseId, fieldRef, granularity = 'day', hasInsideLabel, isRequired, masks: dateMasks, onBlur, onCommit, onFocus, onInput, textAlign, value, variant = 'default' }) => {
|
|
860
|
+
const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
|
|
861
|
+
const announceDateCleared = translations.inputDateMask_date_cleared();
|
|
862
|
+
const labels = {
|
|
863
|
+
month: translations.formControl_month(),
|
|
864
|
+
day: translations.formControl_day(),
|
|
865
|
+
year: translations.formControl_year()
|
|
866
|
+
};
|
|
867
|
+
const { direction, locale } = useUser.useUser();
|
|
868
|
+
const { isDisabled, isFocused, isInputFocused } = useFormFieldContext.useFormFieldContext();
|
|
869
|
+
const hasValue = value !== undefined;
|
|
870
|
+
// DateField is similar to TextFieldInput for styling. The main difference
|
|
871
|
+
// is TextFieldInput renders a textarea or input and DateField renders a div, so the positioning with
|
|
872
|
+
// padding is different. DateField and TextFieldInput are both the mainContent
|
|
873
|
+
// of a TextField component.
|
|
874
|
+
const { classes } = useComponentTheme.useComponentTheme(UNSAFE_TextField_themes_redwood_TextFieldInputTheme.TextFieldInputRedwoodTheme, {
|
|
875
|
+
type: 'notPassword',
|
|
876
|
+
styleVariant: variant,
|
|
877
|
+
textarea: 'notTextArea',
|
|
878
|
+
input: 'notInput',
|
|
879
|
+
div: 'isDiv',
|
|
880
|
+
prefix: 'noPrefix',
|
|
881
|
+
suffix: 'noSuffix',
|
|
882
|
+
startContent: 'noStartContent',
|
|
883
|
+
endContent: 'noEndContent',
|
|
884
|
+
insideLabel: hasInsideLabel ? 'hasInsideLabel' : 'noInsideLabel',
|
|
885
|
+
value: hasValue ? 'hasValue' : 'noValue',
|
|
886
|
+
focused: isFocused ? 'isFocused' : 'notFocused',
|
|
887
|
+
disabled: isDisabled ? 'isDisabled' : 'notDisabled'
|
|
888
|
+
});
|
|
889
|
+
const compClasses = classNames.classNames([classes]);
|
|
890
|
+
const { state, dispatch, dateResetRef } = useDateField({
|
|
891
|
+
ariaLabels: labels,
|
|
892
|
+
dateMasks,
|
|
893
|
+
granularity,
|
|
894
|
+
locale,
|
|
895
|
+
value
|
|
896
|
+
});
|
|
897
|
+
const { isDateSelected, isPartialDate, segments: editableSegments } = state;
|
|
898
|
+
const yearSegment = findSegment(editableSegments, 'year');
|
|
899
|
+
const monthSegment = findSegment(editableSegments, 'month');
|
|
900
|
+
const daySegment = granularity === 'day' ? findSegment(editableSegments, 'day') : undefined;
|
|
901
|
+
const segmentsMap = {
|
|
902
|
+
year: yearSegment,
|
|
903
|
+
month: monthSegment,
|
|
904
|
+
day: daySegment
|
|
905
|
+
};
|
|
906
|
+
const groupRef = hooks.useRef(null);
|
|
907
|
+
const { dateClearedRef, dateFieldHandlers, segmentHandlers, tabIndex } = useDateFieldHandlers({
|
|
908
|
+
dateResetRef,
|
|
909
|
+
direction,
|
|
910
|
+
dispatch,
|
|
911
|
+
groupRef,
|
|
912
|
+
isDisabled,
|
|
913
|
+
isFocused,
|
|
914
|
+
isInputFocused,
|
|
915
|
+
onCommit,
|
|
916
|
+
onInput,
|
|
917
|
+
state,
|
|
918
|
+
value
|
|
919
|
+
});
|
|
920
|
+
// Like other form components, don't show placeholders for inside labels unless focused.
|
|
921
|
+
// This flag causes the segment placeholders to be hidden.
|
|
922
|
+
const isHidden = value === undefined && hasInsideLabel && !isFocused;
|
|
923
|
+
// If the date is complete, create a hidden accessible region with the full formatted date.
|
|
924
|
+
const formattedDateStr = !state.isCompleteDate
|
|
925
|
+
? ''
|
|
926
|
+
: calendarDateUtils.formatFullCalendarDate(locale, state.currentDate, granularity);
|
|
927
|
+
const formattedDateAriaId = `${baseId}-date`;
|
|
928
|
+
const formattedDateAria = state.isCompleteDate ? (jsxRuntime.jsx(HiddenAccessible.HiddenAccessible, { id: formattedDateAriaId, children: formattedDateStr })) : undefined;
|
|
929
|
+
const ariaDescribedBy = state.isCompleteDate
|
|
930
|
+
? stringUtils.merge([describedBy, formattedDateAriaId])
|
|
931
|
+
: describedBy;
|
|
932
|
+
// Add an announcement to the live region if the date was cleared.
|
|
933
|
+
// Note: we deliberately do not reset dateClearedRef because there are multiple
|
|
934
|
+
// rerenders after clearing the date and we want to make sure the announcement
|
|
935
|
+
// has time to be heard.
|
|
936
|
+
const announceText = dateClearedRef.current ? announceDateCleared : '';
|
|
937
|
+
// firstSegmentType is 'day', 'month', or 'year' and is used to determine
|
|
938
|
+
// where to put the fieldRef.
|
|
939
|
+
const firstSegmentType = state.orderedSegments[0];
|
|
940
|
+
return (jsxRuntime.jsxs("div", { "aria-describedby": ariaDescribedBy, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, class: compClasses, onFocusIn: onFocus, onFocusOut: onBlur, ref: groupRef, role: "group", tabIndex: tabIndex, ...dateFieldHandlers, children: [jsxRuntime.jsx(Flex.Flex, { direction: "row", wrap: "nowrap", justify: textAlign, children: dateMasks.map(({ type, value: placeholder }) => {
|
|
941
|
+
const segmentProps = type !== 'literal' ? segmentsMap[type] : {};
|
|
942
|
+
if (type === 'literal') {
|
|
943
|
+
return (jsxRuntime.jsx(LiteralSegment, { isHidden: isHidden, isHighlighted: isDateSelected, isPlaceholder: !isPartialDate, text: placeholder }));
|
|
944
|
+
}
|
|
945
|
+
else {
|
|
946
|
+
return (jsxRuntime.jsx(DateSegment, { inputRef: type === firstSegmentType ? fieldRef : undefined, isDisabled: isDisabled, isInvalid: !!ariaInvalid, isHidden: isHidden, isHighlighted: isDateSelected, isRequired: isRequired, placeholder: placeholder, type: type, ...segmentHandlers, ...segmentProps }));
|
|
947
|
+
}
|
|
948
|
+
}) }), formattedDateAria, jsxRuntime.jsx(LiveRegion.LiveRegion, { children: announceText })] }));
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Context used to indicate when the component is being used in
|
|
953
|
+
* composition within some parent, such as InputDatePicker.
|
|
954
|
+
*/
|
|
955
|
+
const InputDateMaskContext = preact.createContext({
|
|
956
|
+
isInputDatePickerParent: false,
|
|
957
|
+
isDropdownOpen: false
|
|
958
|
+
});
|
|
959
|
+
const useInputDateMaskContext = () => hooks.useContext(InputDateMaskContext);
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* An InputDateMask allows you to edit the month, day, and year fields of a calendar date.
|
|
963
|
+
*/
|
|
964
|
+
const InputDateMask = compat.forwardRef(({ 'aria-describedby': ariaDescribedBy, assistiveText, columnSpan, endContent, granularity = 'day', helpSourceLink, helpSourceText, isDisabled: propIsDisabled, isReadonly: propIsReadonly, isRequired, isRequiredShown, label, labelEdge: propLabelEdge, labelStartWidth: propLabelStartWidth, mainFieldRef, messages, masks, testId, textAlign: propTextAlign, userAssistanceDensity: propUserAssistanceDensity, value, variant, onCommit, onInput }, ref) => {
|
|
965
|
+
const { isDisabled: isFormDisabled, isReadonly: isFormReadonly, labelEdge: formLabelEdge, labelStartWidth: formLabelStartWidth, textAlign: formTextAlign, userAssistanceDensity: formUserAssistanceDensity } = useFormContext.useFormContext();
|
|
966
|
+
// default to FormContext values if component properties are not specified
|
|
967
|
+
const isDisabled = propIsDisabled ?? isFormDisabled;
|
|
968
|
+
const isReadonly = propIsReadonly ?? isFormReadonly;
|
|
969
|
+
const labelEdge = propLabelEdge ?? formLabelEdge;
|
|
970
|
+
const labelStartWidth = propLabelStartWidth ?? formLabelStartWidth;
|
|
971
|
+
const textAlign = propTextAlign ?? formTextAlign;
|
|
972
|
+
const userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;
|
|
973
|
+
const enabledElementRef = hooks.useRef(null);
|
|
974
|
+
const readonlyElementRef = hooks.useRef(null);
|
|
975
|
+
const { focusProps, isFocused, methods: focusMethods } = useFocusableTextField.useFocusableTextField({
|
|
976
|
+
isDisabled,
|
|
977
|
+
isReadonly,
|
|
978
|
+
enabledElementRef,
|
|
979
|
+
readonlyElementRef
|
|
980
|
+
});
|
|
981
|
+
hooks.useImperativeHandle(ref, () => focusMethods, [focusMethods]);
|
|
982
|
+
const { isDropdownOpen, isInputDatePickerParent } = useInputDateMaskContext();
|
|
983
|
+
const isComponentFocused = isFocused || (isInputDatePickerParent && isDropdownOpen);
|
|
984
|
+
const { baseId, formFieldContext, inputProps, labelProps: origLabelProps, textFieldProps, userAssistanceProps } = useTextField.useTextField({
|
|
985
|
+
ariaDescribedBy,
|
|
986
|
+
helpSourceLink,
|
|
987
|
+
helpSourceText,
|
|
988
|
+
isDisabled,
|
|
989
|
+
isFocused: isComponentFocused,
|
|
990
|
+
isReadonly,
|
|
991
|
+
isRequiredShown,
|
|
992
|
+
labelEdge,
|
|
993
|
+
messages,
|
|
994
|
+
styleVariant: variant,
|
|
995
|
+
userAssistanceDensity,
|
|
996
|
+
value
|
|
997
|
+
});
|
|
998
|
+
// When using a div with role=group (i.e. DateField), you need aria-labelledby instead of a
|
|
999
|
+
// for-id association with a label. Remove forId and id and use aria-labelledby instead.
|
|
1000
|
+
const { forId, ...labelProps } = origLabelProps;
|
|
1001
|
+
const { id, ...dateFieldProps } = inputProps;
|
|
1002
|
+
const ariaLabelledBy = labelProps.id;
|
|
1003
|
+
// Because we don't use for-id, clicking the label does not automatically focus the field.
|
|
1004
|
+
// We have to do it manually.
|
|
1005
|
+
const onClick = hooks.useCallback(() => {
|
|
1006
|
+
enabledElementRef.current?.focus();
|
|
1007
|
+
}, [enabledElementRef]);
|
|
1008
|
+
const labelComp = labelEdge !== 'none' ? (jsxRuntime.jsx(Label.Label, { ...(!isDisabled && !isReadonly ? { onClick } : {}), ...labelProps, children: label })) : undefined;
|
|
1009
|
+
const fieldLabelProps = {
|
|
1010
|
+
label: labelEdge !== 'none' ? labelComp : undefined,
|
|
1011
|
+
labelEdge: labelEdge !== 'none' ? labelEdge : undefined,
|
|
1012
|
+
labelStartWidth: labelEdge !== 'none' ? labelStartWidth : undefined
|
|
1013
|
+
};
|
|
1014
|
+
const ariaLabel = labelEdge === 'none' ? label : undefined;
|
|
1015
|
+
const hasInsideLabel = label !== undefined && labelEdge === 'inside';
|
|
1016
|
+
const isInlineDensity = userAssistanceDensity === 'efficient' || userAssistanceDensity === 'reflow';
|
|
1017
|
+
const inlineUserAssistance = isInlineDensity ? (isDisabled || isReadonly ? (
|
|
1018
|
+
// save space for user assistance if density is 'efficient', even though we don't
|
|
1019
|
+
// render user assistance for disabled or readonly fields
|
|
1020
|
+
userAssistanceDensity !== 'efficient' ? undefined : (jsxRuntime.jsx(InlineUserAssistance.InlineUserAssistance, { userAssistanceDensity: userAssistanceDensity, ...userAssistanceProps }))) : (jsxRuntime.jsx(InlineUserAssistance.InlineUserAssistance, { assistiveText: assistiveText, fieldLabel: label, helpSourceLink: helpSourceLink, helpSourceText: helpSourceText, messages: messages, isRequiredShown: isRequiredShown, userAssistanceDensity: userAssistanceDensity, ...userAssistanceProps }))) : undefined;
|
|
1021
|
+
const aRef = hooks.useRef(null);
|
|
1022
|
+
const anchorRef = mainFieldRef ?? aRef;
|
|
1023
|
+
const compactUserAssistance = userAssistanceDensity === 'compact' ? (jsxRuntime.jsx(CompactUserAssistance.CompactUserAssistance, { anchorRef: anchorRef, messages: messages, assistiveText: assistiveText, ...userAssistanceProps })) : undefined;
|
|
1024
|
+
const { locale } = useUser.useUser();
|
|
1025
|
+
const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
|
|
1026
|
+
const monthPlaceholder = translations.inputDateMask_monthPlaceholder();
|
|
1027
|
+
const dayPlaceholder = translations.inputDateMask_dayPlaceholder();
|
|
1028
|
+
const yearPlaceholder = translations.inputDateMask_yearPlaceholder();
|
|
1029
|
+
// The DatePlaceholders type already ensures the masks contain the right placeholders,
|
|
1030
|
+
// for either full calendar dates or month-year dates. This check ensures the masks,
|
|
1031
|
+
// if provided, match the granularity. E.g. for granularity=month, you should pass
|
|
1032
|
+
// month and year placeholders, and a separator.
|
|
1033
|
+
if (masks &&
|
|
1034
|
+
((granularity === 'day' && masks.length !== 5) ||
|
|
1035
|
+
(granularity === 'month' && masks.length !== 3))) {
|
|
1036
|
+
throw new Error('Specified masks must match the granularity');
|
|
1037
|
+
}
|
|
1038
|
+
const dateMasks = hooks.useMemo(() => {
|
|
1039
|
+
// Determine the locale specific placeholder masks and separators in the correct order
|
|
1040
|
+
// for the locale, unless a custom set of masks was passed in. Each mask represents a
|
|
1041
|
+
// placeholder for a segment of a date (i.e. mm/dd/yyyy). Memoize because we shouldn't
|
|
1042
|
+
// need to recreate this data often.
|
|
1043
|
+
const placeholderMasks = masks
|
|
1044
|
+
? maskUtils.translateCustomMasks(masks, monthPlaceholder, dayPlaceholder, yearPlaceholder)
|
|
1045
|
+
: calendarDateUtils.getDatePlaceholderMasks(locale, granularity, monthPlaceholder, dayPlaceholder, yearPlaceholder);
|
|
1046
|
+
return placeholderMasks;
|
|
1047
|
+
}, [masks, locale, granularity, dayPlaceholder, monthPlaceholder, yearPlaceholder]);
|
|
1048
|
+
if (isReadonly) {
|
|
1049
|
+
return (jsxRuntime.jsx(FormFieldContext.FormFieldContext.Provider, { value: formFieldContext, children: jsxRuntime.jsx(StyledTextField.ReadonlyTextField, { role: "presentation", columnSpan: columnSpan, compactUserAssistance: compactUserAssistance, inlineUserAssistance: inlineUserAssistance, onBlur: focusProps.onFocusOut, onFocus: focusProps.onFocusIn, ref: anchorRef, testId: testId, mainContent: jsxRuntime.jsx(ReadonlyTextFieldInput.ReadonlyTextFieldInput, { "aria-describedby": dateFieldProps['aria-describedby'], "aria-label": ariaLabel, "aria-labelledby": labelProps.id, as: "div", elementRef: readonlyElementRef, textAlign: textAlign, value: value === undefined ? '' : calendarDateUtils.formatShortCalendarDate(value, granularity, dateMasks), hasEmptyLabel: label === '' && labelEdge === 'none', hasInsideLabel: hasInsideLabel }), ...fieldLabelProps }) }));
|
|
1050
|
+
}
|
|
1051
|
+
// The main content inside TextField is a DateField (not TextFieldInput) in this case.
|
|
1052
|
+
// We reuse the TextField building blocks and hooks, but recompose them.
|
|
1053
|
+
const mainContent = (jsxRuntime.jsx(DateField, { "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, baseId: baseId, fieldRef: enabledElementRef, granularity: granularity, hasInsideLabel: labelComp !== undefined && labelEdge === 'inside', isRequired: isRequired, masks: dateMasks, onCommit: onCommit, onInput: onInput, textAlign: textAlign, value: value, ...dateFieldProps }));
|
|
1054
|
+
return (jsxRuntime.jsx(FormFieldContext.FormFieldContext.Provider, { value: formFieldContext, children: jsxRuntime.jsx(TextField.TextField, { columnSpan: columnSpan, compactUserAssistance: compactUserAssistance, endContent: endContent, inlineUserAssistance: inlineUserAssistance, mainContent: mainContent, onBlur: focusProps.onFocusOut, onFocus: focusProps.onFocusIn, mainFieldRef: anchorRef, testId: testId, ...textFieldProps, ...fieldLabelProps }) }));
|
|
1055
|
+
});
|
|
1056
|
+
|
|
1057
|
+
exports.InputDateMask = InputDateMask;
|
|
1058
|
+
exports.InputDateMaskContext = InputDateMaskContext;
|
|
1059
|
+
exports.useInputDateMaskContext = useInputDateMaskContext;
|
|
1060
|
+
//# sourceMappingURL=InputDateMask-d6b1a660.js.map
|