@oracle/oraclejet-preact 18.0.13 → 18.0.14
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/TextArea-6b4e1847.js +2 -0
- package/amd/TextArea-6b4e1847.js.map +1 -0
- package/amd/TextAreaAutosize-be8b4682.js +2 -0
- package/amd/{TextAreaAutosize-ac99cd39.js.map → TextAreaAutosize-be8b4682.js.map} +1 -1
- package/amd/Theme-redwood/theme.css +216 -216
- package/amd/Theme-stable/theme.css +262 -262
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/cjs/{BaseCardView-ade994f5.js → BaseCardView-5a45e588.js} +2 -2
- package/cjs/{BaseCardView-ade994f5.js.map → BaseCardView-5a45e588.js.map} +1 -1
- package/cjs/{CardFlexView-6492d995.js → CardFlexView-58228ce4.js} +2 -2
- package/cjs/{CardFlexView-6492d995.js.map → CardFlexView-58228ce4.js.map} +1 -1
- package/cjs/{CardGridView-d98aa089.js → CardGridView-17683602.js} +2 -2
- package/cjs/{CardGridView-d98aa089.js.map → CardGridView-17683602.js.map} +1 -1
- package/cjs/ExpandableList-eb37ee5c.js +1 -1
- package/cjs/GroupLoadingIndicator-5940d185.js +1 -1
- package/cjs/{Indexer-72430806.js → Indexer-b5ca1d0c.js} +2 -2
- package/cjs/{Indexer-72430806.js.map → Indexer-b5ca1d0c.js.map} +1 -1
- package/cjs/{List-0dc2c4c4.js → List-877077ab.js} +3 -4
- package/cjs/{List-0dc2c4c4.js.map → List-877077ab.js.map} +1 -1
- package/cjs/{ListView-17b8250d.js → ListView-98983aa2.js} +2 -2
- package/cjs/{ListView-17b8250d.js.map → ListView-98983aa2.js.map} +1 -1
- package/cjs/{LoadMoreCollection-73112ff0.js → LoadMoreCollection-69bc038c.js} +2 -2
- package/cjs/{LoadMoreCollection-73112ff0.js.map → LoadMoreCollection-69bc038c.js.map} +1 -1
- package/cjs/PRIVATE_BaseCardView.js +3 -3
- package/cjs/PRIVATE_List.js +4 -4
- package/cjs/PRIVATE_LoadMoreCollection.js +2 -2
- package/cjs/PRIVATE_SelectCommon.js +5 -5
- package/cjs/PRIVATE_Table.js +3 -3
- package/cjs/PRIVATE_VirtualizedCollection.js +2 -2
- package/cjs/{SelectMultiple-12261f4a.js → SelectMultiple-85f954ab.js} +2 -2
- package/cjs/{SelectMultiple-12261f4a.js.map → SelectMultiple-85f954ab.js.map} +1 -1
- package/cjs/{SelectSingle-382b9a03.js → SelectSingle-7665d165.js} +2 -2
- package/cjs/{SelectSingle-382b9a03.js.map → SelectSingle-7665d165.js.map} +1 -1
- package/cjs/{Table-42e84ff0.js → Table-c45cdb79.js} +2 -2
- package/cjs/{Table-42e84ff0.js.map → Table-c45cdb79.js.map} +1 -1
- package/cjs/{TableView-9e8d90d5.js → TableView-be307426.js} +2 -2
- package/cjs/{TableView-9e8d90d5.js.map → TableView-be307426.js.map} +1 -1
- package/cjs/{TextArea-aea6ecae.js → TextArea-3309d931.js} +22 -4
- package/cjs/TextArea-3309d931.js.map +1 -0
- package/cjs/{TextAreaAutosize-c01d61dc.js → TextAreaAutosize-ecd40b10.js} +3 -3
- package/cjs/{TextAreaAutosize-c01d61dc.js.map → TextAreaAutosize-ecd40b10.js.map} +1 -1
- package/cjs/Theme-redwood/theme.css +143 -143
- package/cjs/Theme-stable/theme.css +235 -235
- package/cjs/UNSAFE_CardFlexView.js +4 -4
- package/cjs/UNSAFE_CardGridView.js +4 -4
- package/cjs/UNSAFE_ExpandableList.js +3 -3
- package/cjs/UNSAFE_Indexer.js +2 -2
- package/cjs/UNSAFE_ListView.js +5 -5
- package/cjs/UNSAFE_SelectMultiple.js +6 -6
- package/cjs/UNSAFE_SelectSingle.js +6 -6
- package/cjs/UNSAFE_TableView.js +4 -4
- package/cjs/UNSAFE_TextArea.js +3 -4
- package/cjs/UNSAFE_TextArea.js.map +1 -1
- package/cjs/UNSAFE_TextAreaAutosize.js +3 -3
- package/cjs/UNSAFE_VirtualizedListView.js +5 -5
- package/cjs/{VirtualizedCollection-00aedb8b.js → VirtualizedCollection-9e8c48b9.js} +2 -2
- package/cjs/{VirtualizedCollection-00aedb8b.js.map → VirtualizedCollection-9e8c48b9.js.map} +1 -1
- package/cjs/{VirtualizedListView-9bfaf4e2.js → VirtualizedListView-03fa4758.js} +2 -2
- package/cjs/{VirtualizedListView-9bfaf4e2.js.map → VirtualizedListView-03fa4758.js.map} +1 -1
- package/cjs/{useSelectCommon-7f7b44d1.js → useSelectCommon-99197baf.js} +2 -2
- package/cjs/{useSelectCommon-7f7b44d1.js.map → useSelectCommon-99197baf.js.map} +1 -1
- package/es/ActionCard-e64b1771.js +1 -1
- package/es/{BarChart-e8909233.js → BarChart-2a994aa9.js} +3 -3
- package/es/{BarChart-e8909233.js.map → BarChart-2a994aa9.js.map} +1 -1
- package/es/BarGroup-740cd159.js +1 -1
- package/es/BaseButton-685bec17.js +2 -2
- package/es/{BaseCardView-c5a8ee6a.js → BaseCardView-229fa119.js} +9 -9
- package/es/{BaseCardView-c5a8ee6a.js.map → BaseCardView-229fa119.js.map} +1 -1
- package/es/{BaseCardViewSelectionTest-39113af4.js → BaseCardViewSelectionTest-0b9dd4c7.js} +7 -7
- package/es/{BaseCardViewSelectionTest-39113af4.js.map → BaseCardViewSelectionTest-0b9dd4c7.js.map} +1 -1
- package/es/BaseNavigationListItem-530bc3df.js +1 -1
- package/es/BaseRichSelection-1aaeab44.js +8 -8
- package/es/ButtonSet-51dcff96.js +2 -2
- package/es/ButtonSetIconButton-ead6566c.js +3 -3
- package/es/{Card-de0aef24.js → Card-44b7de2f.js} +2 -2
- package/es/{Card-de0aef24.js.map → Card-44b7de2f.js.map} +1 -1
- package/es/{CardFlexView-529906e0.js → CardFlexView-3ef6bf4d.js} +2 -2
- package/es/{CardFlexView-529906e0.js.map → CardFlexView-3ef6bf4d.js.map} +1 -1
- package/es/{CardGridView-ec18c929.js → CardGridView-e15226c9.js} +2 -2
- package/es/{CardGridView-ec18c929.js.map → CardGridView-e15226c9.js.map} +1 -1
- package/es/{Center-9f355d44.js → Center-8b48ab02.js} +2 -2
- package/es/{Center-9f355d44.js.map → Center-8b48ab02.js.map} +1 -1
- package/es/{Chart-000730bb.js → Chart-9dc97d8d.js} +10 -10
- package/es/{Chart-000730bb.js.map → Chart-9dc97d8d.js.map} +1 -1
- package/es/CheckboxControl-1692a8d6.js +6 -6
- package/es/CheckboxRadioField-99df3ba3.js +6 -6
- package/es/CheckboxSetContext-1be56556.js +9 -0
- package/es/CheckboxSetContext-1be56556.js.map +1 -0
- package/es/Chip-8554d3ff.js +1 -1
- package/es/ClearIcon-7af86099.js +1 -1
- package/es/CollapseIcon-4e943f42.js +1 -1
- package/es/Collapsible-cb2ba356.js +2 -2
- package/es/{ComboChart-7ea6cadd.js → ComboChart-59ad85f7.js} +4 -4
- package/es/{ComboChart-7ea6cadd.js.map → ComboChart-59ad85f7.js.map} +1 -1
- package/es/CompactHelpSource-9c0d4cb4.js +2 -2
- package/es/{CompactLabelAssistance-7912767d.js → CompactLabelAssistance-6a627bbb.js} +5 -5
- package/es/{CompactLabelAssistance-7912767d.js.map → CompactLabelAssistance-6a627bbb.js.map} +1 -1
- package/es/CompactUserAssistance-23347994.js +4 -4
- package/es/ComponentMessageContainer-35005056.js +4 -4
- package/es/ConveyorBeltItem-9ae80a84.js +2 -2
- package/es/ConveyorBeltVariants.styles.css +6 -6
- package/es/ConveyorBeltVariants.styles2.css +6 -6
- package/es/{DatePicker-54a2c9ee.js → DatePicker-32a62e73.js} +6 -6
- package/es/{DatePicker-54a2c9ee.js.map → DatePicker-32a62e73.js.map} +1 -1
- package/es/DatePickerHeader-1710c19d.js +3 -3
- package/es/{Diagram-9510ff87.js → Diagram-02d6a0e9.js} +5 -5
- package/es/{Diagram-9510ff87.js.map → Diagram-02d6a0e9.js.map} +1 -1
- package/es/{Dialog-c927bba0.js → Dialog-ded776a5.js} +8 -8
- package/es/{Dialog-c927bba0.js.map → Dialog-ded776a5.js.map} +1 -1
- package/es/DirectionalCollapseArrowIcon-daafb64c.js +1 -1
- package/es/DirectionalExpandArrowIcon-35def552.js +1 -1
- package/es/{DragHandle-5cba8c4b.js → DragHandle-d3a739f5.js} +2 -2
- package/es/{DragHandle-5cba8c4b.js.map → DragHandle-d3a739f5.js.map} +1 -1
- package/es/{Dropdown-f7fbfa81.js → Dropdown-f0cdaeae.js} +5 -5
- package/es/{Dropdown-f7fbfa81.js.map → Dropdown-f0cdaeae.js.map} +1 -1
- package/es/{EnvironmentProvider-a3819bde.js → EnvironmentProvider-0fc2fd0c.js} +3 -3
- package/es/{EnvironmentProvider-a3819bde.js.map → EnvironmentProvider-0fc2fd0c.js.map} +1 -1
- package/es/ExpandableList-2ff828d0.js +4 -4
- package/es/FilePicker-ecfad7d4.js +2 -2
- package/es/{Flex-2d51e914.js → Flex-8696b27b.js} +2 -2
- package/es/{Flex-2d51e914.js.map → Flex-8696b27b.js.map} +1 -1
- package/es/{Floating-c13f9f62.js → Floating-9bf456f9.js} +4 -4
- package/es/{Floating-c13f9f62.js.map → Floating-9bf456f9.js.map} +1 -1
- package/es/FormLayout-2efb00f6.js +1 -1
- package/es/Gantt-8b4d8f6e.js +9 -9
- package/es/{Grid-c2385b22.js → Grid-7fd29a9e.js} +2 -2
- package/es/{Grid-c2385b22.js.map → Grid-7fd29a9e.js.map} +1 -1
- package/es/{Gridlines-89b5506f.js → Gridlines-5ac89a84.js} +2 -2
- package/es/{Gridlines-89b5506f.js.map → Gridlines-5ac89a84.js.map} +1 -1
- package/es/GroupLoadingIndicator-63035d08.js +2 -2
- package/es/{HighlightText-d505bf35.js → HighlightText-cc043982.js} +2 -2
- package/es/{HighlightText-d505bf35.js.map → HighlightText-cc043982.js.map} +1 -1
- package/es/Icon-bdd49f29.js +3 -3
- package/es/IconButton-aed90302.js +3 -3
- package/es/IconMenuButton-772bdb3a.js +3 -3
- package/es/IconProgressButton-68f9bf65.js +3 -3
- package/es/IconSwitchButton-a8ccf655.js +3 -3
- package/es/IconToggleButton-a61a7d3c.js +3 -3
- package/es/{IconUserAssistance-2b494a2e.js → IconUserAssistance-627f9d18.js} +3 -3
- package/es/{IconUserAssistance-2b494a2e.js.map → IconUserAssistance-627f9d18.js.map} +1 -1
- package/es/{Indexer-ba2c7593.js → Indexer-eb00ba0b.js} +6 -6
- package/es/{Indexer-ba2c7593.js.map → Indexer-eb00ba0b.js.map} +1 -1
- package/es/InlineHelpSource-fcdcd122.js +1 -1
- package/es/InlineUserAssistance-87a0bc0e.js +5 -5
- package/es/InputDateMask-4b69db8b.js +7 -7
- package/es/{InputDatePicker-b2a89782.js → InputDatePicker-bf961886.js} +10 -10
- package/es/{InputDatePicker-b2a89782.js.map → InputDatePicker-bf961886.js.map} +1 -1
- package/es/InputPassword-4cc85d0a.js +4 -4
- package/es/InputText-224403da.js +6 -6
- package/es/Label-4f24dcde.js +5 -5
- package/es/LabelValueLayout-cc11e8ca.js +1 -1
- package/es/LabelledLinkVariants.styles.css +3 -3
- package/es/LabelledLinkVariants.styles2.css +3 -3
- package/es/{Layer-7497a324.js → Layer-12a734d1.js} +3 -3
- package/es/{Layer-7497a324.js.map → Layer-12a734d1.js.map} +1 -1
- package/es/{LayerHost-7a2149f5.js → LayerHost-15b42a3e.js} +2 -2
- package/es/{LayerHost-7a2149f5.js.map → LayerHost-15b42a3e.js.map} +1 -1
- package/es/{LayerManager-be34be40.js → LayerManager-af39e736.js} +2 -2
- package/es/{LayerManager-be34be40.js.map → LayerManager-af39e736.js.map} +1 -1
- package/es/Legend-588633b2.js +3 -3
- package/es/{LineAreaChart-a0393c8c.js → LineAreaChart-5ca41d3b.js} +4 -4
- package/es/{LineAreaChart-a0393c8c.js.map → LineAreaChart-5ca41d3b.js.map} +1 -1
- package/es/{LineSeries-00fa2ab7.js → LineSeries-ca5836e7.js} +2 -2
- package/es/{LineSeries-00fa2ab7.js.map → LineSeries-ca5836e7.js.map} +1 -1
- package/es/Link-e405608b.js +1 -1
- package/es/{List-97b7be70.js → List-e6886091.js} +8 -9
- package/es/{List-97b7be70.js.map → List-e6886091.js.map} +1 -1
- package/es/{ListItemLayout-b3d899d6.js → ListItemLayout-e87958e3.js} +2 -2
- package/es/{ListItemLayout-b3d899d6.js.map → ListItemLayout-e87958e3.js.map} +1 -1
- package/es/{ListView-936d8a4f.js → ListView-137e31fd.js} +5 -5
- package/es/{ListView-936d8a4f.js.map → ListView-137e31fd.js.map} +1 -1
- package/es/{LiveRegion-5302331c.js → LiveRegion-cb4f8a54.js} +2 -2
- package/es/{LiveRegion-5302331c.js.map → LiveRegion-cb4f8a54.js.map} +1 -1
- package/es/{LoadMoreCollection-95a49d2a.js → LoadMoreCollection-7df1be36.js} +2 -2
- package/es/{LoadMoreCollection-95a49d2a.js.map → LoadMoreCollection-7df1be36.js.map} +1 -1
- package/es/{MaxLengthLiveRegion-9b386b63.js → MaxLengthLiveRegion-59087064.js} +3 -3
- package/es/{MaxLengthLiveRegion-9b386b63.js.map → MaxLengthLiveRegion-59087064.js.map} +1 -1
- package/es/Menu-a37635b8.js +6 -6
- package/es/MenuButton-93a1b6b0.js +2 -2
- package/es/MenuItem-831dfd05.js +1 -1
- package/es/Message-dd158e41.js +2 -2
- package/es/{MessageLayer-9ea7cf82.js → MessageLayer-8bed437a.js} +6 -6
- package/es/{MessageLayer-9ea7cf82.js.map → MessageLayer-8bed437a.js.map} +1 -1
- package/es/MessageToast-73458c48.js +8 -8
- package/es/MessagesManager-9dd3eb3d.js +3 -3
- package/es/MeterBar-551d32db.js +5 -5
- package/es/MeterCircle-5e2ee267.js +5 -5
- package/es/MeterCircleVariants.styles.css +8 -8
- package/es/MeterCircleVariants.styles2.css +8 -8
- package/es/{Modal-1710fdd2.js → Modal-103da2aa.js} +3 -3
- package/es/{Modal-1710fdd2.js.map → Modal-103da2aa.js.map} +1 -1
- package/es/{MonthView-31d5ae25.js → MonthView-395c5a6a.js} +4 -4
- package/es/{MonthView-31d5ae25.js.map → MonthView-395c5a6a.js.map} +1 -1
- package/es/{NavigationListItem-57a7cf4b.js → NavigationListItem-5b25b2f5.js} +16 -3
- package/es/{NavigationListItem-57a7cf4b.js.map → NavigationListItem-5b25b2f5.js.map} +1 -1
- package/es/NavigationListItemVariants.styles.css +5 -5
- package/es/NavigationListItemVariants.styles2.css +5 -5
- package/es/NumberInputText-c74048e0.js +6 -6
- package/es/{OverflowTabBar-c7b52525.js → OverflowTabBar-3ddfd662.js} +2 -2
- package/es/{OverflowTabBar-c7b52525.js.map → OverflowTabBar-3ddfd662.js.map} +1 -1
- package/es/{OverflowTabBarItem-6ee5e024.js → OverflowTabBarItem-b18631ad.js} +5 -5
- package/es/{OverflowTabBarItem-6ee5e024.js.map → OverflowTabBarItem-b18631ad.js.map} +1 -1
- package/es/PRIVATE_BaseCardView.js +25 -25
- package/es/PRIVATE_Chart.js +36 -36
- package/es/PRIVATE_CheckboxControl.js +23 -23
- package/es/PRIVATE_CheckboxRadioField.js +25 -25
- package/es/PRIVATE_ClearIcon.js +18 -18
- package/es/PRIVATE_DatePickerHeader.js +19 -19
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +3 -3
- package/es/PRIVATE_FormControls.js +20 -20
- package/es/PRIVATE_IconSwitchButton.js +16 -16
- package/es/PRIVATE_Icons/CheckboxMixed.js +16 -16
- package/es/PRIVATE_Icons/CheckboxOff.js +16 -16
- package/es/PRIVATE_Icons/CheckboxOn.js +16 -16
- package/es/PRIVATE_Icons/DragV.js +16 -16
- package/es/PRIVATE_Icons/WarningS.js +16 -16
- package/es/PRIVATE_List.js +24 -24
- package/es/PRIVATE_LoadMoreCollection.js +2 -2
- package/es/PRIVATE_Message.js +19 -19
- package/es/PRIVATE_MessageLayer.js +12 -12
- package/es/PRIVATE_MonthView.js +7 -7
- package/es/PRIVATE_MonthYearGridView.js +7 -7
- package/es/PRIVATE_PlotArea.js +4 -4
- package/es/PRIVATE_RevealToggleIcon.js +17 -17
- package/es/PRIVATE_RichSelectionCommon.js +26 -26
- package/es/PRIVATE_SelectCommon/themes/dropdownStyles.css.js +1 -1
- package/es/PRIVATE_SelectCommon.js +34 -34
- package/es/PRIVATE_StyledCard.js +4 -4
- package/es/PRIVATE_StyledCheckbox.js +16 -16
- package/es/PRIVATE_Table.js +28 -28
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
- package/es/PRIVATE_TimeComponent.js +18 -18
- package/es/PRIVATE_VirtualizedCollection.js +2 -2
- package/es/PRIVATE_VisOverview.js +16 -16
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-9d78c57d.js +6 -6
- package/es/PieChart-ca02932e.js +6 -6
- package/es/{Popup-a4be2769.js → Popup-6c3f0839.js} +9 -9
- package/es/{Popup-a4be2769.js.map → Popup-6c3f0839.js.map} +1 -1
- package/es/{ProgressBar-4fbb27ab.js → ProgressBar-95461222.js} +3 -3
- package/es/{ProgressBar-4fbb27ab.js.map → ProgressBar-95461222.js.map} +1 -1
- package/es/ProgressButton-30ae971f.js +3 -3
- package/es/ProgressButtonLabelLayout-bfc7c805.js +3 -3
- package/es/{ProgressCircle-2d3833fa.js → ProgressCircle-93c309cb.js} +2 -2
- package/es/{ProgressCircle-2d3833fa.js.map → ProgressCircle-93c309cb.js.map} +1 -1
- package/es/ProgressCircleVariants.styles.css +4 -4
- package/es/ProgressCircleVariants.styles2.css +4 -4
- package/es/RadioItem-4196378c.js +6 -6
- package/es/RatingGauge-5346d0bf.js +7 -7
- package/es/ReadonlyTextFieldInput-a15badb6.js +1 -1
- package/es/RemovableNavigationListItem-5a558e58.js +1 -1
- package/es/RemovableTabBarItem-2250a150.js +2 -2
- package/es/ReorderableTabBar-b9019d0a.js +3 -3
- package/es/RevealToggleIcon-c76245fd.js +1 -1
- package/es/{ScatterChart-22a6b15a.js → ScatterChart-829b9755.js} +4 -4
- package/es/{ScatterChart-22a6b15a.js.map → ScatterChart-829b9755.js.map} +1 -1
- package/es/SectionalLegend-c71d48a3.js +4 -4
- package/es/{SectionedContent-2d0a744d.js → SectionedContent-3fd063af.js} +5 -5
- package/es/{SectionedContent-2d0a744d.js.map → SectionedContent-3fd063af.js.map} +1 -1
- package/es/SegmentStyles.styles.css +8 -8
- package/es/SegmentStyles.styles2.css +8 -8
- package/es/{SelectMultiple-0b1a66db.js → SelectMultiple-f00b3232.js} +10 -10
- package/es/{SelectMultiple-0b1a66db.js.map → SelectMultiple-f00b3232.js.map} +1 -1
- package/es/{SelectSingle-c4761455.js → SelectSingle-375ef72f.js} +9 -9
- package/es/{SelectSingle-c4761455.js.map → SelectSingle-375ef72f.js.map} +1 -1
- package/es/{SelectionCard-792c249d.js → SelectionCard-1f8585cb.js} +2 -2
- package/es/{SelectionCard-792c249d.js.map → SelectionCard-1f8585cb.js.map} +1 -1
- package/es/Selector-5892544f.js +1 -1
- package/es/{SelectorAll-ab748274.js → SelectorAll-e833da6d.js} +7 -7
- package/es/{SelectorAll-ab748274.js.map → SelectorAll-e833da6d.js.map} +1 -1
- package/es/{Sheet-31e6970c.js → Sheet-0861fcc0.js} +3 -3
- package/es/{Sheet-31e6970c.js.map → Sheet-0861fcc0.js.map} +1 -1
- package/es/SplitMenuButton-afa523a8.js +2 -2
- package/es/SplitMenuButtonTheme.styles.css +4 -4
- package/es/SplitMenuButtonTheme.styles2.css +4 -4
- package/es/{StyledCard-6913b45c.js → StyledCard-f5965d6d.js} +2 -2
- package/es/{StyledCard-6913b45c.js.map → StyledCard-f5965d6d.js.map} +1 -1
- package/es/StyledTextField-fba62818.js +3 -3
- package/es/TabBar-fb7f97d2.js +6 -6
- package/es/TabBarItem-252cba76.js +3 -3
- package/es/TabBarLayout-8caaa060.js +1 -1
- package/es/TabBarMixed-f60c2c7a.js +6 -6
- package/es/{TabBarMixedSeparator-16c88691.js → TabBarMixedSeparator-da56f4c0.js} +2 -2
- package/es/{TabBarMixedSeparator-16c88691.js.map → TabBarMixedSeparator-da56f4c0.js.map} +1 -1
- package/es/{Table-39429460.js → Table-424db6b2.js} +11 -11
- package/es/{Table-39429460.js.map → Table-424db6b2.js.map} +1 -1
- package/es/{TableView-fef873d4.js → TableView-1f193c4a.js} +2 -2
- package/es/{TableView-fef873d4.js.map → TableView-1f193c4a.js.map} +1 -1
- package/es/TagCloud-ef087101.js +8 -8
- package/es/{TextArea-e9bcb623.js → TextArea-f8a4620b.js} +30 -13
- package/es/TextArea-f8a4620b.js.map +1 -0
- package/es/{TextAreaAutosize-3b559450.js → TextAreaAutosize-6ff9bddb.js} +7 -7
- package/es/{TextAreaAutosize-3b559450.js.map → TextAreaAutosize-6ff9bddb.js.map} +1 -1
- package/es/TextField-1120a3c4.js +3 -3
- package/es/TextFieldInput-3c2e920d.js +1 -1
- package/es/TextFieldVariants.styles.css +29 -29
- package/es/TextFieldVariants.styles2.css +29 -29
- package/es/Theme-redwood/theme.css +582 -582
- package/es/Theme-stable/theme.css +522 -522
- package/es/TimeComponentCanvas2D-73b0b592.js +5 -5
- package/es/Toolbar-7676795b.js +1 -1
- package/es/{TruncatingBadge-0f04b894.js → TruncatingBadge-b69c1ceb.js} +4 -4
- package/es/{TruncatingBadge-0f04b894.js.map → TruncatingBadge-b69c1ceb.js.map} +1 -1
- package/es/{TruncatingText-ccad557f.js → TruncatingText-68acfafd.js} +4 -4
- package/es/{TruncatingText-ccad557f.js.map → TruncatingText-68acfafd.js.map} +1 -1
- package/es/UNSAFE_ActionCard.js +3 -3
- package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +37 -37
- package/es/UNSAFE_BarChart.js +37 -37
- package/es/UNSAFE_BaseButton.js +3 -3
- package/es/UNSAFE_Button.js +3 -3
- package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +23 -23
- package/es/UNSAFE_ButtonSet.js +4 -4
- package/es/UNSAFE_ButtonSetButton.js +3 -3
- package/es/UNSAFE_ButtonSetIconButton.js +16 -16
- package/es/UNSAFE_ButtonSetItem.js +16 -16
- 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 +26 -26
- package/es/UNSAFE_CardGridView.js +26 -26
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_ChartWithLegend.js +4 -4
- package/es/UNSAFE_Checkbox.js +23 -23
- package/es/UNSAFE_CheckboxItem.js +53 -104
- package/es/UNSAFE_CheckboxItem.js.map +1 -1
- package/es/UNSAFE_CheckboxSet.js +68 -34
- package/es/UNSAFE_CheckboxSet.js.map +1 -1
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +18 -18
- package/es/UNSAFE_ComboChart.js +39 -39
- package/es/UNSAFE_ComponentMessage.js +19 -19
- package/es/UNSAFE_ConveyorBelt/themes/redwood/ConveyorBeltTheme.js +1 -1
- package/es/UNSAFE_ConveyorBelt/themes/redwood/ConveyorBeltVariants.css.js +1 -1
- package/es/UNSAFE_ConveyorBelt/themes/stable/ConveyorBeltTheme.js +1 -1
- package/es/UNSAFE_ConveyorBelt/themes/stable/ConveyorBeltVariants.css.js +1 -1
- package/es/UNSAFE_ConveyorBelt.js +17 -17
- package/es/UNSAFE_DatePicker.js +24 -24
- package/es/UNSAFE_Diagram.js +21 -21
- package/es/UNSAFE_Dialog.js +21 -21
- package/es/UNSAFE_DragHandle.js +18 -18
- package/es/UNSAFE_DrawerLayout.js +12 -12
- package/es/UNSAFE_DrawerPopup.js +11 -11
- package/es/UNSAFE_Dropdown/themes/dropdownStyles.css.js +1 -1
- package/es/UNSAFE_Dropdown.js +14 -14
- 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 +23 -23
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +16 -16
- package/es/UNSAFE_IconButton.js +16 -16
- package/es/UNSAFE_IconMenuButton.js +22 -22
- package/es/UNSAFE_IconProgressButton.js +20 -20
- package/es/UNSAFE_IconToggleButton.js +16 -16
- package/es/UNSAFE_Indexer.js +8 -8
- package/es/UNSAFE_InputDateMask/themes/SegmentStyles.css.js +1 -1
- package/es/UNSAFE_InputDateMask.js +26 -26
- package/es/UNSAFE_InputDatePicker.js +115 -115
- package/es/UNSAFE_InputPassword.js +24 -24
- package/es/UNSAFE_InputSensitiveText.js +26 -26
- package/es/UNSAFE_InputText.js +27 -27
- package/es/UNSAFE_InputTimeMask/themes/SegmentStyles.css.js +1 -1
- package/es/UNSAFE_InputTimeMask.js +26 -26
- package/es/UNSAFE_Label.js +24 -24
- package/es/UNSAFE_LabelValueLayout.js +5 -5
- package/es/UNSAFE_LabelledLink/themes/redwood/LabelledLinkTheme.js +1 -1
- package/es/UNSAFE_LabelledLink/themes/redwood/LabelledLinkVariants.css.js +1 -1
- package/es/UNSAFE_LabelledLink/themes/stable/LabelledLinkTheme.js +1 -1
- package/es/UNSAFE_LabelledLink/themes/stable/LabelledLinkVariants.css.js +1 -1
- package/es/UNSAFE_LabelledLink.js +26 -26
- package/es/UNSAFE_Layer.js +8 -8
- package/es/UNSAFE_Legend.js +25 -25
- package/es/UNSAFE_LineAreaChart.js +39 -39
- package/es/UNSAFE_Link.js +2 -2
- package/es/UNSAFE_ListItemLayout.js +5 -5
- package/es/UNSAFE_ListView.js +34 -34
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +24 -24
- package/es/UNSAFE_MenuButton.js +22 -22
- package/es/UNSAFE_MessageBanner.js +19 -19
- package/es/UNSAFE_MessageToast.js +22 -22
- package/es/UNSAFE_MeterBar.js +16 -16
- package/es/UNSAFE_MeterCircle/themes/redwood/MeterCircleTheme.js +1 -1
- package/es/UNSAFE_MeterCircle/themes/redwood/MeterCircleVariants.css.js +1 -1
- package/es/UNSAFE_MeterCircle/themes/stable/MeterCircleTheme.js +1 -1
- package/es/UNSAFE_MeterCircle/themes/stable/MeterCircleVariants.css.js +1 -1
- package/es/UNSAFE_MeterCircle.js +18 -18
- package/es/UNSAFE_Modal.js +8 -8
- package/es/UNSAFE_NavigationList/themes/redwood/NavigationListItemVariants.css.js +1 -1
- package/es/UNSAFE_NavigationList/themes/stable/NavigationListItemTheme.js +1 -1
- package/es/UNSAFE_NavigationList/themes/stable/NavigationListItemVariants.css.js +1 -1
- package/es/UNSAFE_NavigationList.js +25 -25
- package/es/UNSAFE_NavigationListCommon/themes/redwood/NavigationListItemTheme.js +1 -1
- package/es/UNSAFE_NavigationListCommon.js +19 -19
- package/es/UNSAFE_NumberInputText.js +26 -26
- package/es/UNSAFE_OverflowTabBar.js +29 -29
- package/es/UNSAFE_PictoChart.js +14 -14
- package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +22 -22
- package/es/UNSAFE_PieChart.js +22 -22
- package/es/UNSAFE_Popup.js +16 -16
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +20 -20
- package/es/UNSAFE_ProgressButtonLabelLayout.js +11 -11
- package/es/UNSAFE_ProgressCircle/themes/redwood/ProgressCircleTheme.js +1 -1
- package/es/UNSAFE_ProgressCircle/themes/redwood/ProgressCircleVariants.css.js +1 -1
- package/es/UNSAFE_ProgressCircle/themes/stable/ProgressCircleTheme.js +1 -1
- package/es/UNSAFE_ProgressCircle/themes/stable/ProgressCircleVariants.css.js +1 -1
- package/es/UNSAFE_ProgressCircle.js +5 -5
- package/es/UNSAFE_RadioItem.js +23 -23
- package/es/UNSAFE_RadioSet.js +24 -24
- package/es/UNSAFE_RatingGauge.js +17 -17
- package/es/UNSAFE_ReorderableTabBar.js +25 -25
- package/es/UNSAFE_RichCheckboxSet.js +37 -39
- package/es/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/es/UNSAFE_RichRadioSet.js +26 -26
- package/es/UNSAFE_RichSelectionItem.js +57 -195
- package/es/UNSAFE_RichSelectionItem.js.map +1 -1
- package/es/UNSAFE_ScatterChart.js +39 -39
- package/es/UNSAFE_SectionalLegend.js +26 -26
- package/es/UNSAFE_SelectMultiple.js +38 -38
- package/es/UNSAFE_SelectSingle.js +38 -38
- package/es/UNSAFE_SelectionCard.js +5 -5
- package/es/UNSAFE_Selector.js +16 -16
- package/es/UNSAFE_SelectorAll.js +20 -20
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +14 -14
- package/es/UNSAFE_Sheet.js +11 -11
- package/es/UNSAFE_SplitMenuButton/themes/redwood/SplitMenuButtonTheme.css.js +1 -1
- package/es/UNSAFE_SplitMenuButton/themes/stable/SplitMenuButtonTheme.css.js +1 -1
- package/es/UNSAFE_SplitMenuButton.js +23 -23
- package/es/UNSAFE_TabBar.js +29 -29
- package/es/UNSAFE_TabBarCommon.js +29 -29
- package/es/UNSAFE_TabBarMixed.js +30 -30
- package/es/UNSAFE_TableView.js +29 -29
- package/es/UNSAFE_TagCloud.js +24 -24
- package/es/UNSAFE_TextArea.js +28 -29
- package/es/UNSAFE_TextArea.js.map +1 -1
- package/es/UNSAFE_TextAreaAutosize.js +29 -29
- package/es/UNSAFE_TextField/themes/redwood/TextFieldTheme.js +1 -1
- package/es/UNSAFE_TextField/themes/redwood/TextFieldVariants.css.js +1 -1
- package/es/UNSAFE_TextField/themes/stable/TextFieldTheme.js +1 -1
- package/es/UNSAFE_TextField/themes/stable/TextFieldVariants.css.js +1 -1
- package/es/UNSAFE_TextField.js +8 -8
- package/es/UNSAFE_ToggleButton.js +3 -3
- package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +25 -25
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +17 -17
- package/es/UNSAFE_TruncatingBadge.js +18 -18
- package/es/UNSAFE_TruncatingText.js +17 -17
- package/es/UNSAFE_UserAssistance.js +24 -24
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +25 -25
- 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-a8a64eb1.js → View-63980a9b.js} +5 -5
- package/es/{View-a8a64eb1.js.map → View-63980a9b.js.map} +1 -1
- package/es/{VirtualizedCollection-e73890a1.js → VirtualizedCollection-f048fbb8.js} +2 -2
- package/es/{VirtualizedCollection-e73890a1.js.map → VirtualizedCollection-f048fbb8.js.map} +1 -1
- package/es/{VirtualizedListView-3ef40bde.js → VirtualizedListView-0532e46c.js} +2 -2
- package/es/{VirtualizedListView-3ef40bde.js.map → VirtualizedListView-0532e46c.js.map} +1 -1
- package/es/{VisNoData-794ddc21.js → VisNoData-02cab8f6.js} +3 -3
- package/es/{VisNoData-794ddc21.js.map → VisNoData-02cab8f6.js.map} +1 -1
- package/es/{VisProgressiveLoader-66dde1ff.js → VisProgressiveLoader-2b2103c8.js} +3 -3
- package/es/{VisProgressiveLoader-66dde1ff.js.map → VisProgressiveLoader-2b2103c8.js.map} +1 -1
- package/es/{VisTabularDatatip-6aa607bb.js → VisTabularDatatip-2ae7ee48.js} +2 -2
- package/es/{VisTabularDatatip-6aa607bb.js.map → VisTabularDatatip-2ae7ee48.js.map} +1 -1
- package/es/{WindowOverlay-de5d0819.js → WindowOverlay-9b43e658.js} +2 -2
- package/es/{WindowOverlay-de5d0819.js.map → WindowOverlay-9b43e658.js.map} +1 -1
- package/es/{YearsGridView-d1bb65cf.js → YearsGridView-23ef4ced.js} +4 -4
- package/es/{YearsGridView-d1bb65cf.js.map → YearsGridView-23ef4ced.js.map} +1 -1
- package/es/dropdownStyles.styles.css +6 -90
- package/es/dropdownStyles.styles2.css +90 -6
- 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 +18 -18
- package/es/hooks/PRIVATE_useChartMarquee.js +18 -18
- 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_useVisContextMenu.js +21 -21
- package/es/hooks/PRIVATE_useVisDragModeControls.js +18 -18
- package/es/hooks/PRIVATE_useVisEvents.js +4 -4
- package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/es/hooks/PRIVATE_useVisSelection.js +13 -13
- 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_useScale.js +3 -3
- package/es/hooks/UNSAFE_useTestId.js +3 -3
- package/es/hooks/UNSAFE_useTheme.js +3 -3
- package/es/hooks/UNSAFE_useThemeInterpolations.js +6 -6
- package/es/hooks/UNSAFE_useTooltip.js +17 -17
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/{index-f4c1d6de.js → index-20f848bc.js} +2 -2
- package/es/index-20f848bc.js.map +1 -0
- package/es/listViewSelectionTests-79aa17b2.js +3 -3
- package/es/{render-9dce082a.js → render-2b908d4f.js} +3 -3
- package/es/{render-9dce082a.js.map → render-2b908d4f.js.map} +1 -1
- package/es/{tabbableUtils-93a7cd6f.js → tabbableUtils-20bbaf8d.js} +3 -3
- package/es/{tabbableUtils-93a7cd6f.js.map → tabbableUtils-20bbaf8d.js.map} +1 -1
- package/es/{testData-a9ced8ec.js → testData-70bebfae.js} +3 -3
- package/es/{testData-a9ced8ec.js.map → testData-70bebfae.js.map} +1 -1
- package/es/{tooltipUtils-fcfd7dbb.js → tooltipUtils-38192add.js} +5 -5
- package/es/{tooltipUtils-fcfd7dbb.js.map → tooltipUtils-38192add.js.map} +1 -1
- package/es/useCellNavigation-75c62516.js +1 -1
- package/es/useChartContextMenu-121a5f6d.js +2 -2
- package/es/{useChartDatatip-c929f857.js → useChartDatatip-977bc33d.js} +4 -4
- package/es/{useChartDatatip-c929f857.js.map → useChartDatatip-977bc33d.js.map} +1 -1
- package/es/{useColorScheme-f69d53b5.js → useColorScheme-d8a80e2b.js} +2 -2
- package/es/{useColorScheme-f69d53b5.js.map → useColorScheme-d8a80e2b.js.map} +1 -1
- package/es/useContextMenu-8c47333e.js +2 -2
- package/es/{useCssVars-48595cd2.js → useCssVars-8e6932f8.js} +5 -5
- package/es/{useCssVars-48595cd2.js.map → useCssVars-8e6932f8.js.map} +1 -1
- package/es/{useCurrentBgColor-894d059b.js → useCurrentBgColor-5418492b.js} +2 -2
- package/es/{useCurrentBgColor-894d059b.js.map → useCurrentBgColor-5418492b.js.map} +1 -1
- package/es/{useCurrentKey-aa75ec92.js → useCurrentKey-63f6afcc.js} +2 -2
- package/es/{useCurrentKey-aa75ec92.js.map → useCurrentKey-63f6afcc.js.map} +1 -1
- package/es/{useDatatip-40475371.js → useDatatip-bce558e2.js} +4 -4
- package/es/{useDatatip-40475371.js.map → useDatatip-bce558e2.js.map} +1 -1
- package/es/{useDensity-04a01caf.js → useDensity-64ecb649.js} +2 -2
- package/es/{useDensity-04a01caf.js.map → useDensity-64ecb649.js.map} +1 -1
- package/es/{useFloating-dad3f791.js → useFloating-41d21e7d.js} +2 -2
- package/es/{useFloating-dad3f791.js.map → useFloating-41d21e7d.js.map} +1 -1
- package/es/{useKeyboardEvents-b02e5fda.js → useKeyboardEvents-5c311766.js} +2 -2
- package/es/{useKeyboardEvents-b02e5fda.js.map → useKeyboardEvents-5c311766.js.map} +1 -1
- package/es/useLegendContextMenu-1043d63c.js +4 -4
- package/es/{useMeterDatatip-4adf64f2.js → useMeterDatatip-5268869e.js} +3 -3
- package/es/{useMeterDatatip-4adf64f2.js.map → useMeterDatatip-5268869e.js.map} +1 -1
- package/es/{useOutsideClick-c19a8d7f.js → useOutsideClick-8a582d08.js} +2 -2
- package/es/{useOutsideClick-c19a8d7f.js.map → useOutsideClick-8a582d08.js.map} +1 -1
- package/es/{usePopupAnimation-267b444c.js → usePopupAnimation-e2e6a2ca.js} +2 -2
- package/es/{usePopupAnimation-267b444c.js.map → usePopupAnimation-e2e6a2ca.js.map} +1 -1
- package/es/{usePrefixSuffix-995d4cda.js → usePrefixSuffix-435a9c59.js} +2 -2
- package/es/{usePrefixSuffix-995d4cda.js.map → usePrefixSuffix-435a9c59.js.map} +1 -1
- package/es/{useReorderableItem-7f7c13b5.js → useReorderableItem-96616318.js} +3 -3
- package/es/{useReorderableItem-7f7c13b5.js.map → useReorderableItem-96616318.js.map} +1 -1
- package/es/{useRovingTabIndexContainer-7ec9f36f.js → useRovingTabIndexContainer-9afe3ee0.js} +2 -2
- package/es/{useRovingTabIndexContainer-7ec9f36f.js.map → useRovingTabIndexContainer-9afe3ee0.js.map} +1 -1
- package/es/{useScale-3b323ab2.js → useScale-c86ecc6e.js} +2 -2
- package/es/{useScale-3b323ab2.js.map → useScale-c86ecc6e.js.map} +1 -1
- package/es/{useSelectCommon-573611ca.js → useSelectCommon-98d8d2dc.js} +13 -13
- package/es/{useSelectCommon-573611ca.js.map → useSelectCommon-98d8d2dc.js.map} +1 -1
- package/es/{useSelectDrill-14789a5e.js → useSelectDrill-776e616b.js} +3 -3
- package/es/{useSelectDrill-14789a5e.js.map → useSelectDrill-776e616b.js.map} +1 -1
- package/es/{useSelection-ffee622f.js → useSelection-40f44970.js} +5 -5
- package/es/{useSelection-ffee622f.js.map → useSelection-40f44970.js.map} +1 -1
- package/es/{useSelection-c46ba985.js → useSelection-879c64aa.js} +2 -2
- package/es/{useSelection-c46ba985.js.map → useSelection-879c64aa.js.map} +1 -1
- package/es/useTabBar-efad9075.js +1 -1
- package/es/{useTestId-af32a9eb.js → useTestId-3bc3958c.js} +2 -2
- package/es/{useTestId-af32a9eb.js.map → useTestId-3bc3958c.js.map} +1 -1
- package/es/{useTheme-73aca0e4.js → useTheme-4b0f211c.js} +2 -2
- package/es/{useTheme-73aca0e4.js.map → useTheme-4b0f211c.js.map} +1 -1
- package/es/{useThemeInterpolations-242b30ed.js → useThemeInterpolations-8bee52ac.js} +5 -5
- package/es/{useThemeInterpolations-242b30ed.js.map → useThemeInterpolations-8bee52ac.js.map} +1 -1
- package/es/{useTooltip-72f5cf2e.js → useTooltip-98b6d3b5.js} +2 -2
- package/es/{useTooltip-72f5cf2e.js.map → useTooltip-98b6d3b5.js.map} +1 -1
- package/es/{useTooltipControlled-97142fd1.js → useTooltipControlled-b565c75b.js} +5 -5
- package/es/{useTooltipControlled-97142fd1.js.map → useTooltipControlled-b565c75b.js.map} +1 -1
- package/es/{useTranslationBundle-6da03e52.js → useTranslationBundle-98df6291.js} +2 -2
- package/es/{useTranslationBundle-6da03e52.js.map → useTranslationBundle-98df6291.js.map} +1 -1
- package/es/{useUser-bca8cf2d.js → useUser-a15426fc.js} +2 -2
- package/es/{useUser-bca8cf2d.js.map → useUser-a15426fc.js.map} +1 -1
- package/es/useVisDragModeControls-228408bf.js +1 -1
- package/es/{useVisEvents-37c78cfe.js → useVisEvents-7d4753c4.js} +2 -2
- package/es/{useVisEvents-37c78cfe.js.map → useVisEvents-7d4753c4.js.map} +1 -1
- package/es/utils/PRIVATE_tooltipUtils.js +14 -14
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/{withDirectionIcon-389870a2.js → withDirectionIcon-90d7c798.js} +2 -2
- package/es/{withDirectionIcon-389870a2.js.map → withDirectionIcon-90d7c798.js.map} +1 -1
- package/es/withThemeProps-6545df54.js +2 -2
- package/package.json +2 -2
- package/amd/MaxLengthCounter-9a95922c.js +0 -2
- package/amd/MaxLengthCounter-9a95922c.js.map +0 -1
- package/amd/TextArea-5bee11c8.js +0 -2
- package/amd/TextArea-5bee11c8.js.map +0 -1
- package/amd/TextAreaAutosize-ac99cd39.js +0 -2
- package/cjs/MaxLengthCounter-9ab3f74b.js +0 -27
- package/cjs/MaxLengthCounter-9ab3f74b.js.map +0 -1
- package/cjs/TextArea-aea6ecae.js.map +0 -1
- package/es/CheckboxSet-86252618.js +0 -49
- package/es/CheckboxSet-86252618.js.map +0 -1
- package/es/MaxLengthCounter-181b4fc9.js +0 -25
- package/es/MaxLengthCounter-181b4fc9.js.map +0 -1
- package/es/TextArea-e9bcb623.js.map +0 -1
- package/es/index-f4c1d6de.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* @oracle/oraclejet-preact: undefined */
|
|
2
2
|
import { jsxs, Fragment, jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import { useRef, useCallback } from 'preact/hooks';
|
|
4
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
4
|
+
import { u as useTranslationBundle } from './useTranslationBundle-98df6291.js';
|
|
5
5
|
import { S as SvgHelp } from './Help-a8e99b58.js';
|
|
6
|
-
import { P as Popup } from './Popup-
|
|
6
|
+
import { P as Popup } from './Popup-6c3f0839.js';
|
|
7
7
|
import { H as HiddenAccessible } from './HiddenAccessible-61197e7c.js';
|
|
8
8
|
import { I as InlineHelp } from './InlineHelp-9f4042ba.js';
|
|
9
9
|
import { iconUserAssistancePopupFocus, iconUserAssistanceIcon } from './UNSAFE_UserAssistance/themes/UserAssistanceStyles.css.js';
|
|
@@ -70,4 +70,4 @@ const IconUserAssistance = ({ assistiveText, helpSourceLink, helpSourceText, isT
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
export { IconUserAssistance as I };
|
|
73
|
-
//# sourceMappingURL=IconUserAssistance-
|
|
73
|
+
//# sourceMappingURL=IconUserAssistance-627f9d18.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconUserAssistance-
|
|
1
|
+
{"version":3,"file":"IconUserAssistance-627f9d18.js","sources":["../../src/UNSAFE_UserAssistance/IconUserAssistance.tsx"],"sourcesContent":["import { useCallback, useRef } from 'preact/hooks';\n\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '#resources/nls/bundle';\n\nimport { HelpIcon } from '#PRIVATE_ThemedIcons/HelpIcon';\nimport { Popup } from '#UNSAFE_Popup';\nimport { HiddenAccessible } from '#UNSAFE_HiddenAccessible';\nimport { InlineHelp } from './InlineHelp';\nimport {\n iconUserAssistanceIcon,\n iconUserAssistancePopupFocus\n} from './themes/UserAssistanceStyles.css';\nimport { useComponentTheme } from '#hooks/UNSAFE_useComponentTheme';\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { PopupRedwoodTheme } from '#UNSAFE_Popup/themes/redwood/PopupTheme';\nimport { useToggle } from '#hooks/UNSAFE_useToggle';\n\ntype Props = {\n /**\n * Text to provide guidance to help the user understand what data to enter.\n */\n assistiveText?: string;\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: string;\n /**\n * Custom text to be rendered for the `helpSourceLink`. \"Learn more\" will be used if no custom text is provided.\n */\n helpSourceText?: string;\n /**\n * Whether the trigger element is in tab sequence\n */\n isTabbable?: boolean;\n /**\n * ID of the pop up content that can be used for aria-describedby\n */\n id?: string;\n};\n\n/**\n * Created to match icon user assistance spec for use with radio option, pending design review\n * of inline UA assistance.\n */\nconst IconUserAssistance = ({\n assistiveText,\n helpSourceLink,\n helpSourceText,\n isTabbable = true,\n id\n}: Props) => {\n const { bool: isOpen, setFalse: setIsOpenFalse, toggle } = useToggle(false);\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const userAssistance_learnMoreStr = translations.userAssistance_learnMore();\n const sourceText = helpSourceLink && (helpSourceText || userAssistance_learnMoreStr);\n const helpForRadioString = translations.radio_helpForRadio();\n const helpStringId = `${id}-help-string`;\n const anchorRef = useRef<HTMLSpanElement>(null);\n\n const handleOutsideClick = useCallback(\n (event: MouseEvent) => {\n const target = event?.target;\n // We need to filter out anchor click events, because anchor is responsible for the toggling\n if (\n (target instanceof Element || target instanceof Document) &&\n !anchorRef.current?.contains(target) &&\n isOpen\n ) {\n setIsOpenFalse();\n }\n },\n [isOpen, setIsOpenFalse]\n );\n\n const handleLinkEvent = useCallback(\n (e: Event) => {\n // if it's a key event that is not \"enter\", return early\n const { key } = e as KeyboardEvent;\n if (key && key !== 'Enter') {\n return;\n }\n\n // We want to close the pop up if a link is triggered with mouse or keyboard\n const { tagName } = e.target as Element;\n\n if (tagName?.toLowerCase() === 'a') {\n setIsOpenFalse();\n\n // we want to refocus to the help icon after the browser has launched the link\n // prematurely doing so prevents keyboard events from firing\n setTimeout(() => anchorRef.current?.focus());\n }\n },\n [setIsOpenFalse]\n );\n\n const handleOnKeyDown = useCallback(\n (e: KeyboardEvent) => {\n // allow user to close popup without having to focus it\n if (['Tab', 'Escape'].includes(e.code) && isOpen) {\n setIsOpenFalse();\n }\n\n // toggle and prevent scroll jump\n if (['Space', 'Enter'].includes(e.code)) {\n e.preventDefault();\n toggle();\n }\n },\n [isOpen, setIsOpenFalse, toggle]\n );\n\n const onClickHandler = useCallback(\n (e: Event) => {\n e.preventDefault();\n toggle();\n },\n [toggle]\n );\n\n // We are referencing popup vars, so we need to bring in the baseTheme for popup\n const { baseTheme: popupBaseTheme } = useComponentTheme(PopupRedwoodTheme);\n const iconUserAssistanceClasses = classNames([popupBaseTheme, iconUserAssistancePopupFocus]);\n\n return helpSourceLink || assistiveText ? (\n <>\n <span\n onKeyDown={handleOnKeyDown}\n onClick={onClickHandler}\n role=\"link\"\n aria-describedby={helpStringId}\n aria-haspopup=\"dialog\"\n ref={anchorRef}\n tabIndex={isTabbable ? 0 : -1}\n class={iconUserAssistanceIcon}\n id={`${id}-help-icon`}>\n <HelpIcon />\n </span>\n <HiddenAccessible id={helpStringId} isHidden={true}>\n {helpForRadioString}\n </HiddenAccessible>\n <Popup\n placement=\"top\"\n isOpen={isOpen}\n anchorRef={anchorRef}\n onClose={setIsOpenFalse}\n onClickOutside={handleOutsideClick}\n shiftOptions={{ mainAxis: true, crossAxis: false }}\n maxWidth={'296px'}>\n <div\n id={id}\n tabIndex={0}\n class={iconUserAssistanceClasses}\n onMouseUp={handleLinkEvent}\n onKeyDown={handleLinkEvent}>\n <InlineHelp\n assistiveText={assistiveText}\n sourceLink={helpSourceLink}\n sourceText={sourceText}\n />\n </div>\n </Popup>\n </>\n ) : null;\n};\n\nexport { IconUserAssistance };\n"],"names":["_jsxs","_Fragment","_jsx","HelpIcon"],"mappings":";;;;;;;;;;;;;;AAyCA;;;AAGG;AACH,MAAM,kBAAkB,GAAG,CAAC,EAC1B,aAAa,EACb,cAAc,EACd,cAAc,EACd,UAAU,GAAG,IAAI,EACjB,EAAE,EACI,KAAI;AACV,IAAA,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC;AAE5E,IAAA,MAAM,YAAY,GAAG,oBAAoB,CAAa,0BAA0B,CAAC,CAAC;AAClF,IAAA,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AAI,EAC/C,QAAA,EAAA,kBAAkB,GACF,EACnBA,GAAA,CAAC,KAAK,EAAA,EACJ,SAAS,EAAC,KAAK,EACf,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,cAAc,EACvB,cAAc,EAAE,kBAAkB,EAClC,YAAY,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,EAClD,QAAQ,EAAE,OAAO,EACjB,QAAA,EAAAA,GAAA,CAAA,KAAA,EAAA,EACE,EAAE,EAAE,EAAE,EACN,QAAQ,EAAE,CAAC,EACX,KAAK,EAAE,yBAAyB,EAChC,SAAS,EAAE,eAAe,EAC1B,SAAS,EAAE,eAAe,EAAA,QAAA,EAC1BA,GAAC,CAAA,UAAU,IACT,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,cAAc,EAC1B,UAAU,EAAE,UAAU,EAAA,CACtB,EACE,CAAA,EAAA,CACA,IACP,IACD,IAAI,CAAC;AACX;;;;"}
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
import { jsx, jsxs } from 'preact/jsx-runtime';
|
|
3
3
|
import { Fragment, createRef } from 'preact';
|
|
4
4
|
import { useRef, useState, useCallback, useEffect } from 'preact/hooks';
|
|
5
|
-
import { F as Flex } from './Flex-
|
|
5
|
+
import { F as Flex } from './Flex-8696b27b.js';
|
|
6
6
|
import { m as mergeProps } from './mergeProps-88ea8306.js';
|
|
7
7
|
import { u as useSingleSelection } from './useSingleSelection-405a3d03.js';
|
|
8
|
-
import { u as useCurrentKey } from './useCurrentKey-
|
|
8
|
+
import { u as useCurrentKey } from './useCurrentKey-63f6afcc.js';
|
|
9
9
|
import { u as useCollectionFocusRing } from './useCollectionFocusRing-0395110a.js';
|
|
10
10
|
import { m as getPrevNextKey, k as keyExtractor, p as isMobile } from './collectionUtils-ccfce5b4.js';
|
|
11
11
|
import { u as useId } from './useId-03dbfdf0.js';
|
|
12
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
12
|
+
import { u as useTranslationBundle } from './useTranslationBundle-98df6291.js';
|
|
13
13
|
import { H as HiddenAccessible } from './HiddenAccessible-61197e7c.js';
|
|
14
|
-
import { C as Collection } from './Collection-c4f2f3ea.js';
|
|
15
14
|
import { c as classNames } from './classNames-4e12b00d.js';
|
|
16
15
|
import { forwardRef } from 'preact/compat';
|
|
17
16
|
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
18
17
|
import { IndexerRedwoodTheme } from './UNSAFE_Indexer/themes/redwood/IndexerTheme.js';
|
|
19
|
-
import { u as useTestId } from './useTestId-
|
|
18
|
+
import { u as useTestId } from './useTestId-3bc3958c.js';
|
|
19
|
+
import { C as Collection } from './Collection-c4f2f3ea.js';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* The others section variable that application could use
|
|
@@ -333,4 +333,4 @@ function getIndexerDescription(translations) {
|
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
export { Indexer as I, SECTION_OTHERS as S };
|
|
336
|
-
//# sourceMappingURL=Indexer-
|
|
336
|
+
//# sourceMappingURL=Indexer-eb00ba0b.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Indexer-ba2c7593.js","sources":["../../src/UNSAFE_Indexer/IndexerItems.tsx","../../src/UNSAFE_Indexer/Indexer.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { Fragment } from 'preact';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { Flex } from '../UNSAFE_Flex';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport type { BundleType } from '../resources/nls/bundle';\nimport { ItemContext } from 'src/UNSAFE_Collection';\nimport { forwardRef, ForwardedRef } from 'preact/compat';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { IndexerStyles, IndexerItemVariantOptions } from './themes/IndexerStyles.css';\nimport { IndexerRedwoodTheme } from './themes/redwood/IndexerTheme';\n\n/**\n * Type of a section\n */\nexport type Section<K> = {\n /**\n * The key of each section\n */\n key: K;\n /**\n * The label of each section\n */\n label?: string;\n /**\n * A property that indicates whether the section\n * is disabled or not. Typically, when Indexer is\n * used with ListView, a disabled section implies\n * that there's no corresponding items in the ListView\n */\n isDisabled?: boolean;\n};\n\n/**\n * The others section variable that application could use\n * to compare value\n */\n// const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\nexport const SECTION_OTHERS: Section<string> = Object.freeze({\n key: '__others__',\n label: '#'\n});\n\nexport const ITEM_SELECTOR = '[data-oj-key]';\n\nexport type SectionProps<K> = {\n context: ItemContext<Section<K>>;\n currentKey: K;\n selectedKey: K;\n valueNow: number; // the index of an item within currently visible sections\n isFocusRingVisible: boolean;\n};\n\nexport const SectionItem = forwardRef(\n <K extends string | number>(props: SectionProps<K>, ref: ForwardedRef<HTMLLIElement>) => {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n\n const { context, selectedKey } = props;\n const isSelected = context.data.key === selectedKey;\n const commonProps = getCommonProps(props, ref);\n\n const { classes } = useComponentTheme<IndexerItemVariantOptions, IndexerStyles>(\n IndexerRedwoodTheme,\n {\n focused: commonProps.ref && commonProps.isFocusRingVisible ? 'isFocused' : 'notFocused',\n disabled: context.data.isDisabled ? 'isDisabled' : 'notDisabled',\n selected: isSelected ? 'isSelected' : 'notSelected'\n }\n );\n const itemClasses = classNames([classes]);\n\n const sectionLabel = context.data.label || context.data.key;\n const valueText = context.data.isDisabled\n ? translations.indexer_disabledLabel({ SECTION: `${sectionLabel}` })\n : `${sectionLabel}`;\n\n return (\n <li\n {...commonProps}\n class={itemClasses}\n data-oj-valuetext={valueText}\n data-oj-disabled={context.data.isDisabled}>\n {context.data.label || context.data.key}\n </li>\n );\n }\n);\n\nfunction getCommonProps<K>(\n { context, currentKey, valueNow, isFocusRingVisible }: SectionProps<K>,\n ref: ForwardedRef<HTMLLIElement>\n) {\n const isCurrent = context.data.key === currentKey;\n return {\n ...(isCurrent && { ref }),\n key: context.data.key,\n 'data-oj-key': context.data.key,\n 'data-oj-key-type': typeof context.data.key,\n 'data-oj-valuenow': valueNow,\n isFocusRingVisible: !!isFocusRingVisible\n };\n}\n\ntype LastSectionProps<K> = SectionProps<K> & {\n lastValueNow: number;\n};\n\n// render the last section, that contains the last character and others character\nexport const LastSectionItem = forwardRef(\n <K extends string | number>(\n { lastValueNow, ...sectionProps }: LastSectionProps<K>,\n ref: ForwardedRef<HTMLLIElement>\n ) => {\n const commonProps = { ...sectionProps, ref };\n return (\n <Fragment>\n <SectionItem {...commonProps} />\n <OthersItem\n {...commonProps}\n ref={ref}\n context={{ index: -1, data: SECTION_OTHERS } as ItemContext<Section<K>>}\n valueNow={lastValueNow}\n />\n </Fragment>\n );\n }\n);\n\nconst OthersItem = forwardRef(<K,>(props: SectionProps<K>, ref: ForwardedRef<HTMLLIElement>) => {\n const { context, selectedKey } = props;\n const commonProps = getCommonProps(props, ref);\n\n const isSelected = context.data.key === selectedKey;\n const { classes } = useComponentTheme<IndexerItemVariantOptions>(IndexerRedwoodTheme, {\n focused: commonProps.ref && commonProps.isFocusRingVisible ? 'isFocused' : 'notFocused',\n selected: isSelected ? 'isSelected' : 'notSelected'\n });\n const othersClasses = classNames([classes]);\n const othersValueText = SECTION_OTHERS.label;\n\n return (\n <li {...commonProps} class={othersClasses} data-oj-valuetext={othersValueText}>\n {context.data.label}\n </li>\n );\n});\n\ntype SeparatorProps<K> = SectionProps<K> & {\n sectionsPerTruncation: number;\n last: number;\n sections: Section<K>[];\n};\n\nexport const SeparatorItem = forwardRef(\n <K extends string | number>(props: SeparatorProps<K>, ref: ForwardedRef<HTMLLIElement>) => {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n\n const { context, sections } = props;\n const commonProps = getCommonProps(props, ref);\n const { from, to } = getSeparatorRange(props);\n const {\n classes,\n styles: { dotStyle }\n } = useComponentTheme<IndexerItemVariantOptions, IndexerStyles>(IndexerRedwoodTheme, {\n focused: commonProps.ref && commonProps.isFocusRingVisible ? 'isFocused' : 'notFocused'\n });\n\n if (!isInSeparatorMiddle(context.index, from, to)) {\n return null;\n }\n\n const fromText = sections[from].label || sections[from].key;\n const toText = sections[to].label || sections[to].key;\n\n const separatorClasses = classNames([classes]);\n\n const separatorValueText = translations.indexer_separatorLabel({\n FROM_SECTION: `${fromText}`,\n TO_SECTION: `${toText}`\n });\n\n return (\n <li {...commonProps} class={separatorClasses} data-oj-valuetext={separatorValueText}>\n <Flex align=\"center\" justify=\"center\">\n <div class={dotStyle}></div>\n </Flex>\n </li>\n );\n }\n);\n\nexport function hasSeparator<K>(props: SeparatorProps<K>) {\n const { from, to } = getSeparatorRange(props);\n return isInSeparatorMiddle(props.context.index, from, to);\n}\n\nfunction getSeparatorRange<K>({ context, sectionsPerTruncation, last }: SeparatorProps<K>) {\n const from = context.index - (context.index % sectionsPerTruncation) + 1;\n let to = from + sectionsPerTruncation - 2;\n to = to >= last ? last - 1 : to;\n\n return { from, to };\n}\n\nfunction isInSeparatorMiddle(index: number, from: number, to: number) {\n return index === Math.floor((from + to) / 2);\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChildren, createRef, type RefObject } from 'preact';\nimport { useEffect, useRef, useState, StateUpdater, useCallback, Dispatch } from 'preact/hooks';\nimport { Flex } from '../UNSAFE_Flex';\nimport { mergeProps } from '../utils/UNSAFE_mergeProps';\nimport { useSingleSelection } from '../hooks/PRIVATE_useSingleSelection/useSingleSelection';\nimport { useCurrentKey } from '../hooks/PRIVATE_useCurrentKey';\nimport { useCollectionFocusRing } from '../hooks/PRIVATE_useCollectionFocusRing';\nimport { keyExtractor, getPrevNextKey, isMobile } from '../utils/PRIVATE_collectionUtils';\nimport { useId } from '../hooks/UNSAFE_useId';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport type { BundleType } from '../resources/nls/bundle';\nimport { HiddenAccessible } from '../UNSAFE_HiddenAccessible';\nimport { ItemContext, CurrentKeyDetail, SingleSelectionDetail } from '../UNSAFE_Collection';\nimport { Collection } from '../PRIVATE_Collection';\nimport {\n Section,\n SectionItem,\n LastSectionItem,\n SeparatorItem,\n SECTION_OTHERS,\n hasSeparator,\n ITEM_SELECTOR\n} from './IndexerItems';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { IndexerStyles } from './themes/IndexerStyles.css';\nimport { IndexerRedwoodTheme } from './themes/redwood/IndexerTheme';\nimport { useTestId, TestIdProps } from '../hooks/UNSAFE_useTestId';\n\nexport type CommitDetail<K> = {\n value: K;\n};\n\ntype Props<K> = {\n /**\n * An array of sections, the default sections is an\n * array of 26 English alphabets and the # others character\n */\n sections?: Section<K>[];\n\n /**\n * The currently selected Section\n */\n value?: K;\n\n /**\n * A function that will be invoked when selection happens,\n * no matter the Section was selected before or not.\n */\n onCommit?: (detail: CommitDetail<K>) => void;\n};\n\nconst defaultSections: Section<string>[] = [\n { key: 'A' },\n { key: 'B' },\n { key: 'C' },\n { key: 'D' },\n { key: 'E' },\n { key: 'F' },\n { key: 'G' },\n { key: 'H' },\n { key: 'I' },\n { key: 'J' },\n { key: 'K' },\n { key: 'L' },\n { key: 'M' },\n { key: 'N' },\n { key: 'O' },\n { key: 'P' },\n { key: 'Q' },\n { key: 'R' },\n { key: 'S' },\n { key: 'T' },\n { key: 'U' },\n { key: 'V' },\n { key: 'W' },\n { key: 'X' },\n { key: 'Y' },\n { key: 'Z' }\n];\n\n/**\n * Pure Preact based component that consumes Collection component\n * and renders an indexer.\n */\nexport function Indexer<K extends string | number>({\n sections = defaultSections as Section<K>[],\n value,\n onCommit = () => {},\n testId\n}: Props<K> & TestIdProps) {\n const rootRef = useRef<HTMLDivElement>(null);\n const ulRef = useRef<HTMLUListElement>(null);\n const currElementRef = createRef<HTMLLIElement>();\n const [current, setCurrent] = useState<K | undefined>(sections[0]?.key);\n // the number of sections in each truncation\n const [sectionsPerTruncation, setSectionsPerTruncation] = useState<number>(-1);\n // the total number of rendered sections and separators\n const renderedSectionsCount = useRef<number>(-1);\n const itemHeightRef = useRef<number>(0);\n // the id for aria describedby\n const uniqueId = useId();\n\n const [showFocusRing, focusRingProps] = useCollectionFocusRing(rootRef, ['ArrowUp', 'ArrowDown']);\n\n const { currentKeyProps } = useCurrentKey(\n (element) => keyExtractor(element, ITEM_SELECTOR),\n true,\n getPrevNextKey(rootRef.current, current, true, ITEM_SELECTOR),\n getPrevNextKey(rootRef.current, current, false, ITEM_SELECTOR),\n undefined,\n undefined,\n current,\n (detail: CurrentKeyDetail<K>) => setCurrent(detail.value)\n );\n\n const { selectionProps } = useSingleSelection(\n (element) => handleKeyExtract(element, ulRef, current as K),\n // pass in undefined so onCommit handler will be called\n // no matter whether the Section was selected before or not\n undefined,\n (detail: SingleSelectionDetail<K>) => handleSelection(detail, onCommit, sections)\n );\n\n /**\n * Item renderer that will return a section item or a section separator\n * based on the sectionsPerTruncation and item context index.\n * @param context item context\n */\n const itemRenderer = (context: ItemContext<Section<K>>): ComponentChildren => {\n const last = sections.length - 1;\n renderedSectionsCount.current += 1;\n\n const commonProps = {\n context,\n ref: currElementRef,\n currentKey: current as K,\n selectedKey: value as K,\n valueNow: renderedSectionsCount.current,\n isFocusRingVisible: !!showFocusRing\n };\n\n // render the last and the others character, they are always present\n if (context.index === last) {\n return <LastSectionItem {...commonProps} lastValueNow={renderedSectionsCount.current + 1} />;\n }\n\n // render a section, in the non-truncation case or when it is the first in a truncation\n if (sectionsPerTruncation <= 1 || context.index % sectionsPerTruncation === 0) {\n return <SectionItem {...commonProps} />;\n }\n\n // render the separator in the middle of a truncation\n const separatorProps = { ...commonProps, sectionsPerTruncation, last, sections };\n if (hasSeparator(separatorProps)) {\n return <SeparatorItem {...separatorProps} />;\n }\n\n // remove the count for truncated sections\n renderedSectionsCount.current -= 1;\n\n return null;\n };\n\n // truncate the Indexer during resize\n const handleResize = useCallback(\n (entries: ResizeObserverEntry[]) => {\n for (const entry of entries) {\n updateSectionsPerTruncation(\n entry.contentRect.height,\n itemHeightRef.current,\n sections.length,\n sections[0]?.key,\n sectionsPerTruncation,\n setSectionsPerTruncation,\n setCurrent\n );\n }\n },\n [sections, sectionsPerTruncation]\n );\n\n useEffect(() => {\n if (ulRef.current) {\n // Get aria values from IndexerItem to update aria values on Indexer ul element\n ulRef.current.setAttribute('aria-valuemax', renderedSectionsCount.current + 1 + '');\n ulRef.current.setAttribute(\n 'aria-valuetext',\n currElementRef.current?.dataset?.['ojValuetext'] || ''\n );\n ulRef.current.setAttribute(\n 'aria-valuenow',\n currElementRef.current?.dataset?.['ojValuenow'] || ''\n );\n }\n renderedSectionsCount.current = -1;\n });\n\n /**\n * Set up the initial values for sectionsPerTruncation and event listeners\n */\n useEffect(() => {\n const root = rootRef.current;\n if (root) {\n itemHeightRef.current = root.querySelector('li')?.offsetHeight || 0;\n updateSectionsPerTruncation(\n root.offsetHeight,\n itemHeightRef.current,\n sections.length,\n sections[0]?.key,\n sectionsPerTruncation,\n setSectionsPerTruncation,\n setCurrent\n );\n }\n }, [sections, sectionsPerTruncation]);\n\n /**\n * Set up resize observer and refresh the resize observer when\n * sectionsPerTruncation is changed, otherwise it will only have the\n * old copy of sectionsPerTruncation.\n */\n useEffect(() => {\n const root = rootRef.current;\n if (root) {\n const resizeObserver = new ResizeObserver((entries: ResizeObserverEntry[]) => {\n handleResize(entries);\n });\n resizeObserver.observe(root);\n return () => {\n resizeObserver.unobserve(root);\n };\n }\n return undefined;\n }, [sectionsPerTruncation, handleResize]);\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const {\n styles: { baseStyle, innerStyle }\n } = useComponentTheme<never, IndexerStyles>(IndexerRedwoodTheme);\n const testIdProps = useTestId(testId);\n\n return (\n <div ref={rootRef} class={baseStyle} {...testIdProps}>\n <Flex align=\"center\" width=\"6x\" height=\"100%\">\n <ul\n {...mergeProps(currentKeyProps, focusRingProps, selectionProps)}\n ref={ulRef}\n tabIndex={0}\n aria-label=\"Indexer\"\n aria-orientation=\"vertical\"\n aria-valuemin={0}\n aria-describedby={uniqueId}\n role=\"slider\"\n class={innerStyle}>\n <Collection items={sections}>{itemRenderer}</Collection>\n </ul>\n </Flex>\n <HiddenAccessible>\n <span id={uniqueId}>{getIndexerDescription(translations)}</span>\n </HiddenAccessible>\n </div>\n );\n}\n\n// A function to extract key for selection\nconst handleKeyExtract = <K extends string | number>(\n element: HTMLElement,\n rootRef: RefObject<HTMLElement>,\n current: K\n) => {\n if (element === rootRef.current) {\n return current === undefined ? null : current;\n }\n return keyExtractor(element, ITEM_SELECTOR) as K;\n};\n\nconst handleSelection = <K extends string | number>(\n detail: SingleSelectionDetail<K>,\n onCommit: (value: CommitDetail<K>) => void,\n sections: Section<K>[]\n) => {\n if (detail.value === SECTION_OTHERS.key) {\n onCommit({ value: SECTION_OTHERS.key as K });\n } else {\n const selectedSection = sections.find((section) => section.key === detail.value) as Section<K>;\n onCommit({ value: selectedSection.key as K });\n }\n};\n\n/**\n * A function that calculates the section count, based on\n * the container height and the number of sections\n * @param height height of Indexer container\n */\nconst updateSectionsPerTruncation = <K extends string | number>(\n height: number,\n itemHeight: number,\n sectionsLength: number,\n firstSectionKey: K,\n sectionsPerTruncation: number,\n setSectionsPerTruncation: Dispatch<StateUpdater<number>>,\n setCurrent: Dispatch<StateUpdater<K | undefined>>\n) => {\n if (height === 0 || itemHeight === 0) {\n return;\n }\n\n const maxSections = height / itemHeight;\n const last = sectionsLength - 1;\n\n // when the container size is too small to hold two sections\n if (maxSections < 2) {\n if (sectionsPerTruncation !== last) {\n setSectionsPerTruncation(last);\n setCurrent(firstSectionKey);\n }\n\n // no truncation\n // compare with < 0.01 for the deviation from calculation, when sectionsLength and maxSections\n // are about the same, maxNum === sectionsLength doesn't work\n } else if (maxSections > sectionsLength || sectionsLength - maxSections < 0.01) {\n if (sectionsPerTruncation > 1) {\n setSectionsPerTruncation(1);\n setCurrent(firstSectionKey);\n }\n\n // need truncation\n } else {\n const tempSectionCount = findSectionCount(maxSections, last);\n if (tempSectionCount !== sectionsPerTruncation && tempSectionCount < sectionsLength) {\n setSectionsPerTruncation(tempSectionCount);\n setCurrent(firstSectionKey);\n }\n }\n};\n\n/**\n * A helper function to find the best section count\n * in a truncation\n *\n * @param maxSections maximum number of sections allowed in a truncation\n * @param last the index of last section\n */\nconst findSectionCount = (maxSections: number, last: number) => {\n // need truncation\n maxSections -= 2; // minus the last character and the others character\n maxSections /= 2; // each truncation has a section and a separator\n\n const newSectionCount = Math.round(last / maxSections) + 1;\n const truncationLeftover = last % newSectionCount;\n const truncationCount = Math.floor(last / newSectionCount) + (truncationLeftover > 1 ? 1 : 0);\n\n // When the sectionCount becomes greater, it will result in\n // same truncations but with different sections appearing.\n // The following is to find the best sectionCount in this case\n // and prevent unnecessary truncations.\n let tempLeftover = last - (truncationCount - 1) * newSectionCount;\n let tempSectionCount = newSectionCount;\n while (tempSectionCount > tempLeftover) {\n tempSectionCount -= 1;\n tempLeftover = last - (truncationCount - 1) * tempSectionCount;\n }\n if (tempSectionCount != newSectionCount) {\n tempSectionCount += 1;\n }\n\n return tempSectionCount;\n};\n\n/**\n * Helper function to find the aria description for Indexer,\n * based on whether current device is a mobile device\n */\nfunction getIndexerDescription(translations: any) {\n if (isMobile()) {\n return translations.indexer_touchInstructionText();\n } else {\n return translations.indexer_keyboardInstructionText();\n }\n}\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;;;;;;AAuCA;;;AAGG;AACH;AACa,MAAA,cAAc,GAAoB,MAAM,CAAC,MAAM,CAAC;AAC3D,IAAA,GAAG,EAAE,YAAY;AACjB,IAAA,KAAK,EAAE,GAAG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.tsx","../../src/UNSAFE_Indexer/Indexer.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { Fragment } from 'preact';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { Flex } from '../UNSAFE_Flex';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport type { BundleType } from '../resources/nls/bundle';\nimport { ItemContext } from 'src/UNSAFE_Collection';\nimport { forwardRef, ForwardedRef } from 'preact/compat';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { IndexerStyles, IndexerItemVariantOptions } from './themes/IndexerStyles.css';\nimport { IndexerRedwoodTheme } from './themes/redwood/IndexerTheme';\n\n/**\n * Type of a section\n */\nexport type Section<K> = {\n /**\n * The key of each section\n */\n key: K;\n /**\n * The label of each section\n */\n label?: string;\n /**\n * A property that indicates whether the section\n * is disabled or not. Typically, when Indexer is\n * used with ListView, a disabled section implies\n * that there's no corresponding items in the ListView\n */\n isDisabled?: boolean;\n};\n\n/**\n * The others section variable that application could use\n * to compare value\n */\n// const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\nexport const SECTION_OTHERS: Section<string> = Object.freeze({\n key: '__others__',\n label: '#'\n});\n\nexport const ITEM_SELECTOR = '[data-oj-key]';\n\nexport type SectionProps<K> = {\n context: ItemContext<Section<K>>;\n currentKey: K;\n selectedKey: K;\n valueNow: number; // the index of an item within currently visible sections\n isFocusRingVisible: boolean;\n};\n\nexport const SectionItem = forwardRef(\n <K extends string | number>(props: SectionProps<K>, ref: ForwardedRef<HTMLLIElement>) => {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n\n const { context, selectedKey } = props;\n const isSelected = context.data.key === selectedKey;\n const commonProps = getCommonProps(props, ref);\n\n const { classes } = useComponentTheme<IndexerItemVariantOptions, IndexerStyles>(\n IndexerRedwoodTheme,\n {\n focused: commonProps.ref && commonProps.isFocusRingVisible ? 'isFocused' : 'notFocused',\n disabled: context.data.isDisabled ? 'isDisabled' : 'notDisabled',\n selected: isSelected ? 'isSelected' : 'notSelected'\n }\n );\n const itemClasses = classNames([classes]);\n\n const sectionLabel = context.data.label || context.data.key;\n const valueText = context.data.isDisabled\n ? translations.indexer_disabledLabel({ SECTION: `${sectionLabel}` })\n : `${sectionLabel}`;\n\n return (\n <li\n {...commonProps}\n class={itemClasses}\n data-oj-valuetext={valueText}\n data-oj-disabled={context.data.isDisabled}>\n {context.data.label || context.data.key}\n </li>\n );\n }\n);\n\nfunction getCommonProps<K>(\n { context, currentKey, valueNow, isFocusRingVisible }: SectionProps<K>,\n ref: ForwardedRef<HTMLLIElement>\n) {\n const isCurrent = context.data.key === currentKey;\n return {\n ...(isCurrent && { ref }),\n key: context.data.key,\n 'data-oj-key': context.data.key,\n 'data-oj-key-type': typeof context.data.key,\n 'data-oj-valuenow': valueNow,\n isFocusRingVisible: !!isFocusRingVisible\n };\n}\n\ntype LastSectionProps<K> = SectionProps<K> & {\n lastValueNow: number;\n};\n\n// render the last section, that contains the last character and others character\nexport const LastSectionItem = forwardRef(\n <K extends string | number>(\n { lastValueNow, ...sectionProps }: LastSectionProps<K>,\n ref: ForwardedRef<HTMLLIElement>\n ) => {\n const commonProps = { ...sectionProps, ref };\n return (\n <Fragment>\n <SectionItem {...commonProps} />\n <OthersItem\n {...commonProps}\n ref={ref}\n context={{ index: -1, data: SECTION_OTHERS } as ItemContext<Section<K>>}\n valueNow={lastValueNow}\n />\n </Fragment>\n );\n }\n);\n\nconst OthersItem = forwardRef(<K,>(props: SectionProps<K>, ref: ForwardedRef<HTMLLIElement>) => {\n const { context, selectedKey } = props;\n const commonProps = getCommonProps(props, ref);\n\n const isSelected = context.data.key === selectedKey;\n const { classes } = useComponentTheme<IndexerItemVariantOptions>(IndexerRedwoodTheme, {\n focused: commonProps.ref && commonProps.isFocusRingVisible ? 'isFocused' : 'notFocused',\n selected: isSelected ? 'isSelected' : 'notSelected'\n });\n const othersClasses = classNames([classes]);\n const othersValueText = SECTION_OTHERS.label;\n\n return (\n <li {...commonProps} class={othersClasses} data-oj-valuetext={othersValueText}>\n {context.data.label}\n </li>\n );\n});\n\ntype SeparatorProps<K> = SectionProps<K> & {\n sectionsPerTruncation: number;\n last: number;\n sections: Section<K>[];\n};\n\nexport const SeparatorItem = forwardRef(\n <K extends string | number>(props: SeparatorProps<K>, ref: ForwardedRef<HTMLLIElement>) => {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n\n const { context, sections } = props;\n const commonProps = getCommonProps(props, ref);\n const { from, to } = getSeparatorRange(props);\n const {\n classes,\n styles: { dotStyle }\n } = useComponentTheme<IndexerItemVariantOptions, IndexerStyles>(IndexerRedwoodTheme, {\n focused: commonProps.ref && commonProps.isFocusRingVisible ? 'isFocused' : 'notFocused'\n });\n\n if (!isInSeparatorMiddle(context.index, from, to)) {\n return null;\n }\n\n const fromText = sections[from].label || sections[from].key;\n const toText = sections[to].label || sections[to].key;\n\n const separatorClasses = classNames([classes]);\n\n const separatorValueText = translations.indexer_separatorLabel({\n FROM_SECTION: `${fromText}`,\n TO_SECTION: `${toText}`\n });\n\n return (\n <li {...commonProps} class={separatorClasses} data-oj-valuetext={separatorValueText}>\n <Flex align=\"center\" justify=\"center\">\n <div class={dotStyle}></div>\n </Flex>\n </li>\n );\n }\n);\n\nexport function hasSeparator<K>(props: SeparatorProps<K>) {\n const { from, to } = getSeparatorRange(props);\n return isInSeparatorMiddle(props.context.index, from, to);\n}\n\nfunction getSeparatorRange<K>({ context, sectionsPerTruncation, last }: SeparatorProps<K>) {\n const from = context.index - (context.index % sectionsPerTruncation) + 1;\n let to = from + sectionsPerTruncation - 2;\n to = to >= last ? last - 1 : to;\n\n return { from, to };\n}\n\nfunction isInSeparatorMiddle(index: number, from: number, to: number) {\n return index === Math.floor((from + to) / 2);\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChildren, createRef, type RefObject } from 'preact';\nimport { useEffect, useRef, useState, StateUpdater, useCallback, Dispatch } from 'preact/hooks';\nimport { Flex } from '../UNSAFE_Flex';\nimport { mergeProps } from '../utils/UNSAFE_mergeProps';\nimport { useSingleSelection } from '../hooks/PRIVATE_useSingleSelection/useSingleSelection';\nimport { useCurrentKey } from '../hooks/PRIVATE_useCurrentKey';\nimport { useCollectionFocusRing } from '../hooks/PRIVATE_useCollectionFocusRing';\nimport { keyExtractor, getPrevNextKey, isMobile } from '../utils/PRIVATE_collectionUtils';\nimport { useId } from '../hooks/UNSAFE_useId';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport type { BundleType } from '../resources/nls/bundle';\nimport { HiddenAccessible } from '../UNSAFE_HiddenAccessible';\nimport { ItemContext, CurrentKeyDetail, SingleSelectionDetail } from '../UNSAFE_Collection';\nimport { Collection } from '../PRIVATE_Collection';\nimport {\n Section,\n SectionItem,\n LastSectionItem,\n SeparatorItem,\n SECTION_OTHERS,\n hasSeparator,\n ITEM_SELECTOR\n} from './IndexerItems';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { IndexerStyles } from './themes/IndexerStyles.css';\nimport { IndexerRedwoodTheme } from './themes/redwood/IndexerTheme';\nimport { useTestId, TestIdProps } from '../hooks/UNSAFE_useTestId';\n\nexport type CommitDetail<K> = {\n value: K;\n};\n\ntype Props<K> = {\n /**\n * An array of sections, the default sections is an\n * array of 26 English alphabets and the # others character\n */\n sections?: Section<K>[];\n\n /**\n * The currently selected Section\n */\n value?: K;\n\n /**\n * A function that will be invoked when selection happens,\n * no matter the Section was selected before or not.\n */\n onCommit?: (detail: CommitDetail<K>) => void;\n};\n\nconst defaultSections: Section<string>[] = [\n { key: 'A' },\n { key: 'B' },\n { key: 'C' },\n { key: 'D' },\n { key: 'E' },\n { key: 'F' },\n { key: 'G' },\n { key: 'H' },\n { key: 'I' },\n { key: 'J' },\n { key: 'K' },\n { key: 'L' },\n { key: 'M' },\n { key: 'N' },\n { key: 'O' },\n { key: 'P' },\n { key: 'Q' },\n { key: 'R' },\n { key: 'S' },\n { key: 'T' },\n { key: 'U' },\n { key: 'V' },\n { key: 'W' },\n { key: 'X' },\n { key: 'Y' },\n { key: 'Z' }\n];\n\n/**\n * Pure Preact based component that consumes Collection component\n * and renders an indexer.\n */\nexport function Indexer<K extends string | number>({\n sections = defaultSections as Section<K>[],\n value,\n onCommit = () => {},\n testId\n}: Props<K> & TestIdProps) {\n const rootRef = useRef<HTMLDivElement>(null);\n const ulRef = useRef<HTMLUListElement>(null);\n const currElementRef = createRef<HTMLLIElement>();\n const [current, setCurrent] = useState<K | undefined>(sections[0]?.key);\n // the number of sections in each truncation\n const [sectionsPerTruncation, setSectionsPerTruncation] = useState<number>(-1);\n // the total number of rendered sections and separators\n const renderedSectionsCount = useRef<number>(-1);\n const itemHeightRef = useRef<number>(0);\n // the id for aria describedby\n const uniqueId = useId();\n\n const [showFocusRing, focusRingProps] = useCollectionFocusRing(rootRef, ['ArrowUp', 'ArrowDown']);\n\n const { currentKeyProps } = useCurrentKey(\n (element) => keyExtractor(element, ITEM_SELECTOR),\n true,\n getPrevNextKey(rootRef.current, current, true, ITEM_SELECTOR),\n getPrevNextKey(rootRef.current, current, false, ITEM_SELECTOR),\n undefined,\n undefined,\n current,\n (detail: CurrentKeyDetail<K>) => setCurrent(detail.value)\n );\n\n const { selectionProps } = useSingleSelection(\n (element) => handleKeyExtract(element, ulRef, current as K),\n // pass in undefined so onCommit handler will be called\n // no matter whether the Section was selected before or not\n undefined,\n (detail: SingleSelectionDetail<K>) => handleSelection(detail, onCommit, sections)\n );\n\n /**\n * Item renderer that will return a section item or a section separator\n * based on the sectionsPerTruncation and item context index.\n * @param context item context\n */\n const itemRenderer = (context: ItemContext<Section<K>>): ComponentChildren => {\n const last = sections.length - 1;\n renderedSectionsCount.current += 1;\n\n const commonProps = {\n context,\n ref: currElementRef,\n currentKey: current as K,\n selectedKey: value as K,\n valueNow: renderedSectionsCount.current,\n isFocusRingVisible: !!showFocusRing\n };\n\n // render the last and the others character, they are always present\n if (context.index === last) {\n return <LastSectionItem {...commonProps} lastValueNow={renderedSectionsCount.current + 1} />;\n }\n\n // render a section, in the non-truncation case or when it is the first in a truncation\n if (sectionsPerTruncation <= 1 || context.index % sectionsPerTruncation === 0) {\n return <SectionItem {...commonProps} />;\n }\n\n // render the separator in the middle of a truncation\n const separatorProps = { ...commonProps, sectionsPerTruncation, last, sections };\n if (hasSeparator(separatorProps)) {\n return <SeparatorItem {...separatorProps} />;\n }\n\n // remove the count for truncated sections\n renderedSectionsCount.current -= 1;\n\n return null;\n };\n\n // truncate the Indexer during resize\n const handleResize = useCallback(\n (entries: ResizeObserverEntry[]) => {\n for (const entry of entries) {\n updateSectionsPerTruncation(\n entry.contentRect.height,\n itemHeightRef.current,\n sections.length,\n sections[0]?.key,\n sectionsPerTruncation,\n setSectionsPerTruncation,\n setCurrent\n );\n }\n },\n [sections, sectionsPerTruncation]\n );\n\n useEffect(() => {\n if (ulRef.current) {\n // Get aria values from IndexerItem to update aria values on Indexer ul element\n ulRef.current.setAttribute('aria-valuemax', renderedSectionsCount.current + 1 + '');\n ulRef.current.setAttribute(\n 'aria-valuetext',\n currElementRef.current?.dataset?.['ojValuetext'] || ''\n );\n ulRef.current.setAttribute(\n 'aria-valuenow',\n currElementRef.current?.dataset?.['ojValuenow'] || ''\n );\n }\n renderedSectionsCount.current = -1;\n });\n\n /**\n * Set up the initial values for sectionsPerTruncation and event listeners\n */\n useEffect(() => {\n const root = rootRef.current;\n if (root) {\n itemHeightRef.current = root.querySelector('li')?.offsetHeight || 0;\n updateSectionsPerTruncation(\n root.offsetHeight,\n itemHeightRef.current,\n sections.length,\n sections[0]?.key,\n sectionsPerTruncation,\n setSectionsPerTruncation,\n setCurrent\n );\n }\n }, [sections, sectionsPerTruncation]);\n\n /**\n * Set up resize observer and refresh the resize observer when\n * sectionsPerTruncation is changed, otherwise it will only have the\n * old copy of sectionsPerTruncation.\n */\n useEffect(() => {\n const root = rootRef.current;\n if (root) {\n const resizeObserver = new ResizeObserver((entries: ResizeObserverEntry[]) => {\n handleResize(entries);\n });\n resizeObserver.observe(root);\n return () => {\n resizeObserver.unobserve(root);\n };\n }\n return undefined;\n }, [sectionsPerTruncation, handleResize]);\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const {\n styles: { baseStyle, innerStyle }\n } = useComponentTheme<never, IndexerStyles>(IndexerRedwoodTheme);\n const testIdProps = useTestId(testId);\n\n return (\n <div ref={rootRef} class={baseStyle} {...testIdProps}>\n <Flex align=\"center\" width=\"6x\" height=\"100%\">\n <ul\n {...mergeProps(currentKeyProps, focusRingProps, selectionProps)}\n ref={ulRef}\n tabIndex={0}\n aria-label=\"Indexer\"\n aria-orientation=\"vertical\"\n aria-valuemin={0}\n aria-describedby={uniqueId}\n role=\"slider\"\n class={innerStyle}>\n <Collection items={sections}>{itemRenderer}</Collection>\n </ul>\n </Flex>\n <HiddenAccessible>\n <span id={uniqueId}>{getIndexerDescription(translations)}</span>\n </HiddenAccessible>\n </div>\n );\n}\n\n// A function to extract key for selection\nconst handleKeyExtract = <K extends string | number>(\n element: HTMLElement,\n rootRef: RefObject<HTMLElement>,\n current: K\n) => {\n if (element === rootRef.current) {\n return current === undefined ? null : current;\n }\n return keyExtractor(element, ITEM_SELECTOR) as K;\n};\n\nconst handleSelection = <K extends string | number>(\n detail: SingleSelectionDetail<K>,\n onCommit: (value: CommitDetail<K>) => void,\n sections: Section<K>[]\n) => {\n if (detail.value === SECTION_OTHERS.key) {\n onCommit({ value: SECTION_OTHERS.key as K });\n } else {\n const selectedSection = sections.find((section) => section.key === detail.value) as Section<K>;\n onCommit({ value: selectedSection.key as K });\n }\n};\n\n/**\n * A function that calculates the section count, based on\n * the container height and the number of sections\n * @param height height of Indexer container\n */\nconst updateSectionsPerTruncation = <K extends string | number>(\n height: number,\n itemHeight: number,\n sectionsLength: number,\n firstSectionKey: K,\n sectionsPerTruncation: number,\n setSectionsPerTruncation: Dispatch<StateUpdater<number>>,\n setCurrent: Dispatch<StateUpdater<K | undefined>>\n) => {\n if (height === 0 || itemHeight === 0) {\n return;\n }\n\n const maxSections = height / itemHeight;\n const last = sectionsLength - 1;\n\n // when the container size is too small to hold two sections\n if (maxSections < 2) {\n if (sectionsPerTruncation !== last) {\n setSectionsPerTruncation(last);\n setCurrent(firstSectionKey);\n }\n\n // no truncation\n // compare with < 0.01 for the deviation from calculation, when sectionsLength and maxSections\n // are about the same, maxNum === sectionsLength doesn't work\n } else if (maxSections > sectionsLength || sectionsLength - maxSections < 0.01) {\n if (sectionsPerTruncation > 1) {\n setSectionsPerTruncation(1);\n setCurrent(firstSectionKey);\n }\n\n // need truncation\n } else {\n const tempSectionCount = findSectionCount(maxSections, last);\n if (tempSectionCount !== sectionsPerTruncation && tempSectionCount < sectionsLength) {\n setSectionsPerTruncation(tempSectionCount);\n setCurrent(firstSectionKey);\n }\n }\n};\n\n/**\n * A helper function to find the best section count\n * in a truncation\n *\n * @param maxSections maximum number of sections allowed in a truncation\n * @param last the index of last section\n */\nconst findSectionCount = (maxSections: number, last: number) => {\n // need truncation\n maxSections -= 2; // minus the last character and the others character\n maxSections /= 2; // each truncation has a section and a separator\n\n const newSectionCount = Math.round(last / maxSections) + 1;\n const truncationLeftover = last % newSectionCount;\n const truncationCount = Math.floor(last / newSectionCount) + (truncationLeftover > 1 ? 1 : 0);\n\n // When the sectionCount becomes greater, it will result in\n // same truncations but with different sections appearing.\n // The following is to find the best sectionCount in this case\n // and prevent unnecessary truncations.\n let tempLeftover = last - (truncationCount - 1) * newSectionCount;\n let tempSectionCount = newSectionCount;\n while (tempSectionCount > tempLeftover) {\n tempSectionCount -= 1;\n tempLeftover = last - (truncationCount - 1) * tempSectionCount;\n }\n if (tempSectionCount != newSectionCount) {\n tempSectionCount += 1;\n }\n\n return tempSectionCount;\n};\n\n/**\n * Helper function to find the aria description for Indexer,\n * based on whether current device is a mobile device\n */\nfunction getIndexerDescription(translations: any) {\n if (isMobile()) {\n return translations.indexer_touchInstructionText();\n } else {\n return translations.indexer_keyboardInstructionText();\n }\n}\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;;;;;;AAuCA;;;AAGG;AACH;AACa,MAAA,cAAc,GAAoB,MAAM,CAAC,MAAM,CAAC;AAC3D,IAAA,GAAG,EAAE,YAAY;AACjB,IAAA,KAAK,EAAE,GAAG;AACX,CAAA,EAAE;AAEI,MAAM,aAAa,GAAG,eAAe,CAAC;AAUtC,MAAM,WAAW,GAAG,UAAU,CACnC,CAA4B,KAAsB,EAAE,GAAgC,KAAI;AACtF,IAAA,MAAM,YAAY,GAAG,oBAAoB,CAAa,0BAA0B,CAAC,CAAC;AAElF,IAAA,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IACvC,MAAM,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,WAAW,CAAC;IACpD,MAAM,WAAW,GAAG,cAAc,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AAE/C,IAAA,MAAM,EAAE,OAAO,EAAE,GAAG,iBAAiB,CACnC,mBAAmB,EACnB;AACE,QAAA,OAAO,EAAE,WAAW,CAAC,GAAG,IAAI,WAAW,CAAC,kBAAkB,GAAG,WAAW,GAAG,YAAY;AACvF,QAAA,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,UAAU,GAAG,YAAY,GAAG,aAAa;QAChE,QAAQ,EAAE,UAAU,GAAG,YAAY,GAAG,aAAa;AACpD,KAAA,CACF,CAAC;IACF,MAAM,WAAW,GAAG,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;AAE1C,IAAA,MAAM,YAAY,GAAG,OA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ChE;AACD,IAAA,IAAI,gBAAgB,IAAI,eAAe,EAAE;QACvC,gBAAgB,IAAI,CAAC,CAAC;KACvB;AAED,IAAA,OAAO,gBAAgB,CAAC;AAC1B,CAAC,CAAC;AAEF;;;AAGG;AACH,SAAS,qBAAqB,CAAC,YAAiB,EAAA;IAC9C,IAAI,QAAQ,EAAE,EAAE;AACd,QAAA,OAAO,YAAY,CAAC,4BAA4B,EAAE,CAAC;KACpD;SAAM;AACL,QAAA,OAAO,YAAY,CAAC,+BAA+B,EAAE,CAAC;KACvD;AACH;;;;"}
|
|
@@ -4,7 +4,7 @@ import { c as classNames } from './classNames-4e12b00d.js';
|
|
|
4
4
|
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
5
5
|
import './TabbableModeContext-7d8ad946.js';
|
|
6
6
|
import { u as useTabbableMode } from './useTabbableMode-a3a351d0.js';
|
|
7
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
7
|
+
import { u as useTranslationBundle } from './useTranslationBundle-98df6291.js';
|
|
8
8
|
import { UserAssistanceRedwoodTheme } from './UNSAFE_UserAssistance/themes/redwood/UserAssistanceTheme.js';
|
|
9
9
|
|
|
10
10
|
function InlineHelpSource({ children, source }) {
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import { jsx } from 'preact/jsx-runtime';
|
|
3
3
|
import './logger-c92f309c.js';
|
|
4
4
|
import 'preact/hooks';
|
|
5
|
-
import './Flex-
|
|
5
|
+
import './Flex-8696b27b.js';
|
|
6
6
|
import './MessageBannerStyles.styles.css';
|
|
7
7
|
import './UNSAFE_MessageBanner/themes/redwood/MessageBannerBaseTheme.styles.css';
|
|
8
8
|
import './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css.js';
|
|
9
9
|
import 'preact';
|
|
10
|
-
import './LayerHost-
|
|
10
|
+
import './LayerHost-15b42a3e.js';
|
|
11
11
|
import 'preact/compat';
|
|
12
12
|
import './TooltipContentStyles.styles.css';
|
|
13
13
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
|
|
14
14
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
|
|
15
|
-
import './tooltipUtils-
|
|
15
|
+
import './tooltipUtils-38192add.js';
|
|
16
16
|
import './IconStyle.styles.css';
|
|
17
17
|
import './IconButton-aed90302.js';
|
|
18
18
|
import './MessageStyles.styles.css';
|
|
@@ -32,13 +32,13 @@ import { u as useFormContext } from './useFormContext-875cacd7.js';
|
|
|
32
32
|
import './FormFieldContext-68eb5946.js';
|
|
33
33
|
import { u as useFormFieldContext } from './useFormFieldContext-626574fd.js';
|
|
34
34
|
import { I as InlineHelp } from './InlineHelp-9f4042ba.js';
|
|
35
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
35
|
+
import { u as useTranslationBundle } from './useTranslationBundle-98df6291.js';
|
|
36
36
|
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
37
37
|
import { UserAssistanceRedwoodTheme } from './UNSAFE_UserAssistance/themes/redwood/UserAssistanceTheme.js';
|
|
38
38
|
import { c as classNames } from './classNames-4e12b00d.js';
|
|
39
39
|
import './InputGroupContext-20bdbd6e.js';
|
|
40
40
|
import { u as useInputGroupContext } from './useInputGroupContext-1d19411e.js';
|
|
41
|
-
import { u as useTestId } from './useTestId-
|
|
41
|
+
import { u as useTestId } from './useTestId-3bc3958c.js';
|
|
42
42
|
|
|
43
43
|
function InlineRequired({ align = 'end', hasHelp = false, hasMessages = false }) {
|
|
44
44
|
const { classes } = useComponentTheme(UserAssistanceRedwoodTheme, {
|
|
@@ -4,20 +4,20 @@ import { forwardRef } from 'preact/compat';
|
|
|
4
4
|
import { useRef, useCallback, useEffect, useReducer, useContext, useImperativeHandle, useMemo } from 'preact/hooks';
|
|
5
5
|
import './logger-c92f309c.js';
|
|
6
6
|
import './TabbableModeContext-7d8ad946.js';
|
|
7
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
7
|
+
import { u as useTranslationBundle } from './useTranslationBundle-98df6291.js';
|
|
8
8
|
import './UserAssistanceStyles.styles.css';
|
|
9
9
|
import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceBaseTheme.styles.css';
|
|
10
10
|
import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css.js';
|
|
11
11
|
import { a as InlineUserAssistance } from './InlineUserAssistance-87a0bc0e.js';
|
|
12
12
|
import { C as CompactUserAssistance } from './CompactUserAssistance-23347994.js';
|
|
13
|
-
import './LayerHost-
|
|
13
|
+
import './LayerHost-15b42a3e.js';
|
|
14
14
|
import './TooltipContentStyles.styles.css';
|
|
15
15
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
|
|
16
16
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
|
|
17
|
-
import './tooltipUtils-
|
|
17
|
+
import './tooltipUtils-38192add.js';
|
|
18
18
|
import { createContext } from 'preact';
|
|
19
19
|
import './IconStyle.styles.css';
|
|
20
|
-
import './Popup-
|
|
20
|
+
import './Popup-6c3f0839.js';
|
|
21
21
|
import './LabelStyles.styles.css';
|
|
22
22
|
import './UNSAFE_Label/themes/redwood/LabelBaseTheme.styles.css';
|
|
23
23
|
import './UNSAFE_Label/themes/redwood/LabelVariants.css.js';
|
|
@@ -31,10 +31,10 @@ import { a as isSelectAll, b as isBackspaceOrDelete } from './keyboardUtils-40ee
|
|
|
31
31
|
import './getFormatParse-4721cf15.js';
|
|
32
32
|
import { i as isNumberOnlyString, g as getMonthName, a as getTodayAsCalendarDate, c as calendarDatesAreDifferent, t as translateCustomMasks } from './maskUtils-3f96bfc4.js';
|
|
33
33
|
import { segmentStyles } from './UNSAFE_InputDateMask/themes/SegmentStyles.css.js';
|
|
34
|
-
import { u as useUser } from './useUser-
|
|
35
|
-
import { F as Flex } from './Flex-
|
|
34
|
+
import { u as useUser } from './useUser-a15426fc.js';
|
|
35
|
+
import { F as Flex } from './Flex-8696b27b.js';
|
|
36
36
|
import { H as HiddenAccessible } from './HiddenAccessible-61197e7c.js';
|
|
37
|
-
import { L as LiveRegion } from './LiveRegion-
|
|
37
|
+
import { L as LiveRegion } from './LiveRegion-cb4f8a54.js';
|
|
38
38
|
import { m as merge } from './stringUtils-16f617bc.js';
|
|
39
39
|
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
40
40
|
import { M as MAX_ISO_YEAR, q as getMonthsInYear, m as getDaysInMonth, r as MIN_ISO_DAY, s as MIN_ISO_YEAR, u as MIN_ISO_MONTH, f as formatFullCalendarDate, v as getDatePlaceholderMasks, w as formatShortCalendarDate } from './calendarDateUtils-763c571d.js';
|
|
@@ -3,27 +3,28 @@ import { jsx, jsxs, Fragment } from 'preact/jsx-runtime';
|
|
|
3
3
|
import { forwardRef } from 'preact/compat';
|
|
4
4
|
import { useState, useCallback, useReducer, useRef, useEffect, useImperativeHandle } from 'preact/hooks';
|
|
5
5
|
import { S as SvgCalendar } from './Calendar-4c39e0ad.js';
|
|
6
|
+
import { a as InputDateMaskContext, I as InputDateMask } from './InputDateMask-4b69db8b.js';
|
|
6
7
|
import { H as HiddenAccessible } from './HiddenAccessible-61197e7c.js';
|
|
7
8
|
import { I as IconButton } from './IconButton-aed90302.js';
|
|
8
9
|
import { g as getClientHints } from './clientHints-05a97aba.js';
|
|
9
10
|
import { F as FormFieldContext } from './FormFieldContext-68eb5946.js';
|
|
10
11
|
import './logger-c92f309c.js';
|
|
11
12
|
import './TabbableModeContext-7d8ad946.js';
|
|
12
|
-
import { u as useTranslationBundle } from './useTranslationBundle-
|
|
13
|
+
import { u as useTranslationBundle } from './useTranslationBundle-98df6291.js';
|
|
13
14
|
import './UserAssistanceStyles.styles.css';
|
|
14
15
|
import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceBaseTheme.styles.css';
|
|
15
16
|
import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css.js';
|
|
16
17
|
import { a as InlineUserAssistance } from './InlineUserAssistance-87a0bc0e.js';
|
|
17
|
-
import './Flex-
|
|
18
|
+
import './Flex-8696b27b.js';
|
|
18
19
|
import './MessageBannerStyles.styles.css';
|
|
19
20
|
import './UNSAFE_MessageBanner/themes/redwood/MessageBannerBaseTheme.styles.css';
|
|
20
21
|
import './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css.js';
|
|
21
22
|
import 'preact';
|
|
22
|
-
import './LayerHost-
|
|
23
|
+
import './LayerHost-15b42a3e.js';
|
|
23
24
|
import './TooltipContentStyles.styles.css';
|
|
24
25
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
|
|
25
26
|
import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
|
|
26
|
-
import './tooltipUtils-
|
|
27
|
+
import './tooltipUtils-38192add.js';
|
|
27
28
|
import './IconStyle.styles.css';
|
|
28
29
|
import './MessageStyles.styles.css';
|
|
29
30
|
import './MessageFormattingUtils-34c9b1aa.js';
|
|
@@ -33,7 +34,7 @@ import './HiddenAccessibleStyles.styles.css';
|
|
|
33
34
|
import './ComponentMessageStyles.styles.css';
|
|
34
35
|
import './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageBaseTheme.styles.css';
|
|
35
36
|
import './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css.js';
|
|
36
|
-
import './Popup-
|
|
37
|
+
import './Popup-6c3f0839.js';
|
|
37
38
|
import './UNSAFE_Separator/themes/SeparatorStyles.css.js';
|
|
38
39
|
import './LabelStyles.styles.css';
|
|
39
40
|
import './UNSAFE_Label/themes/redwood/LabelBaseTheme.styles.css';
|
|
@@ -42,9 +43,9 @@ import './InputGroupContext-20bdbd6e.js';
|
|
|
42
43
|
import './UNSAFE_Popup/themes/redwood/PopupBaseTheme.styles.css';
|
|
43
44
|
import './UNSAFE_Popup/themes/redwood/PopupVariants.css.js';
|
|
44
45
|
import { userAssistanceStyles, dropdownStyles } from './UNSAFE_InputDatePicker/themes/InputDatePickerDropdownStyles.css.js';
|
|
45
|
-
import { S as Sheet } from './Sheet-
|
|
46
|
-
import { D as DatePicker } from './DatePicker-
|
|
47
|
-
import { a as SectionedContent, S as StickyPositioningDropdown } from './SectionedContent-
|
|
46
|
+
import { S as Sheet } from './Sheet-0861fcc0.js';
|
|
47
|
+
import { D as DatePicker } from './DatePicker-32a62e73.js';
|
|
48
|
+
import { a as SectionedContent, S as StickyPositioningDropdown } from './SectionedContent-3fd063af.js';
|
|
48
49
|
import { m as merge } from './stringUtils-16f617bc.js';
|
|
49
50
|
import './FormContext-4d71f9c7.js';
|
|
50
51
|
import { u as useFormContext } from './useFormContext-875cacd7.js';
|
|
@@ -52,7 +53,6 @@ import { u as useId } from './useId-03dbfdf0.js';
|
|
|
52
53
|
import './getFormatParse-4721cf15.js';
|
|
53
54
|
import { c as calendarDatesAreDifferent } from './maskUtils-3f96bfc4.js';
|
|
54
55
|
import { x as isCompleteCalendarDate } from './calendarDateUtils-763c571d.js';
|
|
55
|
-
import { a as InputDateMaskContext, I as InputDateMask } from './InputDateMask-4b69db8b.js';
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
58
|
* Component that renders DatePicker either inside a dropdown or sheet; at small screen
|
|
@@ -304,4 +304,4 @@ const InputDatePicker = forwardRef(({ 'aria-describedby': propDescribedBy, assis
|
|
|
304
304
|
});
|
|
305
305
|
|
|
306
306
|
export { InputDatePicker as I };
|
|
307
|
-
//# sourceMappingURL=InputDatePicker-
|
|
307
|
+
//# sourceMappingURL=InputDatePicker-bf961886.js.map
|