@oracle/oraclejet-preact 18.0.11 → 18.0.12
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-3f86f73f.js +1 -1
- package/amd/BarChart-f47d1c31.js +1 -1
- package/amd/BarGroup-76ef0839.js +1 -1
- package/amd/BaseButton-9f103e94.js +1 -1
- package/amd/BaseCardView-70b177ed.js +2 -0
- package/amd/BaseCardView-70b177ed.js.map +1 -0
- package/amd/BaseCardViewSelectionTest-3466f4b3.js +2 -0
- package/amd/BaseCardViewSelectionTest-3466f4b3.js.map +1 -0
- package/amd/BaseNavigationListItem-fe9cb691.js +1 -1
- package/amd/BaseRichSelection-a292f625.js +1 -1
- package/amd/ButtonSet-d95872cc.js +1 -1
- package/amd/ButtonSetIconButton-2d242fd9.js +1 -1
- package/amd/Card-f6f2dc90.js +2 -0
- package/amd/Card-f6f2dc90.js.map +1 -0
- package/amd/CardFlexView-bb5c4369.js +2 -0
- package/amd/CardFlexView-bb5c4369.js.map +1 -0
- package/amd/CardGridView-c28ff2f7.js +2 -0
- package/amd/CardGridView-c28ff2f7.js.map +1 -0
- package/amd/Center-b449a95c.js +2 -0
- package/amd/Center-b449a95c.js.map +1 -0
- package/amd/Chart-25d4c94f.js +1 -1
- package/amd/CheckboxControl-61b1d7bc.js +1 -1
- package/amd/CheckboxRadioField-831db563.js +1 -1
- package/amd/Chip-cd210507.js +1 -1
- package/amd/ClearIcon-5b3f9722.js +1 -1
- package/amd/CollapseIcon-e030531c.js +1 -1
- package/amd/Collapsible-924afd71.js +1 -1
- package/amd/ComboChart-ac77959a.js +1 -1
- package/amd/CompactHelpSource-74498e92.js +1 -1
- package/amd/CompactLabelAssistance-44ba87b0.js +2 -0
- package/amd/CompactLabelAssistance-44ba87b0.js.map +1 -0
- package/amd/CompactUserAssistance-26b284d4.js +1 -1
- package/amd/ComponentMessageContainer-d302e620.js +1 -1
- package/amd/ConveyorBeltItem-35248c2f.js +1 -1
- package/amd/DatePicker-08d53d55.js +2 -0
- package/amd/DatePicker-08d53d55.js.map +1 -0
- package/amd/DatePickerHeader-92e6cddb.js +1 -1
- package/amd/Diagram-a5898037.js +2 -0
- package/amd/Diagram-a5898037.js.map +1 -0
- package/amd/Dialog-c9d3d5d2.js +2 -0
- package/amd/Dialog-c9d3d5d2.js.map +1 -0
- package/amd/DirectionalCollapseArrowIcon-20cef34d.js +1 -1
- package/amd/DirectionalExpandArrowIcon-e9bdb06e.js +1 -1
- package/amd/DragHandle-699fefd6.js +2 -0
- package/amd/DragHandle-699fefd6.js.map +1 -0
- package/amd/Dropdown-4b421eff.js +2 -0
- package/amd/Dropdown-4b421eff.js.map +1 -0
- package/amd/EnvironmentProvider-8f6fc388.js +2 -0
- package/amd/EnvironmentProvider-8f6fc388.js.map +1 -0
- package/amd/ExpandableList-bb5ab084.js +1 -1
- package/amd/FilePicker-4636b49b.js +1 -1
- package/amd/Flex-56ecdf4c.js +2 -0
- package/amd/Flex-56ecdf4c.js.map +1 -0
- package/amd/Floating-1ec5ec2a.js +2 -0
- package/amd/Floating-1ec5ec2a.js.map +1 -0
- package/amd/FormLayout-a4a29a2d.js +1 -1
- package/amd/Gantt-aa5831e1.js +1 -1
- package/amd/Grid-160f4885.js +2 -0
- package/amd/Grid-160f4885.js.map +1 -0
- package/amd/Gridlines-7851bb20.js +2 -0
- package/amd/Gridlines-7851bb20.js.map +1 -0
- package/amd/GroupLoadingIndicator-6b2ab709.js +1 -1
- package/amd/HighlightText-bd4c0101.js +2 -0
- package/amd/HighlightText-bd4c0101.js.map +1 -0
- package/amd/Icon-2d38c876.js +1 -1
- package/amd/IconButton-d1646f51.js +1 -1
- package/amd/IconMenuButton-fa562607.js +1 -1
- package/amd/IconProgressButton-3494b534.js +1 -1
- package/amd/IconSwitchButton-2b357a40.js +1 -1
- package/amd/IconToggleButton-73177027.js +1 -1
- package/amd/IconUserAssistance-d2bd2691.js +2 -0
- package/amd/IconUserAssistance-d2bd2691.js.map +1 -0
- package/amd/Indexer-357554c4.js +2 -0
- package/amd/Indexer-357554c4.js.map +1 -0
- package/amd/InlineHelpSource-85961e81.js +1 -1
- package/amd/InlineUserAssistance-a1ae959b.js +1 -1
- package/amd/InputDateMask-d4995be8.js +1 -1
- package/amd/InputDatePicker-f7a9123c.js +2 -0
- package/amd/InputDatePicker-f7a9123c.js.map +1 -0
- package/amd/InputPassword-90000b2e.js +1 -1
- package/amd/InputText-a7b8a76a.js +1 -1
- package/amd/Label-4601e8e6.js +1 -1
- package/amd/LabelValueLayout-2883514d.js +1 -1
- package/amd/Layer-447c68e6.js +2 -0
- package/amd/Layer-447c68e6.js.map +1 -0
- package/amd/LayerHost-e95c5f30.js +2 -0
- package/amd/LayerHost-e95c5f30.js.map +1 -0
- package/amd/LayerManager-76fcfb58.js +2 -0
- package/amd/LayerManager-76fcfb58.js.map +1 -0
- package/amd/Legend-e4949499.js +1 -1
- package/amd/LineAreaChart-fe8b8f0f.js +2 -0
- package/amd/LineAreaChart-fe8b8f0f.js.map +1 -0
- package/amd/LineSeries-a549e727.js +2 -0
- package/amd/LineSeries-a549e727.js.map +1 -0
- package/amd/Link-129f599f.js +1 -1
- package/amd/List-04c4fed0.js +2 -0
- package/amd/List-04c4fed0.js.map +1 -0
- package/amd/ListItemLayout-4208363c.js +2 -0
- package/amd/ListItemLayout-4208363c.js.map +1 -0
- package/amd/ListView-bf740071.js +2 -0
- package/amd/ListView-bf740071.js.map +1 -0
- package/amd/LiveRegion-8142ed0d.js +2 -0
- package/amd/LiveRegion-8142ed0d.js.map +1 -0
- package/amd/LoadMoreCollection-a6adbc3f.js +2 -0
- package/amd/LoadMoreCollection-a6adbc3f.js.map +1 -0
- package/amd/MaxLengthLiveRegion-8954fc30.js +2 -0
- package/amd/MaxLengthLiveRegion-8954fc30.js.map +1 -0
- package/amd/Menu-5d447084.js +1 -1
- package/amd/MenuButton-a53e1b84.js +1 -1
- package/amd/MenuItem-87cd59b8.js +1 -1
- package/amd/Message-8ba62e6a.js +1 -1
- package/amd/MessageLayer-ba56f7e2.js +2 -0
- package/amd/MessageLayer-ba56f7e2.js.map +1 -0
- package/amd/MessageToast-aebaaaba.js +1 -1
- package/amd/MessagesManager-d5686336.js +1 -1
- package/amd/MeterBar-e1b4a93b.js +1 -1
- package/amd/MeterCircle-9887cf28.js +1 -1
- package/amd/Modal-d6b2e905.js +2 -0
- package/amd/Modal-d6b2e905.js.map +1 -0
- package/amd/MonthView-ba499758.js +2 -0
- package/amd/MonthView-ba499758.js.map +1 -0
- package/amd/NavigationListItem-044a79fd.js +1 -1
- package/amd/NumberInputText-be871371.js +1 -1
- package/amd/OverflowTabBarItem-e13f5130.js +1 -1
- 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_LoadMoreCollection.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_VirtualizedCollection.js +1 -1
- package/amd/PRIVATE_VisOverview.js +1 -1
- package/amd/PRIVATE_VisTabularDatatip.js +1 -1
- package/amd/PictoChart-593c01a5.js +1 -1
- package/amd/PieChart-2197746d.js +1 -1
- package/amd/Popup-d51bf3f4.js +2 -0
- package/amd/Popup-d51bf3f4.js.map +1 -0
- package/amd/ProgressBar-3f4cd8d6.js +2 -0
- package/amd/ProgressBar-3f4cd8d6.js.map +1 -0
- package/amd/ProgressButton-730212e4.js +1 -1
- package/amd/ProgressButtonLabelLayout-6df4290e.js +1 -1
- package/amd/ProgressCircle-74b6fc89.js +2 -0
- package/amd/ProgressCircle-74b6fc89.js.map +1 -0
- package/amd/RadioItem-9171703d.js +1 -1
- package/amd/RatingGauge-539ede8e.js +1 -1
- package/amd/ReadonlyTextFieldInput-608bddc1.js +1 -1
- package/amd/RemovableNavigationListItem-3bf54b1d.js +1 -1
- package/amd/RemovableTabBarItem-3095099e.js +1 -1
- package/amd/ReorderableTabBar-462d357c.js +1 -1
- package/amd/RevealToggleIcon-a01fe471.js +1 -1
- package/amd/ScatterChart-6aea901e.js +2 -0
- package/amd/ScatterChart-6aea901e.js.map +1 -0
- package/amd/SectionalLegend-8f203cac.js +1 -1
- package/amd/SectionedContent-2a261004.js +2 -0
- package/amd/SectionedContent-2a261004.js.map +1 -0
- package/amd/SelectMultiple-856fa90b.js +2 -0
- package/amd/SelectMultiple-856fa90b.js.map +1 -0
- package/amd/SelectSingle-c4e984e6.js +2 -0
- package/amd/SelectSingle-c4e984e6.js.map +1 -0
- package/amd/SelectionCard-895b014d.js +2 -0
- package/amd/SelectionCard-895b014d.js.map +1 -0
- package/amd/Selector-2b0c34a7.js +1 -1
- package/amd/SelectorAll-e884a225.js +2 -0
- package/amd/SelectorAll-e884a225.js.map +1 -0
- package/amd/Sheet-46782f99.js +2 -0
- package/amd/Sheet-46782f99.js.map +1 -0
- package/amd/SplitMenuButton-08c590d1.js +1 -1
- package/amd/StyledCard-c4d0324d.js +2 -0
- package/amd/StyledCard-c4d0324d.js.map +1 -0
- package/amd/StyledTextField-e43cf892.js +1 -1
- package/amd/TabBar-d8890a47.js +1 -1
- package/amd/TabBarItem-547825e2.js +1 -1
- package/amd/TabBarLayout-685ac295.js +1 -1
- package/amd/TabBarMixed-a75796a6.js +1 -1
- package/amd/TabBarMixedSeparator-8c278254.js +2 -0
- package/amd/TabBarMixedSeparator-8c278254.js.map +1 -0
- package/amd/Table-35c926c3.js +2 -0
- package/amd/Table-35c926c3.js.map +1 -0
- package/amd/TableView-1b64aeb3.js +2 -0
- package/amd/TableView-1b64aeb3.js.map +1 -0
- package/amd/TagCloud-a60146b8.js +1 -1
- package/amd/TextArea-6b4e1847.js +2 -0
- package/amd/TextArea-6b4e1847.js.map +1 -0
- package/amd/TextAreaAutosize-be8b4682.js +2 -0
- package/amd/TextAreaAutosize-be8b4682.js.map +1 -0
- package/amd/TextField-4a450d38.js +1 -1
- package/amd/TextFieldInput-ba4e508c.js +1 -1
- package/amd/Theme-redwood/theme.css +118 -118
- package/amd/Theme-stable/theme.css +312 -312
- package/amd/TimeComponentCanvas2D-aad7ad43.js +1 -1
- package/amd/Toolbar-05d42276.js +1 -1
- package/amd/TruncatingBadge-04f9ef4c.js +2 -0
- package/amd/TruncatingBadge-04f9ef4c.js.map +1 -0
- package/amd/TruncatingText-d18d41c5.js +2 -0
- package/amd/TruncatingText-d18d41c5.js.map +1 -0
- 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_ChartWithLegend.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-ce970ed7.js +2 -0
- package/amd/View-ce970ed7.js.map +1 -0
- package/amd/VirtualizedCollection-63223f5e.js +2 -0
- package/amd/VirtualizedCollection-63223f5e.js.map +1 -0
- package/amd/VirtualizedListView-554eaee6.js +2 -0
- package/amd/VirtualizedListView-554eaee6.js.map +1 -0
- package/amd/VisNoData-6fa39277.js +2 -0
- package/amd/VisNoData-6fa39277.js.map +1 -0
- package/amd/VisProgressiveLoader-68d8d8b3.js +2 -0
- package/amd/VisProgressiveLoader-68d8d8b3.js.map +1 -0
- package/amd/VisTabularDatatip-1051eaca.js +2 -0
- package/amd/VisTabularDatatip-1051eaca.js.map +1 -0
- package/amd/WindowOverlay-a2d80d55.js +2 -0
- package/amd/WindowOverlay-a2d80d55.js.map +1 -0
- package/amd/YearsGridView-6c227620.js +2 -0
- package/amd/YearsGridView-6c227620.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_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-b7b9300d.js +2 -0
- package/amd/index-b7b9300d.js.map +1 -0
- package/amd/listViewSelectionTests-c9777ea8.js +1 -1
- package/amd/render-366c27ff.js +2 -0
- package/amd/render-366c27ff.js.map +1 -0
- package/amd/tabbableUtils-88d4fa35.js +2 -0
- package/amd/tabbableUtils-88d4fa35.js.map +1 -0
- package/amd/testData-783b8823.js +2 -0
- package/amd/testData-783b8823.js.map +1 -0
- package/amd/tooltipUtils-69ce0a2d.js +2 -0
- package/amd/tooltipUtils-69ce0a2d.js.map +1 -0
- package/amd/useCellNavigation-b9cf0f18.js +1 -1
- package/amd/useChartContextMenu-8606bfa2.js +1 -1
- package/amd/useChartDatatip-ee3783af.js +2 -0
- package/amd/useChartDatatip-ee3783af.js.map +1 -0
- package/amd/useColorScheme-10dc88de.js +2 -0
- package/amd/useColorScheme-10dc88de.js.map +1 -0
- package/amd/useContextMenu-e08aad46.js +1 -1
- package/amd/useCssVars-c043f8da.js +2 -0
- package/amd/useCssVars-c043f8da.js.map +1 -0
- package/amd/useCurrentBgColor-2426ee24.js +2 -0
- package/amd/useCurrentBgColor-2426ee24.js.map +1 -0
- package/amd/useCurrentKey-31c18053.js +2 -0
- package/amd/useCurrentKey-31c18053.js.map +1 -0
- package/amd/useDatatip-ac26447a.js +2 -0
- package/amd/useDatatip-ac26447a.js.map +1 -0
- package/amd/useDensity-c83df7b4.js +2 -0
- package/amd/useDensity-c83df7b4.js.map +1 -0
- package/amd/useFloating-acd30a55.js +2 -0
- package/amd/useFloating-acd30a55.js.map +1 -0
- package/amd/useKeyboardEvents-d87e3587.js +2 -0
- package/amd/useKeyboardEvents-d87e3587.js.map +1 -0
- package/amd/useLegendContextMenu-e629139a.js +1 -1
- package/amd/useMeterDatatip-fff3c329.js +2 -0
- package/amd/useMeterDatatip-fff3c329.js.map +1 -0
- package/amd/useOutsideClick-f99b7a84.js +2 -0
- package/amd/useOutsideClick-f99b7a84.js.map +1 -0
- package/amd/usePopupAnimation-f679a4b0.js +2 -0
- package/amd/usePopupAnimation-f679a4b0.js.map +1 -0
- package/amd/usePrefixSuffix-09bd5925.js +2 -0
- package/amd/usePrefixSuffix-09bd5925.js.map +1 -0
- package/amd/useReorderableItem-4c4779f7.js +2 -0
- package/amd/useReorderableItem-4c4779f7.js.map +1 -0
- package/amd/useRovingTabIndexContainer-955e23a8.js +2 -0
- package/amd/useRovingTabIndexContainer-955e23a8.js.map +1 -0
- package/amd/useScale-37d42c9d.js +2 -0
- package/amd/useScale-37d42c9d.js.map +1 -0
- package/amd/useSelectCommon-8cc04e42.js +2 -0
- package/amd/useSelectCommon-8cc04e42.js.map +1 -0
- package/amd/useSelectDrill-8e441eec.js +2 -0
- package/amd/useSelectDrill-8e441eec.js.map +1 -0
- package/amd/useSelection-4213924c.js +2 -0
- package/amd/useSelection-4213924c.js.map +1 -0
- package/amd/useSelection-f0c7d74d.js +2 -0
- package/amd/useSelection-f0c7d74d.js.map +1 -0
- package/amd/useTabBar-2c4573fe.js +1 -1
- package/amd/useTestId-3a316499.js +2 -0
- package/amd/useTestId-3a316499.js.map +1 -0
- package/amd/useTheme-ac980f9a.js +2 -0
- package/amd/useTheme-ac980f9a.js.map +1 -0
- package/amd/useThemeInterpolations-6b2de213.js +2 -0
- package/amd/useThemeInterpolations-6b2de213.js.map +1 -0
- package/amd/useTooltip-7b11fd35.js +2 -0
- package/amd/useTooltip-7b11fd35.js.map +1 -0
- package/amd/useTooltipControlled-52183a08.js +2 -0
- package/amd/useTooltipControlled-52183a08.js.map +1 -0
- package/amd/useTranslationBundle-516b1b83.js +2 -0
- package/amd/useTranslationBundle-516b1b83.js.map +1 -0
- package/amd/useUser-85c781ea.js +2 -0
- package/amd/useUser-85c781ea.js.map +1 -0
- package/amd/useVisDragModeControls-17c7fedb.js +1 -1
- package/amd/useVisEvents-0166e4cc.js +2 -0
- package/amd/useVisEvents-0166e4cc.js.map +1 -0
- package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
- package/amd/utils/PRIVATE_visTestUtils.js +1 -1
- package/amd/withDirectionIcon-ce0c7432.js +2 -0
- package/amd/withDirectionIcon-ce0c7432.js.map +1 -0
- package/amd/withThemeProps-4c23997e.js +1 -1
- package/cjs/ActionCard-61b21d6c.js +1 -1
- package/cjs/BarChart-3398e34e.js +1 -1
- package/cjs/BarGroup-4a24a995.js +1 -1
- package/cjs/BaseButton-6b9f7463.js +2 -2
- package/cjs/BaseCardView-ade994f5.js +7 -7
- package/cjs/BaseCardViewSelectionTest-c209fffe.js +734 -0
- package/cjs/BaseCardViewSelectionTest-c209fffe.js.map +1 -0
- package/cjs/BaseNavigationListItem-ac85812c.js +49 -0
- package/cjs/BaseNavigationListItem-ac85812c.js.map +1 -0
- package/cjs/BaseRichSelection-ee936fae.js +8 -8
- package/cjs/ButtonSet-90db1168.js +2 -2
- package/cjs/ButtonSetIconButton-1528caef.js +3 -3
- package/cjs/Card-a6693442.js +17 -0
- package/cjs/Card-a6693442.js.map +1 -0
- package/cjs/Center-c0baccb0.js +18 -0
- package/cjs/Center-c0baccb0.js.map +1 -0
- package/cjs/Chart-c8be3e1d.js +8 -8
- package/cjs/CheckboxControl-127cc988.js +6 -6
- package/cjs/CheckboxRadioField-2873482e.js +6 -6
- package/cjs/CheckboxSetContext-c62db26d.js +12 -0
- package/cjs/CheckboxSetContext-c62db26d.js.map +1 -0
- package/cjs/Chip-f12bb8cd.js +1 -1
- package/cjs/ClearIcon-56d5dd01.js +1 -1
- package/cjs/CollapseIcon-2394e7ea.js +1 -1
- package/cjs/Collapsible-41311eb0.js +2 -2
- package/cjs/ComboChart-d6c2f84f.js +2 -2
- package/cjs/CompactHelpSource-61ead0c7.js +2 -2
- package/cjs/CompactLabelAssistance-fd841834.js +36 -0
- package/cjs/CompactLabelAssistance-fd841834.js.map +1 -0
- package/cjs/CompactUserAssistance-d03b06d5.js +4 -4
- package/cjs/ComponentMessageContainer-ffadd93c.js +4 -4
- package/cjs/ConveyorBeltItem-212d6753.js +2 -2
- package/cjs/DatePicker-5326483e.js +566 -0
- package/cjs/DatePicker-5326483e.js.map +1 -0
- package/cjs/DatePickerHeader-151425f9.js +3 -3
- package/cjs/Diagram-0369c638.js +2028 -0
- package/cjs/Diagram-0369c638.js.map +1 -0
- package/cjs/Dialog-78fcee2e.js +318 -0
- package/cjs/Dialog-78fcee2e.js.map +1 -0
- package/cjs/DirectionalCollapseArrowIcon-0cf2279a.js +1 -1
- package/cjs/DirectionalExpandArrowIcon-a362cb2f.js +1 -1
- package/cjs/DragHandle-67b6118b.js +24 -0
- package/cjs/DragHandle-67b6118b.js.map +1 -0
- package/cjs/Dropdown-34b8f141.js +82 -0
- package/cjs/Dropdown-34b8f141.js.map +1 -0
- package/cjs/EnvironmentProvider-75eb79f3.js +61 -0
- package/cjs/EnvironmentProvider-75eb79f3.js.map +1 -0
- package/cjs/ExpandableList-eb37ee5c.js +3 -3
- package/cjs/FilePicker-f93470cf.js +2 -2
- package/cjs/Flex-e7a85bef.js +33 -0
- package/cjs/Flex-e7a85bef.js.map +1 -0
- package/cjs/Floating-56621d20.js +464 -0
- package/cjs/Floating-56621d20.js.map +1 -0
- package/cjs/FormLayout-86e60b6c.js +1 -1
- package/cjs/Gantt-d7ca421a.js +9 -9
- package/cjs/Grid-a7316edd.js +29 -0
- package/cjs/Grid-a7316edd.js.map +1 -0
- package/cjs/Gridlines-ef3af190.js +171 -0
- package/cjs/Gridlines-ef3af190.js.map +1 -0
- package/cjs/GroupLoadingIndicator-5940d185.js +1 -1
- package/cjs/HighlightText-dd11dd32.js +33 -0
- package/cjs/HighlightText-dd11dd32.js.map +1 -0
- package/cjs/Icon-c024b93c.js +3 -3
- package/cjs/IconButton-6f58deac.js +3 -3
- package/cjs/IconMenuButton-384f41be.js +3 -3
- package/cjs/IconProgressButton-649a5b5b.js +3 -3
- package/cjs/IconSwitchButton-cd968a81.js +3 -3
- package/cjs/IconToggleButton-c57a8c11.js +3 -3
- package/cjs/IconUserAssistance-52208fde.js +75 -0
- package/cjs/IconUserAssistance-52208fde.js.map +1 -0
- package/cjs/Indexer-72430806.js +4 -4
- package/cjs/InlineHelpSource-0549100d.js +1 -1
- package/cjs/InlineUserAssistance-d32aad17.js +5 -5
- package/cjs/InputDateMask-6f27f172.js +7 -7
- package/cjs/InputDatePicker-b9a6ed5b.js +309 -0
- package/cjs/InputDatePicker-b9a6ed5b.js.map +1 -0
- package/cjs/InputPassword-43ee5ba7.js +4 -4
- package/cjs/InputText-b184c097.js +6 -6
- package/cjs/Label-6f070293.js +5 -5
- package/cjs/LabelValueLayout-3c33ca16.js +1 -1
- package/cjs/Layer-0053053a.js +91 -0
- package/cjs/Layer-0053053a.js.map +1 -0
- package/cjs/LayerHost-a8c7f182.js +45 -0
- package/cjs/LayerHost-a8c7f182.js.map +1 -0
- package/cjs/LayerManager-2d0b83ac.js +36 -0
- package/cjs/LayerManager-2d0b83ac.js.map +1 -0
- package/cjs/Legend-33a7824e.js +3 -3
- package/cjs/LineAreaChart-96cb18cb.js +172 -0
- package/cjs/LineAreaChart-96cb18cb.js.map +1 -0
- package/cjs/LineSeries-0e984080.js +112 -0
- package/cjs/LineSeries-0e984080.js.map +1 -0
- package/cjs/Link-f998f6f8.js +1 -1
- package/cjs/List-0dc2c4c4.js +5 -5
- package/cjs/ListItemLayout-ec53f199.js +112 -0
- package/cjs/ListItemLayout-ec53f199.js.map +1 -0
- package/cjs/ListView-17b8250d.js +3 -3
- package/cjs/LiveRegion-567427c5.js +41 -0
- package/cjs/LiveRegion-567427c5.js.map +1 -0
- package/cjs/MaxLengthLiveRegion-f03f07c6.js +25 -0
- package/cjs/MaxLengthLiveRegion-f03f07c6.js.map +1 -0
- package/cjs/Menu-658212ed.js +6 -6
- package/cjs/MenuButton-9cb0bdbf.js +2 -2
- package/cjs/MenuItem-c459d748.js +1 -1
- package/cjs/Message-7da81b63.js +2 -2
- package/cjs/MessageLayer-f9aa9828.js +61 -0
- package/cjs/MessageLayer-f9aa9828.js.map +1 -0
- package/cjs/MessageToast-42faa5bf.js +8 -8
- package/cjs/MessagesManager-1ae749bf.js +3 -3
- package/cjs/MeterBar-0adbe81a.js +5 -5
- package/cjs/MeterCircle-97a75b35.js +5 -5
- package/cjs/Modal-b9987f2d.js +264 -0
- package/cjs/Modal-b9987f2d.js.map +1 -0
- package/cjs/MonthView-b718bbc4.js +210 -0
- package/cjs/MonthView-b718bbc4.js.map +1 -0
- package/cjs/NavigationList-2a0bbb77.js +161 -0
- package/cjs/NavigationList-2a0bbb77.js.map +1 -0
- package/cjs/NavigationListItem-d927906d.js +12 -0
- package/cjs/NavigationListItem-d927906d.js.map +1 -0
- package/cjs/NumberInputText-aaed9edc.js +6 -6
- package/cjs/OverflowTabBar-95560908.js +71 -0
- package/cjs/OverflowTabBar-95560908.js.map +1 -0
- package/cjs/OverflowTabBarItem-0b4c8aa5.js +89 -0
- package/cjs/OverflowTabBarItem-0b4c8aa5.js.map +1 -0
- package/cjs/PRIVATE_BaseCardView.js +22 -22
- package/cjs/PRIVATE_Chart.js +31 -31
- package/cjs/PRIVATE_CheckboxControl.js +23 -23
- package/cjs/PRIVATE_CheckboxRadioField.js +24 -24
- package/cjs/PRIVATE_ClearIcon.js +18 -18
- package/cjs/PRIVATE_DatePickerHeader.js +19 -19
- package/cjs/PRIVATE_DatePickerLayout.js +4 -4
- package/cjs/PRIVATE_EmbeddedIconButton.js +3 -3
- package/cjs/PRIVATE_FormControls.js +19 -19
- package/cjs/PRIVATE_IconSwitchButton.js +16 -16
- package/cjs/PRIVATE_Icons/CheckboxMixed.js +16 -16
- package/cjs/PRIVATE_Icons/CheckboxOff.js +16 -16
- package/cjs/PRIVATE_Icons/CheckboxOn.js +16 -16
- package/cjs/PRIVATE_Icons/DragV.js +16 -16
- package/cjs/PRIVATE_Icons/WarningS.js +16 -16
- package/cjs/PRIVATE_List.js +20 -20
- package/cjs/PRIVATE_Message.js +19 -19
- package/cjs/PRIVATE_MessageLayer.js +12 -12
- package/cjs/PRIVATE_MonthView.js +7 -7
- package/cjs/PRIVATE_MonthYearGridView.js +7 -7
- package/cjs/PRIVATE_PlotArea.js +4 -4
- package/cjs/PRIVATE_RevealToggleIcon.js +17 -17
- package/cjs/PRIVATE_RichSelectionCommon.js +25 -25
- package/cjs/PRIVATE_SelectCommon.js +28 -28
- package/cjs/PRIVATE_StyledCard.js +4 -4
- package/cjs/PRIVATE_StyledCheckbox.js +16 -16
- package/cjs/PRIVATE_Table.js +24 -24
- package/cjs/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
- package/cjs/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
- package/cjs/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
- package/cjs/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
- package/cjs/PRIVATE_TimeComponent.js +18 -18
- package/cjs/PRIVATE_VisOverview.js +16 -16
- package/cjs/PRIVATE_VisTabularDatatip.js +4 -4
- package/cjs/PictoChart-c2650a00.js +6 -6
- package/cjs/PieChart-411377a1.js +6 -6
- package/cjs/Popup-84ce41d3.js +249 -0
- package/cjs/Popup-84ce41d3.js.map +1 -0
- package/cjs/ProgressBar-aa9edb7a.js +64 -0
- package/cjs/ProgressBar-aa9edb7a.js.map +1 -0
- package/cjs/ProgressButton-cea0dd50.js +3 -3
- package/cjs/ProgressButtonLabelLayout-13908869.js +3 -3
- package/cjs/ProgressCircle-1d9fbade.js +50 -0
- package/cjs/ProgressCircle-1d9fbade.js.map +1 -0
- package/cjs/RadioItem-f6afdd0e.js +6 -6
- package/cjs/RatingGauge-4f129f42.js +7 -7
- package/cjs/ReadonlyTextFieldInput-af4ddced.js +1 -1
- package/cjs/RemovableNavigationListItem-48c1f9ab.js +27 -0
- package/cjs/RemovableNavigationListItem-48c1f9ab.js.map +1 -0
- package/cjs/RemovableTabBarItem-31809ee8.js +2 -2
- package/cjs/ReorderableTabBar-5614d872.js +79 -0
- package/cjs/ReorderableTabBar-5614d872.js.map +1 -0
- package/cjs/RevealToggleIcon-e21eaaf0.js +1 -1
- package/cjs/ScatterChart-c2c13650.js +105 -0
- package/cjs/ScatterChart-c2c13650.js.map +1 -0
- package/cjs/SectionalLegend-da9d7dc4.js +4 -4
- package/cjs/SectionedContent-06dc071c.js +67 -0
- package/cjs/SectionedContent-06dc071c.js.map +1 -0
- package/cjs/SelectMultiple-12261f4a.js +8 -8
- package/cjs/SelectSingle-382b9a03.js +7 -7
- package/cjs/SelectionCard-67f7003e.js +18 -0
- package/cjs/SelectionCard-67f7003e.js.map +1 -0
- package/cjs/Selector-565b3810.js +1 -1
- package/cjs/SelectorAll-b55e1b61.js +71 -0
- package/cjs/SelectorAll-b55e1b61.js.map +1 -0
- package/cjs/Sheet-86989265.js +161 -0
- package/cjs/Sheet-86989265.js.map +1 -0
- package/cjs/SplitMenuButton-6cd3278c.js +2 -2
- package/cjs/StyledCard-a0496c88.js +107 -0
- package/cjs/StyledCard-a0496c88.js.map +1 -0
- package/cjs/StyledTextField-1d94ce8e.js +3 -3
- package/cjs/TabBar-bcf66387.js +84 -0
- package/cjs/TabBar-bcf66387.js.map +1 -0
- package/cjs/TabBarItem-00fcf601.js +3 -3
- package/cjs/TabBarLayout-846a4d9a.js +1 -1
- package/cjs/TabBarMixed-ac642788.js +85 -0
- package/cjs/TabBarMixed-ac642788.js.map +1 -0
- package/cjs/TabBarMixedSeparator-0e258647.js +21 -0
- package/cjs/TabBarMixedSeparator-0e258647.js.map +1 -0
- package/cjs/Table-42e84ff0.js +9 -9
- package/cjs/TagCloud-33126c77.js +8 -8
- package/cjs/TextArea-aea6ecae.js +5 -5
- package/cjs/TextAreaAutosize-c01d61dc.js +5 -5
- package/cjs/TextField-ed48834c.js +3 -3
- package/cjs/TextFieldInput-e83921a4.js +1 -1
- package/cjs/Theme-redwood/theme.css +210 -210
- package/cjs/Theme-stable/theme.css +397 -397
- package/cjs/TimeComponentCanvas2D-3626092b.js +5 -5
- package/cjs/Toolbar-f94296cb.js +1 -1
- package/cjs/TruncatingBadge-efe34bb7.js +36 -0
- package/cjs/TruncatingBadge-efe34bb7.js.map +1 -0
- package/cjs/TruncatingText-33c06a6c.js +50 -0
- package/cjs/TruncatingText-33c06a6c.js.map +1 -0
- package/cjs/UNSAFE_ActionCard.js +3 -3
- package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +31 -31
- package/cjs/UNSAFE_BarChart.js +31 -31
- package/cjs/UNSAFE_BaseButton.js +3 -3
- package/cjs/UNSAFE_Button.js +3 -3
- package/cjs/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +21 -21
- package/cjs/UNSAFE_ButtonSet.js +4 -4
- package/cjs/UNSAFE_ButtonSetButton.js +3 -3
- package/cjs/UNSAFE_ButtonSetIconButton.js +16 -16
- package/cjs/UNSAFE_ButtonSetItem.js +16 -16
- package/cjs/UNSAFE_ButtonSetMultiple.js +4 -4
- package/cjs/UNSAFE_ButtonSetSingle.js +4 -4
- package/cjs/UNSAFE_Card.js +5 -5
- package/cjs/UNSAFE_CardFlexView.js +22 -22
- package/cjs/UNSAFE_CardGridView.js +22 -22
- package/cjs/UNSAFE_Center.js +5 -5
- package/cjs/UNSAFE_ChartWithLegend.js +4 -4
- package/cjs/UNSAFE_Checkbox.js +23 -23
- package/cjs/UNSAFE_CheckboxItem.js +53 -104
- package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
- package/cjs/UNSAFE_CheckboxSet.js +67 -38
- package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_Chip.js +2 -2
- package/cjs/UNSAFE_Collapsible.js +18 -18
- package/cjs/UNSAFE_ComboChart.js +33 -33
- package/cjs/UNSAFE_ComponentMessage.js +19 -19
- package/cjs/UNSAFE_ConveyorBelt.js +16 -16
- package/cjs/UNSAFE_DatePicker.js +24 -24
- package/cjs/UNSAFE_Diagram.js +21 -21
- package/cjs/UNSAFE_Dialog.js +21 -21
- package/cjs/UNSAFE_DragHandle.js +18 -18
- package/cjs/UNSAFE_DrawerLayout.js +12 -12
- package/cjs/UNSAFE_DrawerPopup.js +11 -11
- package/cjs/UNSAFE_Dropdown.js +13 -13
- package/cjs/UNSAFE_Environment.js +4 -4
- package/cjs/UNSAFE_ExpandableList.js +23 -23
- package/cjs/UNSAFE_FilePicker.js +4 -4
- package/cjs/UNSAFE_Flex.js +4 -4
- package/cjs/UNSAFE_Floating.js +11 -11
- package/cjs/UNSAFE_FormLayout.js +2 -2
- package/cjs/UNSAFE_Gantt.js +23 -23
- package/cjs/UNSAFE_Grid.js +4 -4
- package/cjs/UNSAFE_HighlightText.js +4 -4
- package/cjs/UNSAFE_Icon.js +16 -16
- package/cjs/UNSAFE_IconButton.js +16 -16
- package/cjs/UNSAFE_IconMenuButton.js +21 -21
- package/cjs/UNSAFE_IconProgressButton.js +19 -19
- package/cjs/UNSAFE_IconToggleButton.js +16 -16
- package/cjs/UNSAFE_Indexer.js +6 -6
- package/cjs/UNSAFE_InputDateMask.js +24 -24
- package/cjs/UNSAFE_InputDatePicker.js +112 -112
- package/cjs/UNSAFE_InputPassword.js +23 -23
- package/cjs/UNSAFE_InputSensitiveText.js +25 -25
- package/cjs/UNSAFE_InputText.js +26 -26
- package/cjs/UNSAFE_InputTimeMask.js +24 -24
- package/cjs/UNSAFE_Label.js +23 -23
- package/cjs/UNSAFE_LabelValueLayout.js +4 -4
- package/cjs/UNSAFE_LabelledLink.js +24 -24
- package/cjs/UNSAFE_Layer.js +8 -8
- package/cjs/UNSAFE_Legend.js +24 -24
- package/cjs/UNSAFE_LineAreaChart.js +34 -34
- package/cjs/UNSAFE_Link.js +2 -2
- package/cjs/UNSAFE_ListItemLayout.js +5 -5
- package/cjs/UNSAFE_ListView.js +28 -28
- package/cjs/UNSAFE_LiveRegion.js +4 -4
- package/cjs/UNSAFE_Menu.js +23 -23
- package/cjs/UNSAFE_MenuButton.js +21 -21
- package/cjs/UNSAFE_MessageBanner.js +19 -19
- package/cjs/UNSAFE_MessageToast.js +22 -22
- package/cjs/UNSAFE_MeterBar.js +16 -16
- package/cjs/UNSAFE_MeterCircle.js +17 -17
- package/cjs/UNSAFE_Modal.js +8 -8
- package/cjs/UNSAFE_NavigationList.js +44 -42
- package/cjs/UNSAFE_NavigationList.js.map +1 -1
- package/cjs/UNSAFE_NavigationListCommon.js +71 -70
- package/cjs/UNSAFE_NavigationListCommon.js.map +1 -1
- package/cjs/UNSAFE_NumberInputText.js +25 -25
- package/cjs/UNSAFE_OverflowTabBar.js +52 -50
- package/cjs/UNSAFE_OverflowTabBar.js.map +1 -1
- package/cjs/UNSAFE_PictoChart.js +14 -14
- package/cjs/UNSAFE_PieChart/__test__/PieChart.spec.js +21 -21
- package/cjs/UNSAFE_PieChart.js +21 -21
- package/cjs/UNSAFE_Popup.js +16 -16
- package/cjs/UNSAFE_ProgressBar.js +5 -5
- package/cjs/UNSAFE_ProgressButton.js +19 -19
- package/cjs/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/cjs/UNSAFE_ProgressCircle.js +4 -4
- package/cjs/UNSAFE_RadioItem.js +23 -23
- package/cjs/UNSAFE_RadioSet.js +23 -23
- package/cjs/UNSAFE_RatingGauge.js +17 -17
- package/cjs/UNSAFE_ReorderableTabBar.js +48 -37
- package/cjs/UNSAFE_ReorderableTabBar.js.map +1 -1
- package/cjs/UNSAFE_RichCheckboxSet.js +37 -39
- package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_RichRadioSet.js +25 -25
- package/cjs/UNSAFE_RichSelectionItem.js +59 -197
- package/cjs/UNSAFE_RichSelectionItem.js.map +1 -1
- package/cjs/UNSAFE_ScatterChart.js +34 -34
- package/cjs/UNSAFE_SectionalLegend.js +25 -25
- package/cjs/UNSAFE_SelectMultiple.js +30 -30
- package/cjs/UNSAFE_SelectSingle.js +30 -30
- package/cjs/UNSAFE_SelectionCard.js +5 -5
- package/cjs/UNSAFE_Selector.js +16 -16
- package/cjs/UNSAFE_SelectorAll.js +20 -20
- package/cjs/UNSAFE_Sheet/__test__/Sheet.spec.js +14 -14
- package/cjs/UNSAFE_Sheet.js +11 -11
- package/cjs/UNSAFE_SplitMenuButton.js +21 -21
- package/cjs/UNSAFE_TabBar.js +52 -50
- package/cjs/UNSAFE_TabBar.js.map +1 -1
- package/cjs/UNSAFE_TabBarCommon.js +44 -42
- package/cjs/UNSAFE_TabBarCommon.js.map +1 -1
- package/cjs/UNSAFE_TabBarMixed.js +61 -59
- package/cjs/UNSAFE_TabBarMixed.js.map +1 -1
- package/cjs/UNSAFE_TableView.js +24 -24
- package/cjs/UNSAFE_TagCloud.js +23 -23
- package/cjs/UNSAFE_TextArea.js +25 -25
- package/cjs/UNSAFE_TextAreaAutosize.js +25 -25
- package/cjs/UNSAFE_TextField.js +7 -7
- package/cjs/UNSAFE_ToggleButton.js +3 -3
- package/cjs/UNSAFE_Toolbar/tests/Toolbar.spec.js +23 -23
- package/cjs/UNSAFE_Toolbar.js +4 -4
- package/cjs/UNSAFE_Train.js +17 -17
- package/cjs/UNSAFE_TruncatingBadge.js +18 -18
- package/cjs/UNSAFE_TruncatingText.js +17 -17
- package/cjs/UNSAFE_UserAssistance.js +24 -24
- package/cjs/UNSAFE_View.js +7 -7
- package/cjs/UNSAFE_VirtualizedListView.js +20 -20
- package/cjs/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
- package/cjs/UNSAFE_VisProgressiveLoader.js +6 -6
- package/cjs/UNSAFE_VisStatusMessage.js +6 -6
- package/cjs/UNSAFE_WindowOverlay.js +4 -4
- package/cjs/View-5930179e.js +170 -0
- package/cjs/View-5930179e.js.map +1 -0
- package/cjs/VisNoData-5b2aa6a2.js +35 -0
- package/cjs/VisNoData-5b2aa6a2.js.map +1 -0
- package/cjs/VisProgressiveLoader-dacfe618.js +53 -0
- package/cjs/VisProgressiveLoader-dacfe618.js.map +1 -0
- package/cjs/VisTabularDatatip-eca8aa8f.js +26 -0
- package/cjs/VisTabularDatatip-eca8aa8f.js.map +1 -0
- package/cjs/WindowOverlay-06408f56.js +112 -0
- package/cjs/WindowOverlay-06408f56.js.map +1 -0
- package/cjs/YearsGridView-ce8739b3.js +190 -0
- package/cjs/YearsGridView-ce8739b3.js.map +1 -0
- package/cjs/hoc/PRIVATE_withDirectionIcon.js +4 -4
- package/cjs/hoc/PRIVATE_withThemeIcon.js +3 -3
- package/cjs/hoc/UNSAFE_withThemeProps.js +3 -3
- package/cjs/hooks/PRIVATE_useChartContextMenu.js +20 -20
- package/cjs/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/cjs/hooks/PRIVATE_useChartEvents.js +18 -18
- package/cjs/hooks/PRIVATE_useChartMarquee.js +18 -18
- package/cjs/hooks/PRIVATE_useCssVars.js +7 -7
- package/cjs/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/cjs/hooks/PRIVATE_useDatatip.js +12 -12
- package/cjs/hooks/PRIVATE_useFloating.js +4 -4
- package/cjs/hooks/PRIVATE_useReorderable.js +5 -5
- package/cjs/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/cjs/hooks/PRIVATE_useSelection.js +4 -4
- package/cjs/hooks/PRIVATE_useTabBar.js +4 -4
- package/cjs/hooks/PRIVATE_useVisContextMenu.js +20 -20
- package/cjs/hooks/PRIVATE_useVisDragModeControls.js +18 -18
- package/cjs/hooks/PRIVATE_useVisEvents.js +4 -4
- package/cjs/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/cjs/hooks/PRIVATE_useVisSelection.js +13 -13
- package/cjs/hooks/UNSAFE_useColorScheme.js +3 -3
- package/cjs/hooks/UNSAFE_useCurrentBgColor.js +3 -3
- package/cjs/hooks/UNSAFE_useDensity.js +3 -3
- package/cjs/hooks/UNSAFE_useOutsideClick.js +8 -8
- package/cjs/hooks/UNSAFE_usePrefixSuffix.js +4 -4
- package/cjs/hooks/UNSAFE_useScale.js +3 -3
- package/cjs/hooks/UNSAFE_useTestId.js +3 -3
- package/cjs/hooks/UNSAFE_useTheme.js +3 -3
- package/cjs/hooks/UNSAFE_useThemeInterpolations.js +6 -6
- package/cjs/hooks/UNSAFE_useTooltip.js +17 -17
- package/cjs/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/cjs/hooks/UNSAFE_useUser.js +3 -3
- package/cjs/index-ce6f9627.js +13 -0
- package/cjs/index-ce6f9627.js.map +1 -0
- package/cjs/listViewSelectionTests-858bb12a.js +3 -3
- package/cjs/render-9767e967.js +41 -0
- package/cjs/render-9767e967.js.map +1 -0
- package/cjs/tabbableUtils-a38b7148.js +81 -0
- package/cjs/tabbableUtils-a38b7148.js.map +1 -0
- package/cjs/testData-7439df49.js +271 -0
- package/cjs/testData-7439df49.js.map +1 -0
- package/cjs/tooltipUtils-669c2ae0.js +97 -0
- package/cjs/tooltipUtils-669c2ae0.js.map +1 -0
- package/cjs/useCellNavigation-e0d4af91.js +1 -1
- package/cjs/useChartContextMenu-d114824a.js +2 -2
- package/cjs/useChartDatatip-c6107d63.js +166 -0
- package/cjs/useChartDatatip-c6107d63.js.map +1 -0
- package/cjs/useColorScheme-ce2a88b1.js +21 -0
- package/cjs/useColorScheme-ce2a88b1.js.map +1 -0
- package/cjs/useContextMenu-3ebf8f80.js +2 -2
- package/cjs/useCssVars-bd95e715.js +60 -0
- package/cjs/useCssVars-bd95e715.js.map +1 -0
- package/cjs/useCurrentBgColor-6e39eb3a.js +21 -0
- package/cjs/useCurrentBgColor-6e39eb3a.js.map +1 -0
- package/cjs/useCurrentKey-88495da2.js +83 -0
- package/cjs/useCurrentKey-88495da2.js.map +1 -0
- package/cjs/useDatatip-83ab0540.js +89 -0
- package/cjs/useDatatip-83ab0540.js.map +1 -0
- package/cjs/useDensity-1f8cc921.js +21 -0
- package/cjs/useDensity-1f8cc921.js.map +1 -0
- package/cjs/useFloating-480d365a.js +1926 -0
- package/cjs/useFloating-480d365a.js.map +1 -0
- package/cjs/useKeyboardEvents-5e808fe3.js +81 -0
- package/cjs/useKeyboardEvents-5e808fe3.js.map +1 -0
- package/cjs/useLegendContextMenu-82be007a.js +4 -4
- package/cjs/useMeterDatatip-641afcc6.js +77 -0
- package/cjs/useMeterDatatip-641afcc6.js.map +1 -0
- package/cjs/useNavigationListItem-ae481fdc.js +85 -0
- package/cjs/useNavigationListItem-ae481fdc.js.map +1 -0
- package/cjs/useOutsideClick-03a6c38c.js +103 -0
- package/cjs/useOutsideClick-03a6c38c.js.map +1 -0
- package/cjs/usePopupAnimation-2afacc4b.js +87 -0
- package/cjs/usePopupAnimation-2afacc4b.js.map +1 -0
- package/cjs/usePrefixSuffix-23341de3.js +72 -0
- package/cjs/usePrefixSuffix-23341de3.js.map +1 -0
- package/cjs/useReorderableItem-0dbb8843.js +271 -0
- package/cjs/useReorderableItem-0dbb8843.js.map +1 -0
- package/cjs/useRovingTabIndexContainer-dc12b802.js +100 -0
- package/cjs/useRovingTabIndexContainer-dc12b802.js.map +1 -0
- package/cjs/useScale-a681a5cb.js +21 -0
- package/cjs/useScale-a681a5cb.js.map +1 -0
- package/cjs/useSelectCommon-7f7b44d1.js +11 -11
- package/cjs/useSelectDrill-b8d4eee2.js +106 -0
- package/cjs/useSelectDrill-b8d4eee2.js.map +1 -0
- package/cjs/useSelection-228ef3ce.js +241 -0
- package/cjs/useSelection-228ef3ce.js.map +1 -0
- package/cjs/useSelection-6386b3f2.js +187 -0
- package/cjs/useSelection-6386b3f2.js.map +1 -0
- package/cjs/useTabBar-048ffd9f.js +1 -1
- package/cjs/useTestId-5e6af45d.js +23 -0
- package/cjs/useTestId-5e6af45d.js.map +1 -0
- package/cjs/useTheme-8fb5546b.js +21 -0
- package/cjs/useTheme-8fb5546b.js.map +1 -0
- package/cjs/useThemeInterpolations-28ca9a13.js +59 -0
- package/cjs/useThemeInterpolations-28ca9a13.js.map +1 -0
- package/cjs/useTooltip-81b7b753.js +51 -0
- package/cjs/useTooltip-81b7b753.js.map +1 -0
- package/cjs/useTooltipControlled-33832163.js +371 -0
- package/cjs/useTooltipControlled-33832163.js.map +1 -0
- package/cjs/useTranslationBundle-51f4c22c.js +31 -0
- package/cjs/useTranslationBundle-51f4c22c.js.map +1 -0
- package/cjs/useUser-a4bfc560.js +21 -0
- package/cjs/useUser-a4bfc560.js.map +1 -0
- package/cjs/useVisDragModeControls-d1757f87.js +1 -1
- package/cjs/useVisEvents-e48065f4.js +155 -0
- package/cjs/useVisEvents-e48065f4.js.map +1 -0
- package/cjs/utils/PRIVATE_tooltipUtils.js +14 -14
- package/cjs/utils/PRIVATE_visTestUtils.js +5 -5
- package/cjs/withDirectionIcon-1affce30.js +16 -0
- package/cjs/withDirectionIcon-1affce30.js.map +1 -0
- package/cjs/withThemeProps-6e15f1c3.js +2 -2
- package/es/ActionCard-e64b1771.js +1 -1
- package/es/BarChart-2a994aa9.js +179 -0
- package/es/BarChart-2a994aa9.js.map +1 -0
- package/es/BarGroup-740cd159.js +1 -1
- package/es/BaseButton-685bec17.js +2 -2
- package/es/BaseCardView-c5a8ee6a.js +7 -7
- package/es/BaseCardViewSelectionTest-cd1ea539.js +721 -0
- package/es/BaseCardViewSelectionTest-cd1ea539.js.map +1 -0
- package/es/BaseNavigationListItem-530bc3df.js +1 -1
- package/es/BaseRichSelection-1aaeab44.js +8 -8
- package/es/ButtonSet-51dcff96.js +2 -2
- package/es/ButtonSetIconButton-ead6566c.js +3 -3
- package/es/Card-44b7de2f.js +15 -0
- package/es/Card-44b7de2f.js.map +1 -0
- package/es/Center-8b48ab02.js +16 -0
- package/es/Center-8b48ab02.js.map +1 -0
- package/es/Chart-9dc97d8d.js +449 -0
- package/es/Chart-9dc97d8d.js.map +1 -0
- package/es/CheckboxControl-1692a8d6.js +6 -6
- package/es/CheckboxRadioField-99df3ba3.js +6 -6
- package/es/Chip-8554d3ff.js +1 -1
- package/es/ClearIcon-7af86099.js +1 -1
- package/es/CollapseIcon-4e943f42.js +1 -1
- package/es/Collapsible-cb2ba356.js +2 -2
- package/es/ComboChart-59ad85f7.js +172 -0
- package/es/ComboChart-59ad85f7.js.map +1 -0
- package/es/CompactHelpSource-9c0d4cb4.js +2 -2
- package/es/CompactLabelAssistance-6a627bbb.js +34 -0
- package/es/CompactLabelAssistance-6a627bbb.js.map +1 -0
- package/es/CompactUserAssistance-23347994.js +4 -4
- package/es/ComponentMessageContainer-35005056.js +4 -4
- package/es/ConveyorBeltItem-9ae80a84.js +2 -2
- package/es/DatePicker-32a62e73.js +564 -0
- package/es/DatePicker-32a62e73.js.map +1 -0
- package/es/DatePickerHeader-1710c19d.js +3 -3
- package/es/Diagram-02d6a0e9.js +2026 -0
- package/es/Diagram-02d6a0e9.js.map +1 -0
- package/es/Dialog-ded776a5.js +316 -0
- package/es/Dialog-ded776a5.js.map +1 -0
- package/es/DirectionalCollapseArrowIcon-daafb64c.js +1 -1
- package/es/DirectionalExpandArrowIcon-35def552.js +1 -1
- package/es/DragHandle-d3a739f5.js +22 -0
- package/es/DragHandle-d3a739f5.js.map +1 -0
- package/es/Dropdown-f0cdaeae.js +80 -0
- package/es/Dropdown-f0cdaeae.js.map +1 -0
- package/es/EnvironmentProvider-0fc2fd0c.js +58 -0
- package/es/EnvironmentProvider-0fc2fd0c.js.map +1 -0
- package/es/ExpandableList-8e169e46.js +167 -0
- package/es/ExpandableList-8e169e46.js.map +1 -0
- package/es/FilePicker-ecfad7d4.js +2 -2
- package/es/Flex-8696b27b.js +30 -0
- package/es/Flex-8696b27b.js.map +1 -0
- package/es/Floating-9bf456f9.js +462 -0
- package/es/Floating-9bf456f9.js.map +1 -0
- package/es/FormLayout-2efb00f6.js +1 -1
- package/es/Gantt-8b4d8f6e.js +9 -9
- package/es/Grid-7fd29a9e.js +27 -0
- package/es/Grid-7fd29a9e.js.map +1 -0
- package/es/Gridlines-5ac89a84.js +168 -0
- package/es/Gridlines-5ac89a84.js.map +1 -0
- package/es/GroupLoadingIndicator-63035d08.js +1 -1
- package/es/HighlightText-cc043982.js +31 -0
- package/es/HighlightText-cc043982.js.map +1 -0
- package/es/Icon-bdd49f29.js +3 -3
- package/es/IconButton-aed90302.js +3 -3
- package/es/IconMenuButton-772bdb3a.js +3 -3
- package/es/IconProgressButton-68f9bf65.js +3 -3
- package/es/IconSwitchButton-a8ccf655.js +3 -3
- package/es/IconToggleButton-a61a7d3c.js +3 -3
- package/es/IconUserAssistance-627f9d18.js +73 -0
- package/es/IconUserAssistance-627f9d18.js.map +1 -0
- package/es/Indexer-ba2c7593.js +4 -4
- package/es/InlineHelpSource-fcdcd122.js +1 -1
- package/es/InlineUserAssistance-87a0bc0e.js +5 -5
- package/es/InputDateMask-4b69db8b.js +7 -7
- package/es/InputDatePicker-bf961886.js +307 -0
- package/es/InputDatePicker-bf961886.js.map +1 -0
- package/es/InputPassword-4cc85d0a.js +4 -4
- package/es/InputText-224403da.js +6 -6
- package/es/Label-4f24dcde.js +5 -5
- package/es/LabelValueLayout-cc11e8ca.js +1 -1
- package/es/Layer-12a734d1.js +88 -0
- package/es/Layer-12a734d1.js.map +1 -0
- package/es/LayerHost-15b42a3e.js +40 -0
- package/es/LayerHost-15b42a3e.js.map +1 -0
- package/es/LayerManager-af39e736.js +34 -0
- package/es/LayerManager-af39e736.js.map +1 -0
- package/es/Legend-588633b2.js +3 -3
- package/es/LineAreaChart-5ca41d3b.js +170 -0
- package/es/LineAreaChart-5ca41d3b.js.map +1 -0
- package/es/LineSeries-ca5836e7.js +109 -0
- package/es/LineSeries-ca5836e7.js.map +1 -0
- package/es/Link-e405608b.js +1 -1
- package/es/List-97b7be70.js +5 -5
- package/es/ListItemLayout-e87958e3.js +110 -0
- package/es/ListItemLayout-e87958e3.js.map +1 -0
- package/es/ListView-936d8a4f.js +3 -3
- package/es/LiveRegion-cb4f8a54.js +39 -0
- package/es/LiveRegion-cb4f8a54.js.map +1 -0
- package/es/MaxLengthLiveRegion-59087064.js +23 -0
- package/es/MaxLengthLiveRegion-59087064.js.map +1 -0
- package/es/Menu-a37635b8.js +6 -6
- package/es/MenuButton-93a1b6b0.js +2 -2
- package/es/MenuItem-831dfd05.js +1 -1
- package/es/Message-dd158e41.js +2 -2
- package/es/MessageLayer-8bed437a.js +58 -0
- package/es/MessageLayer-8bed437a.js.map +1 -0
- package/es/MessageToast-73458c48.js +8 -8
- package/es/MessagesManager-9dd3eb3d.js +3 -3
- package/es/MeterBar-551d32db.js +5 -5
- package/es/MeterCircle-5e2ee267.js +5 -5
- package/es/Modal-103da2aa.js +262 -0
- package/es/Modal-103da2aa.js.map +1 -0
- package/es/MonthView-395c5a6a.js +208 -0
- package/es/MonthView-395c5a6a.js.map +1 -0
- package/es/NavigationListItem-5b25b2f5.js +5 -5
- package/es/NumberInputText-c74048e0.js +6 -6
- package/es/OverflowTabBarItem-b18631ad.js +3 -3
- package/es/PRIVATE_BaseCardView.js +22 -22
- package/es/PRIVATE_Chart.js +35 -35
- package/es/PRIVATE_CheckboxControl.js +23 -23
- package/es/PRIVATE_CheckboxRadioField.js +24 -24
- package/es/PRIVATE_ClearIcon.js +18 -18
- package/es/PRIVATE_DatePickerHeader.js +19 -19
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +3 -3
- package/es/PRIVATE_FormControls.js +19 -19
- package/es/PRIVATE_IconSwitchButton.js +16 -16
- package/es/PRIVATE_Icons/CheckboxMixed.js +16 -16
- package/es/PRIVATE_Icons/CheckboxOff.js +16 -16
- package/es/PRIVATE_Icons/CheckboxOn.js +16 -16
- package/es/PRIVATE_Icons/DragV.js +16 -16
- package/es/PRIVATE_Icons/WarningS.js +16 -16
- package/es/PRIVATE_List.js +20 -20
- package/es/PRIVATE_Message.js +19 -19
- package/es/PRIVATE_MessageLayer.js +12 -12
- package/es/PRIVATE_MonthView.js +7 -7
- package/es/PRIVATE_MonthYearGridView.js +7 -7
- package/es/PRIVATE_PlotArea.js +4 -4
- package/es/PRIVATE_RevealToggleIcon.js +17 -17
- package/es/PRIVATE_RichSelectionCommon.js +25 -25
- package/es/PRIVATE_SelectCommon.js +28 -28
- package/es/PRIVATE_StyledCard.js +4 -4
- package/es/PRIVATE_StyledCheckbox.js +16 -16
- package/es/PRIVATE_Table.js +24 -24
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
- package/es/PRIVATE_TimeComponent.js +18 -18
- package/es/PRIVATE_VisOverview.js +16 -16
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-9d78c57d.js +6 -6
- package/es/PieChart-ca02932e.js +6 -6
- package/es/Popup-6c3f0839.js +247 -0
- package/es/Popup-6c3f0839.js.map +1 -0
- package/es/ProgressBar-95461222.js +62 -0
- package/es/ProgressBar-95461222.js.map +1 -0
- package/es/ProgressButton-30ae971f.js +3 -3
- package/es/ProgressButtonLabelLayout-bfc7c805.js +3 -3
- package/es/ProgressCircle-93c309cb.js +48 -0
- package/es/ProgressCircle-93c309cb.js.map +1 -0
- package/es/RadioItem-4196378c.js +6 -6
- package/es/RatingGauge-5346d0bf.js +7 -7
- package/es/ReadonlyTextFieldInput-a15badb6.js +1 -1
- package/es/RemovableNavigationListItem-5a558e58.js +1 -1
- package/es/RemovableTabBarItem-2250a150.js +2 -2
- package/es/ReorderableTabBar-b9019d0a.js +3 -3
- package/es/RevealToggleIcon-c76245fd.js +1 -1
- package/es/ScatterChart-829b9755.js +103 -0
- package/es/ScatterChart-829b9755.js.map +1 -0
- package/es/SectionalLegend-c71d48a3.js +4 -4
- package/es/SectionedContent-3fd063af.js +64 -0
- package/es/SectionedContent-3fd063af.js.map +1 -0
- package/es/SelectMultiple-3c145646.js +1304 -0
- package/es/SelectMultiple-3c145646.js.map +1 -0
- package/es/SelectSingle-c4761455.js +7 -7
- package/es/SelectionCard-1f8585cb.js +16 -0
- package/es/SelectionCard-1f8585cb.js.map +1 -0
- package/es/Selector-5892544f.js +1 -1
- package/es/SelectorAll-e833da6d.js +69 -0
- package/es/SelectorAll-e833da6d.js.map +1 -0
- package/es/Sheet-0861fcc0.js +158 -0
- package/es/Sheet-0861fcc0.js.map +1 -0
- package/es/SplitMenuButton-afa523a8.js +2 -2
- package/es/StyledCard-f5965d6d.js +105 -0
- package/es/StyledCard-f5965d6d.js.map +1 -0
- package/es/StyledTextField-fba62818.js +3 -3
- package/es/TabBar-fb7f97d2.js +5 -5
- package/es/TabBarItem-252cba76.js +3 -3
- package/es/TabBarLayout-8caaa060.js +1 -1
- package/es/TabBarMixed-f60c2c7a.js +5 -5
- package/es/TabBarMixedSeparator-da56f4c0.js +19 -0
- package/es/TabBarMixedSeparator-da56f4c0.js.map +1 -0
- package/es/Table-39429460.js +9 -9
- package/es/TagCloud-ef087101.js +8 -8
- package/es/TextArea-e9bcb623.js +5 -5
- package/es/TextAreaAutosize-3b559450.js +5 -5
- package/es/TextField-1120a3c4.js +3 -3
- package/es/TextFieldInput-3c2e920d.js +1 -1
- package/es/Theme-redwood/theme.css +442 -442
- package/es/Theme-stable/theme.css +1104 -1104
- package/es/TimeComponentCanvas2D-73b0b592.js +5 -5
- package/es/Toolbar-7676795b.js +1 -1
- package/es/TruncatingBadge-b69c1ceb.js +34 -0
- package/es/TruncatingBadge-b69c1ceb.js.map +1 -0
- package/es/TruncatingText-68acfafd.js +48 -0
- package/es/TruncatingText-68acfafd.js.map +1 -0
- 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 +16 -16
- package/es/UNSAFE_ButtonSetItem.js +16 -16
- package/es/UNSAFE_ButtonSetMultiple.js +4 -4
- package/es/UNSAFE_ButtonSetSingle.js +4 -4
- package/es/UNSAFE_Card.js +5 -5
- package/es/UNSAFE_CardFlexView.js +22 -22
- package/es/UNSAFE_CardGridView.js +22 -22
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_ChartWithLegend.js +4 -4
- package/es/UNSAFE_Checkbox.js +23 -23
- package/es/UNSAFE_CheckboxItem.js +24 -24
- package/es/UNSAFE_CheckboxSet.js +23 -23
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +18 -18
- package/es/UNSAFE_ComboChart.js +38 -38
- package/es/UNSAFE_ComponentMessage.js +19 -19
- package/es/UNSAFE_ConveyorBelt.js +16 -16
- package/es/UNSAFE_DatePicker.js +24 -24
- package/es/UNSAFE_Diagram.js +21 -21
- package/es/UNSAFE_Dialog.js +21 -21
- package/es/UNSAFE_DragHandle.js +18 -18
- package/es/UNSAFE_DrawerLayout.js +12 -12
- package/es/UNSAFE_DrawerPopup.js +11 -11
- package/es/UNSAFE_Dropdown.js +13 -13
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +65 -65
- package/es/UNSAFE_FilePicker.js +4 -4
- package/es/UNSAFE_Flex.js +4 -4
- package/es/UNSAFE_Floating.js +11 -11
- package/es/UNSAFE_FormLayout.js +2 -2
- package/es/UNSAFE_Gantt.js +23 -23
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +16 -16
- package/es/UNSAFE_IconButton.js +16 -16
- package/es/UNSAFE_IconMenuButton.js +21 -21
- package/es/UNSAFE_IconProgressButton.js +19 -19
- package/es/UNSAFE_IconToggleButton.js +16 -16
- package/es/UNSAFE_Indexer.js +6 -6
- package/es/UNSAFE_InputDateMask.js +24 -24
- package/es/UNSAFE_InputDatePicker.js +113 -113
- package/es/UNSAFE_InputPassword.js +23 -23
- package/es/UNSAFE_InputSensitiveText.js +25 -25
- package/es/UNSAFE_InputText.js +26 -26
- package/es/UNSAFE_InputTimeMask.js +24 -24
- package/es/UNSAFE_Label.js +23 -23
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +24 -24
- package/es/UNSAFE_Layer.js +8 -8
- package/es/UNSAFE_Legend.js +24 -24
- 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 +28 -28
- 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 +19 -19
- package/es/UNSAFE_MessageToast.js +22 -22
- package/es/UNSAFE_MeterBar.js +16 -16
- package/es/UNSAFE_MeterCircle.js +17 -17
- package/es/UNSAFE_Modal.js +8 -8
- package/es/UNSAFE_NavigationList.js +20 -20
- package/es/UNSAFE_NavigationListCommon.js +18 -18
- package/es/UNSAFE_NumberInputText.js +25 -25
- package/es/UNSAFE_OverflowTabBar.js +24 -24
- package/es/UNSAFE_PictoChart.js +14 -14
- package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +21 -21
- package/es/UNSAFE_PieChart.js +21 -21
- package/es/UNSAFE_Popup.js +16 -16
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +19 -19
- 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 +23 -23
- package/es/UNSAFE_RatingGauge.js +17 -17
- package/es/UNSAFE_ReorderableTabBar.js +24 -24
- package/es/UNSAFE_RichCheckboxSet.js +25 -25
- package/es/UNSAFE_RichRadioSet.js +25 -25
- package/es/UNSAFE_RichSelectionItem.js +27 -27
- package/es/UNSAFE_ScatterChart.js +38 -38
- package/es/UNSAFE_SectionalLegend.js +25 -25
- package/es/UNSAFE_SelectMultiple.js +32 -32
- package/es/UNSAFE_SelectSingle.js +30 -30
- package/es/UNSAFE_SelectionCard.js +5 -5
- package/es/UNSAFE_Selector.js +16 -16
- package/es/UNSAFE_SelectorAll.js +20 -20
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +14 -14
- package/es/UNSAFE_Sheet.js +11 -11
- package/es/UNSAFE_SplitMenuButton.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 +24 -24
- package/es/UNSAFE_TagCloud.js +23 -23
- package/es/UNSAFE_TextArea.js +25 -25
- package/es/UNSAFE_TextAreaAutosize.js +25 -25
- package/es/UNSAFE_TextField.js +7 -7
- package/es/UNSAFE_ToggleButton.js +3 -3
- package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +24 -24
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +17 -17
- package/es/UNSAFE_TruncatingBadge.js +18 -18
- package/es/UNSAFE_TruncatingText.js +17 -17
- package/es/UNSAFE_UserAssistance.js +24 -24
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +20 -20
- 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-63980a9b.js +167 -0
- package/es/View-63980a9b.js.map +1 -0
- package/es/VisNoData-02cab8f6.js +32 -0
- package/es/VisNoData-02cab8f6.js.map +1 -0
- package/es/VisProgressiveLoader-2b2103c8.js +51 -0
- package/es/VisProgressiveLoader-2b2103c8.js.map +1 -0
- package/es/VisTabularDatatip-2ae7ee48.js +24 -0
- package/es/VisTabularDatatip-2ae7ee48.js.map +1 -0
- package/es/WindowOverlay-9b43e658.js +110 -0
- package/es/WindowOverlay-9b43e658.js.map +1 -0
- package/es/YearsGridView-23ef4ced.js +187 -0
- package/es/YearsGridView-23ef4ced.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 +20 -20
- package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/es/hooks/PRIVATE_useChartEvents.js +18 -18
- package/es/hooks/PRIVATE_useChartMarquee.js +18 -18
- package/es/hooks/PRIVATE_useCssVars.js +7 -7
- package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/es/hooks/PRIVATE_useDatatip.js +12 -12
- package/es/hooks/PRIVATE_useFloating.js +4 -4
- package/es/hooks/PRIVATE_useReorderable.js +5 -5
- package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/es/hooks/PRIVATE_useSelection.js +4 -4
- package/es/hooks/PRIVATE_useTabBar.js +4 -4
- package/es/hooks/PRIVATE_useVisContextMenu.js +20 -20
- package/es/hooks/PRIVATE_useVisDragModeControls.js +18 -18
- package/es/hooks/PRIVATE_useVisEvents.js +4 -4
- package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/es/hooks/PRIVATE_useVisSelection.js +13 -13
- package/es/hooks/UNSAFE_useColorScheme.js +3 -3
- package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
- package/es/hooks/UNSAFE_useDensity.js +3 -3
- package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
- package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
- package/es/hooks/UNSAFE_useScale.js +3 -3
- package/es/hooks/UNSAFE_useTestId.js +3 -3
- package/es/hooks/UNSAFE_useTheme.js +3 -3
- package/es/hooks/UNSAFE_useThemeInterpolations.js +6 -6
- package/es/hooks/UNSAFE_useTooltip.js +17 -17
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/index-20f848bc.js +11 -0
- package/es/index-20f848bc.js.map +1 -0
- package/es/listViewSelectionTests-79aa17b2.js +3 -3
- package/es/render-2b908d4f.js +34 -0
- package/es/render-2b908d4f.js.map +1 -0
- package/es/tabbableUtils-20bbaf8d.js +79 -0
- package/es/tabbableUtils-20bbaf8d.js.map +1 -0
- package/es/testData-70bebfae.js +256 -0
- package/es/testData-70bebfae.js.map +1 -0
- package/es/tooltipUtils-38192add.js +92 -0
- package/es/tooltipUtils-38192add.js.map +1 -0
- package/es/useCellNavigation-75c62516.js +1 -1
- package/es/useChartContextMenu-121a5f6d.js +2 -2
- package/es/useChartDatatip-977bc33d.js +164 -0
- package/es/useChartDatatip-977bc33d.js.map +1 -0
- package/es/useColorScheme-d8a80e2b.js +19 -0
- package/es/useColorScheme-d8a80e2b.js.map +1 -0
- package/es/useContextMenu-8c47333e.js +2 -2
- package/es/useCssVars-8e6932f8.js +58 -0
- package/es/useCssVars-8e6932f8.js.map +1 -0
- package/es/useCurrentBgColor-5418492b.js +19 -0
- package/es/useCurrentBgColor-5418492b.js.map +1 -0
- package/es/useCurrentKey-63f6afcc.js +81 -0
- package/es/useCurrentKey-63f6afcc.js.map +1 -0
- package/es/useDatatip-bce558e2.js +87 -0
- package/es/useDatatip-bce558e2.js.map +1 -0
- package/es/useDensity-64ecb649.js +19 -0
- package/es/useDensity-64ecb649.js.map +1 -0
- package/es/useFloating-41d21e7d.js +1916 -0
- package/es/useFloating-41d21e7d.js.map +1 -0
- package/es/useKeyboardEvents-5c311766.js +78 -0
- package/es/useKeyboardEvents-5c311766.js.map +1 -0
- package/es/useLegendContextMenu-1043d63c.js +4 -4
- package/es/useMeterDatatip-5268869e.js +74 -0
- package/es/useMeterDatatip-5268869e.js.map +1 -0
- package/es/useOutsideClick-8a582d08.js +101 -0
- package/es/useOutsideClick-8a582d08.js.map +1 -0
- package/es/usePopupAnimation-e2e6a2ca.js +85 -0
- package/es/usePopupAnimation-e2e6a2ca.js.map +1 -0
- package/es/usePrefixSuffix-435a9c59.js +70 -0
- package/es/usePrefixSuffix-435a9c59.js.map +1 -0
- package/es/useReorderableItem-96616318.js +268 -0
- package/es/useReorderableItem-96616318.js.map +1 -0
- package/es/useRovingTabIndexContainer-9afe3ee0.js +98 -0
- package/es/useRovingTabIndexContainer-9afe3ee0.js.map +1 -0
- package/es/useScale-c86ecc6e.js +19 -0
- package/es/useScale-c86ecc6e.js.map +1 -0
- package/es/useSelectCommon-573611ca.js +11 -11
- package/es/useSelectDrill-776e616b.js +103 -0
- package/es/useSelectDrill-776e616b.js.map +1 -0
- package/es/useSelection-40f44970.js +185 -0
- package/es/useSelection-40f44970.js.map +1 -0
- package/es/useSelection-879c64aa.js +239 -0
- package/es/useSelection-879c64aa.js.map +1 -0
- package/es/useTabBar-efad9075.js +1 -1
- package/es/useTestId-3bc3958c.js +21 -0
- package/es/useTestId-3bc3958c.js.map +1 -0
- package/es/useTheme-4b0f211c.js +19 -0
- package/es/useTheme-4b0f211c.js.map +1 -0
- package/es/useThemeInterpolations-8bee52ac.js +57 -0
- package/es/useThemeInterpolations-8bee52ac.js.map +1 -0
- package/es/useTooltip-98b6d3b5.js +49 -0
- package/es/useTooltip-98b6d3b5.js.map +1 -0
- package/es/useTooltipControlled-b565c75b.js +368 -0
- package/es/useTooltipControlled-b565c75b.js.map +1 -0
- package/es/useTranslationBundle-98df6291.js +29 -0
- package/es/useTranslationBundle-98df6291.js.map +1 -0
- package/es/useUser-a15426fc.js +19 -0
- package/es/useUser-a15426fc.js.map +1 -0
- package/es/useVisDragModeControls-228408bf.js +1 -1
- package/es/useVisEvents-7d4753c4.js +153 -0
- package/es/useVisEvents-7d4753c4.js.map +1 -0
- package/es/utils/PRIVATE_tooltipUtils.js +14 -14
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/withDirectionIcon-90d7c798.js +14 -0
- package/es/withDirectionIcon-90d7c798.js.map +1 -0
- package/es/withThemeProps-6545df54.js +2 -2
- package/package.json +2 -2
- package/amd/BaseCardView-ab799b69.js +0 -2
- package/amd/BaseCardView-ab799b69.js.map +0 -1
- package/amd/BaseCardViewSelectionTest-59b13d8a.js +0 -2
- package/amd/BaseCardViewSelectionTest-59b13d8a.js.map +0 -1
- package/amd/Card-8e081def.js +0 -2
- package/amd/Card-8e081def.js.map +0 -1
- package/amd/CardFlexView-296f97f5.js +0 -2
- package/amd/CardFlexView-296f97f5.js.map +0 -1
- package/amd/CardGridView-054ffc3f.js +0 -2
- package/amd/CardGridView-054ffc3f.js.map +0 -1
- package/amd/Center-9ec5524e.js +0 -2
- package/amd/Center-9ec5524e.js.map +0 -1
- package/amd/CompactLabelAssistance-c6928282.js +0 -2
- package/amd/CompactLabelAssistance-c6928282.js.map +0 -1
- package/amd/DatePicker-38c63bae.js +0 -2
- package/amd/DatePicker-38c63bae.js.map +0 -1
- package/amd/Diagram-99e1bdf7.js +0 -2
- package/amd/Diagram-99e1bdf7.js.map +0 -1
- package/amd/Dialog-5315fe93.js +0 -2
- package/amd/Dialog-5315fe93.js.map +0 -1
- package/amd/DragHandle-406d7f9a.js +0 -2
- package/amd/DragHandle-406d7f9a.js.map +0 -1
- package/amd/Dropdown-abcacf49.js +0 -2
- package/amd/Dropdown-abcacf49.js.map +0 -1
- package/amd/EnvironmentProvider-c0e1e39b.js +0 -2
- package/amd/EnvironmentProvider-c0e1e39b.js.map +0 -1
- package/amd/Flex-3421f0df.js +0 -2
- package/amd/Flex-3421f0df.js.map +0 -1
- package/amd/Floating-5d98c1ca.js +0 -2
- package/amd/Floating-5d98c1ca.js.map +0 -1
- package/amd/Grid-8911aa0f.js +0 -2
- package/amd/Grid-8911aa0f.js.map +0 -1
- package/amd/Gridlines-bef7bbfc.js +0 -2
- package/amd/Gridlines-bef7bbfc.js.map +0 -1
- package/amd/HighlightText-644bc74e.js +0 -2
- package/amd/HighlightText-644bc74e.js.map +0 -1
- package/amd/IconUserAssistance-37107cea.js +0 -2
- package/amd/IconUserAssistance-37107cea.js.map +0 -1
- package/amd/Indexer-1531dbc3.js +0 -2
- package/amd/Indexer-1531dbc3.js.map +0 -1
- package/amd/InputDatePicker-5282d0cf.js +0 -2
- package/amd/InputDatePicker-5282d0cf.js.map +0 -1
- package/amd/Layer-6f29b67f.js +0 -2
- package/amd/Layer-6f29b67f.js.map +0 -1
- package/amd/LayerHost-639b3284.js +0 -2
- package/amd/LayerHost-639b3284.js.map +0 -1
- package/amd/LayerManager-2972de92.js +0 -2
- package/amd/LayerManager-2972de92.js.map +0 -1
- package/amd/LineAreaChart-e7efe4e9.js +0 -2
- package/amd/LineAreaChart-e7efe4e9.js.map +0 -1
- package/amd/LineSeries-797d8d16.js +0 -2
- package/amd/LineSeries-797d8d16.js.map +0 -1
- package/amd/List-0b764e84.js +0 -2
- package/amd/List-0b764e84.js.map +0 -1
- package/amd/ListItemLayout-e0b2c71e.js +0 -2
- package/amd/ListItemLayout-e0b2c71e.js.map +0 -1
- package/amd/ListView-5bb45f81.js +0 -2
- package/amd/ListView-5bb45f81.js.map +0 -1
- package/amd/LiveRegion-9a362373.js +0 -2
- package/amd/LiveRegion-9a362373.js.map +0 -1
- package/amd/LoadMoreCollection-83413a59.js +0 -2
- package/amd/LoadMoreCollection-83413a59.js.map +0 -1
- package/amd/MaxLengthCounter-9a95922c.js +0 -2
- package/amd/MaxLengthCounter-9a95922c.js.map +0 -1
- package/amd/MaxLengthLiveRegion-bb956138.js +0 -2
- package/amd/MaxLengthLiveRegion-bb956138.js.map +0 -1
- package/amd/MessageLayer-8bac8c50.js +0 -2
- package/amd/MessageLayer-8bac8c50.js.map +0 -1
- package/amd/Modal-7bece8d5.js +0 -2
- package/amd/Modal-7bece8d5.js.map +0 -1
- package/amd/MonthView-d9f45ec9.js +0 -2
- package/amd/MonthView-d9f45ec9.js.map +0 -1
- package/amd/Popup-66e79afa.js +0 -2
- package/amd/Popup-66e79afa.js.map +0 -1
- package/amd/ProgressBar-e72c5a67.js +0 -2
- package/amd/ProgressBar-e72c5a67.js.map +0 -1
- package/amd/ProgressCircle-2b4ba9cd.js +0 -2
- package/amd/ProgressCircle-2b4ba9cd.js.map +0 -1
- package/amd/ScatterChart-7f15ecf1.js +0 -2
- package/amd/ScatterChart-7f15ecf1.js.map +0 -1
- package/amd/SectionedContent-19bef3cc.js +0 -2
- package/amd/SectionedContent-19bef3cc.js.map +0 -1
- package/amd/SelectMultiple-099f64ee.js +0 -2
- package/amd/SelectMultiple-099f64ee.js.map +0 -1
- package/amd/SelectSingle-8b04e449.js +0 -2
- package/amd/SelectSingle-8b04e449.js.map +0 -1
- package/amd/SelectionCard-13aac54a.js +0 -2
- package/amd/SelectionCard-13aac54a.js.map +0 -1
- package/amd/SelectorAll-1c889a9c.js +0 -2
- package/amd/SelectorAll-1c889a9c.js.map +0 -1
- package/amd/Sheet-0b58b0a5.js +0 -2
- package/amd/Sheet-0b58b0a5.js.map +0 -1
- package/amd/StyledCard-0da6f6b5.js +0 -2
- package/amd/StyledCard-0da6f6b5.js.map +0 -1
- package/amd/TabBarMixedSeparator-ed764207.js +0 -2
- package/amd/TabBarMixedSeparator-ed764207.js.map +0 -1
- package/amd/Table-b515d862.js +0 -2
- package/amd/Table-b515d862.js.map +0 -1
- package/amd/TableView-4f6a3685.js +0 -2
- package/amd/TableView-4f6a3685.js.map +0 -1
- package/amd/TextArea-5bee11c8.js +0 -2
- package/amd/TextArea-5bee11c8.js.map +0 -1
- package/amd/TextAreaAutosize-ac99cd39.js +0 -2
- package/amd/TextAreaAutosize-ac99cd39.js.map +0 -1
- package/amd/TruncatingBadge-7f66faaf.js +0 -2
- package/amd/TruncatingBadge-7f66faaf.js.map +0 -1
- package/amd/TruncatingText-69770aa9.js +0 -2
- package/amd/TruncatingText-69770aa9.js.map +0 -1
- package/amd/View-bd5c7fa7.js +0 -2
- package/amd/View-bd5c7fa7.js.map +0 -1
- package/amd/VirtualizedCollection-897516a5.js +0 -2
- package/amd/VirtualizedCollection-897516a5.js.map +0 -1
- package/amd/VirtualizedListView-cbe87ec2.js +0 -2
- package/amd/VirtualizedListView-cbe87ec2.js.map +0 -1
- package/amd/VisNoData-10983ace.js +0 -2
- package/amd/VisNoData-10983ace.js.map +0 -1
- package/amd/VisProgressiveLoader-06a60c8f.js +0 -2
- package/amd/VisProgressiveLoader-06a60c8f.js.map +0 -1
- package/amd/VisTabularDatatip-55bbd19f.js +0 -2
- package/amd/VisTabularDatatip-55bbd19f.js.map +0 -1
- package/amd/WindowOverlay-43c10424.js +0 -2
- package/amd/WindowOverlay-43c10424.js.map +0 -1
- package/amd/YearsGridView-24119d15.js +0 -2
- package/amd/YearsGridView-24119d15.js.map +0 -1
- package/amd/index-95227deb.js +0 -2
- package/amd/index-95227deb.js.map +0 -1
- package/amd/render-85c034d7.js +0 -2
- package/amd/render-85c034d7.js.map +0 -1
- package/amd/tabbableUtils-591fdc8d.js +0 -2
- package/amd/tabbableUtils-591fdc8d.js.map +0 -1
- package/amd/testData-02652eda.js +0 -2
- package/amd/testData-02652eda.js.map +0 -1
- package/amd/tooltipUtils-e5bdb734.js +0 -2
- package/amd/tooltipUtils-e5bdb734.js.map +0 -1
- package/amd/useChartDatatip-947eeffe.js +0 -2
- package/amd/useChartDatatip-947eeffe.js.map +0 -1
- package/amd/useColorScheme-443e7cc7.js +0 -2
- package/amd/useColorScheme-443e7cc7.js.map +0 -1
- package/amd/useCssVars-dc52806c.js +0 -2
- package/amd/useCssVars-dc52806c.js.map +0 -1
- package/amd/useCurrentBgColor-50142bd8.js +0 -2
- package/amd/useCurrentBgColor-50142bd8.js.map +0 -1
- package/amd/useCurrentKey-a993db56.js +0 -2
- package/amd/useCurrentKey-a993db56.js.map +0 -1
- package/amd/useDatatip-9942601b.js +0 -2
- package/amd/useDatatip-9942601b.js.map +0 -1
- package/amd/useDensity-f0f7ae9a.js +0 -2
- package/amd/useDensity-f0f7ae9a.js.map +0 -1
- package/amd/useFloating-bf8ed6cb.js +0 -2
- package/amd/useFloating-bf8ed6cb.js.map +0 -1
- package/amd/useKeyboardEvents-8ada7a1f.js +0 -2
- package/amd/useKeyboardEvents-8ada7a1f.js.map +0 -1
- package/amd/useMeterDatatip-173593b4.js +0 -2
- package/amd/useMeterDatatip-173593b4.js.map +0 -1
- package/amd/useOutsideClick-76c1ff6e.js +0 -2
- package/amd/useOutsideClick-76c1ff6e.js.map +0 -1
- package/amd/usePopupAnimation-6e53a0fe.js +0 -2
- package/amd/usePopupAnimation-6e53a0fe.js.map +0 -1
- package/amd/usePrefixSuffix-f7544e05.js +0 -2
- package/amd/usePrefixSuffix-f7544e05.js.map +0 -1
- package/amd/useReorderableItem-726c3c03.js +0 -2
- package/amd/useReorderableItem-726c3c03.js.map +0 -1
- package/amd/useRovingTabIndexContainer-473f7e43.js +0 -2
- package/amd/useRovingTabIndexContainer-473f7e43.js.map +0 -1
- package/amd/useScale-e311d35f.js +0 -2
- package/amd/useScale-e311d35f.js.map +0 -1
- package/amd/useSelectCommon-84c6abc8.js +0 -2
- package/amd/useSelectCommon-84c6abc8.js.map +0 -1
- package/amd/useSelectDrill-a123b2bb.js +0 -2
- package/amd/useSelectDrill-a123b2bb.js.map +0 -1
- package/amd/useSelection-4249360e.js +0 -2
- package/amd/useSelection-4249360e.js.map +0 -1
- package/amd/useSelection-6917f4a6.js +0 -2
- package/amd/useSelection-6917f4a6.js.map +0 -1
- package/amd/useTestId-b5cd4766.js +0 -2
- package/amd/useTestId-b5cd4766.js.map +0 -1
- package/amd/useTheme-a8334e06.js +0 -2
- package/amd/useTheme-a8334e06.js.map +0 -1
- package/amd/useThemeInterpolations-ab618dee.js +0 -2
- package/amd/useThemeInterpolations-ab618dee.js.map +0 -1
- package/amd/useTooltip-b43ad881.js +0 -2
- package/amd/useTooltip-b43ad881.js.map +0 -1
- package/amd/useTooltipControlled-ee3276de.js +0 -2
- package/amd/useTooltipControlled-ee3276de.js.map +0 -1
- package/amd/useTranslationBundle-d07d4b20.js +0 -2
- package/amd/useTranslationBundle-d07d4b20.js.map +0 -1
- package/amd/useUser-3ef25571.js +0 -2
- package/amd/useUser-3ef25571.js.map +0 -1
- package/amd/useVisEvents-dc86164f.js +0 -2
- package/amd/useVisEvents-dc86164f.js.map +0 -1
- package/amd/withDirectionIcon-74c39ee3.js +0 -2
- package/amd/withDirectionIcon-74c39ee3.js.map +0 -1
- package/cjs/BaseCardViewSelectionTest-78e3b29d.js +0 -734
- package/cjs/BaseCardViewSelectionTest-78e3b29d.js.map +0 -1
- package/cjs/BaseNavigationListItem-50e4c603.js +0 -123
- package/cjs/BaseNavigationListItem-50e4c603.js.map +0 -1
- package/cjs/Card-a0dadf5f.js +0 -17
- package/cjs/Card-a0dadf5f.js.map +0 -1
- package/cjs/Center-9f407cb2.js +0 -18
- package/cjs/Center-9f407cb2.js.map +0 -1
- package/cjs/CheckboxSet-4ce661dd.js +0 -53
- package/cjs/CheckboxSet-4ce661dd.js.map +0 -1
- package/cjs/CompactLabelAssistance-ec1e72af.js +0 -36
- package/cjs/CompactLabelAssistance-ec1e72af.js.map +0 -1
- package/cjs/DatePicker-07a2a630.js +0 -566
- package/cjs/DatePicker-07a2a630.js.map +0 -1
- package/cjs/Diagram-95e49f69.js +0 -2028
- package/cjs/Diagram-95e49f69.js.map +0 -1
- package/cjs/Dialog-770dd9cc.js +0 -318
- package/cjs/Dialog-770dd9cc.js.map +0 -1
- package/cjs/DragHandle-951c36ef.js +0 -24
- package/cjs/DragHandle-951c36ef.js.map +0 -1
- package/cjs/Dropdown-00e73e4d.js +0 -82
- package/cjs/Dropdown-00e73e4d.js.map +0 -1
- package/cjs/EnvironmentProvider-bfd5febc.js +0 -61
- package/cjs/EnvironmentProvider-bfd5febc.js.map +0 -1
- package/cjs/Flex-ce16a2fa.js +0 -33
- package/cjs/Flex-ce16a2fa.js.map +0 -1
- package/cjs/Floating-3a80c067.js +0 -464
- package/cjs/Floating-3a80c067.js.map +0 -1
- package/cjs/Grid-b8fadf4a.js +0 -29
- package/cjs/Grid-b8fadf4a.js.map +0 -1
- package/cjs/Gridlines-22c46764.js +0 -171
- package/cjs/Gridlines-22c46764.js.map +0 -1
- package/cjs/HighlightText-2061d12d.js +0 -33
- package/cjs/HighlightText-2061d12d.js.map +0 -1
- package/cjs/IconUserAssistance-3faf6a09.js +0 -75
- package/cjs/IconUserAssistance-3faf6a09.js.map +0 -1
- package/cjs/InputDatePicker-2c22f1b9.js +0 -309
- package/cjs/InputDatePicker-2c22f1b9.js.map +0 -1
- package/cjs/Layer-49394ca6.js +0 -91
- package/cjs/Layer-49394ca6.js.map +0 -1
- package/cjs/LayerHost-7182bfaf.js +0 -45
- package/cjs/LayerHost-7182bfaf.js.map +0 -1
- package/cjs/LayerManager-db087520.js +0 -36
- package/cjs/LayerManager-db087520.js.map +0 -1
- package/cjs/LineAreaChart-e14de938.js +0 -172
- package/cjs/LineAreaChart-e14de938.js.map +0 -1
- package/cjs/LineSeries-995be81c.js +0 -112
- package/cjs/LineSeries-995be81c.js.map +0 -1
- package/cjs/ListItemLayout-bc581097.js +0 -112
- package/cjs/ListItemLayout-bc581097.js.map +0 -1
- package/cjs/LiveRegion-3bc583c6.js +0 -41
- package/cjs/LiveRegion-3bc583c6.js.map +0 -1
- package/cjs/MaxLengthLiveRegion-5e31c44e.js +0 -25
- package/cjs/MaxLengthLiveRegion-5e31c44e.js.map +0 -1
- package/cjs/MessageLayer-fc21a223.js +0 -61
- package/cjs/MessageLayer-fc21a223.js.map +0 -1
- package/cjs/Modal-76b3a4d9.js +0 -264
- package/cjs/Modal-76b3a4d9.js.map +0 -1
- package/cjs/MonthView-39f99ada.js +0 -210
- package/cjs/MonthView-39f99ada.js.map +0 -1
- package/cjs/NavigationListItem-4c4e804d.js +0 -166
- package/cjs/NavigationListItem-4c4e804d.js.map +0 -1
- package/cjs/OverflowTabBar-3310457e.js +0 -71
- package/cjs/OverflowTabBar-3310457e.js.map +0 -1
- package/cjs/OverflowTabBarItem-ff9d5b73.js +0 -88
- package/cjs/OverflowTabBarItem-ff9d5b73.js.map +0 -1
- package/cjs/Popup-3e6b37ba.js +0 -249
- package/cjs/Popup-3e6b37ba.js.map +0 -1
- package/cjs/ProgressBar-ee008afc.js +0 -64
- package/cjs/ProgressBar-ee008afc.js.map +0 -1
- package/cjs/ProgressCircle-e91f65f3.js +0 -50
- package/cjs/ProgressCircle-e91f65f3.js.map +0 -1
- package/cjs/RemovableNavigationListItem-1505f520.js +0 -26
- package/cjs/RemovableNavigationListItem-1505f520.js.map +0 -1
- package/cjs/ReorderableTabBar-344938e7.js +0 -79
- package/cjs/ReorderableTabBar-344938e7.js.map +0 -1
- package/cjs/ScatterChart-c850c02b.js +0 -105
- package/cjs/ScatterChart-c850c02b.js.map +0 -1
- package/cjs/SectionedContent-2210037c.js +0 -67
- package/cjs/SectionedContent-2210037c.js.map +0 -1
- package/cjs/SelectionCard-e26feb4d.js +0 -18
- package/cjs/SelectionCard-e26feb4d.js.map +0 -1
- package/cjs/SelectorAll-e81b943f.js +0 -71
- package/cjs/SelectorAll-e81b943f.js.map +0 -1
- package/cjs/Sheet-73cb51b2.js +0 -161
- package/cjs/Sheet-73cb51b2.js.map +0 -1
- package/cjs/StyledCard-f6b7f046.js +0 -107
- package/cjs/StyledCard-f6b7f046.js.map +0 -1
- package/cjs/TabBar-bf94b95a.js +0 -79
- package/cjs/TabBar-bf94b95a.js.map +0 -1
- package/cjs/TabBarMixed-975141a6.js +0 -80
- package/cjs/TabBarMixed-975141a6.js.map +0 -1
- package/cjs/TabBarMixedSeparator-0f55c6f6.js +0 -21
- package/cjs/TabBarMixedSeparator-0f55c6f6.js.map +0 -1
- package/cjs/TruncatingBadge-3a82f13b.js +0 -36
- package/cjs/TruncatingBadge-3a82f13b.js.map +0 -1
- package/cjs/TruncatingText-df3db482.js +0 -50
- package/cjs/TruncatingText-df3db482.js.map +0 -1
- package/cjs/View-145a402d.js +0 -170
- package/cjs/View-145a402d.js.map +0 -1
- package/cjs/VisNoData-210b0385.js +0 -35
- package/cjs/VisNoData-210b0385.js.map +0 -1
- package/cjs/VisProgressiveLoader-5ed4eb9d.js +0 -53
- package/cjs/VisProgressiveLoader-5ed4eb9d.js.map +0 -1
- package/cjs/VisTabularDatatip-a06f4ca3.js +0 -26
- package/cjs/VisTabularDatatip-a06f4ca3.js.map +0 -1
- package/cjs/WindowOverlay-de3bd373.js +0 -112
- package/cjs/WindowOverlay-de3bd373.js.map +0 -1
- package/cjs/YearsGridView-2732b46c.js +0 -190
- package/cjs/YearsGridView-2732b46c.js.map +0 -1
- package/cjs/index-8c93d858.js +0 -13
- package/cjs/index-8c93d858.js.map +0 -1
- package/cjs/render-bc47fc7e.js +0 -41
- package/cjs/render-bc47fc7e.js.map +0 -1
- package/cjs/tabbableUtils-b14a04ea.js +0 -81
- package/cjs/tabbableUtils-b14a04ea.js.map +0 -1
- package/cjs/testData-c996c33b.js +0 -271
- package/cjs/testData-c996c33b.js.map +0 -1
- package/cjs/tooltipUtils-2228b0f7.js +0 -97
- package/cjs/tooltipUtils-2228b0f7.js.map +0 -1
- package/cjs/useChartDatatip-538a4577.js +0 -166
- package/cjs/useChartDatatip-538a4577.js.map +0 -1
- package/cjs/useColorScheme-e6bef5a4.js +0 -21
- package/cjs/useColorScheme-e6bef5a4.js.map +0 -1
- package/cjs/useCssVars-9bea15a9.js +0 -60
- package/cjs/useCssVars-9bea15a9.js.map +0 -1
- package/cjs/useCurrentBgColor-6835bf45.js +0 -21
- package/cjs/useCurrentBgColor-6835bf45.js.map +0 -1
- package/cjs/useCurrentKey-d8d41864.js +0 -83
- package/cjs/useCurrentKey-d8d41864.js.map +0 -1
- package/cjs/useDatatip-1dda9a86.js +0 -89
- package/cjs/useDatatip-1dda9a86.js.map +0 -1
- package/cjs/useDensity-38283c57.js +0 -21
- package/cjs/useDensity-38283c57.js.map +0 -1
- package/cjs/useFloating-c9e127d3.js +0 -1926
- package/cjs/useFloating-c9e127d3.js.map +0 -1
- package/cjs/useKeyboardEvents-7ab0d8ee.js +0 -81
- package/cjs/useKeyboardEvents-7ab0d8ee.js.map +0 -1
- package/cjs/useMeterDatatip-945883f5.js +0 -77
- package/cjs/useMeterDatatip-945883f5.js.map +0 -1
- package/cjs/useOutsideClick-ad999b14.js +0 -103
- package/cjs/useOutsideClick-ad999b14.js.map +0 -1
- package/cjs/usePopupAnimation-b911e9ed.js +0 -87
- package/cjs/usePopupAnimation-b911e9ed.js.map +0 -1
- package/cjs/usePrefixSuffix-1de3a724.js +0 -72
- package/cjs/usePrefixSuffix-1de3a724.js.map +0 -1
- package/cjs/useReorderableItem-5fc4d599.js +0 -271
- package/cjs/useReorderableItem-5fc4d599.js.map +0 -1
- package/cjs/useRovingTabIndexContainer-bbdf3acd.js +0 -100
- package/cjs/useRovingTabIndexContainer-bbdf3acd.js.map +0 -1
- package/cjs/useScale-a47864b4.js +0 -21
- package/cjs/useScale-a47864b4.js.map +0 -1
- package/cjs/useSelectDrill-93a57ed6.js +0 -106
- package/cjs/useSelectDrill-93a57ed6.js.map +0 -1
- package/cjs/useSelection-0dbc2f40.js +0 -241
- package/cjs/useSelection-0dbc2f40.js.map +0 -1
- package/cjs/useSelection-c7c0f533.js +0 -187
- package/cjs/useSelection-c7c0f533.js.map +0 -1
- package/cjs/useTestId-e267a39d.js +0 -23
- package/cjs/useTestId-e267a39d.js.map +0 -1
- package/cjs/useTheme-6cedf9c8.js +0 -21
- package/cjs/useTheme-6cedf9c8.js.map +0 -1
- package/cjs/useThemeInterpolations-316c1636.js +0 -59
- package/cjs/useThemeInterpolations-316c1636.js.map +0 -1
- package/cjs/useTooltip-ea036f82.js +0 -51
- package/cjs/useTooltip-ea036f82.js.map +0 -1
- package/cjs/useTooltipControlled-61581889.js +0 -371
- package/cjs/useTooltipControlled-61581889.js.map +0 -1
- package/cjs/useTranslationBundle-6b0281a9.js +0 -31
- package/cjs/useTranslationBundle-6b0281a9.js.map +0 -1
- package/cjs/useUser-8aaad5a7.js +0 -21
- package/cjs/useUser-8aaad5a7.js.map +0 -1
- package/cjs/useVisEvents-99f1bf51.js +0 -155
- package/cjs/useVisEvents-99f1bf51.js.map +0 -1
- package/cjs/withDirectionIcon-7f758093.js +0 -16
- package/cjs/withDirectionIcon-7f758093.js.map +0 -1
- package/es/BarChart-e8909233.js +0 -179
- package/es/BarChart-e8909233.js.map +0 -1
- package/es/BaseCardViewSelectionTest-39113af4.js +0 -721
- package/es/BaseCardViewSelectionTest-39113af4.js.map +0 -1
- package/es/Card-de0aef24.js +0 -15
- package/es/Card-de0aef24.js.map +0 -1
- package/es/Center-9f355d44.js +0 -16
- package/es/Center-9f355d44.js.map +0 -1
- package/es/Chart-000730bb.js +0 -449
- package/es/Chart-000730bb.js.map +0 -1
- package/es/ComboChart-7ea6cadd.js +0 -172
- package/es/ComboChart-7ea6cadd.js.map +0 -1
- package/es/CompactLabelAssistance-7912767d.js +0 -34
- package/es/CompactLabelAssistance-7912767d.js.map +0 -1
- package/es/DatePicker-54a2c9ee.js +0 -564
- package/es/DatePicker-54a2c9ee.js.map +0 -1
- package/es/Diagram-9510ff87.js +0 -2026
- package/es/Diagram-9510ff87.js.map +0 -1
- package/es/Dialog-c927bba0.js +0 -316
- package/es/Dialog-c927bba0.js.map +0 -1
- package/es/DragHandle-5cba8c4b.js +0 -22
- package/es/DragHandle-5cba8c4b.js.map +0 -1
- package/es/Dropdown-f7fbfa81.js +0 -80
- package/es/Dropdown-f7fbfa81.js.map +0 -1
- package/es/EnvironmentProvider-a3819bde.js +0 -58
- package/es/EnvironmentProvider-a3819bde.js.map +0 -1
- package/es/ExpandableList-2ff828d0.js +0 -167
- package/es/ExpandableList-2ff828d0.js.map +0 -1
- package/es/Flex-2d51e914.js +0 -30
- package/es/Flex-2d51e914.js.map +0 -1
- package/es/Floating-c13f9f62.js +0 -462
- package/es/Floating-c13f9f62.js.map +0 -1
- package/es/Grid-c2385b22.js +0 -27
- package/es/Grid-c2385b22.js.map +0 -1
- package/es/Gridlines-89b5506f.js +0 -168
- package/es/Gridlines-89b5506f.js.map +0 -1
- package/es/HighlightText-d505bf35.js +0 -31
- package/es/HighlightText-d505bf35.js.map +0 -1
- package/es/IconUserAssistance-2b494a2e.js +0 -73
- package/es/IconUserAssistance-2b494a2e.js.map +0 -1
- package/es/InputDatePicker-b2a89782.js +0 -307
- package/es/InputDatePicker-b2a89782.js.map +0 -1
- package/es/Layer-7497a324.js +0 -88
- package/es/Layer-7497a324.js.map +0 -1
- package/es/LayerHost-7a2149f5.js +0 -40
- package/es/LayerHost-7a2149f5.js.map +0 -1
- package/es/LayerManager-be34be40.js +0 -34
- package/es/LayerManager-be34be40.js.map +0 -1
- package/es/LineAreaChart-a0393c8c.js +0 -170
- package/es/LineAreaChart-a0393c8c.js.map +0 -1
- package/es/LineSeries-00fa2ab7.js +0 -109
- package/es/LineSeries-00fa2ab7.js.map +0 -1
- package/es/ListItemLayout-b3d899d6.js +0 -110
- package/es/ListItemLayout-b3d899d6.js.map +0 -1
- package/es/LiveRegion-5302331c.js +0 -39
- package/es/LiveRegion-5302331c.js.map +0 -1
- package/es/MaxLengthLiveRegion-9b386b63.js +0 -23
- package/es/MaxLengthLiveRegion-9b386b63.js.map +0 -1
- package/es/MessageLayer-9ea7cf82.js +0 -58
- package/es/MessageLayer-9ea7cf82.js.map +0 -1
- package/es/Modal-1710fdd2.js +0 -262
- package/es/Modal-1710fdd2.js.map +0 -1
- package/es/MonthView-31d5ae25.js +0 -208
- package/es/MonthView-31d5ae25.js.map +0 -1
- package/es/Popup-a4be2769.js +0 -247
- package/es/Popup-a4be2769.js.map +0 -1
- package/es/ProgressBar-4fbb27ab.js +0 -62
- package/es/ProgressBar-4fbb27ab.js.map +0 -1
- package/es/ProgressCircle-2d3833fa.js +0 -48
- package/es/ProgressCircle-2d3833fa.js.map +0 -1
- package/es/ScatterChart-22a6b15a.js +0 -103
- package/es/ScatterChart-22a6b15a.js.map +0 -1
- package/es/SectionedContent-2d0a744d.js +0 -64
- package/es/SectionedContent-2d0a744d.js.map +0 -1
- package/es/SelectMultiple-0b1a66db.js +0 -1304
- package/es/SelectMultiple-0b1a66db.js.map +0 -1
- package/es/SelectionCard-792c249d.js +0 -16
- package/es/SelectionCard-792c249d.js.map +0 -1
- package/es/SelectorAll-ab748274.js +0 -69
- package/es/SelectorAll-ab748274.js.map +0 -1
- package/es/Sheet-31e6970c.js +0 -158
- package/es/Sheet-31e6970c.js.map +0 -1
- package/es/StyledCard-6913b45c.js +0 -105
- package/es/StyledCard-6913b45c.js.map +0 -1
- package/es/TabBarMixedSeparator-16c88691.js +0 -19
- package/es/TabBarMixedSeparator-16c88691.js.map +0 -1
- package/es/TruncatingBadge-0f04b894.js +0 -34
- package/es/TruncatingBadge-0f04b894.js.map +0 -1
- package/es/TruncatingText-ccad557f.js +0 -48
- package/es/TruncatingText-ccad557f.js.map +0 -1
- package/es/View-a8a64eb1.js +0 -167
- package/es/View-a8a64eb1.js.map +0 -1
- package/es/VisNoData-794ddc21.js +0 -32
- package/es/VisNoData-794ddc21.js.map +0 -1
- package/es/VisProgressiveLoader-66dde1ff.js +0 -51
- package/es/VisProgressiveLoader-66dde1ff.js.map +0 -1
- package/es/VisTabularDatatip-6aa607bb.js +0 -24
- package/es/VisTabularDatatip-6aa607bb.js.map +0 -1
- package/es/WindowOverlay-de5d0819.js +0 -110
- package/es/WindowOverlay-de5d0819.js.map +0 -1
- package/es/YearsGridView-d1bb65cf.js +0 -187
- package/es/YearsGridView-d1bb65cf.js.map +0 -1
- package/es/index-f4c1d6de.js +0 -11
- package/es/index-f4c1d6de.js.map +0 -1
- package/es/render-9dce082a.js +0 -34
- package/es/render-9dce082a.js.map +0 -1
- package/es/tabbableUtils-93a7cd6f.js +0 -79
- package/es/tabbableUtils-93a7cd6f.js.map +0 -1
- package/es/testData-a9ced8ec.js +0 -256
- package/es/testData-a9ced8ec.js.map +0 -1
- package/es/tooltipUtils-fcfd7dbb.js +0 -92
- package/es/tooltipUtils-fcfd7dbb.js.map +0 -1
- package/es/useChartDatatip-c929f857.js +0 -164
- package/es/useChartDatatip-c929f857.js.map +0 -1
- package/es/useColorScheme-f69d53b5.js +0 -19
- package/es/useColorScheme-f69d53b5.js.map +0 -1
- package/es/useCssVars-48595cd2.js +0 -58
- package/es/useCssVars-48595cd2.js.map +0 -1
- package/es/useCurrentBgColor-894d059b.js +0 -19
- package/es/useCurrentBgColor-894d059b.js.map +0 -1
- package/es/useCurrentKey-aa75ec92.js +0 -81
- package/es/useCurrentKey-aa75ec92.js.map +0 -1
- package/es/useDatatip-40475371.js +0 -87
- package/es/useDatatip-40475371.js.map +0 -1
- package/es/useDensity-04a01caf.js +0 -19
- package/es/useDensity-04a01caf.js.map +0 -1
- package/es/useFloating-dad3f791.js +0 -1916
- package/es/useFloating-dad3f791.js.map +0 -1
- package/es/useKeyboardEvents-b02e5fda.js +0 -78
- package/es/useKeyboardEvents-b02e5fda.js.map +0 -1
- package/es/useMeterDatatip-4adf64f2.js +0 -74
- package/es/useMeterDatatip-4adf64f2.js.map +0 -1
- package/es/useOutsideClick-c19a8d7f.js +0 -101
- package/es/useOutsideClick-c19a8d7f.js.map +0 -1
- package/es/usePopupAnimation-267b444c.js +0 -85
- package/es/usePopupAnimation-267b444c.js.map +0 -1
- package/es/usePrefixSuffix-995d4cda.js +0 -70
- package/es/usePrefixSuffix-995d4cda.js.map +0 -1
- package/es/useReorderableItem-7f7c13b5.js +0 -268
- package/es/useReorderableItem-7f7c13b5.js.map +0 -1
- package/es/useRovingTabIndexContainer-7ec9f36f.js +0 -98
- package/es/useRovingTabIndexContainer-7ec9f36f.js.map +0 -1
- package/es/useScale-3b323ab2.js +0 -19
- package/es/useScale-3b323ab2.js.map +0 -1
- package/es/useSelectDrill-14789a5e.js +0 -103
- package/es/useSelectDrill-14789a5e.js.map +0 -1
- package/es/useSelection-c46ba985.js +0 -239
- package/es/useSelection-c46ba985.js.map +0 -1
- package/es/useSelection-ffee622f.js +0 -185
- package/es/useSelection-ffee622f.js.map +0 -1
- package/es/useTestId-af32a9eb.js +0 -21
- package/es/useTestId-af32a9eb.js.map +0 -1
- package/es/useTheme-73aca0e4.js +0 -19
- package/es/useTheme-73aca0e4.js.map +0 -1
- package/es/useThemeInterpolations-242b30ed.js +0 -57
- package/es/useThemeInterpolations-242b30ed.js.map +0 -1
- package/es/useTooltip-72f5cf2e.js +0 -49
- package/es/useTooltip-72f5cf2e.js.map +0 -1
- package/es/useTooltipControlled-97142fd1.js +0 -368
- package/es/useTooltipControlled-97142fd1.js.map +0 -1
- package/es/useTranslationBundle-6da03e52.js +0 -29
- package/es/useTranslationBundle-6da03e52.js.map +0 -1
- package/es/useUser-bca8cf2d.js +0 -19
- package/es/useUser-bca8cf2d.js.map +0 -1
- package/es/useVisEvents-37c78cfe.js +0 -153
- package/es/useVisEvents-37c78cfe.js.map +0 -1
- package/es/withDirectionIcon-389870a2.js +0 -14
- package/es/withDirectionIcon-389870a2.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/compat', './UNSAFE_TableView/themes/TableViewStyles.css', './CollectionInteractionContext-0b4ed98b', './useCollectionInteractionContext-f345e8f7', './classNames-08d99695', './dimensions-60420dbb', './mergeInterpolations-9ede4cf7', './Table-b515d862'], (function(e,o,n,t,r,i,l,s,a,c){"use strict";const d=a.mergeInterpolations([...Object.values(s.dimensionInterpolations)]),u=n.forwardRef((({"aria-label":e,"aria-labelledby":n,getAccessibleRowHeaders:r,children:s,columns:a,columnOrder:u,columnWidths:C,contextMenuConfig:b,viewportConfig:m,layout:g="contents",data:h,getRowKey:w,hasMore:R=!1,onLoadMore:S,currentCellOverride:v,onPersistCurrentCell:f,currentRowVariant:y,gridlines:p={horizontal:"visible",vertical:"hidden"},selectionMode:x={row:"none",column:"none"},selected:I,onSelectionChange:z,onRowAction:O,sortCriterion:M=[],onSortCriterionChange:V,horizontalScrollPositionOverride:P,verticalScrollPositionOverride:A,columnResizingIndicator:T,onColumnResizing:j,onColumnResize:N,noDataRenderer:D,testId:H,...K},L)=>{const W="embedded"===i.useCollectionInteractionContext(),E=null!=y?y:W?"highlight":"none",{...F}=d(K),U=null!=m?.scroller(),_=[t.tableViewStyles.base];_.push(U?t.tableViewStyles.externalScroller:t.tableViewStyles.internalScroller);const k=l.classNames(_);return o.jsx("div",{class:k,style:F,children:o.jsx(c.Table,{"aria-label":e,"aria-labelledby":n,getAccessibleRowHeaders:r,children:s,columns:a,columnOrder:u,columnWidths:C,contextMenuConfig:b,viewportConfig:m,layout:g,data:h,getRowKey:w,hasMore:R,onLoadMore:S,currentCellOverride:v,onPersistCurrentCell:f,currentRowVariant:E,gridlines:p,selectionMode:x,selected:I,onSelectionChange:z,onRowAction:O,horizontalScrollPositionOverride:P,verticalScrollPositionOverride:A,sortCriterion:M,onSortCriterionChange:V,columnResizingIndicator:T,onColumnResizing:j,onColumnResize:N,noDataRenderer:D,testId:H,ref:L})})}));e.TableView=u}));
|
|
2
|
-
//# sourceMappingURL=TableView-4f6a3685.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableView-4f6a3685.js","sources":["../../src/UNSAFE_TableView/TableView.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 { forwardRef, ForwardedRef } from 'preact/compat';\nimport { JSXInternal } from 'preact/src/jsx';\nimport { Table } from '../PRIVATE_Table';\nimport { tableViewStyles } from './themes/TableViewStyles.css';\nimport { TableProps, TableViewHandle } from './Table.types';\nimport { useCollectionInteractionContext } from '../hooks/UNSAFE_useCollectionInteractionContext';\nimport { TestIdProps } from '../hooks/UNSAFE_useTestId';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { DimensionProps, dimensionInterpolations } from '../utils/UNSAFE_interpolations/dimensions';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\n/**\n * Props specific to non-virtualized TableView\n */\ntype NonVirtualizedTableProps<K, D> = {\n /**\n * The data that is used to render each item in TableView. If the value is null, then TableView will show nothing\n * if hasMore is false, or loading indicator if hasMore is true.\n */\n data?: D[];\n /**\n * A callback function to extract the key which is used to identify the item.\n */\n getRowKey: (data: D) => K;\n /**\n * Whether there is more data available to load. By default this returns false.\n */\n hasMore?: boolean;\n /**\n * An optional callback function which is invoked when the user scrolls to the end of the table.\n */\n onLoadMore?: () => void;\n};\n\n/**\n * Props for the TableView Component\n */\nexport type Props<K, D, C extends string> = TableProps<K, D, C> &\n NonVirtualizedTableProps<K, D> &\n DimensionProps &\n TestIdProps;\n\nconst mergedInterpolations = mergeInterpolations<DimensionProps>([\n ...Object.values(dimensionInterpolations)\n]);\n\n/**\n * Component that renders data in rows of columns.\n * This component is non-virtualized and renders all rows provided in the data prop.\n */\nexport const TableView = forwardRef(\n <K extends string | number, D, C extends string>(\n {\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n getAccessibleRowHeaders,\n children,\n columns,\n columnOrder,\n columnWidths,\n contextMenuConfig,\n viewportConfig,\n layout = 'contents',\n data,\n getRowKey,\n hasMore = false,\n onLoadMore,\n currentCellOverride,\n onPersistCurrentCell,\n currentRowVariant,\n gridlines = { horizontal: 'visible', vertical: 'hidden' },\n selectionMode = { row: 'none', column: 'none' },\n selected,\n onSelectionChange,\n onRowAction,\n sortCriterion = [],\n onSortCriterionChange,\n horizontalScrollPositionOverride,\n verticalScrollPositionOverride,\n columnResizingIndicator,\n onColumnResizing,\n onColumnResize,\n noDataRenderer,\n testId,\n ...dimensions\n }: Props<K, D, C>,\n ref?: ForwardedRef<TableViewHandle<K, C>>\n ) => {\n const isEmbedded = useCollectionInteractionContext() === 'embedded';\n const rowVariant =\n currentRowVariant != null ? currentRowVariant : isEmbedded ? 'highlight' : 'none';\n\n const { ...mergedStyles } = mergedInterpolations(dimensions);\n const isExternalScroller = viewportConfig?.scroller() != null;\n const classArray = [tableViewStyles.base];\n classArray.push(\n isExternalScroller ? tableViewStyles.externalScroller : tableViewStyles.internalScroller\n );\n const tableViewClasses = classNames(classArray);\n\n return (\n <div class={tableViewClasses} style={mergedStyles}>\n <Table<K, D, C>\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n getAccessibleRowHeaders={getAccessibleRowHeaders}\n children={children}\n columns={columns}\n columnOrder={columnOrder}\n columnWidths={columnWidths}\n contextMenuConfig={contextMenuConfig}\n viewportConfig={viewportConfig}\n layout={layout}\n data={data}\n getRowKey={getRowKey}\n hasMore={hasMore}\n onLoadMore={onLoadMore}\n currentCellOverride={currentCellOverride}\n onPersistCurrentCell={onPersistCurrentCell}\n currentRowVariant={rowVariant}\n gridlines={gridlines}\n selectionMode={selectionMode}\n selected={selected}\n onSelectionChange={onSelectionChange}\n onRowAction={onRowAction}\n horizontalScrollPositionOverride={horizontalScrollPositionOverride}\n verticalScrollPositionOverride={verticalScrollPositionOverride}\n sortCriterion={sortCriterion}\n onSortCriterionChange={onSortCriterionChange}\n columnResizingIndicator={columnResizingIndicator}\n onColumnResizing={onColumnResizing}\n onColumnResize={onColumnResize}\n noDataRenderer={noDataRenderer}\n testId={testId}\n ref={ref}\n />\n </div>\n );\n }\n) as <K extends string | number, D, C extends string>(\n p: Props<K, D, C> & { ref?: ForwardedRef<TableViewHandle<K, C>> }\n) => JSXInternal.Element;\n"],"names":["mergedInterpolations","mergeInterpolations","Object","values","dimensionInterpolations","TableView","forwardRef","ariaLabel","ariaLabelledBy","getAccessibleRowHeaders","children","columns","columnOrder","columnWidths","contextMenuConfig","viewportConfig","layout","data","getRowKey","hasMore","onLoadMore","currentCellOverride","onPersistCurrentCell","currentRowVariant","gridlines","horizontal","vertical","selectionMode","row","column","selected","onSelectionChange","onRowAction","sortCriterion","onSortCriterionChange","horizontalScrollPositionOverride","verticalScrollPositionOverride","columnResizingIndicator","onColumnResizing","onColumnResize","noDataRenderer","testId","dimensions","ref","isEmbedded","useCollectionInteractionContext","rowVariant","mergedStyles","isExternalScroller","scroller","classArray","tableViewStyles","base","push","externalScroller","internalScroller","tableViewClasses","classNames","_jsx","class","style","Table"],"mappings":"+UAiDA,MAAMA,EAAuBC,EAAAA,oBAAoC,IAC5DC,OAAOC,OAAOC,6BAONC,EAAYC,EAAUA,YACjC,EAEI,aAAcC,EACd,kBAAmBC,EACnBC,0BACAC,WACAC,UACAC,cACAC,eACAC,oBACAC,iBACAC,SAAS,WACTC,OACAC,YACAC,WAAU,EACVC,aACAC,sBACAC,uBACAC,oBACAC,YAAY,CAAEC,WAAY,UAAWC,SAAU,UAC/CC,gBAAgB,CAAEC,IAAK,OAAQC,OAAQ,QACvCC,WACAC,oBACAC,cACAC,gBAAgB,GAChBC,wBACAC,mCACAC,iCACAC,0BACAC,mBACAC,iBACAC,iBACAC,YACGC,GAELC,KAEA,MAAMC,EAAmD,aAAtCC,oCACbC,EACiB,MAArBvB,EAA4BA,EAAoBqB,EAAa,YAAc,WAElEG,GAAiB/C,EAAqB0C,GAC3CM,EAAmD,MAA9BjC,GAAgBkC,WACrCC,EAAa,CAACC,kBAAgBC,MACpCF,EAAWG,KACTL,EAAqBG,EAAAA,gBAAgBG,iBAAmBH,EAAAA,gBAAgBI,kBAE1E,MAAMC,EAAmBC,aAAWP,GAEpC,OACEQ,EAAAA,IAAA,MAAA,CAAKC,MAAOH,EAAkBI,MAAOb,EAAYrC,SAC/CgD,EAAAA,IAACG,EAAAA,oBACatD,EAAS,kBACJC,EACjBC,wBAAyBA,EACzBC,SAAUA,EACVC,QAASA,EACTC,YAAaA,EACbC,aAAcA,EACdC,kBAAmBA,EACnBC,eAAgBA,EAChBC,OAAQA,EACRC,KAAMA,EACNC,UAAWA,EACXC,QAASA,EACTC,WAAYA,EACZC,oBAAqBA,EACrBC,qBAAsBA,EACtBC,kBAAmBuB,EACnBtB,UAAWA,EACXG,cAAeA,EACfG,SAAUA,EACVC,kBAAmBA,EACnBC,YAAaA,EACbG,iCAAkCA,EAClCC,+BAAgCA,EAChCH,cAAeA,EACfC,sBAAuBA,EACvBG,wBAAyBA,EACzBC,iBAAkBA,EAClBC,eAAgBA,EAChBC,eAAgBA,EAChBC,OAAQA,EACRE,IAAKA,KAGT"}
|
package/amd/TextArea-5bee11c8.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/compat', './FormContext-5130e198', './useFormContext-30acdd33', './FormFieldContext-3c44aaaa', 'preact/hooks', './useFocusableTextField-8b755b15', './Label-4601e8e6', './keyboardUtils-fbb389f8', './TextFieldInput-ba4e508c', 'css!./ObfuscatedTextFieldInputStyles.styles.css', './ReadonlyTextFieldInput-608bddc1', './StyledTextField-e43cf892', './TextField-4a450d38', './MaxLengthLiveRegion-bb956138', './useTextField-e6877c79', './logger-0f873e29', './TabbableModeContext-a9c97640', './useId-c9578d26', './useTranslationBundle-d07d4b20', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-a1ae959b', './CompactUserAssistance-26b284d4', './mergeProps-bcfa6a92', './LayerHost-639b3284', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-e5bdb734', 'preact', 'css!./IconStyle.styles.css', './Popup-66e79afa', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', './InputGroupContext-372087af', './HiddenAccessible-037ef42d', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './useLengthFilter-ed8959a4', './MaxLengthCounter-9a95922c', './useCurrentValueReducer-faded381', './useSelectableTextField-900d2860'], (function(e,s,t,a,n,i,o,l,r,d,c,u,m,p,x,b,h,F,y,g,f,A,L,v,C,T,R,S,I,U,E,j,w,P,_,k,D,V,N,B,M,H,q,z,W,$){"use strict";const G=t.forwardRef((({"aria-describedby":e,assistiveText:a,autoComplete:o="off",autoFocus:d=!1,columnSpan:u,helpSourceLink:F,helpSourceText:y,isDisabled:A,isReadonly:L,isRequired:v=!1,isRequiredShown:S,label:I,labelEdge:U,labelStartWidth:E,maxLength:j,maxLengthCounter:w="remaining",maxLengthUnit:P,messages:_,placeholder:k,resize:D,role:V,rows:N,textAlign:M,userAssistanceDensity:H,value:G,variant:O="default",onInput:X,onCommit:J,testId:K},Q)=>{const Y=f.useTranslationBundle("@oracle/oraclejet-preact"),Z=j?Y.formControl_limitReached({CHARACTER_LIMIT:j}):"",{currentCommitValue:ee,dispatch:se}=W.useCurrentValueReducer({value:G}),te=t.useCallback((e=>{se({type:"input",payload:e.value}),X?.(e)}),[X,se]),ae=t.useCallback((e=>{se({type:"commit",payload:e.value}),J?.(e)}),[J,se]),{isDisabled:ne,isReadonly:ie,labelEdge:oe,labelStartWidth:le,textAlign:re,userAssistanceDensity:de}=n.useFormContext(),ce=A??ne,ue=L??ie,me=U??oe,pe=E??le,xe=M??re,be=H??de,he=t.useRef(g.useId()),Fe=e?`${e} ${he.current}`:he.current,ye=t.useRef(null),ge=t.useRef(null),{focusProps:fe,isFocused:Ae,methods:Le}=l.useFocusableTextField({isDisabled:ce,isReadonly:ue,enabledElementRef:ye,readonlyElementRef:ge}),{methods:ve}=$.useSelectableTextField(ye);t.useImperativeHandle(Q,(()=>R.mergeProps(Le,ve)),[Le,ve]);const{isMaxLengthReached:Ce,valueLength:Te,onFilteredInput:Re}=q.useLengthFilter({maxLength:j,maxLengthUnit:P,value:G,onInput:te,onCommit:ae}),Se=[..._??[],...Ce?[{detail:Z,severity:"info"}]:[]],{formFieldContext:Ie,inputProps:Ue,labelProps:Ee,textFieldProps:je,userAssistanceProps:we}=h.useTextField({ariaDescribedBy:ue||ce?e:Fe,contentVariant:"textarea",helpSourceLink:F,helpSourceText:y,isDisabled:ce,isFocused:Ae,isReadonly:ue,isRequiredShown:S,labelEdge:me,messages:Se,styleVariant:O,userAssistanceDensity:be,value:G}),Pe=t.useCallback((()=>{const e=ye.current,s=e?e.value.length:null;ye.current?.setSelectionRange(s,s),ye.current?.focus()}),[ye]),_e="none"!==me?s.jsx(r.Label,{...Ee,children:I}):void 0,ke={label:"none"!==me?_e:void 0,labelEdge:"none"!==me?me:void 0,labelStartWidth:"none"!==me?pe:void 0},De="none"===me?I:void 0,Ve="efficient"===be||"reflow"===be?ce||ue?"efficient"!==be?void 0:s.jsx(C.InlineUserAssistance,{userAssistanceDensity:be,...we}):s.jsx(C.InlineUserAssistance,{assistiveText:a,fieldLabel:I,helpSourceLink:F,helpSourceText:y,messages:Se,isRequiredShown:S,userAssistanceDensity:be,...we}):void 0,Ne=t.useRef(null),Be="compact"===be?s.jsx(T.CompactUserAssistance,{anchorRef:Ne,messages:Se,assistiveText:a,...we}):void 0;if(ue){const e=s.jsx(m.ReadonlyTextFieldInput,{"aria-describedby":Ue["aria-describedby"],"aria-label":De,"aria-labelledby":Ee.id,as:"textarea",elementRef:ge,rows:N,autoFocus:d,textAlign:xe,value:G,variant:"textarea",hasEmptyLabel:""===I&&"none"===me,hasInsideLabel:void 0!==I&&"inside"===me});return s.jsx(i.FormFieldContext.Provider,{value:Ie,children:s.jsx(p.ReadonlyTextField,{role:"presentation",columnSpan:u,compactUserAssistance:Be,inlineUserAssistance:Ve,ref:Ne,testId:K,variant:"textarea",mainContent:e,resize:D,...ke})})}const Me=void 0!==j,He=s.jsxs(s.Fragment,{children:[s.jsx(c.TextFieldInput,{as:"textarea","aria-label":De,autoComplete:o,autoFocus:d,currentCommitValue:ee,hasEmptyLabel:""===I&&"none"===me,hasInsideLabel:void 0!==_e&&"inside"===me,isRequired:v,inputRef:ye,onCommit:ae,onInput:Re,placeholder:k,role:V,rows:N,textAlign:xe,value:G,...Ue}),"remaining"===w&&Me&&s.jsx(z.MaxLengthCounter,{maxLength:j,valueLength:Te,onClick:Pe}),Me&&s.jsx(B.HiddenAccessible,{id:he.current,isHidden:!0,children:Y.formControl_maxLength({MAX_LENGTH:`${j}`})}),Me&&Ae&&s.jsx(b.MaxLengthLiveRegion,{maxLength:j,valueLength:Te,testId:K+"_remainingChars"})]});return s.jsx(i.FormFieldContext.Provider,{value:Ie,children:s.jsx(x.TextField,{mainContent:He,columnSpan:u,compactUserAssistance:Be,inlineUserAssistance:Ve,onBlur:fe?.onFocusOut,onFocus:fe?.onFocusIn,mainFieldRef:Ne,resize:D,testId:K,...je,...ke})})}));e.TextArea=G}));
|
|
2
|
-
//# sourceMappingURL=TextArea-5bee11c8.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea-5bee11c8.js","sources":["../../src/UNSAFE_TextArea/TextArea.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, Ref } from 'preact';\nimport { forwardRef, useCallback, useImperativeHandle, useRef } from 'preact/compat';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { Label } from '../UNSAFE_Label';\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport {\n CompactUserAssistance,\n InlineUserAssistance,\n UserAssistanceDensityType\n} from '../UNSAFE_UserAssistance';\nimport { CountUnit, useLengthFilter } from '../hooks/UNSAFE_useLengthFilter';\nimport { MaxLengthLiveRegion } from '../UNSAFE_TextField';\nimport { MaxLengthCounter } from './MaxLengthCounter';\nimport { Size } from '../utils/UNSAFE_size';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { ComponentMessageItem } from '../UNSAFE_ComponentMessage';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '../resources/nls/bundle';\nimport { LayoutColumnSpan } from '../utils/UNSAFE_styles/Layout';\nimport type { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { HiddenAccessible } from '../UNSAFE_HiddenAccessible';\nimport { useId } from '../hooks/UNSAFE_useId';\nimport { SelectableHandle, useSelectableTextField } from '#hooks/UNSAFE_useSelectableTextField';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\n\ntype TextFieldProps = ComponentProps<typeof TextField>;\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = TestIdProps & {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n 'aria-describedby'?: TextFieldInputProps['aria-describedby'];\n\n /**\n * Text to provide guidance to help the user understand what to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n /**\n * Dictates component's autocomplete state.\n * This attribute indicates whether the value of the control can be automatically completed by the browser.\n * The common values are \"on\" and \"off\".\n */\n autoComplete?: TextFieldInputProps['autoComplete'];\n /**\n * Autofocus specifies whether the component will get focus when the page is loaded.\n * If it is set to true then the associated component will get input focus when the page is loaded.\n * Setting this property doesn't set the focus to the component; it tells the browser to focus\n * to it when the element is inserted in the document.\n */\n autoFocus?: TextFieldInputProps['autoFocus'];\n /**\n * Specifies how many columns to span in a FormLayout with direction === 'row'\n */\n columnSpan?: LayoutColumnSpan;\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n /**\n * Specifies for accessibility purposes whether a value is required.\n *\n * Setting this property to <code>false</code> means that a value is not required to be\n * committed by the user. Setting this property to <code>true</code> means that a value\n * is required to be committed by the user.\n */\n isRequired?: TextFieldInputProps['isRequired'];\n /**\n * Specifies whether to show an indicator on screen that a value is required, for example\n * before the user has committed a value.\n */\n isRequiredShown?: InlineUserAssistanceProps['isRequiredShown'];\n /**\n * Specifies the label associated with the field.\n */\n label: string;\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>\n */\n labelStartWidth?: Size;\n /**\n * Specifies the maximum number of characters that can be entered in the input field.\n */\n maxLength?: number;\n /**\n * Determines whether the remaining number of characters that can be entered is shown or not.\n */\n maxLengthCounter?: 'none' | 'remaining';\n /**\n * Specifies how the input text characters are to be counted when maxLength is specified.\n */\n maxLengthUnit?: CountUnit;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n /**\n * Specifies how the user is allowed to manually resize the TextArea component.\n */\n resize?: TextFieldProps['resize'];\n /**\n * Specifies the ARIA role type.\n */\n role?: TextFieldInputProps['role'];\n /**\n * Specifies the number of rows to display\n */\n rows?: TextFieldInputProps['rows'];\n /**\n * Specifies how to align text within the field.\n */\n textAlign?: TextFieldInputProps['textAlign'];\n /**\n * Specifies the density of the user assistance presentation. It can be set to:\n * <ul>\n * <li><code>'efficient'</code>: Show inline and reserve space to prevent layout reflow when user\n * assistance text is displayed.</li>\n * <li><code>'reflow'</code>: Show inline. Layout will reflow when text is displayed.</li>\n * <li><code>'compact'</code>: Messages, help, hints, and required will not be shown inline; they will show in a mode that keeps the screen more compact, like a popup for the messages, and a required icon to indicate Required. </li>\n * </ul>\n */\n userAssistanceDensity?: UserAssistanceDensityType;\n /**\n * The current display value of the component.\n */\n value?: TextFieldInputProps['value'];\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n /**\n * Callback invoked when the user commits the entered value by blurring out of the field.\n */\n onCommit?: TextFieldInputProps['onCommit'];\n /**\n * Callback invoked each time the user changes the value of the field. For example, if the user\n * types 'abcd', this callback will be called four times with the value as 'a', 'ab', 'abc' and 'abcd'\n * respectively.\n */\n onInput: TextFieldInputProps['onInput'];\n};\n\ntype FocusSelectHandle = FocusableHandle & SelectableHandle;\n\n/**\n * A text area displays a field that allows a user to enter a multi-line text value.\n */\nexport const TextArea = forwardRef(\n (\n {\n 'aria-describedby': ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n columnSpan,\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n maxLength,\n maxLengthCounter = 'remaining',\n maxLengthUnit,\n messages,\n placeholder,\n resize,\n role,\n rows,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n onInput,\n onCommit,\n testId\n }: Props,\n ref?: Ref<FocusSelectHandle>\n ) => {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const formControl_limitReached = maxLength\n ? translations.formControl_limitReached({\n CHARACTER_LIMIT: maxLength\n })\n : '';\n\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput, dispatch]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'commit', payload: detail.value });\n onCommit?.(detail);\n },\n [onCommit, dispatch]\n );\n const {\n isDisabled: isFormDisabled,\n isReadonly: isFormReadonly,\n labelEdge: formLabelEdge,\n labelStartWidth: formLabelStartWidth,\n textAlign: formTextAlign,\n userAssistanceDensity: formUserAssistanceDensity\n } = useFormContext();\n\n // default to FormContext values if component properties are not specified\n const isDisabled = propIsDisabled ?? isFormDisabled;\n const isReadonly = propIsReadonly ?? isFormReadonly;\n const labelEdge = propLabelEdge ?? formLabelEdge;\n const labelStartWidth = propLabelStartWidth ?? formLabelStartWidth;\n const textAlign = propTextAlign ?? formTextAlign;\n const userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;\n const maxLengthDescribedByIdRef = useRef<string>(useId());\n // The enabledAriaDescribedBy includes the maxLengthDescribedById in addition to what was passed in to aria-describedby.\n // We don't need to announce the max length message for readonly, as it only applies when editing the value.\n const enabledAriaDescribedBy = ariaDescribedBy\n ? `${ariaDescribedBy} ${maxLengthDescribedByIdRef.current}`\n : maxLengthDescribedByIdRef.current;\n\n const enabledElementRef = useRef<HTMLTextAreaElement>(null);\n const readonlyElementRef = useRef<HTMLTextAreaElement>(null);\n\n const {\n focusProps,\n isFocused,\n methods: focusMethods\n } = useFocusableTextField<HTMLTextAreaElement, HTMLTextAreaElement>({\n isDisabled,\n isReadonly,\n enabledElementRef,\n readonlyElementRef\n });\n\n const { methods: selectMethods } =\n useSelectableTextField<HTMLTextAreaElement>(enabledElementRef);\n\n useImperativeHandle(ref!, () => mergeProps(focusMethods, selectMethods), [\n focusMethods,\n selectMethods\n ]);\n\n // Handle length filter for user-typed inputs and controlled inputs\n const { isMaxLengthReached, valueLength, onFilteredInput } = useLengthFilter({\n maxLength,\n maxLengthUnit,\n value,\n onInput: onInputAndDispatch,\n onCommit: onCommitAndDispatch\n });\n\n const limitMessage = [{ detail: formControl_limitReached, severity: 'info' }];\n const allMessages = [\n ...(messages ?? []),\n ...(isMaxLengthReached ? limitMessage : [])\n ] as ComponentMessageItem[];\n\n const { formFieldContext, inputProps, labelProps, textFieldProps, userAssistanceProps } =\n useTextField({\n ariaDescribedBy: isReadonly || isDisabled ? ariaDescribedBy : enabledAriaDescribedBy,\n contentVariant: 'textarea',\n helpSourceLink,\n helpSourceText,\n isDisabled,\n isFocused,\n isReadonly,\n isRequiredShown,\n labelEdge,\n messages: allMessages,\n styleVariant: variant,\n userAssistanceDensity,\n value\n });\n\n const onClickCounter = useCallback(() => {\n const elm = enabledElementRef.current;\n // for setSelectionRange(), len needs to be a number or null.\n const len = elm ? elm.value.length : null;\n // Since the counter element is after the text, clicking in this\n // should put the selection at the end of the text\n enabledElementRef.current?.setSelectionRange(len, len);\n // Clicking the counter should put the focus on the input field\n enabledElementRef.current?.focus();\n }, [enabledElementRef]);\n\n const labelComp = labelEdge !== 'none' ? <Label {...labelProps}>{label}</Label> : undefined;\n\n const fieldLabelProps = {\n label: labelEdge !== 'none' ? labelComp : undefined,\n labelEdge: labelEdge !== 'none' ? labelEdge : undefined,\n labelStartWidth: labelEdge !== 'none' ? labelStartWidth : undefined\n };\n\n const ariaLabel = labelEdge === 'none' ? label : undefined;\n const isInlineDensity =\n userAssistanceDensity === 'efficient' || userAssistanceDensity === 'reflow';\n\n const inlineUserAssistance = isInlineDensity ? (\n isDisabled || isReadonly ? (\n // save space for user assistance if density is 'efficient', even though we don't\n // render user assistance for disabled or readonly fields\n userAssistanceDensity !== 'efficient' ? undefined : (\n <InlineUserAssistance\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n )\n ) : (\n <InlineUserAssistance\n assistiveText={assistiveText}\n fieldLabel={label}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n messages={allMessages}\n isRequiredShown={isRequiredShown}\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n )\n ) : undefined;\n\n const anchorRef = useRef<HTMLDivElement>(null);\n\n const compactUserAssistance =\n userAssistanceDensity === 'compact' ? (\n <CompactUserAssistance\n anchorRef={anchorRef}\n messages={allMessages}\n assistiveText={assistiveText}\n {...userAssistanceProps}\n />\n ) : undefined;\n\n if (isReadonly) {\n const mainContent = (\n <ReadonlyTextFieldInput\n aria-describedby={inputProps['aria-describedby']}\n aria-label={ariaLabel}\n aria-labelledby={labelProps.id}\n as=\"textarea\"\n elementRef={readonlyElementRef}\n rows={rows}\n autoFocus={autoFocus}\n textAlign={textAlign}\n value={value}\n variant=\"textarea\"\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n );\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n columnSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n inlineUserAssistance={inlineUserAssistance}\n ref={anchorRef}\n testId={testId}\n variant=\"textarea\"\n mainContent={mainContent}\n resize={resize}\n {...fieldLabelProps}\n />\n </FormFieldContext.Provider>\n );\n }\n const hasMaxLength = maxLength !== undefined;\n const mainContent = (\n <>\n <TextFieldInput\n as=\"textarea\"\n aria-label={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n isRequired={isRequired}\n inputRef={enabledElementRef}\n onCommit={onCommitAndDispatch}\n onInput={onFilteredInput}\n placeholder={placeholder}\n role={role}\n rows={rows}\n textAlign={textAlign}\n value={value}\n {...inputProps}\n />\n {maxLengthCounter === 'remaining' && hasMaxLength && (\n <MaxLengthCounter\n maxLength={maxLength}\n valueLength={valueLength}\n onClick={onClickCounter}\n />\n )}\n {hasMaxLength && (\n <HiddenAccessible id={maxLengthDescribedByIdRef.current} isHidden={true}>\n {translations.formControl_maxLength({\n MAX_LENGTH: `${maxLength}`\n })}\n </HiddenAccessible>\n )}\n {hasMaxLength && isFocused && (\n <MaxLengthLiveRegion\n maxLength={maxLength}\n valueLength={valueLength}\n testId={testId + '_remainingChars'}\n />\n )}\n </>\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n mainContent={mainContent}\n columnSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n inlineUserAssistance={inlineUserAssistance}\n onBlur={focusProps?.onFocusOut}\n onFocus={focusProps?.onFocusIn}\n mainFieldRef={anchorRef}\n resize={resize}\n testId={testId}\n {...textFieldProps}\n {...fieldLabelProps}></TextField>\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["TextArea","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","columnSpan","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","maxLength","maxLengthCounter","maxLengthUnit","messages","placeholder","resize","role","rows","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","value","variant","onInput","onCommit","testId","ref","translations","useTranslationBundle","formControl_limitReached","CHARACTER_LIMIT","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","maxLengthDescribedByIdRef","useRef","useId","enabledAriaDescribedBy","current","enabledElementRef","readonlyElementRef","focusProps","isFocused","methods","focusMethods","useFocusableTextField","selectMethods","useSelectableTextField","useImperativeHandle","mergeProps","isMaxLengthReached","valueLength","onFilteredInput","useLengthFilter","allMessages","severity","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","contentVariant","styleVariant","onClickCounter","elm","len","length","setSelectionRange","focus","labelComp","_jsx","jsx","Label","undefined","fieldLabelProps","ariaLabel","inlineUserAssistance","InlineUserAssistance","fieldLabel","anchorRef","compactUserAssistance","CompactUserAssistance","mainContent","ReadonlyTextFieldInput","id","as","elementRef","hasEmptyLabel","hasInsideLabel","FormFieldContext","Provider","children","ReadonlyTextField","hasMaxLength","_jsxs","_Fragment","Fragment","TextFieldInput","inputRef","MaxLengthCounter","onClick","HiddenAccessible","isHidden","formControl_maxLength","MAX_LENGTH","MaxLengthLiveRegion","TextField","onBlur","onFocusOut","onFocus","onFocusIn","mainFieldRef"],"mappings":"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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/compat', './FormContext-5130e198', './useFormContext-30acdd33', './FormFieldContext-3c44aaaa', 'preact/hooks', './useFocusableTextField-8b755b15', './Label-4601e8e6', './keyboardUtils-fbb389f8', './TextFieldInput-ba4e508c', 'css!./ObfuscatedTextFieldInputStyles.styles.css', './ReadonlyTextFieldInput-608bddc1', './StyledTextField-e43cf892', './TextField-4a450d38', './MaxLengthLiveRegion-bb956138', './useTextField-e6877c79', './logger-0f873e29', './TabbableModeContext-a9c97640', './useId-c9578d26', './useTranslationBundle-d07d4b20', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-a1ae959b', './CompactUserAssistance-26b284d4', './mergeProps-bcfa6a92', './LayerHost-639b3284', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-e5bdb734', 'preact', 'css!./IconStyle.styles.css', './Popup-66e79afa', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', './InputGroupContext-372087af', './HiddenAccessible-037ef42d', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './useLengthFilter-ed8959a4', './useCurrentValueReducer-faded381', './useSelectableTextField-900d2860', './MaxLengthCounter-9a95922c'], (function(e,s,t,a,n,o,i,l,r,d,u,c,m,p,h,x,b,g,F,f,y,R,v,L,T,A,C,S,I,U,w,E,j,P,H,_,k,D,B,V,M,N,q,W,$,z){"use strict";const G=({isReadonly:e,enabledElementRef:s,readonlyElementRef:t,minRows:a=2,maxRows:n,value:o})=>{i.useLayoutEffect((()=>{const o=e?t:s;if(null===o.current)return;if(o.current instanceof HTMLDivElement)return;const i=o.current,l=(e=>{const s=window.getComputedStyle(e),t=s.lineHeight;if("normal"===t)return 1.2*parseFloat(s.fontSize);return parseFloat(t)})(i);i.style.height="0";const{paddingHeight:r,borderHeight:d}=(e=>{const s=window.getComputedStyle(e);return{paddingHeight:parseFloat(s.paddingTop)+parseFloat(s.paddingBottom),borderHeight:parseFloat(s.borderTop)+parseFloat(s.borderBottom)}})(i),u=l*a+r+d,c=i.scrollHeight+d;let m=0;if(void 0===n)m=c<u?u:c;else if(n>a){const e=l*n+r+d;m=c>e?e:c<u?u:c}else m=u;i.style.height=m+.5+"px"}),[o,a,n,e,s,t])},O=t.forwardRef((({"aria-describedby":e,assistiveText:a,autoComplete:i="off",autoFocus:d=!1,columnSpan:c,helpSourceLink:g,helpSourceText:F,isDisabled:R,isReadonly:v,isRequired:L=!1,isRequiredShown:S,label:I,labelEdge:U,labelStartWidth:w,maxLength:E,maxLengthCounter:j="remaining",maxLengthUnit:P,maxRows:H,messages:_,minRows:k=2,placeholder:D,role:B,textAlign:M,userAssistanceDensity:N,value:O,variant:X="default",onInput:J,onCommit:K,testId:Q},Y)=>{const Z=y.useTranslationBundle("@oracle/oraclejet-preact"),ee=E?Z.formControl_limitReached({CHARACTER_LIMIT:E}):"",{currentCommitValue:se,dispatch:te}=W.useCurrentValueReducer({value:O}),ae=t.useCallback((e=>{te({type:"input",payload:e.value}),J?.(e)}),[J,te]),ne=t.useCallback((e=>{te({type:"commit",payload:e.value}),K?.(e)}),[K,te]),{isDisabled:oe,isReadonly:ie,labelEdge:le,labelStartWidth:re,textAlign:de,userAssistanceDensity:ue}=n.useFormContext(),ce=R??oe,me=v??ie,pe=U??le,he=w??re,xe=M??de,be=N??ue,ge=t.useRef(f.useId()),Fe=e?`${e} ${ge.current}`:ge.current,fe=t.useRef(null),ye=t.useRef(null),{focusProps:Re,isFocused:ve,methods:Le}=l.useFocusableTextField({isDisabled:ce,isReadonly:me,enabledElementRef:fe,readonlyElementRef:ye}),{methods:Te}=$.useSelectableTextField(fe);t.useImperativeHandle(Y,(()=>C.mergeProps(Le,Te)),[Le,Te]);const{isMaxLengthReached:Ae,valueLength:Ce,onFilteredInput:Se}=q.useLengthFilter({maxLength:E,maxLengthUnit:P,value:O,onInput:ae,onCommit:ne}),Ie=[..._??[],...Ae?[{detail:ee,severity:"info"}]:[]],{formFieldContext:Ue,inputProps:we,labelProps:Ee,textFieldProps:je,userAssistanceProps:Pe}=b.useTextField({ariaDescribedBy:me||ce?e:Fe,contentVariant:"textarea",helpSourceLink:g,helpSourceText:F,isDisabled:ce,isFocused:ve,isReadonly:me,isRequiredShown:S,labelEdge:pe,messages:Ie,styleVariant:X,userAssistanceDensity:be,value:O}),He=t.useCallback((()=>{const e=fe.current,s=e?e.value.length:null;fe.current?.setSelectionRange(s,s),fe.current?.focus()}),[fe]),_e="none"!==pe?s.jsx(r.Label,{...Ee,children:I}):void 0,ke={label:"none"!==pe?_e:void 0,labelEdge:"none"!==pe?pe:void 0,labelStartWidth:"none"!==pe?he:void 0},De="none"===pe?I:void 0,Be="efficient"===be||"reflow"===be?ce||me?"efficient"!==be?void 0:s.jsx(T.InlineUserAssistance,{userAssistanceDensity:be,...Pe}):s.jsx(T.InlineUserAssistance,{assistiveText:a,fieldLabel:I,helpSourceLink:g,helpSourceText:F,messages:Ie,isRequiredShown:S,userAssistanceDensity:be,...Pe}):void 0,Ve=t.useRef(null),Me="compact"===be?s.jsx(A.CompactUserAssistance,{anchorRef:Ve,messages:Ie,assistiveText:a,...Pe}):void 0;if(G({isReadonly:me,enabledElementRef:fe,readonlyElementRef:ye,minRows:k,maxRows:H,value:O}),me){const e=s.jsx(m.ReadonlyTextFieldInput,{"aria-describedby":we["aria-describedby"],"aria-label":De,"aria-labelledby":Ee.id,elementRef:ye,...H?{as:"textarea",rows:k}:{as:"div"},autoFocus:d,textAlign:xe,value:O,variant:"textarea",hasEmptyLabel:""===I&&"none"===pe,hasInsideLabel:void 0!==I&&"inside"===pe});return s.jsx(o.FormFieldContext.Provider,{value:Ue,children:s.jsx(p.ReadonlyTextField,{role:"presentation",columnSpan:c,compactUserAssistance:Me,inlineUserAssistance:Be,variant:"textarea",mainContent:e,ref:Ve,testId:Q,...ke})})}const Ne=void 0!==E,qe=s.jsxs(s.Fragment,{children:[s.jsx(u.TextFieldInput,{as:"textarea","aria-label":De,autoComplete:i,autoFocus:d,currentCommitValue:se,hasEmptyLabel:""===I&&"none"===pe,hasInsideLabel:void 0!==_e&&"inside"===pe,isRequired:L,inputRef:fe,onCommit:ne,onInput:Se,placeholder:D,role:B,rows:k,textAlign:xe,value:O,...we}),"remaining"===j&&Ne&&s.jsx(z.MaxLengthCounter,{maxLength:E,valueLength:Ce,onClick:He}),Ne&&s.jsx(V.HiddenAccessible,{id:ge.current,children:Z.formControl_maxLength({MAX_LENGTH:`${E}`})}),Ne&&ve&&s.jsx(x.MaxLengthLiveRegion,{maxLength:E,valueLength:Ce,testId:Q+"_remainingChars"})]});return s.jsx(o.FormFieldContext.Provider,{value:Ue,children:s.jsx(h.TextField,{mainContent:qe,columnSpan:c,compactUserAssistance:Me,inlineUserAssistance:Be,onBlur:Re?.onFocusOut,onFocus:Re?.onFocusIn,mainFieldRef:Ve,testId:Q,...je,...ke})})}));e.TextAreaAutosize=O}));
|
|
2
|
-
//# sourceMappingURL=TextAreaAutosize-ac99cd39.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextAreaAutosize-ac99cd39.js","sources":["../../src/UNSAFE_TextAreaAutosize/ScrollHeightUtils.tsx","../../src/UNSAFE_TextAreaAutosize/useTextAreaAutosizing.tsx","../../src/UNSAFE_TextAreaAutosize/TextAreaAutosize.tsx"],"sourcesContent":["// returns the lineHeight as a number of pixels.\nexport const calculateLineHeight = (textarea: HTMLTextAreaElement): number => {\n const computedStyle = window.getComputedStyle(textarea);\n const computedlineHeight = computedStyle.lineHeight;\n if (computedlineHeight === 'normal') {\n // We get 'normal' for values 'initial', 'inherit', 'unset' and 'normal'\n // TODO: Unclear if we need this.\n // getComputedStyle always return fontSize in pixels. Not likely a float, but since it's legal\n // we use parseFloat()\n const fontSize = parseFloat(computedStyle.fontSize);\n return 1.2 * fontSize;\n }\n return parseFloat(computedlineHeight);\n};\nexport const getStylingHeight = (textarea: HTMLTextAreaElement) => {\n const cssStyle = window.getComputedStyle(textarea);\n const paddingTop = parseFloat(cssStyle.paddingTop);\n const paddingBottom = parseFloat(cssStyle.paddingBottom);\n const borderTop = parseFloat(cssStyle.borderTop);\n const borderBottom = parseFloat(cssStyle.borderBottom);\n return { paddingHeight: paddingTop + paddingBottom, borderHeight: borderTop + borderBottom };\n};\n","import type { ComponentProps, RefObject } from 'preact';\nimport { useLayoutEffect } from 'preact/hooks';\nimport { calculateLineHeight, getStylingHeight } from './ScrollHeightUtils';\nimport { TextAreaAutosize } from './TextAreaAutosize';\n\ntype PickedPropsFromTextAreaAutosize = Pick<\n ComponentProps<typeof TextAreaAutosize>,\n 'minRows' | 'maxRows' | 'value'\n>;\ntype Props = PickedPropsFromTextAreaAutosize & {\n isReadonly?: boolean;\n enabledElementRef: RefObject<HTMLTextAreaElement>;\n readonlyElementRef: RefObject<HTMLTextAreaElement | HTMLDivElement>;\n};\n\n// TODO: Make this fire when the container resizes - JET-50840\nexport const useTextAreaAutosizing = ({\n isReadonly,\n enabledElementRef,\n readonlyElementRef,\n minRows = 2,\n maxRows,\n value\n}: Props) => {\n useLayoutEffect(() => {\n const textareaRef = isReadonly ? readonlyElementRef : enabledElementRef;\n if (textareaRef.current === null) return;\n if (textareaRef.current instanceof HTMLDivElement) return; // We don't need to do anything if the readonlyElement is a DIV.\n const textarea = textareaRef.current;\n const lineHeight = calculateLineHeight(textarea);\n textarea.style.height = '0';\n const { paddingHeight, borderHeight } = getStylingHeight(textarea);\n const heightForMinRows = lineHeight * minRows + paddingHeight + borderHeight;\n const scrollHeight = textarea.scrollHeight + borderHeight;\n let resizedHeight = 0;\n // if maxRows is -1 the textarea will grow or shrink to fit all the content.\n // it won't shrink any less than rows.\n if (maxRows === undefined) {\n // we want to fit the entire scrollHeight, but we don't want\n // to shrink smaller than the height for rows.\n if (scrollHeight < heightForMinRows) {\n resizedHeight = heightForMinRows;\n } else {\n resizedHeight = scrollHeight;\n }\n } else if (maxRows > minRows) {\n // if maxRows is positive and greater than rows, the textarea will grow to fit the content\n // up to maxrows, or shrink to fit the content and down to rows.\n const heightForMaxRows = lineHeight * maxRows + paddingHeight + borderHeight;\n if (scrollHeight > heightForMaxRows) {\n resizedHeight = heightForMaxRows;\n } else if (scrollHeight < heightForMinRows) {\n resizedHeight = heightForMinRows;\n } else {\n resizedHeight = scrollHeight;\n }\n } else {\n resizedHeight = heightForMinRows;\n }\n // The 0.5 gaurantees that the clientHeight will be bigger than the scrollHeight, so no scrollbar appears.\n textarea.style.height = resizedHeight + 0.5 + 'px';\n }, [value, minRows, maxRows, isReadonly, enabledElementRef, readonlyElementRef]);\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps, Ref } from 'preact';\nimport { forwardRef, useCallback, useImperativeHandle, useRef } from 'preact/compat';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { Label } from '../UNSAFE_Label';\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport {\n CompactUserAssistance,\n InlineUserAssistance,\n UserAssistanceDensityType\n} from '../UNSAFE_UserAssistance';\nimport { CountUnit, useLengthFilter } from '../hooks/UNSAFE_useLengthFilter';\nimport { MaxLengthLiveRegion } from '../UNSAFE_TextField';\nimport { useTextAreaAutosizing } from './useTextAreaAutosizing';\nimport { Size } from '../utils/UNSAFE_size';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { MaxLengthCounter } from '../UNSAFE_TextArea';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '../resources/nls/bundle';\nimport { ComponentMessageItem } from '../UNSAFE_ComponentMessage';\nimport { LayoutColumnSpan } from '../utils/UNSAFE_styles/Layout';\nimport type { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { HiddenAccessible } from '../UNSAFE_HiddenAccessible';\nimport { useId } from '../hooks/UNSAFE_useId';\nimport { SelectableHandle, useSelectableTextField } from '#hooks/UNSAFE_useSelectableTextField';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\n\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = TestIdProps & {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n 'aria-describedby'?: TextFieldInputProps['aria-describedby'];\n /**\n * Text to provide guidance to help the user understand what to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n /**\n * Dictates component's autocomplete state.\n * This attribute indicates whether the value of the control can be automatically completed by the browser.\n * The common values are \"on\" and \"off\".\n */\n autoComplete?: TextFieldInputProps['autoComplete'];\n /**\n * Autofocus specifies whether the component will get focus when the page is loaded.\n * If it is set to true then the associated component will get input focus when the page is loaded.\n * Setting this property doesn't set the focus to the component; it tells the browser to focus\n * to it when the element is inserted in the document.\n */\n autoFocus?: TextFieldInputProps['autoFocus'];\n /**\n * Specifies how many columns to span in a FormLayout with direction === 'row'\n */\n columnSpan?: LayoutColumnSpan;\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n /**\n * Specifies for accessibility purposes whether a value is required.\n *\n * Setting this property to <code>false</code> means that a value is not required to be\n * committed by the user. Setting this property to <code>true</code> means that a value\n * is required to be committed by the user.\n */\n isRequired?: TextFieldInputProps['isRequired'];\n /**\n * Specifies whether to show an indicator on screen that a value is required, for example\n * before the user has committed a value.\n */\n isRequiredShown?: InlineUserAssistanceProps['isRequiredShown'];\n /**\n * Specifies the label associated with the field.\n */\n label: string;\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>\n */\n labelStartWidth?: Size;\n /**\n * Specifies the maximum number of characters that can be entered in the input field.\n */\n maxLength?: number;\n /**\n * Determines whether the remaining number of characters that can be entered is shown or not.\n */\n maxLengthCounter?: 'none' | 'remaining';\n /**\n * Specifies how the input text characters are to be counted when maxLength is specified.\n */\n maxLengthUnit?: CountUnit;\n /**\n * Specifies the maximum number of rows that the TextAreaAutosize is allowed to grow to.\n * If maxRows is less than minRows, it is ignored.\n */\n maxRows?: number;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * Specifies the minimum number of rows that the TextAreaAutosize is allowed to shrink to.\n */\n minRows?: number;\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n /**\n * Specifies how the user is allowed to manually resize the TextArea component.\n */\n role?: TextFieldInputProps['role'];\n /**\n * Specifies the number of rows to display\n */\n textAlign?: TextFieldInputProps['textAlign'];\n /**\n * Specifies the density of the user assistance presentation. It can be set to:\n * <ul>\n * <li><code>'efficient'</code>: Show inline and reserve space to prevent layout reflow when user\n * assistance text is displayed.</li>\n * <li><code>'reflow'</code>: Show inline. Layout will reflow when text is displayed.</li>\n * <li><code>'compact'</code>: Messages, help, hints, and required will not be shown inline; they will show in a mode that keeps the screen more compact, like a popup for the messages, and a required icon to indicate Required. </li>\n * </ul>\n */\n userAssistanceDensity?: UserAssistanceDensityType;\n /**\n * The current display value of the component.\n */\n value?: TextFieldInputProps['value'];\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n /**\n * Callback invoked when the user commits the entered value by blurring out of the field.\n *\n */\n onCommit?: TextFieldInputProps['onCommit'];\n\n /**\n * Callback invoked when the user inputs a value.\n *\n */\n onInput: TextFieldInputProps['onInput'];\n};\ntype FocusSelectHandle = FocusableHandle & SelectableHandle;\n/**\n * A text area auto size displays a field that allows a user to enter a multi-line text value, and will adjust its height based on its content.\n */\nexport const TextAreaAutosize = forwardRef(\n (\n {\n 'aria-describedby': ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n columnSpan,\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n maxLength,\n maxLengthCounter = 'remaining',\n maxLengthUnit,\n maxRows,\n messages,\n minRows = 2,\n placeholder,\n role,\n //TODO: Add counter to show the length remaining - JET-50752\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n onInput,\n onCommit,\n testId\n }: Props,\n ref?: Ref<FocusSelectHandle>\n ) => {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const formControl_limitReached = maxLength\n ? translations.formControl_limitReached({\n CHARACTER_LIMIT: maxLength\n })\n : '';\n\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput, dispatch]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'commit', payload: detail.value });\n onCommit?.(detail);\n },\n [onCommit, dispatch]\n );\n const {\n isDisabled: isFormDisabled,\n isReadonly: isFormReadonly,\n labelEdge: formLabelEdge,\n labelStartWidth: formLabelStartWidth,\n textAlign: formTextAlign,\n userAssistanceDensity: formUserAssistanceDensity\n } = useFormContext();\n // default to FormContext values if component properties are not specified\n const isDisabled = propIsDisabled ?? isFormDisabled;\n const isReadonly = propIsReadonly ?? isFormReadonly;\n const labelEdge = propLabelEdge ?? formLabelEdge;\n const labelStartWidth = propLabelStartWidth ?? formLabelStartWidth;\n const textAlign = propTextAlign ?? formTextAlign;\n const userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;\n const maxLengthDescribedByIdRef = useRef<string>(useId());\n // The enabledAriaDescribedBy includes the maxLengthDescribedById in addition to what was passed in to aria-describedby.\n // We don't need to announce the max length message for readonly, as it only applies when editing the value.\n const enabledAriaDescribedBy = ariaDescribedBy\n ? `${ariaDescribedBy} ${maxLengthDescribedByIdRef.current}`\n : maxLengthDescribedByIdRef.current;\n\n const enabledElementRef = useRef<HTMLTextAreaElement>(null);\n const readonlyElementRef = useRef<HTMLTextAreaElement | HTMLDivElement>(null);\n\n const {\n focusProps,\n isFocused,\n methods: focusMethods\n } = useFocusableTextField<HTMLTextAreaElement, HTMLTextAreaElement | HTMLDivElement>({\n isDisabled,\n isReadonly,\n enabledElementRef,\n readonlyElementRef\n });\n\n const { methods: selectMethods } =\n useSelectableTextField<HTMLTextAreaElement>(enabledElementRef);\n\n useImperativeHandle(ref!, () => mergeProps(focusMethods, selectMethods), [\n focusMethods,\n selectMethods\n ]);\n\n // Handle length filter for user-typed inputs and controlled inputs\n const { isMaxLengthReached, valueLength, onFilteredInput } = useLengthFilter({\n maxLength,\n maxLengthUnit,\n value,\n onInput: onInputAndDispatch,\n onCommit: onCommitAndDispatch\n });\n\n const limitMessage = [{ detail: formControl_limitReached, severity: 'info' }];\n const allMessages = [\n ...(messages ?? []),\n ...(isMaxLengthReached ? limitMessage : [])\n ] as ComponentMessageItem[];\n\n const { formFieldContext, inputProps, labelProps, textFieldProps, userAssistanceProps } =\n useTextField({\n ariaDescribedBy: isReadonly || isDisabled ? ariaDescribedBy : enabledAriaDescribedBy,\n contentVariant: 'textarea',\n helpSourceLink,\n helpSourceText,\n isDisabled,\n isFocused,\n isReadonly,\n isRequiredShown,\n labelEdge,\n messages: allMessages,\n styleVariant: variant,\n userAssistanceDensity,\n value\n });\n\n const onClickCounter = useCallback(() => {\n const elm = enabledElementRef.current;\n // for setSelectionRange(), len needs to be a number or null.\n const len = elm ? elm.value.length : null;\n // Since the counter element is after the text, clicking in this\n // should put the selection at the end of the text\n enabledElementRef.current?.setSelectionRange(len, len);\n // Clicking the counter should put the focus on the input field\n enabledElementRef.current?.focus();\n }, [enabledElementRef]);\n\n const labelComp = labelEdge !== 'none' ? <Label {...labelProps}>{label}</Label> : undefined;\n\n const fieldLabelProps = {\n label: labelEdge !== 'none' ? labelComp : undefined,\n labelEdge: labelEdge !== 'none' ? labelEdge : undefined,\n labelStartWidth: labelEdge !== 'none' ? labelStartWidth : undefined\n };\n\n const ariaLabel = labelEdge === 'none' ? label : undefined;\n const isInlineDensity =\n userAssistanceDensity === 'efficient' || userAssistanceDensity === 'reflow';\n\n const inlineUserAssistance = isInlineDensity ? (\n isDisabled || isReadonly ? (\n // save space for user assistance if density is 'efficient', even though we don't\n // render user assistance for disabled or readonly fields\n userAssistanceDensity !== 'efficient' ? undefined : (\n <InlineUserAssistance\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n )\n ) : (\n <InlineUserAssistance\n assistiveText={assistiveText}\n fieldLabel={label}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n messages={allMessages}\n isRequiredShown={isRequiredShown}\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n )\n ) : undefined;\n\n const anchorRef = useRef<HTMLDivElement>(null);\n\n const compactUserAssistance =\n userAssistanceDensity === 'compact' ? (\n <CompactUserAssistance\n anchorRef={anchorRef}\n messages={allMessages}\n assistiveText={assistiveText}\n {...userAssistanceProps}\n />\n ) : undefined;\n\n useTextAreaAutosizing({\n isReadonly,\n enabledElementRef,\n readonlyElementRef,\n minRows,\n maxRows,\n value\n });\n\n if (isReadonly) {\n // TODO: should be able to configure whether start/end content is shown when readonly\n // JET-49916 - Preact InputText: show start/end content when readonly\n const mainContent = (\n <ReadonlyTextFieldInput\n aria-describedby={inputProps['aria-describedby']}\n aria-label={ariaLabel}\n aria-labelledby={labelProps.id}\n elementRef={readonlyElementRef}\n {...(maxRows ? { as: 'textarea', rows: minRows } : { as: 'div' })}\n autoFocus={autoFocus}\n textAlign={textAlign}\n value={value}\n variant=\"textarea\"\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n );\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n columnSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n inlineUserAssistance={inlineUserAssistance}\n variant=\"textarea\"\n mainContent={mainContent}\n ref={anchorRef}\n testId={testId}\n {...fieldLabelProps}\n />\n </FormFieldContext.Provider>\n );\n }\n const hasMaxLength = maxLength !== undefined;\n const mainContent = (\n <>\n <TextFieldInput\n as=\"textarea\"\n aria-label={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n isRequired={isRequired}\n inputRef={enabledElementRef}\n onCommit={onCommitAndDispatch}\n onInput={onFilteredInput}\n placeholder={placeholder}\n role={role}\n rows={minRows}\n textAlign={textAlign}\n value={value}\n {...inputProps}\n />\n {maxLengthCounter === 'remaining' && hasMaxLength && (\n <MaxLengthCounter\n maxLength={maxLength}\n valueLength={valueLength}\n onClick={onClickCounter}\n />\n )}\n {hasMaxLength && (\n <HiddenAccessible id={maxLengthDescribedByIdRef.current}>\n {translations.formControl_maxLength({\n MAX_LENGTH: `${maxLength}`\n })}\n </HiddenAccessible>\n )}\n {hasMaxLength && isFocused && (\n <MaxLengthLiveRegion\n maxLength={maxLength}\n valueLength={valueLength}\n testId={testId + '_remainingChars'}\n />\n )}\n </>\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n mainContent={mainContent}\n columnSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n inlineUserAssistance={inlineUserAssistance}\n onBlur={focusProps?.onFocusOut}\n onFocus={focusProps?.onFocusIn}\n mainFieldRef={anchorRef}\n testId={testId}\n {...textFieldProps}\n {...fieldLabelProps}\n />\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["useTextAreaAutosizing","isReadonly","enabledElementRef","readonlyElementRef","minRows","maxRows","value","useLayoutEffect","textareaRef","current","HTMLDivElement","textarea","lineHeight","computedStyle","window","getComputedStyle","computedlineHeight","parseFloat","fontSize","calculateLineHeight","style","height","paddingHeight","borderHeight","cssStyle","paddingTop","paddingBottom","borderTop","borderBottom","getStylingHeight","heightForMinRows","scrollHeight","resizedHeight","undefined","heightForMaxRows","TextAreaAutosize","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","columnSpan","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","maxLength","maxLengthCounter","maxLengthUnit","messages","placeholder","role","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","variant","onInput","onCommit","testId","ref","translations","useTranslationBundle","formControl_limitReached","CHARACTER_LIMIT","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","maxLengthDescribedByIdRef","useRef","useId","enabledAriaDescribedBy","focusProps","isFocused","methods","focusMethods","useFocusableTextField","selectMethods","useSelectableTextField","useImperativeHandle","mergeProps","isMaxLengthReached","valueLength","onFilteredInput","useLengthFilter","allMessages","severity","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","contentVariant","styleVariant","onClickCounter","elm","len","length","setSelectionRange","focus","labelComp","_jsx","jsx","Label","fieldLabelProps","ariaLabel","inlineUserAssistance","InlineUserAssistance","fieldLabel","anchorRef","compactUserAssistance","CompactUserAssistance","mainContent","ReadonlyTextFieldInput","id","elementRef","as","rows","hasEmptyLabel","hasInsideLabel","FormFieldContext","Provider","children","ReadonlyTextField","hasMaxLength","_jsxs","_Fragment","Fragment","TextFieldInput","inputRef","MaxLengthCounter","onClick","HiddenAccessible","formControl_maxLength","MAX_LENGTH","MaxLengthLiveRegion","TextField","onBlur","onFocusOut","onFocus","onFocusIn","mainFieldRef"],"mappings":"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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './useComponentTheme-5aa41a8f', './UNSAFE_Badge/themes/redwood/BadgeTheme', './useTooltip-b43ad881', 'preact/hooks', './LayerHost-639b3284', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-e5bdb734', './useDetectTruncation-3199bf3a', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317'], (function(e,t,o,s,a,n,i,d,r,c,l,T,b,p,u){"use strict";e.TruncatingBadge=function({variant:e,size:n,edge:i,children:d}){const{classes:r}=o.useComponentTheme(s.BadgeRedwoodTheme,{variant:e,size:n,edge:i}),{isTabbable:c}=u.useTabbableMode(),{detectTruncationProps:l,isTextTruncated:T}=b.useDetectTruncation(),{tooltipContent:p,tooltipProps:h}=a.useTooltip({text:d,isDisabled:!T}),{"aria-describedby":m,...g}=h;return t.jsxs(t.Fragment,{children:[t.jsx("span",{...l,...g,tabIndex:T&&c?0:-1,class:r,children:d}),p]})}}));
|
|
2
|
-
//# sourceMappingURL=TruncatingBadge-7f66faaf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TruncatingBadge-7f66faaf.js","sources":["../../src/UNSAFE_TruncatingBadge/TruncatingBadge.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 { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { BadgeStyles, BadgeVariantOptions } from '../UNSAFE_Badge/themes/BadgeStyles.css';\nimport { BadgeRedwoodTheme } from '../UNSAFE_Badge/themes/redwood/BadgeTheme';\nimport { useTooltip } from '#hooks/UNSAFE_useTooltip';\nimport { useDetectTruncation } from '#hooks/PRIVATE_useDetectTruncation';\nimport { useTabbableMode } from '#hooks/UNSAFE_useTabbableMode';\n\nexport type Props = {\n /**\n * Sets the variant for the badge. Badge can be subtle or solid with different colors. The default value of this property is theme driven.\n */\n variant?:\n | 'neutral'\n | 'neutralSubtle'\n | 'danger'\n | 'dangerSubtle'\n | 'success'\n | 'successSubtle'\n | 'warning'\n | 'warningSubtle'\n | 'info'\n | 'infoSubtle';\n /**\n * Specifies the size of the badge. Consists of two options: Medium and small. The default value of this property is theme driven.\n */\n size?: 'sm' | 'md';\n /**\n * Specifies the edge of the badge. Badges can be attached to the end edge of another component. They lose their default corner rounding on right side for ltr direction or left side for rtl direction.\n */\n edge?: 'none' | 'end';\n /**\n * Specifies the string that will be rendered in the badge.\n */\n children: string;\n};\n\nexport function TruncatingBadge({ variant, size, edge, children }: Props) {\n const { classes } = useComponentTheme<BadgeVariantOptions, BadgeStyles>(BadgeRedwoodTheme, {\n variant,\n size,\n edge\n });\n const { isTabbable } = useTabbableMode();\n const { detectTruncationProps, isTextTruncated } = useDetectTruncation();\n const { tooltipContent, tooltipProps } = useTooltip({\n text: children,\n isDisabled: !isTextTruncated\n });\n\n const { 'aria-describedby': notNeeded, ...validTooltipProps } = tooltipProps; //remove aria-describedby to prevent screen readers reading the same text multiple times\n\n return (\n <>\n <span\n {...detectTruncationProps}\n {...validTooltipProps}\n tabIndex={isTextTruncated && isTabbable ? 0 : -1}\n class={classes}>\n {children}\n </span>\n {tooltipContent}\n </>\n );\n}\n"],"names":["variant","size","edge","children","classes","useComponentTheme","BadgeRedwoodTheme","isTabbable","useTabbableMode","detectTruncationProps","isTextTruncated","useDetectTruncation","tooltipContent","tooltipProps","useTooltip","text","isDisabled","notNeeded","validTooltipProps","_jsxs","_Fragment","_jsx","tabIndex","class"],"mappings":"yjBA2CM,UAA0BA,QAAEA,EAAOC,KAAEA,EAAIC,KAAEA,EAAIC,SAAEA,IACrD,MAAMC,QAAEA,GAAYC,EAAiBA,kBAAmCC,oBAAmB,CACzFN,UACAC,OACAC,UAEIK,WAAEA,GAAeC,EAAAA,mBACjBC,sBAAEA,EAAqBC,gBAAEA,GAAoBC,EAAmBA,uBAChEC,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDC,KAAMZ,EACNa,YAAaN,KAGP,mBAAoBO,KAAcC,GAAsBL,EAEhE,OACEM,OAAAC,EAAAA,SAAA,CAAAjB,SAAA,CACEkB,EAAAA,IACM,OAAA,IAAAZ,KACAS,EACJI,SAAUZ,GAAmBH,EAAa,GAAK,EAC/CgB,MAAOnB,EACND,SAAAA,IAEFS,IAGP"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './useDetectTruncation-3199bf3a', './useTooltip-b43ad881', 'preact/hooks', './logger-0f873e29', './LayerHost-639b3284', 'preact/compat', './mergeInterpolations-9ede4cf7', './classNames-08d99695', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-e5bdb734', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', './UNSAFE_Text/themes/TextStyles.css', './clientHints-4f5a07b0'], (function(e,t,s,o,a,n,i,l,r,c,p,d,b,u,T,h,m,y){"use strict";const f=[({lineClamp:e})=>e?{class:m.styles.lineClamp,webkitLineClamp:e}:{}],x=r.mergeInterpolations(f);e.TruncatingText=function({children:e,hyphens:a,size:n,truncation:i,variant:l="inherit",weight:r,overflowWrap:p="anywhere",...d}){const b=y.getClientHints(),u=m.multiVariantStyles({hyphens:a,size:n,truncation:i,variant:l,weight:r,overflowWrap:p,safariStyles:"safari"===b.browser?"needs":"noNeed"}),{class:T,...f}=x(d),g=c.classNames([u,T]),{isTabbable:w}=h.useTabbableMode(),{detectTruncationProps:C,isTextTruncated:S}=s.useDetectTruncation(),{tooltipContent:N,tooltipProps:k}=o.useTooltip({text:e,isDisabled:!S}),{"aria-describedby":v,...F}=k;return t.jsxs(t.Fragment,{children:[t.jsx("span",{...C,...F,tabIndex:S&&w?0:-1,class:g,style:f,id:d.id,children:e}),N]})}}));
|
|
2
|
-
//# sourceMappingURL=TruncatingText-69770aa9.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TruncatingText-69770aa9.js","sources":["../../src/UNSAFE_TruncatingText/TruncatingText.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 { useDetectTruncation } from '#hooks/PRIVATE_useDetectTruncation';\nimport { useTooltip } from '#hooks/UNSAFE_useTooltip';\nimport { useTabbableMode } from '#hooks/UNSAFE_useTabbableMode';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\nimport { multiVariantStyles, styles } from '../UNSAFE_Text/themes/TextStyles.css';\nimport { getClientHints } from '../utils/PRIVATE_clientHints';\n\ntype StylePropsWithOutTruncate = {\n /**\n * Specifies text color. If set as \"inherit\", takes text color from its parent element.\n */\n variant?: 'primary' | 'secondary' | 'disabled' | 'danger' | 'warning' | 'success' | 'inherit';\n\n /**\n * Specifies font size and line height. If set as \"inherit\", takes font size and line height from its parent element.\n */\n size?: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'inherit';\n\n /**\n * Specifies the font weight. If set as \"inherit\", takes font weight from its parent element.\n */\n weight?: 'normal' | 'semiBold' | 'bold' | 'inherit';\n\n /**\n * Specifies the overflow-wrap.\n */\n overflowWrap?: 'normal' | 'breakWord' | 'anywhere';\n\n /**\n * Specifies if hyphens should be included when handling long words with no spaces.\n */\n hyphens?: 'auto' | 'none';\n};\ntype TruncateProps =\n | {\n /**\n * Truncates text at a specific number of lines and then displays an ellipsis (…) at the end of the last line. Parent of the element needs to have a specific width so text starts overflowing and produce a truncation.\n */\n lineClamp?: number;\n /**\n * Determines text behavior when text is truncated. Be aware of setting either lineClamp or truncation. Setting both props would produce a type error. In most cases, lineClamp=1 tries to put the ellipsis at the end of a \"word\". On the other hand, using truncation=\"ellipsis\" will show as much as possible text, then put the ellipsis at the end.\n */\n truncation?: never;\n }\n | {\n lineClamp?: never;\n truncation?: 'none' | 'clip' | 'ellipsis';\n };\ntype AdditionalProps = {\n /**\n * Specifies the text id\n */\n id?: string;\n\n /**\n * Specifies the children.\n */\n children?: string;\n};\ntype Props = StylePropsWithOutTruncate & TruncateProps & AdditionalProps;\n\nconst interpolations = [\n ({ lineClamp }: Pick<TruncateProps, 'lineClamp'>) =>\n !lineClamp ? {} : { class: styles.lineClamp, webkitLineClamp: lineClamp }\n];\nconst styleInterpolations = mergeInterpolations<Omit<Props, 'children'>>(interpolations);\n\nexport function TruncatingText({\n children,\n hyphens,\n size,\n truncation,\n variant = 'inherit',\n weight,\n overflowWrap = 'anywhere',\n ...props\n}: Props) {\n const clientHints = getClientHints();\n const variantClasses = multiVariantStyles({\n hyphens,\n size,\n truncation,\n variant,\n weight,\n overflowWrap,\n safariStyles: clientHints.browser === 'safari' ? 'needs' : 'noNeed'\n });\n const { class: interpolatedClasses, ...styles } = styleInterpolations(props);\n const classes = classNames([variantClasses, interpolatedClasses]);\n const { isTabbable } = useTabbableMode();\n const { detectTruncationProps, isTextTruncated } = useDetectTruncation();\n const { tooltipContent, tooltipProps } = useTooltip({\n text: children,\n isDisabled: !isTextTruncated\n });\n\n const { 'aria-describedby': notNeeded, ...validTooltipProps } = tooltipProps; //remove aria-describedby to prevent screen readers reading the same text multiple times\n\n return (\n <>\n <span\n {...detectTruncationProps}\n {...validTooltipProps}\n tabIndex={isTextTruncated && isTabbable ? 0 : -1}\n class={classes}\n style={styles}\n id={props.id}>\n {children}\n </span>\n {tooltipContent}\n </>\n );\n}\n"],"names":["interpolations","lineClamp","class","styles","webkitLineClamp","styleInterpolations","mergeInterpolations","children","hyphens","size","truncation","variant","weight","overflowWrap","props","clientHints","getClientHints","variantClasses","multiVariantStyles","safariStyles","browser","interpolatedClasses","classes","classNames","isTabbable","useTabbableMode","detectTruncationProps","isTextTruncated","useDetectTruncation","tooltipContent","tooltipProps","useTooltip","text","isDisabled","notNeeded","validTooltipProps","_jsxs","jsxs","_Fragment","Fragment","_jsx","tabIndex","style","id"],"mappings":"+mBAqEA,MAAMA,EAAiB,CACrB,EAAGC,eACAA,EAAiB,CAAEC,MAAOC,SAAOF,UAAWG,gBAAiBH,GAAjD,CAAE,GAEbI,EAAsBC,EAAAA,oBAA6CN,oBAEnE,UAAyBO,SAC7BA,EAAQC,QACRA,EAAOC,KACPA,EAAIC,WACJA,EAAUC,QACVA,EAAU,UAASC,OACnBA,EAAMC,aACNA,EAAe,cACZC,IAEH,MAAMC,EAAcC,EAAAA,iBACdC,EAAiBC,EAAAA,mBAAmB,CACxCV,UACAC,OACAC,aACAC,UACAC,SACAC,eACAM,aAAsC,WAAxBJ,EAAYK,QAAuB,QAAU,YAErDlB,MAAOmB,KAAwBlB,GAAWE,EAAoBS,GAChEQ,EAAUC,EAAUA,WAAC,CAACN,EAAgBI,KACtCG,WAAEA,GAAeC,EAAAA,mBACjBC,sBAAEA,EAAqBC,gBAAEA,GAAoBC,EAAmBA,uBAChEC,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDC,KAAMzB,EACN0B,YAAaN,KAGP,mBAAoBO,KAAcC,GAAsBL,EAEhE,OACEM,EACEC,KAAAC,EAAAC,SAAA,CAAAhC,SAAA,CAAAiC,EAAAA,IAAA,OAAA,IACMd,KACAS,EACJM,SAAUd,GAAmBH,EAAa,GAAK,EAC/CtB,MAAOoB,EACPoB,MAAOvC,EACPwC,GAAI7B,EAAM6B,YACTpC,IAEFsB,IAGP"}
|
package/amd/View-bd5c7fa7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/compat', './vanilla-extract-dynamic.esm-eceadd82', './borders-e15a6927', './dimensions-60420dbb', './flexitem-5db48325', './colors-5f64f302', './padding-77507928', './aria-232c9168', './theme-a8f3d819', './mergeInterpolations-9ede4cf7', './LayerHost-639b3284', './EnvironmentProvider-c0e1e39b', './Common/themes/themeContract.css', './useDensity-f0f7ae9a', './useTestId-b5cd4766', './_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,f,p,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=f.useDensity(),j=i??(s?b:void 0),v=p.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-bd5c7fa7.js.map
|
package/amd/View-bd5c7fa7.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"View-bd5c7fa7.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', 'preact/hooks', './Collection-46cfa244', './useViewportIntersect-b2d47a4b'], (function(e,t,o,n,r){"use strict";const c="oj-collection-placeholder",i=({context:e,placeholderHeight:o})=>{const{fromIndex:n,toIndex:r,which:i,estimateItemSize:l}=e;let s=0;if(o)s=o(e);else{const e=0===l?48:l;s=Math.max(0,r-n)*e}const a="topPlaceholder"===i?"_topPlaceholder":"_bottomPlaceholder",d={height:s+"px"};return 0===s&&(d.display="none"),t.jsx("div",{className:c,style:d},a)};function l(e){return function({itemSize:t,viewportHeight:o,scrollOffset:n,overscan:r=0}){if(void 0===t||0===t||void 0===o||void 0===n)return{offset:0,count:e};const c=Math.ceil(n/t),i=Math.ceil(o/t);return{offset:Math.max(0,c-r),count:i+r*(c>0?2:1)}}}const s=(e,t,o,n,r)=>{let c,i;if(e&&t){const o=t.getBoundingClientRect(),n=(e=>{let t,o;if(e===document.documentElement)t=0,o=document.documentElement.clientHeight;else{const n=e.getBoundingClientRect();t=n.top,o=n.bottom}return{top:t,bottom:o}})(e);o&&n&&(c=n.top-o.top-1,i=n.bottom-n.top+1)}if(void 0!==c&&void 0!==i){return n({scrollOffset:c,viewportHeight:i,overscan:o,itemSize:r})}return null},a=`.oj-collection-loadmore, .${c}`,d=l(25);e.PLACEHOLDER_STYLE_CLASS=c,e.VirtualizedCollection=function({data:e,children:c,viewportConfig:l,itemSelector:u,placeholderHeight:h,rangeExtractor:f=d,overscan:m=1,onLoadRange:g,loadMoreIndicator:x,suggestions:p}){const v=o.useRef(null),I=o.useRef(0);if(r.useViewportIntersect(l,1,0,a,(()=>{const e=s(l.scroller(),v.current,m,f,I.current??0);e&&g(e)})),o.useEffect((()=>{if(0===I.current){let e=0;const t=v.current.querySelectorAll(u);t.length>0&&(t.forEach((t=>{e+=t.offsetHeight})),I.current=e/t.length)}})),!(e&&(S=e,S&&S.data&&S.offset>=0&&S.totalSize>=0)))return t.jsx("div",{ref:v});var S;const z=e.data,j=e.offset,w=j+z.length,E=e.totalSize,H=j>=0?{fromIndex:0,toIndex:j,which:"topPlaceholder",estimateItemSize:I.current??0}:void 0,C=w&&w<=E?{fromIndex:w,toIndex:E,which:"bottomPlaceholder",estimateItemSize:I.current??0}:void 0,b=x&&"atLeast"===e.sizePrecision&&w<=E;return t.jsxs("div",{ref:v,style:"will-change: contents",children:[p,H&&t.jsx(i,{context:H,placeholderHeight:h}),t.jsx(n.Collection,{items:z,children:(P=j,e=>{const t={index:P+e.index,data:e.data};return c(t)})}),C&&t.jsx(i,{context:C,placeholderHeight:h}),b&&x]});var P},e.getVirtualizedRangeExtractor=l}));
|
|
2
|
-
//# sourceMappingURL=VirtualizedCollection-897516a5.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualizedCollection-897516a5.js","sources":["../../src/PRIVATE_VirtualizedCollection/Placeholder.tsx","../../src/PRIVATE_VirtualizedCollection/VirtualizedCollection.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 { JSX } from 'preact';\n\nexport const placeholderTypes = ['topPlaceholder', 'bottomPlaceholder'] as const;\n/**\n * Type of placeholder (top which is before the data content and bottom which is after the data content)\n */\nexport type PlaceholderType = (typeof placeholderTypes)[number];\n\n/**\n * Context object which is pass to the placeholderHeight function callback\n */\nexport type PlaceholderContext = {\n fromIndex: number;\n toIndex: number;\n estimateItemSize: number;\n which: PlaceholderType;\n};\n\nexport const PLACEHOLDER_STYLE_CLASS = 'oj-collection-placeholder';\n\nconst DEFAULT_PLACEHOLDER_SIZE = 48; // min-height defined in Redwood spec for item\nconst TOP_PLACEHOLDER_KEY = '_topPlaceholder';\nconst BOTTOM_PLACEHOLDER_KEY = '_bottomPlaceholder';\n\ntype Props = {\n context: PlaceholderContext;\n placeholderHeight?: (context: PlaceholderContext) => number;\n};\n\n/**\n * A component that renders placeholder which is used internally by VirtualizeViewportCollection\n */\nexport const Placeholder = ({ context, placeholderHeight }: Props) => {\n const { fromIndex, toIndex, which, estimateItemSize } = context;\n let totalHeight = 0;\n if (placeholderHeight) {\n totalHeight = placeholderHeight(context);\n } else {\n const placeholderUnitHeight =\n estimateItemSize === 0 ? DEFAULT_PLACEHOLDER_SIZE : estimateItemSize;\n totalHeight = Math.max(0, toIndex - fromIndex) * placeholderUnitHeight;\n }\n\n const key = which === 'topPlaceholder' ? TOP_PLACEHOLDER_KEY : BOTTOM_PLACEHOLDER_KEY;\n const style: JSX.CSSProperties = { height: totalHeight + 'px' };\n if (totalHeight === 0) {\n style.display = 'none';\n }\n return <div key={key} className={PLACEHOLDER_STYLE_CLASS} style={style}></div>;\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 { RefObject, ComponentChildren } from 'preact';\nimport { useEffect, useRef } from 'preact/hooks';\nimport { DataState, ItemContext, Range, Metadata, ViewportInfo } from '../UNSAFE_Collection';\nimport { Collection } from '../PRIVATE_Collection';\nimport {\n Placeholder,\n PlaceholderContext,\n PlaceholderType,\n PLACEHOLDER_STYLE_CLASS\n} from './Placeholder';\nimport { useViewportIntersect, ViewportConfig } from '../hooks/UNSAFE_useViewportIntersect';\n\n/**\n * Props for the VirtualizedCollection component\n */\ntype Props<K, D> = {\n /**\n * A DataState object that provide information including data and metadata to the VirtualizedCollection.\n */\n data: DataState<K, D> | null;\n\n /**\n * Renderer callback used to render each item\n */\n children: (context: ItemContext<{ data: D; metadata: Metadata<K> }>) => ComponentChildren;\n\n /**\n * Callback to calculate placeholder height\n */\n placeholderHeight?: (context: PlaceholderContext) => number;\n\n /**\n * Viewport configuration including specifying the element which is used to determine what range\n * of data to render\n */\n viewportConfig: ViewportConfig;\n\n /**\n * The selector string to identify the children items\n */\n itemSelector: string;\n\n /**\n * Callback function to handle when viewport has changed, including the case\n * where user scrolls to the end of the component and there are more items to load.\n * The function should sets a new DataState on the component for the specified range.\n */\n onLoadRange: (range: Range) => void;\n\n /**\n * The number of additional items to render before and after the current viewport. This is\n * mainly used for performance tuning. Increase the overscan will result in less frequent\n * rendering when scroll but at the same time each render will take longer depending on the\n * item content.\n */\n overscan?: number;\n\n /**\n * Optionally provide a custom callback to return the range to render based on viewport info\n */\n rangeExtractor?: (info: ViewportInfo) => Range;\n\n /**\n * Optionally specify the custom load more indicator\n */\n loadMoreIndicator?: ComponentChildren;\n\n /**\n * Optionally provide the suggestion indicator sparkle\n */\n suggestions?: ComponentChildren;\n};\n\n/**\n * A function that returns the default range extractor\n * @param fetchSize\n */\nexport function getVirtualizedRangeExtractor(fetchSize: number) {\n return function ({ itemSize, viewportHeight, scrollOffset, overscan = 0 }: ViewportInfo): Range {\n // if any of these is missing then return default initial range\n if (\n itemSize === undefined ||\n itemSize === 0 ||\n viewportHeight === undefined ||\n scrollOffset === undefined\n ) {\n return { offset: 0, count: fetchSize };\n }\n const offset = Math.ceil(scrollOffset / itemSize);\n const count = Math.ceil(viewportHeight / itemSize);\n return {\n offset: Math.max(0, offset - overscan),\n count: count + overscan * (offset > 0 ? 2 : 1)\n };\n };\n}\n\n/**\n * Helper function to find the top and bottom of an element relative to the viewport\n * @param elem\n */\nconst getElementTopBottom = (elem: HTMLElement): { top: number; bottom: number } => {\n let top;\n let bottom;\n if (elem === document.documentElement) {\n top = 0;\n bottom = document.documentElement.clientHeight;\n } else {\n const scrollerBounds = elem.getBoundingClientRect();\n top = scrollerBounds.top;\n bottom = scrollerBounds.bottom;\n }\n return { top, bottom };\n};\n\nconst isDataStateValid = <K, D>(dataState: DataState<K, D>) => {\n return dataState && dataState.data && dataState.offset >= 0 && dataState.totalSize >= 0;\n};\n\nconst DEFAULT_MARGIN = 1;\n\n/**\n * Returns the range for the current viewport\n */\nconst getViewportRange = (\n scroller: HTMLElement | null,\n root: HTMLElement,\n overscan: number,\n rangeExtractor: (info: ViewportInfo) => Range,\n estimateItemSize: number\n) => {\n let scrollOffset;\n let viewportHeight;\n\n if (scroller && root) {\n const rootRect = root.getBoundingClientRect();\n const viewportRect = getElementTopBottom(scroller);\n if (rootRect && viewportRect) {\n scrollOffset = viewportRect.top - rootRect.top - DEFAULT_MARGIN;\n viewportHeight = viewportRect.bottom - viewportRect.top + DEFAULT_MARGIN;\n }\n }\n\n if (scrollOffset !== undefined && viewportHeight !== undefined) {\n // figure out what the new range should be\n const range = rangeExtractor({\n scrollOffset,\n viewportHeight,\n overscan: overscan,\n itemSize: estimateItemSize\n });\n\n return range;\n }\n return null;\n};\n\nconst DEFAULT_OVERSCAN = 1;\nconst DEFAULT_END_INDEX = 25; // match default fetch size\nconst LOADMORE_STYLE_CLASS = 'oj-collection-loadmore';\nconst LOAD_MORE_AND_PLACEHOLDER_SELECTOR = `.${LOADMORE_STYLE_CLASS}, .${PLACEHOLDER_STYLE_CLASS}`;\nconst DEFAULT_RANGE_EXTRACTOR = getVirtualizedRangeExtractor(DEFAULT_END_INDEX);\n\n/**\n * Component that only render items in the specified viewport.\n * @param props\n */\nexport function VirtualizedCollection<K, D>({\n data,\n children,\n viewportConfig,\n itemSelector,\n placeholderHeight,\n rangeExtractor = DEFAULT_RANGE_EXTRACTOR,\n overscan = DEFAULT_OVERSCAN,\n onLoadRange,\n loadMoreIndicator,\n suggestions\n}: Props<K, D>) {\n const rootRef: RefObject<any> = useRef<HTMLElement>(null);\n const estimateItemSizeRef: RefObject<number> = useRef(0);\n\n // detect if viewport has changed and it needs to re-render based on a new range\n useViewportIntersect(\n viewportConfig,\n DEFAULT_MARGIN,\n 0,\n LOAD_MORE_AND_PLACEHOLDER_SELECTOR,\n () => {\n const range = getViewportRange(\n viewportConfig.scroller(),\n rootRef.current,\n overscan,\n rangeExtractor,\n estimateItemSizeRef.current ?? 0\n );\n if (range) {\n onLoadRange(range);\n }\n }\n );\n\n // calculate average item height. For now, we'll just do this once, but we can\n // do a rolling average where we'll adjust on every render.\n useEffect(() => {\n if (estimateItemSizeRef.current === 0) {\n let totalHeight = 0;\n const nodes = rootRef.current.querySelectorAll(itemSelector);\n if (nodes.length > 0) {\n nodes.forEach((item: HTMLElement) => {\n totalHeight += item.offsetHeight;\n });\n estimateItemSizeRef.current = totalHeight / nodes.length;\n }\n }\n });\n\n // override itemRenderer to adjust the index\n const _getItemRenderer = (startIndex: number) => {\n // returns a new render function\n return (context: ItemContext<{ data: D; metadata: Metadata<K> }>) => {\n const itemContext: ItemContext<{ data: D; metadata: Metadata<K> }> = {\n index: startIndex + context.index,\n data: context.data\n };\n return children(itemContext);\n };\n };\n\n // if DataState is invalid (including not specified), just render blank\n if (!data || !isDataStateValid(data)) {\n return <div ref={rootRef} />;\n }\n\n const rangeData = data.data;\n const offset = data.offset;\n const endIndex = offset + rangeData.length;\n const itemCount = data.totalSize;\n const topPlaceholderContext =\n offset >= 0\n ? {\n fromIndex: 0,\n toIndex: offset,\n which: 'topPlaceholder' as PlaceholderType,\n estimateItemSize: estimateItemSizeRef.current ?? 0\n }\n : undefined;\n const bottomPlaceholderContext =\n endIndex && endIndex <= itemCount\n ? {\n fromIndex: endIndex,\n toIndex: itemCount,\n which: 'bottomPlaceholder' as PlaceholderType,\n estimateItemSize: estimateItemSizeRef.current ?? 0\n }\n : undefined;\n\n const renderLoadMore =\n loadMoreIndicator && data.sizePrecision === 'atLeast' && endIndex <= itemCount;\n\n // might need to support elementType prop in the future to allow customization of what\n // type of element to render for the root\n return (\n <div ref={rootRef} style=\"will-change: contents\">\n {suggestions}\n {topPlaceholderContext && (\n <Placeholder\n context={topPlaceholderContext}\n placeholderHeight={placeholderHeight}></Placeholder>\n )}\n <Collection items={rangeData}>{_getItemRenderer(offset)}</Collection>\n {bottomPlaceholderContext && (\n <Placeholder\n context={bottomPlaceholderContext}\n placeholderHeight={placeholderHeight}></Placeholder>\n )}\n {renderLoadMore && loadMoreIndicator}\n </div>\n );\n}\n"],"names":["PLACEHOLDER_STYLE_CLASS","Placeholder","context","placeholderHeight","fromIndex","toIndex","which","estimateItemSize","totalHeight","placeholderUnitHeight","Math","max","key","style","height","display","_jsx","jsx","className","getVirtualizedRangeExtractor","fetchSize","itemSize","viewportHeight","scrollOffset","overscan","undefined","offset","count","ceil","getViewportRange","scroller","root","rangeExtractor","rootRect","getBoundingClientRect","viewportRect","elem","top","bottom","document","documentElement","clientHeight","scrollerBounds","getElementTopBottom","LOAD_MORE_AND_PLACEHOLDER_SELECTOR","DEFAULT_RANGE_EXTRACTOR","data","children","viewportConfig","itemSelector","onLoadRange","loadMoreIndicator","suggestions","rootRef","useRef","estimateItemSizeRef","useViewportIntersect","range","current","useEffect","nodes","querySelectorAll","length","forEach","item","offsetHeight","dataState","totalSize","ref","rangeData","endIndex","itemCount","topPlaceholderContext","bottomPlaceholderContext","renderLoadMore","sizePrecision","_jsxs","jsxs","Collection","items","startIndex","itemContext","index"],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualizedListView-cbe87ec2.js","sources":["../../src/UNSAFE_VirtualizedListView/VirtualizedListView.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 { List } from '../PRIVATE_List';\nimport { ListProps } from '../UNSAFE_ListView/List.types';\n\n/**\n * Props for the VirtualizedListView Component\n */\nexport type Props<K, D> = Pick<\n ListProps<K, D>,\n | 'aria-label'\n | 'aria-labelledby'\n | 'children'\n | 'currentItemVariant'\n | 'currentItemOverride'\n | 'data'\n | 'gridlines'\n | 'onPersistCurrentItem'\n | 'onItemAction'\n | 'onLoadRange'\n | 'onSelectionChange'\n | 'selectedKeys'\n | 'selectionMode'\n | 'viewportConfig'\n>;\n\n/**\n * Component that renders items as a flat list.\n * In order to maximize performance, only items that are visible in the viewport are rendered.\n */\n\nexport function VirtualizedListView<K extends string | number, D>(props: Props<K, D>) {\n return (\n <List isVirtualized={true} {...props}>\n {props.children}\n </List>\n );\n}\n"],"names":["props","_jsx","List","isVirtualized","children"],"mappings":"8GAoCM,SAA4DA,GAChE,OACEC,MAACC,EAAAA,KAAI,CAACC,eAAe,KAAUH,WAC5BA,EAAMI,UAGb"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './UNSAFE_VisStatusMessage/themes/VisStatusMessageStyles.css', './Flex-3421f0df', './classNames-08d99695', './useTranslationBundle-d07d4b20', './layoutUtils-8805fc5b'], (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-10983ace.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisNoData-10983ace.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-9a362373', './HiddenAccessible-037ef42d', './useId-c9578d26', './useTranslationBundle-d07d4b20', './UNSAFE_VisProgressiveLoader/themes/ProgressiveLoaderStyles.css', './classNames-08d99695', './size-a75b3f13', './Skeleton-5839404b', './UNSAFE_VisProgressiveLoader/themes/VisSkeletonStyles.css'], (function(e,s,i,t,a,l,n,d,r,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:r.classNames([d.baseStyles,d.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:d.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:r.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-06a60c8f.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisProgressiveLoader-06a60c8f.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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './classNames-08d99695', './PRIVATE_VisTabularDatatip/themes/VisTabularDatatipStyles.css', './useUser-3ef25571'], (function(s,a,t,e,l){"use strict";s.VisTabularDatatip=function({tableData:s}){const{direction:i}=l.useUser(),r="rtl"===i,c=t.classNames([e.styles.VisTabularDatatipLabel,r?e.styles.leftAlign:e.styles.rightAlign]),n=t.classNames([e.styles.VisTabularDatatipValue,r?e.styles.rightAlign:e.styles.leftAlign]);return a.jsx("table",{class:e.styles.VisTabularDatatipTable,children:a.jsx("tbody",{children:s.map((({key:s,value:t})=>a.jsxs("tr",{children:[a.jsx("td",{class:c,children:s}),a.jsx("td",{class:n,children:t})]})))})})}}));
|
|
2
|
-
//# sourceMappingURL=VisTabularDatatip-55bbd19f.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisTabularDatatip-55bbd19f.js","sources":["../../src/PRIVATE_VisTabularDatatip/VisTabularDatatip.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 { classNames } from '#utils/UNSAFE_classNames';\nimport { styles } from './themes/VisTabularDatatipStyles.css';\nimport { useUser } from '#hooks/UNSAFE_useUser';\n\nexport type TableRowData = {\n key: string;\n value: string | number;\n};\ntype Props = {\n tableData: Array<TableRowData>;\n};\n\nexport function VisTabularDatatip({ tableData }: Props) {\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n const datatipLabelStyle = classNames([\n styles.VisTabularDatatipLabel,\n isRtl ? styles.leftAlign : styles.rightAlign\n ]);\n const datatipValueStyle = classNames([\n styles.VisTabularDatatipValue,\n isRtl ? styles.rightAlign : styles.leftAlign\n ]);\n\n return (\n <table class={styles.VisTabularDatatipTable}>\n <tbody>\n {tableData.map(({ key, value }) => {\n return (\n <tr>\n <td class={datatipLabelStyle}>{key}</td>\n <td class={datatipValueStyle}>{value}</td>\n </tr>\n );\n })}\n </tbody>\n </table>\n );\n}\n"],"names":["tableData","direction","useUser","isRtl","datatipLabelStyle","classNames","styles","VisTabularDatatipLabel","leftAlign","rightAlign","datatipValueStyle","VisTabularDatatipValue","_jsx","class","VisTabularDatatipTable","children","map","key","value","_jsxs","jsxs","jsx"],"mappings":"4MAoBgB,UAAkBA,UAAEA,IAClC,MAAMC,UAAEA,GAAcC,EAAAA,UAChBC,EAAsB,QAAdF,EACRG,EAAoBC,EAAAA,WAAW,CACnCC,EAAAA,OAAOC,uBACPJ,EAAQG,EAAMA,OAACE,UAAYF,EAAAA,OAAOG,aAE9BC,EAAoBL,EAAAA,WAAW,CACnCC,EAAAA,OAAOK,uBACPR,EAAQG,EAAMA,OAACG,WAAaH,EAAAA,OAAOE,YAGrC,OACEI,EAAAA,aAAOC,MAAOP,EAAMA,OAACQ,gCACnBF,EAAAA,IACG,QAAA,CAAAG,SAAAf,EAAUgB,KAAI,EAAGC,MAAKC,WAEnBC,EACEC,KAAA,KAAA,CAAAL,SAAA,CAAAH,EAAAS,IAAA,KAAA,CAAIR,MAAOT,WAAoBa,IAC/BL,EAAAA,IAAI,KAAA,CAAAC,MAAOH,EAAiBK,SAAGG,YAO7C"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './mergeInterpolations-9ede4cf7', './vanilla-extract-dynamic.esm-eceadd82', './classNames-08d99695', './UNSAFE_WindowOverlay/themes/WindowOverlayStyles.css', './UNSAFE_WindowOverlay/themes/WindowOverlayContract.css', './useUser-3ef25571', './useComponentTheme-5aa41a8f', './UNSAFE_WindowOverlay/themes/redwood/WindowOverlayTheme'], (function(e,t,s,o,a,l,r,i,n,y){"use strict";e.WindowOverlay=({children:e,...w})=>{const{direction:d}=i.useUser(),c="ltr"===d;null==w.placement&&(w.placement="center");const{styles:v,baseTheme:O}=n.useComponentTheme(y.WindowOverlayRedwoodTheme),{baseStyle:m,gridStyles:f,placementStyles:p}=v,S=[({placement:e="center"})=>({class:p[e]})],b=[...Object.values(S)],h=s.mergeInterpolations(b),{class:g,...x}=h(w),u=((e,t,s)=>{if(null==e)return;let o;switch(e){case"top-start":case"center":o=t?l.windowOverlayStyles["top-left"]:l.windowOverlayStyles["top-right"];break;case"top-end":o=t?l.windowOverlayStyles["top-right"]:l.windowOverlayStyles["top-left"];break;case"bottom-start":o=t?l.windowOverlayStyles["bottom-left"]:l.windowOverlayStyles["bottom-right"];break;case"bottom-end":o=t?l.windowOverlayStyles["bottom-right"]:l.windowOverlayStyles["bottom-left"];break;case"start-top":o=t?l.windowOverlayStyles["left-top"]:l.windowOverlayStyles["right-top"];break;case"end-top":o=t?l.windowOverlayStyles["right-top"]:l.windowOverlayStyles["left-top"];break;case"start-bottom":o=t?l.windowOverlayStyles["left-bottom"]:l.windowOverlayStyles["right-bottom"];break;case"end-bottom":o=t?l.windowOverlayStyles["right-bottom"]:l.windowOverlayStyles["left-bottom"];break;case"start":o=t?l.windowOverlayStyles.left:l.windowOverlayStyles.right;break;case"end":o=t?l.windowOverlayStyles.right:l.windowOverlayStyles.left;break;case"top":o=l.windowOverlayStyles.top;break;case"bottom":o=l.windowOverlayStyles.bottom}return a.classNames([l.windowOverlayStyles.notificationPosition,o,s])})(w.placement,c,O),k="number"==typeof(A=w.offset)?o.assignInlineVars({[r.windowOverlayVars.notificationMainAxisOffset]:`${A}px`,[r.windowOverlayVars.notificationCrossAxisOffset]:"0px"}):o.assignInlineVars({[r.windowOverlayVars.notificationMainAxisOffset]:`${A?.mainAxis??0}px`,[r.windowOverlayVars.notificationCrossAxisOffset]:`${A?.crossAxis??0}px`});var A;return t.jsx("div",{class:a.classNames([m,f,g]),style:x,children:t.jsx("div",{class:u,style:void 0!==k?k:void 0,children:e})})}}));
|
|
2
|
-
//# sourceMappingURL=WindowOverlay-43c10424.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WindowOverlay-43c10424.js","sources":["../../src/UNSAFE_WindowOverlay/WindowOverlay.tsx"],"sourcesContent":["import { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\nimport { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { windowOverlayStyles } from './themes/WindowOverlayStyles.css';\nimport { windowOverlayVars } from './themes/WindowOverlayContract.css';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport type { Offset } from '../UNSAFE_Floating';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { WindowOverlayRedwoodTheme } from './themes/redwood/WindowOverlayTheme';\n\nexport type { Offset };\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLDivElement>, 'children'>;\n\nexport type WindowOverlayPlacement =\n | 'center'\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'start'\n | 'start-top'\n | 'start-bottom'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'end'\n | 'end-top'\n | 'end-bottom';\n\nconst offsetStyle = (offset?: Offset) => {\n return typeof offset === 'number'\n ? assignInlineVars({\n [windowOverlayVars.notificationMainAxisOffset]: `${offset}px`,\n [windowOverlayVars.notificationCrossAxisOffset]: `0px`\n })\n : assignInlineVars({\n [windowOverlayVars.notificationMainAxisOffset]: `${offset?.mainAxis ?? 0}px`,\n [windowOverlayVars.notificationCrossAxisOffset]: `${offset?.crossAxis ?? 0}px`\n });\n};\n\ntype WindowOverlayProps = IntrinsicProps & {\n /**\n * Offset displaces the child element of the WindowOverlay component from its core placement along the specified axes.\n *\n * Offset could be a number or an object\n *\n * An object has the following type:\n * <pre>\n * {\n * mainAxis?: number;\n * crossAxis?: number;\n * }\n * </pre>\n * <p><code>mainAxis</code> - represents the distance (gutter or margin) between the child element and the viewport along the mainAxis.</p>\n * <p><code>crossAxis</code> - represents the distance (gutter or margin) between the child element and the viewport along the crossAxis.</p>\n *\n * where,\n * <p>The <code>mainAxis</code> is an axis that runs along the side of the placement, i.e. the part before the hyphen (top-*, bottom-*, start-*, end-*).</p>\n * <p>The <code>crossAxis</code> is an axis that runs along the alignment of the placement, i.e. the part after the hyphen (*-start, *-end, *-top, *-bottom).</p>\n *\n * For the placement value 'center' the convention for the offset type is that mainAxis defines offset from the top, crossAxis defines offset from the left side of the view port.\n *\n * A number is a shortcut for setting the mainAxis.\n */\n offset?: Offset;\n /**\n * Placement of the WindowOverlay element relative to the viewport.\n * Possible values are:\n * <p> <code>'center' </code> <code>'top' </code> <code>'top-start' </code> <code> 'top-end' </code>\n * <code> 'end' </code> <code> 'end-top' </code> <code> 'end-bottom' </code>\n * <code> 'bottom' </code> <code> 'bottom-start' </code> <code> 'bottom-end' </code>\n * <code> 'start' </code> <code> 'start-top' </code> <code> 'start-bottom' </code>\n * </p>\n */\n placement?: WindowOverlayPlacement;\n};\n\n/**\n * A WindowOverlay component allows the user to place a child component relative to the viewport\n */\nexport const WindowOverlay = ({ children, ...props }: WindowOverlayProps) => {\n const { direction } = useUser();\n const isLtr = direction === 'ltr';\n\n if (props.placement == null) {\n props.placement = 'center';\n }\n\n const { styles, baseTheme: windowOverlayTheme } = useComponentTheme(WindowOverlayRedwoodTheme);\n const { baseStyle, gridStyles, placementStyles } = styles;\n\n const placementInterpolations = [\n ({ placement = 'center' }: Pick<WindowOverlayProps, 'placement'>) => ({\n class: placementStyles[placement]\n })\n ];\n\n const interpolations = [...Object.values(placementInterpolations)];\n\n const styleInterpolations = mergeInterpolations<WindowOverlayProps>(interpolations);\n\n const { class: cls, ...allStyles } = styleInterpolations(props);\n\n const offsetClasses = (position?: string, isLtr?: boolean, theme?: string) => {\n if (position == null) {\n return;\n }\n let logicalPosition;\n switch (position) {\n case 'top-start':\n case 'center':\n logicalPosition = isLtr\n ? windowOverlayStyles['top-left']\n : windowOverlayStyles['top-right'];\n break;\n case 'top-end':\n logicalPosition = isLtr\n ? windowOverlayStyles['top-right']\n : windowOverlayStyles['top-left'];\n break;\n case 'bottom-start':\n logicalPosition = isLtr\n ? windowOverlayStyles['bottom-left']\n : windowOverlayStyles['bottom-right'];\n break;\n case 'bottom-end':\n logicalPosition = isLtr\n ? windowOverlayStyles['bottom-right']\n : windowOverlayStyles['bottom-left'];\n break;\n case 'start-top':\n logicalPosition = isLtr\n ? windowOverlayStyles['left-top']\n : windowOverlayStyles['right-top'];\n break;\n case 'end-top':\n logicalPosition = isLtr\n ? windowOverlayStyles['right-top']\n : windowOverlayStyles['left-top'];\n break;\n case 'start-bottom':\n logicalPosition = isLtr\n ? windowOverlayStyles['left-bottom']\n : windowOverlayStyles['right-bottom'];\n break;\n case 'end-bottom':\n logicalPosition = isLtr\n ? windowOverlayStyles['right-bottom']\n : windowOverlayStyles['left-bottom'];\n break;\n case 'start':\n logicalPosition = isLtr ? windowOverlayStyles['left'] : windowOverlayStyles['right'];\n break;\n case 'end':\n logicalPosition = isLtr ? windowOverlayStyles['right'] : windowOverlayStyles['left'];\n break;\n case 'top':\n logicalPosition = windowOverlayStyles['top'];\n break;\n case 'bottom':\n logicalPosition = windowOverlayStyles['bottom'];\n break;\n default:\n break;\n }\n return classNames([windowOverlayStyles.notificationPosition, logicalPosition, theme]);\n };\n const classes = offsetClasses(props.placement, isLtr, windowOverlayTheme);\n\n const windowOverlayOffsetStyle = offsetStyle(props.offset);\n\n return (\n <div class={classNames([baseStyle, gridStyles, cls])} style={allStyles}>\n <div\n class={classes}\n style={windowOverlayOffsetStyle !== undefined ? windowOverlayOffsetStyle : undefined}>\n {children}\n </div>\n </div>\n );\n};\n"],"names":["children","props","direction","useUser","isLtr","placement","styles","baseTheme","windowOverlayTheme","useComponentTheme","WindowOverlayRedwoodTheme","baseStyle","gridStyles","placementStyles","placementInterpolations","class","interpolations","Object","values","styleInterpolations","mergeInterpolations","cls","allStyles","classes","position","theme","logicalPosition","windowOverlayStyles","classNames","notificationPosition","offsetClasses","windowOverlayOffsetStyle","offset","assignInlineVars","windowOverlayVars","notificationMainAxisOffset","notificationCrossAxisOffset","mainAxis","crossAxis","_jsx","style","undefined"],"mappings":"uaAmF6B,EAAGA,cAAaC,MAC3C,MAAMC,UAAEA,GAAcC,EAAAA,UAChBC,EAAsB,QAAdF,EAES,MAAnBD,EAAMI,YACRJ,EAAMI,UAAY,UAGpB,MAAMC,OAAEA,EAAQC,UAAWC,GAAuBC,EAAAA,kBAAkBC,EAAAA,4BAC9DC,UAAEA,EAASC,WAAEA,EAAUC,gBAAEA,GAAoBP,EAE7CQ,EAA0B,CAC9B,EAAGT,YAAY,aAAuD,CACpEU,MAAOF,EAAgBR,MAIrBW,EAAiB,IAAIC,OAAOC,OAAOJ,IAEnCK,EAAsBC,sBAAwCJ,IAE5DD,MAAOM,KAAQC,GAAcH,EAAoBlB,GAkEnDsB,EAhEgB,EAACC,EAAmBpB,EAAiBqB,KACzD,GAAgB,MAAZD,EACF,OAEF,IAAIE,EACJ,OAAQF,GACN,IAAK,YACL,IAAK,SACHE,EAAkBtB,EACduB,EAAAA,oBAAoB,YACpBA,EAAmBA,oBAAC,aACxB,MACF,IAAK,UACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,aACpBA,EAAmBA,oBAAC,YACxB,MACF,IAAK,eACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,eACpBA,EAAmBA,oBAAC,gBACxB,MACF,IAAK,aACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,gBACpBA,EAAmBA,oBAAC,eACxB,MACF,IAAK,YACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,YACpBA,EAAmBA,oBAAC,aACxB,MACF,IAAK,UACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,aACpBA,EAAmBA,oBAAC,YACxB,MACF,IAAK,eACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,eACpBA,EAAmBA,oBAAC,gBACxB,MACF,IAAK,aACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,gBACpBA,EAAmBA,oBAAC,eACxB,MACF,IAAK,QACHD,EAAkBtB,EAAQuB,EAAmBA,oBAAO,KAAIA,EAAAA,oBAA2B,MACnF,MACF,IAAK,MACHD,EAAkBtB,EAAQuB,EAAmBA,oBAAQ,MAAIA,EAAAA,oBAA0B,KACnF,MACF,IAAK,MACHD,EAAkBC,EAAAA,oBAAyB,IAC3C,MACF,IAAK,SACHD,EAAkBC,EAAAA,oBAA4B,OAKlD,OAAOC,EAAAA,WAAW,CAACD,EAAmBA,oBAACE,qBAAsBH,EAAiBD,GAAO,EAEvEK,CAAc7B,EAAMI,UAAWD,EAAOI,GAEhDuB,EA5ImB,iBADNC,EA6I0B/B,EAAM+B,QA3I/CC,mBAAiB,CACf,CAACC,EAAiBA,kBAACC,4BAA6B,GAAGH,MACnD,CAACE,EAAiBA,kBAACE,6BAA8B,QAEnDH,mBAAiB,CACf,CAACC,EAAAA,kBAAkBC,4BAA6B,GAAGH,GAAQK,UAAY,MACvE,CAACH,EAAAA,kBAAkBE,6BAA8B,GAAGJ,GAAQM,WAAa,QAR7D,IAACN,EA+InB,OACEO,MAAK,MAAA,CAAAxB,MAAOa,EAAAA,WAAW,CAACjB,EAAWC,EAAYS,IAAOmB,MAAOlB,WAC3DiB,MACE,MAAA,CAAAxB,MAAOQ,EACPiB,WAAoCC,IAA7BV,EAAyCA,OAA2BU,EAASzC,SACnFA,KAGL"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './Grid-8911aa0f', './StyledDatePickerButton-e01ce5fc', './useTranslationBundle-d07d4b20', './useUser-3ef25571', './getFormatParse-c1655d39', './logger-0f873e29', './maskUtils-33317129', 'preact/compat', './useCellNavigation-b9cf0f18', './calendarDateUtils-1783eb17', './_curry2-86c52b86'], (function(e,t,r,o,a,n,s,i,l,c,u,d,p){"use strict";function g(e){return"[object Number]"===Object.prototype.toString.call(e)}var b=p._curry2((function(e,t){if(!g(e)||!g(t))throw new TypeError("Both arguments to range must be numbers");for(var r=[],o=e;o<t;)r.push(o),o+=1;return r}));const v=e=>{const{buttonProps:r}=(({isCurrent:e,isFocusable:t,isFocused:r,isSelected:o,month:s,onAction:i,onNavigation:d})=>{const{locale:p}=n.useUser(),g=c.useMemo((()=>({short:l.getMonthName(p,s,"*","short"),long:l.getMonthName(p,s,"*","long")})),[p,s]),b=a.useTranslationBundle("@oracle/oraclejet-preact"),v=`${g.long}${e?`, ${b.datePicker_currentDate()}`:""}${o?`, ${b.datePicker_selected()}`:""}`,m=u.useFocusableCell({isFocusable:t,isFocused:r}),h=u.useCellNavigation({navigationMap:{ArrowDown:"down",ArrowLeft:{ltr:"previous",rtl:"next"},ArrowRight:{ltr:"next",rtl:"previous"},ArrowUp:"up"},payload:{month:s},onAction:i,onNavigation:d});return{buttonProps:{"aria-label":v,isActivable:!0,label:g.short,isHoverable:!0,isSelected:o,isToday:e,variant:"month",...m,...h}}})(e);return t.jsx(o.StyledDatePickerButton,{...r})},m=b(1,13),h=e=>{const{buttonProps:r}=(({isCurrent:e,isFocusable:t,isFocused:r,isSelected:o,year:s,onAction:i,onNavigation:l})=>{const{locale:c}=n.useUser(),p=d.getNumericFormattedYear(c,s,1),g=a.useTranslationBundle("@oracle/oraclejet-preact");return{buttonProps:{"aria-label":`${p}${e?`, ${g.datePicker_currentDate()}`:""}${o?`, ${g.datePicker_selected()}`:""}`,isActivable:!0,label:p,isHoverable:!0,isSelected:o,isToday:e,variant:"year",...u.useFocusableCell({isFocusable:t,isFocused:r}),...u.useCellNavigation({navigationMap:{ArrowDown:"down",ArrowLeft:{ltr:"previous",rtl:"next"},ArrowRight:{ltr:"next",rtl:"previous"},ArrowUp:"up",PageDown:"previousDecade",PageUp:"nextDecade"},payload:{year:s},onAction:i,onNavigation:l})}}})(e);return t.jsx(o.StyledDatePickerButton,{...r})};e.MonthsGridView=({currentMonth:e,focusableMonth:o,isFocused:n=!1,selectedMonth:s,testId:i,onAction:l,onNavigation:c})=>{const u=a.useTranslationBundle("@oracle/oraclejet-preact").datePicker_months();return t.jsx(r.Grid,{role:"grid",gap:["13.5x","0x"],testId:i,"aria-label":u,children:[0,1,2].map((a=>t.jsx(r.Grid,{role:"row",gap:["0x","3x"],gridTemplateColumns:"repeat(4, 1fr)",children:[0,1,2,3].map((r=>{const i=m[4*a+r];return t.jsx("div",{role:"gridcell",children:t.jsx(v,{month:i,isCurrent:i===e,isFocusable:i===o,isFocused:i===o&&n,isSelected:i===s,onAction:l,onNavigation:c},`${i}`)})}))},a)))})},e.YearsGridView=({currentYear:e,focusableYear:o,isFocused:n=!1,selectedYear:s,testId:i,onAction:l,onNavigation:c})=>{const u=d.getClosestDecade(o),p=a.useTranslationBundle("@oracle/oraclejet-preact").datePicker_years();return t.jsx(r.Grid,{role:"grid",gap:["13.5x","0x"],testId:i,"aria-label":p,children:[0,1,2].map((a=>t.jsx(r.Grid,{role:"row",gap:["0x","3x"],gridTemplateColumns:"repeat(4, 1fr)",children:b(4*a,4*a+4).map((r=>{const a=u+r;return a<u+11?t.jsx("div",{role:"gridcell",children:t.jsx(h,{year:a,isCurrent:a===e,isFocusable:a===o,isFocused:a===o&&n,isSelected:a===s,onAction:l,onNavigation:c},`${a}`)}):null}))},a)))})}}));
|
|
2
|
-
//# sourceMappingURL=YearsGridView-24119d15.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"YearsGridView-24119d15.js","sources":["../../../../node_modules/ramda/es/internal/_isNumber.js","../../../../node_modules/ramda/es/range.js","../../src/PRIVATE_MonthYearGridView/useMonthCell.ts","../../src/PRIVATE_MonthYearGridView/MonthCell.tsx","../../src/PRIVATE_MonthYearGridView/MonthsGridView.tsx","../../src/PRIVATE_MonthYearGridView/YearCell.tsx","../../src/PRIVATE_MonthYearGridView/useYearCell.ts","../../src/PRIVATE_MonthYearGridView/YearsGridView.tsx"],"sourcesContent":["export default function _isNumber(x) {\n return Object.prototype.toString.call(x) === '[object Number]';\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _isNumber from \"./internal/_isNumber.js\";\n/**\n * Returns a list of numbers from `from` (inclusive) to `to` (exclusive).\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Number -> Number -> [Number]\n * @param {Number} from The first number in the list.\n * @param {Number} to One more than the last number in the list.\n * @return {Array} The list of numbers in the set `[a, b)`.\n * @example\n *\n * R.range(1, 5); //=> [1, 2, 3, 4]\n * R.range(50, 53); //=> [50, 51, 52]\n */\n\nvar range =\n/*#__PURE__*/\n_curry2(function range(from, to) {\n if (!(_isNumber(from) && _isNumber(to))) {\n throw new TypeError('Both arguments to range must be numbers');\n }\n\n var result = [];\n var n = from;\n\n while (n < to) {\n result.push(n);\n n += 1;\n }\n\n return result;\n});\n\nexport default range;","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { StyledDatePickerButton } from '#PRIVATE_StyledDatePickerButton';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { useUser } from '#hooks/UNSAFE_useUser';\nimport { BundleType } from '#resources/nls/bundle';\nimport { getMonthName } from '#utils/PRIVATE_dayUtils';\nimport { IsoMonth } from '#utils/UNSAFE_calendarDateUtils';\nimport { ComponentProps, useMemo } from 'preact/compat';\nimport { useCellNavigation } from '../UNSAFE_DatePicker/useCellNavigation';\nimport { useFocusableCell } from '../UNSAFE_DatePicker/useFocusableCell';\n\nexport type UseMonthCellProps = {\n /**\n * Specifies if this month is today's month.\n */\n isCurrent: boolean;\n\n /**\n * Specifies if this month should be focused first when\n * one tabs into the MonthsGridView.\n */\n isFocusable: boolean;\n\n /**\n * Specifies if this month is currently focused.\n */\n isFocused: boolean;\n\n /**\n * Specifies if this month is currently selected.\n */\n isSelected: boolean;\n\n /**\n * The month represented by this MonthCell.\n */\n month: IsoMonth;\n\n /**\n * A callback that will be invoked when a selection action is performed on this MonthCell.\n * @param payload The payload containing the month represented by this cell.\n */\n onAction: (payload: { month: IsoMonth }) => void;\n\n /**\n * A callback that will be invoked when a navigation action is performed on this MonthCell.\n * @param payload The payload specifying the direction of the navigation performed and the month.\n */\n onNavigation: (payload: {\n direction: 'up' | 'next' | 'down' | 'previous';\n month: IsoMonth;\n }) => void;\n};\n\n/**\n * A custom hook that adds functionalities to the MonthCell component and computes properties for the\n * StyledDatePickerButton.\n */\nexport const useMonthCell = ({\n isCurrent,\n isFocusable,\n isFocused,\n isSelected,\n month,\n onAction,\n onNavigation\n}: UseMonthCellProps) => {\n const { locale } = useUser();\n const monthText = useMemo(\n () => ({\n short: getMonthName(locale, month, '*', 'short') as string,\n long: getMonthName(locale, month, '*', 'long') as string\n }),\n [locale, month]\n );\n\n // custom aria label for selected and current month\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const ariaLabel = `${monthText.long}${\n isCurrent ? `, ${translations.datePicker_currentDate()}` : ''\n }${isSelected ? `, ${translations.datePicker_selected()}` : ''}`;\n\n const buttonProps = useFocusableCell({ isFocusable, isFocused });\n const buttonEventHandlers = useCellNavigation({\n navigationMap: {\n ArrowDown: 'down',\n ArrowLeft: { ltr: 'previous', rtl: 'next' },\n ArrowRight: { ltr: 'next', rtl: 'previous' },\n ArrowUp: 'up'\n },\n payload: { month },\n onAction,\n onNavigation\n });\n\n return {\n buttonProps: {\n 'aria-label': ariaLabel,\n isActivable: true,\n label: monthText.short,\n isHoverable: true,\n isSelected,\n isToday: isCurrent,\n variant: 'month' as const,\n ...buttonProps,\n ...buttonEventHandlers\n } as ComponentProps<typeof StyledDatePickerButton>\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 { StyledDatePickerButton } from '#PRIVATE_StyledDatePickerButton';\nimport { UseMonthCellProps, useMonthCell } from './useMonthCell';\n\ntype PickedUseMonthCellProps = Pick<\n UseMonthCellProps,\n 'isCurrent' | 'isFocusable' | 'isFocused' | 'isSelected' | 'month' | 'onAction' | 'onNavigation'\n>;\ntype Props = PickedUseMonthCellProps;\n\n/**\n * This component renders the individual month cell in the MonthsGridView.\n */\nexport const MonthCell = (props: Props) => {\n const { buttonProps } = useMonthCell(props);\n return <StyledDatePickerButton {...buttonProps} />;\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 { Grid } from '#UNSAFE_Grid';\nimport { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { IsoMonth } from '#utils/UNSAFE_calendarDateUtils';\nimport { ComponentProps } from 'preact/compat';\nimport { range } from 'ramda';\nimport { MonthCell } from './MonthCell';\nimport { BundleType } from '#resources/nls/bundle';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\n\nconst MONTHS = range(1, 13) as IsoMonth[];\n\ntype PickedMonthCellProps = Pick<ComponentProps<typeof MonthCell>, 'onAction' | 'onNavigation'>;\ntype Props = PickedMonthCellProps &\n TestIdProps & {\n /**\n * Specifies the current month determined from the today's date.\n */\n currentMonth?: IsoMonth;\n\n /**\n * Specifies which month cell should be focused first when tabbing\n * into the MonthsGridView.\n */\n focusableMonth: IsoMonth;\n\n /**\n * Specifies if the focusableMonth month cell is currently focused.\n * @default false\n */\n isFocused?: boolean;\n\n /**\n * Specifies which month cell is currently selected.\n */\n selectedMonth?: IsoMonth;\n };\n\n/**\n * This component renders the Months Grid View for the DatePicker component.\n */\nexport const MonthsGridView = ({\n currentMonth,\n focusableMonth,\n isFocused = false,\n selectedMonth,\n testId,\n onAction,\n onNavigation\n}: Props) => {\n // Lay out the Months in a 3-row grid.\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const monthsAriaLabel = translations.datePicker_months();\n\n return (\n <Grid role=\"grid\" gap={['13.5x', '0x']} testId={testId} aria-label={monthsAriaLabel}>\n {[0, 1, 2].map((rowIndex) => (\n <Grid key={rowIndex} role=\"row\" gap={['0x', '3x']} gridTemplateColumns=\"repeat(4, 1fr)\">\n {[0, 1, 2, 3].map((cellIndex) => {\n const month = MONTHS[rowIndex * 4 + cellIndex];\n return (\n <div role=\"gridcell\">\n <MonthCell\n key={`${month}`}\n month={month}\n isCurrent={month === currentMonth}\n isFocusable={month === focusableMonth}\n isFocused={month === focusableMonth && isFocused}\n isSelected={month === selectedMonth}\n onAction={onAction}\n onNavigation={onNavigation}\n />\n </div>\n );\n })}\n </Grid>\n ))}\n </Grid>\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 { StyledDatePickerButton } from '#PRIVATE_StyledDatePickerButton';\nimport { UseYearCellProps, useYearCell } from './useYearCell';\n\ntype PickedUseYearCellProps = Pick<\n UseYearCellProps,\n 'isCurrent' | 'isFocusable' | 'isFocused' | 'isSelected' | 'year' | 'onAction' | 'onNavigation'\n>;\ntype Props = PickedUseYearCellProps;\n\n/**\n * This component renders the individual year cell in the YearsGridView.\n */\nexport const YearCell = (props: Props) => {\n const { buttonProps } = useYearCell(props);\n return <StyledDatePickerButton {...buttonProps} />;\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 { StyledDatePickerButton } from '#PRIVATE_StyledDatePickerButton';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { useUser } from '#hooks/UNSAFE_useUser';\nimport { BundleType } from '#resources/nls/bundle';\nimport { getNumericFormattedYear } from '#utils/UNSAFE_calendarDateUtils';\nimport { ComponentProps } from 'preact/compat';\nimport { useCellNavigation } from '../UNSAFE_DatePicker/useCellNavigation';\nimport { useFocusableCell } from '../UNSAFE_DatePicker/useFocusableCell';\n\nexport type UseYearCellProps = {\n /**\n * Specifies if this year is today's year.\n */\n isCurrent: boolean;\n\n /**\n * Specifies if this year should be focused first when one\n * tabs into the YearsGridView.\n */\n isFocusable: boolean;\n\n /**\n * Specifies if this year is currently focused.\n */\n isFocused: boolean;\n\n /**\n * Specifies if this year is currently selected.\n */\n isSelected: boolean;\n\n /**\n * The year represented by this YearCell.\n */\n year: number;\n\n /**\n * A callback that will be invoked when a selection action is performed on this YearCell.\n * @param payload The payload containing the year represented by this cell.\n */\n onAction: (payload: { year: number }) => void;\n\n /**\n * A callback that will be invoked when a navigation action is performed on this YearCell.\n * @param payload The payload specifying the direction of the navigation performed and the year.\n */\n onNavigation: (payload: {\n direction: 'up' | 'next' | 'down' | 'previous' | 'previousDecade' | 'nextDecade';\n year: number;\n }) => void;\n};\n\n/**\n * A custom hook that adds functionalities to the YearCell component and computes properties for the\n * StyledDatePickerButton.\n */\nexport const useYearCell = ({\n isCurrent,\n isFocusable,\n isFocused,\n isSelected,\n year,\n onAction,\n onNavigation\n}: UseYearCellProps) => {\n const { locale } = useUser();\n const yearText = getNumericFormattedYear(locale, year, 1);\n // custom aria label for selected and current year\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const ariaLabel = `${yearText}${isCurrent ? `, ${translations.datePicker_currentDate()}` : ''}${\n isSelected ? `, ${translations.datePicker_selected()}` : ''\n }`;\n\n const buttonProps = useFocusableCell({ isFocusable, isFocused });\n const buttonEventHandlers = useCellNavigation({\n navigationMap: {\n ArrowDown: 'down',\n ArrowLeft: { ltr: 'previous', rtl: 'next' },\n ArrowRight: { ltr: 'next', rtl: 'previous' },\n ArrowUp: 'up',\n PageDown: 'previousDecade',\n PageUp: 'nextDecade'\n },\n payload: { year },\n onAction,\n onNavigation\n });\n\n return {\n buttonProps: {\n 'aria-label': ariaLabel,\n isActivable: true,\n label: yearText,\n isHoverable: true,\n isSelected,\n isToday: isCurrent,\n variant: 'year' as const,\n ...buttonProps,\n ...buttonEventHandlers\n } as ComponentProps<typeof StyledDatePickerButton>\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 { Grid } from '#UNSAFE_Grid';\nimport { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { getClosestDecade } from '#utils/UNSAFE_calendarDateUtils';\nimport { ComponentProps } from 'preact/compat';\nimport { range } from 'ramda';\nimport { YearCell } from './YearCell';\nimport { BundleType } from '#resources/nls/bundle';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\n\n/**\n * Represents the total number of years rendered in the view\n */\nconst NUM_YEARS_IN_GRID = 11;\n\ntype PickedYearCellProps = Pick<ComponentProps<typeof YearCell>, 'onAction' | 'onNavigation'>;\ntype Props = PickedYearCellProps &\n TestIdProps & {\n /**\n * Specifies the current year determined from the today's date.\n */\n currentYear?: number;\n\n /**\n * Specifies which year cell should be focused first when tabbing\n * into the YearsGridView.\n */\n focusableYear: number;\n\n /**\n * Specifies if the focusableYear year cell is currently focused.\n * @default false\n */\n isFocused?: boolean;\n\n /**\n * Specifies which year is currently selected.\n */\n selectedYear?: number;\n };\n\n/**\n * This component renders the Years Grid View for the DatePicker component.\n */\nexport const YearsGridView = ({\n currentYear,\n focusableYear,\n isFocused = false,\n selectedYear,\n testId,\n onAction,\n onNavigation\n}: Props) => {\n const decade = getClosestDecade(focusableYear);\n // Lay out the 11 Years in a 3-row grid.\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const yearsAriaLabel = translations.datePicker_years();\n\n return (\n <Grid role=\"grid\" gap={['13.5x', '0x']} testId={testId} aria-label={yearsAriaLabel}>\n {[0, 1, 2].map((rowIndex) => (\n <Grid key={rowIndex} role=\"row\" gap={['0x', '3x']} gridTemplateColumns=\"repeat(4, 1fr)\">\n {range(rowIndex * 4, rowIndex * 4 + 4).map((index) => {\n const year = decade + index;\n if (year < decade + NUM_YEARS_IN_GRID) {\n return (\n <div role=\"gridcell\">\n <YearCell\n key={`${year}`}\n year={year}\n isCurrent={year === currentYear}\n isFocusable={year === focusableYear}\n isFocused={year === focusableYear && isFocused}\n isSelected={year === selectedYear}\n onAction={onAction}\n onNavigation={onNavigation}\n />\n </div>\n );\n }\n return null;\n })}\n </Grid>\n ))}\n </Grid>\n );\n};\n"],"names":["_isNumber","x","Object","prototype","toString","call","range$1","_curry2","from","to","TypeError","result","n","push","MonthCell","props","buttonProps","isCurrent","isFocusable","isFocused","isSelected","month","onAction","onNavigation","locale","useUser","monthText","useMemo","short","getMonthName","long","translations","useTranslationBundle","ariaLabel","datePicker_currentDate","datePicker_selected","useFocusableCell","buttonEventHandlers","useCellNavigation","navigationMap","ArrowDown","ArrowLeft","ltr","rtl","ArrowRight","ArrowUp","payload","isActivable","label","isHoverable","isToday","variant","useMonthCell","_jsx","jsx","StyledDatePickerButton","MONTHS","range","YearCell","year","yearText","getNumericFormattedYear","PageDown","PageUp","useYearCell","currentMonth","focusableMonth","selectedMonth","testId","monthsAriaLabel","datePicker_months","Grid","role","gap","children","map","rowIndex","gridTemplateColumns","cellIndex","currentYear","focusableYear","selectedYear","decade","getClosestDecade","yearsAriaLabel","datePicker_years","index"],"mappings":"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"}
|
package/amd/index-95227deb.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-95227deb.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/amd/render-85c034d7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', '@testing-library/preact', '@testing-library/user-event', './LayerHost-639b3284', './EnvironmentProvider-c0e1e39b', './resources/nls/en/bundle'], (function(e,r,n,t,o,i,s){"use strict";function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=d(t);const a={translations:{"@oracle/oraclejet-preact":s.default},mode:"test"},c=(e,t=a,o)=>{const s={...a,...t},{rerender:d,...u}=n.render(r.jsx(i.RootEnvironmentProvider,{environment:s,children:e}),o);return{rerender:e=>d(r.jsx(i.RootEnvironmentProvider,{environment:s,children:e})),...u}};e.renderAndSetupInEnv=(...e)=>({user:u.default.setup(),...c(...e)}),e.renderInEnv=c}));
|
|
2
|
-
//# sourceMappingURL=render-85c034d7.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render-85c034d7.js","sources":["../../src/__tests__/utils/render.tsx"],"sourcesContent":["import { RenderOptions, RenderResult, render } from '@testing-library/preact';\nimport userEvent from '@testing-library/user-event';\nimport { ComponentProps } from 'preact';\nimport { RootEnvironment, RootEnvironmentProvider } from '../../UNSAFE_Environment';\nimport translations from '../../resources/nls/en/bundle';\n\ntype RootEnvironmentProviderProps = ComponentProps<typeof RootEnvironmentProvider>;\n\nconst defaultEnvironment: Partial<RootEnvironment> = {\n translations: { '@oracle/oraclejet-preact': translations },\n mode: 'test'\n};\n\nexport const renderInEnv = (\n children: RootEnvironmentProviderProps['children'],\n environment = defaultEnvironment,\n options?: Omit<RenderOptions, 'queries'>\n) => {\n // We merge the provided environment with the default environment here. This way tests\n // can override some part of the environment without having to provide the other parts.\n // For example, if a test wants to provide `user.locale`, then it can do:\n //\n // renderInEnv(<SomeComponent />, { user: { locale: 'en-US' } });\n //\n // With this call, the test do not have to provide `translations` and `mode`. The provided\n // `user` object will be merged with the default environment. The final environment object\n // will have `translations`, `mode`, and `user` properties specified in it.\n const mergedEnvironment = { ...defaultEnvironment, ...environment };\n\n const { rerender: _rerender, ...result } = render(\n <RootEnvironmentProvider environment={mergedEnvironment}>{children}</RootEnvironmentProvider>,\n options\n );\n const rerender = (children: RootEnvironmentProviderProps['children']) =>\n _rerender(\n <RootEnvironmentProvider environment={mergedEnvironment}>{children}</RootEnvironmentProvider>\n );\n return { rerender, ...result } as RenderResult;\n};\n\nexport const renderAndSetupInEnv = (...args: Parameters<typeof renderInEnv>) => ({\n user: userEvent.setup(),\n ...renderInEnv(...args)\n});\n"],"names":["defaultEnvironment","translations","mode","renderInEnv","children","environment","options","mergedEnvironment","rerender","_rerender","result","render","_jsx","RootEnvironmentProvider","args","user","userEvent","setup"],"mappings":"6SAQA,MAAMA,EAA+C,CACnDC,aAAc,CAAE,2BAA4BA,WAC5CC,KAAM,QAGKC,EAAc,CACzBC,EACAC,EAAcL,EACdM,KAWA,MAAMC,EAAoB,IAAKP,KAAuBK,IAE9CG,SAAUC,KAAcC,GAAWC,EAAMA,OAC/CC,MAACC,EAAuBA,wBAAA,CAACR,YAAaE,EAAiBH,SAAGA,IAC1DE,GAMF,MAAO,CAAEE,SAJSJ,GAChBK,EACEG,EAAAA,IAACC,EAAAA,wBAAuB,CAACR,YAAaE,WAAoBH,QAExCM,EAAwB,wBAGb,IAAII,KAA0C,CAC/EC,KAAMC,EAAS,QAACC,WACbd,KAAeW"}
|