@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":"Popup-bba2ea15.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":["Popup","forwardRef","anchorRef","launcherRef","children","isOpen","modality","offset","mainAxis","crossAxis","flipOptions","shiftOptions","onClickOutside","onClose","initialFocus","placement","tail","onTransitionEnd","onFocusSet","variant","role","ariaLabel","ariaLabelledBy","ariaDescribedBy","testId","props","ref","localLauncherRef","useRef","popupBgColor","setPopupBgColor","useState","contentWrapperRef","prevStatusRef","testIdProps","useTestId","insideRefs","current","document","body","push","useOutsideClick","isDisabled","handler","event","launcherKeyDownCallback","useCallback","getActiveElement","code","preventDefault","stopPropagation","focusWithin","setAnimationElementRef","status","onPosition","usePopupAnimation","isAnimatedOnMount","setInitialFocus","stableRef","useMemo","mergeRefs","returnFocus","launcherEl","anchorEl","focusOn","Element","useEffect","contains","addEventListener","removeEventListener","derivedInitialFocus","finalOffset","calcOffset","getMainAxisOffset","getCrossAxisOffset","handlePopupKeyDown","currentlyFocusedEl","wrapperEl","reason","useLayoutEffect","backgroundColorVar","getVarName","popupVars","backgroundColor","computedStyle","getComputedStyle","getPropertyValue","baseTheme","classes","useComponentTheme","PopupRedwoodTheme","isMounted","interpolations","Object","values","dimensionInterpolations","styleInterpolations","mergeInterpolations","styles","renderPopup","_jsx","jsx","FocusTrap","restoreFocusRef","tabIndex","className","classNames","style","onKeyDown","renderFloatingOrOverlayPopup","Floating","offsetValue","WindowOverlay","Modal","Layer"],"mappings":"knBAwJa,MAAAA,EAAQC,EAAAA,YACnB,EAEIC,YACAC,cACAC,WACAC,UAAS,EACTC,WAAW,WACXC,SAAS,CAAEC,SAAU,EAAGC,UAAW,GACnCC,cAAc,CAAEF,UAAU,EAAMC,WAAW,GAC3CE,eAAe,CAAEH,UAAU,EAAOC,WAAW,GAC7CG,iBACAC,UACAC,eAAe,OACfC,aAAYb,EAAY,MAAQ,UAChCc,OAAO,OACPC,kBACAC,aACAC,UAAU,WACVC,QAAoB,aAAbd,EAA0B,UAAY,UAC7C,aAAce,EACd,kBAAmBC,EACnB,mBAAoBC,EACpBC,YACGC,GAELC,KAEA,MAAMC,EAAmBC,SAA2B,OAC7CC,EAAcC,GAAmBC,EAAQA,WAE1CC,EAAoBJ,SAA8B,MAElDK,EAAgBL,SAAwB,aAGxCM,EAAcC,YAAUX,GAExBY,EAAuC,CAACJ,GAE1CL,EAAiBU,SAAWV,EAAiBU,UAAYC,SAASC,MACpEH,EAAWI,KAAKb,GAMlBc,kBAAgB,CACdC,aAAcrC,GAAU2B,EAAkBK,SAC1CX,IAAKU,EACLO,QAAUC,IACRhC,IAAiBgC,EAAM,IAI3B,MAAMC,EAA0BC,eAC7BF,IAEGjB,EAAiBU,UAAYU,sBACd,OAAfH,EAAMI,MACO,aAAb1C,IAIAsC,EAAMK,iBACNL,EAAMM,kBAENC,cAAYnB,EAAkBK,SAC9BnB,MACD,GAGH,CAACZ,KAaG8C,uBAAEA,EAAsBC,OAAEA,EAAMC,WAAEA,GAAeC,EAAAA,kBAAkB,CACvElD,SACAmD,mBAAmB,EACnBvC,gBAbwBZ,IACpBA,GACFoD,KACAxC,KAAkB,IAElBA,KAAkB,EACnB,EAQDF,UAAWA,IAEP2C,EAAYC,WAAQ,IAAMC,YAAU5B,EAAmBN,IAAM,CAACM,EAAmBN,IAEjFmC,GAAcf,EAAAA,aAAY,KAE9B,MAAMgB,EAAanC,EAAiBU,QAC9B0B,EAAW7D,GAAWmC,QAExByB,EACFE,EAAOA,QAACF,GAECC,GAAYA,aAAoBE,SACzCD,EAAOA,QAACD,EACT,GACA,CAACpC,EAAkBzB,IAEtBgE,EAAAA,WAAU,KAEH7D,GAAqB,YAAXgD,GAAqC,UAAb/C,EAU7BD,GAAqB,cAAXgD,GAAuC,UAAb/C,GAExC+C,IAAWpB,EAAcI,SAC3BwB,KARE7B,EAAkBK,SAAS8B,SAASpB,EAAAA,qBACtCc,KAUG,KACL5B,EAAcI,QAAUgB,CAAM,IAE/B,CAAChD,EAAQgD,EAAQQ,GAAavD,IAGjC4D,EAAAA,WAAU,KACJ7D,IACGF,GAAakC,SAIPlC,EAAYkC,mBAAmB4B,QAGxCtC,EAAiBU,QAAUC,SAASC,KAAK4B,SAAShE,EAAYkC,SAC1DlC,EAAYkC,QACXU,EAAAA,mBANLpB,EAAiBU,QAAUU,EAAAA,mBAW7BpB,EAAiBU,SAAS+B,iBAAiB,UAAWvB,IAEjD,KAELlB,EAAiBU,SAASgC,oBAAoB,UAAWxB,EAAwB,IAElF,CAACxC,EAAQF,EAAa0C,IAIzB,MAAMY,GAAkB,KACtB,IAAIa,EAAsBxD,EACL,SAAjBA,IAGAwD,EAFe,UAAbhE,EAEoB,iBAGA,QAME,UAAxBgE,IACFN,UAAQhC,EAAkBK,SAC1BnB,MACAD,KAAkB,IAKQ,mBAAxBqD,IACFnB,cAAYnB,EAAkBK,SAC9BnB,MACD,EA0BGqD,GAAc,CAClB/D,SAxBwB,CAACD,IACzB,IAAIiE,EAAa,EASjB,OARIjE,IAGFiE,EAA+B,iBAAXjE,EAAsBA,EAASA,EAAOC,UAAY,EACzD,WAATQ,IACFwD,GAAc,IAGXA,CAAU,EAcPC,CAAkBlE,GAC5BE,UAZyB,CAACF,GACrBA,EAKsB,iBAAXA,EAAsB,EAAIA,EAAOE,WAAa,EAJrD,EAUEiE,CAAmBnE,IAG1BoE,GAAsB/B,IAC1B,MAAMgC,EAAqB7B,EAAAA,mBACrB8B,EAAY7C,EAAkBK,QAC9ByB,EAAanC,EAAiBU,QACpC,GAAIwC,IAAcD,GAAsBC,GAAWV,SAASS,GAC1D,OAAQhC,EAAMI,MACZ,IAAK,SAEHnC,IAAU,CAAEiE,OAAQ,cACpB,MAEF,IAAK,KAGHlC,EAAMK,iBACNL,EAAMM,kBAGFY,GAA2B,aAAbxD,GAChB0D,EAAOA,QAACF,GAIf,EAGHiB,EAAAA,iBAAgB,KACd,GACa,cAAX1B,GAC6B,MAA7BrB,EAAkBK,SACF,MAAhBR,GACS,SAATb,EAEA,OAEF,MAAMgE,EAAqBC,EAAAA,WAAWC,EAASA,UAACC,iBAC1CC,EAAgBC,iBAAiBrD,EAAkBK,SACzDP,EAAgBsD,EAAcE,iBAAiBN,GAAoB,GAClE,CAAC3B,EAAQrB,EAAmBH,EAAcb,IAG7C,MAAMuE,UAAEA,GAASC,QAAEA,IAAYC,EAAiBA,kBAACC,EAAiBA,mBAC5DC,GAAuB,cAAXtC,EAEZuC,GAAiB,IAAIC,OAAOC,OAAOC,EAAAA,0BACnCC,GAAsBC,sBAAoCL,QACrDM,IAAWF,GAAoBvE,GAEpC0E,GAAc,IAEhBC,EAAAC,IAACC,EAASA,UAAA,CAACC,iBAAiB,EAAKnG,SAG/BgG,EAAAA,IACE,MAAA,CAAA1E,IAAKgC,EACL8C,UAAW,EACXpF,KAAMA,EACNqF,UAAWC,EAAAA,WAAW,CAACnB,GAAuB,aAAZpE,EAAyB,KAAOqE,KAClEmB,MAAOT,GACPU,UAAWjC,GACC,aAAAtD,EACK,kBAAAC,EACC,mBAAAC,KACdW,EACH9B,SAAAA,MAMHyG,GAA+B,IAC9B3G,GAAcA,EAAUmC,QAQzB+D,MAACU,EAAAA,SAAQ,CACPpF,IAAK0B,EACL+B,gBAAiBtD,EACjB3B,UAAWA,EACXa,UAAWA,EACXgG,YAAaxC,GACb7D,YAAaA,EACbC,aAAcA,EACdK,KAAMA,EACNsC,WAAYA,EAAUlD,SACrB+F,OAhBHC,EAAAA,IAACY,EAAAA,cAAa,CAACjG,UAAWA,EAAqCR,OAAQgE,YACrE6B,EAAKC,IAAA,MAAA,CAAA3E,IAAK0B,EAAsBhD,SAAG+F,SAqB3C,OAAIR,GACe,UAAbrF,EACK8F,EAAAC,IAACY,EAAKA,MAAA,CAAC5G,OAAQsF,GAAYvF,SAAAyG,OAE3BT,EAAAA,IAACc,EAAAA,MAAK,CAAA9G,SAAEyG,OAEL,IAAI"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './classNames-08d99695', './useUser-abae2493', './useTranslationBundle-652e08a6', './useComponentTheme-5aa41a8f', './UNSAFE_ProgressBar/themes/redwood/ProgressBarTheme', './LinearMeter-d1e744c1'], (function(e,a,r,s,l,o,n,t){"use strict";const i=({id:e,width:i,edge:d="none",...c})=>{const{classes:u,styles:{valueStyle:m,indeterminate:g,animationStyleLTR:h,animationStyleRTL:v,highContrastValueStyle:b,trackBorderEdgeNone:x,trackBorderEdgeTop:B}}=o.useComponentTheme(n.ProgressBarRedwoodTheme,{edge:"none"===d?d:void 0}),{direction:T,forcedColors:p}=s.useUser(),y=r.classNames([m,g,"rtl"===T?v:h,"active"===p?b:""]),j=l.useTranslationBundle("@oracle/oraclejet-preact"),N={"aria-valuetext":c["aria-valuetext"]||j.progressIndeterminate(),"aria-label":c["aria-label"],"aria-labelledby":c["aria-labelledby"],role:"progressbar"},C="active"===p?void 0:"none"===d?x:B;return a.jsx(t.BarTrack,{id:e,ariaProps:N,class:r.classNames([u,C]),length:i,children:a.jsx(t.BarValue,{class:y})})},d=({value:e=0,max:l=100,id:i,width:d,edge:c="none",...u})=>{const{forcedColors:m}=s.useUser(),{classes:g,styles:{valueStyle:h,highContrastValueStyle:v,trackBorderEdgeNone:b,trackBorderEdgeTop:x}}=o.useComponentTheme(n.ProgressBarRedwoodTheme,{edge:"none"===c?c:void 0}),B=r.classNames([h,"active"===m?v:""]),T=100*Math.min(Math.max(0,e/l),1)+"%",p={};return p["aria-valuemin"]=null!=e?0:void 0,p["aria-valuemax"]=null!=e?l:void 0,p["aria-valuenow"]=null!=e?e:void 0,p.role="progressbar",p["aria-label"]=u["aria-label"],p["aria-labelledby"]=u["aria-labelledby"],a.jsx(t.BarTrack,{ariaProps:p,id:i,length:d,class:r.classNames([g,"none"===c?b:x]),children:a.jsx(t.BarValue,{class:B,length:T})})};e.ProgressBar=function({value:e,max:r,...s}){return"indeterminate"===e?a.jsx(i,{...s}):a.jsx(d,{value:e,max:r,...s})}}));
|
|
2
|
-
//# sourceMappingURL=ProgressBar-4c24733e.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar-4c24733e.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":["IndeterminateProgressBar","id","width","edge","props","classes","styles","valueStyle","indeterminate","animationStyleLTR","animationStyleRTL","highContrastValueStyle","trackBorderEdgeNone","trackBorderEdgeTop","useComponentTheme","ProgressBarRedwoodTheme","undefined","direction","forcedColors","useUser","barValueClasses","classNames","translations","useTranslationBundle","ariaProps","progressIndeterminate","role","trackBorderClass","_jsx","jsx","BarTrack","class","length","children","BarValue","DeterminateProgressBar","value","max","percentage","Math","min","otherProps"],"mappings":"8QA4EA,MAAMA,EAA2B,EAAGC,KAAIC,QAAOC,OAAO,UAAWC,MAC/D,MAAMC,QACJA,EACAC,QAAQC,WACNA,EAAUC,cACVA,EAAaC,kBACbA,EAAiBC,kBACjBA,EAAiBC,uBACjBA,EAAsBC,oBACtBA,EAAmBC,mBACnBA,IAEAC,EAAAA,kBAAgEC,EAAAA,wBAAyB,CAC3FZ,KAAe,SAATA,EAAkBA,OAAOa,KAG3BC,UAAEA,EAASC,aAAEA,GAAiBC,EAAOA,UACrCC,EAAkBC,EAAAA,WAAW,CACjCd,EACAC,EACc,QAAdS,EAAsBP,EAAoBD,EACzB,WAAjBS,EAA4BP,EAAyB,KAEjDW,EAAeC,uBAAiC,4BAChDC,EAA2B,CAC/B,iBAAkBpB,EAAM,mBAAqBkB,EAAaG,wBAC1D,aAAcrB,EAAM,cACpB,kBAAmBA,EAAM,mBACzBsB,KAAM,eAEFC,EACa,WAAjBT,OACIF,EACS,SAATb,EACAS,EACAC,EACN,OACEe,EAACC,IAAAC,WACC,CAAA7B,GAAIA,EACJuB,UAAWA,EACXO,MAAOV,EAAUA,WAAC,CAAChB,EAASsB,IAC5BK,OAAQ9B,EACR+B,SAAAL,EAAAC,IAACK,WAAQ,CAACH,MAAOX,KAEnB,EAOEe,EAAyB,EAC7BC,QAAQ,EACRC,MAAM,IACNpC,KACAC,QACAC,OAAO,UACJC,MAEH,MAAMc,aAAEA,GAAiBC,EAAAA,WACnBd,QACJA,EACAC,QAAQC,WAAEA,EAAUI,uBAAEA,EAAsBC,oBAAEA,EAAmBC,mBAAEA,IACjEC,EAAiBA,kBAA+CC,0BAAyB,CAC3FZ,KAAe,SAATA,EAAkBA,OAAOa,IAG3BI,EAAkBC,EAAAA,WAAW,CACjCd,EACiB,WAAjBW,EAA4BP,EAAyB,KAGjD2B,EAAwD,IAAxCC,KAAKC,IAAID,KAAKF,IAAI,EAAGD,EAAQC,GAAM,GAAtC,IACbb,EAA2B,CAAA,EAOjC,OANAA,EAAU,iBAA4B,MAATY,EAAgB,OAAIpB,EACjDQ,EAAU,iBAA4B,MAATY,EAAgBC,OAAMrB,EACnDQ,EAAU,iBAA4B,MAATY,EAAgBA,OAAQpB,EACrDQ,EAAgB,KAAI,cACnBA,EAAU,cAAgBpB,EAAM,cAC9BoB,EAAU,mBAAqBpB,EAAM,mBAEtCwB,MAACE,EAAQA,SAAA,CACPN,UAAWA,EACXvB,GAAIA,EACJ+B,OAAQ9B,EACR6B,MAAOV,EAAUA,WAAC,CAAChB,EAAkB,SAATF,EAAkBS,EAAsBC,IACpEoB,SAAAL,EAAAA,IAACM,EAAAA,SAAS,CAAAH,MAAOX,EAAiBY,OAAQM,KAE5C,gBAlGE,UAAsBF,MAAEA,EAAKC,IAAEA,KAAQI,IAC3C,MAAiB,kBAAVL,EACLR,EAAAC,IAAC7B,EAAwB,IAAKyC,IAE9Bb,EAAAA,IAACO,EAAuB,CAAAC,MAAOA,EAAOC,IAAKA,KAASI,GAExD"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './classNames-08d99695', './meterUtils-775a2dde', './circleUtils-1886e5b4', './useTranslationBundle-652e08a6', './useComponentTheme-5aa41a8f', './UNSAFE_ProgressCircle/themes/redwood/ProgressCircleTheme', './CircularMeter-b754580a'], (function(e,a,r,s,l,i,t,n,o){"use strict";const c=({id:e,size:r,...s})=>{const{classes:l,styles:{indeterminate:c}}=t.useComponentTheme(n.ProgressCircleRedwoodTheme,{size:r,type:"indeterminate"}),d=i.useTranslationBundle("@oracle/oraclejet-preact"),m={"aria-valuetext":s["aria-valuetext"]||d.progressIndeterminate(),"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"],role:"progressbar"};return a.jsx(o.CircleWrapper,{id:e,ariaProps:m,class:l,children:a.jsx(o.CircleInner,{class:c})})},d=({value:e=0,max:s=100,id:i,size:c,...d})=>{const{classes:m,styles:{determinate:u,track:p,valueStyle:b}}=t.useComponentTheme(n.ProgressCircleRedwoodTheme,{size:c}),x=Math.min(Math.max(0,e/s),1),C=l.getProgressClipPath(x),h={};return h["aria-valuemin"]=null!=e?0:void 0,h["aria-valuemax"]=null!=e?s:void 0,h["aria-valuenow"]=null!=e?e:void 0,h.role="progressbar",h["aria-label"]=d["aria-label"],h["aria-labelledby"]=d["aria-labelledby"],a.jsxs(o.CircleWrapper,{id:i,ariaProps:h,class:m,children:[a.jsx(o.CircleInner,{class:r.classNames([u,p])}),a.jsx(o.CircleInner,{class:r.classNames([u,b]),clipPath:C})]})};e.ProgressCircle=function({value:e,max:r,...s}){return"indeterminate"===e?a.jsx(c,{...s}):a.jsx(d,{value:e,max:r,...s})}}));
|
|
2
|
-
//# sourceMappingURL=ProgressCircle-57ce7b94.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressCircle-57ce7b94.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":["IndeterminateProgressCircle","id","size","props","classes","styles","indeterminate","useComponentTheme","ProgressCircleRedwoodTheme","type","translations","useTranslationBundle","ariaProps","progressIndeterminate","role","_jsx","CircleWrapper","class","children","jsx","CircleInner","DeterminateProgressCircle","value","max","determinate","track","valueStyle","percentage","Math","min","clipPath","getProgressClipPath","undefined","_jsxs","classNames","otherProps"],"mappings":"oTA0EA,MAAMA,EAA8B,EAAGC,KAAIC,UAASC,MAClD,MAAMC,QACJA,EACAC,QAAQC,cAAEA,IACRC,EAAiBA,kBACnBC,6BACA,CACEN,OACAO,KAAM,kBAIJC,EAAeC,uBAAiC,4BAChDC,EAA2B,CAC/B,iBAAkBT,EAAM,mBAAqBO,EAAaG,wBAC1D,aAAcV,EAAM,cACpB,kBAAmBA,EAAM,mBACzBW,KAAM,eAER,OACEC,EAAAA,IAACC,EAAAA,cAAc,CAAAf,GAAIA,EAAIW,UAAWA,EAAWK,MAAOb,EAClDc,SAAAH,EAAAI,IAACC,cAAW,CAACH,MAAOX,KAEtB,EAOEe,EAA4B,EAChCC,QAAQ,EACRC,MAAM,IACNtB,KACAC,UACGC,MAEH,MAAMC,QACJA,EACAC,QAAQmB,YAAEA,EAAWC,MAAEA,EAAKC,WAAEA,IAC5BnB,EAAiBA,kBACnBC,6BACA,CACEN,SAIEyB,EAAaC,KAAKC,IAAID,KAAKL,IAAI,EAAGD,EAAQC,GAAM,GAChDO,EAAWC,sBAAoBJ,GAE/Bf,EAA2B,CAAA,EAOjC,OANAA,EAAU,iBAA4B,MAATU,EAAgB,OAAIU,EACjDpB,EAAU,iBAA4B,MAATU,EAAgBC,OAAMS,EACnDpB,EAAU,iBAA4B,MAATU,EAAgBA,OAAQU,EACrDpB,EAAgB,KAAI,cACnBA,EAAU,cAAgBT,EAAM,cAC9BS,EAAU,mBAAqBT,EAAM,mBAEtC8B,EAAAA,KAACjB,EAAAA,cAAa,CAACf,GAAIA,EAAIW,UAAWA,EAAWK,MAAOb,EAAOc,SAAA,CACzDH,EAAAA,IAACK,EAAAA,aAAYH,MAAOiB,aAAW,CAACV,EAAaC,MAC7CV,EAAAI,IAACC,EAAWA,YAAC,CAAAH,MAAOiB,EAAUA,WAAC,CAACV,EAAaE,IAAcI,SAAUA,MAEvE,mBAxEE,UAAyBR,MAAEA,EAAKC,IAAEA,KAAQY,IAC9C,MAAiB,kBAAVb,EACLP,EAAAI,IAACnB,EAA2B,IAAKmC,IAEjCpB,EAAAA,IAACM,EAA0B,CAAAC,MAAOA,EAAOC,IAAKA,KAASY,GAE3D"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './BaseNavigationListItem-ef8bf611', './Close-8af8a18c', 'preact/hooks', './useHover-7964884c', './useTranslationBundle-652e08a6', './EmbeddedIconButton-5520fda6'], (function(e,t,a,i,o,n,s,r){"use strict";e.RemovableNavigationListItem=function({itemKey:e,label:l,badge:c,metadata:v,severity:d}){const{selection:u,currentKey:m,onRemove:b}=a.useNavigationListContext(),x=u===e,g=m===e,j=o.useCallback((()=>{b?.({value:e})}),[b,e]),{hoverProps:f,isHover:B}=n.useHover({}),p=s.useTranslationBundle("@oracle/oraclejet-preact");return t.jsx("div",{...f,children:t.jsx(a.BaseNavigationListItem,{itemKey:e,label:l,badge:c,metadata:v,severity:d,removeIcon:t.jsx("span",{"data-oj-navigationlist-item-remove-icon":!0,children:t.jsx(r.EmbeddedIconButton,{"aria-label":p.tabBarNavigationList_removeCueText(),size:"xs",onAction:j,children:(B||x||g)&&t.jsx(i.SvgClose,{})})})})})}}));
|
|
2
|
-
//# sourceMappingURL=RemovableNavigationListItem-87e208e1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RemovableNavigationListItem-87e208e1.js","sources":["../../src/UNSAFE_NavigationListCommon/RemovableNavigationListItem.tsx"],"sourcesContent":["import { BaseNavigationListItem, BaseNavigationListItemProps } from './BaseNavigationListItem';\nimport { useNavigationListContext } from './useNavigationListContext';\nimport { Close } from '../UNSAFE_RedwoodIcons/Close';\nimport { EmbeddedIconButton } from '../PRIVATE_EmbeddedIconButton';\nimport { useCallback } from 'preact/hooks';\nimport { useHover } from '#hooks/UNSAFE_useHover';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport type { BundleType } from '../resources/nls/bundle';\n\ntype RemovableNavigationListItemProps<K extends string | number> = Omit<\n BaseNavigationListItemProps<K>,\n 'removeIcon'\n>;\n\nexport function RemovableNavigationListItem<K extends string | number>({\n itemKey,\n label,\n badge,\n metadata,\n severity\n}: RemovableNavigationListItemProps<K>) {\n const { selection, currentKey, onRemove } = useNavigationListContext();\n const isSelected = selection === itemKey;\n const isCurrent = currentKey === itemKey;\n\n const handleRemove = useCallback(() => {\n onRemove?.({ value: itemKey as K });\n }, [onRemove, itemKey]);\n\n const { hoverProps, isHover } = useHover({});\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n\n //instead of specifying flex: '1 0 auto' in cssProps var\n return (\n <div {...hoverProps}>\n <BaseNavigationListItem\n itemKey={itemKey}\n label={label}\n badge={badge}\n metadata={metadata}\n severity={severity}\n removeIcon={\n <span data-oj-navigationlist-item-remove-icon={true}>\n <EmbeddedIconButton\n aria-label={translations.tabBarNavigationList_removeCueText()}\n size=\"xs\"\n onAction={handleRemove}>\n {(isHover || isSelected || isCurrent) && <Close />}\n </EmbeddedIconButton>\n </span>\n }\n />\n </div>\n );\n}\n"],"names":["itemKey","label","badge","metadata","severity","selection","currentKey","onRemove","useNavigationListContext","isSelected","isCurrent","handleRemove","useCallback","value","hoverProps","isHover","useHover","translations","useTranslationBundle","_jsx","children","jsx","BaseNavigationListItem","removeIcon","EmbeddedIconButton","tabBarNavigationList_removeCueText","size","onAction","Close","SvgClose"],"mappings":"4QAcgB,UAAuDA,QACrEA,EAAOC,MACPA,EAAKC,MACLA,EAAKC,SACLA,EAAQC,SACRA,IAEA,MAAMC,UAAEA,EAASC,WAAEA,EAAUC,SAAEA,GAAaC,EAAwBA,2BAC9DC,EAAaJ,IAAcL,EAC3BU,EAAYJ,IAAeN,EAE3BW,EAAeC,EAAAA,aAAY,KAC/BL,IAAW,CAAEM,MAAOb,GAAe,GAClC,CAACO,EAAUP,KAERc,WAAEA,EAAUC,QAAEA,GAAYC,EAAQA,SAAC,CAAE,GAErCC,EAAeC,uBAAiC,4BAGtD,OACEC,MAAA,MAAA,IAASL,EAAUM,SACjBD,EAACE,IAAAC,yBACC,CAAAtB,QAASA,EACTC,MAAOA,EACPC,MAAOA,EACPC,SAAUA,EACVC,SAAUA,EACVmB,WACEJ,yDAA+C,EAAIC,SACjDD,MAACK,EAAAA,mBACa,CAAA,aAAAP,EAAaQ,qCACzBC,KAAK,KACLC,SAAUhB,EACTS,UAACL,GAAWN,GAAcC,IAAcS,EAAAA,IAACS,EAAKC,SAAA,WAO7D"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact', 'preact/compat', 'preact/hooks', './HiddenAccessible-037ef42d', './LiveRegion-345ac2a4', './TabBar-8a0cbff2', './mergeInterpolations-9ede4cf7', './flexitem-5db48325', './collectionUtils-f4de3e13', './LayerHost-1b4d03f0', './useReorderableItem-fa5fd0f4', './ReorderableContext-6d10a1b7', './UNSAFE_ReorderableTabBar/themes/ReorderableTabBarItemStyles.css', './keys-4755c121', 'css!./DragAndDropStyles.styles.css', 'css!./ReorderableItemStyles.styles.css'], (function(e,r,t,a,s,o,l,d,n,i,c,b,y,f,u,R,m,g){"use strict";const p='[role="tab"]';function x({children:e,dragKey:t,setDragKey:a,onReorder:o,layout:l,rootRef:d}){const b=s.useRef(null),f=s.useCallback((()=>b?.current?.querySelector(p)),[]),m=s.useCallback((e=>{e.dataTransfer?.setData("text/tabbar-item-key",c.getKey(f())+"")}),[f]),{rootProps:g,isDragged:x,overlayZoneBeforeProps:h,overlayZoneAfterProps:v}=y.useReorderableItem({isDisabled:!o,dragKey:t,setDragKey:a,onReorder:o,rootRef:d,ref:b,getItem:f,setTransferData:m,itemStyles:u.styles,itemSelector:p}),j=n.mergeInterpolations([...Object.values(i.flexitemInterpolations)])({flex:"stretch"===l?"1 0 auto":"0 0 auto"});return r.jsxs("div",{...g,draggable:!!o,style:j,children:[e,!x&&R.isKeyDefined(t)&&r.jsxs(r.Fragment,{children:[r.jsx("div",{...h}),r.jsx("div",{...v})]})]})}const h=a.forwardRef((({"aria-label":e,"aria-labelledby":a,children:n,layout:i="stretch",display:c="standard",size:b="md",edge:u="top",selection:R,onSelect:m,onRemove:g,onReorder:h,testId:v},j)=>{const I=s.useRef(null),[S,D]=s.useState(void 0),K="stacked"===c?{display:c}:{display:c,size:b},{reorderProps:T,reorderContext:k,reorderInstructionsId:A,reorderStatus:B,reorderInstructions:C}=y.useReorderable({onReorder:h,rootRef:I,itemSelector:p});return r.jsxs("div",{ref:I,...T,children:[r.jsx(f.ReorderableContext.Provider,{value:k,children:r.jsx(d.TabBar,{ref:j,"aria-label":e,"aria-labelledby":a,layout:i,edge:u,selection:R,onSelect:m,onRemove:g,testId:v,...K,"aria-describedby":A,children:t.toChildArray(n).map((e=>r.jsx(x,{dragKey:S,setDragKey:D,onReorder:h,layout:i,rootRef:I,children:e})))})}),r.jsx("span",{id:A,children:r.jsx(o.HiddenAccessible,{children:C})}),r.jsx(l.LiveRegion,{children:B})]})}));e.ReorderableTabBar=h}));
|
|
2
|
-
//# sourceMappingURL=ReorderableTabBar-cdafd5b2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReorderableTabBar-cdafd5b2.js","sources":["../../src/UNSAFE_ReorderableTabBar/ReorderableTabBarItem.tsx","../../src/UNSAFE_ReorderableTabBar/ReorderableTabBar.tsx"],"sourcesContent":["import { useRef, useCallback } from 'preact/hooks';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\nimport { flexitemInterpolations } from '../utils/UNSAFE_interpolations/flexitem';\nimport type { FlexitemProps } from '../utils/UNSAFE_interpolations/flexitem';\nimport { getKey } from '../utils/PRIVATE_collectionUtils';\nimport { useReorderableItem } from '../hooks/PRIVATE_useReorderable';\nimport { ReorderableItemProps } from '../UNSAFE_Collection/Reorderable.types';\nimport { styles } from './themes/ReorderableTabBarItemStyles.css';\nimport { isKeyDefined } from '../utils/UNSAFE_keys';\n\nexport const ITEM_SELECTOR = '[role=\"tab\"]';\n\ntype ReorderableTabBarItem<K extends string | number> = ReorderableItemProps<K> & {\n layout: 'stretch' | 'condense' | undefined;\n};\n\n/**\n * A private item that will be used by ReorderableTabBar, location TBD (could be moved to PRIVATE_TabBar)\n */\nexport function ReorderableTabBarItem<K extends string | number>({\n children,\n dragKey,\n setDragKey,\n onReorder,\n layout,\n rootRef\n}: ReorderableTabBarItem<K>) {\n const tabBarItemRef = useRef<HTMLDivElement | null>(null);\n const getItem = useCallback(\n () => tabBarItemRef?.current?.querySelector(ITEM_SELECTOR) as HTMLElement,\n []\n );\n const setTransferData = useCallback(\n (event: DragEvent) => {\n event.dataTransfer?.setData('text/tabbar-item-key', getKey(getItem()) + '');\n },\n [getItem]\n );\n\n const { rootProps, isDragged, overlayZoneBeforeProps, overlayZoneAfterProps } =\n useReorderableItem({\n isDisabled: onReorder ? false : true,\n dragKey,\n setDragKey,\n onReorder,\n rootRef,\n ref: tabBarItemRef,\n getItem,\n setTransferData,\n itemStyles: styles,\n itemSelector: ITEM_SELECTOR\n });\n\n //instead of specifying flex: '1 0 auto' in style\n const styleInterpolations = mergeInterpolations<FlexitemProps>([\n ...Object.values(flexitemInterpolations)\n ]);\n const flexDimensions = styleInterpolations({\n flex: layout === 'stretch' ? '1 0 auto' : '0 0 auto'\n });\n\n return (\n <div {...rootProps} draggable={onReorder ? true : false} style={flexDimensions}>\n {children}\n {!isDragged && isKeyDefined(dragKey) && (\n <>\n <div {...overlayZoneBeforeProps}></div>\n <div {...overlayZoneAfterProps}></div>\n </>\n )}\n </div>\n );\n}\n","import { toChildArray, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useRef, useState } from 'preact/hooks';\nimport { HiddenAccessible } from '../UNSAFE_HiddenAccessible';\nimport { LiveRegion } from '../UNSAFE_LiveRegion';\nimport { TestIdProps } from '../hooks/UNSAFE_useTestId';\nimport { TabBar, TabBarProps } from '../UNSAFE_TabBar';\nimport { ReorderableTabBarItem, ITEM_SELECTOR } from './ReorderableTabBarItem';\nimport { ReorderableContext, useReorderable } from '../hooks/PRIVATE_useReorderable';\nimport { ReorderProps } from '../UNSAFE_Collection/Reorderable.types';\n\nexport type ReorderableTabBarProps<K extends string | number> = Omit<\n TabBarProps<K>,\n 'aria-describedby'\n> &\n ReorderProps<K> &\n TestIdProps;\n\n/**\n * A component that allows reordering of tabs within a TabBar.\n */\nexport const ReorderableTabBar = forwardRef(\n <K extends string | number>(\n {\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledby,\n children,\n layout = 'stretch',\n display = 'standard',\n size = 'md',\n edge = 'top',\n selection,\n onSelect,\n onRemove,\n onReorder,\n testId\n }: ReorderableTabBarProps<K>,\n ref: Ref<HTMLDivElement>\n ) => {\n const rootRef = useRef<HTMLDivElement>(null);\n const [dragKey, setDragKey] = useState<K | undefined>(undefined);\n\n const displayStackProps = {\n display: display\n };\n const displayNonStackProps = {\n display: display,\n size: size\n };\n const displayProps = display === 'stacked' ? displayStackProps : displayNonStackProps;\n\n const {\n reorderProps,\n reorderContext,\n reorderInstructionsId,\n reorderStatus,\n reorderInstructions\n } = useReorderable({\n onReorder,\n rootRef,\n itemSelector: ITEM_SELECTOR\n });\n\n return (\n <div ref={rootRef} {...reorderProps}>\n <ReorderableContext.Provider value={reorderContext}>\n <TabBar\n ref={ref}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledby}\n layout={layout}\n edge={edge}\n selection={selection}\n onSelect={onSelect}\n onRemove={onRemove}\n testId={testId}\n {...displayProps}\n aria-describedby={reorderInstructionsId}>\n {toChildArray(children).map((child) => {\n return (\n <ReorderableTabBarItem\n dragKey={dragKey}\n setDragKey={setDragKey}\n onReorder={onReorder}\n layout={layout}\n rootRef={rootRef}>\n {child}\n </ReorderableTabBarItem>\n );\n })}\n </TabBar>\n </ReorderableContext.Provider>\n <span id={reorderInstructionsId}>\n <HiddenAccessible>{reorderInstructions}</HiddenAccessible>\n </span>\n <LiveRegion>{reorderStatus}</LiveRegion>\n </div>\n );\n }\n);\n"],"names":["ITEM_SELECTOR","ReorderableTabBarItem","children","dragKey","setDragKey","onReorder","layout","rootRef","tabBarItemRef","useRef","getItem","useCallback","current","querySelector","setTransferData","event","dataTransfer","setData","getKey","rootProps","isDragged","overlayZoneBeforeProps","overlayZoneAfterProps","useReorderableItem","isDisabled","ref","itemStyles","styles","itemSelector","flexDimensions","mergeInterpolations","Object","values","flexitemInterpolations","styleInterpolations","flex","_jsxs","draggable","style","isKeyDefined","jsxs","_Fragment","Fragment","_jsx","ReorderableTabBar","forwardRef","ariaLabel","ariaLabelledby","display","size","edge","selection","onSelect","onRemove","testId","useState","undefined","displayProps","reorderProps","reorderContext","reorderInstructionsId","reorderStatus","reorderInstructions","useReorderable","jsx","ReorderableContext","Provider","value","TabBar","toChildArray","map","child","id","HiddenAccessible","LiveRegion"],"mappings":"6hBAUO,MAAMA,EAAgB,eASb,SAAAC,GAAiDC,SAC/DA,EAAQC,QACRA,EAAOC,WACPA,EAAUC,UACVA,EAASC,OACTA,EAAMC,QACNA,IAEA,MAAMC,EAAgBC,SAA8B,MAC9CC,EAAUC,EAAWA,aACzB,IAAMH,GAAeI,SAASC,cAAcb,IAC5C,IAEIc,EAAkBH,eACrBI,IACCA,EAAMC,cAAcC,QAAQ,uBAAwBC,EAAMA,OAACR,KAAa,GAAG,GAE7E,CAACA,KAGGS,UAAEA,EAASC,UAAEA,EAASC,uBAAEA,EAAsBC,sBAAEA,GACpDC,EAAAA,mBAAmB,CACjBC,YAAYnB,EACZF,UACAC,aACAC,YACAE,UACAkB,IAAKjB,EACLE,UACAI,kBACAY,WAAYC,EAAMA,OAClBC,aAAc5B,IAOZ6B,EAHsBC,EAAAA,oBAAmC,IAC1DC,OAAOC,OAAOC,2BAEIC,CAAoB,CACzCC,KAAiB,YAAX7B,EAAuB,WAAa,aAG5C,OACE8B,EAAAA,KAAS,MAAA,IAAAjB,EAAWkB,YAAWhC,EAA0BiC,MAAOT,EAC7D3B,SAAA,CAAAA,GACCkB,GAAamB,EAAYA,aAACpC,IAC1BiC,EACEI,KAAAC,EAAAC,SAAA,CAAAxC,SAAA,CAAAyC,EAAAA,IAAA,MAAA,IAAStB,IACTsB,gBAASrB,SAKnB,CCnDa,MAAAsB,EAAoBC,EAAUA,YACzC,EAEI,aAAcC,EACd,kBAAmBC,EACnB7C,WACAI,SAAS,UACT0C,UAAU,WACVC,OAAO,KACPC,OAAO,MACPC,YACAC,WACAC,WACAhD,YACAiD,UAEF7B,KAEA,MAAMlB,EAAUE,SAAuB,OAChCN,EAASC,GAAcmD,EAAQA,cAAgBC,GAShDC,EAA2B,YAAZT,EAPK,CACxBA,QAASA,GAEkB,CAC3BA,QAASA,EACTC,KAAMA,IAIFS,aACJA,EAAYC,eACZA,EAAcC,sBACdA,EAAqBC,cACrBA,EAAaC,oBACbA,GACEC,iBAAe,CACjB1D,YACAE,UACAqB,aAAc5B,IAGhB,OACEoC,EAAAI,KAAA,MAAA,CAAKf,IAAKlB,KAAamD,EAAYxD,SAAA,CACjCyC,EAACqB,IAAAC,qBAAmBC,UAASC,MAAOR,EAAczD,SAChDyC,MAACyB,EAAAA,OACC,CAAA3C,IAAKA,EAAG,aACIqB,EAAS,kBACJC,EACjBzC,OAAQA,EACR4C,KAAMA,EACNC,UAAWA,EACXC,SAAUA,EACVC,SAAUA,EACVC,OAAQA,KACJG,EAAY,mBACEG,EAAqB1D,SACtCmE,EAAYA,aAACnE,GAAUoE,KAAKC,GAEzB5B,EAAAA,IAAC1C,EACC,CAAAE,QAASA,EACTC,WAAYA,EACZC,UAAWA,EACXC,OAAQA,EACRC,QAASA,EACRL,SAAAqE,UAMX5B,cAAM6B,GAAIZ,EAAqB1D,SAC7ByC,EAAAA,IAAC8B,EAAgBA,2BAAEX,MAErBnB,MAAC+B,EAAAA,qBAAYb,MAEf"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './layoutUtils-4304ffe4', './useChartDnd-44674b7d', './LineSeries-6b2d5fc5', './dataStyleUtils-a0ecedd5', './useUser-abae2493', './colorUtils-bc5b1d84', './accUtils-93ee6f16', './Chart-c3a5a93d'], (function(e,t,i,n,r,s,o,a,d,l){"use strict";e.ScatterChart=function({width:e,height:d,selectedIds:h=[],hiddenIds:g=[],highlightedIds:c,hideAndShowBehavior:I="none",orientation:x="vertical",yAxis:f,series:u,groups:m,getDataItem:S,selectionMode:v="none",drilling:y="off",dataLabelEffect:p="outline",lineType:C="none",...D}){const{direction:b,forcedColors:A}=o.useUser(),w="active"===A,L=void 0!==D.testId,M="rtl"===b,T="log"===f?.scale,U=D.xAxis?.timeAxisType,E=new Set(g),j=new Set(h),k=new Set(c),F="horizontal"===x,z=a.getColorRamp(),N=n.getSeriesData(u?.length,m?.length,S,E,T),P=(e,t)=>S(e,t),R=n.getMarkers();return t.jsx(l.Chart,{width:e,height:d,selectedIds:j,hiddenIds:g,hideAndShowBehavior:I,orientation:x,yAxis:f,series:u,groups:m,overview:"off",defaultOverviewContentRenderer:()=>null,selectionMode:v,drilling:y,getDataItem:S,findNearest:(e,t)=>i.findNearestDataPoint(u,m,e,t,P,!1,(()=>({offset:0,dataWidth:0})),((e,t)=>t.transform(e)),T,0,E,U),getDataItemPos:(e,t)=>(i,n)=>{const r=N[i][n];if(null==r?.x&&r?.y)return;return{x:e.transform(r?.x),y:t.transform(r?.y),height:0,width:0}},getMarkerInfo:(e,t)=>({color:s.getItemColor(e,t,u,S),type:s.getMarkerType(e,t,S)}),renderGridLinesInFront:!0,isDataXAxis:!0,getNavUtil:(e,t)=>s.getLineAreaChartNavUtil(S,u.length,e,t,!1,M,F),getGapRatio:()=>1,offset:.2,isRtl:M,...D,children:({xStartIndex:e,xEndIndex:i,xScale:s,yScale:o,activeId:a,focusedItemInfo:d,hoveredItemInfo:l,isPointInsideMarquee:h,defaultFontSize:g,getTextDimensions:I})=>t.jsx(t.Fragment,{children:N.map(((f,b)=>{if(0===f.length)return;const A=u[b],M="none"!==C,E=n.getLineAreaSegments(o,s,f,e,i,F,T,m,b,P,U,!0),N=void 0===c||0===c.length||k.has(A.id);return t.jsxs(t.Fragment,{children:[M&&t.jsx(r.LineSeries,{lineType:C,lineColor:A.lineColor,lineWidth:A.lineWidth,lineStyle:A.lineStyle,color:A.lineColor||z[b%z.length],lineSegmentCoords:E,isHorizontal:F,isHighlighted:N,seriesIndex:b}),t.jsx(r.MarkersWithLabel,{yScale:o,xScale:s,groups:m,series:A,timeAxisType:U,color:A.lineColor||z[b%z.length],seriesIndex:b,startIndex:e,endIndex:i,markerType:R[b%R.length],orientation:x,isLog:T,activeId:a,getDataItem:S,isPointInsideMarquee:h,selectedIds:j,highlightedIds:void 0!==c?k:void 0,focusedItemIndex:d.seriesIndex!==b||!d.isFocusVisible||D.isDataCursorEnabled&&D.dataCursorStyle?.isMarkerDisplayed?void 0:d.groupIndex,hoveredItemIndex:l?.isCurrent&&l.seriesIndex===b?l.groupIndex:void 0,isSelectionEnabled:"single"===v||"multiple"===v,isDrillEnabled:"on"===y,defaultFontSize:g,dataLabelEffect:p,isHighContrast:w,isTestEnv:L,isDataXAxis:!0,getTextDimensions:I})]})}))})})}}));
|
|
2
|
-
//# sourceMappingURL=ScatterChart-de870222.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScatterChart-de870222.js","sources":["../../src/UNSAFE_ScatterChart/ScatterChart.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ScatterChartProps, ScatterItem } from './scatterChart.types';\nimport { findNearestDataPoint } from '#utils/PRIVATE_chartUtils/layoutUtils';\nimport { getMarkers, getSeriesData } from '#utils/PRIVATE_chartUtils/utils';\nimport { MarkersWithLabel } from '#PRIVATE_Chart/MarkersWithLabel';\nimport { getLineAreaChartNavUtil } from '#utils/PRIVATE_chartUtils/navUtils';\nimport { Chart } from '#PRIVATE_Chart';\nimport { Scale, TimeAxisProps } from '#utils/UNSAFE_visTypes/chart';\nimport { useUser } from '#hooks/UNSAFE_useUser';\nimport { getColorRamp } from '#utils/UNSAFE_visUtils';\nimport { Point } from '#utils/PRIVATE_visSVGUtils';\nimport { getLineAreaSegments } from '#utils/PRIVATE_chartUtils/utils';\nimport { getItemColor, getMarkerType } from '#utils/PRIVATE_chartUtils/dataStyleUtils';\nimport { LineSeries } from '#PRIVATE_LineAreaComponents/LineSeries';\n\nconst AXIS_OFFSET = 0.2;\n\n/**\n * Scatter charts define data items using x and y values, making them useful for viewing relationships between 2 dimensions.\n */\nexport function ScatterChart<K extends string | number, D extends ScatterItem<K>>({\n width,\n height,\n selectedIds = [],\n hiddenIds = [],\n highlightedIds,\n hideAndShowBehavior = 'none',\n orientation = 'vertical',\n yAxis,\n series,\n groups,\n getDataItem,\n selectionMode = 'none',\n drilling = 'off',\n dataLabelEffect = 'outline',\n lineType = 'none',\n ...props\n}: ScatterChartProps<K, D>) {\n const { direction, forcedColors } = useUser();\n const isHighContrast = forcedColors === 'active';\n const isTestEnv = props.testId !== undefined;\n const isRtl = direction === 'rtl';\n const isLog = yAxis?.scale === 'log';\n const timeAxisType = (props.xAxis as TimeAxisProps)?.timeAxisType;\n const hiddenSet = new Set(hiddenIds);\n const selectedSet = new Set(selectedIds);\n const highlightedSet = new Set(highlightedIds);\n const isHoriz = orientation === 'horizontal';\n const colors = getColorRamp();\n const renderedSeries = getSeriesData<K, D>(\n series?.length,\n groups?.length,\n getDataItem,\n hiddenSet,\n isLog\n );\n\n const renderedGetDataItem = (seriesIndex: number, groupIndex: number): D | undefined =>\n getDataItem(seriesIndex, groupIndex);\n\n const getGapRatio = () => {\n return 1;\n };\n\n const getNextChartItemFunc = (startIndex: number, endIndex: number) => {\n // TODO: JET-71301\n return getLineAreaChartNavUtil<D>(\n getDataItem,\n series.length,\n startIndex,\n endIndex,\n false,\n isRtl,\n isHoriz\n );\n };\n\n const getDataItemPos = (xScale: Scale, yScale: Scale) => {\n return (seriesIndex: number, groupIndex: number) => {\n // Scatter shouldn't create renderedSeries. Can filter for hidden item here.\n // TODO: JET-71332\n const item = renderedSeries[seriesIndex][groupIndex] as { x: number; y: number };\n if (item?.x == null && item?.y) {\n return;\n }\n const x = xScale.transform(item?.x!);\n const y = yScale.transform(item?.y!);\n return { x, y, height: 0, width: 0 };\n };\n };\n\n const getMarkerColorAndType = (seriesIndex: number, groupIndex: number) => {\n return {\n color: getItemColor(seriesIndex, groupIndex, series, getDataItem),\n type: getMarkerType(seriesIndex, groupIndex, getDataItem)\n };\n };\n\n const findNearest = (xScale: Scale, yScale: Scale) => {\n const getSeriesDataInfo = () => {\n return {\n offset: 0,\n dataWidth: 0\n };\n };\n\n const getYCoord = (value: number, yScale: Scale) => {\n return yScale.transform(value);\n };\n\n return findNearestDataPoint<K, D>(\n series,\n groups,\n xScale,\n yScale,\n renderedGetDataItem,\n false,\n getSeriesDataInfo,\n getYCoord,\n isLog,\n 0,\n hiddenSet,\n timeAxisType\n );\n };\n const markers = getMarkers();\n return (\n <Chart\n width={width}\n height={height}\n selectedIds={selectedSet}\n hiddenIds={hiddenIds}\n hideAndShowBehavior={hideAndShowBehavior}\n orientation={orientation}\n yAxis={yAxis}\n series={series}\n groups={groups}\n overview=\"off\"\n defaultOverviewContentRenderer={() => null}\n selectionMode={selectionMode}\n drilling={drilling}\n getDataItem={getDataItem}\n findNearest={findNearest}\n getDataItemPos={getDataItemPos}\n getMarkerInfo={getMarkerColorAndType}\n renderGridLinesInFront={true}\n isDataXAxis={true}\n getNavUtil={getNextChartItemFunc}\n getGapRatio={getGapRatio}\n offset={AXIS_OFFSET}\n isRtl={isRtl}\n {...props}>\n {({\n xStartIndex,\n xEndIndex,\n xScale,\n yScale,\n activeId,\n focusedItemInfo,\n hoveredItemInfo,\n isPointInsideMarquee,\n defaultFontSize,\n getTextDimensions\n }) => {\n return (\n <>\n {renderedSeries.map((lineAreaSeries, index) => {\n if (lineAreaSeries.length === 0) {\n /* TODO: need a better way to handle when a series is hidden. */\n return;\n }\n const seriesItem = series[index];\n const isLineRendered = lineType !== 'none';\n const lineSegmentCoords: Point[][] = getLineAreaSegments<K, D>(\n yScale,\n xScale,\n lineAreaSeries,\n xStartIndex,\n xEndIndex,\n isHoriz,\n isLog,\n groups,\n index,\n renderedGetDataItem,\n timeAxisType,\n true\n );\n\n const isHighlighted =\n highlightedIds === undefined ||\n highlightedIds.length === 0 ||\n highlightedSet.has(seriesItem.id);\n\n return (\n <>\n {isLineRendered && (\n <LineSeries\n lineType={lineType}\n /* TODO: confirm with UX if this is contrastLine (changes depending on dark/light mode) or always white. \n It's always white in legacy.*/\n lineColor={seriesItem.lineColor}\n /* The area generated in legacy are bit apart and not touching when stacked. Preact areas are a bit closer than legacy when curved. \n Increased the contrast linewidth (to 2.5 from legacy 1.25) to give legacy visual treatment.\n TODO: investivage why legacy areas are not touching. maybe we want to do the same in preact svg utils that\n generates this curve.\n */\n lineWidth={seriesItem.lineWidth}\n lineStyle={seriesItem.lineStyle}\n color={seriesItem.lineColor || colors[index % colors.length]}\n lineSegmentCoords={lineSegmentCoords}\n isHorizontal={isHoriz}\n isHighlighted={isHighlighted}\n seriesIndex={index}\n />\n )}\n <MarkersWithLabel\n yScale={yScale}\n xScale={xScale}\n groups={groups}\n series={seriesItem}\n timeAxisType={timeAxisType}\n color={\n seriesItem.lineColor ||\n colors[\n index % colors.length\n ] /* TODO : make this use getItemColor function from dataStyleUtils. */\n }\n seriesIndex={index}\n startIndex={xStartIndex}\n endIndex={xEndIndex}\n markerType={markers[index % markers.length]}\n orientation={orientation}\n isLog={isLog}\n activeId={activeId}\n getDataItem={getDataItem}\n isPointInsideMarquee={isPointInsideMarquee}\n selectedIds={selectedSet}\n highlightedIds={highlightedIds !== undefined ? highlightedSet : undefined}\n focusedItemIndex={\n focusedItemInfo.seriesIndex === index &&\n focusedItemInfo.isFocusVisible &&\n !(props.isDataCursorEnabled && props.dataCursorStyle?.isMarkerDisplayed)\n ? focusedItemInfo.groupIndex\n : undefined\n }\n hoveredItemIndex={\n hoveredItemInfo?.isCurrent && hoveredItemInfo.seriesIndex === index\n ? hoveredItemInfo.groupIndex\n : undefined\n }\n isSelectionEnabled={selectionMode === 'single' || selectionMode === 'multiple'}\n isDrillEnabled={drilling === 'on'}\n defaultFontSize={defaultFontSize}\n dataLabelEffect={dataLabelEffect}\n isHighContrast={isHighContrast}\n isTestEnv={isTestEnv}\n isDataXAxis={true}\n getTextDimensions={getTextDimensions}\n />\n </>\n );\n })}\n </>\n );\n }}\n </Chart>\n );\n}\n"],"names":["width","height","selectedIds","hiddenIds","highlightedIds","hideAndShowBehavior","orientation","yAxis","series","groups","getDataItem","selectionMode","drilling","dataLabelEffect","lineType","props","direction","forcedColors","useUser","isHighContrast","isTestEnv","undefined","testId","isRtl","isLog","scale","timeAxisType","xAxis","hiddenSet","Set","selectedSet","highlightedSet","isHoriz","colors","getColorRamp","renderedSeries","getSeriesData","length","renderedGetDataItem","seriesIndex","groupIndex","markers","getMarkers","_jsx","Chart","overview","defaultOverviewContentRenderer","findNearest","xScale","yScale","findNearestDataPoint","offset","dataWidth","value","transform","getDataItemPos","item","x","y","getMarkerInfo","color","getItemColor","type","getMarkerType","renderGridLinesInFront","isDataXAxis","getNavUtil","startIndex","endIndex","getLineAreaChartNavUtil","getGapRatio","children","xStartIndex","xEndIndex","activeId","focusedItemInfo","hoveredItemInfo","isPointInsideMarquee","defaultFontSize","getTextDimensions","jsx","_Fragment","Fragment","map","lineAreaSeries","index","seriesItem","isLineRendered","lineSegmentCoords","getLineAreaSegments","isHighlighted","has","id","_jsxs","jsxs","LineSeries","lineColor","lineWidth","lineStyle","isHorizontal","MarkersWithLabel","markerType","focusedItemIndex","isFocusVisible","isDataCursorEnabled","dataCursorStyle","isMarkerDisplayed","hoveredItemIndex","isCurrent","isSelectionEnabled","isDrillEnabled"],"mappings":"+RA2BM,UAA4EA,MAChFA,EAAKC,OACLA,EAAMC,YACNA,EAAc,GAAEC,UAChBA,EAAY,GAAEC,eACdA,EAAcC,oBACdA,EAAsB,OAAMC,YAC5BA,EAAc,WAAUC,MACxBA,EAAKC,OACLA,EAAMC,OACNA,EAAMC,YACNA,EAAWC,cACXA,EAAgB,OAAMC,SACtBA,EAAW,MAAKC,gBAChBA,EAAkB,UAASC,SAC3BA,EAAW,UACRC,IAEH,MAAMC,UAAEA,EAASC,aAAEA,GAAiBC,EAAOA,UACrCC,EAAkC,WAAjBF,EACjBG,OAA6BC,IAAjBN,EAAMO,OAClBC,EAAsB,QAAdP,EACRQ,EAAyB,QAAjBjB,GAAOkB,MACfC,EAAgBX,EAAMY,OAAyBD,aAC/CE,EAAY,IAAIC,IAAI1B,GACpB2B,EAAc,IAAID,IAAI3B,GACtB6B,EAAiB,IAAIF,IAAIzB,GACzB4B,EAA0B,eAAhB1B,EACV2B,EAASC,EAAAA,eACTC,EAAiBC,gBACrB5B,GAAQ6B,OACR5B,GAAQ4B,OACR3B,EACAkB,EACAJ,GAGIc,EAAsB,CAACC,EAAqBC,IAChD9B,EAAY6B,EAAaC,GAmErBC,EAAUC,EAAAA,aAChB,OACEC,EAAAA,IAACC,EAAAA,MAAK,CACJ5C,MAAOA,EACPC,OAAQA,EACRC,YAAa4B,EACb3B,UAAWA,EACXE,oBAAqBA,EACrBC,YAAaA,EACbC,MAAOA,EACPC,OAAQA,EACRC,OAAQA,EACRoC,SAAS,MACTC,+BAAgC,IAAM,KACtCnC,cAAeA,EACfC,SAAUA,EACVF,YAAaA,EACbqC,YA5CgB,CAACC,EAAeC,IAY3BC,EAAoBA,qBACzB1C,EACAC,EACAuC,EACAC,EACAX,GACA,GAjBwB,KACjB,CACLa,OAAQ,EACRC,UAAW,MAIG,CAACC,EAAeJ,IACzBA,EAAOK,UAAUD,IAYxB7B,EACA,EACAI,EACAF,GAqBA6B,eAlEmB,CAACP,EAAeC,IAC9B,CAACV,EAAqBC,KAG3B,MAAMgB,EAAOrB,EAAeI,GAAaC,GACzC,GAAe,MAAXgB,GAAMC,GAAaD,GAAME,EAC3B,OAIF,MAAO,CAAED,EAFCT,EAAOM,UAAUE,GAAMC,GAErBC,EADFT,EAAOK,UAAUE,GAAME,GAClBzD,OAAQ,EAAGD,MAAO,EAAG,EAyDpC2D,cArD0B,CAACpB,EAAqBC,KAC3C,CACLoB,MAAOC,EAAAA,aAAatB,EAAaC,EAAYhC,EAAQE,GACrDoD,KAAMC,EAAaA,cAACxB,EAAaC,EAAY9B,KAmD7CsD,wBAAwB,EACxBC,aAAa,EACbC,WAnFyB,CAACC,EAAoBC,IAEzCC,EAAuBA,wBAC5B3D,EACAF,EAAO6B,OACP8B,EACAC,GACA,EACA7C,EACAS,GA2EAsC,YAxFgB,IACX,EAwFLnB,OAtIc,GAuId5B,MAAOA,KACHR,EACHwD,SAAA,EACCC,cACAC,YACAzB,SACAC,SACAyB,WACAC,kBACAC,kBACAC,uBACAC,kBACAC,uBAGEpC,EACGqC,IAAAC,EAAAC,SAAA,CAAAX,SAAApC,EAAegD,KAAI,CAACC,EAAgBC,KACnC,GAA8B,IAA1BD,EAAe/C,OAEjB,OAEF,MAAMiD,EAAa9E,EAAO6E,GACpBE,EAA8B,SAAbzE,EACjB0E,EAA+BC,EAAAA,oBACnCxC,EACAD,EACAoC,EACAZ,EACAC,EACAzC,EACAR,EACAf,EACA4E,EACA/C,EACAZ,GACA,GAGIgE,OACerE,IAAnBjB,GAC0B,IAA1BA,EAAeiC,QACfN,EAAe4D,IAAIL,EAAWM,IAEhC,OACEC,EACGC,KAAAb,WAAA,CAAAV,SAAA,CAAAgB,GACC5C,MAACoD,EAAAA,WAAU,CACTjF,SAAUA,EAGVkF,UAAWV,EAAWU,UAMtBC,UAAWX,EAAWW,UACtBC,UAAWZ,EAAWY,UACtBtC,MAAO0B,EAAWU,WAAa/D,EAAOoD,EAAQpD,EAAOI,QACrDmD,kBAAmBA,EACnBW,aAAcnE,EACd0D,cAAeA,EACfnD,YAAa8C,IAGjB1C,EAAAA,IAACyD,EAAAA,kBACCnD,OAAQA,EACRD,OAAQA,EACRvC,OAAQA,EACRD,OAAQ8E,EACR5D,aAAcA,EACdkC,MACE0B,EAAWU,WACX/D,EACEoD,EAAQpD,EAAOI,QAGnBE,YAAa8C,EACblB,WAAYK,EACZJ,SAAUK,EACV4B,WAAY5D,EAAQ4C,EAAQ5C,EAAQJ,QACpC/B,YAAaA,EACbkB,MAAOA,EACPkD,SAAUA,EACVhE,YAAaA,EACbmE,qBAAsBA,EACtB3E,YAAa4B,EACb1B,oBAAmCiB,IAAnBjB,EAA+B2B,OAAiBV,EAChEiF,iBACE3B,EAAgBpC,cAAgB8C,IAChCV,EAAgB4B,gBACdxF,EAAMyF,qBAAuBzF,EAAM0F,iBAAiBC,uBAElDrF,EADAsD,EAAgBnC,WAGtBmE,iBACE/B,GAAiBgC,WAAahC,EAAgBrC,cAAgB8C,EAC1DT,EAAgBpC,gBAChBnB,EAENwF,mBAAsC,WAAlBlG,GAAgD,aAAlBA,EAClDmG,eAA6B,OAAblG,EAChBkE,gBAAiBA,EACjBjE,gBAAiBA,EACjBM,eAAgBA,EAChBC,UAAWA,EACX6C,aAAa,EACbc,kBAAmBA,MAGvB,OAOhB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/hooks', './Dropdown-37339c89', './Flex-69dc7af4', './FocusTrap-d351e5c9', './keyboardUtils-71bc5d84', './useTestId-d0c49456', './View-59fe568d'], (function(e,n,o,t,d,i,a,s,c){"use strict";const r="bottom-start";e.SectionedContent=({"aria-label":e,contentRef:t,gap:r,footer:l,hasFocusTrap:p=!1,header:u,main:x,paddingBlockEnd:g="4x",paddingBlockStart:f="4x",paddingInlineEnd:h="4x",paddingInlineStart:k="4x",role:S,testId:b})=>{const I=s.useTestId(b),j=o.useRef(null),m=t??j,w=o.useCallback((e=>{e.code===a.KEYS.TAB&&e.stopPropagation()}),[]),F=n.jsxs(d.Flex,{direction:"column",gap:r,children:[u,n.jsx(c.View,{paddingBlockEnd:g,paddingBlockStart:f,paddingInlineEnd:h,paddingInlineStart:k,children:x}),l]}),T=p?n.jsx(i.FocusTrap,{restoreFocusRef:!1,children:F}):{sections:F};return n.jsx("div",{"aria-label":e,onKeyDown:p?w:void 0,ref:m,role:S,...I,children:T})},e.StickyPositioningDropdown=({children:e,isOpen:d,onPosition:i,...a})=>{const[s,c]=o.useState(r),[l,p]=o.useState(d);l!==d&&(p(d),d||c(r));const u=o.useCallback((e=>{c(e.placement),i?.(e)}),[i,c]);return n.jsx(t.Dropdown,{isOpen:d,onPosition:u,placement:s,...a,children:e})}}));
|
|
2
|
-
//# sourceMappingURL=SectionedContent-d75017a3.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SectionedContent-d75017a3.js","sources":["../../src/PRIVATE_FormControls/StickyPositioningDropdown.tsx","../../src/PRIVATE_FormControls/SectionedContent.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps } from 'preact';\nimport { useCallback } from 'preact/hooks';\nimport { useState } from 'preact/hooks';\nimport { Dropdown } from '#UNSAFE_Dropdown';\nimport { PositionData } from '../UNSAFE_Floating';\n\ntype DropdownProps = ComponentProps<typeof Dropdown>;\ntype Props = Pick<\n DropdownProps,\n | 'anchorRef'\n | 'children'\n | 'flipOptions'\n | 'id'\n | 'initialFocus'\n | 'isOpen'\n | 'minWidth'\n | 'offset'\n | 'onClose'\n | 'onPosition'\n | 'sizeOptions'\n>;\n\nconst DEFAULT_PLACEMENT = 'bottom-start';\n\n/**\n * StickyPositioningDropdown is used to display content which supports conditional rendering,\n * or other cases where the size of the content can change and cause the dropdown to rerender\n * in a different placement. This component ensures the repositioning happens only once,\n * until there is a collision, instead of allowing the dropdown to keep trying to\n * move back to its default position on every render.\n */\nconst StickyPositioningDropdown = ({ children, isOpen, onPosition, ...rest }: Props) => {\n const [placement, setPlacement] = useState<DropdownProps['placement']>(DEFAULT_PLACEMENT);\n const [prevIsOpen, setPrevIsOpen] = useState(isOpen);\n\n if (prevIsOpen !== isOpen) {\n setPrevIsOpen(isOpen);\n\n // reset the placement to the default when the dropdown closes, not opens, so that it doesn't\n // initially open in the previous position and then move to the default position on the\n // rerender after the state is updated\n if (!isOpen) {\n setPlacement(DEFAULT_PLACEMENT);\n }\n }\n const handlePosition = useCallback(\n (positionData: PositionData) => {\n // update the placement so that the dropdown stays where it is until there is a collision,\n // i.e. it no longer fits, instead of letting it try to move back to the default position\n // on every render\n setPlacement(positionData.placement);\n\n // call the callback that was passed in through props\n onPosition?.(positionData);\n },\n [onPosition, setPlacement]\n );\n\n return (\n <Dropdown isOpen={isOpen} onPosition={handlePosition} placement={placement} {...rest}>\n {children}\n </Dropdown>\n );\n};\n\nexport { StickyPositioningDropdown };\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport type { ComponentChildren, ComponentProps, RefObject } from 'preact';\nimport { useCallback, useRef } from 'preact/hooks';\nimport {\n AriaAttributesSignalExcluded,\n HTMLAttributesSignalExcluded\n} from '#utils/UNSAFE_attributeUtils';\nimport { Flex } from '#UNSAFE_Flex';\nimport { FocusTrap } from '#UNSAFE_FocusTrap';\nimport { KEYS } from '#utils/PRIVATE_keyboardUtils';\nimport { PaddingProps } from '#utils/UNSAFE_interpolations/padding';\nimport { TestIdProps, useTestId } from '#hooks/UNSAFE_useTestId';\nimport { View } from '#UNSAFE_View';\n\ntype FlexProps = ComponentProps<typeof Flex>;\n\ntype Props = TestIdProps & {\n /**\n * An accessible label that describes the content.\n */\n 'aria-label'?: AriaAttributesSignalExcluded['aria-label'];\n\n /**\n * A ref to the content container.\n */\n contentRef?: RefObject<HTMLDivElement>;\n\n /**\n * Child content in the footer section.\n */\n footer?: ComponentChildren;\n\n /**\n * The spacing between the sections.\n */\n gap?: FlexProps['gap'];\n\n /**\n * True if the tab key should cycle focus within the content.\n * @default false\n */\n hasFocusTrap?: boolean;\n\n /**\n * Child content in the header section.\n */\n header?: ComponentChildren;\n\n /**\n * Child content in the main section.\n */\n main?: ComponentChildren;\n\n /**\n * The padding between the footer or bottom edge and the main content.\n * @default '4x'\n */\n paddingBlockEnd?: PaddingProps['paddingBlockEnd'];\n\n /**\n * The padding between the header or top edge and the main content.\n * @default '4x'\n */\n paddingBlockStart?: PaddingProps['paddingBlockStart'];\n\n /**\n * The padding between the right edge and the main content.\n * @default '4x'\n */\n paddingInlineEnd?: PaddingProps['paddingInlineEnd'];\n\n /**\n * The padding between the left edge and the main content.\n * @default '4x'\n */\n paddingInlineStart?: PaddingProps['paddingInlineStart'];\n\n /**\n * The aria role applied to the content container. For example, if the \"launcher\" element\n * includes aria-haspopup=\"dialog\", then the associated content should have role \"dialog\"\n * and an aria-label that describes it. If the launcher element has role \"combobox\", then\n * it controls an element with a role such as listbox or grid.\n */\n role?: HTMLAttributesSignalExcluded['role'];\n};\n\n/**\n * The SectionedContent component has slots for header, main, and footer content.\n * It is meant to be used in a floating or modal type container and includes\n * conditional support for focus trapping, so that you can tab between components\n * and sections while the container remains open.\n */\nexport const SectionedContent = ({\n 'aria-label': ariaLabel,\n contentRef: propRef,\n gap,\n footer,\n hasFocusTrap = false,\n header,\n main,\n paddingBlockEnd = '4x',\n paddingBlockStart = '4x',\n paddingInlineEnd = '4x',\n paddingInlineStart = '4x',\n role,\n testId\n}: Props) => {\n const testIdProps = useTestId(testId);\n\n const cRef = useRef<HTMLDivElement>(null);\n const contentRef = propRef ?? cRef;\n\n const handleKeyDown = useCallback((event: KeyboardEvent) => {\n if (event.code === KEYS.TAB) {\n event.stopPropagation();\n }\n }, []);\n\n const sections = (\n <Flex direction=\"column\" gap={gap}>\n {header}\n <View\n paddingBlockEnd={paddingBlockEnd}\n paddingBlockStart={paddingBlockStart}\n paddingInlineEnd={paddingInlineEnd}\n paddingInlineStart={paddingInlineStart}>\n {main}\n </View>\n {footer}\n </Flex>\n );\n\n // Use a FocusTrap around the content if hasFocusTrap is true.\n const childContent = hasFocusTrap ? (\n <FocusTrap restoreFocusRef={false}>{sections}</FocusTrap>\n ) : (\n { sections }\n );\n\n return (\n <div\n aria-label={ariaLabel}\n onKeyDown={hasFocusTrap ? handleKeyDown : undefined}\n ref={contentRef}\n role={role}\n {...testIdProps}>\n {childContent}\n </div>\n );\n};\n"],"names":["DEFAULT_PLACEMENT","ariaLabel","contentRef","propRef","gap","footer","hasFocusTrap","header","main","paddingBlockEnd","paddingBlockStart","paddingInlineEnd","paddingInlineStart","role","testId","testIdProps","useTestId","cRef","useRef","handleKeyDown","useCallback","event","code","KEYS","TAB","stopPropagation","sections","_jsxs","Flex","direction","children","_jsx","View","childContent","FocusTrap","restoreFocusRef","onKeyDown","undefined","ref","isOpen","onPosition","rest","placement","setPlacement","useState","prevIsOpen","setPrevIsOpen","handlePosition","positionData","Dropdown"],"mappings":"oOA8BA,MAAMA,EAAoB,kCCqEM,EAC9B,aAAcC,EACdC,WAAYC,EACZC,MACAC,SACAC,gBAAe,EACfC,SACAC,OACAC,kBAAkB,KAClBC,oBAAoB,KACpBC,mBAAmB,KACnBC,qBAAqB,KACrBC,OACAC,aAEA,MAAMC,EAAcC,YAAUF,GAExBG,EAAOC,SAAuB,MAC9BhB,EAAaC,GAAWc,EAExBE,EAAgBC,eAAaC,IAC7BA,EAAMC,OAASC,EAAIA,KAACC,KACtBH,EAAMI,iBACP,GACA,IAEGC,EACJC,OAACC,OAAI,CAACC,UAAU,SAASzB,IAAKA,EAAG0B,SAAA,CAC9BvB,EACDwB,EAAAA,IAACC,EAAAA,KACC,CAAAvB,gBAAiBA,EACjBC,kBAAmBA,EACnBC,iBAAkBA,EAClBC,mBAAoBA,WACnBJ,IAEFH,KAKC4B,EAAe3B,EACnByB,MAACG,EAAAA,UAAS,CAACC,iBAAiB,EAAQL,SAAAJ,KAElCA,YAGJ,OACEK,EAAAA,IAAA,MAAA,CAAA,aACc9B,EACZmC,UAAW9B,EAAea,OAAgBkB,EAC1CC,IAAKpC,EACLW,KAAMA,KACFE,EAAWe,SACdG,GAEH,8BDpH8B,EAAGH,WAAUS,SAAQC,gBAAeC,MACpE,MAAOC,EAAWC,GAAgBC,EAAQA,SAA6B5C,IAChE6C,EAAYC,GAAiBF,EAAQA,SAACL,GAEzCM,IAAeN,IACjBO,EAAcP,GAKTA,GACHI,EAAa3C,IAGjB,MAAM+C,EAAiB3B,eACpB4B,IAICL,EAAaK,EAAaN,WAG1BF,IAAaQ,EAAa,GAE5B,CAACR,EAAYG,IAGf,OACEZ,MAACkB,EAAQA,SAAA,CAACV,OAAQA,EAAQC,WAAYO,EAAgBL,UAAWA,KAAeD,EAC7EX,SAAAA,GAEH"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './useHover-7964884c', './StyledCard-420ef03c'], (function(e,t,r,s){"use strict";e.SelectionCard=({children:e,isSelected:i=!1,testId:n,...d})=>{const{hoverProps:o,isHover:c}=r.useHover();return t.jsx(s.StyledCard,{...o,display:"inlineFlex",isHover:c,isSelected:i,parentComponentVariant:"selectionCard",testId:n,...d,children:e})}}));
|
|
2
|
-
//# sourceMappingURL=SelectionCard-baeadf9f.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionCard-baeadf9f.js","sources":["../../src/UNSAFE_SelectionCard/SelectionCard.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentChildren } from 'preact';\n\nimport { StyledCard } from '#PRIVATE_StyledCard';\n\nimport { type ColorProps } from '#utils/UNSAFE_interpolations/colors';\nimport { type TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { type AriaProps } from '#utils/UNSAFE_interpolations/aria';\nimport { type DimensionProps } from '#utils/UNSAFE_interpolations/dimensions';\nimport { type PaddingProps } from '#utils/UNSAFE_interpolations/padding';\nimport { useHover } from '#hooks/UNSAFE_useHover';\n\ntype StyleProps = DimensionProps & PaddingProps & ColorProps & AriaProps;\n\ntype Props = StyleProps &\n TestIdProps & {\n children?: ComponentChildren;\n\n /**\n * This flag marks this card as selected within a collection.\n */\n isSelected?: boolean;\n };\n\n/**\n * A selection card is a container element that is a part of a collection of elements, and renders a group of related information in a styled rectangular area.\n * Width, height, and backgroundColor are set through props.\n */\nexport const SelectionCard = ({ children, isSelected = false, testId, ...rest }: Props) => {\n const { hoverProps, isHover } = useHover();\n return (\n <StyledCard\n {...hoverProps}\n display=\"inlineFlex\"\n isHover={isHover}\n isSelected={isSelected}\n parentComponentVariant=\"selectionCard\"\n testId={testId}\n {...rest}>\n {children}\n </StyledCard>\n );\n};\n"],"names":["children","isSelected","testId","rest","hoverProps","isHover","useHover","_jsx","jsx","StyledCard","display","parentComponentVariant"],"mappings":"sIAmC6B,EAAGA,WAAUC,cAAa,EAAOC,YAAWC,MACvE,MAAMC,WAAEA,EAAUC,QAAEA,GAAYC,EAAQA,WACxC,OACEC,EAAAC,IAACC,EAAUA,WAAA,IACLL,EACJM,QAAQ,aACRL,QAASA,EACTJ,WAAYA,EACZU,uBAAuB,gBACvBT,OAAQA,KACJC,EAAIH,SACPA,GAEH"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/hooks', './Flex-69dc7af4', './usePress-949a0d03', './UNSAFE_Selector/themes/SelectorStyles.css', './StyledCheckbox-b27eef0e', './mergeProps-bcfa6a92', './useActive-bb5dc069', './useFocus-4194fc59', './useTestId-d0c49456', './useTooltip-f7c1ad5c', './useHover-7964884c', './logger-0f873e29', './LayerHost-1b4d03f0', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-304eef18', './useTranslationBundle-652e08a6'], (function(e,s,t,o,l,a,r,c,i,n,d,u,p,h,b,y,f,v,S,T,g){"use strict";const A=e=>{"Enter"==e.key&&e.stopPropagation()};e.SelectorAll=function({"aria-label":e,"aria-labelledby":h,selected:b,onChange:y,showTooltip:f="disabled",testId:v}){const S=t.useRef(null),{isActive:T,activeProps:k}=i.useActive(),{isFocus:x,focusProps:P}=n.useFocus(),{pressProps:C}=l.usePress((e=>{y?.("none"==b||"partial"==b?{value:{all:!0,deletedKeys:new Set},target:e.target}:{value:{all:!1,keys:new Set},target:e.target})})),{isHover:F,hoverProps:m}=p.useHover(),j="partial"===b||"partial-all"===b?"partial":"all"===b?"checked":"unchecked",w=d.useTestId(v),H=g.useTranslationBundle("@oracle/oraclejet-preact"),U="none"===b||"partial"===b?H.selectorAll_selectAll():H.selectorAll_deselectAll(),{tooltipContent:_,tooltipProps:E}=u.useTooltip({text:U,isDisabled:"disabled"===f}),B=e||h?void 0:U;return s.jsx("div",{class:a.styles.container,...c.mergeProps({onClick:()=>{S.current?.focus()}},C,E),...w,children:s.jsx("div",{class:a.styles.base,...k,...m,children:s.jsxs(o.Flex,{align:"center",justify:"center",children:[s.jsx(r.StyledCheckbox,{ref:S,isHover:F,isChecked:j,isActive:T,isFocusRingShown:x,"aria-label":e||B,"aria-labelledby":h,onKeyDown:A,onKeyUp:A,...P}),_]})})})}}));
|
|
2
|
-
//# sourceMappingURL=SelectorAll-344e3366.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectorAll-344e3366.js","sources":["../../src/UNSAFE_SelectorAll/SelectorAll.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { useRef } from 'preact/hooks';\nimport { SelectionDetail } from '../UNSAFE_Collection';\nimport { Flex } from '../UNSAFE_Flex';\nimport { usePress } from '../hooks/UNSAFE_usePress';\nimport { styles } from '../UNSAFE_Selector/themes/SelectorStyles.css';\nimport { StyledCheckbox } from '../PRIVATE_StyledCheckbox';\nimport { mergeProps } from '../utils/UNSAFE_mergeProps';\nimport { useActive } from '../hooks/UNSAFE_useActive';\nimport { useFocus } from '../hooks/UNSAFE_useFocus';\nimport { useTestId, TestIdProps } from '../hooks/UNSAFE_useTestId';\nimport { useTooltip } from '../hooks/UNSAFE_useTooltip';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport type { BundleType } from '../resources/nls/bundle';\nimport { useHover } from '../hooks/UNSAFE_useHover/useHover';\n\n/**\n * Props for the SelectorAll Component\n */\nexport type Props<K> = {\n /**\n * The selected state of the select all selector\n */\n selected: 'none' | 'all' | 'partial' | 'partial-all';\n /**\n * Callback function to invoke when the selected keys has changed when\n * the checkbox is toggled.\n */\n onChange?: (detail: SelectionDetail<K>) => void;\n /**\n * aria-label for this selectorAll\n */\n 'aria-label'?: string;\n /**\n * One or more ids (separated by spaces) of elements that label the selected item. This will be used for the aria-labelledby of the DOM element.\n */\n 'aria-labelledby'?: string;\n /**\n * Specifies whether tooltip should be shown on the SelectorAll checkbox\n */\n showTooltip?: 'enabled' | 'disabled';\n};\n\n/**\n * The SelectorAll component renders checkboxes for select all case.\n */\nexport function SelectorAll<K>({\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledby,\n selected,\n onChange,\n showTooltip = 'disabled',\n testId\n}: Props<K> & TestIdProps) {\n const pressHandler = (event: Event) => {\n if (selected == 'none' || selected == 'partial') {\n onChange?.({ value: { all: true, deletedKeys: new Set() }, target: event.target });\n } else {\n onChange?.({ value: { all: false, keys: new Set() }, target: event.target });\n }\n };\n\n const inputRef = useRef<HTMLInputElement>(null);\n const { isActive, activeProps } = useActive();\n const { isFocus, focusProps } = useFocus();\n const { pressProps } = usePress(pressHandler);\n\n const { isHover, hoverProps } = useHover();\n const isChecked =\n selected === 'partial' || selected === 'partial-all'\n ? 'partial'\n : selected === 'all'\n ? 'checked'\n : 'unchecked';\n const testIdProps = useTestId(testId);\n\n const onClick = () => {\n // ensure the checkbox is focused after click\n inputRef.current?.focus();\n };\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n\n const tooltipLabel =\n selected === 'none' || selected === 'partial'\n ? translations.selectorAll_selectAll()\n : translations.selectorAll_deselectAll();\n\n const { tooltipContent, tooltipProps } = useTooltip({\n text: tooltipLabel,\n isDisabled: showTooltip === 'disabled' ? true : false\n });\n\n const ariaLabelText = !ariaLabel && !ariaLabelledby ? tooltipLabel : undefined;\n\n return (\n <div\n class={styles.container}\n {...mergeProps({ onClick }, pressProps, tooltipProps)}\n {...testIdProps}>\n <div class={styles.base} {...activeProps} {...hoverProps}>\n <Flex align=\"center\" justify=\"center\">\n <StyledCheckbox\n ref={inputRef}\n isHover={isHover}\n isChecked={isChecked}\n isActive={isActive}\n isFocusRingShown={isFocus}\n aria-label={ariaLabel ? ariaLabel : ariaLabelText}\n aria-labelledby={ariaLabelledby}\n onKeyDown={handleKeyboardEvent}\n onKeyUp={handleKeyboardEvent}\n {...focusProps}\n />\n {tooltipContent}\n </Flex>\n </div>\n </div>\n );\n}\n\nconst handleKeyboardEvent = (event: KeyboardEvent) => {\n if (event.key == 'Enter') {\n // prevent active styles applied to checkbox\n event.stopPropagation();\n }\n};\n"],"names":["handleKeyboardEvent","event","key","stopPropagation","ariaLabel","ariaLabelledby","selected","onChange","showTooltip","testId","inputRef","useRef","isActive","activeProps","useActive","isFocus","focusProps","useFocus","pressProps","usePress","value","all","deletedKeys","Set","target","keys","isHover","hoverProps","useHover","isChecked","testIdProps","useTestId","translations","useTranslationBundle","tooltipLabel","selectorAll_selectAll","selectorAll_deselectAll","tooltipContent","tooltipProps","useTooltip","text","isDisabled","ariaLabelText","undefined","_jsx","class","styles","container","mergeProps","onClick","current","focus","children","jsx","base","_jsxs","Flex","align","justify","StyledCheckbox","ref","isFocusRingShown","onKeyDown","onKeyUp"],"mappings":"oqBA+HA,MAAMA,EAAuBC,IACV,SAAbA,EAAMC,KAERD,EAAME,iBACP,gBA/EG,UACJ,aAAcC,EACd,kBAAmBC,EAAcC,SACjCA,EAAQC,SACRA,EAAQC,YACRA,EAAc,WAAUC,OACxBA,IAEA,MAQMC,EAAWC,SAAyB,OACpCC,SAAEA,EAAQC,YAAEA,GAAgBC,EAASA,aACrCC,QAAEA,EAAOC,WAAEA,GAAeC,EAAQA,YAClCC,WAAEA,GAAeC,EAAQA,UAXTlB,IAElBM,IADc,QAAZD,GAAkC,WAAZA,EACb,CAAEc,MAAO,CAAEC,KAAK,EAAMC,YAAa,IAAIC,KAASC,OAAQvB,EAAMuB,QAE9D,CAAEJ,MAAO,CAAEC,KAAK,EAAOI,KAAM,IAAIF,KAASC,OAAQvB,EAAMuB,QACpE,KAQGE,QAAEA,EAAOC,WAAEA,GAAeC,EAAQA,WAClCC,EACS,YAAbvB,GAAuC,gBAAbA,EACtB,UACa,QAAbA,EACA,UACA,YACAwB,EAAcC,YAAUtB,GAOxBuB,EAAeC,uBAAiC,4BAEhDC,EACS,SAAb5B,GAAoC,YAAbA,EACnB0B,EAAaG,wBACbH,EAAaI,2BAEbC,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDC,KAAMN,EACNO,WAA4B,aAAhBjC,IAGRkC,EAAiBtC,GAAcC,OAAgCsC,EAAfT,EAEtD,OACEU,aACEC,MAAOC,EAAAA,OAAOC,aACVC,EAAUA,WAAC,CAAEC,QAtBL,KAEdvC,EAASwC,SAASC,OAAO,GAoBKjC,EAAYoB,MACpCR,EACJsB,SAAAR,EAAAS,IAAA,MAAA,CAAKR,MAAOC,EAAAA,OAAOQ,QAAUzC,KAAiBc,WAC5C4B,EAAAA,KAACC,EAAAA,MAAKC,MAAM,SAASC,QAAQ,SAAQN,SAAA,CACnCR,EAACS,IAAAM,EAAcA,eACb,CAAAC,IAAKlD,EACLgB,QAASA,EACTG,UAAWA,EACXjB,SAAUA,EACViD,iBAAkB9C,eACNX,GAAwBsC,EACnB,kBAAArC,EACjByD,UAAW9D,EACX+D,QAAS/D,KACLgB,IAELqB,QAKX"}
|
package/amd/Sheet-f4665056.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/hooks', './Modal-991f1310', './WindowOverlay-00523782', './tabbableUtils-428c264e', './UNSAFE_Sheet/themes/SheetStyles.css', './refUtils-d354a169', './useAnimationStatus-86746674', './animationUtils-716a9aa6'], (function(e,t,n,s,o,r,i,a,c,l){"use strict";function u(e,{threshold:t=10,maximumTime:s=300,tolerance:o=50,isDisabled:r=!1}={threshold:10,maximumTime:300,tolerance:50,isDisabled:!1}){const i=n.useRef({pointerDownId:0,startTime:null,prevpageX:0,prevpageY:0,elementScrollTop:0}),a=n.useCallback((()=>{i.current={pointerDownId:null,startTime:0,prevpageX:0,prevpageY:0,elementScrollTop:0}}),[]),c=n.useCallback((e=>{const t=e.changedTouches[0];i.current.pointerDownId?a():i.current={pointerDownId:t.identifier,startTime:e.timeStamp,prevpageX:t.pageX,prevpageY:t.pageY,elementScrollTop:e.currentTarget.scrollTop}}),[a]),l=n.useCallback((n=>{const r=n.changedTouches[0];r.identifier===i.current.pointerDownId&&i.current.startTime&&n.timeStamp-i.current.startTime<s&&r.pageY-i.current.prevpageY>t&&Math.abs(r.pageX-i.current.prevpageX)<=o&&0===i.current.elementScrollTop&&e?.({direction:"down"}),a()}),[t,e,a,s,o]);return{swipeProps:r?{}:{onTouchStart:c,onTouchEnd:l,ontouchcancel:a}}}const p={opening:{...l.SLIDE_UP_XLARGE,options:{duration:l.DURATION_LARGE}},closing:{...l.SLIDE_DOWN_XLARGE,options:{duration:l.DURATION_LARGE}}},d=96;e.Sheet=({children:e,onClose:l,isOpen:m=!1,initialFocus:h="none"})=>{const f=n.useRef(null);n.useEffect((()=>{if(m&&"firstFocusable"===h){const e=f.current;e&&r.focusWithin(e)}}),[m,h]);const g=n.useCallback((()=>{l?.({reason:"pointerDismissed"})}),[l]),{swipeProps:S}=u(g),T=n.useCallback((e=>{if(!e.defaultPrevented)switch(e.code){case"Tab":case"Escape":l?.({reason:"keyboardDismissed"})}}),[l]),{setAnimationElementRef:b,status:D}=c.useAnimationStatus({isOpen:m,isAnimatedOnMount:!1,animationStates:p});n.useEffect((()=>{if("opening"===D&&"firstFocusable"===h){const e=f.current;e&&r.focusWithin(e)}}),[D,h]);const v=n.useMemo((()=>a.mergeRefs(b,f)),[b]),w="unmounted"!==D;return t.jsx(t.Fragment,{children:w?t.jsx(s.Modal,{isOpen:w,onBackdropClick:g,children:t.jsx(o.WindowOverlay,{placement:"bottom",children:t.jsx("div",{...S,ref:v,class:i.sheetMenuStyles.sheetMenuContainerWrapper,style:{maxHeight:`calc(100vh - ${d}px)`},onKeyDown:T,children:e})})}):null})},e.useSheetSwipe=u}));
|
|
2
|
-
//# sourceMappingURL=Sheet-f4665056.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sheet-f4665056.js","sources":["../../src/UNSAFE_Sheet/useSheetSwipe.ts","../../src/UNSAFE_Sheet/Sheet.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { useRef, useCallback } from 'preact/hooks';\n\n/*\n threshold: Minimal threshold required before recognizing\n tolerance: A tolerance value which allows the user to move their finger about a length measured in pixels.\n This allows the swipe gesture to be triggered more easily since a User might not move their finger\n in a straight line.\n*/\ntype SwipeOptions = {\n threshold?: number;\n maximumTime?: number;\n tolerance?: number;\n isDisabled?: boolean;\n};\n\ntype SwipeInfo = {\n direction: 'down';\n};\n\ntype SwipeState = {\n pointerDownId: number | null;\n startTime: number | null;\n prevpageX: number;\n prevpageY: number;\n elementScrollTop: number;\n};\n/*This \"private\" hook will live until we end up stating a final decision on useSwipe hook.\nFor that hook to work, element that use it has to set touch-action:none;, since pointer events\nare canceled once a touch action is going to be handled by the browser. This works for most\nof the components that don't scroll. But if the component scroll, there is a need for the browser to \nhandle scroll which is imposible with a hook just using pointer events.\n\nUpdate 11/6/23:\nNishad's team is going to confirm if other comps that will use useSwipe need mouse interactions. If they need it,\nwe can either have a flag to use pointer or touch events or two separated hooks. If they don't need mouse interactions,\nwe could start using useSwipe with touch events instead.\n*/\nexport function useSheetSwipe(\n onSwipe: (e: SwipeInfo) => void,\n { threshold = 10, maximumTime = 300, tolerance = 50, isDisabled = false }: SwipeOptions = {\n threshold: 10,\n maximumTime: 300,\n tolerance: 50,\n isDisabled: false\n }\n): { swipeProps: Record<string, any> } {\n const ref = useRef<SwipeState>({\n pointerDownId: 0,\n startTime: null,\n prevpageX: 0,\n prevpageY: 0,\n elementScrollTop: 0\n });\n\n const clearSwipe = useCallback(() => {\n ref.current = {\n pointerDownId: null,\n startTime: 0,\n prevpageX: 0,\n prevpageY: 0,\n elementScrollTop: 0\n };\n }, []);\n\n const onTouchStart = useCallback(\n (e: TouchEvent) => {\n const touchobj = e.changedTouches[0];\n if (!ref.current.pointerDownId) {\n ref.current = {\n pointerDownId: touchobj.identifier,\n startTime: e.timeStamp,\n prevpageX: touchobj.pageX,\n prevpageY: touchobj.pageY,\n elementScrollTop: (e.currentTarget as HTMLElement).scrollTop\n };\n } else {\n clearSwipe();\n }\n },\n [clearSwipe]\n );\n\n const onTouchEnd = useCallback(\n (ev: TouchEvent) => {\n const touchobj = ev.changedTouches[0];\n if (touchobj.identifier === ref.current.pointerDownId) {\n if (ref.current.startTime && ev.timeStamp - ref.current.startTime < maximumTime) {\n if (\n touchobj.pageY - ref.current.prevpageY > threshold &&\n Math.abs(touchobj.pageX - ref.current.prevpageX) <= tolerance &&\n ref.current.elementScrollTop === 0\n ) {\n onSwipe?.({ direction: 'down' });\n }\n }\n }\n // state would be reset to its original state whether swipe is completed or cancelled\n clearSwipe();\n },\n [threshold, onSwipe, clearSwipe, maximumTime, tolerance]\n );\n\n const swipeProps = isDisabled\n ? {}\n : {\n /** event handlers to spread on the target element. */\n onTouchStart,\n onTouchEnd,\n ontouchcancel: clearSwipe\n };\n\n return {\n swipeProps\n };\n}\n","import { JSX } from 'preact';\nimport { useCallback, useEffect, useMemo, useRef } from 'preact/hooks';\n\nimport { Modal } from '../UNSAFE_Modal';\nimport { WindowOverlay } from '../UNSAFE_WindowOverlay';\n//Temporal import.\nimport { useSheetSwipe } from './useSheetSwipe';\nimport { focusWithin } from '../utils/PRIVATE_tabbableUtils';\n\nimport { sheetMenuStyles } from './themes/SheetStyles.css';\nimport { mergeRefs } from '#utils/PRIVATE_refUtils';\nimport { AnimationStates, useAnimationStatus } from '#hooks/PRIVATE_useAnimationStatus';\nimport { SLIDE_DOWN_XLARGE, SLIDE_UP_XLARGE, DURATION_LARGE } from '#utils/PRIVATE_animationUtils';\n\n/*\n pointerDismissed: Swipedown and tapScrim\n keyboardDismissed: \"Escape\" | \"Tab\"\n*/\nexport type CloseDetail = { reason: 'pointerDismissed' | 'keyboardDismissed' };\n\ntype IntrinsicProps = Pick<JSX.HTMLAttributes<HTMLDivElement>, 'children'>;\n\ntype SheetProps = IntrinsicProps & {\n onClose?: (detail: CloseDetail) => void;\n isOpen?: boolean;\n initialFocus?: 'none' | 'firstFocusable';\n};\n\nconst animationStates: AnimationStates = {\n opening: {\n ...SLIDE_UP_XLARGE,\n options: {\n duration: DURATION_LARGE\n }\n },\n closing: {\n ...SLIDE_DOWN_XLARGE,\n options: {\n duration: DURATION_LARGE\n }\n }\n};\n\nexport const Sheet = ({ children, onClose, isOpen = false, initialFocus = 'none' }: SheetProps) => {\n const sheetRef = useRef<HTMLDivElement>(null);\n\n // Initial focus going to be set after animation once opening animation is added\n useEffect(() => {\n if (isOpen && initialFocus === 'firstFocusable') {\n const sheetElement = sheetRef.current;\n if (sheetElement) {\n focusWithin(sheetElement);\n }\n }\n }, [isOpen, initialFocus]);\n const handlePointerDismissed = useCallback(() => {\n onClose?.({ reason: 'pointerDismissed' });\n }, [onClose]);\n\n // TODO: Use useSwipe when it works on components that could scroll. Important to notice all components that have a\n // sheet will use this comp and this comp is going to use useSwipe. So comps that have their own impl (menu right now),\n // will stop having its own implementation\n const { swipeProps } = useSheetSwipe(handlePointerDismissed);\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.defaultPrevented) {\n return;\n }\n switch (event.code) {\n case 'Tab':\n case 'Escape':\n onClose?.({ reason: 'keyboardDismissed' });\n default:\n break;\n }\n },\n [onClose]\n );\n const { setAnimationElementRef, status } = useAnimationStatus<HTMLElement>({\n isOpen,\n isAnimatedOnMount: false,\n animationStates\n });\n\n useEffect(() => {\n if (status === 'opening') {\n if (initialFocus === 'firstFocusable') {\n const dropdownElement = sheetRef.current;\n if (dropdownElement) {\n focusWithin(dropdownElement);\n }\n }\n }\n }, [status, initialFocus]);\n\n const stableRef = useMemo(\n () => mergeRefs(setAnimationElementRef, sheetRef),\n [setAnimationElementRef]\n );\n\n const isMounted = status !== 'unmounted';\n\n return (\n <>\n {isMounted ? (\n <Modal isOpen={isMounted} onBackdropClick={handlePointerDismissed}>\n <WindowOverlay placement=\"bottom\">\n <div\n {...swipeProps}\n ref={stableRef}\n class={sheetMenuStyles.sheetMenuContainerWrapper}\n style={{ maxHeight: `calc(100vh - ${TOP_OFFSET}px)` }}\n onKeyDown={handleKeyDown}>\n {children}\n </div>\n </WindowOverlay>\n </Modal>\n ) : null}\n </>\n );\n};\n\nconst TOP_OFFSET = 96;\n"],"names":["useSheetSwipe","onSwipe","threshold","maximumTime","tolerance","isDisabled","ref","useRef","pointerDownId","startTime","prevpageX","prevpageY","elementScrollTop","clearSwipe","useCallback","current","onTouchStart","e","touchobj","changedTouches","identifier","timeStamp","pageX","pageY","currentTarget","scrollTop","onTouchEnd","ev","Math","abs","direction","swipeProps","ontouchcancel","animationStates","opening","SLIDE_UP_XLARGE","options","duration","DURATION_LARGE","closing","SLIDE_DOWN_XLARGE","TOP_OFFSET","children","onClose","isOpen","initialFocus","sheetRef","useEffect","sheetElement","focusWithin","handlePointerDismissed","reason","handleKeyDown","event","defaultPrevented","code","setAnimationElementRef","status","useAnimationStatus","isAnimatedOnMount","dropdownElement","stableRef","useMemo","mergeRefs","isMounted","_jsx","jsx","_Fragment","Modal","onBackdropClick","WindowOverlay","placement","class","sheetMenuStyles","sheetMenuContainerWrapper","style","maxHeight","onKeyDown"],"mappings":"sSA6CM,SAAUA,EACdC,GACAC,UAAEA,EAAY,GAAEC,YAAEA,EAAc,IAAGC,UAAEA,EAAY,GAAEC,WAAEA,GAAa,GAAwB,CACxFH,UAAW,GACXC,YAAa,IACbC,UAAW,GACXC,YAAY,IAGd,MAAMC,EAAMC,EAAAA,OAAmB,CAC7BC,cAAe,EACfC,UAAW,KACXC,UAAW,EACXC,UAAW,EACXC,iBAAkB,IAGdC,EAAaC,EAAAA,aAAY,KAC7BR,EAAIS,QAAU,CACZP,cAAe,KACfC,UAAW,EACXC,UAAW,EACXC,UAAW,EACXC,iBAAkB,EACnB,GACA,IAEGI,EAAeF,eAClBG,IACC,MAAMC,EAAWD,EAAEE,eAAe,GAC7Bb,EAAIS,QAAQP,cASfK,IARAP,EAAIS,QAAU,CACZP,cAAeU,EAASE,WACxBX,UAAWQ,EAAEI,UACbX,UAAWQ,EAASI,MACpBX,UAAWO,EAASK,MACpBX,iBAAmBK,EAAEO,cAA8BC,UAItD,GAEH,CAACZ,IAGGa,EAAaZ,eAChBa,IACC,MAAMT,EAAWS,EAAGR,eAAe,GAC/BD,EAASE,aAAed,EAAIS,QAAQP,eAClCF,EAAIS,QAAQN,WAAakB,EAAGN,UAAYf,EAAIS,QAAQN,UAAYN,GAEhEe,EAASK,MAAQjB,EAAIS,QAAQJ,UAAYT,GACzC0B,KAAKC,IAAIX,EAASI,MAAQhB,EAAIS,QAAQL,YAAcN,GACnB,IAAjCE,EAAIS,QAAQH,kBAEZX,IAAU,CAAE6B,UAAW,SAK7BjB,GAAY,GAEd,CAACX,EAAWD,EAASY,EAAYV,EAAaC,IAYhD,MAAO,CACL2B,WAViB1B,EACf,CAAE,EACF,CAEEW,eACAU,aACAM,cAAenB,GAMvB,CC9FA,MAAMoB,EAAmC,CACvCC,QAAS,IACJC,EAAeA,gBAClBC,QAAS,CACPC,SAAUC,EAAcA,iBAG5BC,QAAS,IACJC,EAAiBA,kBACpBJ,QAAS,CACPC,SAAUC,EAAcA,kBAqFxBG,EAAa,WAhFE,EAAGC,WAAUC,UAASC,UAAS,EAAOC,eAAe,WACxE,MAAMC,EAAWvC,SAAuB,MAGxCwC,EAAAA,WAAU,KACR,GAAIH,GAA2B,mBAAjBC,EAAmC,CAC/C,MAAMG,EAAeF,EAAS/B,QAC1BiC,GACFC,EAAWA,YAACD,EAEf,IACA,CAACJ,EAAQC,IACZ,MAAMK,EAAyBpC,EAAAA,aAAY,KACzC6B,IAAU,CAAEQ,OAAQ,oBAAqB,GACxC,CAACR,KAKEZ,WAAEA,GAAe/B,EAAckD,GAE/BE,EAAgBtC,eACnBuC,IACC,IAAIA,EAAMC,iBAGV,OAAQD,EAAME,MACZ,IAAK,MACL,IAAK,SACHZ,IAAU,CAAEQ,OAAQ,sBAGvB,GAEH,CAACR,KAEGa,uBAAEA,EAAsBC,OAAEA,GAAWC,qBAAgC,CACzEd,SACAe,mBAAmB,EACnB1B,oBAGFc,EAAAA,WAAU,KACR,GAAe,YAAXU,GACmB,mBAAjBZ,EAAmC,CACrC,MAAMe,EAAkBd,EAAS/B,QAC7B6C,GACFX,EAAWA,YAACW,EAEf,CACF,GACA,CAACH,EAAQZ,IAEZ,MAAMgB,EAAYC,EAAOA,SACvB,IAAMC,EAASA,UAACP,EAAwBV,IACxC,CAACU,IAGGQ,EAAuB,cAAXP,EAElB,OACEQ,EAAAC,IAAAC,WAAA,CAAAzB,SACGsB,EACCC,EAAAA,IAACG,EAAKA,MAAA,CAACxB,OAAQoB,EAAWK,gBAAiBnB,EAAsBR,SAC/DuB,MAACK,EAAAA,cAAc,CAAAC,UAAU,SACvB7B,SAAAuB,MAAA,MAAA,IACMlC,EACJzB,IAAKuD,EACLW,MAAOC,kBAAgBC,0BACvBC,MAAO,CAAEC,UAAW,gBAAgBnC,QACpCoC,UAAWzB,EAAaV,SACvBA,QAIL,MAEN"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/compat', './dimensions-fda85d6b', './padding-08a2b20e', './colors-879e20e6', './aria-232c9168', './mergeInterpolations-9ede4cf7', './PRIVATE_StyledCard/themes/StyledCardStyles.css', './classNames-08d99695', './useTestId-d0c49456', './_curry2-86c52b86'], (function(e,n,o,t,a,s,i,r,l,c,d,u){"use strict";var b=u._curry2((function(e,n){for(var o={},t=0;t<e.length;)e[t]in n&&(o[e[t]]=n[e[t]]),t+=1;return o}));const p=["onBlur","onClick","onContextMenu","onFocus","onKeyDown","onKeyUp","onMouseDown","onMouseEnter","onMouseLeave","onMouseUp","onPointerCancel","onPointerDown","onPointerOut","onPointerUp","onTouchCancel","onTouchEnd","onTouchStart"],v=[...Object.values(t.dimensionInterpolations),...Object.values(s.colorInterpolations),...Object.values(a.paddingInterpolations),...Object.values(i.ariaInterpolations)],y=r.mergeInterpolations(v),h=o.forwardRef((({"aria-describedby":e,children:o,cursor:t,display:a="inlineBlock",isActive:s,isDisabled:i,isFocusWithin:r,isHover:u,isSelected:v,parentComponentVariant:h="default",role:m,styleVariant:f,tabIndex:I,testId:C,...S},g)=>{const j=d.useTestId(C),x=b(p,S),{class:T,ariaLabel:V,ariaLabelledBy:D,...M}=y(S),O=l.multiVariantStyles({active:s?"isActive":void 0,cursor:t,display:a,disabled:i?"isDisabled":void 0,focusRing:void 0!==I&&I>=0?"hasFocusRing":void 0,focusWithin:r?"hasFocusWithin":void 0,hover:u?"isHover":"notHover",parentComponentVariant:h,selected:v?"isSelected":"notSelected",styleVariant:f}),P=c.classNames([O,T]);return n.jsx("div",{...x,"aria-label":V,"aria-labelledby":D,"aria-describedby":e,className:P,tabIndex:I,ref:g,role:m,style:M,...j,children:o})}));e.StyledCard=h}));
|
|
2
|
-
//# sourceMappingURL=StyledCard-420ef03c.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StyledCard-420ef03c.js","sources":["../../../../node_modules/ramda/es/pick.js","../../src/PRIVATE_StyledCard/StyledCard.tsx"],"sourcesContent":["import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns a partial copy of an object containing only the keys specified. If\n * the key does not exist, the property is ignored.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig [k] -> {k: v} -> {k: v}\n * @param {Array} names an array of String property names to copy onto a new object\n * @param {Object} obj The object to copy from\n * @return {Object} A new object with only properties from `names` on it.\n * @see R.omit, R.props\n * @example\n *\n * R.pick(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1, d: 4}\n * R.pick(['a', 'e', 'f'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1}\n */\n\nvar pick =\n/*#__PURE__*/\n_curry2(function pick(names, obj) {\n var result = {};\n var idx = 0;\n\n while (idx < names.length) {\n if (names[idx] in obj) {\n result[names[idx]] = obj[names[idx]];\n }\n\n idx += 1;\n }\n\n return result;\n});\n\nexport default pick;","/**\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, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { pick } from 'ramda';\n\nimport { dimensionInterpolations, DimensionProps } from '#utils/UNSAFE_interpolations/dimensions';\nimport { paddingInterpolations, PaddingProps } from '#utils/UNSAFE_interpolations/padding';\nimport { colorInterpolations, ColorProps } from '#utils/UNSAFE_interpolations/colors';\nimport { AriaProps, ariaInterpolations } from '#utils/UNSAFE_interpolations/aria';\nimport { mergeInterpolations } from '#utils/UNSAFE_mergeInterpolations';\nimport { multiVariantStyles } from './themes/StyledCardStyles.css';\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { TestIdProps, useTestId } from '#hooks/UNSAFE_useTestId';\nimport { Role } from '#utils/UNSAFE_roles';\nimport {\n AriaAttributesSignalExcluded,\n HTMLAttributesSignalExcluded\n} from '#utils/UNSAFE_attributeUtils';\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLElement>, EventHandlers>;\n\ntype EventHandlers = (typeof eventHandlers)[number];\n\ntype StyleProps = DimensionProps & PaddingProps & ColorProps & AriaProps;\ntype Props = StyleProps &\n IntrinsicProps &\n TestIdProps & {\n children?: ComponentChildren;\n /**\n * Specifies if the card uses the pointer cursor.\n */\n cursor?: 'pointer' | 'arrow';\n /**\n * Specifies the card element display type.\n */\n display?: 'inlineBlock' | 'inlineFlex';\n /**\n * Specifies if the card is in an active state.\n */\n isActive?: boolean;\n /**\n * Specifies if the card is in a disabled state.\n */\n isDisabled?: boolean;\n /**\n * Specifies if the card is in a hover state.\n */\n isHover?: boolean;\n /**\n * Specifies if the card as selected within a collection.\n */\n isSelected?: boolean;\n /**\n * Specifies the parent component variant\n */\n parentComponentVariant?: (typeof parentComponentVariants)[number];\n /**\n * Specifies aria role for the card element.\n */\n role?: Role;\n /**\n * Specifies the chroming of the card element\n */\n styleVariant?: 'danger';\n } & (\n | {\n /**\n * Specifies if the card has a focused input within.\n */\n isFocusWithin?: boolean;\n tabIndex?: never;\n }\n | {\n /**\n * Specifies the tab index of the card element.\n */\n tabIndex?: number;\n isFocusWithin?: never;\n }\n ) &\n Pick<AriaAttributesSignalExcluded, 'aria-describedby'>;\n\nconst parentComponentVariants = [\n 'default',\n 'actionCard',\n 'selectionCard',\n 'richSelectionItemCard'\n] as const;\n\nconst eventHandlers = [\n 'onBlur',\n 'onClick',\n 'onContextMenu',\n 'onFocus',\n 'onKeyDown',\n 'onKeyUp',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseUp',\n 'onPointerCancel',\n 'onPointerDown',\n 'onPointerOut',\n 'onPointerUp',\n 'onTouchCancel',\n 'onTouchEnd',\n 'onTouchStart'\n] as const;\n\nconst interpolations = [\n ...Object.values(dimensionInterpolations),\n ...Object.values(colorInterpolations),\n ...Object.values(paddingInterpolations),\n ...Object.values(ariaInterpolations)\n];\n\nconst mergedInterpolations = mergeInterpolations<Props>(interpolations);\n\n/**\n * A StyledCard is a simple container that renders a group of related information in a styled rectangular area.\n * Width, height, padding, and background color are set through props.\n * This component is used by Card, SelectionCard, ActionCard, and RichSelectionItem.\n */\nconst StyledCard = forwardRef(\n (\n {\n ['aria-describedby']: ariaDescribedBy,\n children,\n cursor,\n display = 'inlineBlock',\n isActive,\n isDisabled,\n isFocusWithin,\n isHover,\n isSelected,\n parentComponentVariant = 'default',\n role,\n styleVariant,\n tabIndex,\n testId,\n ...rest\n }: Props,\n ref: Ref<HTMLDivElement>\n ) => {\n const testIdProps = useTestId(testId);\n\n // we want to pick all the event handlers only to spread over the div element\n const eventHandlersProps = pick(eventHandlers, rest);\n\n const {\n class: mergedClasses,\n ariaLabel,\n ariaLabelledBy,\n ...mergedStyles\n } = mergedInterpolations(rest);\n\n const variantClasses = multiVariantStyles({\n active: isActive ? 'isActive' : undefined,\n cursor,\n display,\n disabled: isDisabled ? 'isDisabled' : undefined,\n focusRing: tabIndex !== undefined && tabIndex >= 0 ? 'hasFocusRing' : undefined,\n focusWithin: isFocusWithin ? 'hasFocusWithin' : undefined,\n hover: isHover ? 'isHover' : 'notHover',\n parentComponentVariant,\n selected: isSelected ? 'isSelected' : 'notSelected',\n styleVariant\n });\n\n const classes = classNames([variantClasses, mergedClasses]);\n\n return (\n <div\n {...eventHandlersProps}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n className={classes}\n tabIndex={tabIndex}\n ref={ref}\n role={role}\n style={mergedStyles}\n {...testIdProps}>\n {children}\n </div>\n );\n }\n);\n\nexport { StyledCard, parentComponentVariants };\n"],"names":["pick$1","_curry2","names","obj","result","idx","length","eventHandlers","interpolations","Object","values","dimensionInterpolations","colorInterpolations","paddingInterpolations","ariaInterpolations","mergedInterpolations","mergeInterpolations","StyledCard","forwardRef","ariaDescribedBy","children","cursor","display","isActive","isDisabled","isFocusWithin","isHover","isSelected","parentComponentVariant","role","styleVariant","tabIndex","testId","rest","ref","testIdProps","useTestId","eventHandlersProps","pick","class","mergedClasses","ariaLabel","ariaLabelledBy","mergedStyles","variantClasses","multiVariantStyles","active","undefined","disabled","focusRing","focusWithin","hover","selected","classes","classNames","_jsx","className","style"],"mappings":"mVAoBA,IAiBAA,EAfAC,EAAAA,SAAQ,SAAcC,EAAOC,GAI3B,IAHA,IAAIC,EAAS,CAAA,EACTC,EAAM,EAEHA,EAAMH,EAAMI,QACbJ,EAAMG,KAAQF,IAChBC,EAAOF,EAAMG,IAAQF,EAAID,EAAMG,KAGjCA,GAAO,EAGT,OAAOD,CACT,IC4DA,MAAMG,EAAgB,CACpB,SACA,UACA,gBACA,UACA,YACA,UACA,cACA,eACA,eACA,YACA,kBACA,gBACA,eACA,cACA,gBACA,aACA,gBAGIC,EAAiB,IAClBC,OAAOC,OAAOC,8BACdF,OAAOC,OAAOE,0BACdH,OAAOC,OAAOG,4BACdJ,OAAOC,OAAOI,uBAGbC,EAAuBC,EAAAA,oBAA2BR,GAOlDS,EAAaC,EAAUA,YAC3B,EAEI,mBAAsBC,EACtBC,WACAC,SACAC,UAAU,cACVC,WACAC,aACAC,gBACAC,UACAC,aACAC,yBAAyB,UACzBC,OACAC,eACAC,WACAC,YACGC,GAELC,KAEA,MAAMC,EAAcC,YAAUJ,GAGxBK,EAAqBC,EAAK/B,EAAe0B,IAG7CM,MAAOC,EAAaC,UACpBA,EAASC,eACTA,KACGC,GACD5B,EAAqBkB,GAEnBW,EAAiBC,EAAAA,mBAAmB,CACxCC,OAAQvB,EAAW,gBAAawB,EAChC1B,SACAC,UACA0B,SAAUxB,EAAa,kBAAeuB,EACtCE,eAAwBF,IAAbhB,GAA0BA,GAAY,EAAI,oBAAiBgB,EACtEG,YAAazB,EAAgB,sBAAmBsB,EAChDI,MAAOzB,EAAU,UAAY,WAC7BE,yBACAwB,SAAUzB,EAAa,aAAe,cACtCG,iBAGIuB,EAAUC,EAAUA,WAAC,CAACV,EAAgBJ,IAE5C,OACEe,MAAA,MAAA,IACMlB,EAAkB,aACVI,EACK,kBAAAC,EACC,mBAAAvB,EAClBqC,UAAWH,EACXtB,SAAUA,EACVG,IAAKA,EACLL,KAAMA,EACN4B,MAAOd,KACHR,EAAWf,SACdA,GAEH"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './Flex-69dc7af4', 'css!./LabelValueLayoutStyles.styles.css'], (function(e,l,a,t){"use strict";e.StyledLabelValueLayout=({flexAlign:e,labelStyleClasses:t,labelStyles:s,labelInnerClasses:r,label:o,valueStyles:y,children:_})=>l.jsxs(a.Flex,{wrap:"wrap",align:e,children:[l.jsx("div",{class:t,style:s,children:l.jsx("div",{class:r,children:o})}),l.jsx("div",{class:"LabelValueLayoutStyles_valueSlotStyles__z3rxc5b",style:y,children:_})]}),e.labelInnerStyles={base:"LabelValueLayoutStyles_labelInnerStyles_base__z3rxc55",start:"LabelValueLayoutStyles_labelInnerStyles_start__z3rxc56",startNotPureReadonly:"LabelValueLayoutStyles_labelInnerStyles_startNotPureReadonly__z3rxc57",startWithoutTopFormComponentWrapperUA:"LabelValueLayoutStyles_labelInnerStyles_startWithoutTopFormComponentWrapperUA__z3rxc58",insideFormComponentWrapper:"LabelValueLayoutStyles_labelInnerStyles_insideFormComponentWrapper__z3rxc59",noWrap:"LabelValueLayoutStyles_labelInnerStyles_noWrap__z3rxc5a"},e.labelSlotStyles={base:"LabelValueLayoutStyles_labelSlotStyles_base__z3rxc50",start:"LabelValueLayoutStyles_labelSlotStyles_start__z3rxc51",top:"LabelValueLayoutStyles_labelSlotStyles_top__z3rxc52",topAndTopUA:"LabelValueLayoutStyles_labelSlotStyles_topAndTopUA__z3rxc53",topPureReadonly:"LabelValueLayoutStyles_labelSlotStyles_topPureReadonly__z3rxc54"}}));
|
|
2
|
-
//# sourceMappingURL=StyledLabelValueLayout-16380e6b.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StyledLabelValueLayout-16380e6b.js","sources":["../../src/UNSAFE_LabelValueLayout/StyledLabelValueLayout.tsx"],"sourcesContent":["import { Flex } from '#UNSAFE_Flex';\nimport { ComponentChildren, JSX } from 'preact';\nimport { valueSlotStyles } from './LabelValueLayoutStyles.css';\n\ntype Props = {\n flexAlign: 'stretch' | 'start';\n labelStyleClasses?: string;\n labelStyles?: JSX.CSSProperties;\n labelInnerClasses?: string;\n label: ComponentChildren;\n valueStyles?: JSX.CSSProperties;\n children?: ComponentChildren;\n};\n\n/**\n * StyledLabelValueLayout is a styled layout component for displaying a label and its corresponding value.\n */\nexport const StyledLabelValueLayout = ({\n flexAlign,\n labelStyleClasses,\n labelStyles,\n labelInnerClasses,\n label,\n valueStyles,\n children\n}: Props) => {\n return (\n <Flex wrap=\"wrap\" align={flexAlign}>\n <div class={labelStyleClasses} style={labelStyles}>\n <div class={labelInnerClasses}>{label}</div>\n </div>\n <div class={valueSlotStyles} style={valueStyles}>\n {children}\n </div>\n </Flex>\n );\n};\n"],"names":["flexAlign","labelStyleClasses","labelStyles","labelInnerClasses","label","valueStyles","children","_jsxs","Flex","wrap","align","_jsx","class","style"],"mappings":"yJAiBsC,EACpCA,YACAC,oBACAC,cACAC,oBACAC,QACAC,cACAC,cAGEC,EAAAA,KAACC,EAAAA,MAAKC,KAAK,OAAOC,MAAOV,EAASM,SAAA,CAChCK,EAAAA,WAAKC,MAAOX,EAAmBY,MAAOX,EAAWI,SAC/CK,aAAKC,MAAOT,EAAoBG,SAAAF,MAElCO,EAAAA,WAAKC,wDAAwBC,MAAOR,EAAWC,SAC5CA"}
|
package/amd/TabBar-8a0cbff2.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/hooks', './LayerHost-1b4d03f0', 'preact/compat', './UNSAFE_Text/themes/TextStyles.css', './Flex-69dc7af4', './useTabBarContext-15a23bb6', './flexitem-5db48325', './dimensions-fda85d6b', './boxalignment-50db1e3a', './logger-0f873e29', 'css!./TabBarItemStyles.styles.css', 'module', './UNSAFE_TabBarCommon/themes/redwood/TabBarItemVariants.css', './ConveyorBeltContext-d8653090', './VisBusyStateContext-63467849', 'preact', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-304eef18', 'css!./IconStyle.styles.css', './Floating-28ad0903', 'css!./LayerStyles.styles.css', './keyboardUtils-71bc5d84', './tabbableUtils-428c264e', './CollectionInteractionContext-0b4ed98b', 'css!./dropdownStyles.styles.css', './Sheet-f4665056', 'css!./OverflowTabBarItemStyles.styles.css', './TabBarLayout-de1e43f5', './UNSAFE_TabBar/themes/TabBarStyles.css', './useTabBar-b1536c9a', './Menu-bdd771bf', './MenuItem-dc85fcad', './SelectMenuGroupContext-67f24a8f', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./MenuSeparatorStyles.styles.css', 'module', './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css'], (function(e,t,s,a,o,n,r,l,c,d,i,b,u,y,m,x,S,h,p,T,f,B,C,M,F,g,U,w,A,E,N,_,j,v,I,L,R,k,V,P,z){"use strict";function O({contextMenuConfig:e,contextMenuContext:s,...a}){const o=e.accessibleLabel;return null==e.itemsRenderer(s)?null:t.jsx(t.Fragment,{children:t.jsx(I.Menu,{...a,...o&&{"aria-label":o},children:a.isOpen&&e.itemsRenderer(s)})})}const G=o.forwardRef((({children:e,layout:s="stretch",display:a="standard",size:o="md",edge:n="top",selection:r,onSelect:c,onRemove:d,"aria-describedby":i,"aria-label":b,"aria-labelledby":u,contextMenuConfig:y},m)=>{const x=m,{rootProps:S,tabBarContext:h,menuProps:p,contextMenuContext:T}=v.useTabBar({class:j.styles.tabBarBase,edge:n,onRemove:d,onSelect:c,ref:x,selection:r,size:o,children:e,contextMenuConfig:y});return t.jsxs(t.Fragment,{children:[t.jsx(l.TabBarContext.Provider,{value:h,children:t.jsx("div",{...S,"aria-label":b,"aria-labelledby":u,"aria-describedby":i,children:t.jsx(_.TabBarLayout,{layout:s,display:a,children:e})})}),y&&t.jsx(O,{...p,contextMenuConfig:y,contextMenuContext:T})]})}));e.TabBar=G}));
|
|
2
|
-
//# sourceMappingURL=TabBar-8a0cbff2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TabBar-8a0cbff2.js","sources":["../../src/UNSAFE_TabBar/TabBarContextMenu.tsx","../../src/UNSAFE_TabBar/TabBar.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentProps } from 'preact';\nimport { Menu } from '../UNSAFE_Menu';\nimport { TabBarContextMenuConfig, TabBarItemContext } from '#UNSAFE_TabBarCommon';\n\nexport type Props<K extends string | number> = Omit<ComponentProps<typeof Menu>, 'children'> & {\n contextMenuConfig: TabBarContextMenuConfig<K>;\n} & { contextMenuContext: TabBarItemContext<K> };\n\n/**\n * The internal component used to render a custom context menu\n */\nexport function TabBarContextMenu<K extends string | number>({\n contextMenuConfig,\n contextMenuContext,\n ...menuProps\n}: Props<K>) {\n const accessibleLabel = contextMenuConfig.accessibleLabel;\n\n const menuItems = contextMenuConfig.itemsRenderer(contextMenuContext);\n if (menuItems == null) {\n return null;\n }\n return (\n <>\n <Menu\n {...menuProps}\n {...(accessibleLabel && {\n 'aria-label': accessibleLabel\n })}>\n {menuProps.isOpen && contextMenuConfig.itemsRenderer(contextMenuContext)}\n </Menu>\n </>\n );\n}\n","import type { ComponentChildren, Ref, RefObject } from 'preact';\nimport { TabBarContext, TabBarLayout, TabBarContextMenuConfig } from '../UNSAFE_TabBarCommon';\nimport { styles } from './themes/TabBarStyles.css';\nimport { TestIdProps } from '../hooks/UNSAFE_useTestId';\nimport { useTabBar } from '../hooks/PRIVATE_useTabBar';\nimport { forwardRef } from 'preact/compat';\nimport { TabBarContextMenu } from './TabBarContextMenu';\nexport {\n TabBarItem,\n RemovableTabBarItem,\n OverflowTabBarItem,\n TabBarContext,\n useTabBarContext,\n TabBarLayout,\n useProgressiveTruncation,\n TabBarLinkItem\n} from '../UNSAFE_TabBarCommon';\n\n/**\n * type for payload of current key change event handler\n */\nexport type CurrentKeyDetail<K> = {\n value: K;\n};\n\n/**\n * type for payload of selection change event handler\n */\ntype SelectionDetail<K> = {\n value: K;\n};\n\n/**\n * type for payload of remove event handler\n */\ntype RemoveDetail<K> = {\n value: K;\n};\n\ntype DisplayProps =\n | {\n /**\n * Controls the content layout of the TabBarItem: 'standard' lays out the contents horizontally,\n *'icons' hides the label,\n */\n display?: 'standard' | 'icons';\n /**\n * The size indicates how tall the TabBarItem is rendered.\n * Note: It is not possible to specify 'size' when 'display=\"stacked\".\n */\n size?: 'md' | 'lg';\n }\n | {\n /**\n *'stacked' stacks the icon on top of the label.\n * Note: It is not possible to specify 'size' when 'display=\"stacked\".\n */\n display?: 'stacked';\n size?: 'never';\n };\n\nexport type TabBarProps<K extends string | number> = DisplayProps & {\n /**\n * A set of TabBarItem(s) that TabBar will hold\n */\n children: ComponentChildren;\n /**\n * Whether to stretch the tab bar items to occupy available space or to condense items\n */\n layout?: 'stretch' | 'condense';\n /**\n * The position of the TabBar. Valid Values: top and bottom.\n * 'top' is used when TabBar is placed on top of content section and the selection\n * indicator would be placed below the TabBarItem.\n * 'bottom' is used when TabBar is placed on bottom of content section and the selection\n * indicator would be placed above the TabBarItem.\n */\n edge?: 'top' | 'bottom';\n /**\n * Key of the selected item.\n */\n selection?: K;\n /**\n * Callback function to handle when user selects a tab.\n * The callback is also invoked when a user selects a tab that is already selected.\n */\n onSelect?: <K extends string | number>(detail: SelectionDetail<K>) => void;\n /**\n * Callback function to handle remove\n */\n onRemove?: <K extends string | number>(detail: RemoveDetail<K>) => void;\n /**\n * Accepts the ID of an element that provides instructions for interaction with the TabBar.\n */\n 'aria-describedby'?: string;\n /**\n * An aria-label which defines a string value that labels this TabBar.\n * Either aria-label or aria-labelledby should be specified in order to make TabBar accessible.\n */\n 'aria-label'?: string;\n\n /**\n * An aria-labelledby which identifies the element(s) that labels this TabBar.\n * Either aria-label or aria-labelledby should be specified in order to make TabBar accessible.\n */\n 'aria-labelledby'?: string;\n\n /**\n * Configuration used to specify a context menu.\n */\n contextMenuConfig?: TabBarContextMenuConfig<K>;\n};\n/**\n * A tab bar allows navigation between different content sections.\n */\nexport const TabBar = forwardRef(\n <K extends string | number>(\n {\n children,\n layout = 'stretch',\n display = 'standard',\n size = 'md',\n edge = 'top',\n selection,\n onSelect,\n onRemove,\n 'aria-describedby': ariaDescribedBy,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledby,\n contextMenuConfig\n }: TabBarProps<K> & TestIdProps,\n ref?: Ref<HTMLDivElement>\n ) => {\n const rootRef = ref as RefObject<HTMLDivElement>;\n\n const { rootProps, tabBarContext, menuProps, contextMenuContext } = useTabBar({\n class: styles.tabBarBase,\n edge: edge,\n onRemove,\n onSelect,\n ref: rootRef,\n selection,\n size,\n children,\n contextMenuConfig\n });\n\n return (\n <>\n <TabBarContext.Provider value={tabBarContext}>\n <div\n {...rootProps}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledby}\n aria-describedby={ariaDescribedBy}>\n <TabBarLayout layout={layout} display={display}>\n {children}\n </TabBarLayout>\n </div>\n </TabBarContext.Provider>\n {contextMenuConfig && (\n <TabBarContextMenu\n {...menuProps}\n contextMenuConfig={contextMenuConfig}\n contextMenuContext={contextMenuContext!}\n />\n )}\n </>\n );\n }\n);\n"],"names":["TabBarContextMenu","contextMenuConfig","contextMenuContext","menuProps","accessibleLabel","itemsRenderer","_jsx","Menu","children","isOpen","TabBar","forwardRef","layout","display","size","edge","selection","onSelect","onRemove","ariaDescribedBy","ariaLabel","ariaLabelledby","ref","rootRef","rootProps","tabBarContext","useTabBar","class","styles","tabBarBase","_jsxs","jsxs","_Fragment","TabBarContext","Provider","value","jsx","TabBarLayout"],"mappings":"k7CAkBM,SAAUA,GAA6CC,kBAC3DA,EAAiBC,mBACjBA,KACGC,IAEH,MAAMC,EAAkBH,EAAkBG,gBAG1C,OAAiB,MADCH,EAAkBI,cAAcH,GAEzC,KAGPI,2BACEA,EAAAA,IAACC,EAAAA,SACKJ,KACCC,GAAmB,CACtB,aAAcA,GAEfI,SAAAL,EAAUM,QAAUR,EAAkBI,cAAcH,MAI7D,CC2Ea,MAAAQ,EAASC,EAAUA,YAC9B,EAEIH,WACAI,SAAS,UACTC,UAAU,WACVC,OAAO,KACPC,OAAO,MACPC,YACAC,WACAC,WACA,mBAAoBC,EACpB,aAAcC,EACd,kBAAmBC,EACnBpB,qBAEFqB,KAEA,MAAMC,EAAUD,GAEVE,UAAEA,EAASC,cAAEA,EAAatB,UAAEA,EAASD,mBAAEA,GAAuBwB,EAAAA,UAAU,CAC5EC,MAAOC,EAAMA,OAACC,WACdd,KAAMA,EACNG,WACAD,WACAK,IAAKC,EACLP,YACAF,OACAN,WACAP,sBAGF,OACE6B,EACEC,KAAAC,WAAA,CAAAxB,SAAA,CAAAF,MAAC2B,EAAAA,cAAcC,SAAS,CAAAC,MAAOV,EAC7BjB,SAAAF,EAAA8B,IAAA,MAAA,IACMZ,EACQ,aAAAJ,EACK,kBAAAC,EACC,mBAAAF,EAClBX,SAAAF,EAAAA,IAAC+B,EAAAA,aAAY,CAACzB,OAAQA,EAAQC,QAASA,EACpCL,SAAAA,QAINP,GACCK,EAAA8B,IAACpC,EAAiB,IACZG,EACJF,kBAAmBA,EACnBC,mBAAoBA,MAI1B"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/hooks', 'preact/compat', './LayerHost-1b4d03f0', './UNSAFE_Text/themes/TextStyles.css', './Flex-69dc7af4', './useTabBarContext-15a23bb6', './flexitem-5db48325', './dimensions-fda85d6b', './boxalignment-50db1e3a', './logger-0f873e29', 'css!./TabBarItemStyles.styles.css', 'module', './UNSAFE_TabBarCommon/themes/redwood/TabBarItemVariants.css', './ConveyorBeltContext-d8653090', './VisBusyStateContext-63467849', 'preact', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-304eef18', 'css!./IconStyle.styles.css', './Floating-28ad0903', 'css!./LayerStyles.styles.css', './keyboardUtils-71bc5d84', './tabbableUtils-428c264e', './CollectionInteractionContext-0b4ed98b', 'css!./dropdownStyles.styles.css', './Sheet-f4665056', 'css!./OverflowTabBarItemStyles.styles.css', './UNSAFE_TabBarMixed/themes/TabBarMixedStyles.css', './useTabBar-b1536c9a'], (function(e,t,s,o,a,r,l,n,c,i,b,d,m,y,u,T,B,x,S,f,h,p,C,v,U,F,w,I,A,E,N,_,g){"use strict";const k=o.forwardRef(((e,a)=>{const{children:r,onRemove:l,onSelect:c,selection:i,size:b,"aria-label":d,"aria-labelledby":m}=e,y=s.useRef(null),{rootProps:u,tabBarContext:T}=(B={class:_.styles.tabBarBase,edge:"bottom",onRemove:l,onSelect:c,ref:y,selection:i,size:b,children:r},g.useTabBar(B));var B;return o.useImperativeHandle(a,(()=>({focus:()=>{y.current&&y.current.focus()},blur:()=>{y.current&&y.current.blur()}}))),t.jsx(n.TabBarContext.Provider,{value:T,children:t.jsx("div",{"aria-label":d,"aria-labelledby":m,...u,children:r})})}));e.TabBarMixed=k}));
|
|
2
|
-
//# sourceMappingURL=TabBarMixed-d4482b12.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TabBarMixed-d4482b12.js","sources":["../../src/UNSAFE_TabBarMixed/TabBarMixed.tsx","../../src/UNSAFE_TabBarMixed/useTabBarMixed.ts"],"sourcesContent":["import type { ComponentChildren } from 'preact';\nimport { useRef } from 'preact/hooks';\nimport { Ref } from 'preact';\nimport { forwardRef, useImperativeHandle } from 'preact/compat';\nimport { TabBarContext } from '../UNSAFE_TabBarCommon';\nimport { styles } from './themes/TabBarMixedStyles.css';\nimport { useTabBarMixed as useTabBar } from './useTabBarMixed';\n\ntype UseTabBarOptions = Parameters<typeof useTabBar>[0];\n\n/**\n * Component props expected to be pased to **TabBarMixed**.\n *\n * @see {@link TabBarMixed}\n */\ntype TabBarMixedProps<K extends string | number> = {\n /**\n * Component children that will be rendered within the **TabBarMixed**\n * root element.\n *\n * It is expected that **TabBarLayout** and **ConveyorBelt** elements are\n * provided. The same **TabBarItem**, **RemovableTabBarItem**,\n * and **OverflowTabBarItem** elements should also be used.\n */\n children?: ComponentChildren;\n /**\n * Callback fired when a tab item is removed.\n */\n onRemove?: UseTabBarOptions['onRemove'];\n /**\n * Callback fired when a tab item is selected.\n */\n onSelect?: UseTabBarOptions['onSelect'];\n /**\n * The item key of the selected tab item.\n */\n selection?: K;\n /**\n * The height of the the tab bar.\n *\n * @default \"md\"\n */\n size?: UseTabBarOptions['size'];\n /**\n * An aria-label which defines a string value that labels this TabBarMixed.\n * Either aria-label or aria-labelledby should be specified in order to make TabBarMixed accessible.\n */\n 'aria-label'?: string;\n\n /**\n * An aria-labelledby which identifies the element(s) that labels this TabBarMixed.\n * Either aria-label or aria-labelledby should be specified in order to make TabBarMixed accessible.\n */\n 'aria-labelledby'?: string;\n};\n\nexport type FocusableHandle = {\n focus: () => void;\n blur: () => void;\n};\n\n/**\n * A navigation component that enables horizontal navigation between distinct content with a mixture of static and dynamic tabs.\n *\n * @param {TabBarMixedProps} props TabBarMixed component props.\n * @returns {JSX.Element} TabBarMixed component element.\n */\nexport const TabBarMixed = forwardRef(\n <K extends string | number>(\n props: TabBarMixedProps<K>,\n focusHandleRef?: Ref<FocusableHandle>\n ) => {\n const {\n children,\n onRemove,\n onSelect,\n selection,\n size,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledby\n } = props;\n\n const rootRef = useRef<HTMLDivElement>(null);\n\n const { rootProps, tabBarContext } = useTabBar({\n class: styles.tabBarBase,\n edge: 'bottom',\n onRemove,\n onSelect,\n ref: rootRef,\n selection,\n size,\n children\n });\n\n //Allows to call focus on rootRef without having to expose it\n useImperativeHandle(focusHandleRef!, () => ({\n focus: () => {\n if (rootRef.current) {\n rootRef.current.focus();\n }\n },\n blur: () => {\n if (rootRef.current) {\n rootRef.current.blur();\n }\n }\n }));\n\n return (\n <TabBarContext.Provider value={tabBarContext}>\n <div aria-label={ariaLabel} aria-labelledby={ariaLabelledby} {...rootProps}>\n {children}\n </div>\n </TabBarContext.Provider>\n );\n }\n);\n","import type { ComponentProps, ContextType, RefObject } from 'preact';\nimport type { TabBarContext, TabBarLayout } from '../UNSAFE_TabBarCommon';\n\nimport { useTabBar } from '../hooks/PRIVATE_useTabBar';\n\ntype TabBarContextValue = ContextType<typeof TabBarContext>;\n\nexport type useTabBarOptions = {\n class?: string;\n display?: TabBarContextValue['display'];\n edge?: 'bottom' | 'top';\n onRemove?: TabBarContextValue['onRemove'];\n onSelect?: TabBarContextValue['onSelect'];\n ref?: RefObject<HTMLDivElement>;\n selection?: TabBarContextValue['selection'];\n size?: TabBarContextValue['size'];\n children?: ComponentProps<typeof TabBarLayout>['children'];\n};\n\n/**\n * A thin wrapper around useTabBar hook\n */\nexport function useTabBarMixed(options: useTabBarOptions) {\n return useTabBar(options);\n}\n"],"names":["TabBarMixed","forwardRef","props","focusHandleRef","children","onRemove","onSelect","selection","size","ariaLabel","ariaLabelledby","rootRef","useRef","rootProps","tabBarContext","options","class","styles","tabBarBase","edge","ref","useTabBar","useImperativeHandle","focus","current","blur","_jsx","TabBarContext","Provider","value"],"mappings":"ynCAmEa,MAAAA,EAAcC,EAAUA,YACnC,CACEC,EACAC,KAEA,MAAMC,SACJA,EAAQC,SACRA,EAAQC,SACRA,EAAQC,UACRA,EAASC,KACTA,EACA,aAAcC,EACd,kBAAmBC,GACjBR,EAEES,EAAUC,SAAuB,OAEjCC,UAAEA,EAASC,cAAEA,IC9DQC,ED8DoB,CAC7CC,MAAOC,EAAMA,OAACC,WACdC,KAAM,SACNd,WACAC,WACAc,IAAKT,EACLJ,YACAC,OACAJ,YCrEGiB,EAAAA,UAAUN,IADb,IAAyBA,EDuF3B,OAbAO,EAAmBA,oBAACnB,GAAiB,KAAO,CAC1CoB,MAAO,KACDZ,EAAQa,SACVb,EAAQa,QAAQD,OACjB,EAEHE,KAAM,KACAd,EAAQa,SACVb,EAAQa,QAAQC,MACjB,MAKHC,MAACC,EAAaA,cAACC,SAAS,CAAAC,MAAOf,EAAaV,SAC1CsB,EAAAA,wBAAiBjB,EAAS,kBAAmBC,KAAoBG,WAC9DT,KAGL"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './View-59fe568d', './UNSAFE_TabBarMixed/themes/TabBarMixedSeparator.css'], (function(e,r,a,s){"use strict";e.TabBarMixedSeparator=function(e){const{padding:t=0}=e;return r.jsx(a.View,{padding:[0,t,0,t],children:r.jsx("div",{class:s.styles.separator,role:"presentation"})})}}));
|
|
2
|
-
//# sourceMappingURL=TabBarMixedSeparator-84722127.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TabBarMixedSeparator-84722127.js","sources":["../../src/UNSAFE_TabBarMixed/TabBarMixedSeparator.tsx"],"sourcesContent":["import { View } from '../UNSAFE_View';\nimport { styles } from './themes/TabBarMixedSeparator.css';\n\nimport type { Size } from '../utils/UNSAFE_size';\n\ntype TabBarMixedSeparatorProps = {\n /**\n * Padding around the visual Separator line.\n */\n padding?: Size;\n};\n\n/**\n * TabBarMixedSeparator is a component that renders a visual separator (displayed\n * as a vertical line) between collections of tabs within TabBarMixed.\n *\n * @param {TabBarMixedSeparatorProps} props Component props for TabBarMixedSeparator.\n * @returns {JSX.Element} Component element for TabBarMixedSeparator.\n */\nexport function TabBarMixedSeparator(props: TabBarMixedSeparatorProps) {\n const { padding = 0 } = props;\n\n return (\n <View padding={[0, padding, 0, padding]}>\n <div class={styles.separator} role=\"presentation\" />\n </View>\n );\n}\n"],"names":["props","padding","_jsx","jsx","View","children","class","styles","separator","role"],"mappings":"wKAmBM,SAA+BA,GACnC,MAAMC,QAAEA,EAAU,GAAMD,EAExB,OACEE,EAAAC,IAACC,EAAIA,KAAA,CAACH,QAAS,CAAC,EAAGA,EAAS,EAAGA,GAAQI,SACrCH,EAAAA,IAAK,MAAA,CAAAI,MAAOC,EAAMA,OAACC,UAAWC,KAAK,kBAGzC"}
|
package/amd/View-59fe568d.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/compat', './vanilla-extract-dynamic.esm-eceadd82', './borders-e15a6927', './dimensions-fda85d6b', './flexitem-5db48325', './colors-879e20e6', './padding-08a2b20e', './aria-232c9168', './theme-a8f3d819', './mergeInterpolations-9ede4cf7', './LayerHost-1b4d03f0', './EnvironmentProvider-4597f540', './Common/themes/themeContract.css', './useDensity-2b757d02', './useTestId-d0c49456', './_curry1-df649359', './equals-e73adbe3', './_isArray-32602db6', './_isObject-42bafc94', './_isString-d0ada3cb'], (function(e,t,r,n,o,a,c,s,i,l,d,u,b,y,m,p,f,j,v,g,I,A){"use strict";var h=j._curry1((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():g._isArray(e)?[]:A._isString(e)?"":I._isObject(e)?{}:v._isArguments(e)?function(){return arguments}():(t=e,"[object Uint8ClampedArray]"===(r=Object.prototype.toString.call(t))||"[object Int8Array]"===r||"[object Uint8Array]"===r||"[object Int16Array]"===r||"[object Uint16Array]"===r||"[object Int32Array]"===r||"[object Uint32Array]"===r||"[object Float32Array]"===r||"[object Float64Array]"===r||"[object BigInt64Array]"===r||"[object BigUint64Array]"===r?e.constructor.from(""):void 0);var t,r})),x=j._curry1((function(e){return null!=e&&v.equals(e,h(e))}));const O=[...Object.values(o.borderInterpolations),...Object.values(a.dimensionInterpolations),...Object.values(c.flexitemInterpolations),...Object.values(s.colorInterpolations),...Object.values(i.paddingInterpolations),...Object.values(l.ariaInterpolations),...Object.values(d.themeInterpolations)],_=u.mergeInterpolations(O),C=r.forwardRef((({as:e,children:r,colorScheme:o,color:a,backgroundColor:c,scale:s,density:i,testId:l,...d},u)=>{const b=p.useDensity(),j=i??(s?b:void 0),v=f.useTestId(l),{class:g,ariaLabelledBy:I,ariaLabel:A,...h}=_({colorScheme:o,scale:s,density:j,backgroundColor:c,color:a,...d}),O={...o&&{colorScheme:o},...s&&{scale:s},...j&&{density:j},...c&&{currentBgColor:c}},C={...v,"aria-label":A,"aria-labelledby":I,children:r,className:g,ref:u,style:{...h,...c&&n.assignInlineVars({[m.globalVars.currentBackgroundColor]:h.backgroundColor}),boxSizing:"border-box"}},S=e||"div";return x(O)?t.jsx(S,{...C}):t.jsx(y.EnvironmentProvider,{environment:O,children:t.jsx(S,{...C})})}));e.View=C,e.elementTypes=["div","main","article","section","aside"]}));
|
|
2
|
-
//# sourceMappingURL=View-59fe568d.js.map
|
package/amd/View-59fe568d.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"View-59fe568d.js","sources":["../../../../node_modules/ramda/es/empty.js","../../../../node_modules/ramda/es/internal/_isTypedArray.js","../../../../node_modules/ramda/es/isEmpty.js","../../src/UNSAFE_View/View.tsx"],"sourcesContent":["import _curry1 from \"./internal/_curry1.js\";\nimport _isArguments from \"./internal/_isArguments.js\";\nimport _isArray from \"./internal/_isArray.js\";\nimport _isObject from \"./internal/_isObject.js\";\nimport _isString from \"./internal/_isString.js\";\nimport _isTypedArray from \"./internal/_isTypedArray.js\";\n/**\n * Returns the empty value of its argument's type. Ramda defines the empty\n * value of Array (`[]`), Object (`{}`), String (`''`),\n * TypedArray (`Uint8Array []`, `Float32Array []`, etc), and Arguments. Other\n * types are supported if they define `<Type>.empty`,\n * `<Type>.prototype.empty` or implement the\n * [FantasyLand Monoid spec](https://github.com/fantasyland/fantasy-land#monoid).\n *\n * Dispatches to the `empty` method of the first argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Function\n * @sig a -> a\n * @param {*} x\n * @return {*}\n * @example\n *\n * R.empty(Just(42)); //=> Nothing()\n * R.empty([1, 2, 3]); //=> []\n * R.empty('unicorns'); //=> ''\n * R.empty({x: 1, y: 2}); //=> {}\n * R.empty(Uint8Array.from('123')); //=> Uint8Array []\n */\n\nvar empty =\n/*#__PURE__*/\n_curry1(function empty(x) {\n return x != null && typeof x['fantasy-land/empty'] === 'function' ? x['fantasy-land/empty']() : x != null && x.constructor != null && typeof x.constructor['fantasy-land/empty'] === 'function' ? x.constructor['fantasy-land/empty']() : x != null && typeof x.empty === 'function' ? x.empty() : x != null && x.constructor != null && typeof x.constructor.empty === 'function' ? x.constructor.empty() : _isArray(x) ? [] : _isString(x) ? '' : _isObject(x) ? {} : _isArguments(x) ? function () {\n return arguments;\n }() : _isTypedArray(x) ? x.constructor.from('') : void 0 // else\n ;\n});\n\nexport default empty;","/**\n * Tests whether or not an object is a typed array.\n *\n * @private\n * @param {*} val The object to test.\n * @return {Boolean} `true` if `val` is a typed array, `false` otherwise.\n * @example\n *\n * _isTypedArray(new Uint8Array([])); //=> true\n * _isTypedArray(new Float32Array([])); //=> true\n * _isTypedArray([]); //=> false\n * _isTypedArray(null); //=> false\n * _isTypedArray({}); //=> false\n */\nexport default function _isTypedArray(val) {\n var type = Object.prototype.toString.call(val);\n return type === '[object Uint8ClampedArray]' || type === '[object Int8Array]' || type === '[object Uint8Array]' || type === '[object Int16Array]' || type === '[object Uint16Array]' || type === '[object Int32Array]' || type === '[object Uint32Array]' || type === '[object Float32Array]' || type === '[object Float64Array]' || type === '[object BigInt64Array]' || type === '[object BigUint64Array]';\n}","import _curry1 from \"./internal/_curry1.js\";\nimport empty from \"./empty.js\";\nimport equals from \"./equals.js\";\n/**\n * Returns `true` if the given value is its type's empty value; `false`\n * otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig a -> Boolean\n * @param {*} x\n * @return {Boolean}\n * @see R.empty\n * @example\n *\n * R.isEmpty([1, 2, 3]); //=> false\n * R.isEmpty([]); //=> true\n * R.isEmpty(''); //=> true\n * R.isEmpty(null); //=> false\n * R.isEmpty({}); //=> true\n * R.isEmpty({length: 0}); //=> false\n * R.isEmpty(Uint8Array.from('')); //=> true\n */\n\nvar isEmpty =\n/*#__PURE__*/\n_curry1(function isEmpty(x) {\n return x != null && equals(x, empty(x));\n});\n\nexport default isEmpty;","/**\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 type { ComponentChildren, RefCallback, RefObject } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { isEmpty } from 'ramda';\nimport { assignInlineVars } from '@vanilla-extract/dynamic';\n\nimport { borderInterpolations } from '../utils/UNSAFE_interpolations/borders';\nimport type { BorderProps } from '../utils/UNSAFE_interpolations/borders';\nimport { dimensionInterpolations } from '../utils/UNSAFE_interpolations/dimensions';\nimport type { DimensionProps } from '../utils/UNSAFE_interpolations/dimensions';\nimport { flexitemInterpolations } from '../utils/UNSAFE_interpolations/flexitem';\nimport type { FlexitemProps } from '../utils/UNSAFE_interpolations/flexitem';\nimport { colorInterpolations } from '../utils/UNSAFE_interpolations/colors';\nimport type { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { paddingInterpolations } from '../utils/UNSAFE_interpolations/padding';\nimport type { PaddingProps } from '../utils/UNSAFE_interpolations/padding';\nimport { ariaInterpolations } from '../utils/UNSAFE_interpolations/aria';\nimport type { AriaProps } from '../utils/UNSAFE_interpolations/aria';\nimport { themeInterpolations } from '../utils/UNSAFE_interpolations/theme';\nimport type { ThemeProps } from '../utils/UNSAFE_interpolations/theme';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\nimport type { Role } from '../utils/UNSAFE_roles';\nimport { EnvironmentProvider } from '..//UNSAFE_Environment';\nimport type { ThemeModifiers } from '../UNSAFE_Theme';\nimport { globalVars } from '../Common/themes/themeContract.css';\nimport { useDensity } from '#hooks/UNSAFE_useDensity';\nimport { TestIdProps, useTestId } from '#hooks/UNSAFE_useTestId';\n\nconst elementTypes = ['div', 'main', 'article', 'section', 'aside'] as const;\n\ntype ElementType = (typeof elementTypes)[number];\n\ntype StyleProps = BorderProps &\n DimensionProps &\n FlexitemProps &\n ColorProps &\n PaddingProps &\n AriaProps &\n ThemeProps;\n\ntype Props = StyleProps &\n TestIdProps & {\n as?: ElementType;\n role?: Role;\n children?: ComponentChildren;\n };\n\nconst interpolations = [\n ...Object.values(borderInterpolations),\n ...Object.values(dimensionInterpolations),\n ...Object.values(flexitemInterpolations),\n ...Object.values(colorInterpolations),\n ...Object.values(paddingInterpolations),\n ...Object.values(ariaInterpolations),\n ...Object.values(themeInterpolations)\n];\n\nconst mergedInterpolations = mergeInterpolations<Props>(interpolations);\n\ntype RefType = (RefObject<HTMLDivElement> | RefCallback<HTMLDivElement>) &\n (RefObject<HTMLElement> | RefCallback<HTMLElement>);\n\nconst View = forwardRef<RefType, Props>(\n (\n {\n as,\n children,\n colorScheme,\n color,\n backgroundColor,\n scale,\n density: propDensity,\n testId,\n ...rest\n },\n ref\n ) => {\n /**\n * JET-66845 Because density unit CSS vars need to be recalculated each time the scale changes, scale\n * classes can not be a child of density classes. However, we can have the scale and density classes as siblings.\n * If the scale prop is supplied, we'll set the density class as well. If density is not set in the props,\n * we will determine it via the Environment.\n */\n const themeDensity = useDensity();\n const density = propDensity ?? (scale ? themeDensity : undefined);\n const testIdProps = useTestId(testId);\n\n const {\n class: className,\n ariaLabelledBy,\n ariaLabel,\n ...styles\n } = mergedInterpolations({\n colorScheme,\n scale,\n density,\n backgroundColor,\n color,\n ...rest\n });\n // We need to update the environment with any theme related props specified\n const env: Partial<ThemeModifiers> = {\n ...(colorScheme && { colorScheme }),\n ...(scale && { scale }),\n ...(density && { density }),\n ...(backgroundColor && { currentBgColor: backgroundColor })\n };\n const props = {\n ...testIdProps,\n ['aria-label']: ariaLabel,\n ['aria-labelledby']: ariaLabelledBy,\n children,\n className,\n ref: ref as RefType,\n style: {\n ...styles,\n ...(backgroundColor &&\n assignInlineVars({\n [globalVars.currentBackgroundColor]: styles['backgroundColor']\n })),\n // we hardcode box-sizing: border-box on all of our Preact components.\n boxSizing: 'border-box'\n }\n };\n\n const Component = as || 'div';\n return isEmpty(env) ? (\n <Component {...props} />\n ) : (\n <EnvironmentProvider environment={env}>\n <Component {...props} />\n </EnvironmentProvider>\n );\n }\n);\n\nexport { elementTypes, View };\n"],"names":["empty","_curry1","x","constructor","_isArray","_isString","_isObject","_isArguments","arguments","val","type","Object","prototype","toString","call","from","isEmpty$1","equals","interpolations","values","borderInterpolations","dimensionInterpolations","flexitemInterpolations","colorInterpolations","paddingInterpolations","ariaInterpolations","themeInterpolations","mergedInterpolations","mergeInterpolations","View","forwardRef","as","children","colorScheme","color","backgroundColor","scale","density","propDensity","testId","rest","ref","themeDensity","useDensity","undefined","testIdProps","useTestId","class","className","ariaLabelledBy","ariaLabel","styles","env","currentBgColor","props","style","assignInlineVars","globalVars","currentBackgroundColor","boxSizing","Component","isEmpty","_jsx","jsx","EnvironmentProvider","environment"],"mappings":"+kBAgCA,IAAIA,EAEJC,EAAAA,SAAQ,SAAeC,GACrB,OAAY,MAALA,GAAgD,mBAA5BA,EAAE,sBAAuCA,EAAE,wBAA+B,MAALA,GAA8B,MAAjBA,EAAEC,aAAsE,mBAAxCD,EAAEC,YAAY,sBAAuCD,EAAEC,YAAY,wBAA+B,MAALD,GAAgC,mBAAZA,EAAEF,MAAuBE,EAAEF,QAAe,MAALE,GAA8B,MAAjBA,EAAEC,aAAsD,mBAAxBD,EAAEC,YAAYH,MAAuBE,EAAEC,YAAYH,QAAUI,EAAAA,SAASF,GAAK,GAAKG,EAASA,UAACH,GAAK,GAAKI,EAASA,UAACJ,GAAK,CAAA,EAAKK,EAAAA,aAAaL,GAAK,WACxd,OAAOM,SACX,CAF4d,ICrBtbC,EDuBhBP,ECrBJ,gCADZQ,EAAOC,OAAOC,UAAUC,SAASC,KAAKL,KACe,uBAATC,GAA0C,wBAATA,GAA2C,wBAATA,GAA2C,yBAATA,GAA4C,wBAATA,GAA2C,yBAATA,GAA4C,0BAATA,GAA6C,0BAATA,GAA6C,2BAATA,GAA8C,4BAATA,EDqBjVR,EAAEC,YAAYY,KAAK,SAAM,GCvBrC,IAAuBN,EAChCC,CDwBN,IEPAM,EAJAf,EAAAA,SAAQ,SAAiBC,GACvB,OAAY,MAALA,GAAae,EAAMA,OAACf,EAAGF,EAAME,GACtC,ICIA,MAmBMgB,EAAiB,IAClBP,OAAOQ,OAAOC,2BACdT,OAAOQ,OAAOE,8BACdV,OAAOQ,OAAOG,6BACdX,OAAOQ,OAAOI,0BACdZ,OAAOQ,OAAOK,4BACdb,OAAOQ,OAAOM,yBACdd,OAAOQ,OAAOO,wBAGbC,EAAuBC,EAAAA,oBAA2BV,GAKlDW,EAAOC,EAAUA,YACrB,EAEIC,KACAC,WACAC,cACAC,QACAC,kBACAC,QACAC,QAASC,EACTC,YACGC,GAELC,KAQA,MAAMC,EAAeC,EAAAA,aACfN,EAAUC,IAAgBF,EAAQM,OAAeE,GACjDC,EAAcC,YAAUP,IAG5BQ,MAAOC,EAASC,eAChBA,EAAcC,UACdA,KACGC,GACDxB,EAAqB,CACvBM,cACAG,QACAC,UACAF,kBACAD,WACGM,IAGCY,EAA+B,IAC/BnB,GAAe,CAAEA,kBACjBG,GAAS,CAAEA,YACXC,GAAW,CAAEA,cACbF,GAAmB,CAAEkB,eAAgBlB,IAErCmB,EAAQ,IACTT,EACH,aAAgBK,EAChB,kBAAqBD,EACrBjB,WACAgB,YACAP,IAAKA,EACLc,MAAO,IACFJ,KACChB,GACFqB,mBAAiB,CACf,CAACC,aAAWC,wBAAyBP,EAAwB,kBAGjEQ,UAAW,eAITC,EAAY7B,GAAM,MACxB,OAAO8B,EAAQT,GACbU,EAAAC,IAACH,EAAS,IAAKN,IAEfQ,MAACE,EAAAA,oBAAoB,CAAAC,YAAab,EAAGpB,SACnC8B,MAACF,EAAc,IAAAN,KAElB,4BAxGgB,CAAC,MAAO,OAAQ,UAAW,UAAW"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './UNSAFE_VisStatusMessage/themes/VisStatusMessageStyles.css', './Flex-69dc7af4', './classNames-08d99695', './useTranslationBundle-652e08a6', './layoutUtils-ba7693df'], (function(a,e,l,i,s,t,r){"use strict";function d({children:a,...t}){const r=s.classNames([t.isSelectable?"":l.userSelectStyles,l.baseStyles]);return e.jsx("div",{class:r,tabIndex:0,role:"application",id:t.id,"aria-label":t["aria-label"],"aria-describedby":t["aria-describedby"],"aria-labelledby":t["aria-labelledby"],children:e.jsx(i.Flex,{width:"100%",height:"100%",justify:"center",align:"center",children:a})})}const n=a=>{const e=a.ariaLabel?r.getRandomId():void 0;return{ariaLabelledBy:`${a.ariaLabelledby??""} ${e??""} ${a.textId}`.trim(),id:e}};a.VisNoData=function(a){const l=t.useTranslationBundle("@oracle/oraclejet-preact").vis_noData(),i=r.getRandomId(),{ariaLabelledBy:s,id:b}=n({ariaLabel:a["aria-label"],ariaLabelledby:a["aria-labelledby"],textId:i});return e.jsx(d,{id:b,"aria-label":a["aria-label"],"aria-describedby":a["aria-describedby"],"aria-labelledby":s,children:e.jsx("span",{id:i,children:l})})},a.VisStatusMessage=d}));
|
|
2
|
-
//# sourceMappingURL=VisNoData-b60000bf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisNoData-b60000bf.js","sources":["../../src/UNSAFE_VisStatusMessage/VisStatusMessage.tsx","../../src/UNSAFE_VisStatusMessage/VisNoData.tsx"],"sourcesContent":["import { ComponentChildren } from 'preact';\nimport { baseStyles, userSelectStyles } from './themes/VisStatusMessageStyles.css';\nimport { HTMLAttributesSignalExcluded } from '#utils/UNSAFE_attributeUtils';\nimport { Flex } from '#UNSAFE_Flex';\nimport { classNames } from '#utils/UNSAFE_classNames';\n\nexport type Props = {\n /**\n * The children to put in the grid.\n */\n children: ComponentChildren;\n isSelectable?: false;\n id?: string;\n 'aria-label'?: HTMLAttributesSignalExcluded['aria-label'];\n 'aria-describedby'?: HTMLAttributesSignalExcluded['aria-describedby'];\n 'aria-labelledby'?: HTMLAttributesSignalExcluded['aria-labelledby'];\n};\n\nexport function VisStatusMessage({ children, ...otherProps }: Props) {\n const itemClasses = classNames([otherProps.isSelectable ? '' : userSelectStyles, baseStyles]);\n\n return (\n <div\n class={itemClasses}\n tabIndex={0}\n role=\"application\"\n id={otherProps.id}\n aria-label={otherProps['aria-label']}\n aria-describedby={otherProps['aria-describedby']}\n aria-labelledby={otherProps['aria-labelledby']}>\n <Flex width=\"100%\" height=\"100%\" justify=\"center\" align=\"center\">\n {children}\n </Flex>\n </div>\n );\n}\n","import { VisStatusMessage } from './VisStatusMessage';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '#resources/nls/bundle';\nimport { HTMLAttributesSignalExcluded } from '#utils/UNSAFE_attributeUtils';\nimport { getRandomId } from '#utils/PRIVATE_visLayoutUtils/layoutUtils';\n\ntype Props = {\n 'aria-label'?: HTMLAttributesSignalExcluded['aria-label'];\n 'aria-describedby'?: HTMLAttributesSignalExcluded['aria-describedby'];\n 'aria-labelledby'?: HTMLAttributesSignalExcluded['aria-labelledby'];\n};\n\nexport function VisNoData(props: Props) {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const noDataMsg = translations.vis_noData();\n const textId = getRandomId();\n const { ariaLabelledBy, id } = getAriaLabelledBy({\n ariaLabel: props['aria-label'],\n ariaLabelledby: props['aria-labelledby'],\n textId\n });\n return (\n <VisStatusMessage\n id={id}\n aria-label={props['aria-label']}\n aria-describedby={props['aria-describedby']}\n aria-labelledby={ariaLabelledBy}>\n <span id={textId}>{noDataMsg}</span>\n </VisStatusMessage>\n );\n}\n\nconst getAriaLabelledBy = (props: {\n ariaLabel?: string;\n ariaLabelledby?: string;\n textId: string;\n}): { ariaLabelledBy: string; id?: string } => {\n const id = props.ariaLabel ? getRandomId() : undefined;\n const ariaLabelledBy = `${props.ariaLabelledby ?? ''} ${id ?? ''} ${props.textId}`.trim();\n return { ariaLabelledBy, id };\n};\n"],"names":["VisStatusMessage","children","otherProps","itemClasses","classNames","isSelectable","userSelectStyles","baseStyles","_jsx","class","tabIndex","role","id","jsx","Flex","width","height","justify","align","getAriaLabelledBy","props","ariaLabel","getRandomId","undefined","ariaLabelledBy","ariaLabelledby","textId","trim","noDataMsg","useTranslationBundle","vis_noData"],"mappings":"iPAkBM,SAAUA,GAAiBC,SAAEA,KAAaC,IAC9C,MAAMC,EAAcC,EAAUA,WAAC,CAACF,EAAWG,aAAe,GAAKC,EAAAA,iBAAkBC,EAAUA,aAE3F,OACEC,EAAAA,IACE,MAAA,CAAAC,MAAON,EACPO,SAAU,EACVC,KAAK,cACLC,GAAIV,EAAWU,GACH,aAAAV,EAAW,cAAa,mBAClBA,EAAW,sCACZA,EAAW,mBAC5BD,SAAAO,EAAAK,IAACC,OAAI,CAACC,MAAM,OAAOC,OAAO,OAAOC,QAAQ,SAASC,MAAM,SAAQjB,SAC7DA,KAIT,CCHA,MAAMkB,EAAqBC,IAKzB,MAAMR,EAAKQ,EAAMC,UAAYC,EAAWA,mBAAKC,EAE7C,MAAO,CAAEC,eADc,GAAGJ,EAAMK,gBAAkB,MAAMb,GAAM,MAAMQ,EAAMM,SAASC,OAC1Df,KAAI,cA3BzB,SAAoBQ,GACxB,MACMQ,EADeC,uBAAiC,4BACvBC,aACzBJ,EAASJ,EAAAA,eACTE,eAAEA,EAAcZ,GAAEA,GAAOO,EAAkB,CAC/CE,UAAWD,EAAM,cACjBK,eAAgBL,EAAM,mBACtBM,WAEF,OACElB,MAACR,EAAgB,CACfY,GAAIA,EAAE,aACMQ,EAAM,cACA,mBAAAA,EAAM,oBAAmB,kBAC1BI,EAAcvB,SAC/BO,EAAMK,IAAA,OAAA,CAAAD,GAAIc,EAASzB,SAAA2B,KAGzB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './useLoadingIndicatorTimer-20a3bf5f', './LiveRegion-345ac2a4', './HiddenAccessible-037ef42d', './useId-c9578d26', './useTranslationBundle-652e08a6', './UNSAFE_VisProgressiveLoader/themes/ProgressiveLoaderStyles.css', './classNames-08d99695', './size-f0e638ec', './Skeleton-a09190e1', './UNSAFE_VisProgressiveLoader/themes/VisSkeletonStyles.css'], (function(e,s,i,t,a,l,n,r,d,o,c,h){"use strict";function S({isLoading:e,fallback:c,children:h,role:S,tabIndex:b,width:y,height:g,"aria-label":u,"aria-labelledby":x,"aria-describedby":j}){const p=i.useLoadingIndicatorTimer(e),{vis_stateLoading:v,vis_stateLoaded:L}=n.useTranslationBundle("@oracle/oraclejet-preact"),f=l.useId();return e&&p?s.jsxs("div",{role:S,tabIndex:b,"aria-label":u,"aria-labelledby":x,"aria-describedby":j?[...new Set(j.split(/\s+/).concat(f))].join(" "):f,class:d.classNames([r.baseStyles,r.loadingContainerStyles]),style:{width:y&&o.sizeToCSS(y),height:g&&o.sizeToCSS(g)},children:[c,s.jsx(a.HiddenAccessible,{id:f,children:v()}),s.jsx(t.LiveRegion,{type:"polite",children:v()})]}):s.jsxs("div",{class:r.baseStyles,style:{width:y&&o.sizeToCSS(y),height:g&&o.sizeToCSS(g)},children:[h,s.jsx(t.LiveRegion,{type:"polite",children:u?`${u}, ${L()}`:L()})]})}function b({type:e,width:i,height:t}){return s.jsx("div",{class:h.baseStyles,style:{width:i&&o.sizeToCSS(i),height:t&&o.sizeToCSS(t)},children:s.jsx("div",{class:d.classNames([h.baseSkeletonContainerStyles,h.skeletonContainerStyles[e]]),children:s.jsx(c.Skeleton,{width:"100%",height:"100%"})})})}e.VisProgressiveLoader=function({type:e,role:i="application",children:t,...a}){const l=s.jsx(b,{type:e});return s.jsx(S,{role:i,tabIndex:0,fallback:l,...a,children:t})}}));
|
|
2
|
-
//# sourceMappingURL=VisProgressiveLoader-c90f62c3.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisProgressiveLoader-c90f62c3.js","sources":["../../src/UNSAFE_VisProgressiveLoader/ProgressiveLoader.tsx","../../src/UNSAFE_VisProgressiveLoader/VisSkeleton.tsx","../../src/UNSAFE_VisProgressiveLoader/VisProgressiveLoader.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChildren } from 'preact';\nimport { useLoadingIndicatorTimer } from '#hooks/UNSAFE_useLoadingIndicatorTimer';\nimport { LiveRegion } from '#UNSAFE_LiveRegion';\nimport { HiddenAccessible } from '#UNSAFE_HiddenAccessible';\nimport { useId } from '#hooks/UNSAFE_useId';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '#resources/nls/bundle';\nimport { HTMLAttributesSignalExcluded } from '#utils/UNSAFE_attributeUtils';\nimport { baseStyles, loadingContainerStyles } from './themes/ProgressiveLoaderStyles.css';\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { Size, sizeToCSS } from '#utils/UNSAFE_size';\n\ntype Props = {\n /**\n * Specifies whether the main content is currently loading.\n * The fallback content will be shown if the main content is taking too long to load.\n */\n isLoading: boolean;\n\n /**\n * The content to be shown when loading.\n */\n fallback: ComponentChildren;\n\n /**\n * The main content to be shown when not loading.\n */\n children: ComponentChildren;\n\n /**\n * The role.\n */\n role?: HTMLAttributesSignalExcluded['role'];\n\n /**\n * The tabIndex.\n */\n tabIndex?: HTMLAttributesSignalExcluded['tabIndex'];\n\n /**\n * The width of the component.\n */\n width?: Size;\n\n /**\n * The height of the component.\n */\n height?: Size;\n\n /**\n * The aria-label of the component.\n * This will be used for the aria-label of the DOM element.\n */\n 'aria-label'?: HTMLAttributesSignalExcluded['aria-label'];\n\n /**\n * One or more ids (separated by spaces) of elements that describe the component.\n * This will be used for the aria-describedby of the DOM element.\n */\n 'aria-describedby'?: HTMLAttributesSignalExcluded['aria-describedby'];\n\n /**\n * One or more ids (separated by spaces) of elements that label the component.\n * This will be used for the aria-labelledby of the DOM element.\n */\n 'aria-labelledby'?: HTMLAttributesSignalExcluded['aria-labelledby'];\n};\n\n/**\n * Displays the specified fallback content during progressive loading of the main content.\n */\nexport function ProgressiveLoader({\n isLoading,\n fallback,\n children,\n role,\n tabIndex,\n width,\n height,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n 'aria-describedby': ariaDescribedBy\n}: Props) {\n const showLoadingIndicator = useLoadingIndicatorTimer(isLoading);\n const { vis_stateLoading, vis_stateLoaded } = useTranslationBundle<BundleType>(\n '@oracle/oraclejet-preact'\n );\n const descId = useId();\n\n return isLoading && showLoadingIndicator ? (\n <div\n role={role}\n tabIndex={tabIndex}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={\n ariaDescribedBy\n ? [...new Set(ariaDescribedBy.split(/\\s+/).concat(descId))].join(' ')\n : descId\n }\n class={classNames([baseStyles, loadingContainerStyles])}\n style={{\n width: width && sizeToCSS(width),\n height: height && sizeToCSS(height)\n }}>\n {fallback}\n <HiddenAccessible id={descId}>{vis_stateLoading()}</HiddenAccessible>\n <LiveRegion type=\"polite\">{vis_stateLoading()}</LiveRegion>\n </div>\n ) : (\n <div\n class={baseStyles}\n style={{\n width: width && sizeToCSS(width),\n height: height && sizeToCSS(height)\n }}>\n {children}\n <LiveRegion type=\"polite\">\n {ariaLabel ? `${ariaLabel}, ${vis_stateLoaded()}` : vis_stateLoaded()}\n </LiveRegion>\n </div>\n );\n}\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 { Skeleton } from '#UNSAFE_Skeleton';\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { Size, sizeToCSS } from '#utils/UNSAFE_size';\nimport {\n baseSkeletonContainerStyles,\n baseStyles,\n skeletonContainerStyles\n} from './themes/VisSkeletonStyles.css';\n\ntype Props = {\n /**\n * The visualization type.\n */\n type: 'bar' | 'area' | 'line' | 'combo' | 'pie';\n\n /**\n * The width of the skeleton.\n */\n width?: Size;\n\n /**\n * The height of the skeleton.\n */\n height?: Size;\n};\n\n/**\n * Skeleton loading for visualizations.\n */\nexport function VisSkeleton({ type, width, height }: Props) {\n return (\n <div\n class={baseStyles}\n style={{\n width: width && sizeToCSS(width),\n height: height && sizeToCSS(height)\n }}>\n <div class={classNames([baseSkeletonContainerStyles, skeletonContainerStyles[type]])}>\n <Skeleton width=\"100%\" height=\"100%\" />\n </div>\n </div>\n );\n}\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 { ComponentProps } from 'preact';\nimport { ProgressiveLoader } from './ProgressiveLoader';\nimport { VisSkeleton } from './VisSkeleton';\n\ntype Props = Omit<ComponentProps<typeof ProgressiveLoader>, 'fallback' | 'tabIndex'> & {\n /**\n * The visualization type.\n * This is used to determine the loading indicator to be used.\n */\n type: ComponentProps<typeof VisSkeleton>['type'];\n};\n\n/**\n * Displays the specified fallback content during progressive loading of the visualization.\n */\nexport function VisProgressiveLoader({ type, role = 'application', children, ...props }: Props) {\n const fallback = <VisSkeleton type={type} />;\n return (\n <ProgressiveLoader role={role} tabIndex={0} fallback={fallback} {...props}>\n {children}\n </ProgressiveLoader>\n );\n}\n"],"names":["ProgressiveLoader","isLoading","fallback","children","role","tabIndex","width","height","ariaLabel","ariaLabelledBy","ariaDescribedBy","showLoadingIndicator","useLoadingIndicatorTimer","vis_stateLoading","vis_stateLoaded","useTranslationBundle","descId","useId","_jsxs","Set","split","concat","join","class","classNames","baseStyles","loadingContainerStyles","style","sizeToCSS","_jsx","HiddenAccessible","id","LiveRegion","type","jsx","VisSkeleton","baseSkeletonContainerStyles","skeletonContainerStyles","Skeleton","props"],"mappings":"yaA8EgB,SAAAA,GAAkBC,UAChCA,EAASC,SACTA,EAAQC,SACRA,EAAQC,KACRA,EAAIC,SACJA,EAAQC,MACRA,EAAKC,OACLA,EACA,aAAcC,EACd,kBAAmBC,EACnB,mBAAoBC,IAEpB,MAAMC,EAAuBC,2BAAyBX,IAChDY,iBAAEA,EAAgBC,gBAAEA,GAAoBC,EAAoBA,qBAChE,4BAEIC,EAASC,EAAAA,QAEf,OAAOhB,GAAaU,EAClBO,EAAAA,YACEd,KAAMA,EACNC,SAAUA,EAAQ,aACNG,EACK,kBAAAC,qBAEfC,EACI,IAAI,IAAIS,IAAIT,EAAgBU,MAAM,OAAOC,OAAOL,KAAUM,KAAK,KAC/DN,EAENO,MAAOC,aAAW,CAACC,EAAUA,WAAEC,EAAsBA,yBACrDC,MAAO,CACLrB,MAAOA,GAASsB,EAASA,UAACtB,GAC1BC,OAAQA,GAAUqB,EAASA,UAACrB,IAC7BJ,SAAA,CACAD,EACD2B,EAAAA,IAACC,EAAAA,kBAAiBC,GAAIf,EAAMb,SAAGU,MAC/BgB,EAAAA,IAACG,EAAAA,WAAW,CAAAC,KAAK,kBAAUpB,SAG7BK,EAAAA,YACEK,MAAOE,EAAAA,WACPE,MAAO,CACLrB,MAAOA,GAASsB,EAASA,UAACtB,GAC1BC,OAAQA,GAAUqB,EAASA,UAACrB,IAE7BJ,SAAA,CAAAA,EACD0B,EAAAK,IAACF,EAAUA,WAAA,CAACC,KAAK,SAAQ9B,SACtBK,EAAY,GAAGA,MAAcM,MAAsBA,QAI5D,CC7FM,SAAUqB,GAAYF,KAAEA,EAAI3B,MAAEA,EAAKC,OAAEA,IACzC,OACEsB,EACEK,IAAA,MAAA,CAAAX,MAAOE,EAAAA,WACPE,MAAO,CACLrB,MAAOA,GAASsB,EAASA,UAACtB,GAC1BC,OAAQA,GAAUqB,EAASA,UAACrB,IAC7BJ,SACD0B,MAAK,MAAA,CAAAN,MAAOC,EAAUA,WAAC,CAACY,EAA2BA,4BAAEC,0BAAwBJ,KAC3E9B,SAAA0B,EAAAK,IAACI,WAAQ,CAAChC,MAAM,OAAOC,OAAO,YAItC,wBC3BgB,UAAqB0B,KAAEA,EAAI7B,KAAEA,EAAO,cAAaD,SAAEA,KAAaoC,IAC9E,MAAMrC,EAAW2B,EAAAA,IAACM,GAAYF,KAAMA,IACpC,OACEJ,MAAC7B,EAAiB,CAACI,KAAMA,EAAMC,SAAU,EAAGH,SAAUA,KAAcqC,EACjEpC,SAAAA,GAGP"}
|