@oracle/oraclejet-preact 18.1.0 → 18.1.2
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/ActionCard-e560d08b.js +1 -1
- package/amd/BarChart-c0ba5b12.js +1 -1
- package/amd/BarGroup-b02506a8.js +1 -1
- package/amd/BaseButton-c6563bf2.js +1 -1
- package/amd/BaseCardView-e75594df.js +1 -1
- package/amd/BaseCardViewSelectionTest-b3d54b34.js +2 -0
- package/amd/BaseCardViewSelectionTest-b3d54b34.js.map +1 -0
- package/amd/BaseNavigationListItem-f2b9ae77.js +2 -0
- package/amd/BaseNavigationListItem-f2b9ae77.js.map +1 -0
- package/amd/BaseRichSelection-65bb6f89.js +1 -1
- package/amd/ButtonSet-3459b0e6.js +1 -1
- package/amd/ButtonSetIconButton-5b13a4c9.js +1 -1
- package/amd/Card-8fd9b2c8.js +2 -0
- package/amd/Card-8fd9b2c8.js.map +1 -0
- package/amd/Center-567b111f.js +2 -0
- package/amd/Center-567b111f.js.map +1 -0
- package/amd/Chart-c3a5a93d.js +1 -1
- package/amd/CheckboxControl-f3a606fe.js +1 -1
- package/amd/CheckboxRadioField-48d4dc4e.js +1 -1
- package/amd/Chip-e007a488.js +1 -1
- package/amd/ClearIcon-d0412ffa.js +1 -1
- package/amd/CollapseIcon-6d62b080.js +1 -1
- package/amd/Collapsible-8608500c.js +1 -1
- package/amd/ComboChart-cec2713a.js +1 -1
- package/amd/CompactHelpSource-e5b889f6.js +1 -1
- package/amd/CompactLabelAssistance-cd404d92.js +2 -0
- package/amd/CompactLabelAssistance-cd404d92.js.map +1 -0
- package/amd/CompactUserAssistance-eb849bc5.js +1 -1
- package/amd/ComponentMessageContainer-8198785a.js +1 -1
- package/amd/ConveyorBeltItem-297444a1.js +1 -1
- package/amd/DatePicker-e0e728f9.js +2 -0
- package/amd/DatePicker-e0e728f9.js.map +1 -0
- package/amd/DatePickerHeader-1f419e06.js +1 -1
- package/amd/Diagram-eb0ab8fb.js +2 -0
- package/amd/Diagram-eb0ab8fb.js.map +1 -0
- package/amd/Dialog-cd6713a4.js +2 -0
- package/amd/Dialog-cd6713a4.js.map +1 -0
- package/amd/DirectionalCollapseArrowIcon-58352e0f.js +1 -1
- package/amd/DirectionalExpandArrowIcon-56420acb.js +1 -1
- package/amd/DragHandle-0798a29c.js +2 -0
- package/amd/DragHandle-0798a29c.js.map +1 -0
- package/amd/DrawerPopup-439787de.js +2 -0
- package/amd/DrawerPopup-439787de.js.map +1 -0
- package/amd/Dropdown-fb803c67.js +2 -0
- package/amd/Dropdown-fb803c67.js.map +1 -0
- package/amd/EnvironmentProvider-d423bca9.js +2 -0
- package/amd/EnvironmentProvider-d423bca9.js.map +1 -0
- package/amd/ExpandableList-81f7f34d.js +1 -1
- package/amd/FilePicker-e0b7a348.js +1 -1
- package/amd/Flex-a208520e.js +2 -0
- package/amd/Flex-a208520e.js.map +1 -0
- package/amd/Floating-043a207a.js +2 -0
- package/amd/Floating-043a207a.js.map +1 -0
- package/amd/FormLayout-d7998ba5.js +1 -1
- package/amd/Gantt-a286e1a6.js +1 -1
- package/amd/Grid-3dd364a1.js +2 -0
- package/amd/Grid-3dd364a1.js.map +1 -0
- package/amd/Gridlines-3c00961a.js +2 -0
- package/amd/Gridlines-3c00961a.js.map +1 -0
- package/amd/GroupLoadingIndicator-6c6743b0.js +1 -1
- package/amd/HighlightText-b3c31e12.js +2 -0
- package/amd/HighlightText-b3c31e12.js.map +1 -0
- package/amd/Icon-906e4e3c.js +1 -1
- package/amd/IconButton-c2e5c1c5.js +1 -1
- package/amd/IconMenuButton-caf797c1.js +1 -1
- package/amd/IconProgressButton-d8c0c306.js +1 -1
- package/amd/IconSwitchButton-e6c5b20f.js +1 -1
- package/amd/IconToggleButton-e6c77f31.js +1 -1
- package/amd/IconUserAssistance-456f4b11.js +2 -0
- package/amd/IconUserAssistance-456f4b11.js.map +1 -0
- package/amd/Indexer-21549baf.js +1 -1
- package/amd/InlineHelpSource-80327d99.js +1 -1
- package/amd/InlineUserAssistance-d208ce7b.js +1 -1
- package/amd/InputDateMask-4157ef60.js +1 -1
- package/amd/InputDatePicker-84b302ea.js +2 -0
- package/amd/InputDatePicker-84b302ea.js.map +1 -0
- package/amd/InputPassword-868ad3bb.js +1 -1
- package/amd/InputText-2cd1e067.js +1 -1
- package/amd/Label-a53aabb9.js +1 -1
- package/amd/LabelValueLayout-6da5829a.js +1 -1
- package/amd/Layer-2ca542c2.js +2 -0
- package/amd/Layer-2ca542c2.js.map +1 -0
- package/amd/LayerHost-a36b1781.js +2 -0
- package/amd/LayerHost-a36b1781.js.map +1 -0
- package/amd/LayerManager-543c0bce.js +2 -0
- package/amd/LayerManager-543c0bce.js.map +1 -0
- package/amd/Legend-75b03ff3.js +1 -1
- package/amd/LineAreaChart-a6914d16.js +2 -0
- package/amd/LineAreaChart-a6914d16.js.map +1 -0
- package/amd/LineSeries-9ddf061e.js +2 -0
- package/amd/LineSeries-9ddf061e.js.map +1 -0
- package/amd/Link-ded379d9.js +1 -1
- package/amd/List-5797be06.js +1 -1
- package/amd/ListItemLayout-853acaaf.js +2 -0
- package/amd/ListItemLayout-853acaaf.js.map +1 -0
- package/amd/ListView-51898222.js +1 -1
- package/amd/LiveRegion-38fa0df8.js +2 -0
- package/amd/LiveRegion-38fa0df8.js.map +1 -0
- package/amd/MaxLengthLiveRegion-40be44ee.js +2 -0
- package/amd/MaxLengthLiveRegion-40be44ee.js.map +1 -0
- package/amd/Menu-bdd771bf.js +1 -1
- package/amd/MenuButton-da59eed0.js +1 -1
- package/amd/MenuItem-dc85fcad.js +1 -1
- package/amd/Message-d34eaeb6.js +1 -1
- package/amd/MessageLayer-4d17f62f.js +2 -0
- package/amd/MessageLayer-4d17f62f.js.map +1 -0
- package/amd/MessageToast-39315d42.js +1 -1
- package/amd/MessagesManager-8af1b1ee.js +1 -1
- package/amd/MeterBar-10ec0c50.js +1 -1
- package/amd/MeterCircle-cce2cb51.js +1 -1
- package/amd/Modal-21aed044.js +2 -0
- package/amd/Modal-21aed044.js.map +1 -0
- package/amd/MonthView-d4c06203.js +2 -0
- package/amd/MonthView-d4c06203.js.map +1 -0
- package/amd/NavigationList-6ca9cfba.js +2 -0
- package/amd/NavigationList-6ca9cfba.js.map +1 -0
- package/amd/NavigationListItem-43b6130b.js +2 -0
- package/amd/NavigationListItem-43b6130b.js.map +1 -0
- package/amd/NumberInputText-66e2d7d1.js +1 -1
- package/amd/OverflowTabBar-127659f1.js +2 -0
- package/amd/OverflowTabBar-127659f1.js.map +1 -0
- package/amd/OverflowTabBarItem-5404d133.js +2 -0
- package/amd/OverflowTabBarItem-5404d133.js.map +1 -0
- package/amd/PRIVATE_BaseCardView.js +1 -1
- package/amd/PRIVATE_Chart.js +1 -1
- package/amd/PRIVATE_CheckboxControl.js +1 -1
- package/amd/PRIVATE_CheckboxRadioField.js +1 -1
- package/amd/PRIVATE_ClearIcon.js +1 -1
- package/amd/PRIVATE_DatePickerHeader.js +1 -1
- package/amd/PRIVATE_DatePickerLayout.js +1 -1
- package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
- package/amd/PRIVATE_FormControls.js +1 -1
- package/amd/PRIVATE_IconSwitchButton.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
- package/amd/PRIVATE_Icons/DragV.js +1 -1
- package/amd/PRIVATE_Icons/WarningS.js +1 -1
- package/amd/PRIVATE_List.js +1 -1
- package/amd/PRIVATE_Message.js +1 -1
- package/amd/PRIVATE_MessageLayer.js +1 -1
- package/amd/PRIVATE_MonthView.js +1 -1
- package/amd/PRIVATE_MonthYearGridView.js +1 -1
- package/amd/PRIVATE_PlotArea.js +1 -1
- package/amd/PRIVATE_RevealToggleIcon.js +1 -1
- package/amd/PRIVATE_RichSelectionCommon.js +1 -1
- package/amd/PRIVATE_SelectCommon.js +1 -1
- package/amd/PRIVATE_StyledCard.js +1 -1
- package/amd/PRIVATE_StyledCheckbox.js +1 -1
- package/amd/PRIVATE_Table.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DragHandleIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
- package/amd/PRIVATE_TimeComponent.js +1 -1
- package/amd/PRIVATE_VisOverview.js +1 -1
- package/amd/PRIVATE_VisTabularDatatip.js +1 -1
- package/amd/PictoChart-952582dd.js +1 -1
- package/amd/PieChart-7826bf45.js +1 -1
- package/amd/Popup-92dfc51f.js +2 -0
- package/amd/Popup-92dfc51f.js.map +1 -0
- package/amd/ProgressBar-2087dde3.js +2 -0
- package/amd/ProgressBar-2087dde3.js.map +1 -0
- package/amd/ProgressButton-b830eead.js +1 -1
- package/amd/ProgressButtonLabelLayout-5404f190.js +1 -1
- package/amd/ProgressCircle-5709a095.js +2 -0
- package/amd/ProgressCircle-5709a095.js.map +1 -0
- package/amd/RadioItem-b159fce3.js +1 -1
- package/amd/RatingGauge-27c01e2c.js +1 -1
- package/amd/ReadonlyTextFieldInput-b8ee28da.js +1 -1
- package/amd/RemovableNavigationListItem-110f19ed.js +2 -0
- package/amd/RemovableNavigationListItem-110f19ed.js.map +1 -0
- package/amd/RemovableTabBarItem-3792c8fd.js +1 -1
- package/amd/ReorderableTabBar-d6720955.js +2 -0
- package/amd/ReorderableTabBar-d6720955.js.map +1 -0
- package/amd/RevealToggleIcon-e5bc966f.js +1 -1
- package/amd/ScatterChart-a7d49c89.js +2 -0
- package/amd/ScatterChart-a7d49c89.js.map +1 -0
- package/amd/SectionalLegend-e9c72ba8.js +1 -1
- package/amd/SectionedContent-5d5ff5b9.js +2 -0
- package/amd/SectionedContent-5d5ff5b9.js.map +1 -0
- package/amd/SelectMultiple-05de2e07.js +1 -1
- package/amd/SelectSingle-9e6bde58.js +1 -1
- package/amd/SelectionCard-977be789.js +2 -0
- package/amd/SelectionCard-977be789.js.map +1 -0
- package/amd/Selector-b67fe1ef.js +1 -1
- package/amd/SelectorAll-face9708.js +2 -0
- package/amd/SelectorAll-face9708.js.map +1 -0
- package/amd/Sheet-23307184.js +2 -0
- package/amd/Sheet-23307184.js.map +1 -0
- package/amd/SplitMenuButton-8d873373.js +1 -1
- package/amd/StyledCard-5c9cee13.js +2 -0
- package/amd/StyledCard-5c9cee13.js.map +1 -0
- package/amd/StyledLabelValueLayout-ddf48667.js +2 -0
- package/amd/StyledLabelValueLayout-ddf48667.js.map +1 -0
- package/amd/StyledTextField-3398bf94.js +1 -1
- package/amd/TabBar-3a35b525.js +2 -0
- package/amd/TabBar-3a35b525.js.map +1 -0
- package/amd/TabBarItem-04031938.js +1 -1
- package/amd/TabBarLayout-de1e43f5.js +1 -1
- package/amd/TabBarMixed-28b62328.js +2 -0
- package/amd/TabBarMixed-28b62328.js.map +1 -0
- package/amd/TabBarMixedSeparator-bd0668c3.js +2 -0
- package/amd/TabBarMixedSeparator-bd0668c3.js.map +1 -0
- package/amd/Table-d8edded4.js +1 -1
- package/amd/TagCloud-057fa603.js +1 -1
- package/amd/TextArea-8dcf6809.js +1 -1
- package/amd/TextAreaAutosize-97aba344.js +1 -1
- package/amd/TextField-80908a0d.js +1 -1
- package/amd/TextFieldInput-ca306ad6.js +1 -1
- package/amd/Theme-redwood/theme.css +249 -249
- package/amd/Theme-stable/theme.css +369 -369
- package/amd/TimeComponentCanvas2D-9a091053.js +1 -1
- package/amd/Toolbar-250d0ce7.js +1 -1
- package/amd/TruncatingBadge-6c7674e0.js +1 -1
- package/amd/TruncatingText-24914f42.js +1 -1
- package/amd/UNSAFE_ActionCard.js +1 -1
- package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
- package/amd/UNSAFE_BarChart.js +1 -1
- package/amd/UNSAFE_BaseButton.js +1 -1
- package/amd/UNSAFE_Button.js +1 -1
- package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
- package/amd/UNSAFE_ButtonSet.js +1 -1
- package/amd/UNSAFE_ButtonSetButton.js +1 -1
- package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
- package/amd/UNSAFE_ButtonSetItem.js +1 -1
- package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
- package/amd/UNSAFE_ButtonSetSingle.js +1 -1
- package/amd/UNSAFE_Card.js +1 -1
- package/amd/UNSAFE_CardFlexView.js +1 -1
- package/amd/UNSAFE_CardGridView.js +1 -1
- package/amd/UNSAFE_Center.js +1 -1
- package/amd/UNSAFE_Checkbox.js +1 -1
- package/amd/UNSAFE_CheckboxItem.js +1 -1
- package/amd/UNSAFE_CheckboxSet.js +1 -1
- package/amd/UNSAFE_Chip.js +1 -1
- package/amd/UNSAFE_Collapsible.js +1 -1
- package/amd/UNSAFE_ComboChart.js +1 -1
- package/amd/UNSAFE_ComponentMessage.js +1 -1
- package/amd/UNSAFE_ConveyorBelt.js +1 -1
- package/amd/UNSAFE_DatePicker.js +1 -1
- package/amd/UNSAFE_Diagram.js +1 -1
- package/amd/UNSAFE_Dialog.js +1 -1
- package/amd/UNSAFE_DragHandle.js +1 -1
- package/amd/UNSAFE_DrawerLayout.js +1 -1
- package/amd/UNSAFE_DrawerPopup.js +1 -1
- package/amd/UNSAFE_Dropdown.js +1 -1
- package/amd/UNSAFE_Environment.js +1 -1
- package/amd/UNSAFE_ExpandableList.js +1 -1
- package/amd/UNSAFE_FilePicker.js +1 -1
- package/amd/UNSAFE_Flex.js +1 -1
- package/amd/UNSAFE_Floating.js +1 -1
- package/amd/UNSAFE_FormLayout.js +1 -1
- package/amd/UNSAFE_Gantt.js +1 -1
- package/amd/UNSAFE_Grid.js +1 -1
- package/amd/UNSAFE_HighlightText.js +1 -1
- package/amd/UNSAFE_Icon.js +1 -1
- package/amd/UNSAFE_IconButton.js +1 -1
- package/amd/UNSAFE_IconMenuButton.js +1 -1
- package/amd/UNSAFE_IconProgressButton.js +1 -1
- package/amd/UNSAFE_IconToggleButton.js +1 -1
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputDateMask.js +1 -1
- package/amd/UNSAFE_InputDatePicker.js +1 -1
- package/amd/UNSAFE_InputPassword.js +1 -1
- package/amd/UNSAFE_InputSensitiveText.js +1 -1
- package/amd/UNSAFE_InputText.js +1 -1
- package/amd/UNSAFE_InputTimeMask.js +1 -1
- package/amd/UNSAFE_Label.js +1 -1
- package/amd/UNSAFE_LabelValueLayout.js +1 -1
- package/amd/UNSAFE_LabelledLink.js +1 -1
- package/amd/UNSAFE_Layer.js +1 -1
- package/amd/UNSAFE_Legend.js +1 -1
- package/amd/UNSAFE_LineAreaChart.js +1 -1
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListItemLayout.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_LiveRegion.js +1 -1
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MenuButton.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_MeterBar.js +1 -1
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_Modal.js +1 -1
- package/amd/UNSAFE_NavigationList.js +1 -1
- package/amd/UNSAFE_NavigationListCommon.js +1 -1
- package/amd/UNSAFE_NumberInputText.js +1 -1
- package/amd/UNSAFE_OverflowTabBar.js +1 -1
- package/amd/UNSAFE_PictoChart.js +1 -1
- package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
- package/amd/UNSAFE_PieChart.js +1 -1
- package/amd/UNSAFE_Popup.js +1 -1
- package/amd/UNSAFE_ProgressBar.js +1 -1
- package/amd/UNSAFE_ProgressButton.js +1 -1
- package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
- package/amd/UNSAFE_ProgressCircle.js +1 -1
- package/amd/UNSAFE_RadioItem.js +1 -1
- package/amd/UNSAFE_RadioSet.js +1 -1
- package/amd/UNSAFE_RatingGauge.js +1 -1
- package/amd/UNSAFE_ReorderableTabBar.js +1 -1
- package/amd/UNSAFE_RichCheckboxSet.js +1 -1
- package/amd/UNSAFE_RichRadioSet.js +1 -1
- package/amd/UNSAFE_RichSelectionItem.js +1 -1
- package/amd/UNSAFE_ScatterChart.js +1 -1
- package/amd/UNSAFE_SectionalLegend.js +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_SelectionCard.js +1 -1
- package/amd/UNSAFE_Selector.js +1 -1
- package/amd/UNSAFE_SelectorAll.js +1 -1
- package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
- package/amd/UNSAFE_Sheet.js +1 -1
- package/amd/UNSAFE_SplitMenuButton.js +1 -1
- package/amd/UNSAFE_TabBar.js +1 -1
- package/amd/UNSAFE_TabBarCommon.js +1 -1
- package/amd/UNSAFE_TabBarMixed.js +1 -1
- package/amd/UNSAFE_TableView.js +1 -1
- package/amd/UNSAFE_TagCloud.js +1 -1
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_TextField.js +1 -1
- package/amd/UNSAFE_ToggleButton.js +1 -1
- package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
- package/amd/UNSAFE_Toolbar.js +1 -1
- package/amd/UNSAFE_Train.js +1 -1
- package/amd/UNSAFE_TruncatingBadge.js +1 -1
- package/amd/UNSAFE_TruncatingText.js +1 -1
- package/amd/UNSAFE_UserAssistance.js +1 -1
- package/amd/UNSAFE_View.js +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
- package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
- package/amd/UNSAFE_VisStatusMessage.js +1 -1
- package/amd/UNSAFE_WindowOverlay.js +1 -1
- package/amd/View-e15784b7.js +2 -0
- package/amd/View-e15784b7.js.map +1 -0
- package/amd/VisNoData-ac5880b9.js +2 -0
- package/amd/VisNoData-ac5880b9.js.map +1 -0
- package/amd/VisProgressiveLoader-01e7a1a8.js +2 -0
- package/amd/VisProgressiveLoader-01e7a1a8.js.map +1 -0
- package/amd/VisTabularDatatip-8e572ce2.js +2 -0
- package/amd/VisTabularDatatip-8e572ce2.js.map +1 -0
- package/amd/WindowOverlay-3d31f35a.js +2 -0
- package/amd/WindowOverlay-3d31f35a.js.map +1 -0
- package/amd/YearsGridView-f7ae554d.js +2 -0
- package/amd/YearsGridView-f7ae554d.js.map +1 -0
- package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
- package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
- package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
- package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
- package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
- package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
- package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
- package/amd/hooks/PRIVATE_useCssVars.js +1 -1
- package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
- package/amd/hooks/PRIVATE_useDatatip.js +1 -1
- package/amd/hooks/PRIVATE_useFloating.js +1 -1
- package/amd/hooks/PRIVATE_useReorderable.js +1 -1
- package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
- package/amd/hooks/PRIVATE_useSelection.js +1 -1
- package/amd/hooks/PRIVATE_useTabBar.js +1 -1
- package/amd/hooks/PRIVATE_useTooltipOnTruncation.js +1 -1
- package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
- package/amd/hooks/PRIVATE_useVisDragModeControls.js +1 -1
- package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
- package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
- package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
- package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
- package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
- package/amd/hooks/UNSAFE_useDensity.js +1 -1
- package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
- package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
- package/amd/hooks/UNSAFE_useScale.js +1 -1
- package/amd/hooks/UNSAFE_useTestId.js +1 -1
- package/amd/hooks/UNSAFE_useTheme.js +1 -1
- package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
- package/amd/hooks/UNSAFE_useTooltip.js +1 -1
- package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
- package/amd/hooks/UNSAFE_useUser.js +1 -1
- package/amd/index-191c944d.js +2 -0
- package/amd/index-191c944d.js.map +1 -0
- package/amd/listViewSelectionTests-338c9a81.js +1 -1
- package/amd/popupUtils-2308a848.js +2 -0
- package/amd/popupUtils-2308a848.js.map +1 -0
- package/amd/render-436a0489.js +2 -0
- package/amd/render-436a0489.js.map +1 -0
- package/amd/tabbableUtils-dcf7c977.js +2 -0
- package/amd/tabbableUtils-dcf7c977.js.map +1 -0
- package/amd/testData-69541e84.js +2 -0
- package/amd/testData-69541e84.js.map +1 -0
- package/amd/tooltipUtils-cf586837.js +2 -0
- package/amd/tooltipUtils-cf586837.js.map +1 -0
- package/amd/useCellNavigation-dcf1584f.js +1 -1
- package/amd/useChartContextMenu-79ff2c41.js +1 -1
- package/amd/useChartDatatip-f3574090.js +2 -0
- package/amd/useChartDatatip-f3574090.js.map +1 -0
- package/amd/useColorScheme-47c8be99.js +2 -0
- package/amd/useColorScheme-47c8be99.js.map +1 -0
- package/amd/useContextMenu-599ada89.js +1 -1
- package/amd/useCssVars-0b95ef7d.js +2 -0
- package/amd/useCssVars-0b95ef7d.js.map +1 -0
- package/amd/useCurrentBgColor-7e1d99fb.js +2 -0
- package/amd/useCurrentBgColor-7e1d99fb.js.map +1 -0
- package/amd/useCurrentKey-6e7057d0.js +2 -0
- package/amd/useCurrentKey-6e7057d0.js.map +1 -0
- package/amd/useDatatip-0c425460.js +2 -0
- package/amd/useDatatip-0c425460.js.map +1 -0
- package/amd/useDensity-5cfdc56a.js +2 -0
- package/amd/useDensity-5cfdc56a.js.map +1 -0
- package/amd/useFloating-3f7a017b.js +2 -0
- package/amd/useFloating-3f7a017b.js.map +1 -0
- package/amd/useKeyboardEvents-f1abb59c.js +2 -0
- package/amd/useKeyboardEvents-f1abb59c.js.map +1 -0
- package/amd/useLegendContextMenu-e050a6ec.js +1 -1
- package/amd/useMeterDatatip-d4ac4181.js +2 -0
- package/amd/useMeterDatatip-d4ac4181.js.map +1 -0
- package/amd/useNavigationListItem-d79484b7.js +2 -0
- package/amd/useNavigationListItem-d79484b7.js.map +1 -0
- package/amd/useOutsideClick-fc4dc457.js +2 -0
- package/amd/useOutsideClick-fc4dc457.js.map +1 -0
- package/amd/usePopupAnimation-b6303252.js +2 -0
- package/amd/usePopupAnimation-b6303252.js.map +1 -0
- package/amd/usePrefixSuffix-582e16a2.js +2 -0
- package/amd/usePrefixSuffix-582e16a2.js.map +1 -0
- package/amd/useReorderableItem-fd5a7b07.js +2 -0
- package/amd/useReorderableItem-fd5a7b07.js.map +1 -0
- package/amd/useRovingTabIndexContainer-f72b17ab.js +2 -0
- package/amd/useRovingTabIndexContainer-f72b17ab.js.map +1 -0
- package/amd/useScale-b2f29348.js +2 -0
- package/amd/useScale-b2f29348.js.map +1 -0
- package/amd/useSelectCommon-736de0ee.js +1 -1
- package/amd/useSelectDrill-6b0b6da7.js +2 -0
- package/amd/useSelectDrill-6b0b6da7.js.map +1 -0
- package/amd/useSelection-02c4c0c0.js +2 -0
- package/amd/useSelection-02c4c0c0.js.map +1 -0
- package/amd/useSelection-5128f1e7.js +2 -0
- package/amd/useSelection-5128f1e7.js.map +1 -0
- package/amd/useTabBar-b1536c9a.js +1 -1
- package/amd/useTestId-efb1c8f9.js +2 -0
- package/amd/useTestId-efb1c8f9.js.map +1 -0
- package/amd/useTheme-a99513fe.js +2 -0
- package/amd/useTheme-a99513fe.js.map +1 -0
- package/amd/useThemeInterpolations-93c8c4c0.js +2 -0
- package/amd/useThemeInterpolations-93c8c4c0.js.map +1 -0
- package/amd/useTooltip-c10bcc4e.js +2 -0
- package/amd/useTooltip-c10bcc4e.js.map +1 -0
- package/amd/useTooltipOnTruncation-a913ba8a.js +2 -0
- package/amd/useTooltipOnTruncation-a913ba8a.js.map +1 -0
- package/amd/useTranslationBundle-33399171.js +2 -0
- package/amd/useTranslationBundle-33399171.js.map +1 -0
- package/amd/useUser-33136570.js +2 -0
- package/amd/useUser-33136570.js.map +1 -0
- package/amd/useVisDragModeControls-120076e9.js +1 -1
- package/amd/useVisEvents-bc470edf.js +2 -0
- package/amd/useVisEvents-bc470edf.js.map +1 -0
- package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
- package/amd/utils/PRIVATE_visTestUtils.js +1 -1
- package/amd/utils/UNSAFE_popupUtils.js +1 -1
- package/amd/withDirectionIcon-56788c71.js +2 -0
- package/amd/withDirectionIcon-56788c71.js.map +1 -0
- package/amd/withThemeProps-5ba8f3bc.js +1 -1
- package/cjs/BaseCardView-dc51267e.js +687 -0
- package/cjs/BaseCardView-dc51267e.js.map +1 -0
- package/cjs/CardFlexView-9393e48c.js +29 -0
- package/cjs/CardFlexView-9393e48c.js.map +1 -0
- package/cjs/CardGridView-e796ff9d.js +17 -0
- package/cjs/CardGridView-e796ff9d.js.map +1 -0
- package/cjs/CheckboxSetContext-c62db26d.js +12 -0
- package/cjs/CheckboxSetContext-c62db26d.js.map +1 -0
- package/cjs/ExpandableList-2182c2f3.js +1 -1
- package/cjs/GroupLoadingIndicator-eea4bd1d.js +1 -1
- package/cjs/Indexer-034ba277.js +339 -0
- package/cjs/Indexer-034ba277.js.map +1 -0
- package/cjs/List-46cdf470.js +723 -0
- package/cjs/List-46cdf470.js.map +1 -0
- package/cjs/ListView-0ec2afbc.js +430 -0
- package/cjs/ListView-0ec2afbc.js.map +1 -0
- package/cjs/LoadMoreCollection-73112ff0.js +34 -0
- package/cjs/LoadMoreCollection-73112ff0.js.map +1 -0
- 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-f12df023.js +1299 -0
- package/cjs/SelectMultiple-f12df023.js.map +1 -0
- package/cjs/SelectSingle-244f066d.js +732 -0
- package/cjs/SelectSingle-244f066d.js.map +1 -0
- package/cjs/Table-687c28a1.js +5499 -0
- package/cjs/Table-687c28a1.js.map +1 -0
- package/cjs/TableView-8a2c3a0a.js +33 -0
- package/cjs/TableView-8a2c3a0a.js.map +1 -0
- package/cjs/TextArea-dcfbeab0.js +180 -0
- package/cjs/TextArea-dcfbeab0.js.map +1 -0
- package/cjs/TextAreaAutosize-fa21ae31.js +246 -0
- package/cjs/TextAreaAutosize-fa21ae31.js.map +1 -0
- package/cjs/Theme-redwood/theme.css +186 -186
- package/cjs/Theme-stable/theme.css +380 -380
- package/cjs/UNSAFE_CardFlexView.js +4 -4
- package/cjs/UNSAFE_CardGridView.js +4 -4
- package/cjs/UNSAFE_CheckboxItem.js +30 -82
- package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
- package/cjs/UNSAFE_CheckboxSet.js +44 -15
- package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_ExpandableList.js +3 -3
- package/cjs/UNSAFE_Indexer.js +2 -2
- package/cjs/UNSAFE_ListView.js +5 -5
- package/cjs/UNSAFE_RichCheckboxSet.js +26 -29
- package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_RichSelectionItem.js +46 -184
- package/cjs/UNSAFE_RichSelectionItem.js.map +1 -1
- 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 +180 -0
- package/cjs/VirtualizedCollection-00aedb8b.js.map +1 -0
- package/cjs/VirtualizedListView-c5df76ea.js +16 -0
- package/cjs/VirtualizedListView-c5df76ea.js.map +1 -0
- package/cjs/useSelectCommon-a00fdf8e.js +709 -0
- package/cjs/useSelectCommon-a00fdf8e.js.map +1 -0
- package/es/ActionCard-9f4e3613.js +1 -1
- package/es/BarChart-49c7f6bb.js +179 -0
- package/es/BarChart-49c7f6bb.js.map +1 -0
- package/es/BarGroup-ac152c88.js +1 -1
- package/es/BaseButton-b5fc41a8.js +2 -2
- package/es/BaseCardView-5e0a327f.js +683 -0
- package/es/BaseCardView-5e0a327f.js.map +1 -0
- package/es/BaseCardViewSelectionTest-b3b001e6.js +721 -0
- package/es/BaseCardViewSelectionTest-b3b001e6.js.map +1 -0
- package/es/BaseNavigationListItem-44157da8.js +1 -1
- package/es/BaseRichSelection-908a6bc3.js +9 -9
- package/es/ButtonSet-474e170e.js +2 -2
- package/es/ButtonSetIconButton-34b24ad4.js +3 -3
- package/es/Card-31a1cb19.js +15 -0
- package/es/Card-31a1cb19.js.map +1 -0
- package/es/CardFlexView-36492791.js +27 -0
- package/es/CardFlexView-36492791.js.map +1 -0
- package/es/CardGridView-64f31130.js +15 -0
- package/es/CardGridView-64f31130.js.map +1 -0
- package/es/Center-903e6ea1.js +16 -0
- package/es/Center-903e6ea1.js.map +1 -0
- package/es/Chart-649fdf1c.js +491 -0
- package/es/Chart-649fdf1c.js.map +1 -0
- package/es/CheckboxControl-1e686657.js +6 -6
- package/es/CheckboxRadioField-201ef340.js +7 -7
- package/es/Chip-9540ef60.js +1 -1
- package/es/ClearIcon-215c5c34.js +1 -1
- package/es/CollapseIcon-43663109.js +1 -1
- package/es/Collapsible-757eaed6.js +2 -2
- package/es/ComboChart-8ca6f857.js +172 -0
- package/es/ComboChart-8ca6f857.js.map +1 -0
- package/es/CompactHelpSource-20f20c17.js +2 -2
- package/es/CompactLabelAssistance-d92b17d1.js +34 -0
- package/es/CompactLabelAssistance-d92b17d1.js.map +1 -0
- package/es/CompactUserAssistance-c2fafab0.js +4 -4
- package/es/ComponentMessageContainer-a06ceb16.js +4 -4
- package/es/ConveyorBeltItem-2a7cfd15.js +2 -2
- package/es/DatePicker-2838c573.js +564 -0
- package/es/DatePicker-2838c573.js.map +1 -0
- package/es/DatePickerHeader-151355b3.js +3 -3
- package/es/Diagram-7236c495.js +2035 -0
- package/es/Diagram-7236c495.js.map +1 -0
- package/es/Dialog-4a0cb90c.js +344 -0
- package/es/Dialog-4a0cb90c.js.map +1 -0
- package/es/DirectionalCollapseArrowIcon-24020989.js +1 -1
- package/es/DirectionalExpandArrowIcon-28f288ca.js +1 -1
- package/es/DragHandle-f9b35377.js +22 -0
- package/es/DragHandle-f9b35377.js.map +1 -0
- package/es/DrawerPopup-dd60ef68.js +381 -0
- package/es/DrawerPopup-dd60ef68.js.map +1 -0
- package/es/Dropdown-ab7ecd4b.js +80 -0
- package/es/Dropdown-ab7ecd4b.js.map +1 -0
- package/es/EnvironmentProvider-1580c879.js +58 -0
- package/es/EnvironmentProvider-1580c879.js.map +1 -0
- package/es/ExpandableList-84f08709.js +4 -4
- package/es/FilePicker-74669308.js +2 -2
- package/es/Flex-ba379500.js +30 -0
- package/es/Flex-ba379500.js.map +1 -0
- package/es/Floating-94a06a14.js +462 -0
- package/es/Floating-94a06a14.js.map +1 -0
- package/es/FormLayout-2fba104e.js +1 -1
- package/es/Gantt-f95290cd.js +9 -9
- package/es/Grid-48e5c78c.js +27 -0
- package/es/Grid-48e5c78c.js.map +1 -0
- package/es/Gridlines-bb3b92f4.js +168 -0
- package/es/Gridlines-bb3b92f4.js.map +1 -0
- package/es/GroupLoadingIndicator-2a294121.js +2 -2
- package/es/HighlightText-a2f81a44.js +31 -0
- package/es/HighlightText-a2f81a44.js.map +1 -0
- package/es/Icon-43d05084.js +3 -3
- package/es/IconButton-b78b5ace.js +3 -3
- package/es/IconMenuButton-441b34f8.js +3 -3
- package/es/IconProgressButton-cb75faa2.js +3 -3
- package/es/IconSwitchButton-4febde18.js +3 -3
- package/es/IconToggleButton-299d5d98.js +3 -3
- package/es/IconUserAssistance-264032b1.js +73 -0
- package/es/IconUserAssistance-264032b1.js.map +1 -0
- package/es/Indexer-6c39ddf3.js +336 -0
- package/es/Indexer-6c39ddf3.js.map +1 -0
- package/es/InlineHelpSource-e0c901ba.js +1 -1
- package/es/InlineUserAssistance-9b70db5b.js +5 -5
- package/es/InputDateMask-0b2a46b5.js +7 -7
- package/es/InputDatePicker-60465b12.js +8 -8
- package/es/InputPassword-106c544f.js +4 -4
- package/es/InputText-2bf2ce27.js +6 -6
- package/es/Label-4503b935.js +5 -5
- package/es/LabelValueLayout-fa08943c.js +1 -1
- package/es/Layer-d4aca92e.js +91 -0
- package/es/Layer-d4aca92e.js.map +1 -0
- package/es/LayerHost-f7ef254c.js +40 -0
- package/es/LayerHost-f7ef254c.js.map +1 -0
- package/es/LayerManager-4ad387dc.js +34 -0
- package/es/LayerManager-4ad387dc.js.map +1 -0
- package/es/Legend-449e7201.js +3 -3
- package/es/LineAreaChart-9a46dce5.js +170 -0
- package/es/LineAreaChart-9a46dce5.js.map +1 -0
- package/es/LineSeries-e71ae377.js +109 -0
- package/es/LineSeries-e71ae377.js.map +1 -0
- package/es/Link-9803ca5b.js +1 -1
- package/es/List-da0ce081.js +718 -0
- package/es/List-da0ce081.js.map +1 -0
- package/es/ListItemLayout-1207112f.js +110 -0
- package/es/ListItemLayout-1207112f.js.map +1 -0
- package/es/ListView-5cada8e6.js +428 -0
- package/es/ListView-5cada8e6.js.map +1 -0
- package/es/LiveRegion-d9f2bbdb.js +39 -0
- package/es/LiveRegion-d9f2bbdb.js.map +1 -0
- package/es/LoadMoreCollection-95a49d2a.js +31 -0
- package/es/LoadMoreCollection-95a49d2a.js.map +1 -0
- package/es/MaxLengthLiveRegion-db713260.js +23 -0
- package/es/MaxLengthLiveRegion-db713260.js.map +1 -0
- package/es/Menu-aa21f75f.js +6 -6
- package/es/MenuButton-fe7e2d06.js +2 -2
- package/es/MenuItem-01343558.js +1 -1
- package/es/Message-98038159.js +2 -2
- package/es/MessageLayer-7650c582.js +58 -0
- package/es/MessageLayer-7650c582.js.map +1 -0
- package/es/MessageToast-2b7922be.js +8 -8
- package/es/MessagesManager-9efc5d44.js +3 -3
- package/es/MeterBar-1319327c.js +5 -5
- package/es/MeterCircle-b52c28b1.js +5 -5
- package/es/Modal-7efd2f81.js +274 -0
- package/es/Modal-7efd2f81.js.map +1 -0
- package/es/MonthView-df043775.js +208 -0
- package/es/MonthView-df043775.js.map +1 -0
- package/es/NavigationListItem-bdf7a2ab.js +5 -5
- package/es/NumberInputText-c71b0b51.js +6 -6
- package/es/OverflowTabBarItem-b643a574.js +3 -3
- package/es/PRIVATE_BaseCardView.js +24 -24
- package/es/PRIVATE_Chart.js +35 -35
- package/es/PRIVATE_CheckboxControl.js +23 -23
- package/es/PRIVATE_CheckboxRadioField.js +25 -25
- package/es/PRIVATE_ClearIcon.js +17 -17
- package/es/PRIVATE_DatePickerHeader.js +18 -18
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +3 -3
- package/es/PRIVATE_FormControls.js +19 -19
- package/es/PRIVATE_IconSwitchButton.js +15 -15
- package/es/PRIVATE_Icons/CheckboxMixed.js +15 -15
- package/es/PRIVATE_Icons/CheckboxOff.js +15 -15
- package/es/PRIVATE_Icons/CheckboxOn.js +15 -15
- package/es/PRIVATE_Icons/DragV.js +15 -15
- package/es/PRIVATE_Icons/WarningS.js +15 -15
- package/es/PRIVATE_List.js +23 -23
- package/es/PRIVATE_LoadMoreCollection.js +2 -2
- package/es/PRIVATE_Message.js +18 -18
- 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 +16 -16
- package/es/PRIVATE_RichSelectionCommon.js +26 -26
- package/es/PRIVATE_SelectCommon.js +33 -33
- package/es/PRIVATE_StyledCard.js +4 -4
- package/es/PRIVATE_StyledCheckbox.js +15 -15
- package/es/PRIVATE_Table.js +27 -27
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
- package/es/PRIVATE_TimeComponent.js +17 -17
- package/es/PRIVATE_VirtualizedCollection.js +2 -2
- package/es/PRIVATE_VisOverview.js +15 -15
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-b3fc22fd.js +6 -6
- package/es/PieChart-b54696a5.js +6 -6
- package/es/Popup-67ec4db2.js +258 -0
- package/es/Popup-67ec4db2.js.map +1 -0
- package/es/ProgressBar-cad7d04b.js +62 -0
- package/es/ProgressBar-cad7d04b.js.map +1 -0
- package/es/ProgressButton-40c3b504.js +3 -3
- package/es/ProgressButtonLabelLayout-8c64cece.js +3 -3
- package/es/ProgressCircle-7d883146.js +48 -0
- package/es/ProgressCircle-7d883146.js.map +1 -0
- package/es/RadioItem-a1599b77.js +6 -6
- package/es/RatingGauge-6c13b141.js +8 -8
- package/es/ReadonlyTextFieldInput-d6b1fac1.js +1 -1
- package/es/RemovableNavigationListItem-84fad399.js +1 -1
- package/es/RemovableTabBarItem-42735820.js +2 -2
- package/es/ReorderableTabBar-1b2c9ebe.js +3 -3
- package/es/RevealToggleIcon-abf5f233.js +1 -1
- package/es/ScatterChart-59c7f1d7.js +103 -0
- package/es/ScatterChart-59c7f1d7.js.map +1 -0
- package/es/SectionalLegend-fb0128ae.js +4 -4
- package/es/SectionedContent-db1b2e44.js +64 -0
- package/es/SectionedContent-db1b2e44.js.map +1 -0
- package/es/SegmentStyles.styles.css +11 -8
- package/es/SegmentStyles.styles2.css +8 -11
- package/es/SelectMultiple-48af2264.js +1297 -0
- package/es/SelectMultiple-48af2264.js.map +1 -0
- package/es/SelectSingle-56ff2907.js +730 -0
- package/es/SelectSingle-56ff2907.js.map +1 -0
- package/es/SelectionCard-f4e6f6f4.js +16 -0
- package/es/SelectionCard-f4e6f6f4.js.map +1 -0
- package/es/Selector-cc435916.js +1 -1
- package/es/SelectorAll-fb5a5a47.js +69 -0
- package/es/SelectorAll-fb5a5a47.js.map +1 -0
- package/es/Sheet-2d9c641b.js +158 -0
- package/es/Sheet-2d9c641b.js.map +1 -0
- package/es/SplitMenuButton-1c556d1d.js +2 -2
- package/es/StyledCard-75bcdad7.js +105 -0
- package/es/StyledCard-75bcdad7.js.map +1 -0
- package/es/StyledLabelValueLayout-1b0b4a96.js +18 -0
- package/es/StyledLabelValueLayout-1b0b4a96.js.map +1 -0
- package/es/StyledTextField-21e8afef.js +3 -3
- package/es/TabBar-ef456a2c.js +5 -5
- package/es/TabBarItem-af8b903f.js +3 -3
- package/es/TabBarLayout-d7d27c34.js +1 -1
- package/es/TabBarMixed-71314dd9.js +5 -5
- package/es/TabBarMixedSeparator-1aacc254.js +19 -0
- package/es/TabBarMixedSeparator-1aacc254.js.map +1 -0
- package/es/Table-895c20ae.js +5497 -0
- package/es/Table-895c20ae.js.map +1 -0
- package/es/TableView-7eaa6c96.js +31 -0
- package/es/TableView-7eaa6c96.js.map +1 -0
- package/es/TagCloud-ed095030.js +8 -8
- package/es/TextArea-f411ff47.js +177 -0
- package/es/TextArea-f411ff47.js.map +1 -0
- package/es/TextAreaAutosize-163b776f.js +244 -0
- package/es/TextAreaAutosize-163b776f.js.map +1 -0
- package/es/TextField-28d425d6.js +3 -3
- package/es/TextFieldInput-c9239b1e.js +1 -1
- package/es/Theme-redwood/theme.css +488 -488
- package/es/Theme-stable/theme.css +316 -316
- package/es/TimeComponentCanvas2D-70d21419.js +5 -5
- package/es/Toolbar-4fe755d3.js +1 -1
- package/es/TruncatingBadge-a6ead29d.js +1 -1
- package/es/TruncatingText-107fcc48.js +1 -1
- package/es/UNSAFE_ActionCard.js +3 -3
- package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +36 -36
- package/es/UNSAFE_BarChart.js +36 -36
- package/es/UNSAFE_BaseButton.js +3 -3
- package/es/UNSAFE_Button.js +3 -3
- package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +21 -21
- package/es/UNSAFE_ButtonSet.js +4 -4
- package/es/UNSAFE_ButtonSetButton.js +3 -3
- package/es/UNSAFE_ButtonSetIconButton.js +15 -15
- package/es/UNSAFE_ButtonSetItem.js +15 -15
- 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 +25 -25
- package/es/UNSAFE_CardGridView.js +25 -25
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_Checkbox.js +23 -23
- package/es/UNSAFE_CheckboxItem.js +23 -23
- package/es/UNSAFE_CheckboxSet.js +24 -24
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +17 -17
- package/es/UNSAFE_ComboChart.js +38 -38
- package/es/UNSAFE_ComponentMessage.js +18 -18
- package/es/UNSAFE_ConveyorBelt.js +15 -15
- package/es/UNSAFE_DatePicker.js +23 -23
- package/es/UNSAFE_Diagram.js +20 -20
- package/es/UNSAFE_Dialog.js +21 -21
- package/es/UNSAFE_DragHandle.js +17 -17
- package/es/UNSAFE_DrawerLayout.js +12 -12
- package/es/UNSAFE_DrawerPopup.js +13 -13
- package/es/UNSAFE_Dropdown.js +13 -13
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +25 -25
- 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 +22 -22
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +15 -15
- package/es/UNSAFE_IconButton.js +15 -15
- package/es/UNSAFE_IconMenuButton.js +21 -21
- package/es/UNSAFE_IconProgressButton.js +18 -18
- package/es/UNSAFE_IconToggleButton.js +15 -15
- 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 +34 -34
- 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 +23 -23
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +25 -25
- package/es/UNSAFE_Layer.js +8 -8
- package/es/UNSAFE_Legend.js +25 -25
- package/es/UNSAFE_LineAreaChart.js +38 -38
- package/es/UNSAFE_Link.js +2 -2
- package/es/UNSAFE_ListItemLayout.js +5 -5
- package/es/UNSAFE_ListView.js +33 -33
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +23 -23
- package/es/UNSAFE_MenuButton.js +21 -21
- package/es/UNSAFE_MessageBanner.js +18 -18
- package/es/UNSAFE_MessageToast.js +21 -21
- package/es/UNSAFE_MeterBar.js +16 -16
- package/es/UNSAFE_MeterCircle.js +17 -17
- package/es/UNSAFE_Modal.js +9 -9
- package/es/UNSAFE_NavigationList.js +19 -19
- package/es/UNSAFE_NavigationListCommon.js +17 -17
- package/es/UNSAFE_NumberInputText.js +26 -26
- package/es/UNSAFE_OverflowTabBar.js +24 -24
- 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 +17 -17
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +18 -18
- package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/es/UNSAFE_ProgressCircle.js +4 -4
- 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 +26 -26
- package/es/UNSAFE_RichRadioSet.js +26 -26
- package/es/UNSAFE_RichSelectionItem.js +20 -20
- package/es/UNSAFE_ScatterChart.js +38 -38
- package/es/UNSAFE_SectionalLegend.js +26 -26
- package/es/UNSAFE_SelectMultiple.js +37 -37
- package/es/UNSAFE_SelectSingle.js +37 -37
- package/es/UNSAFE_SelectionCard.js +5 -5
- package/es/UNSAFE_Selector.js +15 -15
- package/es/UNSAFE_SelectorAll.js +19 -19
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +15 -15
- package/es/UNSAFE_Sheet.js +12 -12
- package/es/UNSAFE_SplitMenuButton.js +21 -21
- package/es/UNSAFE_TabBar.js +25 -25
- package/es/UNSAFE_TabBarCommon.js +25 -25
- package/es/UNSAFE_TabBarMixed.js +26 -26
- package/es/UNSAFE_TableView.js +28 -28
- 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.js +8 -8
- package/es/UNSAFE_ToggleButton.js +3 -3
- package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +23 -23
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +16 -16
- package/es/UNSAFE_TruncatingBadge.js +16 -16
- package/es/UNSAFE_TruncatingText.js +16 -16
- package/es/UNSAFE_UserAssistance.js +24 -24
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +24 -24
- 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-79162397.js +167 -0
- package/es/View-79162397.js.map +1 -0
- package/es/VirtualizedCollection-e73890a1.js +176 -0
- package/es/VirtualizedCollection-e73890a1.js.map +1 -0
- package/es/VirtualizedListView-d9cb25e1.js +14 -0
- package/es/VirtualizedListView-d9cb25e1.js.map +1 -0
- package/es/VisNoData-f70e7c57.js +32 -0
- package/es/VisNoData-f70e7c57.js.map +1 -0
- package/es/VisProgressiveLoader-4fe41bcb.js +51 -0
- package/es/VisProgressiveLoader-4fe41bcb.js.map +1 -0
- package/es/VisTabularDatatip-24b65098.js +24 -0
- package/es/VisTabularDatatip-24b65098.js.map +1 -0
- package/es/WindowOverlay-8fbe3e1c.js +110 -0
- package/es/WindowOverlay-8fbe3e1c.js.map +1 -0
- package/es/YearsGridView-52c0d22c.js +187 -0
- package/es/YearsGridView-52c0d22c.js.map +1 -0
- package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
- package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
- package/es/hoc/UNSAFE_withThemeProps.js +3 -3
- package/es/hooks/PRIVATE_useChartContextMenu.js +21 -21
- package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/es/hooks/PRIVATE_useChartEvents.js +18 -18
- package/es/hooks/PRIVATE_useChartMarquee.js +17 -17
- package/es/hooks/PRIVATE_useCssVars.js +7 -7
- package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/es/hooks/PRIVATE_useDatatip.js +12 -12
- package/es/hooks/PRIVATE_useFloating.js +4 -4
- package/es/hooks/PRIVATE_useReorderable.js +5 -5
- package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/es/hooks/PRIVATE_useSelection.js +4 -4
- package/es/hooks/PRIVATE_useTabBar.js +4 -4
- package/es/hooks/PRIVATE_useTooltipOnTruncation.js +16 -16
- package/es/hooks/PRIVATE_useVisContextMenu.js +21 -21
- package/es/hooks/PRIVATE_useVisDragModeControls.js +17 -17
- 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 +16 -16
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/index-5d0fe60d.js +11 -0
- package/es/index-5d0fe60d.js.map +1 -0
- package/es/listViewSelectionTests-cd66d645.js +3 -3
- package/es/popupUtils-a7caf5e4.js +29 -0
- package/es/popupUtils-a7caf5e4.js.map +1 -0
- package/es/render-c7ce760e.js +34 -0
- package/es/render-c7ce760e.js.map +1 -0
- package/es/tabbableUtils-b22dbd92.js +79 -0
- package/es/tabbableUtils-b22dbd92.js.map +1 -0
- package/es/testData-a52937d8.js +256 -0
- package/es/testData-a52937d8.js.map +1 -0
- package/es/tooltipUtils-179de68d.js +93 -0
- package/es/tooltipUtils-179de68d.js.map +1 -0
- package/es/useCellNavigation-1a33b90e.js +1 -1
- package/es/useChartContextMenu-bedf2f88.js +2 -2
- package/es/useChartDatatip-652d9595.js +165 -0
- package/es/useChartDatatip-652d9595.js.map +1 -0
- package/es/useColorScheme-4414c0b2.js +19 -0
- package/es/useColorScheme-4414c0b2.js.map +1 -0
- package/es/useContextMenu-006e82dd.js +2 -2
- package/es/useCssVars-0788f28c.js +58 -0
- package/es/useCssVars-0788f28c.js.map +1 -0
- package/es/useCurrentBgColor-cc39a2b0.js +19 -0
- package/es/useCurrentBgColor-cc39a2b0.js.map +1 -0
- package/es/useCurrentKey-b88513bf.js +81 -0
- package/es/useCurrentKey-b88513bf.js.map +1 -0
- package/es/useDatatip-f80a8b4e.js +90 -0
- package/es/useDatatip-f80a8b4e.js.map +1 -0
- package/es/useDensity-575ebaf2.js +19 -0
- package/es/useDensity-575ebaf2.js.map +1 -0
- package/es/useFloating-85ac3a8e.js +1916 -0
- package/es/useFloating-85ac3a8e.js.map +1 -0
- package/es/useKeyboardEvents-8d2a44b1.js +78 -0
- package/es/useKeyboardEvents-8d2a44b1.js.map +1 -0
- package/es/useLegendContextMenu-30eaa291.js +4 -4
- package/es/useMeterDatatip-ea50f0f1.js +73 -0
- package/es/useMeterDatatip-ea50f0f1.js.map +1 -0
- package/es/useOutsideClick-866db9b2.js +101 -0
- package/es/useOutsideClick-866db9b2.js.map +1 -0
- package/es/usePopupAnimation-93950404.js +85 -0
- package/es/usePopupAnimation-93950404.js.map +1 -0
- package/es/usePrefixSuffix-2741adb3.js +70 -0
- package/es/usePrefixSuffix-2741adb3.js.map +1 -0
- package/es/useReorderableItem-2a361fd4.js +268 -0
- package/es/useReorderableItem-2a361fd4.js.map +1 -0
- package/es/useRovingTabIndexContainer-7b1d563b.js +98 -0
- package/es/useRovingTabIndexContainer-7b1d563b.js.map +1 -0
- package/es/useScale-54f14cdc.js +19 -0
- package/es/useScale-54f14cdc.js.map +1 -0
- package/es/useSelectCommon-b5028a6e.js +686 -0
- package/es/useSelectCommon-b5028a6e.js.map +1 -0
- package/es/useSelectDrill-9f0f793e.js +104 -0
- package/es/useSelectDrill-9f0f793e.js.map +1 -0
- package/es/useSelection-3c8cd738.js +239 -0
- package/es/useSelection-3c8cd738.js.map +1 -0
- package/es/useSelection-82fe842d.js +186 -0
- package/es/useSelection-82fe842d.js.map +1 -0
- package/es/useTabBar-d9412667.js +1 -1
- package/es/useTestId-8b32167f.js +21 -0
- package/es/useTestId-8b32167f.js.map +1 -0
- package/es/useTheme-858b119b.js +19 -0
- package/es/useTheme-858b119b.js.map +1 -0
- package/es/useThemeInterpolations-2531ab6d.js +57 -0
- package/es/useThemeInterpolations-2531ab6d.js.map +1 -0
- package/es/useTooltip-0a3e4842.js +424 -0
- package/es/useTooltip-0a3e4842.js.map +1 -0
- package/es/useTooltipOnTruncation-f5d75b1b.js +27 -0
- package/es/useTooltipOnTruncation-f5d75b1b.js.map +1 -0
- package/es/useTranslationBundle-0dff3ab2.js +29 -0
- package/es/useTranslationBundle-0dff3ab2.js.map +1 -0
- package/es/useUser-6a7f6df3.js +19 -0
- package/es/useUser-6a7f6df3.js.map +1 -0
- package/es/useVisDragModeControls-13a8e826.js +1 -1
- package/es/useVisEvents-8d888727.js +153 -0
- package/es/useVisEvents-8d888727.js.map +1 -0
- package/es/utils/PRIVATE_tooltipUtils.js +14 -14
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/utils/UNSAFE_popupUtils.js +8 -8
- package/es/withDirectionIcon-938d7cdf.js +14 -0
- package/es/withDirectionIcon-938d7cdf.js.map +1 -0
- package/es/withThemeProps-49e8a2b5.js +2 -2
- package/package.json +2 -2
- package/amd/BaseCardViewSelectionTest-e0356b8b.js +0 -2
- package/amd/BaseCardViewSelectionTest-e0356b8b.js.map +0 -1
- package/amd/BaseNavigationListItem-ef8bf611.js +0 -2
- package/amd/BaseNavigationListItem-ef8bf611.js.map +0 -1
- package/amd/Card-7acfbca5.js +0 -2
- package/amd/Card-7acfbca5.js.map +0 -1
- package/amd/Center-5d2e4d34.js +0 -2
- package/amd/Center-5d2e4d34.js.map +0 -1
- package/amd/CompactLabelAssistance-82361ea6.js +0 -2
- package/amd/CompactLabelAssistance-82361ea6.js.map +0 -1
- package/amd/DatePicker-20e9a255.js +0 -2
- package/amd/DatePicker-20e9a255.js.map +0 -1
- package/amd/Diagram-03be2ca5.js +0 -2
- package/amd/Diagram-03be2ca5.js.map +0 -1
- package/amd/Dialog-dc55a669.js +0 -2
- package/amd/Dialog-dc55a669.js.map +0 -1
- package/amd/DragHandle-d89ea5fd.js +0 -2
- package/amd/DragHandle-d89ea5fd.js.map +0 -1
- package/amd/DrawerPopup-772c8c22.js +0 -2
- package/amd/DrawerPopup-772c8c22.js.map +0 -1
- package/amd/Dropdown-37339c89.js +0 -2
- package/amd/Dropdown-37339c89.js.map +0 -1
- package/amd/EnvironmentProvider-4597f540.js +0 -2
- package/amd/EnvironmentProvider-4597f540.js.map +0 -1
- package/amd/Flex-69dc7af4.js +0 -2
- package/amd/Flex-69dc7af4.js.map +0 -1
- package/amd/Floating-28ad0903.js +0 -2
- package/amd/Floating-28ad0903.js.map +0 -1
- package/amd/Grid-49beb801.js +0 -2
- package/amd/Grid-49beb801.js.map +0 -1
- package/amd/Gridlines-9ec65953.js +0 -2
- package/amd/Gridlines-9ec65953.js.map +0 -1
- package/amd/HighlightText-b020d84d.js +0 -2
- package/amd/HighlightText-b020d84d.js.map +0 -1
- package/amd/IconUserAssistance-b5075ca1.js +0 -2
- package/amd/IconUserAssistance-b5075ca1.js.map +0 -1
- package/amd/InputDatePicker-6af2a6a4.js +0 -2
- package/amd/InputDatePicker-6af2a6a4.js.map +0 -1
- package/amd/Layer-9fb9ca67.js +0 -2
- package/amd/Layer-9fb9ca67.js.map +0 -1
- package/amd/LayerHost-1b4d03f0.js +0 -2
- package/amd/LayerHost-1b4d03f0.js.map +0 -1
- package/amd/LayerManager-6c0b0eed.js +0 -2
- package/amd/LayerManager-6c0b0eed.js.map +0 -1
- package/amd/LineAreaChart-d6300aad.js +0 -2
- package/amd/LineAreaChart-d6300aad.js.map +0 -1
- package/amd/LineSeries-6b2d5fc5.js +0 -2
- package/amd/LineSeries-6b2d5fc5.js.map +0 -1
- package/amd/ListItemLayout-51e98343.js +0 -2
- package/amd/ListItemLayout-51e98343.js.map +0 -1
- package/amd/LiveRegion-345ac2a4.js +0 -2
- package/amd/LiveRegion-345ac2a4.js.map +0 -1
- package/amd/MaxLengthLiveRegion-7723b0df.js +0 -2
- package/amd/MaxLengthLiveRegion-7723b0df.js.map +0 -1
- package/amd/MessageLayer-4238a197.js +0 -2
- package/amd/MessageLayer-4238a197.js.map +0 -1
- package/amd/Modal-991f1310.js +0 -2
- package/amd/Modal-991f1310.js.map +0 -1
- package/amd/MonthView-1a60836e.js +0 -2
- package/amd/MonthView-1a60836e.js.map +0 -1
- package/amd/NavigationListItem-4a6857ae.js +0 -2
- package/amd/NavigationListItem-4a6857ae.js.map +0 -1
- package/amd/OverflowTabBar-d465fab5.js +0 -2
- package/amd/OverflowTabBar-d465fab5.js.map +0 -1
- package/amd/OverflowTabBarItem-e8bb4c0f.js +0 -2
- package/amd/OverflowTabBarItem-e8bb4c0f.js.map +0 -1
- package/amd/Popup-bba2ea15.js +0 -2
- package/amd/Popup-bba2ea15.js.map +0 -1
- package/amd/ProgressBar-4c24733e.js +0 -2
- package/amd/ProgressBar-4c24733e.js.map +0 -1
- package/amd/ProgressCircle-57ce7b94.js +0 -2
- package/amd/ProgressCircle-57ce7b94.js.map +0 -1
- package/amd/RemovableNavigationListItem-87e208e1.js +0 -2
- package/amd/RemovableNavigationListItem-87e208e1.js.map +0 -1
- package/amd/ReorderableTabBar-cdafd5b2.js +0 -2
- package/amd/ReorderableTabBar-cdafd5b2.js.map +0 -1
- package/amd/ScatterChart-de870222.js +0 -2
- package/amd/ScatterChart-de870222.js.map +0 -1
- package/amd/SectionedContent-d75017a3.js +0 -2
- package/amd/SectionedContent-d75017a3.js.map +0 -1
- package/amd/SelectionCard-baeadf9f.js +0 -2
- package/amd/SelectionCard-baeadf9f.js.map +0 -1
- package/amd/SelectorAll-344e3366.js +0 -2
- package/amd/SelectorAll-344e3366.js.map +0 -1
- package/amd/Sheet-f4665056.js +0 -2
- package/amd/Sheet-f4665056.js.map +0 -1
- package/amd/StyledCard-420ef03c.js +0 -2
- package/amd/StyledCard-420ef03c.js.map +0 -1
- package/amd/StyledLabelValueLayout-16380e6b.js +0 -2
- package/amd/StyledLabelValueLayout-16380e6b.js.map +0 -1
- package/amd/TabBar-8a0cbff2.js +0 -2
- package/amd/TabBar-8a0cbff2.js.map +0 -1
- package/amd/TabBarMixed-d4482b12.js +0 -2
- package/amd/TabBarMixed-d4482b12.js.map +0 -1
- package/amd/TabBarMixedSeparator-84722127.js +0 -2
- package/amd/TabBarMixedSeparator-84722127.js.map +0 -1
- package/amd/View-59fe568d.js +0 -2
- package/amd/View-59fe568d.js.map +0 -1
- package/amd/VisNoData-b60000bf.js +0 -2
- package/amd/VisNoData-b60000bf.js.map +0 -1
- package/amd/VisProgressiveLoader-c90f62c3.js +0 -2
- package/amd/VisProgressiveLoader-c90f62c3.js.map +0 -1
- package/amd/VisTabularDatatip-23cf3cfc.js +0 -2
- package/amd/VisTabularDatatip-23cf3cfc.js.map +0 -1
- package/amd/WindowOverlay-00523782.js +0 -2
- package/amd/WindowOverlay-00523782.js.map +0 -1
- package/amd/YearsGridView-b0b18b18.js +0 -2
- package/amd/YearsGridView-b0b18b18.js.map +0 -1
- package/amd/index-32a870a0.js +0 -2
- package/amd/index-32a870a0.js.map +0 -1
- package/amd/popupUtils-710dc910.js +0 -2
- package/amd/popupUtils-710dc910.js.map +0 -1
- package/amd/render-6d2dc229.js +0 -2
- package/amd/render-6d2dc229.js.map +0 -1
- package/amd/tabbableUtils-140cad66.js +0 -2
- package/amd/tabbableUtils-140cad66.js.map +0 -1
- package/amd/testData-bd34f137.js +0 -2
- package/amd/testData-bd34f137.js.map +0 -1
- package/amd/tooltipUtils-304eef18.js +0 -2
- package/amd/tooltipUtils-304eef18.js.map +0 -1
- package/amd/useChartDatatip-1f138781.js +0 -2
- package/amd/useChartDatatip-1f138781.js.map +0 -1
- package/amd/useColorScheme-8358a6c9.js +0 -2
- package/amd/useColorScheme-8358a6c9.js.map +0 -1
- package/amd/useCssVars-4d0eeaa3.js +0 -2
- package/amd/useCssVars-4d0eeaa3.js.map +0 -1
- package/amd/useCurrentBgColor-24e98c84.js +0 -2
- package/amd/useCurrentBgColor-24e98c84.js.map +0 -1
- package/amd/useCurrentKey-5a5ffb1e.js +0 -2
- package/amd/useCurrentKey-5a5ffb1e.js.map +0 -1
- package/amd/useDatatip-db874c22.js +0 -2
- package/amd/useDatatip-db874c22.js.map +0 -1
- package/amd/useDensity-2b757d02.js +0 -2
- package/amd/useDensity-2b757d02.js.map +0 -1
- package/amd/useFloating-c8c92f6f.js +0 -2
- package/amd/useFloating-c8c92f6f.js.map +0 -1
- package/amd/useKeyboardEvents-e66373bb.js +0 -2
- package/amd/useKeyboardEvents-e66373bb.js.map +0 -1
- package/amd/useMeterDatatip-8702ee6e.js +0 -2
- package/amd/useMeterDatatip-8702ee6e.js.map +0 -1
- package/amd/useOutsideClick-39a81428.js +0 -2
- package/amd/useOutsideClick-39a81428.js.map +0 -1
- package/amd/usePopupAnimation-7023407f.js +0 -2
- package/amd/usePopupAnimation-7023407f.js.map +0 -1
- package/amd/usePrefixSuffix-19a86824.js +0 -2
- package/amd/usePrefixSuffix-19a86824.js.map +0 -1
- package/amd/useReorderableItem-fa5fd0f4.js +0 -2
- package/amd/useReorderableItem-fa5fd0f4.js.map +0 -1
- package/amd/useRovingTabIndexContainer-6b89c886.js +0 -2
- package/amd/useRovingTabIndexContainer-6b89c886.js.map +0 -1
- package/amd/useScale-0fb08a15.js +0 -2
- package/amd/useScale-0fb08a15.js.map +0 -1
- package/amd/useSelectDrill-03c65602.js +0 -2
- package/amd/useSelectDrill-03c65602.js.map +0 -1
- package/amd/useSelection-4c8e905b.js +0 -2
- package/amd/useSelection-4c8e905b.js.map +0 -1
- package/amd/useSelection-569188b3.js +0 -2
- package/amd/useSelection-569188b3.js.map +0 -1
- package/amd/useTestId-d0c49456.js +0 -2
- package/amd/useTestId-d0c49456.js.map +0 -1
- package/amd/useTheme-915016ef.js +0 -2
- package/amd/useTheme-915016ef.js.map +0 -1
- package/amd/useThemeInterpolations-95e6f849.js +0 -2
- package/amd/useThemeInterpolations-95e6f849.js.map +0 -1
- package/amd/useTooltip-f7c1ad5c.js +0 -2
- package/amd/useTooltip-f7c1ad5c.js.map +0 -1
- package/amd/useTooltipOnTruncation-7a2a7106.js +0 -2
- package/amd/useTooltipOnTruncation-7a2a7106.js.map +0 -1
- package/amd/useTranslationBundle-652e08a6.js +0 -2
- package/amd/useTranslationBundle-652e08a6.js.map +0 -1
- package/amd/useUser-abae2493.js +0 -2
- package/amd/useUser-abae2493.js.map +0 -1
- package/amd/useVisEvents-a2e7394b.js +0 -2
- package/amd/useVisEvents-a2e7394b.js.map +0 -1
- package/amd/withDirectionIcon-194f3242.js +0 -2
- package/amd/withDirectionIcon-194f3242.js.map +0 -1
- package/cjs/BaseCardView-5ce88700.js +0 -687
- package/cjs/BaseCardView-5ce88700.js.map +0 -1
- package/cjs/CardFlexView-7cb060a4.js +0 -29
- package/cjs/CardFlexView-7cb060a4.js.map +0 -1
- package/cjs/CardGridView-619b8576.js +0 -17
- package/cjs/CardGridView-619b8576.js.map +0 -1
- package/cjs/CheckboxSet-3509aa56.js +0 -53
- package/cjs/CheckboxSet-3509aa56.js.map +0 -1
- package/cjs/Indexer-6f687670.js +0 -339
- package/cjs/Indexer-6f687670.js.map +0 -1
- package/cjs/List-9cf30b46.js +0 -722
- package/cjs/List-9cf30b46.js.map +0 -1
- package/cjs/ListView-1c7cb647.js +0 -430
- package/cjs/ListView-1c7cb647.js.map +0 -1
- package/cjs/LoadMoreCollection-69bc038c.js +0 -34
- package/cjs/LoadMoreCollection-69bc038c.js.map +0 -1
- package/cjs/MaxLengthCounter-9ab3f74b.js +0 -27
- package/cjs/MaxLengthCounter-9ab3f74b.js.map +0 -1
- package/cjs/SelectMultiple-bc3a3333.js +0 -1299
- package/cjs/SelectMultiple-bc3a3333.js.map +0 -1
- package/cjs/SelectSingle-0292841f.js +0 -732
- package/cjs/SelectSingle-0292841f.js.map +0 -1
- package/cjs/Table-cac0f4b6.js +0 -5499
- package/cjs/Table-cac0f4b6.js.map +0 -1
- package/cjs/TableView-edd7e48c.js +0 -33
- package/cjs/TableView-edd7e48c.js.map +0 -1
- package/cjs/TextArea-43ba72b8.js +0 -162
- package/cjs/TextArea-43ba72b8.js.map +0 -1
- package/cjs/TextAreaAutosize-05e6644a.js +0 -246
- package/cjs/TextAreaAutosize-05e6644a.js.map +0 -1
- package/cjs/VirtualizedCollection-9e8c48b9.js +0 -180
- package/cjs/VirtualizedCollection-9e8c48b9.js.map +0 -1
- package/cjs/VirtualizedListView-d9fce8ed.js +0 -16
- package/cjs/VirtualizedListView-d9fce8ed.js.map +0 -1
- package/cjs/useSelectCommon-78871095.js +0 -709
- package/cjs/useSelectCommon-78871095.js.map +0 -1
- package/es/BarChart-a39136c2.js +0 -179
- package/es/BarChart-a39136c2.js.map +0 -1
- package/es/BaseCardView-87a16541.js +0 -683
- package/es/BaseCardView-87a16541.js.map +0 -1
- package/es/BaseCardViewSelectionTest-639276bd.js +0 -721
- package/es/BaseCardViewSelectionTest-639276bd.js.map +0 -1
- package/es/Card-48705b23.js +0 -15
- package/es/Card-48705b23.js.map +0 -1
- package/es/CardFlexView-8149a998.js +0 -27
- package/es/CardFlexView-8149a998.js.map +0 -1
- package/es/CardGridView-4e967eaa.js +0 -15
- package/es/CardGridView-4e967eaa.js.map +0 -1
- package/es/Center-f5a074ea.js +0 -16
- package/es/Center-f5a074ea.js.map +0 -1
- package/es/Chart-cd1c9eb2.js +0 -491
- package/es/Chart-cd1c9eb2.js.map +0 -1
- package/es/ComboChart-1d1d46cc.js +0 -172
- package/es/ComboChart-1d1d46cc.js.map +0 -1
- package/es/CompactLabelAssistance-e6df8b6f.js +0 -34
- package/es/CompactLabelAssistance-e6df8b6f.js.map +0 -1
- package/es/DatePicker-f149bde7.js +0 -564
- package/es/DatePicker-f149bde7.js.map +0 -1
- package/es/Diagram-32842af8.js +0 -2035
- package/es/Diagram-32842af8.js.map +0 -1
- package/es/Dialog-dbd00dbd.js +0 -344
- package/es/Dialog-dbd00dbd.js.map +0 -1
- package/es/DragHandle-3010d22c.js +0 -22
- package/es/DragHandle-3010d22c.js.map +0 -1
- package/es/DrawerPopup-90be1472.js +0 -381
- package/es/DrawerPopup-90be1472.js.map +0 -1
- package/es/Dropdown-8936afb0.js +0 -80
- package/es/Dropdown-8936afb0.js.map +0 -1
- package/es/EnvironmentProvider-e6ce326b.js +0 -58
- package/es/EnvironmentProvider-e6ce326b.js.map +0 -1
- package/es/Flex-dce7c423.js +0 -30
- package/es/Flex-dce7c423.js.map +0 -1
- package/es/Floating-bd10e1bb.js +0 -462
- package/es/Floating-bd10e1bb.js.map +0 -1
- package/es/Grid-a92f6ff7.js +0 -27
- package/es/Grid-a92f6ff7.js.map +0 -1
- package/es/Gridlines-14e60b77.js +0 -168
- package/es/Gridlines-14e60b77.js.map +0 -1
- package/es/HighlightText-6fb192ee.js +0 -31
- package/es/HighlightText-6fb192ee.js.map +0 -1
- package/es/IconUserAssistance-bb4f169d.js +0 -73
- package/es/IconUserAssistance-bb4f169d.js.map +0 -1
- package/es/Indexer-80254b3c.js +0 -336
- package/es/Indexer-80254b3c.js.map +0 -1
- package/es/Layer-f309effc.js +0 -91
- package/es/Layer-f309effc.js.map +0 -1
- package/es/LayerHost-ca080d9a.js +0 -40
- package/es/LayerHost-ca080d9a.js.map +0 -1
- package/es/LayerManager-3e4e8d1a.js +0 -34
- package/es/LayerManager-3e4e8d1a.js.map +0 -1
- package/es/LineAreaChart-16cf6356.js +0 -170
- package/es/LineAreaChart-16cf6356.js.map +0 -1
- package/es/LineSeries-89d507a5.js +0 -109
- package/es/LineSeries-89d507a5.js.map +0 -1
- package/es/List-4e5ab994.js +0 -717
- package/es/List-4e5ab994.js.map +0 -1
- package/es/ListItemLayout-b580a2cb.js +0 -110
- package/es/ListItemLayout-b580a2cb.js.map +0 -1
- package/es/ListView-c8de746b.js +0 -428
- package/es/ListView-c8de746b.js.map +0 -1
- package/es/LiveRegion-7d6e9b93.js +0 -39
- package/es/LiveRegion-7d6e9b93.js.map +0 -1
- package/es/LoadMoreCollection-7df1be36.js +0 -31
- package/es/LoadMoreCollection-7df1be36.js.map +0 -1
- package/es/MaxLengthCounter-181b4fc9.js +0 -25
- package/es/MaxLengthCounter-181b4fc9.js.map +0 -1
- package/es/MaxLengthLiveRegion-3d6867c3.js +0 -23
- package/es/MaxLengthLiveRegion-3d6867c3.js.map +0 -1
- package/es/MessageLayer-707a3302.js +0 -58
- package/es/MessageLayer-707a3302.js.map +0 -1
- package/es/Modal-9bdb87a4.js +0 -274
- package/es/Modal-9bdb87a4.js.map +0 -1
- package/es/MonthView-7f913bb2.js +0 -208
- package/es/MonthView-7f913bb2.js.map +0 -1
- package/es/Popup-0b60095e.js +0 -258
- package/es/Popup-0b60095e.js.map +0 -1
- package/es/ProgressBar-717be5e8.js +0 -62
- package/es/ProgressBar-717be5e8.js.map +0 -1
- package/es/ProgressCircle-d75b0848.js +0 -48
- package/es/ProgressCircle-d75b0848.js.map +0 -1
- package/es/ScatterChart-8fa8ea38.js +0 -103
- package/es/ScatterChart-8fa8ea38.js.map +0 -1
- package/es/SectionedContent-89fd6108.js +0 -64
- package/es/SectionedContent-89fd6108.js.map +0 -1
- package/es/SelectMultiple-1e8a183a.js +0 -1297
- package/es/SelectMultiple-1e8a183a.js.map +0 -1
- package/es/SelectSingle-b66c3ae5.js +0 -730
- package/es/SelectSingle-b66c3ae5.js.map +0 -1
- package/es/SelectionCard-4cf71979.js +0 -16
- package/es/SelectionCard-4cf71979.js.map +0 -1
- package/es/SelectorAll-401564d3.js +0 -69
- package/es/SelectorAll-401564d3.js.map +0 -1
- package/es/Sheet-754bd0f0.js +0 -158
- package/es/Sheet-754bd0f0.js.map +0 -1
- package/es/StyledCard-2dc6d348.js +0 -105
- package/es/StyledCard-2dc6d348.js.map +0 -1
- package/es/StyledLabelValueLayout-f3d69ee8.js +0 -18
- package/es/StyledLabelValueLayout-f3d69ee8.js.map +0 -1
- package/es/TabBarMixedSeparator-dd80c7f2.js +0 -19
- package/es/TabBarMixedSeparator-dd80c7f2.js.map +0 -1
- package/es/Table-970adc38.js +0 -5497
- package/es/Table-970adc38.js.map +0 -1
- package/es/TableView-28ac0166.js +0 -31
- package/es/TableView-28ac0166.js.map +0 -1
- package/es/TextArea-9da8decd.js +0 -160
- package/es/TextArea-9da8decd.js.map +0 -1
- package/es/TextAreaAutosize-2e043744.js +0 -244
- package/es/TextAreaAutosize-2e043744.js.map +0 -1
- package/es/View-6941c4ec.js +0 -167
- package/es/View-6941c4ec.js.map +0 -1
- package/es/VirtualizedCollection-f048fbb8.js +0 -176
- package/es/VirtualizedCollection-f048fbb8.js.map +0 -1
- package/es/VirtualizedListView-aa8e6003.js +0 -14
- package/es/VirtualizedListView-aa8e6003.js.map +0 -1
- package/es/VisNoData-6c9dff1d.js +0 -32
- package/es/VisNoData-6c9dff1d.js.map +0 -1
- package/es/VisProgressiveLoader-af51c524.js +0 -51
- package/es/VisProgressiveLoader-af51c524.js.map +0 -1
- package/es/VisTabularDatatip-1aba2c3f.js +0 -24
- package/es/VisTabularDatatip-1aba2c3f.js.map +0 -1
- package/es/WindowOverlay-77a01a5a.js +0 -110
- package/es/WindowOverlay-77a01a5a.js.map +0 -1
- package/es/YearsGridView-38b7d276.js +0 -187
- package/es/YearsGridView-38b7d276.js.map +0 -1
- package/es/index-b52817d6.js +0 -11
- package/es/index-b52817d6.js.map +0 -1
- package/es/popupUtils-0d643529.js +0 -29
- package/es/popupUtils-0d643529.js.map +0 -1
- package/es/render-f43f5632.js +0 -34
- package/es/render-f43f5632.js.map +0 -1
- package/es/tabbableUtils-07dfa9ce.js +0 -79
- package/es/tabbableUtils-07dfa9ce.js.map +0 -1
- package/es/testData-75eb4f26.js +0 -256
- package/es/testData-75eb4f26.js.map +0 -1
- package/es/tooltipUtils-ae6aba72.js +0 -93
- package/es/tooltipUtils-ae6aba72.js.map +0 -1
- package/es/useChartDatatip-ae7cffcb.js +0 -165
- package/es/useChartDatatip-ae7cffcb.js.map +0 -1
- package/es/useColorScheme-831abf37.js +0 -19
- package/es/useColorScheme-831abf37.js.map +0 -1
- package/es/useCssVars-6295c03a.js +0 -58
- package/es/useCssVars-6295c03a.js.map +0 -1
- package/es/useCurrentBgColor-93b70106.js +0 -19
- package/es/useCurrentBgColor-93b70106.js.map +0 -1
- package/es/useCurrentKey-30089ba4.js +0 -81
- package/es/useCurrentKey-30089ba4.js.map +0 -1
- package/es/useDatatip-3f284ad3.js +0 -90
- package/es/useDatatip-3f284ad3.js.map +0 -1
- package/es/useDensity-2ca5177c.js +0 -19
- package/es/useDensity-2ca5177c.js.map +0 -1
- package/es/useFloating-b1378797.js +0 -1916
- package/es/useFloating-b1378797.js.map +0 -1
- package/es/useKeyboardEvents-7a19700e.js +0 -78
- package/es/useKeyboardEvents-7a19700e.js.map +0 -1
- package/es/useMeterDatatip-814ca87d.js +0 -73
- package/es/useMeterDatatip-814ca87d.js.map +0 -1
- package/es/useOutsideClick-d0b44256.js +0 -101
- package/es/useOutsideClick-d0b44256.js.map +0 -1
- package/es/usePopupAnimation-0c5517c7.js +0 -85
- package/es/usePopupAnimation-0c5517c7.js.map +0 -1
- package/es/usePrefixSuffix-28d8172f.js +0 -70
- package/es/usePrefixSuffix-28d8172f.js.map +0 -1
- package/es/useReorderableItem-abc9c68c.js +0 -268
- package/es/useReorderableItem-abc9c68c.js.map +0 -1
- package/es/useRovingTabIndexContainer-d8dcffff.js +0 -98
- package/es/useRovingTabIndexContainer-d8dcffff.js.map +0 -1
- package/es/useScale-c315e304.js +0 -19
- package/es/useScale-c315e304.js.map +0 -1
- package/es/useSelectCommon-410eeffd.js +0 -686
- package/es/useSelectCommon-410eeffd.js.map +0 -1
- package/es/useSelectDrill-9eb9b7fa.js +0 -104
- package/es/useSelectDrill-9eb9b7fa.js.map +0 -1
- package/es/useSelection-534b1fa0.js +0 -186
- package/es/useSelection-534b1fa0.js.map +0 -1
- package/es/useSelection-5375aa2e.js +0 -239
- package/es/useSelection-5375aa2e.js.map +0 -1
- package/es/useTestId-014cca7c.js +0 -21
- package/es/useTestId-014cca7c.js.map +0 -1
- package/es/useTheme-a4243428.js +0 -19
- package/es/useTheme-a4243428.js.map +0 -1
- package/es/useThemeInterpolations-93048af6.js +0 -57
- package/es/useThemeInterpolations-93048af6.js.map +0 -1
- package/es/useTooltip-d4dfd848.js +0 -424
- package/es/useTooltip-d4dfd848.js.map +0 -1
- package/es/useTooltipOnTruncation-82d93e22.js +0 -27
- package/es/useTooltipOnTruncation-82d93e22.js.map +0 -1
- package/es/useTranslationBundle-29a1abb3.js +0 -29
- package/es/useTranslationBundle-29a1abb3.js.map +0 -1
- package/es/useUser-9c8d0e57.js +0 -19
- package/es/useUser-9c8d0e57.js.map +0 -1
- package/es/useVisEvents-45115f09.js +0 -153
- package/es/useVisEvents-45115f09.js.map +0 -1
- package/es/withDirectionIcon-70ce263c.js +0 -14
- package/es/withDirectionIcon-70ce263c.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MonthView-7f913bb2.js","sources":["../../src/PRIVATE_MonthView/useDayCell.ts","../../src/PRIVATE_MonthView/DayCell.tsx","../../src/PRIVATE_MonthView/WeekNumberCell.tsx","../../src/PRIVATE_MonthView/MonthView.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport type { CalendarDateRequired } from '#utils/UNSAFE_calendarDateUtils';\nimport { DateISOStr } from '#UNSAFE_IntlDateTime';\nimport { FormatterFunc } from '#UNSAFE_IntlFormatParse';\nimport { getIsoDateStr, toJSDate } from '#utils/UNSAFE_calendarDateUtils';\nimport { ComponentProps, useCallback } from 'preact/compat';\n\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '#resources/nls/bundle';\nimport { useFocusableCell } from '#UNSAFE_DatePicker/useFocusableCell';\nimport { useCellNavigation } from '#UNSAFE_DatePicker/useCellNavigation';\nimport { StyledDatePickerButton } from '#PRIVATE_StyledDatePickerButton';\n\ntype NavigationDirections =\n | 'previousDay'\n | 'nextDay'\n | 'previousWeek'\n | 'nextWeek'\n | 'previousMonth'\n | 'nextMonth'\n | 'previousYear'\n | 'nextYear'\n | 'firstDayOfMonth'\n | 'lastDayOfMonth'\n | 'today';\n\nexport type DayFormatOptions = {\n state: 'enabled' | 'disabled' | 'restricted';\n};\n\n// These are the properties the useDayCell hook takes.\nexport type UseDayCellProps = {\n /**\n * Date of the day cell. This will be formatted as a full date and put in the aria-label.\n */\n date: CalendarDateRequired;\n /**\n * A function used to format the day cell date as a full date.\n */\n dateFormatter: FormatterFunc<DateISOStr>;\n /**\n * A function that receives a date and returns an object specifying how to format the provided date.\n * This function is called for each date that is rendered and this can be used to control how individual\n * dates are rendered - disabled, restricted, or enabled.\n * @param date The date to format\n * @returns The format options\n */\n dayFormatter?: (date: CalendarDateRequired) => DayFormatOptions;\n /**\n * Whether the day cell is in an adjacent month, not the current month.\n */\n isAdjacentMonth: boolean;\n /**\n * Whether the day cell is disabled, like if it is out of the min/max range.\n */\n isDisabled?: boolean;\n /**\n * Whether the day cell is focusable, meaning it will have tabIndex 0.\n */\n isFocusable: boolean;\n /**\n * Whether the day cell has focus.\n */\n isFocused: boolean;\n /**\n * Whether the day cell is hidden. For example, days outside of the current month are hidden by default.\n */\n isHidden: boolean;\n /**\n * Whether the day cell is readonly. It is not activeable.\n */\n isReadonly: boolean;\n /**\n * Whether the day cell looks selected.\n */\n isSelected: boolean;\n /**\n * Whether the day cell's date is today.\n */\n isToday: boolean;\n /**\n * A callback that will be invoked when the user selects the date by clicking on a day cell or selecting the enter or space key on a day cell.\n * @param payload The payload containing the date represented by this cell.\n */\n onAction: (payload: { date: CalendarDateRequired }) => void;\n /**\n * A callback that will be invoked when the user navigates.\n */\n onNavigation: (detail: { direction: NavigationDirections; date: CalendarDateRequired }) => void;\n};\n\n/**\n * The useDayCell hook returns properties for an individual DayCell. The properties returned should be spread on the StyledDatePickerButton.\n * These include the event handlers for keydown and click.\n */\nexport const useDayCell = ({\n date,\n dayFormatter = defaultDayFormatter,\n dateFormatter,\n isAdjacentMonth,\n isDisabled,\n isFocusable,\n isFocused,\n isHidden,\n isReadonly,\n isSelected,\n isToday,\n onAction,\n onNavigation\n}: UseDayCellProps) => {\n // apply day formatting\n const { state } = dayFormatter(date);\n const isDisabledFormat = state === 'disabled';\n const isRestrictedFormat = state === 'restricted';\n\n // Focus the day cell with isFocused true when the state updates.\n const buttonProps = useFocusableCell({ isFocusable, isFocused });\n // Override onAction to not call it if disabled, readonly or restricted\n const handleAction: UseDayCellProps['onAction'] = useCallback(\n (payload) => {\n if (isDisabled || isReadonly || isDisabledFormat || isRestrictedFormat) return;\n onAction(payload);\n },\n [isDisabled, isDisabledFormat, isReadonly, isRestrictedFormat, onAction]\n );\n const buttonEventHandlers = useCellNavigation({\n navigationMap: {\n ArrowLeft: { ltr: 'previousDay', rtl: 'nextDay' },\n ArrowRight: { ltr: 'nextDay', rtl: 'previousDay' },\n ArrowDown: 'nextWeek',\n ArrowUp: 'previousWeek',\n PageDown: 'nextMonth',\n PageUp: 'previousMonth',\n Home: 'firstDayOfMonth',\n End: 'lastDayOfMonth',\n ShiftPageDown: 'nextYear',\n ShiftPageUp: 'previousYear',\n CtrlAltT: 'today'\n },\n payload: { date },\n onAction: handleAction,\n onNavigation\n });\n\n // For accessibility, we want a full date.\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const today = translations.datePicker_today();\n const selected = translations.datePicker_selected();\n const restricted = translations.datePicker_restricted();\n\n const dateIsoStr = getIsoDateStr(date.year, date.month, date.day);\n const formattedDate = dateFormatter(dateIsoStr);\n let ariaLabel = isToday ? `${today}, ${formattedDate}` : formattedDate;\n ariaLabel = isRestrictedFormat ? `${ariaLabel}, ${restricted}` : ariaLabel;\n ariaLabel = isSelected ? `${ariaLabel}, ${selected}` : ariaLabel;\n const dayOfMonth = toJSDate(date.year, date.month, date.day).getDate().toString();\n\n return {\n buttonProps: {\n 'aria-label': ariaLabel,\n ...((isHidden || isDisabled || isDisabledFormat || isRestrictedFormat) && {\n 'aria-disabled': true\n }),\n isActivable: !(isDisabled || isReadonly || isDisabledFormat || isRestrictedFormat),\n isAdjacentMonth,\n isDimmed: isDisabled || isDisabledFormat,\n isHidden,\n isHoverable: !(isDisabled || isReadonly || isDisabledFormat || isRestrictedFormat),\n isReadonly,\n isSelected,\n isRestricted: isRestrictedFormat,\n isToday,\n label: dayOfMonth,\n ...buttonProps,\n ...buttonEventHandlers\n } as ComponentProps<typeof StyledDatePickerButton>\n };\n};\n\n/**\n * A default day formatter that always formats as enabled state.\n */\nconst defaultDayFormatter = () => ({ state: 'enabled' }) as DayFormatOptions;\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { StyledDatePickerButton } from '#PRIVATE_StyledDatePickerButton';\nimport { UseDayCellProps, useDayCell } from './useDayCell';\nimport { dayCellStyles } from './themes/DayCellStyles.css';\n\ntype PickedUseDayCellProps = Pick<\n UseDayCellProps,\n | 'date'\n | 'dateFormatter'\n | 'dayFormatter'\n | 'isAdjacentMonth'\n | 'isDisabled'\n | 'isFocusable'\n | 'isFocused'\n | 'isHidden'\n | 'isReadonly'\n | 'isSelected'\n | 'isToday'\n | 'onAction'\n | 'onNavigation'\n>;\n\ntype DayCellProps = PickedUseDayCellProps;\n\n/**\n * The DayCell is the cell within the DatePicker's month view that contains the day in the month view.\n * This component will format the date for the aria-label.\n * The DayCell components uses the useDayCell hook to handle the user interactions with the day cell.\n */\nexport const DayCell = (props: DayCellProps) => {\n const { buttonProps } = useDayCell(props);\n // buttonProps, e.g., tabIndex, aria-label, onclick, onkeydown and visual states\n return (\n <div role=\"gridcell\" class={dayCellStyles}>\n <StyledDatePickerButton {...buttonProps} />\n </div>\n );\n};\n","import { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '#resources/nls/bundle';\nimport { CalendarDateRequired, toJSDate } from '#utils/UNSAFE_calendarDateUtils';\nimport { weekNumberCellStyles, weekNumberStyles } from './themes/WeekNumberCellStyle.css';\nimport * as Logger from '../utils/UNSAFE_logger';\n\ntype Props = {\n /**\n * startDateOfWeek is the first date of the week row\n */\n startDateOfWeek: CalendarDateRequired;\n};\n\n/**\n * The ISO 8601 definition for week 01 is the week with the first Thursday of the Gregorian year (i.e. of January) in it.\n * https://en.wikipedia.org/wiki/ISO_week_date\n * @param date The first date of the week row to be used to calculate the week number.\n * The date must be a Saturday, Sunday, or Monday. We assume this because the week for\n * all the locales we support start on one of these days.\n * @returns the number of week in the year\n */\nconst calculateWeekNumber = (date: CalendarDateRequired) => {\n const checkDate = toJSDate(date.year, date.month, date.day);\n const dayNumber = checkDate.getUTCDay(); // 0 for Sunday, 1 for Monday, 2 for Tuesday, etc.\n\n if (dayNumber !== 0 && dayNumber !== 1 && dayNumber !== 6) {\n // This message is for internal JET developers. We should never see this message. In all locales the day of the\n // week starts on Sunday, Monday or Saturday.\n Logger.warn(`calculateWeekNumber's date property's getUTCDay() is assumed to be 0 (Sunday), 1 (Monday) or 6 (Saturday)\n since that is the first day of the week for the locale's JET supports.`);\n }\n\n // For ISO week, we set the start of the week to Monday\n if (dayNumber !== 1) {\n // If it is already Monday, do nothing.\n // If it is Sunday (0), add 1 to move it up to Monday.\n // If it is Saturday (6), move it up two days to Monday.\n checkDate.setUTCDate(checkDate.getUTCDate() + (dayNumber === 0 ? 1 : 2));\n }\n\n // Find Thursday (day value of 4) of this week. Since we know checkDate at this point is a Monday,\n // we move it up 3 days.\n checkDate.setUTCDate(checkDate.getUTCDate() + 3);\n\n // Create the start of the year date\n const janFirst = toJSDate(checkDate.getUTCFullYear(), 1, 1);\n\n return Math.floor(Math.round((checkDate.getTime() - janFirst.getTime()) / 86400000) / 7) + 1;\n};\n\n/**\n * The WeekNumberCell is the cell at the start of a week's row within the DatePicker's\n * month view that contains the week's number within the year. This displays when\n * the DatePicker's 'weekDisplay' prop is set to 'number'.\n * This component will format the week number for the aria-label.\n */\nconst WeekNumberCell = ({ startDateOfWeek }: Props) => {\n const weekNumber = calculateWeekNumber(startDateOfWeek);\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n\n return (\n <div\n aria-label={translations.datePicker_weekNum({ NUM: String(weekNumber) })}\n class={weekNumberCellStyles}\n role=\"rowheader\">\n <span class={weekNumberStyles}>{weekNumber}</span>\n </div>\n );\n};\n\nexport { WeekNumberCell };\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport {\n getWeeksInMonth,\n getDatesInWeek,\n getStartOfWeek,\n getDaysOfWeekNames,\n WeekInMonthIndex\n} from '#utils/PRIVATE_dayUtils';\nimport { ComponentProps } from 'preact/compat';\nimport { useMemo } from 'preact/hooks';\nimport {\n CalendarDateRequired,\n checkNoCalendarExtension,\n formatFullCalendarDate,\n isDateOutOfRange\n} from '#utils/UNSAFE_calendarDateUtils';\nimport { getFormatParse, NativeDateTimeOptions } from '#UNSAFE_IntlDateTime';\nimport { DayCell } from './DayCell';\nimport { useUser } from '#hooks/UNSAFE_useUser';\nimport { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { Grid } from '#UNSAFE_Grid';\nimport {\n MonthViewStyles,\n MonthViewVariantOptions\n} from '#PRIVATE_MonthView/themes/MonthViewStyles.css';\nimport { MonthViewRedwoodTheme } from '#PRIVATE_MonthView/themes/redwood/MonthViewTheme';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { monthViewScaleVars } from '#PRIVATE_MonthView/themes/MonthViewContract.css';\nimport { WeekNumberCell } from './WeekNumberCell';\n\ntype PickedDayCellProps = Pick<\n ComponentProps<typeof DayCell>,\n 'dayFormatter' | 'onAction' | 'onNavigation'\n>;\n\ntype MonthViewProps = TestIdProps &\n PickedDayCellProps & {\n /**\n * The daysOutsideMonth property affects the day cells that are outside of the current month.\n * If set to 'hidden', then the days outside of the current month will be hidden.\n * If set to 'selectable', then the days outside of the current month will be visible and selectable.\n * This defaults to 'hidden'.\n */\n daysOutsideMonth?: 'hidden' | 'selectable';\n /**\n * The MonthView renders with the month of the focusableDate.\n * The focusableDate is the only day in the MonthView that has tabIndex: 0 on it.\n * The focusableDate doesn't have focus until the user tabs in to the Month View.\n * The focusableDate is never undefined.\n */\n focusableDate: CalendarDateRequired;\n /**\n * If set to true, the focusableDate will be focused and you will see the focus ring. It will be\n * false when no date has focus.\n * @default false\n */\n isFocused?: boolean;\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n /**\n * The maximum selectable date. The max must be greater than the min if they are both specified.\n */\n max?: CalendarDateRequired;\n /**\n * The minimum selectable date. The min must be less than the max if they are both specified.\n */\n min?: CalendarDateRequired;\n /**\n * The selected date of the MonthView, or undefined is there is no selected date. This\n * is used to highlight the selected day cell if it is within the min/max range.\n */\n selectedDate?: CalendarDateRequired;\n /**\n * Today's date. This is used to highlight the Today day cell.\n */\n todaysDate: CalendarDateRequired;\n /**\n * Whether week of the year will be shown in the DatePicker. The default calculation follows the\n * ISO 8601 definition: the first week of the year contains the first Thursday of the year.\n * This means that some days from one year may be placed into weeks 'belonging' to another year.\n */\n weekDisplay?: 'none' | 'number';\n };\n\n/**\n * A MonthView is a month interface that allows users to select a single date. The MonthView is the week day header\n * abbreviations and the days of the month. A MonthView is used inside of a DatePicker\n * along with the DatePickerHeader and the MonthGridView and YearGridView.\n */\nexport const MonthView = ({\n dayFormatter,\n daysOutsideMonth = 'hidden',\n isReadonly = false,\n max,\n min,\n onAction,\n onNavigation,\n selectedDate,\n focusableDate,\n isFocused = false,\n testId,\n todaysDate,\n weekDisplay = 'none'\n}: MonthViewProps) => {\n const { locale } = useUser();\n const weeksInMonth = getWeeksInMonth(focusableDate.year, focusableDate.month, locale);\n const { baseTheme, styles } = useComponentTheme<MonthViewVariantOptions, MonthViewStyles>(\n MonthViewRedwoodTheme,\n {}\n );\n const isWeekNumberDisplayed = weekDisplay === 'number';\n const gridTemplateColumns = `repeat(${isWeekNumberDisplayed ? 8 : 7}, 1fr)`;\n\n const dateFormatter = useMemo(() => {\n checkNoCalendarExtension(locale);\n const dateFormatOptions: NativeDateTimeOptions = {\n locale,\n dateStyle: 'full'\n };\n const { format } = getFormatParse(dateFormatOptions);\n return format;\n }, [locale]);\n\n const renderMonthViewHeaderRow = () => {\n const weekDays = getDaysOfWeekNames(locale, 'short');\n\n return (\n <div class={styles.sticky}>\n <Grid\n role=\"row\"\n aria-hidden=\"true\"\n gridTemplateColumns={gridTemplateColumns}\n gap={monthViewScaleVars.columnGap}>\n {isWeekNumberDisplayed && <div role=\"presentation\" />}\n {weekDays.map((day) => (\n <div role=\"columnheader\" class={styles.dayOfTheWeek}>\n <span>{day}</span>\n </div>\n ))}\n </Grid>\n </div>\n );\n };\n\n const renderMonthView = () => {\n const calendarGrid: JSX.Element[] = [];\n\n for (let weekIndex = 0; weekIndex < weeksInMonth; weekIndex++) {\n const startDateOfWeek = getStartOfWeek(focusableDate.year, focusableDate.month, 1, locale);\n\n const weekDates = getDatesInWeek(\n weekIndex as WeekInMonthIndex,\n startDateOfWeek.year,\n startDateOfWeek.month,\n startDateOfWeek.day\n );\n\n const weekCells = weekDates.map((dayCellDate) => {\n // This figures out the visual state of the DayCell.\n const isDisabled = isDateOutOfRange(dayCellDate, min, max);\n\n // Even if the selected date is out of range, the UX design shows it as selected.\n const isSelected = selectedDate ? isSameDate(dayCellDate, selectedDate) : false;\n const isToday = isSameDate(dayCellDate, todaysDate);\n const isFocusable = isSameDate(dayCellDate, focusableDate);\n const isAdjacentMonth = isOutOfMonth(dayCellDate, focusableDate);\n const isHidden = isAdjacentMonth && daysOutsideMonth === 'hidden';\n\n return (\n <DayCell\n key={`${dayCellDate.year}-${dayCellDate.month}-${dayCellDate.day}`}\n date={dayCellDate}\n dateFormatter={dateFormatter}\n dayFormatter={dayFormatter}\n isAdjacentMonth={isAdjacentMonth}\n isDisabled={isDisabled}\n isFocusable={isFocusable}\n isFocused={isFocusable && isFocused}\n isHidden={isHidden}\n isReadonly={isReadonly}\n isSelected={isSelected}\n isToday={isToday}\n onAction={onAction}\n onNavigation={onNavigation}></DayCell>\n );\n });\n\n calendarGrid.push(\n <Grid\n key={weekIndex}\n role=\"row\"\n gridTemplateColumns={gridTemplateColumns}\n gap={monthViewScaleVars.columnGap}>\n {isWeekNumberDisplayed && <WeekNumberCell startDateOfWeek={weekDates[0]} />}\n {weekCells}\n </Grid>\n );\n }\n\n return calendarGrid;\n };\n\n const monthViewAriaLabel = formatFullCalendarDate(locale, focusableDate, 'month');\n return (\n <div class={baseTheme}>\n <Grid\n gap={monthViewScaleVars.rowGap}\n aria-label={monthViewAriaLabel}\n role=\"grid\"\n testId={testId}>\n {renderMonthViewHeaderRow()}\n {renderMonthView()}\n </Grid>\n </div>\n );\n};\n\nfunction isSameDate(date1: CalendarDateRequired, date2: CalendarDateRequired) {\n return date1.year === date2.year && date1.month === date2.month && date1.day === date2.day;\n}\n\nfunction isOutOfMonth(date1: CalendarDateRequired, currentMonthDate: CalendarDateRequired) {\n return date1.month !== currentMonthDate.month;\n}\n"],"names":["_jsx","Logger.warn","_jsxs"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;AA4FH;;;AAGG;AACI,MAAM,UAAU,GAAG,CAAC,EACzB,IAAI,EACJ,YAAY,GAAG,mBAAmB,EAClC,aAAa,EACb,eAAe,EACf,UAAU,EACV,WAAW,EACX,SAAS,EACT,QAAQ,EACR,UAAU,EACV,UAAU,EACV,OAAO,EACP,QAAQ,EACR,YAAY,EACI,KAAI;;IAEpB,MAAM,EAAE,KAAK,EAAE,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;AACrC,IAAA,MAAM,gBAAgB,GAAG,KAAK,KAAK,UAAU,CAAC;AAC9C,IAAA,MAAM,kBAAkB,GAAG,KAAK,KAAK,YAAY,CAAC;;IAGlD,MAAM,WAAW,GAAG,gBAAgB,CAAC,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,CAAC;;AAEjE,IAAA,MAAM,YAAY,GAAgC,WAAW,CAC3D,CAAC,OAAO,KAAI;AACV,QAAA,IAAI,UAAU,IAAI,UAAU,IAAI,gBAAgB,IAAI,kBAAkB;YAAE,OAAO;QAC/E,QAAQ,CAAC,OAAO,CAAC,CAAC;AACpB,KAAC,EACD,CAAC,UAAU,EAAE,gBAAgB,EAAE,UAAU,EAAE,kBAAkB,EAAE,QAAQ,CAAC,CACzE,CAAC;I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CAAC,CAAC,GAAI,EAC1E,SAAS,KALL,SAAS,CAMT,CACR,CAAC;SACH;AAED,QAAA,OAAO,YAAY,CAAC;AACtB,KAAC,CAAC;IAEF,MAAM,kBAAkB,GAAG,sBAAsB,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;AAClF,IAAA,QACEA,GAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAE,SAAS,EACnB,QAAA,EAAAE,IAAA,CAAC,IAAI,EAAA,EACH,GAAG,EAAE,kBAAkB,CAAC,MAAM,EAClB,YAAA,EAAA,kBAAkB,EAC9B,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,MAAM,EAAA,QAAA,EAAA,CACb,wBAAwB,EAAE,EAC1B,eAAe,EAAE,CACb,EAAA,CAAA,EAAA,CACH,EACN;AACJ,EAAE;AAEF,SAAS,UAAU,CAAC,KAA2B,EAAE,KAA2B,EAAA;IAC1E,OAAO,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,KAAK,KAAK,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,GAAG,KAAK,KAAK,CAAC,GAAG,CAAC;AAC7F,CAAC;AAED,SAAS,YAAY,CAAC,KAA2B,EAAE,gBAAsC,EAAA;AACvF,IAAA,OAAO,KAAK,CAAC,KAAK,KAAK,gBAAgB,CAAC,KAAK,CAAC;AAChD;;;;"}
|
package/es/Popup-0b60095e.js
DELETED
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
/* @oracle/oraclejet-preact: undefined */
|
|
2
|
-
import { jsx } from 'preact/jsx-runtime';
|
|
3
|
-
import { useRef, useState, useCallback, useMemo, useEffect, useLayoutEffect } from 'preact/hooks';
|
|
4
|
-
import { F as Floating } from './Floating-bd10e1bb.js';
|
|
5
|
-
import { g as getActiveElement, f as focusWithin, b as focusOn } from './tabbableUtils-6ceb767f.js';
|
|
6
|
-
import { m as mergeRefs } from './refUtils-b9d8d91a.js';
|
|
7
|
-
import { F as FocusTrap } from './FocusTrap-9e80c124.js';
|
|
8
|
-
import { L as Layer } from './Layer-f309effc.js';
|
|
9
|
-
import { forwardRef } from 'preact/compat';
|
|
10
|
-
import './LayerHost-ca080d9a.js';
|
|
11
|
-
import { M as Modal } from './Modal-9bdb87a4.js';
|
|
12
|
-
import { W as WindowOverlay } from './WindowOverlay-77a01a5a.js';
|
|
13
|
-
import { u as usePopupAnimation } from './usePopupAnimation-0c5517c7.js';
|
|
14
|
-
import { u as useTestId } from './useTestId-014cca7c.js';
|
|
15
|
-
import { u as useOutsideClick } from './useOutsideClick-d0b44256.js';
|
|
16
|
-
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
17
|
-
import { popupVars } from './UNSAFE_Popup/themes/PopupContract.css.js';
|
|
18
|
-
import { g as getVarName } from './stringUtils-16f617bc.js';
|
|
19
|
-
import { c as classNames } from './classNames-4e12b00d.js';
|
|
20
|
-
import { PopupRedwoodTheme } from './UNSAFE_Popup/themes/redwood/PopupTheme.js';
|
|
21
|
-
import { d as dimensionInterpolations } from './dimensions-d4159ace.js';
|
|
22
|
-
import { m as mergeInterpolations } from './mergeInterpolations-e2db2a66.js';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* A popup temporarily 'pops up' content in the foreground.
|
|
26
|
-
*/
|
|
27
|
-
const Popup = forwardRef(({ anchorRef, launcherRef, children, isOpen = false, modality = 'modeless', offset = { mainAxis: 0, crossAxis: 0 }, flipOptions = { mainAxis: true, crossAxis: true }, shiftOptions = { mainAxis: false, crossAxis: false }, onClickOutside, onClose, initialFocus = 'auto', placement = anchorRef ? 'top' : 'center', tail = 'none', onTransitionEnd, onFocusSet, variant = 'standard', role = modality === 'modeless' ? 'tooltip' : 'dialog', 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, testId, ...props }, ref) => {
|
|
28
|
-
const localLauncherRef = useRef(null);
|
|
29
|
-
const [popupBgColor, setPopupBgColor] = useState();
|
|
30
|
-
const contentWrapperRef = useRef(null);
|
|
31
|
-
const prevStatusRef = useRef('unmounted');
|
|
32
|
-
// testId support
|
|
33
|
-
const testIdProps = useTestId(testId);
|
|
34
|
-
const insideRefs = [contentWrapperRef];
|
|
35
|
-
// launcher should be considered an "inside" element
|
|
36
|
-
if (localLauncherRef.current && localLauncherRef.current !== document.body) {
|
|
37
|
-
insideRefs.push(localLauncherRef);
|
|
38
|
-
}
|
|
39
|
-
// We can not merge outsideClick to onClose event with {reason: 'outsideClick'} payload
|
|
40
|
-
// The reason is that we allow outsideClick/autodismiss in modeless mode and
|
|
41
|
-
// we need to detect outsideClick which is
|
|
42
|
-
useOutsideClick({
|
|
43
|
-
isDisabled: !(isOpen && contentWrapperRef.current),
|
|
44
|
-
ref: insideRefs,
|
|
45
|
-
handler: (event) => {
|
|
46
|
-
onClickOutside?.(event);
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
const launcherKeyDownCallback = useCallback((event) => {
|
|
50
|
-
if (localLauncherRef.current === getActiveElement() &&
|
|
51
|
-
event.code === 'F6' &&
|
|
52
|
-
modality === 'modeless') {
|
|
53
|
-
// Prevent default F6 handlers.
|
|
54
|
-
// F6 is a standard Chrome address bar shortcut on Windows.
|
|
55
|
-
event.preventDefault();
|
|
56
|
-
event.stopPropagation();
|
|
57
|
-
focusWithin(contentWrapperRef.current);
|
|
58
|
-
onFocusSet?.();
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
62
|
-
[modality]);
|
|
63
|
-
const _onTransitionEnd = (isOpen) => {
|
|
64
|
-
if (isOpen) {
|
|
65
|
-
setInitialFocus();
|
|
66
|
-
onTransitionEnd?.(true);
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
onTransitionEnd?.(false);
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
// Animation
|
|
73
|
-
const { setAnimationElementRef, status, onPosition } = usePopupAnimation({
|
|
74
|
-
isOpen,
|
|
75
|
-
isAnimatedOnMount: true,
|
|
76
|
-
onTransitionEnd: _onTransitionEnd,
|
|
77
|
-
placement: placement
|
|
78
|
-
});
|
|
79
|
-
const stableRef = useMemo(() => mergeRefs(contentWrapperRef, ref), [contentWrapperRef, ref]);
|
|
80
|
-
const returnFocus = useCallback(() => {
|
|
81
|
-
// Try to return focus to 1.launcher or 2.anchor
|
|
82
|
-
const launcherEl = localLauncherRef.current;
|
|
83
|
-
const anchorEl = anchorRef?.current;
|
|
84
|
-
if (launcherEl) {
|
|
85
|
-
focusOn(launcherEl);
|
|
86
|
-
// Checking instanceof to avoid Coords type that can not be focused
|
|
87
|
-
}
|
|
88
|
-
else if (anchorEl && anchorEl instanceof Element) {
|
|
89
|
-
focusOn(anchorEl);
|
|
90
|
-
}
|
|
91
|
-
}, [localLauncherRef, anchorRef]);
|
|
92
|
-
useEffect(() => {
|
|
93
|
-
// Init closing
|
|
94
|
-
if (!isOpen && status === 'opening' && modality !== 'modal') {
|
|
95
|
-
// Only actively return focus to the launcher or anchor if the popup contained focus.
|
|
96
|
-
// Otherwise, focus is already elsewhere on the page and should not be forced back
|
|
97
|
-
// because that could reopen the popup again, which essentially prevents the user from
|
|
98
|
-
// moving focus out of the launcher.
|
|
99
|
-
if (contentWrapperRef.current?.contains(getActiveElement())) {
|
|
100
|
-
returnFocus();
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
// JET-71010 - for modal popups, the focus cannot be moved until the modal overlay is gone
|
|
104
|
-
else if (!isOpen && status === 'unmounted' && modality === 'modal') {
|
|
105
|
-
// avoid returning focus on initial render
|
|
106
|
-
if (status !== prevStatusRef.current) {
|
|
107
|
-
returnFocus();
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
return () => {
|
|
111
|
-
prevStatusRef.current = status;
|
|
112
|
-
};
|
|
113
|
-
}, [isOpen, status, returnFocus, modality]);
|
|
114
|
-
// Initialize launcher
|
|
115
|
-
useEffect(() => {
|
|
116
|
-
if (isOpen) {
|
|
117
|
-
if (!launcherRef?.current) {
|
|
118
|
-
// 1. If launcher is not defined, most frequent scenario is,
|
|
119
|
-
// that element, that has focus before opening a popup is considered launcher
|
|
120
|
-
localLauncherRef.current = getActiveElement();
|
|
121
|
-
}
|
|
122
|
-
else if (launcherRef.current instanceof Element) {
|
|
123
|
-
// 2. launcherRef element was provided.
|
|
124
|
-
// Verify, if it exists in DOM, otherwise use the last active element
|
|
125
|
-
localLauncherRef.current = document.body.contains(launcherRef.current)
|
|
126
|
-
? launcherRef.current
|
|
127
|
-
: getActiveElement();
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
localLauncherRef.current = getActiveElement();
|
|
131
|
-
}
|
|
132
|
-
// Register F6 key handler to enter the Popup
|
|
133
|
-
localLauncherRef.current?.addEventListener('keydown', launcherKeyDownCallback);
|
|
134
|
-
}
|
|
135
|
-
return () => {
|
|
136
|
-
// Deregister F6 key handler
|
|
137
|
-
localLauncherRef.current?.removeEventListener('keydown', launcherKeyDownCallback);
|
|
138
|
-
};
|
|
139
|
-
}, [isOpen, launcherRef, launcherKeyDownCallback]);
|
|
140
|
-
// Note: unlike oj-c-popup we do not default anchorRef to launcherRef in Preact Popup
|
|
141
|
-
// If anchorRef is undefined, we use WindowOverlay as anchor
|
|
142
|
-
const setInitialFocus = () => {
|
|
143
|
-
let derivedInitialFocus = initialFocus;
|
|
144
|
-
if (initialFocus === 'auto') {
|
|
145
|
-
if (modality === 'modal') {
|
|
146
|
-
// modal mode - set focus to first focusable
|
|
147
|
-
derivedInitialFocus = 'firstFocusable';
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
// modeless mode - do not steal focus by default
|
|
151
|
-
derivedInitialFocus = 'none';
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
// Case: 'popup'
|
|
155
|
-
// Focus on Popup container
|
|
156
|
-
if (derivedInitialFocus === 'popup') {
|
|
157
|
-
focusOn(contentWrapperRef.current);
|
|
158
|
-
onFocusSet?.();
|
|
159
|
-
onTransitionEnd?.(false);
|
|
160
|
-
}
|
|
161
|
-
// Case: 'firstFocusable'
|
|
162
|
-
// Focus on first tabbable in the Popup container or container itself if there is none
|
|
163
|
-
if (derivedInitialFocus === 'firstFocusable') {
|
|
164
|
-
focusWithin(contentWrapperRef.current);
|
|
165
|
-
onFocusSet?.();
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
const getMainAxisOffset = (offset) => {
|
|
169
|
-
let calcOffset = 0;
|
|
170
|
-
if (offset) {
|
|
171
|
-
// @ts-ignore as OffsetFunction is going to be removed
|
|
172
|
-
// Property 'mainAxis' does not exist on type 'OffsetFunction'.
|
|
173
|
-
calcOffset = typeof offset === 'number' ? offset : offset.mainAxis || 0;
|
|
174
|
-
if (tail === 'simple') {
|
|
175
|
-
calcOffset += 5;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
return calcOffset;
|
|
179
|
-
};
|
|
180
|
-
const getCrossAxisOffset = (offset) => {
|
|
181
|
-
if (!offset) {
|
|
182
|
-
return 0;
|
|
183
|
-
}
|
|
184
|
-
else {
|
|
185
|
-
// @ts-ignore as OffsetFunction is going to be removed
|
|
186
|
-
// Property 'crossAxis' does not exist on type 'OffsetFunction'.
|
|
187
|
-
return typeof offset === 'number' ? 0 : offset.crossAxis || 0;
|
|
188
|
-
}
|
|
189
|
-
};
|
|
190
|
-
const finalOffset = {
|
|
191
|
-
mainAxis: getMainAxisOffset(offset),
|
|
192
|
-
crossAxis: getCrossAxisOffset(offset)
|
|
193
|
-
};
|
|
194
|
-
const handlePopupKeyDown = (event) => {
|
|
195
|
-
const currentlyFocusedEl = getActiveElement();
|
|
196
|
-
const wrapperEl = contentWrapperRef.current;
|
|
197
|
-
const launcherEl = localLauncherRef.current;
|
|
198
|
-
if (wrapperEl === currentlyFocusedEl || wrapperEl?.contains(currentlyFocusedEl)) {
|
|
199
|
-
switch (event.code) {
|
|
200
|
-
case 'Escape': {
|
|
201
|
-
// Trigger onClose event with outside click detail
|
|
202
|
-
onClose?.({ reason: 'escapeKey' });
|
|
203
|
-
break;
|
|
204
|
-
}
|
|
205
|
-
case 'F6':
|
|
206
|
-
// Prevent default F6 handlers.
|
|
207
|
-
// F6 is a standard Chrome address bar shortcut on Windows.
|
|
208
|
-
event.preventDefault();
|
|
209
|
-
event.stopPropagation();
|
|
210
|
-
// Focus launcher
|
|
211
|
-
if (launcherEl && modality === 'modeless') {
|
|
212
|
-
focusOn(launcherEl);
|
|
213
|
-
}
|
|
214
|
-
break;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
useLayoutEffect(() => {
|
|
219
|
-
if (status === 'unmounted' ||
|
|
220
|
-
contentWrapperRef.current == null ||
|
|
221
|
-
popupBgColor != null ||
|
|
222
|
-
tail === 'none')
|
|
223
|
-
return;
|
|
224
|
-
const backgroundColorVar = getVarName(popupVars.backgroundColor);
|
|
225
|
-
const computedStyle = getComputedStyle(contentWrapperRef.current);
|
|
226
|
-
setPopupBgColor(computedStyle.getPropertyValue(backgroundColorVar));
|
|
227
|
-
}, [status, contentWrapperRef, popupBgColor, tail]);
|
|
228
|
-
// Styles
|
|
229
|
-
const { baseTheme, classes } = useComponentTheme(PopupRedwoodTheme);
|
|
230
|
-
const isMounted = status !== 'unmounted';
|
|
231
|
-
const interpolations = [...Object.values(dimensionInterpolations)];
|
|
232
|
-
const styleInterpolations = mergeInterpolations(interpolations);
|
|
233
|
-
const { ...styles } = styleInterpolations(props);
|
|
234
|
-
const renderPopup = () => {
|
|
235
|
-
return (jsx(FocusTrap, { restoreFocusRef: false, children: jsx("div", { ref: stableRef, tabIndex: -1, role: role, className: classNames([baseTheme, variant === 'unstyled' ? null : classes]), style: styles, onKeyDown: handlePopupKeyDown, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, ...testIdProps, children: children }) }));
|
|
236
|
-
};
|
|
237
|
-
const renderFloatingOrOverlayPopup = () => {
|
|
238
|
-
if (!anchorRef || !anchorRef.current) {
|
|
239
|
-
return (jsx(WindowOverlay, { placement: placement, offset: finalOffset, children: jsx("div", { ref: setAnimationElementRef, children: renderPopup() }) }));
|
|
240
|
-
}
|
|
241
|
-
else {
|
|
242
|
-
return (jsx(Floating, { ref: setAnimationElementRef, backgroundColor: popupBgColor, anchorRef: anchorRef, placement: placement, offsetValue: finalOffset, flipOptions: flipOptions, shiftOptions: shiftOptions, tail: tail, onPosition: onPosition, children: renderPopup() }));
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
if (isMounted) {
|
|
246
|
-
if (modality === 'modal') {
|
|
247
|
-
return jsx(Modal, { isOpen: isMounted, children: renderFloatingOrOverlayPopup() });
|
|
248
|
-
}
|
|
249
|
-
else {
|
|
250
|
-
return jsx(Layer, { children: renderFloatingOrOverlayPopup() });
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
else
|
|
254
|
-
return null;
|
|
255
|
-
});
|
|
256
|
-
|
|
257
|
-
export { Popup as P };
|
|
258
|
-
//# sourceMappingURL=Popup-0b60095e.js.map
|
package/es/Popup-0b60095e.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Popup-0b60095e.js","sources":["../../src/UNSAFE_Popup/Popup.tsx"],"sourcesContent":["import { JSX, RefObject } from 'preact';\nimport { useState, useEffect, useLayoutEffect, useMemo, useRef, useCallback } from 'preact/hooks';\nimport { Floating, Offset, Placement, Coords, FlipOptions, ShiftOptions } from '../UNSAFE_Floating';\nimport {\n FocusableElement,\n focusOn,\n focusWithin,\n getActiveElement\n} from '../utils/PRIVATE_tabbableUtils';\nimport { mergeRefs } from '../utils/PRIVATE_refUtils';\nimport { FocusTrap } from '../UNSAFE_FocusTrap';\nimport { Layer } from '../UNSAFE_Layer';\nimport { Modal } from '../UNSAFE_Modal';\nimport { WindowOverlay, WindowOverlayPlacement } from '../UNSAFE_WindowOverlay';\nimport { forwardRef, ForwardedRef } from 'preact/compat';\nimport { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\nimport { usePopupAnimation } from './usePopupAnimation';\nimport { AnimationStatus } from '../hooks/PRIVATE_useAnimationStatus';\nimport { useTestId, TestIdProps } from '../hooks/UNSAFE_useTestId';\nimport { useOutsideClick } from '../hooks/UNSAFE_useOutsideClick';\n\n// Style imports\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { popupVars } from './themes/PopupContract.css';\nimport { getVarName } from '../utils/UNSAFE_stringUtils';\nimport { Property } from 'csstype';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { PopupRedwoodTheme } from './themes/redwood/PopupTheme';\nimport { dimensionInterpolations, DimensionProps } from '../utils/UNSAFE_interpolations/dimensions';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\ntype IntrinsicProps = Pick<JSX.HTMLAttributes<HTMLDivElement>, 'children'>;\n\nexport type PopupPlacement = Placement | WindowOverlayPlacement;\nexport type OnCloseDetail = {\n reason: 'escapeKey';\n};\nexport type InitialFocus = 'auto' | 'none' | 'popup' | 'firstFocusable';\nexport type Tail = 'none' | 'simple';\nexport type Modality = 'modal' | 'modeless';\nexport type Variant = 'standard' | 'unstyled';\n\ntype Props = IntrinsicProps &\n DimensionProps &\n TestIdProps & {\n /**\n * Specifies whether the Popup is open.\n */\n isOpen: boolean;\n /**\n * Specifies Popup's anchor. Popup is placed relatively to its anchor.\n */\n anchorRef?: RefObject<Element | Coords>;\n /**\n * Specifies Popup's launcher. After Popup closes, it returns focus to the launcher.\n */\n launcherRef?: RefObject<HTMLElement>;\n /**\n * Specifies placement of the Popup relative to the anchor.\n */\n placement?: PopupPlacement;\n /**\n * Specifies displacement of the Popup from the anchor element placement along the specified axes.\n * The offset object consists of mainAxis and crossAxis properties. The direction in which these properties\n * are applied depends on the current value of the position property.\n *\n * The <code>mainAxis</code> property represents the distance between the Popup and the anchor.\n * The <code>crossAxis</code> property represents the deviation in the opposite axis to the main axis - the skidding between the Popup and the anchor.\n */\n offset?: Offset;\n /**\n * Specifies modality of the Popup.\n */\n modality?: Modality;\n /**\n * Specifies whether a floating Popup changes placement to the opposite side to be kept in view when a collision is detected.\n *\n * The flipOptions object consists of mainAxis and crossAxis properties.\n * The <code>mainAxis</code> runs along the side of the Popup element.\n * The <code>crossAxis</code> runs along the alignment of the Popup element.\n */\n flipOptions?: FlipOptions;\n /**\n * Specifies whether a floating Popup shifts along axis to be kept in view when a collision is detected.\n * Note that if both 'flip' and 'shift' are enabled on respective axis, the flip will take precedence.\n *\n * The shiftOptions object consists of mainAxis and crossAxis properties.\n * The <code>mainAxis</code> runs along the side of the Popup element.\n * The <code>crossAxis</code> runs along the alignment of the Popup element.\n */\n shiftOptions?: ShiftOptions;\n /**\n * Specifies if the Popup sets focus to its content when initially open.\n * A value of none prevents the popup from setting focus when open.\n *\n * <code>auto</code> in modeless mode resolves to none.\n * <code>none</code> prevents the popup from setting focus when open.\n * <code>popup</code> sets focus to the root popup container (good choice for touch platforms).\n * <code>firstFocusable</code> defines that a popup should set focus to the first focusable element within the popup's content.\n */\n initialFocus?: InitialFocus;\n /**\n * Specifies callback triggered when a user clicks outside Popup.\n */\n onClickOutside?: (event: MouseEvent) => void;\n /**\n * Specifies callback triggered when a user tries to close a Popup through UI interaction.\n * The parent should listen to this event and close the Popup. If the parent fails to remove\n * the Popup, then no change will be done in the UI by the component.\n */\n onClose?: (detail: OnCloseDetail) => void;\n /**\n * Specifies callback triggered when initial focus is set or when Popup receives it via F6 key.\n */\n onFocusSet?: () => void;\n /**\n * Specifies Popup's tail. Simple tail is an arrow pointing to Popup's anchor.\n */\n tail?: Tail;\n /**\n * Specifies callback triggered after the animation ends.\n */\n onTransitionEnd?: (value: boolean) => void;\n /**\n * Specifies styling variant. If <code>unstyled</code> is set, standard styles are not applied.\n */\n variant?: Variant;\n /**\n * Specifies the ARIA role type. Depending on how the popup is used in the page, the page developer should choose from the following:\n * <code>tooltip</code> defines contextual popup that displays a description for an element. This is added automatically if not already specified.\n * <code>dialog</code> defines an application window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response.\n * <code>alertdialog</code> defines type of dialog that contains an alert message, where initial focus goes to an element within the dialog.\n */\n role?: HTMLAttributesSignalExcluded['role'];\n /**\n * Specifies guidance for screen readers.\n */\n 'aria-label'?: string;\n /**\n * Specifies ID of an element used for guidance for screen readers.\n */\n 'aria-labelledby'?: string;\n /**\n * Specifies ID of an element (or space separated IDs of multiple elements) that\n * describes the Drawer.\n */\n 'aria-describedby'?: string;\n };\n\n/**\n * A popup temporarily 'pops up' content in the foreground.\n */\nexport const Popup = forwardRef(\n (\n {\n anchorRef,\n launcherRef,\n children,\n isOpen = false,\n modality = 'modeless',\n offset = { mainAxis: 0, crossAxis: 0 },\n flipOptions = { mainAxis: true, crossAxis: true },\n shiftOptions = { mainAxis: false, crossAxis: false },\n onClickOutside,\n onClose,\n initialFocus = 'auto',\n placement = anchorRef ? 'top' : 'center',\n tail = 'none',\n onTransitionEnd,\n onFocusSet,\n variant = 'standard',\n role = modality === 'modeless' ? 'tooltip' : 'dialog',\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n 'aria-describedby': ariaDescribedBy,\n testId,\n ...props\n }: Props,\n ref: ForwardedRef<HTMLElement | null>\n ) => {\n const localLauncherRef = useRef<HTMLElement | null>(null);\n const [popupBgColor, setPopupBgColor] = useState<Property.BackgroundColor>();\n\n const contentWrapperRef = useRef<HTMLDivElement | null>(null);\n\n const prevStatusRef = useRef<AnimationStatus>('unmounted');\n\n // testId support\n const testIdProps = useTestId(testId);\n\n const insideRefs: RefObject<HTMLElement>[] = [contentWrapperRef];\n // launcher should be considered an \"inside\" element\n if (localLauncherRef.current && localLauncherRef.current !== document.body) {\n insideRefs.push(localLauncherRef);\n }\n\n // We can not merge outsideClick to onClose event with {reason: 'outsideClick'} payload\n // The reason is that we allow outsideClick/autodismiss in modeless mode and\n // we need to detect outsideClick which is\n useOutsideClick({\n isDisabled: !(isOpen && contentWrapperRef.current),\n ref: insideRefs,\n handler: (event) => {\n onClickOutside?.(event);\n }\n });\n\n const launcherKeyDownCallback = useCallback(\n (event: KeyboardEvent): void => {\n if (\n localLauncherRef.current === getActiveElement() &&\n event.code === 'F6' &&\n modality === 'modeless'\n ) {\n // Prevent default F6 handlers.\n // F6 is a standard Chrome address bar shortcut on Windows.\n event.preventDefault();\n event.stopPropagation();\n\n focusWithin(contentWrapperRef.current as HTMLElement);\n onFocusSet?.();\n }\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [modality]\n );\n\n const _onTransitionEnd = (isOpen: boolean) => {\n if (isOpen) {\n setInitialFocus();\n onTransitionEnd?.(true);\n } else {\n onTransitionEnd?.(false);\n }\n };\n\n // Animation\n const { setAnimationElementRef, status, onPosition } = usePopupAnimation({\n isOpen,\n isAnimatedOnMount: true,\n onTransitionEnd: _onTransitionEnd,\n placement: placement\n });\n const stableRef = useMemo(() => mergeRefs(contentWrapperRef, ref), [contentWrapperRef, ref]);\n\n const returnFocus = useCallback((): void => {\n // Try to return focus to 1.launcher or 2.anchor\n const launcherEl = localLauncherRef.current;\n const anchorEl = anchorRef?.current;\n\n if (launcherEl) {\n focusOn(launcherEl);\n // Checking instanceof to avoid Coords type that can not be focused\n } else if (anchorEl && anchorEl instanceof Element) {\n focusOn(anchorEl as FocusableElement);\n }\n }, [localLauncherRef, anchorRef]);\n\n useEffect(() => {\n // Init closing\n if (!isOpen && status === 'opening' && modality !== 'modal') {\n // Only actively return focus to the launcher or anchor if the popup contained focus.\n // Otherwise, focus is already elsewhere on the page and should not be forced back\n // because that could reopen the popup again, which essentially prevents the user from\n // moving focus out of the launcher.\n if (contentWrapperRef.current?.contains(getActiveElement())) {\n returnFocus();\n }\n }\n // JET-71010 - for modal popups, the focus cannot be moved until the modal overlay is gone\n else if (!isOpen && status === 'unmounted' && modality === 'modal') {\n // avoid returning focus on initial render\n if (status !== prevStatusRef.current) {\n returnFocus();\n }\n }\n return () => {\n prevStatusRef.current = status;\n };\n }, [isOpen, status, returnFocus, modality]);\n\n // Initialize launcher\n useEffect(() => {\n if (isOpen) {\n if (!launcherRef?.current) {\n // 1. If launcher is not defined, most frequent scenario is,\n // that element, that has focus before opening a popup is considered launcher\n localLauncherRef.current = getActiveElement() as HTMLElement;\n } else if (launcherRef.current instanceof Element) {\n // 2. launcherRef element was provided.\n // Verify, if it exists in DOM, otherwise use the last active element\n localLauncherRef.current = document.body.contains(launcherRef.current)\n ? launcherRef.current\n : (getActiveElement() as HTMLElement);\n } else {\n localLauncherRef.current = getActiveElement() as HTMLElement;\n }\n // Register F6 key handler to enter the Popup\n localLauncherRef.current?.addEventListener('keydown', launcherKeyDownCallback);\n }\n return () => {\n // Deregister F6 key handler\n localLauncherRef.current?.removeEventListener('keydown', launcherKeyDownCallback);\n };\n }, [isOpen, launcherRef, launcherKeyDownCallback]);\n // Note: unlike oj-c-popup we do not default anchorRef to launcherRef in Preact Popup\n // If anchorRef is undefined, we use WindowOverlay as anchor\n\n const setInitialFocus = () => {\n let derivedInitialFocus = initialFocus;\n if (initialFocus === 'auto') {\n if (modality === 'modal') {\n // modal mode - set focus to first focusable\n derivedInitialFocus = 'firstFocusable';\n } else {\n // modeless mode - do not steal focus by default\n derivedInitialFocus = 'none';\n }\n }\n\n // Case: 'popup'\n // Focus on Popup container\n if (derivedInitialFocus === 'popup') {\n focusOn(contentWrapperRef.current as HTMLElement);\n onFocusSet?.();\n onTransitionEnd?.(false);\n }\n\n // Case: 'firstFocusable'\n // Focus on first tabbable in the Popup container or container itself if there is none\n if (derivedInitialFocus === 'firstFocusable') {\n focusWithin(contentWrapperRef.current as HTMLElement);\n onFocusSet?.();\n }\n };\n\n const getMainAxisOffset = (offset?: Offset) => {\n let calcOffset = 0;\n if (offset) {\n // @ts-ignore as OffsetFunction is going to be removed\n // Property 'mainAxis' does not exist on type 'OffsetFunction'.\n calcOffset = typeof offset === 'number' ? offset : offset.mainAxis || 0;\n if (tail === 'simple') {\n calcOffset += 5;\n }\n }\n return calcOffset;\n };\n\n const getCrossAxisOffset = (offset?: Offset) => {\n if (!offset) {\n return 0;\n } else {\n // @ts-ignore as OffsetFunction is going to be removed\n // Property 'crossAxis' does not exist on type 'OffsetFunction'.\n return typeof offset === 'number' ? 0 : offset.crossAxis || 0;\n }\n };\n\n const finalOffset = {\n mainAxis: getMainAxisOffset(offset),\n crossAxis: getCrossAxisOffset(offset)\n };\n\n const handlePopupKeyDown = (event: KeyboardEvent) => {\n const currentlyFocusedEl = getActiveElement();\n const wrapperEl = contentWrapperRef.current;\n const launcherEl = localLauncherRef.current;\n if (wrapperEl === currentlyFocusedEl || wrapperEl?.contains(currentlyFocusedEl)) {\n switch (event.code) {\n case 'Escape': {\n // Trigger onClose event with outside click detail\n onClose?.({ reason: 'escapeKey' });\n break;\n }\n case 'F6':\n // Prevent default F6 handlers.\n // F6 is a standard Chrome address bar shortcut on Windows.\n event.preventDefault();\n event.stopPropagation();\n\n // Focus launcher\n if (launcherEl && modality === 'modeless') {\n focusOn(launcherEl);\n }\n break;\n }\n }\n };\n\n useLayoutEffect(() => {\n if (\n status === 'unmounted' ||\n contentWrapperRef.current == null ||\n popupBgColor != null ||\n tail === 'none'\n )\n return;\n\n const backgroundColorVar = getVarName(popupVars.backgroundColor);\n const computedStyle = getComputedStyle(contentWrapperRef.current!);\n setPopupBgColor(computedStyle.getPropertyValue(backgroundColorVar));\n }, [status, contentWrapperRef, popupBgColor, tail]);\n\n // Styles\n const { baseTheme, classes } = useComponentTheme(PopupRedwoodTheme);\n const isMounted = status !== 'unmounted';\n\n const interpolations = [...Object.values(dimensionInterpolations)];\n const styleInterpolations = mergeInterpolations<DimensionProps>(interpolations);\n const { ...styles } = styleInterpolations(props);\n\n const renderPopup = () => {\n return (\n <FocusTrap restoreFocusRef={false}>\n {/*Setting restoreFocusRef to false because otherwise FocusTrap is stealing the focus back when :*/}\n {/*we click outside of modeless Popup (that keeps being open).*/}\n <div\n ref={stableRef}\n tabIndex={-1}\n role={role}\n className={classNames([baseTheme, variant === 'unstyled' ? null : classes])}\n style={styles}\n onKeyDown={handlePopupKeyDown}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n {...testIdProps}>\n {children}\n </div>\n </FocusTrap>\n );\n };\n\n const renderFloatingOrOverlayPopup = () => {\n if (!anchorRef || !anchorRef.current) {\n return (\n <WindowOverlay placement={placement as WindowOverlayPlacement} offset={finalOffset}>\n <div ref={setAnimationElementRef}>{renderPopup()}</div>\n </WindowOverlay>\n );\n } else {\n return (\n <Floating\n ref={setAnimationElementRef}\n backgroundColor={popupBgColor}\n anchorRef={anchorRef}\n placement={placement as Placement}\n offsetValue={finalOffset}\n flipOptions={flipOptions}\n shiftOptions={shiftOptions}\n tail={tail}\n onPosition={onPosition}>\n {renderPopup()}\n </Floating>\n );\n }\n };\n\n if (isMounted) {\n if (modality === 'modal') {\n return <Modal isOpen={isMounted}>{renderFloatingOrOverlayPopup()}</Modal>;\n } else {\n return <Layer>{renderFloatingOrOverlayPopup()}</Layer>;\n }\n } else return null;\n }\n);\n"],"names":["_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAqJA;;AAEG;AACI,MAAM,KAAK,GAAG,UAAU,CAC7B,CACE,EACE,SAAS,EACT,WAAW,EACX,QAAQ,EACR,MAAM,GAAG,KAAK,EACd,QAAQ,GAAG,UAAU,EACrB,MAAM,GAAG,EAAE,QAAQ,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,EACtC,WAAW,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EACjD,YAAY,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,EACpD,cAAc,EACd,OAAO,EACP,YAAY,GAAG,MAAM,EACrB,SAAS,GAAG,SAAS,GAAG,KAAK,GAAG,QAAQ,EACxC,IAAI,GAAG,MAAM,EACb,eAAe,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AsB,EAC3B,eAAe,EAAE,YAAY,EAC7B,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAsB,EACjC,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EAAA,QAAA,EACrB,WAAW,EAAE,EAAA,CACL,EACX;SACH;AACH,KAAC,CAAC;IAEF,IAAI,SAAS,EAAE;AACb,QAAA,IAAI,QAAQ,KAAK,OAAO,EAAE;YACxB,OAAOA,GAAA,CAAC,KAAK,EAAA,EAAC,MAAM,EAAE,SAAS,EAAG,QAAA,EAAA,4BAA4B,EAAE,EAAA,CAAS,CAAC;SAC3E;aAAM;AACL,YAAA,OAAOA,IAAC,KAAK,EAAA,EAAA,QAAA,EAAE,4BAA4B,EAAE,GAAS,CAAC;SACxD;KACF;;AAAM,QAAA,OAAO,IAAI,CAAC;AACrB,CAAC;;;;"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/* @oracle/oraclejet-preact: undefined */
|
|
2
|
-
import { jsx } from 'preact/jsx-runtime';
|
|
3
|
-
import { c as classNames } from './classNames-4e12b00d.js';
|
|
4
|
-
import { u as useUser } from './useUser-9c8d0e57.js';
|
|
5
|
-
import { u as useTranslationBundle } from './useTranslationBundle-29a1abb3.js';
|
|
6
|
-
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
7
|
-
import { ProgressBarRedwoodTheme } from './UNSAFE_ProgressBar/themes/redwood/ProgressBarTheme.js';
|
|
8
|
-
import { B as BarTrack, a as BarValue } from './LinearMeter-268f7b2f.js';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* A progress bar allows the user to visualize the progression of an extended computer operation.
|
|
12
|
-
*/
|
|
13
|
-
function ProgressBar({ value, max, ...otherProps }) {
|
|
14
|
-
return value === 'indeterminate' ? (jsx(IndeterminateProgressBar, { ...otherProps })) : (jsx(DeterminateProgressBar, { value: value, max: max, ...otherProps }));
|
|
15
|
-
}
|
|
16
|
-
const IndeterminateProgressBar = ({ id, width, edge = 'none', ...props }) => {
|
|
17
|
-
const { classes, styles: { valueStyle, indeterminate, animationStyleLTR, animationStyleRTL, highContrastValueStyle, trackBorderEdgeNone, trackBorderEdgeTop } } = useComponentTheme(ProgressBarRedwoodTheme, {
|
|
18
|
-
edge: edge === 'none' ? edge : undefined
|
|
19
|
-
});
|
|
20
|
-
const { direction, forcedColors } = useUser();
|
|
21
|
-
const barValueClasses = classNames([
|
|
22
|
-
valueStyle,
|
|
23
|
-
indeterminate,
|
|
24
|
-
direction === 'rtl' ? animationStyleRTL : animationStyleLTR,
|
|
25
|
-
forcedColors === 'active' ? highContrastValueStyle : ''
|
|
26
|
-
]);
|
|
27
|
-
const translations = useTranslationBundle('@oracle/oraclejet-preact');
|
|
28
|
-
const ariaProps = {
|
|
29
|
-
'aria-valuetext': props['aria-valuetext'] || translations.progressIndeterminate(),
|
|
30
|
-
'aria-label': props['aria-label'],
|
|
31
|
-
'aria-labelledby': props['aria-labelledby'],
|
|
32
|
-
role: 'progressbar'
|
|
33
|
-
};
|
|
34
|
-
const trackBorderClass = forcedColors === 'active'
|
|
35
|
-
? undefined
|
|
36
|
-
: edge === 'none'
|
|
37
|
-
? trackBorderEdgeNone
|
|
38
|
-
: trackBorderEdgeTop;
|
|
39
|
-
return (jsx(BarTrack, { id: id, ariaProps: ariaProps, class: classNames([classes, trackBorderClass]), length: width, children: jsx(BarValue, { class: barValueClasses }) }));
|
|
40
|
-
};
|
|
41
|
-
const DeterminateProgressBar = ({ value = 0, max = 100, id, width, edge = 'none', ...props }) => {
|
|
42
|
-
const { forcedColors } = useUser();
|
|
43
|
-
const { classes, styles: { valueStyle, highContrastValueStyle, trackBorderEdgeNone, trackBorderEdgeTop } } = useComponentTheme(ProgressBarRedwoodTheme, {
|
|
44
|
-
edge: edge === 'none' ? edge : undefined
|
|
45
|
-
});
|
|
46
|
-
const barValueClasses = classNames([
|
|
47
|
-
valueStyle,
|
|
48
|
-
forcedColors === 'active' ? highContrastValueStyle : ''
|
|
49
|
-
]);
|
|
50
|
-
const percentage = `${Math.min(Math.max(0, value / max), 1) * 100}%`;
|
|
51
|
-
const ariaProps = {};
|
|
52
|
-
ariaProps['aria-valuemin'] = value != null ? 0 : undefined;
|
|
53
|
-
ariaProps['aria-valuemax'] = value != null ? max : undefined;
|
|
54
|
-
ariaProps['aria-valuenow'] = value != null ? value : undefined;
|
|
55
|
-
ariaProps['role'] = 'progressbar';
|
|
56
|
-
(ariaProps['aria-label'] = props['aria-label']),
|
|
57
|
-
(ariaProps['aria-labelledby'] = props['aria-labelledby']);
|
|
58
|
-
return (jsx(BarTrack, { ariaProps: ariaProps, id: id, length: width, class: classNames([classes, edge === 'none' ? trackBorderEdgeNone : trackBorderEdgeTop]), children: jsx(BarValue, { class: barValueClasses, length: percentage }) }));
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
export { ProgressBar as P };
|
|
62
|
-
//# sourceMappingURL=ProgressBar-717be5e8.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar-717be5e8.js","sources":["../../src/UNSAFE_ProgressBar/ProgressBar.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentProps } from 'preact';\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { useUser } from '#hooks/UNSAFE_useUser';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport type { BundleType } from '#resources/nls/bundle';\nimport { BarTrack, BarValue } from '#PRIVATE_Meter';\nimport { HTMLAttributesSignalExcluded } from '#utils/UNSAFE_attributeUtils';\nimport { useComponentTheme } from '#hooks/UNSAFE_useComponentTheme';\nimport { ProgressBarStyles, ProgressBarVariantOptions } from './themes/ProgressBarStyles.css';\nimport { ProgressBarRedwoodTheme } from './themes/redwood/ProgressBarTheme';\n\ntype ariaPropsType = ComponentProps<typeof BarTrack>['ariaProps'];\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLDivElement>, 'class'>;\n\ntype ProgressBarProps = IntrinsicProps & {\n /**\n * Specifies the id of the progress bar. If the progress bar is being used to describe the loading process of a particular region\n * of the page, then the aria-describedby attribute of the region must point to the id of the ProgressBar\n */\n id?: HTMLAttributesSignalExcluded<HTMLDivElement>['id'];\n /**\n * The value of the progress bar. If the value is 'indeterminate', an indeterminate progress bar will be shown.\n */\n value?: 'indeterminate' | number;\n\n /**\n * Whether the progress bar is positioned at the top edge of a container or not.\n * If set to 'top', the curved borders will be removed.\n */\n edge?: 'none' | 'top';\n\n /**\n * The maximum value of the progress bar.\n */\n max?: number;\n /**\n * The width of the progress bar. This will use the CSS lengths styling.\n */\n // TODO: use the dimensions work the Jeanne is doing JET-49961\n width?: string;\n\n /**\n * A label to be used for accessibility purposes when value is set to 'indeterminate'. This will be used for the aria-valuetext of the DOM element.\n */\n 'aria-valuetext'?: string;\n /**\n * A label to be used for accessibility purposes. This will be used for the aria-label of the DOM element.\n */\n 'aria-label'?: string;\n\n /**\n * One or more ids (separated by spaces) of elements that label the progress bar. This will be used for the aria-labelledby of the DOM element.\n */\n 'aria-labelledby'?: string;\n};\n/**\n * A progress bar allows the user to visualize the progression of an extended computer operation.\n */\nexport function ProgressBar({ value, max, ...otherProps }: ProgressBarProps) {\n return value === 'indeterminate' ? (\n <IndeterminateProgressBar {...otherProps} />\n ) : (\n <DeterminateProgressBar value={value} max={max} {...otherProps} />\n );\n}\n\ntype IndeterminateProps = Omit<ProgressBarProps, 'value' | 'max'>;\n\nconst IndeterminateProgressBar = ({ id, width, edge = 'none', ...props }: IndeterminateProps) => {\n const {\n classes,\n styles: {\n valueStyle,\n indeterminate,\n animationStyleLTR,\n animationStyleRTL,\n highContrastValueStyle,\n trackBorderEdgeNone,\n trackBorderEdgeTop\n }\n } = useComponentTheme<ProgressBarVariantOptions, ProgressBarStyles>(ProgressBarRedwoodTheme, {\n edge: edge === 'none' ? edge : undefined\n });\n\n const { direction, forcedColors } = useUser();\n const barValueClasses = classNames([\n valueStyle,\n indeterminate,\n direction === 'rtl' ? animationStyleRTL : animationStyleLTR,\n forcedColors === 'active' ? highContrastValueStyle : ''\n ]);\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const ariaProps: ariaPropsType = {\n 'aria-valuetext': props['aria-valuetext'] || translations.progressIndeterminate(),\n 'aria-label': props['aria-label'],\n 'aria-labelledby': props['aria-labelledby'],\n role: 'progressbar'\n };\n const trackBorderClass =\n forcedColors === 'active'\n ? undefined\n : edge === 'none'\n ? trackBorderEdgeNone\n : trackBorderEdgeTop;\n return (\n <BarTrack\n id={id}\n ariaProps={ariaProps}\n class={classNames([classes, trackBorderClass])}\n length={width}>\n <BarValue class={barValueClasses} />\n </BarTrack>\n );\n};\n\ntype DeterminateProps = Omit<ProgressBarProps, 'aria-valuetext'> & {\n value?: number;\n};\n\nconst DeterminateProgressBar = ({\n value = 0,\n max = 100,\n id,\n width,\n edge = 'none',\n ...props\n}: DeterminateProps) => {\n const { forcedColors } = useUser();\n const {\n classes,\n styles: { valueStyle, highContrastValueStyle, trackBorderEdgeNone, trackBorderEdgeTop }\n } = useComponentTheme<ProgressBarVariantOptions, ProgressBarStyles>(ProgressBarRedwoodTheme, {\n edge: edge === 'none' ? edge : undefined\n });\n\n const barValueClasses = classNames([\n valueStyle,\n forcedColors === 'active' ? highContrastValueStyle : ''\n ]);\n\n const percentage = `${Math.min(Math.max(0, value / max), 1) * 100}%`;\n const ariaProps: ariaPropsType = {};\n ariaProps['aria-valuemin'] = value != null ? 0 : undefined;\n ariaProps['aria-valuemax'] = value != null ? max : undefined;\n ariaProps['aria-valuenow'] = value != null ? value : undefined;\n ariaProps['role'] = 'progressbar';\n (ariaProps['aria-label'] = props['aria-label']),\n (ariaProps['aria-labelledby'] = props['aria-labelledby']);\n return (\n <BarTrack\n ariaProps={ariaProps}\n id={id}\n length={width}\n class={classNames([classes, edge === 'none' ? trackBorderEdgeNone : trackBorderEdgeTop])}>\n <BarValue class={barValueClasses} length={percentage} />\n </BarTrack>\n );\n};\n"],"names":["_jsx"],"mappings":";;;;;;;;;AA+DA;;AAEG;AACG,SAAU,WAAW,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,UAAU,EAAoB,EAAA;AACzE,IAAA,OAAO,KAAK,KAAK,eAAe,IAC9BA,GAAA,CAAC,wBAAwB,EAAA,EAAA,GAAK,UAAU,EAAA,CAAI,KAE5CA,GAAC,CAAA,sBAAsB,EAAC,EAAA,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAA,GAAM,UAAU,EAAA,CAAI,CACnE,CAAC;AACJ,CAAC;AAID,MAAM,wBAAwB,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,GAAG,MAAM,EAAE,GAAG,KAAK,EAAsB,KAAI;IAC9F,MAAM,EACJ,OAAO,EACP,MAAM,EAAE,EACN,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EACnB,EACF,GAAG,iBAAiB,CAA+C,uBAAuB,EAAE;QAC3F,IAAI,EAAE,IAAI,KAAK,MAAM,GAAG,IAAI,GAAG,SAAS;AACzC,KAAA,CAAC,CAAC;IAEH,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,OAAO,EAAE,CAAC;IAC9C,MAAM,eAAe,GAAG,UAAU,CAAC;QACjC,UAAU;QACV,aAAa;QACb,SAAS,KAAK,KAAK,GAAG,iBAAiB,GAAG,iBAAiB;QAC3D,YAAY,KAAK,QAAQ,GAAG,sBAAsB,GAAG,EAAE;AACxD,KAAA,CAAC,CAAC;AACH,IAAA,MAAM,YAAY,GAAG,oBAAoB,CAAa,0BAA0B,CAA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meterUtils-e23f6da6.js';
|
|
5
|
-
import { g as getProgressClipPath } from './circleUtils-90dae0a2.js';
|
|
6
|
-
import { u as useTranslationBundle } from './useTranslationBundle-29a1abb3.js';
|
|
7
|
-
import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
|
|
8
|
-
import { ProgressCircleRedwoodTheme } from './UNSAFE_ProgressCircle/themes/redwood/ProgressCircleTheme.js';
|
|
9
|
-
import { C as CircleWrapper, a as CircleInner } from './CircularMeter-f2c0ae34.js';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* A progress circle allows the user to visualize the progression of an extended computer operation.
|
|
13
|
-
*/
|
|
14
|
-
function ProgressCircle({ value, max, ...otherProps }) {
|
|
15
|
-
return value === 'indeterminate' ? (jsx(IndeterminateProgressCircle, { ...otherProps })) : (jsx(DeterminateProgressCircle, { value: value, max: max, ...otherProps }));
|
|
16
|
-
}
|
|
17
|
-
const IndeterminateProgressCircle = ({ id, size, ...props }) => {
|
|
18
|
-
const { classes, styles: { indeterminate } } = useComponentTheme(ProgressCircleRedwoodTheme, {
|
|
19
|
-
size,
|
|
20
|
-
type: 'indeterminate'
|
|
21
|
-
});
|
|
22
|
-
const translations = useTranslationBundle('@oracle/oraclejet-preact');
|
|
23
|
-
const ariaProps = {
|
|
24
|
-
'aria-valuetext': props['aria-valuetext'] || translations.progressIndeterminate(),
|
|
25
|
-
'aria-label': props['aria-label'],
|
|
26
|
-
'aria-labelledby': props['aria-labelledby'],
|
|
27
|
-
role: 'progressbar'
|
|
28
|
-
};
|
|
29
|
-
return (jsx(CircleWrapper, { id: id, ariaProps: ariaProps, class: classes, children: jsx(CircleInner, { class: indeterminate }) }));
|
|
30
|
-
};
|
|
31
|
-
const DeterminateProgressCircle = ({ value = 0, max = 100, id, size, ...props }) => {
|
|
32
|
-
const { classes, styles: { determinate, track, valueStyle } } = useComponentTheme(ProgressCircleRedwoodTheme, {
|
|
33
|
-
size
|
|
34
|
-
});
|
|
35
|
-
const percentage = Math.min(Math.max(0, value / max), 1);
|
|
36
|
-
const clipPath = getProgressClipPath(percentage);
|
|
37
|
-
const ariaProps = {};
|
|
38
|
-
ariaProps['aria-valuemin'] = value != null ? 0 : undefined;
|
|
39
|
-
ariaProps['aria-valuemax'] = value != null ? max : undefined;
|
|
40
|
-
ariaProps['aria-valuenow'] = value != null ? value : undefined;
|
|
41
|
-
ariaProps['role'] = 'progressbar';
|
|
42
|
-
(ariaProps['aria-label'] = props['aria-label']),
|
|
43
|
-
(ariaProps['aria-labelledby'] = props['aria-labelledby']);
|
|
44
|
-
return (jsxs(CircleWrapper, { id: id, ariaProps: ariaProps, class: classes, children: [jsx(CircleInner, { class: classNames([determinate, track]) }), jsx(CircleInner, { class: classNames([determinate, valueStyle]), clipPath: clipPath })] }));
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export { ProgressCircle as P };
|
|
48
|
-
//# sourceMappingURL=ProgressCircle-d75b0848.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressCircle-d75b0848.js","sources":["../../src/UNSAFE_ProgressCircle/ProgressCircle.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChildren, ComponentProps } from 'preact';\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { CircleWrapper, CircleInner } from '#PRIVATE_Meter';\nimport { getProgressClipPath } from '#utils/PRIVATE_meterUtils';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport type { BundleType } from '#resources/nls/bundle';\nimport { HTMLAttributesSignalExcluded } from '#utils/UNSAFE_attributeUtils';\nimport { useComponentTheme } from '#hooks/UNSAFE_useComponentTheme';\nimport {\n ProgressCircleStyles,\n ProgressCircleVariantOptions\n} from './themes/ProgressCircleStyles.css';\nimport { ProgressCircleRedwoodTheme } from './themes/redwood/ProgressCircleTheme';\ntype ariaPropsType = ComponentProps<typeof CircleWrapper>['ariaProps'];\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLDivElement>, 'class'>;\n\ntype ProgressCircleProps = IntrinsicProps & {\n /**\n * Specifies the id of the progress circle. If the progress circle is being used to describe the loading process of a particular region\n * of the page, then the aria-describedby attribute of the region must point to the id of the ProgressCircle\n */\n id?: HTMLAttributesSignalExcluded<HTMLDivElement>['id'];\n /**\n * The value of the progress circle. If the value is 'indeterminate', an indeterminate progress circle will be shown.\n */\n value?: 'indeterminate' | number;\n\n /**\n * The maximum value of the progress circle.\n */\n max?: number;\n /**\n * The size of the progress circle. The default value of this property is theme driven.\n */\n size?: 'sm' | 'md' | 'lg';\n\n /**\n * A label to be used for accessibility purposes when value is set to 'indeterminate'. This will be used for the aria-valuetext of the DOM element.\n */\n 'aria-valuetext'?: string;\n /**\n * Specifies the children.\n */\n children?: ComponentChildren;\n /**\n * A label to be used for accessibility purposes. This will be used for the aria-label of the DOM element.\n */\n 'aria-label'?: string;\n\n /**\n * One or more ids (separated by spaces) of elements that label the progress bar. This will be used for the aria-labelledby of the DOM element.\n */\n 'aria-labelledby'?: string;\n};\n/**\n * A progress circle allows the user to visualize the progression of an extended computer operation.\n */\nexport function ProgressCircle({ value, max, ...otherProps }: ProgressCircleProps) {\n return value === 'indeterminate' ? (\n <IndeterminateProgressCircle {...otherProps}></IndeterminateProgressCircle>\n ) : (\n <DeterminateProgressCircle value={value} max={max} {...otherProps}></DeterminateProgressCircle>\n );\n}\n\ntype IndeterminateProps = Omit<ProgressCircleProps, 'value' | 'max'>;\n\nconst IndeterminateProgressCircle = ({ id, size, ...props }: IndeterminateProps) => {\n const {\n classes,\n styles: { indeterminate }\n } = useComponentTheme<ProgressCircleVariantOptions, ProgressCircleStyles>(\n ProgressCircleRedwoodTheme,\n {\n size,\n type: 'indeterminate'\n }\n );\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const ariaProps: ariaPropsType = {\n 'aria-valuetext': props['aria-valuetext'] || translations.progressIndeterminate(),\n 'aria-label': props['aria-label'],\n 'aria-labelledby': props['aria-labelledby'],\n role: 'progressbar'\n };\n return (\n <CircleWrapper id={id} ariaProps={ariaProps} class={classes}>\n <CircleInner class={indeterminate} />\n </CircleWrapper>\n );\n};\n\ntype DeterminateProps = Omit<ProgressCircleProps, 'aria-valuetext'> & {\n value?: number;\n};\n\nconst DeterminateProgressCircle = ({\n value = 0,\n max = 100,\n id,\n size,\n ...props\n}: DeterminateProps) => {\n const {\n classes,\n styles: { determinate, track, valueStyle }\n } = useComponentTheme<ProgressCircleVariantOptions, ProgressCircleStyles>(\n ProgressCircleRedwoodTheme,\n {\n size\n }\n );\n\n const percentage = Math.min(Math.max(0, value / max), 1);\n const clipPath = getProgressClipPath(percentage);\n\n const ariaProps: ariaPropsType = {};\n ariaProps['aria-valuemin'] = value != null ? 0 : undefined;\n ariaProps['aria-valuemax'] = value != null ? max : undefined;\n ariaProps['aria-valuenow'] = value != null ? value : undefined;\n ariaProps['role'] = 'progressbar';\n (ariaProps['aria-label'] = props['aria-label']),\n (ariaProps['aria-labelledby'] = props['aria-labelledby']);\n return (\n <CircleWrapper id={id} ariaProps={ariaProps} class={classes}>\n <CircleInner class={classNames([determinate, track])} />\n <CircleInner class={classNames([determinate, valueStyle])} clipPath={clipPath} />\n </CircleWrapper>\n );\n};\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;AA6DA;;AAEG;AACG,SAAU,cAAc,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,UAAU,EAAuB,EAAA;AAC/E,IAAA,OAAO,KAAK,KAAK,eAAe,IAC9BA,GAAA,CAAC,2BAA2B,EAAA,EAAA,GAAK,UAAU,EAAA,CAAgC,KAE3EA,GAAC,CAAA,yBAAyB,EAAC,EAAA,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAA,GAAM,UAAU,EAA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