@oracle/oraclejet-preact 14.1.4 → 14.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/amd/Badge-dcce6527.js +2 -0
- package/amd/{Badge-a3bf556a.js.map → Badge-dcce6527.js.map} +1 -1
- package/amd/BaseButton-678fe506.js +2 -0
- package/amd/{BaseButton-7368669e.js.map → BaseButton-678fe506.js.map} +1 -1
- package/amd/Button-0729d51a.js +2 -0
- package/amd/{Button-486f7bf6.js.map → Button-0729d51a.js.map} +1 -1
- package/amd/Chip-6b5bda1b.js +2 -0
- package/amd/{Chip-ee49d193.js.map → Chip-6b5bda1b.js.map} +1 -1
- package/amd/{ClearIcon-1d5b4623.js → ClearIcon-761aea9c.js} +2 -2
- package/amd/{ClearIcon-1d5b4623.js.map → ClearIcon-761aea9c.js.map} +1 -1
- package/amd/{Collection-9bdda465.js → Collection-f1ddb5d8.js} +1 -1
- package/amd/{Collection-9bdda465.js.map → Collection-f1ddb5d8.js.map} +1 -1
- package/amd/ComponentMessage-ce4b6b66.js +2 -0
- package/amd/{ComponentMessage-3771e70b.js.map → ComponentMessage-ce4b6b66.js.map} +1 -1
- package/amd/{ComponentMessageContainer-273c3aeb.js → ComponentMessageContainer-54b9670b.js} +2 -2
- package/amd/{ComponentMessageContainer-273c3aeb.js.map → ComponentMessageContainer-54b9670b.js.map} +1 -1
- package/amd/Divider-45488de3.js +2 -0
- package/amd/{Divider-1fbe648d.js.map → Divider-45488de3.js.map} +1 -1
- package/amd/{FilePicker-9787f45d.js → FilePicker-ab67f3b2.js} +2 -2
- package/amd/{FilePicker-9787f45d.js.map → FilePicker-ab67f3b2.js.map} +1 -1
- package/amd/Flex-da4d9aef.js +2 -0
- package/amd/{Flex-d94a9e7a.js.map → Flex-da4d9aef.js.map} +1 -1
- package/amd/{Floating-0e5818f5.js → Floating-eefb778f.js} +2 -2
- package/amd/{Floating-0e5818f5.js.map → Floating-eefb778f.js.map} +1 -1
- package/amd/FocusTrap-95e35ab9.js +2 -0
- package/amd/{FocusTrap-9d165f84.js.map → FocusTrap-95e35ab9.js.map} +1 -1
- package/amd/FormControlUtils-ac9e8cbd.js +2 -0
- package/amd/{FormControlUtils-4c94fe4f.js.map → FormControlUtils-ac9e8cbd.js.map} +1 -1
- package/amd/Heading-0abbf914.js +2 -0
- package/amd/{Heading-82a5bbd3.js.map → Heading-0abbf914.js.map} +1 -1
- package/amd/HiddenAccessible-ff276cd9.js +2 -0
- package/amd/{HiddenAccessible-e894a517.js.map → HiddenAccessible-ff276cd9.js.map} +1 -1
- package/amd/HighlightText-2d6d1c57.js +2 -0
- package/amd/{HighlightText-991165f8.js.map → HighlightText-2d6d1c57.js.map} +1 -1
- package/amd/Icon-3eb9bdeb.js +2 -0
- package/amd/{Icon-b570ea5c.js.map → Icon-3eb9bdeb.js.map} +1 -1
- package/amd/Indexer-79093b65.js +2 -0
- package/amd/{Indexer-e96fcb5e.js.map → Indexer-79093b65.js.map} +1 -1
- package/amd/{InlineHelpSource-17f433d3.js → InlineHelpSource-232e0c3c.js} +2 -2
- package/amd/{InlineHelpSource-17f433d3.js.map → InlineHelpSource-232e0c3c.js.map} +1 -1
- package/amd/Link-53d21d46.js +2 -0
- package/amd/{Link-9b5ab898.js.map → Link-53d21d46.js.map} +1 -1
- package/amd/List-00100b50.js +2 -0
- package/amd/{List-59198769.js.map → List-00100b50.js.map} +1 -1
- package/amd/ListItemTextLayout-448a117b.js +2 -0
- package/amd/{ListItemTextLayout-f319d761.js.map → ListItemTextLayout-448a117b.js.map} +1 -1
- package/amd/{ListView-2ab77c9c.js → ListView-a834813a.js} +2 -2
- package/amd/{ListView-2ab77c9c.js.map → ListView-a834813a.js.map} +1 -1
- package/amd/{LoadMoreCollection-b2c64e73.js → LoadMoreCollection-031c2ca2.js} +2 -2
- package/amd/{LoadMoreCollection-b2c64e73.js.map → LoadMoreCollection-031c2ca2.js.map} +1 -1
- package/amd/Menu-ec0c6d1e.js +2 -0
- package/amd/{Menu-30e696ff.js.map → Menu-ec0c6d1e.js.map} +1 -1
- package/amd/MenuDivider-a4c74c21.js +2 -0
- package/amd/{MenuDivider-5a5a81f4.js.map → MenuDivider-a4c74c21.js.map} +1 -1
- package/amd/MenuItem-c024e602.js +2 -0
- package/amd/{MenuItem-d790c06c.js.map → MenuItem-c024e602.js.map} +1 -1
- package/amd/{Message.types-36d928ab.js → Message.types-68b4b3c2.js} +1 -1
- package/amd/{Message.types-36d928ab.js.map → Message.types-68b4b3c2.js.map} +1 -1
- package/amd/MessageCloseButton-7f96b21f.js +2 -0
- package/amd/{MessageCloseButton-339dcb55.js.map → MessageCloseButton-7f96b21f.js.map} +1 -1
- package/amd/MessageDetail-6be4d1f0.js +2 -0
- package/amd/{MessageDetail-d15f2535.js.map → MessageDetail-6be4d1f0.js.map} +1 -1
- package/amd/{MessageFormattingUtils-780763be.js → MessageFormattingUtils-4d3117dc.js} +2 -2
- package/amd/{MessageFormattingUtils-780763be.js.map → MessageFormattingUtils-4d3117dc.js.map} +1 -1
- package/amd/MessageLayer-45f9380d.js +2 -0
- package/amd/{MessageLayer-5550835d.js.map → MessageLayer-45f9380d.js.map} +1 -1
- package/amd/MessageStartIcon-39d799c2.js +2 -0
- package/amd/{MessageStartIcon-4534c4aa.js.map → MessageStartIcon-39d799c2.js.map} +1 -1
- package/amd/MessageSummary-8be73e60.js +2 -0
- package/amd/{MessageSummary-ab8fab08.js.map → MessageSummary-8be73e60.js.map} +1 -1
- package/amd/MessageTimestamp-0508a27a.js +2 -0
- package/amd/{MessageTimestamp-f0035736.js.map → MessageTimestamp-0508a27a.js.map} +1 -1
- package/amd/{MessageToast-e84e994f.js → MessageToast-5ae1dac4.js} +2 -2
- package/amd/{MessageToast-e84e994f.js.map → MessageToast-5ae1dac4.js.map} +1 -1
- package/amd/{MessageUtils-6700ca55.js → MessageUtils-e5b4c4eb.js} +2 -2
- package/amd/{MessageUtils-6700ca55.js.map → MessageUtils-e5b4c4eb.js.map} +1 -1
- package/amd/{MessagesManager-13ea8c26.js → MessagesManager-a039ddb3.js} +2 -2
- package/amd/{MessagesManager-13ea8c26.js.map → MessagesManager-a039ddb3.js.map} +1 -1
- package/amd/MeterCircle-335eb864.js +2 -0
- package/amd/{MeterCircle-d1a10756.js.map → MeterCircle-335eb864.js.map} +1 -1
- package/amd/Modal-eaab2932.js +2 -0
- package/amd/{Modal-f95d822f.js.map → Modal-eaab2932.js.map} +1 -1
- package/amd/{NumberInputText-622663be.js → NumberInputText-9b66ee69.js} +2 -2
- package/amd/{NumberInputText-622663be.js.map → NumberInputText-9b66ee69.js.map} +1 -1
- package/amd/PRIVATE_Collection/__tests__/Collection.spec.js +1 -1
- package/amd/PRIVATE_Collection.js +1 -1
- package/amd/PRIVATE_List/__tests__/List.spec.js +1 -1
- package/amd/PRIVATE_List.css +15 -15
- package/amd/PRIVATE_List.js +1 -1
- package/amd/PRIVATE_Message/__tests__/MessageCloseButton.spec.js +1 -1
- package/amd/PRIVATE_Message/__tests__/MessageDetail.spec.js +1 -1
- package/amd/PRIVATE_Message/__tests__/MessageFormattingUtils.spec.js +1 -1
- package/amd/PRIVATE_Message/__tests__/MessageStartIcon.spec.js +1 -1
- package/amd/PRIVATE_Message/__tests__/MessageSummary.spec.js +1 -1
- package/amd/PRIVATE_Message/__tests__/MessageTimestamp.spec.js +1 -1
- package/amd/PRIVATE_Message/__tests__/MessageUtils.spec.js +1 -1
- package/amd/PRIVATE_Message/__tests__/MessagesManager.spec.js +1 -1
- package/amd/PRIVATE_Message.css +27 -27
- package/amd/PRIVATE_Message.js +1 -1
- package/amd/PRIVATE_Message.js.map +1 -1
- package/amd/PRIVATE_MessageLayer/__tests__/MessageLayer.spec.js +1 -1
- package/amd/PRIVATE_MessageLayer.css +7 -7
- package/amd/PRIVATE_MessageLayer.js +1 -1
- package/amd/PRIVATE_Meter.js +1 -1
- package/amd/PRIVATE_SelectCommon.css +13 -13
- package/amd/PRIVATE_SelectCommon.js +1 -1
- package/amd/PRIVATE_SelectCommon.js.map +1 -1
- package/amd/PRIVATE_VirtualizedCollection/__tests__/VirtualizedCollection.spec.js +1 -1
- package/amd/PRIVATE_VirtualizedCollection.js +1 -1
- package/amd/ReadonlyTextFieldInput-f86c3c42.js +2 -0
- package/amd/{ReadonlyTextFieldInput-08ab0ea7.js.map → ReadonlyTextFieldInput-f86c3c42.js.map} +1 -1
- package/amd/SelectMenuItem-d738b44f.js +2 -0
- package/amd/{SelectMenuItem-ac3f3402.js.map → SelectMenuItem-d738b44f.js.map} +1 -1
- package/amd/SelectMultiple-f9dc64be.js +2 -0
- package/amd/{SelectMultiple-3908d39e.js.map → SelectMultiple-f9dc64be.js.map} +1 -1
- package/amd/{SelectSingle-1476d3ab.js → SelectSingle-29854cfe.js} +2 -2
- package/amd/{SelectSingle-1476d3ab.js.map → SelectSingle-29854cfe.js.map} +1 -1
- package/amd/Skeleton-2b604636.js +2 -0
- package/amd/{Skeleton-f82bdf08.js.map → Skeleton-2b604636.js.map} +1 -1
- package/amd/{Spacer-7a450ae5.js → Spacer-a2c98a01.js} +2 -2
- package/amd/{Spacer-7a450ae5.js.map → Spacer-a2c98a01.js.map} +1 -1
- package/amd/SplitMenuButton-86339815.js +2 -0
- package/amd/{SplitMenuButton-54455b48.js.map → SplitMenuButton-86339815.js.map} +1 -1
- package/amd/{Subheading-2efebdec.js → Subheading-c6aeec6e.js} +2 -2
- package/amd/{Subheading-2efebdec.js.map → Subheading-c6aeec6e.js.map} +1 -1
- package/amd/Text-f364af8c.js +2 -0
- package/amd/{Text-81288763.js.map → Text-f364af8c.js.map} +1 -1
- package/amd/TextArea-51bea9f5.js +2 -0
- package/amd/{TextArea-b10d05d5.js.map → TextArea-51bea9f5.js.map} +1 -1
- package/amd/{TextAreaAutosize-9c2496fe.js → TextAreaAutosize-df3cc48c.js} +2 -2
- package/amd/{TextAreaAutosize-9c2496fe.js.map → TextAreaAutosize-df3cc48c.js.map} +1 -1
- package/amd/TextFieldInput-12ff173d.js +2 -0
- package/amd/{TextFieldInput-d78415e5.js.map → TextFieldInput-12ff173d.js.map} +1 -1
- package/amd/UNSAFE_AspectRatio.css +1 -1
- package/amd/UNSAFE_AspectRatio.js +1 -1
- package/amd/UNSAFE_Avatar/__tests__/Avatar.spec.js +1 -1
- package/amd/UNSAFE_Avatar.css +8 -8
- package/amd/UNSAFE_Avatar.js +1 -1
- package/amd/UNSAFE_Avatar.js.map +1 -1
- package/amd/UNSAFE_Badge/__tests__/Badge.spec.js +1 -1
- package/amd/UNSAFE_Badge.css +13 -13
- package/amd/UNSAFE_Badge.js +1 -1
- package/amd/UNSAFE_BaseButton/__tests__/BaseButton.spec.js +1 -1
- package/amd/UNSAFE_BaseButton.css +15 -15
- package/amd/UNSAFE_BaseButton.js +1 -1
- package/amd/UNSAFE_Button/__tests__/Button.spec.js +1 -1
- package/amd/UNSAFE_Button.css +7 -7
- package/amd/UNSAFE_Button.js +1 -1
- package/amd/UNSAFE_Center.js +1 -1
- package/amd/UNSAFE_Chip/__tests__/Chip.spec.js +1 -1
- package/amd/UNSAFE_Chip.css +7 -7
- package/amd/UNSAFE_Chip.js +1 -1
- package/amd/UNSAFE_Collapsible.css +8 -8
- package/amd/UNSAFE_Collapsible.js +1 -1
- package/amd/UNSAFE_Collapsible.js.map +1 -1
- package/amd/UNSAFE_ComponentMessage/__tests__/ComponentMessage.spec.js +1 -1
- package/amd/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js +1 -1
- package/amd/UNSAFE_ComponentMessage.css +2 -2
- package/amd/UNSAFE_ComponentMessage.js +1 -1
- package/amd/UNSAFE_Divider/__tests__/Divider.spec.js +1 -1
- package/amd/UNSAFE_Divider.css +1 -1
- package/amd/UNSAFE_Divider.js +1 -1
- package/amd/UNSAFE_FilePicker/__tests__/FilePicker.spec.js +1 -1
- package/amd/UNSAFE_FilePicker.css +6 -6
- package/amd/UNSAFE_FilePicker.js +1 -1
- package/amd/UNSAFE_Flex/__tests__/Flex.spec.js +1 -1
- package/amd/UNSAFE_Flex.css +2 -2
- package/amd/UNSAFE_Flex.js +1 -1
- package/amd/UNSAFE_Floating/__tests__/Floating.spec.js +1 -1
- package/amd/UNSAFE_Floating.js +1 -1
- package/amd/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js +1 -1
- package/amd/UNSAFE_FocusTrap.css +2 -2
- package/amd/UNSAFE_FocusTrap.js +1 -1
- package/amd/UNSAFE_Grid.css +1 -1
- package/amd/UNSAFE_Grid.js +1 -1
- package/amd/UNSAFE_Grid.js.map +1 -1
- package/amd/UNSAFE_Heading/__test__/Heading.spec.js +1 -1
- package/amd/UNSAFE_Heading.css +9 -9
- package/amd/UNSAFE_Heading.js +1 -1
- package/amd/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js +1 -1
- package/amd/UNSAFE_HiddenAccessible.css +1 -1
- package/amd/UNSAFE_HiddenAccessible.js +1 -1
- package/amd/UNSAFE_HighlightText/__tests__/HighlightText.spec.js +1 -1
- package/amd/UNSAFE_HighlightText.css +1 -1
- package/amd/UNSAFE_HighlightText.js +1 -1
- package/amd/UNSAFE_Icon/__tests__/Icon.spec.js +1 -1
- package/amd/UNSAFE_Icon/__tests__/Icons.spec.js +1 -1
- package/amd/UNSAFE_Icon.css +8 -8
- package/amd/UNSAFE_Icon.js +1 -1
- package/amd/UNSAFE_Icons.js +1 -1
- package/amd/UNSAFE_Indexer/__tests__/Indexer.spec.js +1 -1
- package/amd/UNSAFE_Indexer.css +7 -7
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputPassword/__tests__/InputPassword.spec.js +1 -1
- package/amd/UNSAFE_InputPassword.css +1 -1
- package/amd/UNSAFE_InputPassword.js +1 -1
- package/amd/UNSAFE_InputPassword.js.map +1 -1
- package/amd/UNSAFE_InputText.css +1 -1
- package/amd/UNSAFE_InputText.js +1 -1
- package/amd/UNSAFE_Label.css +13 -13
- package/amd/UNSAFE_Label.js +1 -1
- package/amd/UNSAFE_Label.js.map +1 -1
- package/amd/UNSAFE_LabelValueLayout.css +9 -9
- package/amd/UNSAFE_LabelValueLayout.js +1 -1
- package/amd/UNSAFE_LabelValueLayout.js.map +1 -1
- package/amd/UNSAFE_Link/__tests__/Link.spec.js +1 -1
- package/amd/UNSAFE_Link.css +5 -5
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js +1 -1
- package/amd/UNSAFE_ListItemLayout.css +9 -9
- package/amd/UNSAFE_ListItemLayout.js +1 -1
- package/amd/UNSAFE_ListView/__tests__/ListView.spec.js +1 -1
- package/amd/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_LiveRegion.css +1 -1
- package/amd/UNSAFE_LiveRegion.js +1 -1
- package/amd/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js +1 -1
- package/amd/UNSAFE_LoadMoreCollection.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/Menu.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/MenuItem.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +1 -1
- package/amd/UNSAFE_Menu.css +23 -23
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +1 -1
- package/amd/UNSAFE_MessageToast.css +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +1 -1
- package/amd/UNSAFE_MeterBar.css +44 -44
- package/amd/UNSAFE_MeterBar.js +1 -1
- package/amd/UNSAFE_MeterBar.js.map +1 -1
- package/amd/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +1 -1
- package/amd/UNSAFE_MeterCircle.css +46 -46
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_Modal/__tests__/Modal.spec.js +1 -1
- package/amd/UNSAFE_Modal.css +3 -3
- package/amd/UNSAFE_Modal.js +1 -1
- package/amd/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +1 -1
- package/amd/UNSAFE_NumberInputText.js +1 -1
- package/amd/UNSAFE_PrefixSuffix.css +8 -8
- package/amd/UNSAFE_PrefixSuffix.js +1 -1
- package/amd/UNSAFE_PrefixSuffix.js.map +1 -1
- package/amd/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js +1 -1
- package/amd/UNSAFE_ProgressBar.css +6 -6
- package/amd/UNSAFE_ProgressBar.js +1 -1
- package/amd/UNSAFE_ProgressBar.js.map +1 -1
- package/amd/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +1 -1
- package/amd/UNSAFE_ProgressCircle.css +6 -6
- package/amd/UNSAFE_ProgressCircle.js +1 -1
- package/amd/UNSAFE_ProgressCircle.js.map +1 -1
- package/amd/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +1 -1
- package/amd/UNSAFE_RatingGauge.css +20 -20
- package/amd/UNSAFE_RatingGauge.js +1 -1
- package/amd/UNSAFE_RatingGauge.js.map +1 -1
- package/amd/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +1 -1
- package/amd/UNSAFE_SelectMultiple.css +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_Selector.css +5 -5
- package/amd/UNSAFE_Selector.js +1 -1
- package/amd/UNSAFE_Selector.js.map +1 -1
- package/amd/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +1 -1
- package/amd/UNSAFE_Skeleton.css +1 -1
- package/amd/UNSAFE_Skeleton.js +1 -1
- package/amd/UNSAFE_Spacer/__tests__/Spacer.spec.js +1 -1
- package/amd/UNSAFE_Spacer.js +1 -1
- package/amd/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +1 -1
- package/amd/UNSAFE_SplitMenuButton.css +5 -5
- package/amd/UNSAFE_SplitMenuButton.js +1 -1
- package/amd/UNSAFE_Subheading/__test__/Subheading.spec.js +1 -1
- package/amd/UNSAFE_Subheading.css +8 -8
- package/amd/UNSAFE_Subheading.js +1 -1
- package/amd/UNSAFE_Text/__tests__/Text.spec.js +1 -1
- package/amd/UNSAFE_Text.css +25 -25
- package/amd/UNSAFE_Text.js +1 -1
- package/amd/UNSAFE_TextArea/__tests__/TextArea.spec.js +1 -1
- package/amd/UNSAFE_TextArea.css +3 -3
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +1 -1
- package/amd/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +1 -1
- package/amd/UNSAFE_TextField.css +58 -58
- package/amd/UNSAFE_TextField.js +1 -1
- package/amd/UNSAFE_TextField.js.map +1 -1
- package/amd/UNSAFE_ThemedIcons.js +1 -1
- package/amd/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +1 -1
- package/amd/UNSAFE_UserAssistance.css +8 -8
- package/amd/UNSAFE_UserAssistance.js +1 -1
- package/amd/UNSAFE_UserAssistance.js.map +1 -1
- package/amd/UNSAFE_View/__tests__/View.spec.js +1 -1
- package/amd/UNSAFE_View.js +1 -1
- package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +1 -1
- package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/{VirtualizedCollection-622bf474.js → VirtualizedCollection-36b73f80.js} +2 -2
- package/amd/{VirtualizedCollection-622bf474.js.map → VirtualizedCollection-36b73f80.js.map} +1 -1
- package/amd/{VirtualizedListView-d3909364.js → VirtualizedListView-c4092be8.js} +2 -2
- package/amd/{VirtualizedListView-d3909364.js.map → VirtualizedListView-c4092be8.js.map} +1 -1
- package/amd/__tests__/FormControls/FormControlAria.spec.js +1 -1
- package/amd/__tests__/FormControls/FormControlClearIcon.spec.js +1 -1
- package/amd/__tests__/FormControls/FormControlCommit.spec.js +1 -1
- package/amd/__tests__/FormControls/FormControlPrefixSuffix.spec.js +1 -1
- package/amd/{_curry1-2c0bf2eb.js → _curry1-0511449d.js} +1 -1
- package/amd/{_curry1-2c0bf2eb.js.map → _curry1-0511449d.js.map} +1 -1
- package/amd/_curry2-e2b86cd0.js +2 -0
- package/amd/{_curry2-d53405cf.js.map → _curry2-e2b86cd0.js.map} +1 -1
- package/amd/_curry3-2a7dcff9.js +2 -0
- package/amd/{_curry3-5c6c2ca8.js.map → _curry3-2a7dcff9.js.map} +1 -1
- package/amd/_has-a3099a21.js +2 -0
- package/amd/{_has-98de25f8.js.map → _has-a3099a21.js.map} +1 -1
- package/amd/{classNames-9f2df6c4.js → classNames-e7b3a8a5.js} +1 -1
- package/amd/{classNames-9f2df6c4.js.map → classNames-e7b3a8a5.js.map} +1 -1
- package/amd/{clientHints-ea4a2145.js → clientHints-f0b540bd.js} +1 -1
- package/amd/{clientHints-ea4a2145.js.map → clientHints-f0b540bd.js.map} +1 -1
- package/amd/flexbox-9553d7e5.js +2 -0
- package/amd/{flexbox-9afecbce.js.map → flexbox-9553d7e5.js.map} +1 -1
- package/amd/flexitem-1beee224.js +2 -0
- package/amd/{flexitem-b7033294.js.map → flexitem-1beee224.js.map} +1 -1
- package/amd/hooks/PRIVATE_useDvtMeterEvents.js +1 -1
- package/amd/hooks/PRIVATE_useSingleSelection.js +1 -1
- package/amd/hooks/UNSAFE_useAnimation/__tests__/useAnimation.spec.js +1 -1
- package/amd/hooks/UNSAFE_useAnimation.js +1 -1
- package/amd/hooks/UNSAFE_useFloating.js +1 -1
- package/amd/hooks/UNSAFE_useFocusWithin/__tests__/useFocusWithin.spec.js +1 -1
- package/amd/hooks/UNSAFE_useFocusWithin.js +1 -1
- package/amd/hooks/UNSAFE_useFocusableTextField.js +1 -1
- package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
- package/amd/hooks/UNSAFE_useTextFieldInputHandlers.js +1 -1
- package/amd/hooks/UNSAFE_useTooltip.css +4 -4
- package/amd/hooks/UNSAFE_useTooltip.js +1 -1
- package/amd/hooks/UNSAFE_useTooltip.js.map +1 -1
- package/amd/{index-da6b9fc1.js → index-6430a462.js} +2 -2
- package/amd/{index-da6b9fc1.js.map → index-6430a462.js.map} +1 -1
- package/amd/{index-caf35c9c.js → index-aca0a20d.js} +1 -1
- package/amd/{index-caf35c9c.js.map → index-aca0a20d.js.map} +1 -1
- package/amd/{index-e59c0b16.js → index-c858cea4.js} +2 -2
- package/amd/{index-e59c0b16.js.map → index-c858cea4.js.map} +1 -1
- package/amd/keys-e12ae309.js +2 -0
- package/amd/{keys-9ae55384.js.map → keys-e12ae309.js.map} +1 -1
- package/amd/{listViewSelectionTests-77933308.js → listViewSelectionTests-0b3a3716.js} +2 -2
- package/amd/{listViewSelectionTests-77933308.js.map → listViewSelectionTests-0b3a3716.js.map} +1 -1
- package/amd/{listViewTabbableModeTests-ea17bfd0.js → listViewTabbableModeTests-c4d3faea.js} +2 -2
- package/amd/{listViewTabbableModeTests-ea17bfd0.js.map → listViewTabbableModeTests-c4d3faea.js.map} +1 -1
- package/amd/{listViewTestFixtures-d69d7d4f.js → listViewTestFixtures-d2fbd366.js} +1 -1
- package/amd/{listViewTestFixtures-d69d7d4f.js.map → listViewTestFixtures-d2fbd366.js.map} +1 -1
- package/amd/{menuTestsUtils-a44b79f9.js → menuTestsUtils-0cfa5d1b.js} +1 -1
- package/amd/{menuTestsUtils-a44b79f9.js.map → menuTestsUtils-0cfa5d1b.js.map} +1 -1
- package/amd/{stringUtils-1bb1b209.js → stringUtils-d0680e4b.js} +1 -1
- package/amd/{stringUtils-1bb1b209.js.map → stringUtils-d0680e4b.js.map} +1 -1
- package/amd/{testHelpers-5441ed29.js → testHelpers-2d4f142f.js} +1 -1
- package/amd/{testHelpers-5441ed29.js.map → testHelpers-2d4f142f.js.map} +1 -1
- package/amd/{tslib.es6-0fac987a.js → tslib.es6-db9b6ac2.js} +1 -1
- package/amd/{tslib.es6-0fac987a.js.map → tslib.es6-db9b6ac2.js.map} +1 -1
- package/amd/{useAnimation-c26817c3.js → useAnimation-032c3574.js} +2 -2
- package/amd/{useAnimation-c26817c3.js.map → useAnimation-032c3574.js.map} +1 -1
- package/amd/{useFocusWithin-01b546f3.js → useFocusWithin-f503b34e.js} +1 -1
- package/amd/{useFocusWithin-01b546f3.js.map → useFocusWithin-f503b34e.js.map} +1 -1
- package/amd/{useModal-8c72b121.js → useModal-57dbe5e1.js} +1 -1
- package/amd/{useModal-8c72b121.js.map → useModal-57dbe5e1.js.map} +1 -1
- package/amd/{useSingleSelection-90b3968d.js → useSingleSelection-b0da8bad.js} +1 -1
- package/amd/{useSingleSelection-90b3968d.js.map → useSingleSelection-b0da8bad.js.map} +1 -1
- package/amd/utils/PRIVATE_clientHints/__tests__/clientHints.spec.js +1 -1
- package/amd/utils/PRIVATE_clientHints.js +1 -1
- package/amd/utils/PRIVATE_tabbableUtils.js +1 -1
- package/amd/utils/UNSAFE_classNames/classNames.spec.js +1 -1
- package/amd/utils/UNSAFE_classNames.js +1 -1
- package/amd/utils/UNSAFE_interpolations/boxalignment.css +15 -15
- package/amd/utils/UNSAFE_interpolations/boxalignment.js +1 -1
- package/amd/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
- package/amd/utils/UNSAFE_interpolations/dimensions.js +1 -1
- package/amd/utils/UNSAFE_interpolations/flexbox/flexbox.spec.js +1 -1
- package/amd/utils/UNSAFE_interpolations/flexbox.css +7 -7
- package/amd/utils/UNSAFE_interpolations/flexbox.js +1 -1
- package/amd/utils/UNSAFE_interpolations/flexitem/flexitem.spec.js +1 -1
- package/amd/utils/UNSAFE_interpolations/flexitem.css +7 -7
- package/amd/utils/UNSAFE_interpolations/flexitem.js +1 -1
- package/amd/utils/UNSAFE_interpolations/text.css +3 -3
- package/amd/utils/UNSAFE_interpolations/text.js +1 -1
- package/amd/utils/UNSAFE_interpolations/text.js.map +1 -1
- package/amd/utils/UNSAFE_logger.js +1 -1
- package/amd/utils/UNSAFE_mergeInterpolations.js +1 -1
- package/amd/utils/UNSAFE_stringUtils/stringUtils.spec.js +1 -1
- package/amd/utils/UNSAFE_stringUtils.js +1 -1
- package/amd/utils/UNSAFE_units.js +1 -1
- package/cjs/{Badge-951a9694.js → Badge-bd2f07f9.js} +16 -16
- package/cjs/{Badge-951a9694.js.map → Badge-bd2f07f9.js.map} +1 -1
- package/cjs/{BaseButton-b73f5c38.js → BaseButton-085a1254.js} +20 -20
- package/cjs/{BaseButton-b73f5c38.js.map → BaseButton-085a1254.js.map} +1 -1
- package/cjs/{Button-291198b2.js → Button-3c7dbdd5.js} +12 -12
- package/cjs/{Button-291198b2.js.map → Button-3c7dbdd5.js.map} +1 -1
- package/cjs/{Chip-07165c8e.js → Chip-5197fb2f.js} +10 -10
- package/cjs/{Chip-07165c8e.js.map → Chip-5197fb2f.js.map} +1 -1
- package/cjs/{ClearIcon-94d11ef6.js → ClearIcon-a51d31ca.js} +3 -3
- package/cjs/{ClearIcon-94d11ef6.js.map → ClearIcon-a51d31ca.js.map} +1 -1
- package/cjs/{Collection-a95b5193.js → Collection-4cc0f696.js} +2 -2
- package/cjs/{Collection-a95b5193.js.map → Collection-4cc0f696.js.map} +1 -1
- package/cjs/{ComponentMessage-50058336.js → ComponentMessage-a833adda.js} +8 -8
- package/cjs/{ComponentMessage-50058336.js.map → ComponentMessage-a833adda.js.map} +1 -1
- package/cjs/{ComponentMessageContainer-6d4be1a6.js → ComponentMessageContainer-c4c19460.js} +5 -5
- package/cjs/{ComponentMessageContainer-6d4be1a6.js.map → ComponentMessageContainer-c4c19460.js.map} +1 -1
- package/cjs/{Divider-ecda1f16.js → Divider-b0275810.js} +3 -3
- package/cjs/{Divider-ecda1f16.js.map → Divider-b0275810.js.map} +1 -1
- package/cjs/{FilePicker-ddd292d7.js → FilePicker-a51d4cab.js} +14 -14
- package/cjs/{FilePicker-ddd292d7.js.map → FilePicker-a51d4cab.js.map} +1 -1
- package/cjs/{Flex-8b83209d.js → Flex-f0986956.js} +8 -8
- package/cjs/{Flex-8b83209d.js.map → Flex-f0986956.js.map} +1 -1
- package/cjs/{Floating-2170a738.js → Floating-84d57873.js} +3 -3
- package/cjs/{Floating-2170a738.js.map → Floating-84d57873.js.map} +1 -1
- package/cjs/{FocusTrap-8a2551e6.js → FocusTrap-adceb274.js} +5 -5
- package/cjs/{FocusTrap-8a2551e6.js.map → FocusTrap-adceb274.js.map} +1 -1
- package/cjs/{FormControlUtils-d26276c2.js → FormControlUtils-65d5c4cd.js} +5 -5
- package/cjs/{FormControlUtils-d26276c2.js.map → FormControlUtils-65d5c4cd.js.map} +1 -1
- package/cjs/{Heading-b968018e.js → Heading-184bc813.js} +13 -13
- package/cjs/{Heading-b968018e.js.map → Heading-184bc813.js.map} +1 -1
- package/cjs/{HiddenAccessible-a47d9aed.js → HiddenAccessible-28722ff2.js} +3 -3
- package/cjs/{HiddenAccessible-a47d9aed.js.map → HiddenAccessible-28722ff2.js.map} +1 -1
- package/cjs/{HighlightText-e3e6b1af.js → HighlightText-fdb914cf.js} +3 -3
- package/cjs/{HighlightText-e3e6b1af.js.map → HighlightText-fdb914cf.js.map} +1 -1
- package/cjs/{Icon-df63626e.js → Icon-00c9c8e3.js} +11 -11
- package/cjs/{Icon-df63626e.js.map → Icon-00c9c8e3.js.map} +1 -1
- package/cjs/{Indexer-0f337181.js → Indexer-43a1bc6c.js} +16 -16
- package/cjs/{Indexer-0f337181.js.map → Indexer-43a1bc6c.js.map} +1 -1
- package/cjs/{InlineHelpSource-e3c86c13.js → InlineHelpSource-c010cde4.js} +3 -3
- package/cjs/{InlineHelpSource-e3c86c13.js.map → InlineHelpSource-c010cde4.js.map} +1 -1
- package/cjs/{Link-07b369bb.js → Link-192ab9f9.js} +8 -8
- package/cjs/{Link-07b369bb.js.map → Link-192ab9f9.js.map} +1 -1
- package/cjs/{List-fde811d6.js → List-21563b1a.js} +23 -23
- package/cjs/{List-fde811d6.js.map → List-21563b1a.js.map} +1 -1
- package/cjs/{ListItemTextLayout-49a44c8c.js → ListItemTextLayout-340a7244.js} +13 -13
- package/cjs/{ListItemTextLayout-49a44c8c.js.map → ListItemTextLayout-340a7244.js.map} +1 -1
- package/cjs/{ListView-d415cc9c.js → ListView-83a712b6.js} +3 -3
- package/cjs/{ListView-d415cc9c.js.map → ListView-83a712b6.js.map} +1 -1
- package/cjs/{LoadMoreCollection-5edf9385.js → LoadMoreCollection-824287aa.js} +3 -3
- package/cjs/{LoadMoreCollection-5edf9385.js.map → LoadMoreCollection-824287aa.js.map} +1 -1
- package/cjs/{Menu-a9c09b29.js → Menu-e5959556.js} +16 -16
- package/cjs/{Menu-a9c09b29.js.map → Menu-e5959556.js.map} +1 -1
- package/cjs/{MenuDivider-9728bf8f.js → MenuDivider-a8070117.js} +4 -4
- package/cjs/{MenuDivider-9728bf8f.js.map → MenuDivider-a8070117.js.map} +1 -1
- package/cjs/{MenuItem-84635c8b.js → MenuItem-dedb3065.js} +19 -19
- package/cjs/{MenuItem-84635c8b.js.map → MenuItem-dedb3065.js.map} +1 -1
- package/cjs/{Message.types-938f4193.js → Message.types-1bf43224.js} +2 -2
- package/cjs/{Message.types-938f4193.js.map → Message.types-1bf43224.js.map} +1 -1
- package/cjs/{MessageCloseButton-c6c8b5b5.js → MessageCloseButton-cd3d1b65.js} +9 -9
- package/cjs/{MessageCloseButton-c6c8b5b5.js.map → MessageCloseButton-cd3d1b65.js.map} +1 -1
- package/cjs/{MessageDetail-938c9c8e.js → MessageDetail-c3aa3da3.js} +7 -7
- package/cjs/{MessageDetail-938c9c8e.js.map → MessageDetail-c3aa3da3.js.map} +1 -1
- package/cjs/{MessageFormattingUtils-26c37ac8.js → MessageFormattingUtils-19acf058.js} +4 -4
- package/cjs/{MessageFormattingUtils-26c37ac8.js.map → MessageFormattingUtils-19acf058.js.map} +1 -1
- package/cjs/{MessageLayer-e508c960.js → MessageLayer-4c743536.js} +11 -11
- package/cjs/{MessageLayer-e508c960.js.map → MessageLayer-4c743536.js.map} +1 -1
- package/cjs/{MessageStartIcon-5c684fc0.js → MessageStartIcon-59b06e6a.js} +11 -11
- package/cjs/{MessageStartIcon-5c684fc0.js.map → MessageStartIcon-59b06e6a.js.map} +1 -1
- package/cjs/{MessageSummary-1c5a6355.js → MessageSummary-079e4290.js} +7 -7
- package/cjs/{MessageSummary-1c5a6355.js.map → MessageSummary-079e4290.js.map} +1 -1
- package/cjs/{MessageTimestamp-f0e47576.js → MessageTimestamp-27dd0d9e.js} +5 -5
- package/cjs/{MessageTimestamp-f0e47576.js.map → MessageTimestamp-27dd0d9e.js.map} +1 -1
- package/cjs/{MessageToast-e2f321b8.js → MessageToast-319efe17.js} +9 -9
- package/cjs/{MessageToast-e2f321b8.js.map → MessageToast-319efe17.js.map} +1 -1
- package/cjs/{MessageUtils-f2dc0acd.js → MessageUtils-fd46058f.js} +3 -3
- package/cjs/{MessageUtils-f2dc0acd.js.map → MessageUtils-fd46058f.js.map} +1 -1
- package/cjs/{MessagesManager-5e2a51f1.js → MessagesManager-c5b65212.js} +4 -4
- package/cjs/{MessagesManager-5e2a51f1.js.map → MessagesManager-c5b65212.js.map} +1 -1
- package/cjs/{MeterCircle-cf13f43e.js → MeterCircle-c5497f4a.js} +50 -50
- package/cjs/{MeterCircle-cf13f43e.js.map → MeterCircle-c5497f4a.js.map} +1 -1
- package/cjs/{Modal-aab93adf.js → Modal-3a2bbc18.js} +7 -7
- package/cjs/{Modal-aab93adf.js.map → Modal-3a2bbc18.js.map} +1 -1
- package/cjs/{NumberInputText-759c41a4.js → NumberInputText-2d9c2d91.js} +7 -7
- package/cjs/{NumberInputText-759c41a4.js.map → NumberInputText-2d9c2d91.js.map} +1 -1
- package/cjs/PRIVATE_Collection/__tests__/Collection.spec.js +2 -2
- package/cjs/PRIVATE_Collection.js +2 -2
- package/cjs/PRIVATE_List/__tests__/List.spec.js +24 -24
- package/cjs/PRIVATE_List.js +23 -23
- package/cjs/PRIVATE_Message/__tests__/MessageCloseButton.spec.js +17 -17
- package/cjs/PRIVATE_Message/__tests__/MessageDetail.spec.js +6 -6
- package/cjs/PRIVATE_Message/__tests__/MessageFormattingUtils.spec.js +4 -4
- package/cjs/PRIVATE_Message/__tests__/MessageStartIcon.spec.js +19 -19
- package/cjs/PRIVATE_Message/__tests__/MessageSummary.spec.js +3 -3
- package/cjs/PRIVATE_Message/__tests__/MessageTimestamp.spec.js +6 -6
- package/cjs/PRIVATE_Message/__tests__/MessageUtils.spec.js +7 -7
- package/cjs/PRIVATE_Message/__tests__/MessagesManager.spec.js +4 -4
- package/cjs/PRIVATE_Message.js +41 -41
- package/cjs/PRIVATE_Message.js.map +1 -1
- package/cjs/PRIVATE_MessageLayer/__tests__/MessageLayer.spec.js +12 -12
- package/cjs/PRIVATE_MessageLayer.js +12 -12
- package/cjs/PRIVATE_Meter.js +2 -2
- package/cjs/PRIVATE_SelectCommon.js +54 -54
- package/cjs/PRIVATE_SelectCommon.js.map +1 -1
- package/cjs/PRIVATE_TransitionGroup.js +1 -1
- package/cjs/PRIVATE_VirtualizedCollection/__tests__/VirtualizedCollection.spec.js +3 -3
- package/cjs/PRIVATE_VirtualizedCollection.js +3 -3
- package/cjs/{ReadonlyTextFieldInput-55fc3844.js → ReadonlyTextFieldInput-6891bdbd.js} +13 -13
- package/cjs/{ReadonlyTextFieldInput-55fc3844.js.map → ReadonlyTextFieldInput-6891bdbd.js.map} +1 -1
- package/cjs/{SelectMenuItem-14ac5fcb.js → SelectMenuItem-73206b5c.js} +5 -5
- package/cjs/{SelectMenuItem-14ac5fcb.js.map → SelectMenuItem-73206b5c.js.map} +1 -1
- package/cjs/{SelectMultiple-6fd60de3.js → SelectMultiple-fe824a06.js} +8 -8
- package/cjs/{SelectMultiple-6fd60de3.js.map → SelectMultiple-fe824a06.js.map} +1 -1
- package/cjs/{SelectSingle-fe9bcd98.js → SelectSingle-d29cde39.js} +4 -4
- package/cjs/{SelectSingle-fe9bcd98.js.map → SelectSingle-d29cde39.js.map} +1 -1
- package/cjs/{Skeleton-f7c42a3e.js → Skeleton-b99a09bb.js} +5 -5
- package/cjs/{Skeleton-f7c42a3e.js.map → Skeleton-b99a09bb.js.map} +1 -1
- package/cjs/{Spacer-e6ea2516.js → Spacer-5d935b08.js} +4 -4
- package/cjs/{Spacer-e6ea2516.js.map → Spacer-5d935b08.js.map} +1 -1
- package/cjs/{SplitMenuButton-e9169eec.js → SplitMenuButton-1f02988e.js} +14 -14
- package/cjs/{SplitMenuButton-e9169eec.js.map → SplitMenuButton-1f02988e.js.map} +1 -1
- package/cjs/{Subheading-d312251d.js → Subheading-ee6e241e.js} +11 -11
- package/cjs/{Subheading-d312251d.js.map → Subheading-ee6e241e.js.map} +1 -1
- package/cjs/{Text-87d6965d.js → Text-0aba2bbe.js} +28 -28
- package/cjs/{Text-87d6965d.js.map → Text-0aba2bbe.js.map} +1 -1
- package/cjs/{TextArea-38ffa80c.js → TextArea-a6865f01.js} +8 -8
- package/cjs/{TextArea-38ffa80c.js.map → TextArea-a6865f01.js.map} +1 -1
- package/cjs/{TextAreaAutosize-e372b950.js → TextAreaAutosize-95b5aaaa.js} +5 -5
- package/cjs/{TextAreaAutosize-e372b950.js.map → TextAreaAutosize-95b5aaaa.js.map} +1 -1
- package/cjs/{TextFieldInput-b1427824.js → TextFieldInput-a82e671e.js} +33 -33
- package/cjs/{TextFieldInput-b1427824.js.map → TextFieldInput-a82e671e.js.map} +1 -1
- package/cjs/UNSAFE_AspectRatio.js +8 -8
- package/cjs/UNSAFE_Avatar/__tests__/Avatar.spec.js +3 -3
- package/cjs/UNSAFE_Avatar.js +11 -11
- package/cjs/UNSAFE_Avatar.js.map +1 -1
- package/cjs/UNSAFE_Badge/__tests__/Badge.spec.js +3 -3
- package/cjs/UNSAFE_Badge.js +3 -3
- package/cjs/UNSAFE_BaseButton/__tests__/BaseButton.spec.js +9 -9
- package/cjs/UNSAFE_BaseButton.js +9 -9
- package/cjs/UNSAFE_Button/__tests__/Button.spec.js +10 -10
- package/cjs/UNSAFE_Button.js +10 -10
- package/cjs/UNSAFE_Center.js +11 -11
- package/cjs/UNSAFE_Chip/__tests__/Chip.spec.js +3 -3
- package/cjs/UNSAFE_Chip.js +3 -3
- package/cjs/UNSAFE_Collapsible.js +26 -26
- package/cjs/UNSAFE_Collapsible.js.map +1 -1
- package/cjs/UNSAFE_Collection.js +1 -1
- package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessage.spec.js +32 -32
- package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js +33 -33
- package/cjs/UNSAFE_ComponentMessage.js +33 -33
- package/cjs/UNSAFE_Divider/__tests__/Divider.spec.js +7 -7
- package/cjs/UNSAFE_Divider.js +7 -7
- package/cjs/UNSAFE_EmptyList.js +1 -1
- package/cjs/UNSAFE_Environment/__tests__/Environment.spec.js +1 -1
- package/cjs/UNSAFE_Environment.js +1 -1
- package/cjs/UNSAFE_FilePicker/__tests__/FilePicker.spec.js +14 -14
- package/cjs/UNSAFE_FilePicker.js +14 -14
- package/cjs/UNSAFE_Flex/__tests__/Flex.spec.js +11 -11
- package/cjs/UNSAFE_Flex.js +11 -11
- package/cjs/UNSAFE_Floating/__tests__/Floating.spec.js +3 -3
- package/cjs/UNSAFE_Floating.js +3 -3
- package/cjs/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js +6 -6
- package/cjs/UNSAFE_FocusTrap.js +6 -6
- package/cjs/UNSAFE_Grid.js +9 -9
- package/cjs/UNSAFE_Grid.js.map +1 -1
- package/cjs/UNSAFE_Heading/__test__/Heading.spec.js +11 -11
- package/cjs/UNSAFE_Heading.js +9 -9
- package/cjs/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js +12 -12
- package/cjs/UNSAFE_HiddenAccessible.js +2 -2
- package/cjs/UNSAFE_HighlightText/__tests__/HighlightText.spec.js +2 -2
- package/cjs/UNSAFE_HighlightText.js +2 -2
- package/cjs/UNSAFE_Icon/__tests__/Icon.spec.js +8 -8
- package/cjs/UNSAFE_Icon/__tests__/Icons.spec.js +9 -9
- package/cjs/UNSAFE_Icon.js +7 -7
- package/cjs/UNSAFE_Icons.js +8 -8
- package/cjs/UNSAFE_Indexer/__tests__/Indexer.spec.js +16 -16
- package/cjs/UNSAFE_Indexer.js +16 -16
- package/cjs/UNSAFE_InputPassword/__tests__/InputPassword.spec.js +39 -39
- package/cjs/UNSAFE_InputPassword.js +40 -40
- package/cjs/UNSAFE_InputText.js +39 -39
- package/cjs/UNSAFE_Label.js +16 -16
- package/cjs/UNSAFE_Label.js.map +1 -1
- package/cjs/UNSAFE_LabelValueLayout.js +20 -20
- package/cjs/UNSAFE_LabelValueLayout.js.map +1 -1
- package/cjs/UNSAFE_Layer.js +1 -1
- package/cjs/UNSAFE_Link/__tests__/Link.spec.js +3 -3
- package/cjs/UNSAFE_Link.js +3 -3
- package/cjs/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js +10 -10
- package/cjs/UNSAFE_ListItemLayout.js +10 -10
- package/cjs/UNSAFE_ListView/__tests__/ListView.spec.js +27 -27
- package/cjs/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js +27 -27
- package/cjs/UNSAFE_ListView.js +24 -24
- package/cjs/UNSAFE_LiveRegion.js +2 -2
- package/cjs/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js +3 -3
- package/cjs/UNSAFE_LoadMoreCollection.js +3 -3
- package/cjs/UNSAFE_Menu/__tests__/Menu.spec.js +19 -19
- package/cjs/UNSAFE_Menu/__tests__/MenuItem.spec.js +11 -11
- package/cjs/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +18 -18
- package/cjs/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +22 -22
- package/cjs/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +22 -22
- package/cjs/UNSAFE_Menu.js +16 -16
- package/cjs/UNSAFE_MessageBanner.js +30 -30
- package/cjs/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +33 -33
- package/cjs/UNSAFE_MessageToast.js +33 -33
- package/cjs/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +7 -7
- package/cjs/UNSAFE_MeterBar.js +50 -50
- package/cjs/UNSAFE_MeterBar.js.map +1 -1
- package/cjs/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +8 -8
- package/cjs/UNSAFE_MeterCircle.js +7 -7
- package/cjs/UNSAFE_Modal/__tests__/Modal.spec.js +8 -8
- package/cjs/UNSAFE_Modal.js +8 -8
- package/cjs/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +39 -39
- package/cjs/UNSAFE_NumberInputText.js +39 -39
- package/cjs/UNSAFE_PrefixSuffix.js +10 -10
- package/cjs/UNSAFE_PrefixSuffix.js.map +1 -1
- package/cjs/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js +3 -3
- package/cjs/UNSAFE_ProgressBar.js +9 -9
- package/cjs/UNSAFE_ProgressBar.js.map +1 -1
- package/cjs/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +3 -3
- package/cjs/UNSAFE_ProgressCircle.js +9 -9
- package/cjs/UNSAFE_ProgressCircle.js.map +1 -1
- package/cjs/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +7 -7
- package/cjs/UNSAFE_RatingGauge.js +26 -26
- package/cjs/UNSAFE_RatingGauge.js.map +1 -1
- package/cjs/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +47 -47
- package/cjs/UNSAFE_SelectMultiple.js +47 -47
- package/cjs/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +46 -46
- package/cjs/UNSAFE_SelectSingle.js +46 -46
- package/cjs/UNSAFE_Selector.js +22 -22
- package/cjs/UNSAFE_Selector.js.map +1 -1
- package/cjs/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +8 -8
- package/cjs/UNSAFE_Skeleton.js +8 -8
- package/cjs/UNSAFE_Spacer/__tests__/Spacer.spec.js +10 -10
- package/cjs/UNSAFE_Spacer.js +10 -10
- package/cjs/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +23 -23
- package/cjs/UNSAFE_SplitMenuButton.js +23 -23
- package/cjs/UNSAFE_Subheading/__test__/Subheading.spec.js +10 -10
- package/cjs/UNSAFE_Subheading.js +8 -8
- package/cjs/UNSAFE_Text/__tests__/Text.spec.js +8 -8
- package/cjs/UNSAFE_Text.js +8 -8
- package/cjs/UNSAFE_TextArea/__tests__/TextArea.spec.js +39 -39
- package/cjs/UNSAFE_TextArea.js +39 -39
- package/cjs/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +40 -40
- package/cjs/UNSAFE_TextAreaAutosize.js +40 -40
- package/cjs/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +10 -10
- package/cjs/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +11 -11
- package/cjs/UNSAFE_TextField.js +35 -35
- package/cjs/UNSAFE_TextField.js.map +1 -1
- package/cjs/UNSAFE_ThemedIcons.js +9 -9
- package/cjs/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +2 -2
- package/cjs/UNSAFE_UserAssistance.js +41 -41
- package/cjs/UNSAFE_UserAssistance.js.map +1 -1
- package/cjs/UNSAFE_View/__tests__/View.spec.js +9 -9
- package/cjs/UNSAFE_View.js +9 -9
- package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +27 -27
- package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +27 -27
- package/cjs/UNSAFE_VirtualizedListView.js +24 -24
- package/cjs/UNSAFE_WindowOverlay.js +1 -1
- package/cjs/{VirtualizedCollection-1b52f0fb.js → VirtualizedCollection-d5bc0627.js} +3 -3
- package/cjs/{VirtualizedCollection-1b52f0fb.js.map → VirtualizedCollection-d5bc0627.js.map} +1 -1
- package/cjs/{VirtualizedListView-b9adaf9c.js → VirtualizedListView-f3ac2536.js} +3 -3
- package/cjs/{VirtualizedListView-b9adaf9c.js.map → VirtualizedListView-f3ac2536.js.map} +1 -1
- package/cjs/__tests__/FormControls/FormControlAria.spec.js +52 -52
- package/cjs/__tests__/FormControls/FormControlClearIcon.spec.js +39 -39
- package/cjs/__tests__/FormControls/FormControlCommit.spec.js +42 -42
- package/cjs/__tests__/FormControls/FormControlPrefixSuffix.spec.js +40 -40
- package/cjs/{_curry1-1795bc67.js → _curry1-b198128d.js} +2 -2
- package/cjs/{_curry1-1795bc67.js.map → _curry1-b198128d.js.map} +1 -1
- package/cjs/{_curry2-337a8096.js → _curry2-29bebe59.js} +3 -3
- package/cjs/{_curry2-337a8096.js.map → _curry2-29bebe59.js.map} +1 -1
- package/cjs/{_curry3-3e1d9917.js → _curry3-61f88672.js} +4 -4
- package/cjs/{_curry3-3e1d9917.js.map → _curry3-61f88672.js.map} +1 -1
- package/cjs/{_has-f094feec.js → _has-f1803a3e.js} +3 -3
- package/cjs/{_has-f094feec.js.map → _has-f1803a3e.js.map} +1 -1
- package/cjs/{classNames-f9ea39c5.js → classNames-b5a9df09.js} +2 -2
- package/cjs/{classNames-f9ea39c5.js.map → classNames-b5a9df09.js.map} +1 -1
- package/cjs/{clientHints-7800f42f.js → clientHints-9b5bdfee.js} +2 -2
- package/cjs/{clientHints-7800f42f.js.map → clientHints-9b5bdfee.js.map} +1 -1
- package/cjs/{flexbox-2b92d0d4.js → flexbox-b9d170fe.js} +10 -10
- package/cjs/{flexbox-2b92d0d4.js.map → flexbox-b9d170fe.js.map} +1 -1
- package/cjs/{flexitem-cfbc1679.js → flexitem-b82cec9d.js} +10 -10
- package/cjs/{flexitem-cfbc1679.js.map → flexitem-b82cec9d.js.map} +1 -1
- package/cjs/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
- package/cjs/hooks/PRIVATE_useCurrentKey.js +1 -1
- package/cjs/hooks/PRIVATE_useDvtMeterEvents.js +6 -6
- package/cjs/hooks/PRIVATE_useItemAction.js +1 -1
- package/cjs/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
- package/cjs/hooks/PRIVATE_useSelection.js +1 -1
- package/cjs/hooks/PRIVATE_useSingleSelection.js +2 -2
- package/cjs/hooks/PRIVATE_useTabbableModeSet.js +1 -1
- package/cjs/hooks/UNSAFE_useActionable.js +1 -1
- package/cjs/hooks/UNSAFE_useActive.js +1 -1
- package/cjs/hooks/UNSAFE_useAnimation/__tests__/useAnimation.spec.js +3 -3
- package/cjs/hooks/UNSAFE_useAnimation.js +3 -3
- package/cjs/hooks/UNSAFE_useBreakpointValues.js +1 -1
- package/cjs/hooks/UNSAFE_useBreakpoints.js +1 -1
- package/cjs/hooks/UNSAFE_useClearIcon.js +1 -1
- package/cjs/hooks/UNSAFE_useColorScheme.js +1 -1
- package/cjs/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
- package/cjs/hooks/UNSAFE_useContainerBreakpoints.js +1 -1
- package/cjs/hooks/UNSAFE_useCurrentValueReducer.js +1 -1
- package/cjs/hooks/UNSAFE_useDebounce.js +1 -1
- package/cjs/hooks/UNSAFE_useFloating.js +2 -2
- package/cjs/hooks/UNSAFE_useFocus.js +1 -1
- package/cjs/hooks/UNSAFE_useFocusWithin/__tests__/useFocusWithin.spec.js +2 -2
- package/cjs/hooks/UNSAFE_useFocusWithin.js +2 -2
- package/cjs/hooks/UNSAFE_useFocusableTextField.js +3 -3
- package/cjs/hooks/UNSAFE_useFormContext.js +1 -1
- package/cjs/hooks/UNSAFE_useFormFieldContext.js +1 -1
- package/cjs/hooks/UNSAFE_useFormVariantContext.js +1 -1
- package/cjs/hooks/UNSAFE_useHover.js +1 -1
- package/cjs/hooks/UNSAFE_useId.js +1 -1
- package/cjs/hooks/UNSAFE_useLengthFilter.js +1 -1
- package/cjs/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
- package/cjs/hooks/UNSAFE_useLongPress.js +1 -1
- package/cjs/hooks/UNSAFE_useMessagesContext.js +1 -1
- package/cjs/hooks/UNSAFE_useOutsideClick.js +1 -1
- package/cjs/hooks/UNSAFE_usePan.js +1 -1
- package/cjs/hooks/UNSAFE_usePrefixSuffix.js +2 -2
- package/cjs/hooks/UNSAFE_usePress.js +1 -1
- package/cjs/hooks/UNSAFE_useScale.js +1 -1
- package/cjs/hooks/UNSAFE_useSwipe.js +1 -1
- package/cjs/hooks/UNSAFE_useTabbableMode.js +1 -1
- package/cjs/hooks/UNSAFE_useTap.js +1 -1
- package/cjs/hooks/UNSAFE_useTextField.js +1 -1
- package/cjs/hooks/UNSAFE_useTextFieldInputHandlers.js +2 -2
- package/cjs/hooks/UNSAFE_useTheme.js +1 -1
- package/cjs/hooks/UNSAFE_useTimer.js +1 -1
- package/cjs/hooks/UNSAFE_useToggle.js +1 -1
- package/cjs/hooks/UNSAFE_useTooltip.js +10 -10
- package/cjs/hooks/UNSAFE_useTooltip.js.map +1 -1
- package/cjs/hooks/UNSAFE_useTouch.js +1 -1
- package/cjs/hooks/UNSAFE_useTranslationBundle.js +1 -1
- package/cjs/hooks/UNSAFE_useUncontrolledState.js +1 -1
- package/cjs/hooks/UNSAFE_useUser.js +1 -1
- package/cjs/hooks/UNSAFE_useViewportIntersect.js +1 -1
- package/cjs/{index-01cffe78.js → index-0aad6ef7.js} +3 -3
- package/cjs/{index-01cffe78.js.map → index-0aad6ef7.js.map} +1 -1
- package/cjs/{index-c089b588.js → index-8485188b.js} +3 -3
- package/cjs/{index-c089b588.js.map → index-8485188b.js.map} +1 -1
- package/cjs/{index-0ee2ade3.js → index-df53472d.js} +2 -2
- package/cjs/{index-0ee2ade3.js.map → index-df53472d.js.map} +1 -1
- package/cjs/{keys-ae3bc57a.js → keys-99928221.js} +4 -4
- package/cjs/{keys-ae3bc57a.js.map → keys-99928221.js.map} +1 -1
- package/cjs/{listViewSelectionTests-145c6e01.js → listViewSelectionTests-d1245fb9.js} +4 -4
- package/cjs/{listViewSelectionTests-145c6e01.js.map → listViewSelectionTests-d1245fb9.js.map} +1 -1
- package/cjs/{listViewTabbableModeTests-9e9008a8.js → listViewTabbableModeTests-95698db8.js} +4 -4
- package/cjs/{listViewTabbableModeTests-9e9008a8.js.map → listViewTabbableModeTests-95698db8.js.map} +1 -1
- package/cjs/{listViewTestFixtures-392a8439.js → listViewTestFixtures-1a48894d.js} +2 -2
- package/cjs/{listViewTestFixtures-392a8439.js.map → listViewTestFixtures-1a48894d.js.map} +1 -1
- package/cjs/{menuTestsUtils-c7368ef1.js → menuTestsUtils-b9a2b7e2.js} +2 -2
- package/cjs/{menuTestsUtils-c7368ef1.js.map → menuTestsUtils-b9a2b7e2.js.map} +1 -1
- package/cjs/resources/nls/ar/bundle.js +1 -1
- package/cjs/resources/nls/ar-XB/bundle.js +1 -1
- package/cjs/resources/nls/bg/bundle.js +1 -1
- package/cjs/resources/nls/bs/bundle.js +1 -1
- package/cjs/resources/nls/bs-Cyrl/bundle.js +1 -1
- package/cjs/resources/nls/bundle.js +1 -1
- package/cjs/resources/nls/cs/bundle.js +1 -1
- package/cjs/resources/nls/da/bundle.js +1 -1
- package/cjs/resources/nls/de/bundle.js +1 -1
- package/cjs/resources/nls/el/bundle.js +1 -1
- package/cjs/resources/nls/en/bundle.js +1 -1
- package/cjs/resources/nls/en-XA/bundle.js +1 -1
- package/cjs/resources/nls/en-XC/bundle.js +1 -1
- package/cjs/resources/nls/es/bundle.js +1 -1
- package/cjs/resources/nls/et/bundle.js +1 -1
- package/cjs/resources/nls/fi/bundle.js +1 -1
- package/cjs/resources/nls/fr/bundle.js +1 -1
- package/cjs/resources/nls/fr-CA/bundle.js +1 -1
- package/cjs/resources/nls/he/bundle.js +1 -1
- package/cjs/resources/nls/hr/bundle.js +1 -1
- package/cjs/resources/nls/hu/bundle.js +1 -1
- package/cjs/resources/nls/is/bundle.js +1 -1
- package/cjs/resources/nls/it/bundle.js +1 -1
- package/cjs/resources/nls/ja/bundle.js +1 -1
- package/cjs/resources/nls/ko/bundle.js +1 -1
- package/cjs/resources/nls/lt/bundle.js +1 -1
- package/cjs/resources/nls/lv/bundle.js +1 -1
- package/cjs/resources/nls/ms/bundle.js +1 -1
- package/cjs/resources/nls/nl/bundle.js +1 -1
- package/cjs/resources/nls/no/bundle.js +1 -1
- package/cjs/resources/nls/pl/bundle.js +1 -1
- package/cjs/resources/nls/pt/bundle.js +1 -1
- package/cjs/resources/nls/pt-PT/bundle.js +1 -1
- package/cjs/resources/nls/ro/bundle.js +1 -1
- package/cjs/resources/nls/ru/bundle.js +1 -1
- package/cjs/resources/nls/sk/bundle.js +1 -1
- package/cjs/resources/nls/sl/bundle.js +1 -1
- package/cjs/resources/nls/sr/bundle.js +1 -1
- package/cjs/resources/nls/sr-Latn/bundle.js +1 -1
- package/cjs/resources/nls/supportedLocales.js +1 -1
- package/cjs/resources/nls/sv/bundle.js +1 -1
- package/cjs/resources/nls/th/bundle.js +1 -1
- package/cjs/resources/nls/tr/bundle.js +1 -1
- package/cjs/resources/nls/uk/bundle.js +1 -1
- package/cjs/resources/nls/vi/bundle.js +1 -1
- package/cjs/resources/nls/zh-Hans/bundle.js +1 -1
- package/cjs/resources/nls/zh-Hant/bundle.js +1 -1
- package/cjs/{stringUtils-5a974072.js → stringUtils-ceb87e47.js} +2 -2
- package/cjs/{stringUtils-5a974072.js.map → stringUtils-ceb87e47.js.map} +1 -1
- package/cjs/{testHelpers-708eb934.js → testHelpers-42e935e2.js} +2 -2
- package/cjs/{testHelpers-708eb934.js.map → testHelpers-42e935e2.js.map} +1 -1
- package/cjs/translationBundle/__tests__/translationBundle.spec.js +1 -1
- package/cjs/translationBundle.js +1 -1
- package/cjs/{tslib.es6-1c8c1ae1.js → tslib.es6-942e45a7.js} +2 -2
- package/cjs/{tslib.es6-1c8c1ae1.js.map → tslib.es6-942e45a7.js.map} +1 -1
- package/cjs/{useAnimation-6b91d20f.js → useAnimation-285d5114.js} +3 -3
- package/cjs/{useAnimation-6b91d20f.js.map → useAnimation-285d5114.js.map} +1 -1
- package/cjs/{useFocusWithin-caec6bc4.js → useFocusWithin-6e6657b7.js} +2 -2
- package/cjs/{useFocusWithin-caec6bc4.js.map → useFocusWithin-6e6657b7.js.map} +1 -1
- package/cjs/{useModal-b8437e63.js → useModal-31e6b488.js} +2 -2
- package/cjs/{useModal-b8437e63.js.map → useModal-31e6b488.js.map} +1 -1
- package/cjs/{useSingleSelection-ed1f13ed.js → useSingleSelection-413b1119.js} +2 -2
- package/cjs/{useSingleSelection-ed1f13ed.js.map → useSingleSelection-413b1119.js.map} +1 -1
- package/cjs/utils/PRIVATE_clientHints/__tests__/clientHints.spec.js +2 -2
- package/cjs/utils/PRIVATE_clientHints.js +2 -2
- package/cjs/utils/PRIVATE_collectionUtils.js +1 -1
- package/cjs/utils/PRIVATE_dvtTestUtils.js +1 -1
- package/cjs/utils/PRIVATE_floatingUtils.js +1 -1
- package/cjs/utils/PRIVATE_meterUtils.js +1 -1
- package/cjs/utils/PRIVATE_refUtils.js +1 -1
- package/cjs/utils/PRIVATE_tabbableUtils.js +4 -4
- package/cjs/utils/PRIVATE_timer.js +1 -1
- package/cjs/utils/UNSAFE_arrayUtils.js +1 -1
- package/cjs/utils/UNSAFE_attributeUtils.js +1 -1
- package/cjs/utils/UNSAFE_classNames/classNames.spec.js +2 -2
- package/cjs/utils/UNSAFE_classNames.js +2 -2
- package/cjs/utils/UNSAFE_componentUtils.js +1 -1
- package/cjs/utils/UNSAFE_dataProvider.js +1 -1
- package/cjs/utils/UNSAFE_dvtCommonUtils.js +1 -1
- package/cjs/utils/UNSAFE_filePickerUtils.js +1 -1
- package/cjs/utils/UNSAFE_getLocale.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/aria.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/borders.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/boxalignment.js +19 -19
- package/cjs/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
- package/cjs/utils/UNSAFE_interpolations/colors.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/dimensions.js +2 -2
- package/cjs/utils/UNSAFE_interpolations/flexbox/flexbox.spec.js +5 -5
- package/cjs/utils/UNSAFE_interpolations/flexbox.js +5 -5
- package/cjs/utils/UNSAFE_interpolations/flexitem/flexitem.spec.js +5 -5
- package/cjs/utils/UNSAFE_interpolations/flexitem.js +5 -5
- package/cjs/utils/UNSAFE_interpolations/grid.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/griditem.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/padding.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/text.js +7 -7
- package/cjs/utils/UNSAFE_keys.js +1 -1
- package/cjs/utils/UNSAFE_lengthFilter.js +1 -1
- package/cjs/utils/UNSAFE_logger.js +3 -3
- package/cjs/utils/UNSAFE_matchTranslationBundle.js +1 -1
- package/cjs/utils/UNSAFE_mergeInterpolations.js +6 -6
- package/cjs/utils/UNSAFE_mergeProps.js +1 -1
- package/cjs/utils/UNSAFE_meterTypes.js +1 -1
- package/cjs/utils/UNSAFE_roles.js +1 -1
- package/cjs/utils/UNSAFE_selectUtils.js +1 -1
- package/cjs/utils/UNSAFE_size.js +1 -1
- package/cjs/utils/UNSAFE_soundUtils.js +1 -1
- package/cjs/utils/UNSAFE_stringUtils/stringUtils.spec.js +2 -2
- package/cjs/utils/UNSAFE_stringUtils.js +2 -2
- package/cjs/utils/UNSAFE_typeUtils.js +1 -1
- package/cjs/utils/UNSAFE_units.js +2 -2
- package/cjs/utils/UNSAFE_valueUpdateDetail.js +1 -1
- package/es/{ClearIcon-6334c3f9.js → ClearIcon-2c15ba7c.js} +3 -3
- package/es/{ClearIcon-6334c3f9.js.map → ClearIcon-2c15ba7c.js.map} +1 -1
- package/es/{LoadMoreCollection-57ab3cbb.js → LoadMoreCollection-145e821b.js} +2 -2
- package/es/{LoadMoreCollection-57ab3cbb.js.map → LoadMoreCollection-145e821b.js.map} +1 -1
- package/es/PRIVATE_Collection.js +1 -1
- package/es/PRIVATE_List.css +15 -15
- package/es/PRIVATE_List.js +24 -24
- package/es/PRIVATE_List.js.map +1 -1
- package/es/PRIVATE_Message.css +27 -27
- package/es/PRIVATE_Message.js +35 -35
- package/es/PRIVATE_Message.js.map +1 -1
- package/es/PRIVATE_MessageLayer.css +7 -7
- package/es/PRIVATE_MessageLayer.js +14 -14
- package/es/PRIVATE_MessageLayer.js.map +1 -1
- package/es/PRIVATE_Meter.js +2 -2
- package/es/PRIVATE_SelectCommon.css +13 -13
- package/es/PRIVATE_SelectCommon.js +22 -22
- package/es/PRIVATE_SelectCommon.js.map +1 -1
- package/es/PRIVATE_TransitionGroup.js +1 -1
- package/es/PRIVATE_VirtualizedCollection.js +1 -1
- package/es/UNSAFE_AspectRatio.css +1 -1
- package/es/UNSAFE_AspectRatio.js +7 -7
- package/es/UNSAFE_Avatar.css +8 -8
- package/es/UNSAFE_Avatar.js +10 -10
- package/es/UNSAFE_Avatar.js.map +1 -1
- package/es/UNSAFE_Badge.css +13 -13
- package/es/UNSAFE_Badge.js +14 -14
- package/es/UNSAFE_Badge.js.map +1 -1
- package/es/UNSAFE_BaseButton.css +15 -15
- package/es/UNSAFE_BaseButton.js +21 -21
- package/es/UNSAFE_BaseButton.js.map +1 -1
- package/es/UNSAFE_Button.css +7 -7
- package/es/UNSAFE_Button.js +13 -13
- package/es/UNSAFE_Button.js.map +1 -1
- package/es/UNSAFE_Center.js +7 -7
- package/es/UNSAFE_Chip.css +7 -7
- package/es/UNSAFE_Chip.js +8 -8
- package/es/UNSAFE_Chip.js.map +1 -1
- package/es/UNSAFE_Collapsible.css +8 -8
- package/es/UNSAFE_Collapsible.js +16 -16
- package/es/UNSAFE_Collapsible.js.map +1 -1
- package/es/UNSAFE_Collection.js +1 -1
- package/es/UNSAFE_ComponentMessage.css +2 -2
- package/es/UNSAFE_ComponentMessage.js +10 -10
- package/es/UNSAFE_ComponentMessage.js.map +1 -1
- package/es/UNSAFE_Divider.css +1 -1
- package/es/UNSAFE_Divider.js +6 -6
- package/es/UNSAFE_EmptyList.js +1 -1
- package/es/UNSAFE_Environment.js +1 -1
- package/es/UNSAFE_FilePicker.css +6 -6
- package/es/UNSAFE_FilePicker.js +13 -13
- package/es/UNSAFE_FilePicker.js.map +1 -1
- package/es/UNSAFE_Flex.css +2 -2
- package/es/UNSAFE_Flex.js +9 -9
- package/es/UNSAFE_Flex.js.map +1 -1
- package/es/UNSAFE_Floating.js +2 -2
- package/es/UNSAFE_FocusTrap.css +2 -2
- package/es/UNSAFE_FocusTrap.js +6 -6
- package/es/UNSAFE_FocusTrap.js.map +1 -1
- package/es/UNSAFE_Grid.css +1 -1
- package/es/UNSAFE_Grid.js +8 -8
- package/es/UNSAFE_Grid.js.map +1 -1
- package/es/UNSAFE_Heading.css +9 -9
- package/es/UNSAFE_Heading.js +16 -16
- package/es/UNSAFE_Heading.js.map +1 -1
- package/es/UNSAFE_HiddenAccessible.css +1 -1
- package/es/UNSAFE_HiddenAccessible.js +2 -2
- package/es/UNSAFE_HiddenAccessible.js.map +1 -1
- package/es/UNSAFE_HighlightText.css +1 -1
- package/es/UNSAFE_HighlightText.js +2 -2
- package/es/UNSAFE_HighlightText.js.map +1 -1
- package/es/UNSAFE_Icon.css +8 -8
- package/es/UNSAFE_Icon.js +11 -11
- package/es/UNSAFE_Icon.js.map +1 -1
- package/es/UNSAFE_Icons.js +3 -3
- package/es/UNSAFE_Indexer.css +7 -7
- package/es/UNSAFE_Indexer.js +15 -15
- package/es/UNSAFE_Indexer.js.map +1 -1
- package/es/UNSAFE_InputPassword.css +1 -1
- package/es/UNSAFE_InputPassword.js +10 -10
- package/es/UNSAFE_InputText.css +1 -1
- package/es/UNSAFE_InputText.js +9 -9
- package/es/UNSAFE_Label.css +13 -13
- package/es/UNSAFE_Label.js +15 -15
- package/es/UNSAFE_Label.js.map +1 -1
- package/es/UNSAFE_LabelValueLayout.css +9 -9
- package/es/UNSAFE_LabelValueLayout.js +16 -16
- package/es/UNSAFE_LabelValueLayout.js.map +1 -1
- package/es/UNSAFE_Layer.js +1 -1
- package/es/UNSAFE_Link.css +5 -5
- package/es/UNSAFE_Link.js +6 -6
- package/es/UNSAFE_Link.js.map +1 -1
- package/es/UNSAFE_ListItemLayout.css +9 -9
- package/es/UNSAFE_ListItemLayout.js +16 -16
- package/es/UNSAFE_ListItemLayout.js.map +1 -1
- package/es/UNSAFE_ListView.js +9 -9
- package/es/UNSAFE_LiveRegion.css +1 -1
- package/es/UNSAFE_LiveRegion.js +2 -2
- package/es/UNSAFE_LoadMoreCollection.js +2 -2
- package/es/UNSAFE_Menu.css +23 -23
- package/es/UNSAFE_Menu.js +31 -31
- package/es/UNSAFE_Menu.js.map +1 -1
- package/es/UNSAFE_MessageBanner.js +8 -8
- package/es/UNSAFE_MessageToast.css +1 -1
- package/es/UNSAFE_MessageToast.js +9 -9
- package/es/UNSAFE_MeterBar.css +44 -44
- package/es/UNSAFE_MeterBar.js +47 -47
- package/es/UNSAFE_MeterBar.js.map +1 -1
- package/es/UNSAFE_MeterCircle.css +46 -46
- package/es/UNSAFE_MeterCircle.js +49 -49
- package/es/UNSAFE_MeterCircle.js.map +1 -1
- package/es/UNSAFE_Modal.css +3 -3
- package/es/UNSAFE_Modal.js +8 -8
- package/es/UNSAFE_NumberInputText.js +8 -8
- package/es/UNSAFE_PrefixSuffix.css +8 -8
- package/es/UNSAFE_PrefixSuffix.js +9 -9
- package/es/UNSAFE_PrefixSuffix.js.map +1 -1
- package/es/UNSAFE_ProgressBar.css +6 -6
- package/es/UNSAFE_ProgressBar.js +8 -8
- package/es/UNSAFE_ProgressBar.js.map +1 -1
- package/es/UNSAFE_ProgressCircle.css +6 -6
- package/es/UNSAFE_ProgressCircle.js +8 -8
- package/es/UNSAFE_ProgressCircle.js.map +1 -1
- package/es/UNSAFE_RatingGauge.css +20 -20
- package/es/UNSAFE_RatingGauge.js +23 -23
- package/es/UNSAFE_RatingGauge.js.map +1 -1
- package/es/UNSAFE_SelectMultiple.css +1 -1
- package/es/UNSAFE_SelectMultiple.js +10 -10
- package/es/UNSAFE_SelectMultiple.js.map +1 -1
- package/es/UNSAFE_SelectSingle.js +9 -9
- package/es/UNSAFE_Selector.css +5 -5
- package/es/UNSAFE_Selector.js +13 -13
- package/es/UNSAFE_Selector.js.map +1 -1
- package/es/UNSAFE_Skeleton.css +1 -1
- package/es/UNSAFE_Skeleton.js +7 -7
- package/es/UNSAFE_Spacer.js +7 -7
- package/es/UNSAFE_SplitMenuButton.css +5 -5
- package/es/UNSAFE_SplitMenuButton.js +13 -13
- package/es/UNSAFE_SplitMenuButton.js.map +1 -1
- package/es/UNSAFE_Subheading.css +8 -8
- package/es/UNSAFE_Subheading.js +14 -14
- package/es/UNSAFE_Subheading.js.map +1 -1
- package/es/UNSAFE_Text.css +25 -25
- package/es/UNSAFE_Text.js +31 -31
- package/es/UNSAFE_Text.js.map +1 -1
- package/es/UNSAFE_TextArea.css +3 -3
- package/es/UNSAFE_TextArea.js +11 -11
- package/es/UNSAFE_TextAreaAutosize.js +8 -8
- package/es/UNSAFE_TextField.css +58 -58
- package/es/UNSAFE_TextField.js +65 -65
- package/es/UNSAFE_TextField.js.map +1 -1
- package/es/UNSAFE_ThemedIcons.js +3 -3
- package/es/UNSAFE_UserAssistance.css +8 -8
- package/es/UNSAFE_UserAssistance.js +16 -16
- package/es/UNSAFE_UserAssistance.js.map +1 -1
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +9 -9
- package/es/UNSAFE_WindowOverlay.js +1 -1
- package/es/{_curry1-42167633.js → _curry1-88605b19.js} +2 -2
- package/es/{_curry1-42167633.js.map → _curry1-88605b19.js.map} +1 -1
- package/es/{_curry2-7fae13f8.js → _curry2-677e2e20.js} +3 -3
- package/es/{_curry2-7fae13f8.js.map → _curry2-677e2e20.js.map} +1 -1
- package/es/{_curry3-5de91783.js → _curry3-c3f862d0.js} +4 -4
- package/es/{_curry3-5de91783.js.map → _curry3-c3f862d0.js.map} +1 -1
- package/es/{_has-d9e8a959.js → _has-7e77579f.js} +3 -3
- package/es/{_has-d9e8a959.js.map → _has-7e77579f.js.map} +1 -1
- package/es/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
- package/es/hooks/PRIVATE_useCurrentKey.js +1 -1
- package/es/hooks/PRIVATE_useDvtMeterEvents.js +3 -3
- package/es/hooks/PRIVATE_useItemAction.js +1 -1
- package/es/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
- package/es/hooks/PRIVATE_useSelection.js +1 -1
- package/es/hooks/PRIVATE_useSingleSelection.js +2 -2
- package/es/hooks/PRIVATE_useTabbableModeSet.js +1 -1
- package/es/hooks/UNSAFE_useActionable.js +1 -1
- package/es/hooks/UNSAFE_useActive.js +1 -1
- package/es/hooks/UNSAFE_useAnimation.js +2 -2
- package/es/hooks/UNSAFE_useBreakpointValues.js +1 -1
- package/es/hooks/UNSAFE_useBreakpoints.js +1 -1
- package/es/hooks/UNSAFE_useClearIcon.js +1 -1
- package/es/hooks/UNSAFE_useColorScheme.js +1 -1
- package/es/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
- package/es/hooks/UNSAFE_useContainerBreakpoints.js +1 -1
- package/es/hooks/UNSAFE_useCurrentValueReducer.js +1 -1
- package/es/hooks/UNSAFE_useDebounce.js +1 -1
- package/es/hooks/UNSAFE_useFloating.js +2 -2
- package/es/hooks/UNSAFE_useFocus.js +1 -1
- package/es/hooks/UNSAFE_useFocusWithin.js +1 -1
- package/es/hooks/UNSAFE_useFocusableTextField.js +2 -2
- package/es/hooks/UNSAFE_useFormContext.js +1 -1
- package/es/hooks/UNSAFE_useFormFieldContext.js +1 -1
- package/es/hooks/UNSAFE_useFormVariantContext.js +1 -1
- package/es/hooks/UNSAFE_useHover.js +1 -1
- package/es/hooks/UNSAFE_useId.js +1 -1
- package/es/hooks/UNSAFE_useLengthFilter.js +1 -1
- package/es/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
- package/es/hooks/UNSAFE_useLongPress.js +1 -1
- package/es/hooks/UNSAFE_useMessagesContext.js +1 -1
- package/es/hooks/UNSAFE_useOutsideClick.js +1 -1
- package/es/hooks/UNSAFE_usePan.js +1 -1
- package/es/hooks/UNSAFE_usePrefixSuffix.js +1 -1
- package/es/hooks/UNSAFE_usePress.js +1 -1
- package/es/hooks/UNSAFE_useScale.js +1 -1
- package/es/hooks/UNSAFE_useSwipe.js +1 -1
- package/es/hooks/UNSAFE_useTabbableMode.js +1 -1
- package/es/hooks/UNSAFE_useTap.js +1 -1
- package/es/hooks/UNSAFE_useTextField.js +1 -1
- package/es/hooks/UNSAFE_useTextFieldInputHandlers.js +1 -1
- package/es/hooks/UNSAFE_useTheme.js +1 -1
- package/es/hooks/UNSAFE_useTimer.js +1 -1
- package/es/hooks/UNSAFE_useToggle.js +1 -1
- package/es/hooks/UNSAFE_useTooltip.css +4 -4
- package/es/hooks/UNSAFE_useTooltip.js +7 -7
- package/es/hooks/UNSAFE_useTooltip.js.map +1 -1
- package/es/hooks/UNSAFE_useTouch.js +1 -1
- package/es/hooks/UNSAFE_useTranslationBundle.js +1 -1
- package/es/hooks/UNSAFE_useUncontrolledState.js +1 -1
- package/es/hooks/UNSAFE_useUser.js +1 -1
- package/es/hooks/UNSAFE_useViewportIntersect.js +1 -1
- package/es/{index-1e331816.js → index-64ecf0b2.js} +2 -2
- package/es/{index-1e331816.js.map → index-64ecf0b2.js.map} +1 -1
- package/es/{keys-092e6992.js → keys-5f7cf8d0.js} +4 -4
- package/es/{keys-092e6992.js.map → keys-5f7cf8d0.js.map} +1 -1
- package/es/resources/nls/ar/bundle.js +1 -1
- package/es/resources/nls/ar-XB/bundle.js +1 -1
- package/es/resources/nls/bg/bundle.js +1 -1
- package/es/resources/nls/bs/bundle.js +1 -1
- package/es/resources/nls/bs-Cyrl/bundle.js +1 -1
- package/es/resources/nls/bundle.js +1 -1
- package/es/resources/nls/cs/bundle.js +1 -1
- package/es/resources/nls/da/bundle.js +1 -1
- package/es/resources/nls/de/bundle.js +1 -1
- package/es/resources/nls/el/bundle.js +1 -1
- package/es/resources/nls/en/bundle.js +1 -1
- package/es/resources/nls/en-XA/bundle.js +1 -1
- package/es/resources/nls/en-XC/bundle.js +1 -1
- package/es/resources/nls/es/bundle.js +1 -1
- package/es/resources/nls/et/bundle.js +1 -1
- package/es/resources/nls/fi/bundle.js +1 -1
- package/es/resources/nls/fr/bundle.js +1 -1
- package/es/resources/nls/fr-CA/bundle.js +1 -1
- package/es/resources/nls/he/bundle.js +1 -1
- package/es/resources/nls/hr/bundle.js +1 -1
- package/es/resources/nls/hu/bundle.js +1 -1
- package/es/resources/nls/is/bundle.js +1 -1
- package/es/resources/nls/it/bundle.js +1 -1
- package/es/resources/nls/ja/bundle.js +1 -1
- package/es/resources/nls/ko/bundle.js +1 -1
- package/es/resources/nls/lt/bundle.js +1 -1
- package/es/resources/nls/lv/bundle.js +1 -1
- package/es/resources/nls/ms/bundle.js +1 -1
- package/es/resources/nls/nl/bundle.js +1 -1
- package/es/resources/nls/no/bundle.js +1 -1
- package/es/resources/nls/pl/bundle.js +1 -1
- package/es/resources/nls/pt/bundle.js +1 -1
- package/es/resources/nls/pt-PT/bundle.js +1 -1
- package/es/resources/nls/ro/bundle.js +1 -1
- package/es/resources/nls/ru/bundle.js +1 -1
- package/es/resources/nls/sk/bundle.js +1 -1
- package/es/resources/nls/sl/bundle.js +1 -1
- package/es/resources/nls/sr/bundle.js +1 -1
- package/es/resources/nls/sr-Latn/bundle.js +1 -1
- package/es/resources/nls/supportedLocales.js +1 -1
- package/es/resources/nls/sv/bundle.js +1 -1
- package/es/resources/nls/th/bundle.js +1 -1
- package/es/resources/nls/tr/bundle.js +1 -1
- package/es/resources/nls/uk/bundle.js +1 -1
- package/es/resources/nls/vi/bundle.js +1 -1
- package/es/resources/nls/zh-Hans/bundle.js +1 -1
- package/es/resources/nls/zh-Hant/bundle.js +1 -1
- package/es/translationBundle.js +1 -1
- package/es/{tslib.es6-4efe098f.js → tslib.es6-6d6c24be.js} +2 -2
- package/es/{tslib.es6-4efe098f.js.map → tslib.es6-6d6c24be.js.map} +1 -1
- package/es/{useModal-f13e6420.js → useModal-af15a37d.js} +2 -2
- package/es/{useModal-f13e6420.js.map → useModal-af15a37d.js.map} +1 -1
- package/es/{useSingleSelection-0ee5b27d.js → useSingleSelection-4a3a1789.js} +2 -2
- package/es/{useSingleSelection-0ee5b27d.js.map → useSingleSelection-4a3a1789.js.map} +1 -1
- package/es/utils/PRIVATE_clientHints.js +1 -1
- package/es/utils/PRIVATE_collectionUtils.js +1 -1
- package/es/utils/PRIVATE_dvtTestUtils.js +1 -1
- package/es/utils/PRIVATE_floatingUtils.js +1 -1
- package/es/utils/PRIVATE_meterUtils.js +1 -1
- package/es/utils/PRIVATE_refUtils.js +1 -1
- package/es/utils/PRIVATE_tabbableUtils.js +4 -4
- package/es/utils/PRIVATE_timer.js +1 -1
- package/es/utils/UNSAFE_arrayUtils.js +1 -1
- package/es/utils/UNSAFE_attributeUtils.js +1 -1
- package/es/utils/UNSAFE_classNames.js +1 -1
- package/es/utils/UNSAFE_componentUtils.js +1 -1
- package/es/utils/UNSAFE_dataProvider.js +1 -1
- package/es/utils/UNSAFE_dvtCommonUtils.js +1 -1
- package/es/utils/UNSAFE_filePickerUtils.js +1 -1
- package/es/utils/UNSAFE_getLocale.js +1 -1
- package/es/utils/UNSAFE_interpolations/aria.js +1 -1
- package/es/utils/UNSAFE_interpolations/borders.js +1 -1
- package/es/utils/UNSAFE_interpolations/boxalignment.css +15 -15
- package/es/utils/UNSAFE_interpolations/boxalignment.js +19 -19
- package/es/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
- package/es/utils/UNSAFE_interpolations/colors.js +1 -1
- package/es/utils/UNSAFE_interpolations/dimensions.js +2 -2
- package/es/utils/UNSAFE_interpolations/flexbox.css +7 -7
- package/es/utils/UNSAFE_interpolations/flexbox.js +11 -11
- package/es/utils/UNSAFE_interpolations/flexbox.js.map +1 -1
- package/es/utils/UNSAFE_interpolations/flexitem.css +7 -7
- package/es/utils/UNSAFE_interpolations/flexitem.js +11 -11
- package/es/utils/UNSAFE_interpolations/flexitem.js.map +1 -1
- package/es/utils/UNSAFE_interpolations/grid.js +1 -1
- package/es/utils/UNSAFE_interpolations/griditem.js +1 -1
- package/es/utils/UNSAFE_interpolations/padding.js +1 -1
- package/es/utils/UNSAFE_interpolations/text.css +3 -3
- package/es/utils/UNSAFE_interpolations/text.js +7 -7
- package/es/utils/UNSAFE_keys.js +1 -1
- package/es/utils/UNSAFE_lengthFilter.js +1 -1
- package/es/utils/UNSAFE_logger.js +3 -3
- package/es/utils/UNSAFE_matchTranslationBundle.js +1 -1
- package/es/utils/UNSAFE_mergeInterpolations.js +5 -5
- package/es/utils/UNSAFE_mergeProps.js +1 -1
- package/es/utils/UNSAFE_meterTypes.js +1 -1
- package/es/utils/UNSAFE_roles.js +1 -1
- package/es/utils/UNSAFE_selectUtils.js +1 -1
- package/es/utils/UNSAFE_size.js +1 -1
- package/es/utils/UNSAFE_soundUtils.js +1 -1
- package/es/utils/UNSAFE_stringUtils.js +1 -1
- package/es/utils/UNSAFE_typeUtils.js +1 -1
- package/es/utils/UNSAFE_units.js +1 -1
- package/es/utils/UNSAFE_valueUpdateDetail.js +1 -1
- package/package.json +1 -1
- package/amd/Badge-a3bf556a.js +0 -2
- package/amd/BaseButton-7368669e.js +0 -2
- package/amd/Button-486f7bf6.js +0 -2
- package/amd/Chip-ee49d193.js +0 -2
- package/amd/ComponentMessage-3771e70b.js +0 -2
- package/amd/Divider-1fbe648d.js +0 -2
- package/amd/Flex-d94a9e7a.js +0 -2
- package/amd/FocusTrap-9d165f84.js +0 -2
- package/amd/FormControlUtils-4c94fe4f.js +0 -2
- package/amd/Heading-82a5bbd3.js +0 -2
- package/amd/HiddenAccessible-e894a517.js +0 -2
- package/amd/HighlightText-991165f8.js +0 -2
- package/amd/Icon-b570ea5c.js +0 -2
- package/amd/Indexer-e96fcb5e.js +0 -2
- package/amd/Link-9b5ab898.js +0 -2
- package/amd/List-59198769.js +0 -2
- package/amd/ListItemTextLayout-f319d761.js +0 -2
- package/amd/Menu-30e696ff.js +0 -2
- package/amd/MenuDivider-5a5a81f4.js +0 -2
- package/amd/MenuItem-d790c06c.js +0 -2
- package/amd/MessageCloseButton-339dcb55.js +0 -2
- package/amd/MessageDetail-d15f2535.js +0 -2
- package/amd/MessageLayer-5550835d.js +0 -2
- package/amd/MessageStartIcon-4534c4aa.js +0 -2
- package/amd/MessageSummary-ab8fab08.js +0 -2
- package/amd/MessageTimestamp-f0035736.js +0 -2
- package/amd/MeterCircle-d1a10756.js +0 -2
- package/amd/Modal-f95d822f.js +0 -2
- package/amd/ReadonlyTextFieldInput-08ab0ea7.js +0 -2
- package/amd/SelectMenuItem-ac3f3402.js +0 -2
- package/amd/SelectMultiple-3908d39e.js +0 -2
- package/amd/Skeleton-f82bdf08.js +0 -2
- package/amd/SplitMenuButton-54455b48.js +0 -2
- package/amd/Text-81288763.js +0 -2
- package/amd/TextArea-b10d05d5.js +0 -2
- package/amd/TextFieldInput-d78415e5.js +0 -2
- package/amd/_curry2-d53405cf.js +0 -2
- package/amd/_curry3-5c6c2ca8.js +0 -2
- package/amd/_has-98de25f8.js +0 -2
- package/amd/flexbox-9afecbce.js +0 -2
- package/amd/flexitem-b7033294.js +0 -2
- package/amd/keys-9ae55384.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["require","preact/jsx-runtime","@testing-library/preact","chai","../../MeterCircle-d1a10756","../../utils/UNSAFE_matchTranslationBundle","../../UNSAFE_Environment","@testing-library/user-event","../../utils/PRIVATE_clientHints","../../clientHints-ea4a2145","../../tslib.es6-0fac987a","../../hooks/UNSAFE_useUser","preact/hooks","preact","../../UNSAFE_Layer","preact/compat","css!./../../UNSAFE_MeterCircle.css","../../utils/UNSAFE_mergeProps","../../utils/UNSAFE_classNames","../../classNames-9f2df6c4","../../PRIVATE_Meter","../../utils/PRIVATE_meterUtils","../../utils/UNSAFE_dvtCommonUtils","../../hooks/PRIVATE_useDvtMeterEvents","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-0e5818f5","../../index-caf35c9c","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../utils/UNSAFE_arrayUtils","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-c26817c3","../../hooks/UNSAFE_useTabbableMode"],function(e,r,t,n,s,l,i,o,c,u,a,d,b,v,m,f,h,p,w,C,y,x,E,g,P,j,k,T,M,A,q,S,R,N,O,I,F,U,D,V){"use strict";function B(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var H=B(o);const L=3e3,z="datatip_text";describe("Test MeterCircle component",()=>{it("render",async function(){const o=l.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:c}=await function(r){switch(r){case"../../resources/nls/ar/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ar/bundle"],r,t)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ar-XB/bundle"],r,t)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/bg/bundle"],r,t)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/bs/bundle"],r,t)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/bs-Cyrl/bundle"],r,t)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/cs/bundle"],r,t)});case"../../resources/nls/da/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/da/bundle"],r,t)});case"../../resources/nls/de/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/de/bundle"],r,t)});case"../../resources/nls/el/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/el/bundle"],r,t)});case"../../resources/nls/en/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/en/bundle"],r,t)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/en-XA/bundle"],r,t)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/en-XC/bundle"],r,t)});case"../../resources/nls/es/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/es/bundle"],r,t)});case"../../resources/nls/et/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/et/bundle"],r,t)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/fi/bundle"],r,t)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/fr/bundle"],r,t)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/fr-CA/bundle"],r,t)});case"../../resources/nls/he/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/he/bundle"],r,t)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/hr/bundle"],r,t)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/hu/bundle"],r,t)});case"../../resources/nls/is/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/is/bundle"],r,t)});case"../../resources/nls/it/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/it/bundle"],r,t)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ja/bundle"],r,t)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ko/bundle"],r,t)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/lt/bundle"],r,t)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/lv/bundle"],r,t)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ms/bundle"],r,t)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/nl/bundle"],r,t)});case"../../resources/nls/no/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/no/bundle"],r,t)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/pl/bundle"],r,t)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/pt/bundle"],r,t)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/pt-PT/bundle"],r,t)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ro/bundle"],r,t)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ru/bundle"],r,t)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sk/bundle"],r,t)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sl/bundle"],r,t)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sr/bundle"],r,t)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sr-Latn/bundle"],r,t)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sv/bundle"],r,t)});case"../../resources/nls/th/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/th/bundle"],r,t)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/tr/bundle"],r,t)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/uk/bundle"],r,t)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/vi/bundle"],r,t)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/zh-Hans/bundle"],r,t)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/zh-Hant/bundle"],r,t)});default:return new Promise(function(e,t){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(t.bind(null,new Error("Unknown variable dynamic import: "+r)))})}}(`../../resources/nls/${o}/bundle.ts`),u={translations:{"@oracle/oraclejet-preact":c}},a=t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:u},{children:r.jsx(s.MeterCircle,{value:20,min:0,max:100,accessibleLabel:"ariaText"})}))),d=await a.getAllByLabelText("ariaText");n.expect(d).not.null}),it("applies Linaria CSS classes",async()=>{const o=l.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:c}=await function(r){switch(r){case"../../resources/nls/ar/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ar/bundle"],r,t)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ar-XB/bundle"],r,t)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/bg/bundle"],r,t)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/bs/bundle"],r,t)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/bs-Cyrl/bundle"],r,t)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/cs/bundle"],r,t)});case"../../resources/nls/da/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/da/bundle"],r,t)});case"../../resources/nls/de/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/de/bundle"],r,t)});case"../../resources/nls/el/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/el/bundle"],r,t)});case"../../resources/nls/en/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/en/bundle"],r,t)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/en-XA/bundle"],r,t)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/en-XC/bundle"],r,t)});case"../../resources/nls/es/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/es/bundle"],r,t)});case"../../resources/nls/et/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/et/bundle"],r,t)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/fi/bundle"],r,t)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/fr/bundle"],r,t)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/fr-CA/bundle"],r,t)});case"../../resources/nls/he/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/he/bundle"],r,t)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/hr/bundle"],r,t)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/hu/bundle"],r,t)});case"../../resources/nls/is/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/is/bundle"],r,t)});case"../../resources/nls/it/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/it/bundle"],r,t)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ja/bundle"],r,t)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ko/bundle"],r,t)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/lt/bundle"],r,t)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/lv/bundle"],r,t)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ms/bundle"],r,t)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/nl/bundle"],r,t)});case"../../resources/nls/no/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/no/bundle"],r,t)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/pl/bundle"],r,t)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/pt/bundle"],r,t)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/pt-PT/bundle"],r,t)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ro/bundle"],r,t)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ru/bundle"],r,t)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sk/bundle"],r,t)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sl/bundle"],r,t)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sr/bundle"],r,t)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sr-Latn/bundle"],r,t)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sv/bundle"],r,t)});case"../../resources/nls/th/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/th/bundle"],r,t)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/tr/bundle"],r,t)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/uk/bundle"],r,t)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/vi/bundle"],r,t)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/zh-Hans/bundle"],r,t)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/zh-Hant/bundle"],r,t)});default:return new Promise(function(e,t){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(t.bind(null,new Error("Unknown variable dynamic import: "+r)))})}}(`../../resources/nls/${o}/bundle.ts`),u={translations:{"@oracle/oraclejet-preact":c}},a=t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:u},{children:r.jsx(s.MeterCircle,{value:20,min:0,max:100})}))).container.firstElementChild.classList;n.expect(a.length).equals(1)})}),describe("Test Meter Circle ARIA props",()=>{it("Test default aria properties of Meter Circle",async function(){const e=t.render(r.jsx(s.MeterCircle,{value:20})).container.firstElementChild;n.expect(e.getAttribute("aria-valuemax")).equals("100"),n.expect(e.getAttribute("aria-valuenow")).equals("20"),n.expect(e.getAttribute("aria-valuemin")).equals("0"),n.expect(e.getAttribute("aria-valuetext")).equals("20 "),n.expect(e.getAttribute("aria-describedby")).not.null,n.expect(e.getAttribute("aria-labelledby")).null,n.expect(e.getAttribute("aria-label")).null}),it("Test value, role, min and max property of Meter Circle",async function(){const e=t.render(r.jsx(s.MeterCircle,{value:100,max:150,min:50})).container.firstElementChild;n.expect(e.getAttribute("role")).equals("slider"),n.expect(e.getAttribute("aria-valuemax")).equals("150"),n.expect(e.getAttribute("aria-valuenow")).equals("100"),n.expect(e.getAttribute("aria-valuemin")).equals("50"),n.expect(e.getAttribute("aria-valuetext")).equals("100 ")}),it("Test accessiblelabel property of Meter Circle",async function(){const e="TEST-ACCESSIBLE-LABEL",l=t.render(r.jsx(s.MeterCircle,{value:20,accessibleLabel:e})).container.firstElementChild;n.expect(l.getAttribute("aria-label")).equals(e)}),it("Test describedBy attribute of Meter Circle",async function(){const e=t.render(r.jsx(s.MeterCircle,{value:20,ariaDescribedBy:"TEST ARIA-DESCRIBED-BY"})).container.firstElementChild.getAttribute("aria-describedby"),l=null==e?void 0:e.split(" ");n.expect(null==l?void 0:l.length).equals(3),n.expect(l?l[0]:"").equals("TEST"),n.expect(l?l[1]:"").equals("ARIA-DESCRIBED-BY")}),it("Test labelledby attribute of Meter Circle",async function(){const e="TEST ARIA-LABELLED-BY",l=t.render(r.jsx(s.MeterCircle,{value:20,ariaLabelledBy:e})).container.firstElementChild;n.expect(l.getAttribute("aria-labelledby")).equals(e)})}),describe('Test "Size" property of Meter Circle ',()=>{"undefined"==typeof jest&&(it("Test default size",async function(){const e=t.render(r.jsx(s.MeterCircle,{value:5})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Default size is correct").to.be.equal("196px"),n.expect(window.getComputedStyle(e).getPropertyValue("width"),"Default size is correct").to.be.equal("196px")}),it('Test "size = large"',async function(){const e=t.render(r.jsx(s.MeterCircle,{value:5,size:"lg"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Large size is correct").to.be.equal("196px"),n.expect(window.getComputedStyle(e).getPropertyValue("width"),"Large size is correct").to.be.equal("196px")}),it('Test "size = medium"',async function(){const e=t.render(r.jsx(s.MeterCircle,{value:20,size:"md"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Medium size is correct").to.be.equal("96px"),n.expect(window.getComputedStyle(e).getPropertyValue("width"),"Medium size is correct").to.be.equal("96px")}),it('Test "size = small"',async function(){const e=t.render(r.jsx(s.MeterCircle,{value:20,size:"sm"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Small size is correct").to.be.equal("56px"),n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Small size is correct").to.be.equal("56px")}))}),describe('Test "Track" attribute of Meter Circle ',()=>{"undefined"==typeof jest&&(it("Test default track of Meter Circle",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.firstElementChild;n.expect(i.style.backgroundColor).equals("")}),it("Test Track not present in Meter Circle when isTrackRendered is set to false",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20,isTrackRendered:!1,trackColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.firstElementChild;n.expect(i.style.borderColor).equals("transparent")}),it("Test isTrackRendered and traclColor attribute with value as true in Meter Circle",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20,isTrackRendered:!0,trackColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.firstElementChild;n.expect(i.style.borderColor).equals("red")}))}),describe('Test "indicatorSize" and indicatorColor attribute of Meter Circle ',()=>{"undefined"==typeof jest&&(it("Test default indicatorSize of Meter Circle",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(window.getComputedStyle(i).getPropertyValue("height"),"height").to.be.equal("196px")}),it("Test indicatorSize of Meter Circle",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20,indicatorSize:.5})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(i.style.height).contains("0.5")}),it("Test default indicatorColor of Meter Circle",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(i.style.borderColor).equals("")}),it("Test indicatorColor of Meter Circle",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20,indicatorColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(i.style.borderColor).equals("red")}))}),describe("Test angleExtent,startAngle, center content, innerBound and OuterBound property of Meter Circle ",()=>{"undefined"==typeof jest&&(it("Test for Right Half semi Meter Circle ",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:12,angleExtent:180})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.firstElementChild;n.expect(window.getComputedStyle(i).getPropertyValue("height"),"Height of semi circle").to.be.equal("196px"),n.expect(window.getComputedStyle(i).getPropertyValue("width"),"Width of semi circle").to.be.equal("98px")}),it("Test for Top Half semi Meter Circle ",async function(){var e;const l=null===(e=t.render(r.jsx(s.MeterCircle,{value:12,angleExtent:180,startAngle:180})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(window.getComputedStyle(l).getPropertyValue("height"),"Height of semi circle").to.be.equal("98px"),n.expect(window.getComputedStyle(l).getPropertyValue("width"),"Width of semi circle").to.be.equal("196px")}),it("Test for Bottom Half semi Meter Circle ",async function(){var e;const l=null===(e=t.render(r.jsx(s.MeterCircle,{value:12,angleExtent:180,startAngle:0})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(window.getComputedStyle(l).getPropertyValue("height"),"Height of semi circle").to.be.equal("98px"),n.expect(window.getComputedStyle(l).getPropertyValue("width"),"Width of semi circle").to.be.equal("196px")}),it("Test for Left Half semi Meter Circle ",async function(){var e;const l=null===(e=t.render(r.jsx(s.MeterCircle,{value:12,angleExtent:180,startAngle:270})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(window.getComputedStyle(l).getPropertyValue("height"),"Height of semi circle").to.be.equal("196px"),n.expect(window.getComputedStyle(l).getPropertyValue("width"),"Width of semi circle").to.be.equal("98px")}),it("Test Center content",async function(){const e=t.render(r.jsx(s.MeterCircle,Object.assign({value:20},{children:()=>r.jsx("div",{children:"Sales in USD"})}))),l=await e.findByText("Sales in USD");n.expect(l).not.null}),it("Test inner and outer bounds",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,Object.assign({value:20},{children:e=>r.jsx("div",Object.assign({id:"centerContentDiv","data-iBx":e.innerBounds.x,"data-iBy":e.innerBounds.y,"data-oBx":e.outerBounds.x,"data-oBy":e.outerBounds.y},{children:r.jsx("div",{children:"Sales in USD"})}))}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[2].firstChild;n.expect(Number(i.dataset.ibx)).closeTo(37,1),n.expect(Number(i.dataset.iby)).closeTo(37,1),n.expect(i.dataset.obx).equals("12"),n.expect(i.dataset.oby).equals("12")}))}),"undefined"==typeof jest&&(describe("Test to check the rendering of reference lines",()=>{it("Multiple Reference Line to check reference line color value",async()=>{var e,l,i,o;const c=t.render(r.jsx(s.MeterCircle,{value:10,referenceLines:[{value:40,color:"#3A6E96"},{value:50,color:"#3A6E96"},{value:70,color:"red"},{value:60}]})),u=null===(l=null===(e=c.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[4];n.expect(u.style.backgroundColor).equals("red");const a=null===(o=null===(i=c.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===o?void 0:o.childNodes[5];n.expect(a.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-reference-object-line-color)"),n.expect(a.style.borderBottom).equals("1px solid var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)")}),it("Multiple Reference Line to check reference line color enums",async()=>{var e,l,i,o,c,u,a,d;const b=t.render(r.jsx(s.MeterCircle,{value:10,referenceLines:[{value:40,color:"danger"},{value:50,color:"warning"},{value:70,color:"success"},{value:60}]})),v=null===(l=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[2];n.expect(v.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)");const m=null===(o=null===(i=b.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===o?void 0:o.childNodes[3];n.expect(m.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-warning)");const f=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[4];n.expect(f.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-success)");const h=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[5];n.expect(h.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-reference-object-line-color)"),n.expect(h.style.borderBottom).equals("1px solid var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)")}),it("Reference Line",async()=>{var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:10,referenceLines:[{value:40,color:"#3A6E96"}]})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(i.classList.length).equals(3)})}),describe("Test Threshold attribute of Meter Circle ",()=>{it("Test threshold color enums in Meter Circle when thresholdDisplay is set to all",async function(){var e,l,i,o,c,u;const a=t.render(r.jsx(s.MeterCircle,{value:20,thresholdDisplay:"all",thresholds:[{max:33,color:"danger"},{max:65,color:"warning"},{max:100,color:"success"}]})),d=null===(l=null===(e=a.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(d.style.borderColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)");const b=null===(o=null===(i=a.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===o?void 0:o.childNodes[2];n.expect(b.style.borderColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-warning)");const v=null===(u=null===(c=a.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[3];n.expect(v.style.borderColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-success)")}),it("Test threshold color enums in Meter Circle when thresholdDisplay is set to track",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20,thresholdDisplay:"track",thresholds:[{max:33,color:"danger"},{max:65,color:"warning"},{max:100,color:"success"}]})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(i.style.borderColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)")}),it("Test threshold color enums in Meter Circle when thresholdDisplay is set to indicator",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20,thresholdDisplay:"indicator",thresholds:[{max:33,color:"danger"},{max:65,color:"warning"},{max:100,color:"success"}]})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(i.style.borderColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)")})})),describe("Mouse Interaction",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(L),it("check default datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:30})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;H.default.hover(n),await t.waitFor(()=>_("30"),{timeout:L})},L),it("check datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:30,datatip:z})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;H.default.hover(n),await t.waitFor(()=>_(z),{timeout:L})},L),it("check datatip when set to null, correctly triggered with mouse interaction",async()=>{var e;const l=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:30,datatip:null})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;H.default.hover(l),await t.waitFor(()=>{const e=document.querySelectorAll('[role="tooltip"]');n.expect(e.length).equals(0)},{timeout:L})}),it("check onCommit event is correctly triggered with mouse interaction",async()=>{var e;const l={clicked:!1},o=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:20,onCommit:e=>{null!=e.value&&(l.clicked=!0)}})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;t.fireEvent.pointerUp(o),await t.waitFor(()=>n.expect(l.clicked).equals(!0))}))}),describe("Mouse Interaction in RTL mode",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(L),it("check default datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:30})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;H.default.hover(n),await t.waitFor(()=>_("30"),{timeout:L})},L),it("check datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:30,datatip:z})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;H.default.hover(n),await t.waitFor(()=>_(z),{timeout:L})},L),it("check datatip when set to null, correctly triggered with mouse interaction",async()=>{var e;const l=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:30,datatip:null})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;H.default.hover(l),await t.waitFor(()=>{const e=document.querySelectorAll('[role="tooltip"]');n.expect(e.length).equals(0)},{timeout:L})}),it("check onCommit event is correctly triggered with mouse interaction",async()=>{var e;const l={clicked:!1},o=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:20,onCommit:e=>{null!=e.value&&(l.clicked=!0)}})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;t.fireEvent.pointerUp(o),await t.waitFor(()=>n.expect(l.clicked).equals(!0))}))}),describe("Keyboard Interaction",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(L),it("check default datatip correctly triggered with keyboard interaction",async()=>{t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:30})})),H.default.tab(),await t.waitFor(()=>_("30"),{timeout:L})},L),it("check datatip correctly triggered with keyboard interaction",async()=>{t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:30,datatip:z})})),H.default.tab(),await t.waitFor(()=>_(z),{timeout:L})},L),it("check onInput event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:20,onInput:r=>{null!=r.value&&(e.called=!0)}})})),H.default.tab(),await t.waitFor(()=>n.expect(e.called).equals(!0))}),it("check onInput is correctly triggered with HOME key by keyboard interaction ",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:e,onInput:r=>{e=r.value}})})),H.default.tab(),H.default.keyboard("[HOME]"),await t.waitFor(()=>n.expect(e).equals(0))}),it("check onInput is correctly triggered with END key by keyboard interaction ",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:e,onInput:r=>{e=r.value}})})),H.default.tab(),H.default.keyboard("[END]"),await t.waitFor(()=>n.expect(e).equals(100))}),it("check onCommit event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:20,onCommit:r=>{null!=r.value&&(e.called=!0)}})})),H.default.tab(),H.default.keyboard("[ENTER]"),await t.waitFor(()=>n.expect(e.called).equals(!0))}),it("check step is correctly triggered using down arrow key with keyboard interaction",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{step:.5,value:e,onInput:r=>{e=r.value}})})),H.default.tab(),H.default.keyboard("[ARROWDOWN]"),await t.waitFor(()=>n.expect(e).equals(1.5))}),it("check step is correctly triggered using right arrow key with keyboard interaction",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{step:.5,value:e,onInput:r=>{e=r.value}})})),H.default.tab(),H.default.keyboard("[ARROWRIGHT]"),await t.waitFor(()=>n.expect(e).equals(2.5))}),it("check step is correctly triggered using up arrow key with keyboard interaction",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{step:.5,value:e,onInput:r=>{e=r.value}})})),H.default.tab(),H.default.keyboard("[ARROWUP]"),await t.waitFor(()=>n.expect(e).equals(2.5))}),it("check step is correctly triggered using left arrow key with keyboard interaction",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{step:.5,value:e,onInput:r=>{e=r.value}})})),H.default.tab(),H.default.keyboard("[ARROWLEFT]"),await t.waitFor(()=>n.expect(e).equals(1.5))}))}),describe("Keyboard Interaction in RTL mode",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(L),it("check default datatip correctly triggered with keyboard interaction",async()=>{t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:30})}))),H.default.tab(),await t.waitFor(()=>_("30"),{timeout:L})},L),it("check datatip correctly triggered with keyboard interaction",async()=>{t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:30,datatip:z})}))),H.default.tab(),await t.waitFor(()=>_(z),{timeout:L})},L),it("check onInput event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:20,onInput:r=>{null!=r.value&&(e.called=!0)}})}))),H.default.tab(),await t.waitFor(()=>n.expect(e.called).equals(!0))}),it("check onInput is correctly triggered with HOME key by keyboard interaction ",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:e,onInput:r=>{e=r.value}})}))),H.default.tab(),H.default.keyboard("[HOME]"),await t.waitFor(()=>n.expect(e).equals(0))}),it("check onInput is correctly triggered with END key by keyboard interaction ",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:e,onInput:r=>{e=r.value}})}))),H.default.tab(),H.default.keyboard("[END]"),await t.waitFor(()=>n.expect(e).equals(100))}),it("check onCommit event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:20,onCommit:r=>{null!=r.value&&(e.called=!0)}})}))),H.default.tab(),H.default.keyboard("[ENTER]"),await t.waitFor(()=>n.expect(e.called).equals(!0))}))});const _=e=>{var r;const t=document.querySelectorAll('[role="tooltip"]').item(0),s=null==t?void 0:t.firstElementChild;n.expect(null==s?void 0:s.style.opacity).not.equals(""),n.expect(null==s?void 0:s.style.opacity).not.equals("0"),n.expect(null==s?void 0:s.style.maxHeight).not.equals(""),n.expect(null==s?void 0:s.style.maxHeight).not.equals("0");const l=null===(r=null==s?void 0:s.firstElementChild)||void 0===r?void 0:r.innerHTML;n.expect(l).equals(e)}});
|
|
1
|
+
define(["require","preact/jsx-runtime","@testing-library/preact","chai","../../MeterCircle-335eb864","../../utils/UNSAFE_matchTranslationBundle","../../UNSAFE_Environment","@testing-library/user-event","../../utils/PRIVATE_clientHints","../../clientHints-f0b540bd","../../tslib.es6-db9b6ac2","../../hooks/UNSAFE_useUser","preact/hooks","preact","../../UNSAFE_Layer","preact/compat","css!./../../UNSAFE_MeterCircle.css","../../utils/UNSAFE_mergeProps","../../utils/UNSAFE_classNames","../../classNames-e7b3a8a5","../../PRIVATE_Meter","../../utils/PRIVATE_meterUtils","../../utils/UNSAFE_dvtCommonUtils","../../hooks/PRIVATE_useDvtMeterEvents","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-eefb778f","../../index-aca0a20d","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../utils/UNSAFE_arrayUtils","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-032c3574","../../hooks/UNSAFE_useTabbableMode"],function(e,r,t,n,s,l,i,o,c,u,a,d,b,v,m,f,h,p,w,C,y,x,E,g,P,j,k,T,M,A,q,S,R,N,O,I,F,U,D,V){"use strict";function B(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var H=B(o);const L=3e3,z="datatip_text";describe("Test MeterCircle component",()=>{it("render",async function(){const o=l.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:c}=await function(r){switch(r){case"../../resources/nls/ar/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ar/bundle"],r,t)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ar-XB/bundle"],r,t)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/bg/bundle"],r,t)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/bs/bundle"],r,t)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/bs-Cyrl/bundle"],r,t)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/cs/bundle"],r,t)});case"../../resources/nls/da/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/da/bundle"],r,t)});case"../../resources/nls/de/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/de/bundle"],r,t)});case"../../resources/nls/el/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/el/bundle"],r,t)});case"../../resources/nls/en/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/en/bundle"],r,t)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/en-XA/bundle"],r,t)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/en-XC/bundle"],r,t)});case"../../resources/nls/es/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/es/bundle"],r,t)});case"../../resources/nls/et/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/et/bundle"],r,t)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/fi/bundle"],r,t)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/fr/bundle"],r,t)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/fr-CA/bundle"],r,t)});case"../../resources/nls/he/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/he/bundle"],r,t)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/hr/bundle"],r,t)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/hu/bundle"],r,t)});case"../../resources/nls/is/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/is/bundle"],r,t)});case"../../resources/nls/it/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/it/bundle"],r,t)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ja/bundle"],r,t)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ko/bundle"],r,t)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/lt/bundle"],r,t)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/lv/bundle"],r,t)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ms/bundle"],r,t)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/nl/bundle"],r,t)});case"../../resources/nls/no/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/no/bundle"],r,t)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/pl/bundle"],r,t)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/pt/bundle"],r,t)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/pt-PT/bundle"],r,t)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ro/bundle"],r,t)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ru/bundle"],r,t)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sk/bundle"],r,t)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sl/bundle"],r,t)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sr/bundle"],r,t)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sr-Latn/bundle"],r,t)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sv/bundle"],r,t)});case"../../resources/nls/th/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/th/bundle"],r,t)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/tr/bundle"],r,t)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/uk/bundle"],r,t)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/vi/bundle"],r,t)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/zh-Hans/bundle"],r,t)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/zh-Hant/bundle"],r,t)});default:return new Promise(function(e,t){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(t.bind(null,new Error("Unknown variable dynamic import: "+r)))})}}(`../../resources/nls/${o}/bundle.ts`),u={translations:{"@oracle/oraclejet-preact":c}},a=t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:u},{children:r.jsx(s.MeterCircle,{value:20,min:0,max:100,accessibleLabel:"ariaText"})}))),d=await a.getAllByLabelText("ariaText");n.expect(d).not.null}),it("applies Linaria CSS classes",async()=>{const o=l.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:c}=await function(r){switch(r){case"../../resources/nls/ar/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ar/bundle"],r,t)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ar-XB/bundle"],r,t)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/bg/bundle"],r,t)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/bs/bundle"],r,t)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/bs-Cyrl/bundle"],r,t)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/cs/bundle"],r,t)});case"../../resources/nls/da/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/da/bundle"],r,t)});case"../../resources/nls/de/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/de/bundle"],r,t)});case"../../resources/nls/el/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/el/bundle"],r,t)});case"../../resources/nls/en/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/en/bundle"],r,t)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/en-XA/bundle"],r,t)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/en-XC/bundle"],r,t)});case"../../resources/nls/es/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/es/bundle"],r,t)});case"../../resources/nls/et/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/et/bundle"],r,t)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/fi/bundle"],r,t)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/fr/bundle"],r,t)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/fr-CA/bundle"],r,t)});case"../../resources/nls/he/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/he/bundle"],r,t)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/hr/bundle"],r,t)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/hu/bundle"],r,t)});case"../../resources/nls/is/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/is/bundle"],r,t)});case"../../resources/nls/it/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/it/bundle"],r,t)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ja/bundle"],r,t)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ko/bundle"],r,t)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/lt/bundle"],r,t)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/lv/bundle"],r,t)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ms/bundle"],r,t)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/nl/bundle"],r,t)});case"../../resources/nls/no/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/no/bundle"],r,t)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/pl/bundle"],r,t)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/pt/bundle"],r,t)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/pt-PT/bundle"],r,t)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ro/bundle"],r,t)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/ru/bundle"],r,t)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sk/bundle"],r,t)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sl/bundle"],r,t)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sr/bundle"],r,t)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sr-Latn/bundle"],r,t)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/sv/bundle"],r,t)});case"../../resources/nls/th/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/th/bundle"],r,t)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/tr/bundle"],r,t)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/uk/bundle"],r,t)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/vi/bundle"],r,t)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/zh-Hans/bundle"],r,t)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(r,t){e(["../../resources/nls/zh-Hant/bundle"],r,t)});default:return new Promise(function(e,t){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(t.bind(null,new Error("Unknown variable dynamic import: "+r)))})}}(`../../resources/nls/${o}/bundle.ts`),u={translations:{"@oracle/oraclejet-preact":c}},a=t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:u},{children:r.jsx(s.MeterCircle,{value:20,min:0,max:100})}))).container.firstElementChild.classList;n.expect(a.length).equals(1)})}),describe("Test Meter Circle ARIA props",()=>{it("Test default aria properties of Meter Circle",async function(){const e=t.render(r.jsx(s.MeterCircle,{value:20})).container.firstElementChild;n.expect(e.getAttribute("aria-valuemax")).equals("100"),n.expect(e.getAttribute("aria-valuenow")).equals("20"),n.expect(e.getAttribute("aria-valuemin")).equals("0"),n.expect(e.getAttribute("aria-valuetext")).equals("20 "),n.expect(e.getAttribute("aria-describedby")).not.null,n.expect(e.getAttribute("aria-labelledby")).null,n.expect(e.getAttribute("aria-label")).null}),it("Test value, role, min and max property of Meter Circle",async function(){const e=t.render(r.jsx(s.MeterCircle,{value:100,max:150,min:50})).container.firstElementChild;n.expect(e.getAttribute("role")).equals("slider"),n.expect(e.getAttribute("aria-valuemax")).equals("150"),n.expect(e.getAttribute("aria-valuenow")).equals("100"),n.expect(e.getAttribute("aria-valuemin")).equals("50"),n.expect(e.getAttribute("aria-valuetext")).equals("100 ")}),it("Test accessiblelabel property of Meter Circle",async function(){const e="TEST-ACCESSIBLE-LABEL",l=t.render(r.jsx(s.MeterCircle,{value:20,accessibleLabel:e})).container.firstElementChild;n.expect(l.getAttribute("aria-label")).equals(e)}),it("Test describedBy attribute of Meter Circle",async function(){const e=t.render(r.jsx(s.MeterCircle,{value:20,ariaDescribedBy:"TEST ARIA-DESCRIBED-BY"})).container.firstElementChild.getAttribute("aria-describedby"),l=null==e?void 0:e.split(" ");n.expect(null==l?void 0:l.length).equals(3),n.expect(l?l[0]:"").equals("TEST"),n.expect(l?l[1]:"").equals("ARIA-DESCRIBED-BY")}),it("Test labelledby attribute of Meter Circle",async function(){const e="TEST ARIA-LABELLED-BY",l=t.render(r.jsx(s.MeterCircle,{value:20,ariaLabelledBy:e})).container.firstElementChild;n.expect(l.getAttribute("aria-labelledby")).equals(e)})}),describe('Test "Size" property of Meter Circle ',()=>{"undefined"==typeof jest&&(it("Test default size",async function(){const e=t.render(r.jsx(s.MeterCircle,{value:5})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Default size is correct").to.be.equal("196px"),n.expect(window.getComputedStyle(e).getPropertyValue("width"),"Default size is correct").to.be.equal("196px")}),it('Test "size = large"',async function(){const e=t.render(r.jsx(s.MeterCircle,{value:5,size:"lg"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Large size is correct").to.be.equal("196px"),n.expect(window.getComputedStyle(e).getPropertyValue("width"),"Large size is correct").to.be.equal("196px")}),it('Test "size = medium"',async function(){const e=t.render(r.jsx(s.MeterCircle,{value:20,size:"md"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Medium size is correct").to.be.equal("96px"),n.expect(window.getComputedStyle(e).getPropertyValue("width"),"Medium size is correct").to.be.equal("96px")}),it('Test "size = small"',async function(){const e=t.render(r.jsx(s.MeterCircle,{value:20,size:"sm"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Small size is correct").to.be.equal("56px"),n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Small size is correct").to.be.equal("56px")}))}),describe('Test "Track" attribute of Meter Circle ',()=>{"undefined"==typeof jest&&(it("Test default track of Meter Circle",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.firstElementChild;n.expect(i.style.backgroundColor).equals("")}),it("Test Track not present in Meter Circle when isTrackRendered is set to false",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20,isTrackRendered:!1,trackColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.firstElementChild;n.expect(i.style.borderColor).equals("transparent")}),it("Test isTrackRendered and traclColor attribute with value as true in Meter Circle",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20,isTrackRendered:!0,trackColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.firstElementChild;n.expect(i.style.borderColor).equals("red")}))}),describe('Test "indicatorSize" and indicatorColor attribute of Meter Circle ',()=>{"undefined"==typeof jest&&(it("Test default indicatorSize of Meter Circle",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(window.getComputedStyle(i).getPropertyValue("height"),"height").to.be.equal("196px")}),it("Test indicatorSize of Meter Circle",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20,indicatorSize:.5})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(i.style.height).contains("0.5")}),it("Test default indicatorColor of Meter Circle",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(i.style.borderColor).equals("")}),it("Test indicatorColor of Meter Circle",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20,indicatorColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(i.style.borderColor).equals("red")}))}),describe("Test angleExtent,startAngle, center content, innerBound and OuterBound property of Meter Circle ",()=>{"undefined"==typeof jest&&(it("Test for Right Half semi Meter Circle ",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:12,angleExtent:180})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.firstElementChild;n.expect(window.getComputedStyle(i).getPropertyValue("height"),"Height of semi circle").to.be.equal("196px"),n.expect(window.getComputedStyle(i).getPropertyValue("width"),"Width of semi circle").to.be.equal("98px")}),it("Test for Top Half semi Meter Circle ",async function(){var e;const l=null===(e=t.render(r.jsx(s.MeterCircle,{value:12,angleExtent:180,startAngle:180})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(window.getComputedStyle(l).getPropertyValue("height"),"Height of semi circle").to.be.equal("98px"),n.expect(window.getComputedStyle(l).getPropertyValue("width"),"Width of semi circle").to.be.equal("196px")}),it("Test for Bottom Half semi Meter Circle ",async function(){var e;const l=null===(e=t.render(r.jsx(s.MeterCircle,{value:12,angleExtent:180,startAngle:0})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(window.getComputedStyle(l).getPropertyValue("height"),"Height of semi circle").to.be.equal("98px"),n.expect(window.getComputedStyle(l).getPropertyValue("width"),"Width of semi circle").to.be.equal("196px")}),it("Test for Left Half semi Meter Circle ",async function(){var e;const l=null===(e=t.render(r.jsx(s.MeterCircle,{value:12,angleExtent:180,startAngle:270})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(window.getComputedStyle(l).getPropertyValue("height"),"Height of semi circle").to.be.equal("196px"),n.expect(window.getComputedStyle(l).getPropertyValue("width"),"Width of semi circle").to.be.equal("98px")}),it("Test Center content",async function(){const e=t.render(r.jsx(s.MeterCircle,Object.assign({value:20},{children:()=>r.jsx("div",{children:"Sales in USD"})}))),l=await e.findByText("Sales in USD");n.expect(l).not.null}),it("Test inner and outer bounds",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,Object.assign({value:20},{children:e=>r.jsx("div",Object.assign({id:"centerContentDiv","data-iBx":e.innerBounds.x,"data-iBy":e.innerBounds.y,"data-oBx":e.outerBounds.x,"data-oBy":e.outerBounds.y},{children:r.jsx("div",{children:"Sales in USD"})}))}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[2].firstChild;n.expect(Number(i.dataset.ibx)).closeTo(37,1),n.expect(Number(i.dataset.iby)).closeTo(37,1),n.expect(i.dataset.obx).equals("12"),n.expect(i.dataset.oby).equals("12")}))}),"undefined"==typeof jest&&(describe("Test to check the rendering of reference lines",()=>{it("Multiple Reference Line to check reference line color value",async()=>{var e,l,i,o;const c=t.render(r.jsx(s.MeterCircle,{value:10,referenceLines:[{value:40,color:"#3A6E96"},{value:50,color:"#3A6E96"},{value:70,color:"red"},{value:60}]})),u=null===(l=null===(e=c.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[4];n.expect(u.style.backgroundColor).equals("red");const a=null===(o=null===(i=c.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===o?void 0:o.childNodes[5];n.expect(a.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-reference-object-line-color)"),n.expect(a.style.borderBottom).equals("1px solid var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)")}),it("Multiple Reference Line to check reference line color enums",async()=>{var e,l,i,o,c,u,a,d;const b=t.render(r.jsx(s.MeterCircle,{value:10,referenceLines:[{value:40,color:"danger"},{value:50,color:"warning"},{value:70,color:"success"},{value:60}]})),v=null===(l=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[2];n.expect(v.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)");const m=null===(o=null===(i=b.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===o?void 0:o.childNodes[3];n.expect(m.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-warning)");const f=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[4];n.expect(f.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-success)");const h=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[5];n.expect(h.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-reference-object-line-color)"),n.expect(h.style.borderBottom).equals("1px solid var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)")}),it("Reference Line",async()=>{var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:10,referenceLines:[{value:40,color:"#3A6E96"}]})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(i.classList.length).equals(3)})}),describe("Test Threshold attribute of Meter Circle ",()=>{it("Test threshold color enums in Meter Circle when thresholdDisplay is set to all",async function(){var e,l,i,o,c,u;const a=t.render(r.jsx(s.MeterCircle,{value:20,thresholdDisplay:"all",thresholds:[{max:33,color:"danger"},{max:65,color:"warning"},{max:100,color:"success"}]})),d=null===(l=null===(e=a.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(d.style.borderColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)");const b=null===(o=null===(i=a.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===o?void 0:o.childNodes[2];n.expect(b.style.borderColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-warning)");const v=null===(u=null===(c=a.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[3];n.expect(v.style.borderColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-success)")}),it("Test threshold color enums in Meter Circle when thresholdDisplay is set to track",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20,thresholdDisplay:"track",thresholds:[{max:33,color:"danger"},{max:65,color:"warning"},{max:100,color:"success"}]})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(i.style.borderColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)")}),it("Test threshold color enums in Meter Circle when thresholdDisplay is set to indicator",async function(){var e,l;const i=null===(l=null===(e=t.render(r.jsx(s.MeterCircle,{value:20,thresholdDisplay:"indicator",thresholds:[{max:33,color:"danger"},{max:65,color:"warning"},{max:100,color:"success"}]})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[1];n.expect(i.style.borderColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)")})})),describe("Mouse Interaction",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(L),it("check default datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:30})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;H.default.hover(n),await t.waitFor(()=>_("30"),{timeout:L})},L),it("check datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:30,datatip:z})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;H.default.hover(n),await t.waitFor(()=>_(z),{timeout:L})},L),it("check datatip when set to null, correctly triggered with mouse interaction",async()=>{var e;const l=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:30,datatip:null})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;H.default.hover(l),await t.waitFor(()=>{const e=document.querySelectorAll('[role="tooltip"]');n.expect(e.length).equals(0)},{timeout:L})}),it("check onCommit event is correctly triggered with mouse interaction",async()=>{var e;const l={clicked:!1},o=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:20,onCommit:e=>{null!=e.value&&(l.clicked=!0)}})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;t.fireEvent.pointerUp(o),await t.waitFor(()=>n.expect(l.clicked).equals(!0))}))}),describe("Mouse Interaction in RTL mode",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(L),it("check default datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:30})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;H.default.hover(n),await t.waitFor(()=>_("30"),{timeout:L})},L),it("check datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:30,datatip:z})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;H.default.hover(n),await t.waitFor(()=>_(z),{timeout:L})},L),it("check datatip when set to null, correctly triggered with mouse interaction",async()=>{var e;const l=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:30,datatip:null})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;H.default.hover(l),await t.waitFor(()=>{const e=document.querySelectorAll('[role="tooltip"]');n.expect(e.length).equals(0)},{timeout:L})}),it("check onCommit event is correctly triggered with mouse interaction",async()=>{var e;const l={clicked:!1},o=null===(e=t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:20,onCommit:e=>{null!=e.value&&(l.clicked=!0)}})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;t.fireEvent.pointerUp(o),await t.waitFor(()=>n.expect(l.clicked).equals(!0))}))}),describe("Keyboard Interaction",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(L),it("check default datatip correctly triggered with keyboard interaction",async()=>{t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:30})})),H.default.tab(),await t.waitFor(()=>_("30"),{timeout:L})},L),it("check datatip correctly triggered with keyboard interaction",async()=>{t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:30,datatip:z})})),H.default.tab(),await t.waitFor(()=>_(z),{timeout:L})},L),it("check onInput event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:20,onInput:r=>{null!=r.value&&(e.called=!0)}})})),H.default.tab(),await t.waitFor(()=>n.expect(e.called).equals(!0))}),it("check onInput is correctly triggered with HOME key by keyboard interaction ",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:e,onInput:r=>{e=r.value}})})),H.default.tab(),H.default.keyboard("[HOME]"),await t.waitFor(()=>n.expect(e).equals(0))}),it("check onInput is correctly triggered with END key by keyboard interaction ",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:e,onInput:r=>{e=r.value}})})),H.default.tab(),H.default.keyboard("[END]"),await t.waitFor(()=>n.expect(e).equals(100))}),it("check onCommit event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{value:20,onCommit:r=>{null!=r.value&&(e.called=!0)}})})),H.default.tab(),H.default.keyboard("[ENTER]"),await t.waitFor(()=>n.expect(e.called).equals(!0))}),it("check step is correctly triggered using down arrow key with keyboard interaction",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{step:.5,value:e,onInput:r=>{e=r.value}})})),H.default.tab(),H.default.keyboard("[ARROWDOWN]"),await t.waitFor(()=>n.expect(e).equals(1.5))}),it("check step is correctly triggered using right arrow key with keyboard interaction",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{step:.5,value:e,onInput:r=>{e=r.value}})})),H.default.tab(),H.default.keyboard("[ARROWRIGHT]"),await t.waitFor(()=>n.expect(e).equals(2.5))}),it("check step is correctly triggered using up arrow key with keyboard interaction",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{step:.5,value:e,onInput:r=>{e=r.value}})})),H.default.tab(),H.default.keyboard("[ARROWUP]"),await t.waitFor(()=>n.expect(e).equals(2.5))}),it("check step is correctly triggered using left arrow key with keyboard interaction",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,{children:r.jsx(s.MeterCircle,{step:.5,value:e,onInput:r=>{e=r.value}})})),H.default.tab(),H.default.keyboard("[ARROWLEFT]"),await t.waitFor(()=>n.expect(e).equals(1.5))}))}),describe("Keyboard Interaction in RTL mode",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(L),it("check default datatip correctly triggered with keyboard interaction",async()=>{t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:30})}))),H.default.tab(),await t.waitFor(()=>_("30"),{timeout:L})},L),it("check datatip correctly triggered with keyboard interaction",async()=>{t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:30,datatip:z})}))),H.default.tab(),await t.waitFor(()=>_(z),{timeout:L})},L),it("check onInput event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:20,onInput:r=>{null!=r.value&&(e.called=!0)}})}))),H.default.tab(),await t.waitFor(()=>n.expect(e.called).equals(!0))}),it("check onInput is correctly triggered with HOME key by keyboard interaction ",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:e,onInput:r=>{e=r.value}})}))),H.default.tab(),H.default.keyboard("[HOME]"),await t.waitFor(()=>n.expect(e).equals(0))}),it("check onInput is correctly triggered with END key by keyboard interaction ",async()=>{let e=2;t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:e,onInput:r=>{e=r.value}})}))),H.default.tab(),H.default.keyboard("[END]"),await t.waitFor(()=>n.expect(e).equals(100))}),it("check onCommit event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};t.render(r.jsx(i.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:r.jsx(s.MeterCircle,{value:20,onCommit:r=>{null!=r.value&&(e.called=!0)}})}))),H.default.tab(),H.default.keyboard("[ENTER]"),await t.waitFor(()=>n.expect(e.called).equals(!0))}))});const _=e=>{var r;const t=document.querySelectorAll('[role="tooltip"]').item(0),s=null==t?void 0:t.firstElementChild;n.expect(null==s?void 0:s.style.opacity).not.equals(""),n.expect(null==s?void 0:s.style.opacity).not.equals("0"),n.expect(null==s?void 0:s.style.maxHeight).not.equals(""),n.expect(null==s?void 0:s.style.maxHeight).not.equals("0");const l=null===(r=null==s?void 0:s.firstElementChild)||void 0===r?void 0:r.innerHTML;n.expect(l).equals(e)}});
|
|
2
2
|
//# sourceMappingURL=MeterCircle.spec.js.map
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
5
|
-
.
|
|
6
|
-
.
|
|
7
|
-
.
|
|
8
|
-
.
|
|
9
|
-
.
|
|
10
|
-
.
|
|
11
|
-
.
|
|
12
|
-
.
|
|
13
|
-
.
|
|
14
|
-
.
|
|
15
|
-
.
|
|
16
|
-
.
|
|
17
|
-
.
|
|
18
|
-
.
|
|
19
|
-
.
|
|
20
|
-
.
|
|
21
|
-
.
|
|
22
|
-
.
|
|
23
|
-
.
|
|
24
|
-
.
|
|
25
|
-
.
|
|
26
|
-
.
|
|
27
|
-
.
|
|
28
|
-
.
|
|
29
|
-
.
|
|
30
|
-
.
|
|
31
|
-
.
|
|
32
|
-
.
|
|
33
|
-
.
|
|
34
|
-
.
|
|
35
|
-
.
|
|
36
|
-
.
|
|
37
|
-
.
|
|
38
|
-
.
|
|
39
|
-
.
|
|
40
|
-
.
|
|
41
|
-
.
|
|
42
|
-
.
|
|
43
|
-
.
|
|
44
|
-
.
|
|
45
|
-
.
|
|
1
|
+
._17f45ll{display:inline-block;pointer-events:none;}
|
|
2
|
+
._1swmlya{touch-action:none;}._1swmlya:focus-visible{outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-style:dotted;outline-width:1px;}
|
|
3
|
+
._1xtplsm{border-radius:50%;}
|
|
4
|
+
._18tzhmb{border-radius:50% 50% 0 0 / 100% 100% 0 0;border-bottom:0;}
|
|
5
|
+
._39lw10{border-radius:0% 0% 50% 50% / 0% 0% 100% 100%;border-top:0;}
|
|
6
|
+
.uwhv7n{border-radius:0 100% 100% 0 / 0% 50% 50% 0%;border-left:0;}
|
|
7
|
+
._1h7mtsm{border-radius:100% 0 0 100% / 50% 0 0 50%;border-right:0;}
|
|
8
|
+
.xqzsek{margin:1rem 1rem 0 1rem;}
|
|
9
|
+
._1o4t52d{margin:0.75rem 0.75rem 0 0.75rem;}
|
|
10
|
+
._13skp7{margin:0.5rem 0.5rem 0 0.5rem;}
|
|
11
|
+
._10ny632{margin:0 1rem 1rem 1rem;}
|
|
12
|
+
._1m2s87g{margin:0 0.75rem 0.75rem 0.75rem;}
|
|
13
|
+
.gzhend{margin:0 0.5rem 0.5rem 0.5rem;}
|
|
14
|
+
.z8590u{margin:1rem 0 1rem 1rem;}
|
|
15
|
+
.p21jrl{margin:0.75rem 0 0.75rem 0.75rem;}
|
|
16
|
+
.xmvqtd{margin:0.5rem 0 0.5rem 0.5rem;}
|
|
17
|
+
._5w4nnd{margin:1rem 1rem 1rem 0;}
|
|
18
|
+
.yhqv40{margin:0.75rem 0.75rem 0.75rem 0;}
|
|
19
|
+
.g4ge4q{margin:0.5rem 0.5rem 0.5rem 0;}
|
|
20
|
+
.wxzr8y{margin:1rem;}
|
|
21
|
+
._19cngwa{margin:0.75rem;}
|
|
22
|
+
._37oon3{margin:0.5rem;}
|
|
23
|
+
.d8d5cs{height:calc(var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-lg-size) / 2 );width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-lg-size);}
|
|
24
|
+
._1rpb27z{width:calc(var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-lg-size) / 2 );height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-lg-size);}
|
|
25
|
+
.p6ojx7{height:calc(var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-sm-size) / 2 );width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-sm-size);}
|
|
26
|
+
.zuat60{width:calc(var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-sm-size) / 2 );height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-sm-size);}
|
|
27
|
+
.ml9dwg{height:calc(var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-md-size) / 2 );width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-md-size);}
|
|
28
|
+
._1erz14g{width:calc(var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-md-size) / 2 );height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-md-size);}
|
|
29
|
+
._1j60epq{width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-sm-size);height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-sm-size);}
|
|
30
|
+
._110zqrs{width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-md-size);height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-md-size);}
|
|
31
|
+
._1gqacsi{width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-lg-size);height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-circle-lg-size);}
|
|
32
|
+
.y80xe8{pointer-events:none;width:100%;height:100%;line-height:initial;}
|
|
33
|
+
._1jyrsnn{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-threshold-color);}
|
|
34
|
+
.u2wlpd > *{margin-top:0 !important;margin-bottom:0 !important;margin-left:0 !important;margin-right:0 !important;}
|
|
35
|
+
._1ndkwl9{position:relative;box-sizing:border-box;cursor:pointer;pointer-events:auto;}
|
|
36
|
+
.xm1s8i{width:100%;height:100%;position:absolute;border-style:solid;box-sizing:border-box;pointer-events:none;border-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-track-bg-color);}
|
|
37
|
+
.k55nxz{border-width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-sm-track-size);}
|
|
38
|
+
._4avr3t{border-width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-md-track-size);}
|
|
39
|
+
.ukm1e6{border-width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-lg-track-size);}
|
|
40
|
+
._1irgqn7{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-value-bg-color);border-style:solid;box-sizing:border-box;position:absolute;pointer-events:none;}
|
|
41
|
+
._1u5xvgn{border-radius:50%;top:50%;left:50%;translate:-50% -50%;}
|
|
42
|
+
.sytdhv{top:100%;left:50%;translate:-50% -100%;}
|
|
43
|
+
._1q9k4lk{top:50%;translate:0 -50%;}
|
|
44
|
+
.fzvmzw{left:100%;top:50%;translate:-100% -50%;}
|
|
45
|
+
.c3ijz0{left:50%;translate:-50% 0;}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
.r923up{height:2px;position:absolute;transform-origin:0 50%;background-clip:padding-box;}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./MeterCircle-
|
|
1
|
+
define(["exports","./MeterCircle-335eb864","./tslib.es6-db9b6ac2","preact/jsx-runtime","./hooks/UNSAFE_useUser","preact/hooks","./UNSAFE_Environment","preact","./UNSAFE_Layer","preact/compat","css!./UNSAFE_MeterCircle.css","./utils/UNSAFE_mergeProps","./utils/UNSAFE_classNames","./classNames-e7b3a8a5","./PRIVATE_Meter","./utils/PRIVATE_meterUtils","./utils/UNSAFE_dvtCommonUtils","./hooks/PRIVATE_useDvtMeterEvents","./hooks/UNSAFE_useTooltip","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-eefb778f","./index-aca0a20d","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./utils/UNSAFE_arrayUtils","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-032c3574","./hooks/UNSAFE_useTabbableMode"],function(e,s,o,t,i,a,l,r,u,A,E,_,U,F,c,n,N,S,h,k,m,b,d,p,T,f,M,P,g,v,I,C,R,V){"use strict";e.MeterCircle=s.MeterCircle,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_MeterCircle.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["preact/jsx-runtime","preact","preact/hooks","@testing-library/preact","chai","../../UNSAFE_Layer","../../Modal-
|
|
1
|
+
define(["preact/jsx-runtime","preact","preact/hooks","@testing-library/preact","chai","../../UNSAFE_Layer","../../Modal-eaab2932","preact/compat","../../useModal-57dbe5e1","../../UNSAFE_FocusTrap","../../FocusTrap-95e35ab9","../../utils/UNSAFE_classNames","../../classNames-e7b3a8a5","css!./../../UNSAFE_Modal.css","../../utils/PRIVATE_tabbableUtils","../../_curry1-0511449d","../../_curry2-e2b86cd0","../../_curry3-2a7dcff9"],function(e,t,s,n,c,a,i,o,r,u,l,d,x,m,p,b,f,j){"use strict";const g=({submitButtonRef:s})=>e.jsxs(t.Fragment,{children:[e.jsx("input",{id:"inside_input"}),e.jsx("button",Object.assign({id:"inside_cancel"},{children:"Cancel"})),e.jsx("button",Object.assign({id:"inside_submit",ref:s},{children:"Submit"}))]}),y=({autoFocusTest:t=!1,isOpen:n=!0,restoreFocusTest:c=!1})=>{const o=s.useRef(null),r=s.useRef(null);let u,l;return t&&(u=o),c&&(l=r),e.jsxs(a.LayerManager,{children:[e.jsx("button",{children:"Preceding Button"}),e.jsx(i.Modal,Object.assign({autoFocusRef:u,isOpen:n,restoreFocusRef:l},{children:e.jsx(g,{submitButtonRef:o})})),e.jsx("button",Object.assign({ref:r},{children:"Following Button"}))]})};describe("Test Modal component",()=>{beforeEach(()=>{Object.defineProperty(HTMLElement.prototype,"offsetParent",{get(){return this.parentNode}})}),it("renders and sets default focus on first tabbable item",async()=>{const{getByRole:t}=n.render(e.jsx(y,{})),s=t("textbox");await n.waitFor(()=>{c.expect(document.activeElement).equals(s)})}),it("renders and sets initial focus to specified element",async()=>{const{getByText:t}=n.render(e.jsx(y,{autoFocusTest:!0})),s=t("Submit");await n.waitFor(()=>{c.expect(document.activeElement).equals(s)})}),it("unmounts and resets focus to original element",async()=>{const{getByRole:t,getByText:s,rerender:a}=n.render(e.jsx(y,{isOpen:!1})),i=s("Preceding Button");i.focus(),c.expect(document.activeElement).equals(i),a(e.jsx(y,{isOpen:!0}));const o=t("textbox");c.expect(document.activeElement).equals(o),a(e.jsx(y,{isOpen:!1})),await n.waitFor(()=>{c.expect(document.activeElement).equals(i)})}),it("unmounts and resets focus to specified element",async()=>{const{getByRole:t,getByText:s,rerender:a}=n.render(e.jsx(y,{isOpen:!1})),i=s("Preceding Button"),o=s("Following Button");i.focus(),c.expect(document.activeElement).equals(i),a(e.jsx(y,{isOpen:!0,restoreFocusTest:!0}));const r=t("textbox");c.expect(document.activeElement).equals(r),a(e.jsx(y,{isOpen:!1})),await n.waitFor(()=>{c.expect(document.activeElement).equals(o)})})})});
|
|
2
2
|
//# sourceMappingURL=Modal.spec.js.map
|
package/amd/UNSAFE_Modal.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.
|
|
1
|
+
._17x5dts{position:fixed;top:0;right:0;bottom:0;left:0;}
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
._1xhoa9u{position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5);}
|
|
4
4
|
|
|
5
|
-
.
|
|
5
|
+
._1mdu95y{position:absolute;inset:0;background-color:transparent;height:100%;margin:0 auto;max-width:calc(100% - 0.01px) !important;display:flex;align-items:center;justify-content:center;}
|
package/amd/UNSAFE_Modal.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./Modal-
|
|
1
|
+
define(["exports","./Modal-eaab2932","preact/jsx-runtime","./useModal-57dbe5e1","preact/compat","./UNSAFE_FocusTrap","./FocusTrap-95e35ab9","preact","./utils/UNSAFE_classNames","./classNames-e7b3a8a5","css!./UNSAFE_Modal.css","./utils/PRIVATE_tabbableUtils","./_curry1-0511449d","./_curry2-e2b86cd0","./_curry3-2a7dcff9","./UNSAFE_Layer"],function(a,e,r,s,c,t,l,u,d,o,i,b,_,p,n,f){"use strict";a.Modal=e.Modal,Object.defineProperty(a,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_Modal.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["require","preact/jsx-runtime","@testing-library/preact","chai","@testing-library/user-event","../../NumberInputText-622663be","preact/hooks","../../hooks/UNSAFE_useFormContext","../../UNSAFE_Environment","../../utils/UNSAFE_matchTranslationBundle","preact","preact/compat","../../hooks/UNSAFE_useFocusableTextField","../../tslib.es6-0fac987a","../../hooks/UNSAFE_useFocusWithin","../../useFocusWithin-01b546f3","../../hooks/UNSAFE_useFormFieldContext","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useTextField","../../hooks/UNSAFE_useId","../../UNSAFE_Label","../../utils/UNSAFE_classNames","../../classNames-9f2df6c4",'module',"../../hooks/UNSAFE_usePrefixSuffix","../../UNSAFE_PrefixSuffix","../../hooks/UNSAFE_useUser","../../UNSAFE_Layer","../../UNSAFE_TextField","../../ReadonlyTextFieldInput-08ab0ea7","../../hooks/UNSAFE_useTabbableMode","../../utils/UNSAFE_interpolations/text","../../keys-9ae55384","../../_curry1-2c0bf2eb","../../_has-98de25f8","../../utils/UNSAFE_mergeInterpolations","../../_curry3-5c6c2ca8","../../_curry2-d53405cf","../../FormControlUtils-4c94fe4f","../../hooks/UNSAFE_useTranslationBundle","../../UNSAFE_LabelValueLayout","../../UNSAFE_Flex","../../Flex-d94a9e7a","../../utils/UNSAFE_interpolations/dimensions","../../utils/UNSAFE_arrayUtils","../../utils/UNSAFE_size","../../utils/UNSAFE_interpolations/boxalignment","../../utils/UNSAFE_interpolations/flexbox","../../flexbox-9afecbce","../../utils/UNSAFE_interpolations/flexitem","../../flexitem-b7033294","../../TextFieldInput-d78415e5","../../hooks/UNSAFE_useTextFieldInputHandlers","../../utils/PRIVATE_clientHints","../../clientHints-ea4a2145","../../hooks/UNSAFE_useDebounce","../../UNSAFE_LiveRegion","../../UNSAFE_UserAssistance","../../InlineHelpSource-17f433d3","../../UNSAFE_ComponentMessage","../../ComponentMessage-3771e70b","../../PRIVATE_Message","../../utils/PRIVATE_timer","../../MessageCloseButton-339dcb55","../../UNSAFE_Button","../../Button-486f7bf6","../../UNSAFE_BaseButton","../../BaseButton-7368669e","../../hooks/UNSAFE_usePress","../../hooks/UNSAFE_useActive","../../utils/UNSAFE_mergeProps","../../index-e59c0b16","../../index-da6b9fc1","../../UNSAFE_Icon","../../Icon-b570ea5c","../../hooks/UNSAFE_useTooltip","../../UNSAFE_Floating","../../Floating-0e5818f5","../../index-caf35c9c","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-c26817c3","../../hooks/UNSAFE_useTheme","../../MessageDetail-d15f2535","../../MessageFormattingUtils-780763be","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-1bb1b209","../../Message.types-36d928ab","../../MessageStartIcon-4534c4aa","../../MessageSummary-ab8fab08","../../MessageTimestamp-f0035736","../../MessageUtils-6700ca55","../../utils/UNSAFE_logger","../../utils/UNSAFE_soundUtils","../../MessagesManager-13ea8c26","../../PRIVATE_TransitionGroup","../../hooks/UNSAFE_useMessagesContext","../../UNSAFE_HiddenAccessible","../../HiddenAccessible-e894a517","../../ComponentMessageContainer-273c3aeb","../../UNSAFE_Grid","../../utils/UNSAFE_interpolations/grid","../../hooks/UNSAFE_useCurrentValueReducer"],function(e,n,t,s,r,u,o,l,a,i,c,d,b,p,x,m,f,v,h,S,g,A,N,w,E,y,F,U,P,T,I,_,k,j,q,R,C,V,D,M,O,B,W,H,L,z,X,$,G,J,K,Q,Y,Z,ee,ne,te,se,re,ue,oe,le,ae,ie,ce,de,be,pe,xe,me,fe,ve,he,Se,ge,Ae,Ne,we,Ee,ye,Fe,Ue,Pe,Te,Ie,_e,ke,je,qe,Re,Ce,Ve,De,Me,Oe,Be,We,He,Le,ze,Xe,$e,Ge,Je,Ke,Qe,Ye,Ze,en){"use strict";function nn(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var tn=nn(r);u.NumberInputText;const sn=({assistiveText:e,helpSourceLink:t,helpSourceText:s,isDisabled:r,isReadonly:l,isRequired:a,label:i,labelEdge:c,messages:d,placeholder:b,prefix:p,suffix:x,textAlign:m,userAssistanceDensity:f,value:v,variant:h})=>{const[S,g]=o.useState(null!=v?v:""),A=o.useCallback(e=>{var n;S!==e.value&&g(null!==(n=e.value)&&void 0!==n?n:"")},[S]),[N,w]=o.useState(null!=v?v:""),E=o.useCallback(e=>{var n;N!==e.value&&w(null!==(n=e.value)&&void 0!==n?n:"")},[N]),y=""===N?void 0:+N;return n.jsx(u.NumberInputText,{ariaValueNow:y,ariaValueText:N,assistiveText:e,helpSourceLink:t,helpSourceText:s,isDisabled:r,isReadonly:l,isRequired:a,isRequiredShown:a&&""===N,label:i,labelEdge:c,messages:d,onCommit:E,onInput:A,placeholder:b,prefix:p,suffix:x,textAlign:m,userAssistanceDensity:f,value:S,variant:h})},rn=e=>n.jsx("div",Object.assign({style:{backgroundColor:"aliceblue",border:"yellow dotted 2px",boxSizing:"border-box",color:"orangered",height:"80px",minWidth:"6em",textAlign:"right",width:"25em"}},{children:n.jsx(sn,Object.assign({label:"Input Number"},e))}));rn.args={isDisabled:!1,isReadonly:!1,labelEdge:"none",placeholder:"Enter value",textAlign:void 0,variant:"embedded"},rn.parameters={controls:{include:[...Object.keys(rn.args)]}};const un=()=>{const e=e=>parseInt(e.replace(/[^\d]+/gi,"")),t=10,s=100,[r,l]=o.useState("10"),a=o.useCallback(e=>{var n;r!==e.value&&l(null!==(n=e.value)&&void 0!==n?n:"")},[r]),[i,c]=o.useState(10),d=o.useCallback(n=>{var t;const s=e(null!==(t=n.value)&&void 0!==t?t:""),u=Number.isNaN(s)?"":s.toString();r!==u&&l(u),i!==s&&c(s)},[r,i]),b=o.useCallback(n=>{l(r=>{const u=((e,n)=>{if(Number.isNaN(e))return t;const r=e%5;let u;return u=0!==r?"increase"===n?e+(5-r):e-r:"increase"===n?e+5:e-5,u>s?s:u<t?t:u})(e(r),n.direction);return c(u),u.toString()})},[]),p=NaN!==i?i>s?[{severity:"error",detail:"Enter 100 or a lower number."}]:i<t?[{severity:"error",detail:"Enter 10 or a higher number."}]:[]:[],x=Number.isNaN(i)?void 0:i,m=Number.isNaN(i)?void 0:i.toString();return n.jsxs(n.Fragment,{children:[n.jsx("h4",{children:"Step Buttons"}),n.jsx(u.NumberInputText,{ariaValueMax:s,ariaValueMin:t,ariaValueNow:x,ariaValueText:m,assistiveText:"Enter a number between 10 and 100",hasSteppers:!0,isStepDownDisabled:i<=t,isStepUpDisabled:i>=s,label:"min=10, max=100, step=5",messages:p,onCommit:d,onInput:a,onSpin:b,onStep:b,value:r})]})};async function on(){const n=i.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:t}=await function(n){switch(n){case"../../resources/nls/ar/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ar/bundle"],n,t)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ar-XB/bundle"],n,t)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/bg/bundle"],n,t)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/bs/bundle"],n,t)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/bs-Cyrl/bundle"],n,t)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/cs/bundle"],n,t)});case"../../resources/nls/da/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/da/bundle"],n,t)});case"../../resources/nls/de/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/de/bundle"],n,t)});case"../../resources/nls/el/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/el/bundle"],n,t)});case"../../resources/nls/en/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/en/bundle"],n,t)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/en-XA/bundle"],n,t)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/en-XC/bundle"],n,t)});case"../../resources/nls/es/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/es/bundle"],n,t)});case"../../resources/nls/et/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/et/bundle"],n,t)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/fi/bundle"],n,t)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/fr/bundle"],n,t)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/fr-CA/bundle"],n,t)});case"../../resources/nls/he/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/he/bundle"],n,t)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/hr/bundle"],n,t)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/hu/bundle"],n,t)});case"../../resources/nls/is/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/is/bundle"],n,t)});case"../../resources/nls/it/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/it/bundle"],n,t)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ja/bundle"],n,t)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ko/bundle"],n,t)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/lt/bundle"],n,t)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/lv/bundle"],n,t)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ms/bundle"],n,t)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/nl/bundle"],n,t)});case"../../resources/nls/no/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/no/bundle"],n,t)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/pl/bundle"],n,t)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/pt/bundle"],n,t)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/pt-PT/bundle"],n,t)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ro/bundle"],n,t)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ru/bundle"],n,t)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sk/bundle"],n,t)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sl/bundle"],n,t)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sr/bundle"],n,t)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sr-Latn/bundle"],n,t)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sv/bundle"],n,t)});case"../../resources/nls/th/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/th/bundle"],n,t)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/tr/bundle"],n,t)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/uk/bundle"],n,t)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/vi/bundle"],n,t)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/zh-Hans/bundle"],n,t)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/zh-Hant/bundle"],n,t)});default:return new Promise(function(e,t){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(t.bind(null,new Error("Unknown variable dynamic import: "+n)))})}}(`../../resources/nls/${n}/bundle.ts`);return{translations:{"@oracle/oraclejet-preact":t}}}const ln=()=>{};describe("Test NumberInputText",()=>{it("Renders",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{label:"mylabel",onInput:ln})),r=e.querySelector("input");s.expect(r).not.to.be.null}),it("Does not have spinbutton role if no steppers are shown",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{label:"mylabel",onInput:ln})),r=e.querySelector("[role=spinbutton]");s.expect(r).to.be.null}),afterEach(t.cleanup)}),describe("Test NumberInputText aria-value attributes",()=>{it("Adds aria-valuemin and aria-valuemax when enabled",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{ariaValueMin:0,ariaValueMax:100,label:"min=0, max=100",onInput:ln})),r=e.querySelector("input"),o=null==r?void 0:r.getAttribute("aria-valuemin"),l=null==r?void 0:r.getAttribute("aria-valuemax");s.expect(o).to.equal("0"),s.expect(l).to.equal("100")}),it("Adds aria-valuemin and aria-valuemax when disabled",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{ariaValueMin:0,ariaValueMax:100,isDisabled:!0,label:"min=0, max=100",onInput:ln})),r=e.querySelector("input"),o=null==r?void 0:r.getAttribute("aria-valuemin"),l=null==r?void 0:r.getAttribute("aria-valuemax");s.expect(o).to.equal("0"),s.expect(l).to.equal("100")}),it("Does not add aria-valuemin and aria-valuemax when readonly",function(){const{getByText:e}=t.render(n.jsx(u.NumberInputText,{ariaValueMin:0,ariaValueMax:100,isReadonly:!0,label:"min=0, max=100",onInput:ln,value:"25"})),r=e("25"),o=r.getAttribute("aria-valuemin"),l=r.getAttribute("aria-valuemax");s.expect(o).to.be.null,s.expect(l).to.be.null}),it("Adds aria-valuenow and aria-valuetext when enabled",function(){const e="$500",{container:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,label:"min=0, max=1000",onInput:ln,value:e})),o=r.querySelector("input"),l=null==o?void 0:o.getAttribute("aria-valuenow"),a=null==o?void 0:o.getAttribute("aria-valuetext");s.expect(l).to.equal("500"),s.expect(a).to.equal(e)}),it("Adds aria-valuenow and aria-valuetext when disabled",function(){const e="$500",{container:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,isDisabled:!0,label:"min=0, max=1000",onInput:ln,value:e})),o=r.querySelector("input"),l=null==o?void 0:o.getAttribute("aria-valuenow"),a=null==o?void 0:o.getAttribute("aria-valuetext");s.expect(l).to.equal("500"),s.expect(a).to.equal(e)}),it("Does not add aria-valuenow and aria-valuetext when readonly",function(){const e="$500",{getByText:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,isReadonly:!0,label:"min=0, max=1000",onInput:ln,value:e})),o=r(e),l=o.getAttribute("aria-valuenow"),a=o.getAttribute("aria-valuetext");s.expect(l).to.be.null,s.expect(a).to.be.null}),it("Does not add aria-valuetext when it is the same as aria-valuenow",function(){const e="500",{container:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,label:"min=0, max=1000",onInput:ln,value:e})),o=r.querySelector("input"),l=null==o?void 0:o.getAttribute("aria-valuenow"),a=null==o?void 0:o.getAttribute("aria-valuetext");s.expect(l).to.equal(e),s.expect(a).to.be.null}),afterEach(t.cleanup)}),describe("Test NumberInputText steppers",()=>{let e;beforeEach(async function(){e=null!=e?e:await on()}),afterEach(t.cleanup);const r=e=>null==e?void 0:e.querySelector('button[title="Increase"]'),o=e=>null==e?void 0:e.querySelector('button[title="Decrease"]');it("If hasSteppers=true and control is enabled, steppers are present and role is spinbutton",function(){const{container:l,getByRole:i}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,label:"mylabel",onInput:ln})}))),c=i("spinbutton");s.expect(c).not.to.be.null,s.expect(null==c?void 0:c.tagName.toUpperCase()).to.equal("INPUT");const d=r(l),b=o(l);s.expect(d).not.to.be.null,s.expect(b).not.to.be.null}),it("If hasSteppers=true and control is disabled, steppers are present and role is spinbutton",function(){const{container:l,getByRole:i}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isDisabled:!0,label:"mylabel",onInput:ln})}))),c=i("spinbutton");s.expect(c).not.to.be.null,s.expect(null==c?void 0:c.tagName.toUpperCase()).to.equal("INPUT");const d=r(l),b=o(l);s.expect(d).not.to.be.null,s.expect(b).not.to.be.null}),it("If hasSteppers=true and control is readonly, no steppers or spinbutton role",function(){const{container:l}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isReadonly:!0,label:"mylabel",onInput:ln})}))),i=l.querySelector("[role=spinbutton]");s.expect(i).to.be.null;const c=r(l),d=o(l);s.expect(c).to.be.null,s.expect(d).to.be.null}),it("Step buttons are shown with correct tabindex and title",function(){const{container:l}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,label:"mylabel",onInput:ln})}))),i=r(l),c=o(l);s.expect(null==i?void 0:i.getAttribute("tabindex")).to.equal("-1"),s.expect(null==c?void 0:c.getAttribute("tabindex")).to.equal("-1"),s.expect(null==i?void 0:i.getAttribute("title")).to.equal("Increase"),s.expect(null==c?void 0:c.getAttribute("title")).to.equal("Decrease")}),it("Step buttons can be disabled",function(){const{container:l}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isStepDownDisabled:!0,isStepUpDisabled:!0,label:"mylabel",onInput:ln})}))),i=r(l),c=o(l);s.expect(i).not.to.be.null,s.expect(c).not.to.be.null;const d=null==i?void 0:i.getAttribute("disabled"),b=null==c?void 0:c.getAttribute("disabled");s.expect(d).not.to.be.null,s.expect(b).not.to.be.null}),it("If number input is disabled, the steppers are disabled",function(){const{container:l}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isDisabled:!0,label:"mylabel",onInput:ln})}))),i=r(l),c=o(l);s.expect(i).not.to.be.null,s.expect(c).not.to.be.null;const d=null==i?void 0:i.getAttribute("disabled"),b=null==c?void 0:c.getAttribute("disabled");s.expect(d).not.to.be.null,s.expect(b).not.to.be.null})}),describe("Test NumberInputText stepping functionality",()=>{let e;beforeEach(async function(){e=null!=e?e:await on()}),afterEach(t.cleanup);const r=e=>null==e?void 0:e.querySelector('button[title="Increase"]'),u=e=>null==e?void 0:e.querySelector('button[title="Decrease"]');it("Can step up/down by clicking on steppers",function(){const{container:o}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),l=r(o),i=u(o),c=o.querySelector("input");t.fireEvent.click(l),t.fireEvent.click(l),t.fireEvent.click(l),s.expect(c.value).to.equal("25"),t.fireEvent.click(i),s.expect(c.value).to.equal("20")}),it("Can step up/down by pressing the arrow keys",async function(){const{container:r}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),u=r.querySelector("input");s.expect(u).not.to.be.null,u.focus(),tn.default.keyboard("[ARROWUP]"),await t.waitFor(()=>s.expect(u.value).equals("15")),tn.default.keyboard("[ARROWDOWN]"),await t.waitFor(()=>s.expect(u.value).equals("10"))}),it("Clicking step down or pressing arrow down does nothing when disabled",async function(){const{container:r}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),o=r.querySelector("input"),l=u(r);s.expect(o).not.to.be.null,s.expect(l).not.to.be.null;t.fireEvent.click(l),s.expect(o.value).to.equal("10"),o.focus(),tn.default.keyboard("[ARROWDOWN]"),await t.waitFor(()=>s.expect(o.value).equals("10"))}),it("Clicking step up or pressing arrow up does nothing when disabled",async function(){const{container:u}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsxs(n.Fragment,{children:[n.jsx(un,{}),n.jsx("button",Object.assign({class:"testclickmebutton"},{children:"Click me"}))]})}))),o=u.querySelector("input"),l=r(u),i=u.querySelector(".testclickmebutton");s.expect(o).not.to.be.null,s.expect(l).not.to.be.null,s.expect(i).not.to.be.null;const c="100";o.focus(),o.value=c,i.focus(),s.expect(o.value).to.equal(c),t.fireEvent.click(l),s.expect(o.value).to.equal(c),o.focus(),tn.default.keyboard("[ARROWUP]"),await t.waitFor(()=>s.expect(o.value).equals(c))})}),describe("Test NumberInputText spinning functionality",()=>{let e;beforeEach(async function(){e=null!=e?e:await on()}),afterEach(t.cleanup),it("Can spin by holding down the arrow keys",async function(){const{container:r}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),u=r.querySelector("input");s.expect(u).not.to.be.null,u.focus(),tn.default.keyboard("[ARROWUP>10/]"),await t.waitFor(()=>s.expect(u.value).equals("60")),tn.default.keyboard("[ARROWDOWN>4/]"),await t.waitFor(()=>s.expect(u.value).equals("40"))})})});
|
|
1
|
+
define(["require","preact/jsx-runtime","@testing-library/preact","chai","@testing-library/user-event","../../NumberInputText-9b66ee69","preact/hooks","../../hooks/UNSAFE_useFormContext","../../UNSAFE_Environment","../../utils/UNSAFE_matchTranslationBundle","preact","preact/compat","../../hooks/UNSAFE_useFocusableTextField","../../tslib.es6-db9b6ac2","../../hooks/UNSAFE_useFocusWithin","../../useFocusWithin-f503b34e","../../hooks/UNSAFE_useFormFieldContext","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useTextField","../../hooks/UNSAFE_useId","../../UNSAFE_Label","../../utils/UNSAFE_classNames","../../classNames-e7b3a8a5",'module',"../../hooks/UNSAFE_usePrefixSuffix","../../UNSAFE_PrefixSuffix","../../hooks/UNSAFE_useUser","../../UNSAFE_Layer","../../UNSAFE_TextField","../../ReadonlyTextFieldInput-f86c3c42","../../hooks/UNSAFE_useTabbableMode","../../utils/UNSAFE_interpolations/text","../../keys-e12ae309","../../_curry1-0511449d","../../_has-a3099a21","../../utils/UNSAFE_mergeInterpolations","../../_curry3-2a7dcff9","../../_curry2-e2b86cd0","../../FormControlUtils-ac9e8cbd","../../hooks/UNSAFE_useTranslationBundle","../../UNSAFE_LabelValueLayout","../../UNSAFE_Flex","../../Flex-da4d9aef","../../utils/UNSAFE_interpolations/dimensions","../../utils/UNSAFE_arrayUtils","../../utils/UNSAFE_size","../../utils/UNSAFE_interpolations/boxalignment","../../utils/UNSAFE_interpolations/flexbox","../../flexbox-9553d7e5","../../utils/UNSAFE_interpolations/flexitem","../../flexitem-1beee224","../../TextFieldInput-12ff173d","../../hooks/UNSAFE_useTextFieldInputHandlers","../../utils/PRIVATE_clientHints","../../clientHints-f0b540bd","../../hooks/UNSAFE_useDebounce","../../UNSAFE_LiveRegion","../../UNSAFE_UserAssistance","../../InlineHelpSource-232e0c3c","../../UNSAFE_ComponentMessage","../../ComponentMessage-ce4b6b66","../../PRIVATE_Message","../../utils/PRIVATE_timer","../../MessageCloseButton-7f96b21f","../../UNSAFE_Button","../../Button-0729d51a","../../UNSAFE_BaseButton","../../BaseButton-678fe506","../../hooks/UNSAFE_usePress","../../hooks/UNSAFE_useActive","../../utils/UNSAFE_mergeProps","../../index-c858cea4","../../index-6430a462","../../UNSAFE_Icon","../../Icon-3eb9bdeb","../../hooks/UNSAFE_useTooltip","../../UNSAFE_Floating","../../Floating-eefb778f","../../index-aca0a20d","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-032c3574","../../hooks/UNSAFE_useTheme","../../MessageDetail-6be4d1f0","../../MessageFormattingUtils-4d3117dc","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-d0680e4b","../../Message.types-68b4b3c2","../../MessageStartIcon-39d799c2","../../MessageSummary-8be73e60","../../MessageTimestamp-0508a27a","../../MessageUtils-e5b4c4eb","../../utils/UNSAFE_logger","../../utils/UNSAFE_soundUtils","../../MessagesManager-a039ddb3","../../PRIVATE_TransitionGroup","../../hooks/UNSAFE_useMessagesContext","../../UNSAFE_HiddenAccessible","../../HiddenAccessible-ff276cd9","../../ComponentMessageContainer-54b9670b","../../UNSAFE_Grid","../../utils/UNSAFE_interpolations/grid","../../hooks/UNSAFE_useCurrentValueReducer"],function(e,n,t,s,r,u,o,l,i,a,c,d,b,p,x,m,f,v,h,S,g,A,N,w,E,y,F,U,P,T,I,_,k,j,q,R,C,V,D,M,O,B,W,H,L,z,X,$,G,J,K,Q,Y,Z,ee,ne,te,se,re,ue,oe,le,ie,ae,ce,de,be,pe,xe,me,fe,ve,he,Se,ge,Ae,Ne,we,Ee,ye,Fe,Ue,Pe,Te,Ie,_e,ke,je,qe,Re,Ce,Ve,De,Me,Oe,Be,We,He,Le,ze,Xe,$e,Ge,Je,Ke,Qe,Ye,Ze,en){"use strict";function nn(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var tn=nn(r);u.NumberInputText;const sn=({assistiveText:e,helpSourceLink:t,helpSourceText:s,isDisabled:r,isReadonly:l,isRequired:i,label:a,labelEdge:c,messages:d,placeholder:b,prefix:p,suffix:x,textAlign:m,userAssistanceDensity:f,value:v,variant:h})=>{const[S,g]=o.useState(null!=v?v:""),A=o.useCallback(e=>{var n;S!==e.value&&g(null!==(n=e.value)&&void 0!==n?n:"")},[S]),[N,w]=o.useState(null!=v?v:""),E=o.useCallback(e=>{var n;N!==e.value&&w(null!==(n=e.value)&&void 0!==n?n:"")},[N]),y=""===N?void 0:+N;return n.jsx(u.NumberInputText,{ariaValueNow:y,ariaValueText:N,assistiveText:e,helpSourceLink:t,helpSourceText:s,isDisabled:r,isReadonly:l,isRequired:i,isRequiredShown:i&&""===N,label:a,labelEdge:c,messages:d,onCommit:E,onInput:A,placeholder:b,prefix:p,suffix:x,textAlign:m,userAssistanceDensity:f,value:S,variant:h})},rn=e=>n.jsx("div",Object.assign({style:{backgroundColor:"aliceblue",border:"yellow dotted 2px",boxSizing:"border-box",color:"orangered",height:"80px",minWidth:"6em",textAlign:"right",width:"25em"}},{children:n.jsx(sn,Object.assign({label:"Input Number"},e))}));rn.args={isDisabled:!1,isReadonly:!1,labelEdge:"none",placeholder:"Enter value",textAlign:void 0,variant:"embedded"},rn.parameters={controls:{include:[...Object.keys(rn.args)]}};const un=()=>{const e=e=>parseInt(e.replace(/[^\d]+/gi,"")),t=10,s=100,[r,l]=o.useState("10"),i=o.useCallback(e=>{var n;r!==e.value&&l(null!==(n=e.value)&&void 0!==n?n:"")},[r]),[a,c]=o.useState(10),d=o.useCallback(n=>{var t;const s=e(null!==(t=n.value)&&void 0!==t?t:""),u=Number.isNaN(s)?"":s.toString();r!==u&&l(u),a!==s&&c(s)},[r,a]),b=o.useCallback(n=>{l(r=>{const u=((e,n)=>{if(Number.isNaN(e))return t;const r=e%5;let u;return u=0!==r?"increase"===n?e+(5-r):e-r:"increase"===n?e+5:e-5,u>s?s:u<t?t:u})(e(r),n.direction);return c(u),u.toString()})},[]),p=NaN!==a?a>s?[{severity:"error",detail:"Enter 100 or a lower number."}]:a<t?[{severity:"error",detail:"Enter 10 or a higher number."}]:[]:[],x=Number.isNaN(a)?void 0:a,m=Number.isNaN(a)?void 0:a.toString();return n.jsxs(n.Fragment,{children:[n.jsx("h4",{children:"Step Buttons"}),n.jsx(u.NumberInputText,{ariaValueMax:s,ariaValueMin:t,ariaValueNow:x,ariaValueText:m,assistiveText:"Enter a number between 10 and 100",hasSteppers:!0,isStepDownDisabled:a<=t,isStepUpDisabled:a>=s,label:"min=10, max=100, step=5",messages:p,onCommit:d,onInput:i,onSpin:b,onStep:b,value:r})]})};async function on(){const n=a.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:t}=await function(n){switch(n){case"../../resources/nls/ar/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ar/bundle"],n,t)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ar-XB/bundle"],n,t)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/bg/bundle"],n,t)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/bs/bundle"],n,t)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/bs-Cyrl/bundle"],n,t)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/cs/bundle"],n,t)});case"../../resources/nls/da/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/da/bundle"],n,t)});case"../../resources/nls/de/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/de/bundle"],n,t)});case"../../resources/nls/el/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/el/bundle"],n,t)});case"../../resources/nls/en/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/en/bundle"],n,t)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/en-XA/bundle"],n,t)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/en-XC/bundle"],n,t)});case"../../resources/nls/es/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/es/bundle"],n,t)});case"../../resources/nls/et/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/et/bundle"],n,t)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/fi/bundle"],n,t)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/fr/bundle"],n,t)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/fr-CA/bundle"],n,t)});case"../../resources/nls/he/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/he/bundle"],n,t)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/hr/bundle"],n,t)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/hu/bundle"],n,t)});case"../../resources/nls/is/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/is/bundle"],n,t)});case"../../resources/nls/it/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/it/bundle"],n,t)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ja/bundle"],n,t)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ko/bundle"],n,t)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/lt/bundle"],n,t)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/lv/bundle"],n,t)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ms/bundle"],n,t)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/nl/bundle"],n,t)});case"../../resources/nls/no/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/no/bundle"],n,t)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/pl/bundle"],n,t)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/pt/bundle"],n,t)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/pt-PT/bundle"],n,t)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ro/bundle"],n,t)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ru/bundle"],n,t)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sk/bundle"],n,t)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sl/bundle"],n,t)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sr/bundle"],n,t)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sr-Latn/bundle"],n,t)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sv/bundle"],n,t)});case"../../resources/nls/th/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/th/bundle"],n,t)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/tr/bundle"],n,t)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/uk/bundle"],n,t)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/vi/bundle"],n,t)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/zh-Hans/bundle"],n,t)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/zh-Hant/bundle"],n,t)});default:return new Promise(function(e,t){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(t.bind(null,new Error("Unknown variable dynamic import: "+n)))})}}(`../../resources/nls/${n}/bundle.ts`);return{translations:{"@oracle/oraclejet-preact":t}}}const ln=()=>{};describe("Test NumberInputText",()=>{it("Renders",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{label:"mylabel",onInput:ln})),r=e.querySelector("input");s.expect(r).not.to.be.null}),it("Does not have spinbutton role if no steppers are shown",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{label:"mylabel",onInput:ln})),r=e.querySelector("[role=spinbutton]");s.expect(r).to.be.null}),afterEach(t.cleanup)}),describe("Test NumberInputText aria-value attributes",()=>{it("Adds aria-valuemin and aria-valuemax when enabled",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{ariaValueMin:0,ariaValueMax:100,label:"min=0, max=100",onInput:ln})),r=e.querySelector("input"),o=null==r?void 0:r.getAttribute("aria-valuemin"),l=null==r?void 0:r.getAttribute("aria-valuemax");s.expect(o).to.equal("0"),s.expect(l).to.equal("100")}),it("Adds aria-valuemin and aria-valuemax when disabled",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{ariaValueMin:0,ariaValueMax:100,isDisabled:!0,label:"min=0, max=100",onInput:ln})),r=e.querySelector("input"),o=null==r?void 0:r.getAttribute("aria-valuemin"),l=null==r?void 0:r.getAttribute("aria-valuemax");s.expect(o).to.equal("0"),s.expect(l).to.equal("100")}),it("Does not add aria-valuemin and aria-valuemax when readonly",function(){const{getByText:e}=t.render(n.jsx(u.NumberInputText,{ariaValueMin:0,ariaValueMax:100,isReadonly:!0,label:"min=0, max=100",onInput:ln,value:"25"})),r=e("25"),o=r.getAttribute("aria-valuemin"),l=r.getAttribute("aria-valuemax");s.expect(o).to.be.null,s.expect(l).to.be.null}),it("Adds aria-valuenow and aria-valuetext when enabled",function(){const e="$500",{container:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,label:"min=0, max=1000",onInput:ln,value:e})),o=r.querySelector("input"),l=null==o?void 0:o.getAttribute("aria-valuenow"),i=null==o?void 0:o.getAttribute("aria-valuetext");s.expect(l).to.equal("500"),s.expect(i).to.equal(e)}),it("Adds aria-valuenow and aria-valuetext when disabled",function(){const e="$500",{container:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,isDisabled:!0,label:"min=0, max=1000",onInput:ln,value:e})),o=r.querySelector("input"),l=null==o?void 0:o.getAttribute("aria-valuenow"),i=null==o?void 0:o.getAttribute("aria-valuetext");s.expect(l).to.equal("500"),s.expect(i).to.equal(e)}),it("Does not add aria-valuenow and aria-valuetext when readonly",function(){const e="$500",{getByText:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,isReadonly:!0,label:"min=0, max=1000",onInput:ln,value:e})),o=r(e),l=o.getAttribute("aria-valuenow"),i=o.getAttribute("aria-valuetext");s.expect(l).to.be.null,s.expect(i).to.be.null}),it("Does not add aria-valuetext when it is the same as aria-valuenow",function(){const e="500",{container:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,label:"min=0, max=1000",onInput:ln,value:e})),o=r.querySelector("input"),l=null==o?void 0:o.getAttribute("aria-valuenow"),i=null==o?void 0:o.getAttribute("aria-valuetext");s.expect(l).to.equal(e),s.expect(i).to.be.null}),afterEach(t.cleanup)}),describe("Test NumberInputText steppers",()=>{let e;beforeEach(async function(){e=null!=e?e:await on()}),afterEach(t.cleanup);const r=e=>null==e?void 0:e.querySelector('button[title="Increase"]'),o=e=>null==e?void 0:e.querySelector('button[title="Decrease"]');it("If hasSteppers=true and control is enabled, steppers are present and role is spinbutton",function(){const{container:l,getByRole:a}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,label:"mylabel",onInput:ln})}))),c=a("spinbutton");s.expect(c).not.to.be.null,s.expect(null==c?void 0:c.tagName.toUpperCase()).to.equal("INPUT");const d=r(l),b=o(l);s.expect(d).not.to.be.null,s.expect(b).not.to.be.null}),it("If hasSteppers=true and control is disabled, steppers are present and role is spinbutton",function(){const{container:l,getByRole:a}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isDisabled:!0,label:"mylabel",onInput:ln})}))),c=a("spinbutton");s.expect(c).not.to.be.null,s.expect(null==c?void 0:c.tagName.toUpperCase()).to.equal("INPUT");const d=r(l),b=o(l);s.expect(d).not.to.be.null,s.expect(b).not.to.be.null}),it("If hasSteppers=true and control is readonly, no steppers or spinbutton role",function(){const{container:l}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isReadonly:!0,label:"mylabel",onInput:ln})}))),a=l.querySelector("[role=spinbutton]");s.expect(a).to.be.null;const c=r(l),d=o(l);s.expect(c).to.be.null,s.expect(d).to.be.null}),it("Step buttons are shown with correct tabindex and title",function(){const{container:l}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,label:"mylabel",onInput:ln})}))),a=r(l),c=o(l);s.expect(null==a?void 0:a.getAttribute("tabindex")).to.equal("-1"),s.expect(null==c?void 0:c.getAttribute("tabindex")).to.equal("-1"),s.expect(null==a?void 0:a.getAttribute("title")).to.equal("Increase"),s.expect(null==c?void 0:c.getAttribute("title")).to.equal("Decrease")}),it("Step buttons can be disabled",function(){const{container:l}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isStepDownDisabled:!0,isStepUpDisabled:!0,label:"mylabel",onInput:ln})}))),a=r(l),c=o(l);s.expect(a).not.to.be.null,s.expect(c).not.to.be.null;const d=null==a?void 0:a.getAttribute("disabled"),b=null==c?void 0:c.getAttribute("disabled");s.expect(d).not.to.be.null,s.expect(b).not.to.be.null}),it("If number input is disabled, the steppers are disabled",function(){const{container:l}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isDisabled:!0,label:"mylabel",onInput:ln})}))),a=r(l),c=o(l);s.expect(a).not.to.be.null,s.expect(c).not.to.be.null;const d=null==a?void 0:a.getAttribute("disabled"),b=null==c?void 0:c.getAttribute("disabled");s.expect(d).not.to.be.null,s.expect(b).not.to.be.null})}),describe("Test NumberInputText stepping functionality",()=>{let e;beforeEach(async function(){e=null!=e?e:await on()}),afterEach(t.cleanup);const r=e=>null==e?void 0:e.querySelector('button[title="Increase"]'),u=e=>null==e?void 0:e.querySelector('button[title="Decrease"]');it("Can step up/down by clicking on steppers",function(){const{container:o}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),l=r(o),a=u(o),c=o.querySelector("input");t.fireEvent.click(l),t.fireEvent.click(l),t.fireEvent.click(l),s.expect(c.value).to.equal("25"),t.fireEvent.click(a),s.expect(c.value).to.equal("20")}),it("Can step up/down by pressing the arrow keys",async function(){const{container:r}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),u=r.querySelector("input");s.expect(u).not.to.be.null,u.focus(),tn.default.keyboard("[ARROWUP]"),await t.waitFor(()=>s.expect(u.value).equals("15")),tn.default.keyboard("[ARROWDOWN]"),await t.waitFor(()=>s.expect(u.value).equals("10"))}),it("Clicking step down or pressing arrow down does nothing when disabled",async function(){const{container:r}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),o=r.querySelector("input"),l=u(r);s.expect(o).not.to.be.null,s.expect(l).not.to.be.null;t.fireEvent.click(l),s.expect(o.value).to.equal("10"),o.focus(),tn.default.keyboard("[ARROWDOWN]"),await t.waitFor(()=>s.expect(o.value).equals("10"))}),it("Clicking step up or pressing arrow up does nothing when disabled",async function(){const{container:u}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsxs(n.Fragment,{children:[n.jsx(un,{}),n.jsx("button",Object.assign({class:"testclickmebutton"},{children:"Click me"}))]})}))),o=u.querySelector("input"),l=r(u),a=u.querySelector(".testclickmebutton");s.expect(o).not.to.be.null,s.expect(l).not.to.be.null,s.expect(a).not.to.be.null;const c="100";o.focus(),o.value=c,a.focus(),s.expect(o.value).to.equal(c),t.fireEvent.click(l),s.expect(o.value).to.equal(c),o.focus(),tn.default.keyboard("[ARROWUP]"),await t.waitFor(()=>s.expect(o.value).equals(c))})}),describe("Test NumberInputText spinning functionality",()=>{let e;beforeEach(async function(){e=null!=e?e:await on()}),afterEach(t.cleanup),it("Can spin by holding down the arrow keys",async function(){const{container:r}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),u=r.querySelector("input");s.expect(u).not.to.be.null,u.focus(),tn.default.keyboard("[ARROWUP>10/]"),await t.waitFor(()=>s.expect(u.value).equals("60")),tn.default.keyboard("[ARROWDOWN>4/]"),await t.waitFor(()=>s.expect(u.value).equals("40"))})})});
|
|
2
2
|
//# sourceMappingURL=NumberInputText.spec.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./NumberInputText-
|
|
1
|
+
define(["exports","./NumberInputText-9b66ee69","preact/jsx-runtime","preact","preact/compat","preact/hooks","./hooks/UNSAFE_useFocusableTextField","./tslib.es6-db9b6ac2","./hooks/UNSAFE_useFocusWithin","./useFocusWithin-f503b34e","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useTextField","./hooks/UNSAFE_useId","./UNSAFE_Label","./utils/UNSAFE_classNames","./classNames-e7b3a8a5",'module',"./hooks/UNSAFE_usePrefixSuffix","./UNSAFE_PrefixSuffix","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./UNSAFE_TextField","./ReadonlyTextFieldInput-f86c3c42","./hooks/UNSAFE_useTabbableMode","./utils/UNSAFE_interpolations/text","./keys-e12ae309","./_curry1-0511449d","./_has-a3099a21","./utils/UNSAFE_mergeInterpolations","./_curry3-2a7dcff9","./_curry2-e2b86cd0","./FormControlUtils-ac9e8cbd","./hooks/UNSAFE_useTranslationBundle","./UNSAFE_LabelValueLayout","./UNSAFE_Flex","./Flex-da4d9aef","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./utils/UNSAFE_interpolations/boxalignment","./utils/UNSAFE_interpolations/flexbox","./flexbox-9553d7e5","./utils/UNSAFE_interpolations/flexitem","./flexitem-1beee224","./TextFieldInput-12ff173d","./hooks/UNSAFE_useTextFieldInputHandlers","./utils/PRIVATE_clientHints","./clientHints-f0b540bd","./hooks/UNSAFE_useDebounce","./UNSAFE_LiveRegion","./UNSAFE_UserAssistance","./InlineHelpSource-232e0c3c","./UNSAFE_ComponentMessage","./ComponentMessage-ce4b6b66","./PRIVATE_Message","./utils/PRIVATE_timer","./MessageCloseButton-7f96b21f","./UNSAFE_Button","./Button-0729d51a","./UNSAFE_BaseButton","./BaseButton-678fe506","./hooks/UNSAFE_usePress","./hooks/UNSAFE_useActive","./utils/UNSAFE_mergeProps","./index-c858cea4","./index-6430a462","./UNSAFE_Icon","./Icon-3eb9bdeb","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-eefb778f","./index-aca0a20d","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-032c3574","./hooks/UNSAFE_useTheme","./MessageDetail-6be4d1f0","./MessageFormattingUtils-4d3117dc","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-d0680e4b","./Message.types-68b4b3c2","./MessageStartIcon-39d799c2","./MessageSummary-8be73e60","./MessageTimestamp-0508a27a","./MessageUtils-e5b4c4eb","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./MessagesManager-a039ddb3","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useMessagesContext","./UNSAFE_HiddenAccessible","./HiddenAccessible-ff276cd9","./ComponentMessageContainer-54b9670b","./UNSAFE_Grid","./utils/UNSAFE_interpolations/grid","./hooks/UNSAFE_useCurrentValueReducer"],function(e,s,t,o,i,n,a,u,l,F,A,_,U,r,E,N,S,c,d,b,f,g,x,h,m,p,k,T,I,M,y,C,P,R,B,V,H,L,v,j,D,G,O,W,z,q,w,J,K,Q,X,Y,Z,$,ee,se,te,oe,ie,ne,ae,ue,le,Fe,Ae,_e,Ue,re,Ee,Ne,Se,ce,de,be,fe,ge,xe,he,me,pe,ke,Te,Ie,Me,ye,Ce,Pe,Re,Be,Ve,He,Le,ve,je,De,Ge,Oe,We,ze,qe,we,Je,Ke,Qe,Xe){"use strict";e.NumberInputText=s.NumberInputText,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_NumberInputText.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
5
|
-
.
|
|
6
|
-
.
|
|
7
|
-
.
|
|
8
|
-
.
|
|
1
|
+
._1j3c0jh{display:flex;align-items:center;white-space:nowrap;box-sizing:border-box;font-family:inherit;line-height:inherit;font-weight:inherit;font-size:100%;border:0;background-color:transparent;color:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color);}
|
|
2
|
+
.ueuyan{opacity:.45;}
|
|
3
|
+
._2f8psb{color:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color-disabled);}
|
|
4
|
+
.lk88sm{min-height:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-height);padding-top:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-padding-top);}
|
|
5
|
+
._1brnpsm{padding-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding);}
|
|
6
|
+
._6yn7d0{padding-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding);}
|
|
7
|
+
.gf2mro{padding-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding);}
|
|
8
|
+
.d0i5n9{padding-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding);}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","preact/jsx-runtime","css!./UNSAFE_PrefixSuffix.css","./utils/UNSAFE_classNames","./classNames-
|
|
1
|
+
define(["exports","preact/jsx-runtime","css!./UNSAFE_PrefixSuffix.css","./utils/UNSAFE_classNames","./classNames-e7b3a8a5"],function(s,e,i,n,a){"use strict";s.PrefixSuffix=function({hasEndContent:s,hasInsideLabel:i,hasStartContent:n,id:t,isDisabled:r,isFocused:c,text:f,variant:d}){const u="_1j3c0jh",l="ueuyan",x="_2f8psb",o="lk88sm",p="_1brnpsm",b="_6yn7d0",j="gf2mro",m="d0i5n9",_=a.classNames([u,"suffix"===d&&s&&b,i&&o,"prefix"===d&&n&&p,c&&l,r&&x,"prefix"===d&&!n&&j,"suffix"===d&&!s&&m]);return e.jsx("div",Object.assign({class:_,id:t},{children:e.jsx("span",{children:f})}))},Object.defineProperty(s,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_PrefixSuffix.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UNSAFE_PrefixSuffix.js","sources":["../../src/UNSAFE_PrefixSuffix/PrefixSuffix.tsx"],"sourcesContent":["import { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\n\ntype Props = {\n hasEndContent?: boolean;\n hasInsideLabel?: boolean;\n hasStartContent?: boolean;\n id: string;\n isDisabled?: boolean;\n isFocused?: boolean;\n text: string;\n variant: 'prefix' | 'suffix';\n};\n\nexport function PrefixSuffix({\n hasEndContent,\n hasInsideLabel,\n hasStartContent,\n id,\n isDisabled,\n isFocused,\n text,\n variant\n}: Props) {\n const prefixSuffixStyles = {\n base: cssProps`${{\n display: 'flex',\n alignItems: 'center',\n whiteSpace: 'nowrap',\n boxSizing: 'border-box',\n fontFamily: 'inherit',\n lineHeight: 'inherit',\n fontWeight: 'inherit',\n fontSize: '100%',\n border: '0',\n backgroundColor: 'transparent',\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color)'\n }}`,\n isFocused: cssProps`${{\n opacity: '.45'\n }}`,\n isDisabled: cssProps`${{\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color-disabled)'\n }}`,\n insideLabel: cssProps`${{\n minHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-height)',\n paddingTop: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-padding-top)'\n }}`,\n prefixHasStartContent: cssProps`${{\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding)'\n }}`,\n\n suffixHasEndContent: cssProps`${{\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding)'\n }}`,\n prefixInlineStart: cssProps`${{\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding)'\n }}`,\n suffixInlineStart: cssProps`${{\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding)'\n }}`\n };\n\n // We want the input to have padding on itself. This gives the user more space to click on to set focus to the input.\n // The prefix/suffix need padding between itself and either the 'edge' or the 'startContent'/'endContent'.\n // So the logic is:\n // if no startContent and we have a prefix, add --text-to-edge-padding to the prefix\n // if no endContent and we have a suffix, add --text-to-edge-padding to the suffix\n // if startContent and we have a prefix, add text-field-icon-to-text-padding\n // if endContent and we have a suffix, add text-field-icon-to-text-padding\n // **-- text-to-edge-padding**prefix (input has padding for prefix/input)input(input has padding for suffix/input)suffix**--text-to-edge-padding**\n // -- (this should be in startContent)startContent **icon-to-text-padding**prefix (input has padding for prefix/input)input(input has padding for suffix/input) suffix **--text-to-edge-padding**\n // -- **icon-to-text-padding**prefix (input has padding for prefix/input)input(input has padding for suffix/input) suffix**--icon-to-text-padding**(this should be in endContent)endContent\n const prefixSuffixClasses = classNames([\n prefixSuffixStyles.base,\n variant === 'suffix' && hasEndContent && prefixSuffixStyles.suffixHasEndContent,\n hasInsideLabel && prefixSuffixStyles.insideLabel,\n variant === 'prefix' && hasStartContent && prefixSuffixStyles.prefixHasStartContent,\n isFocused && prefixSuffixStyles.isFocused,\n isDisabled && prefixSuffixStyles.isDisabled,\n variant === 'prefix' && !hasStartContent && prefixSuffixStyles.prefixInlineStart,\n variant === 'suffix' && !hasEndContent && prefixSuffixStyles.suffixInlineStart\n ]);\n\n return (\n <div class={prefixSuffixClasses} id={id}>\n <span>{text}</span>\n </div>\n );\n}\n"],"names":["hasEndContent","hasInsideLabel","hasStartContent","id","isDisabled","isFocused","text","variant","prefixSuffixStyles","_jsx","Object","assign","class","prefixSuffixClasses","children","jsx"],"mappings":"sJAcA,UAAAA,cAAAA,EAAAC,eAAAA,EAAAC,gBAAAA,EAAAC,GAAAA,EAAAC,WAAAA,EAAAC,UAAAA,EAAAC,KAAAA,EAAAC,QAAAA,IAUE,MAAAC,EAAA,
|
|
1
|
+
{"version":3,"file":"UNSAFE_PrefixSuffix.js","sources":["../../src/UNSAFE_PrefixSuffix/PrefixSuffix.tsx"],"sourcesContent":["import { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\n\ntype Props = {\n hasEndContent?: boolean;\n hasInsideLabel?: boolean;\n hasStartContent?: boolean;\n id: string;\n isDisabled?: boolean;\n isFocused?: boolean;\n text: string;\n variant: 'prefix' | 'suffix';\n};\n\nexport function PrefixSuffix({\n hasEndContent,\n hasInsideLabel,\n hasStartContent,\n id,\n isDisabled,\n isFocused,\n text,\n variant\n}: Props) {\n const prefixSuffixStyles = {\n base: cssProps`${{\n display: 'flex',\n alignItems: 'center',\n whiteSpace: 'nowrap',\n boxSizing: 'border-box',\n fontFamily: 'inherit',\n lineHeight: 'inherit',\n fontWeight: 'inherit',\n fontSize: '100%',\n border: '0',\n backgroundColor: 'transparent',\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color)'\n }}`,\n isFocused: cssProps`${{\n opacity: '.45'\n }}`,\n isDisabled: cssProps`${{\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color-disabled)'\n }}`,\n insideLabel: cssProps`${{\n minHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-height)',\n paddingTop: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-padding-top)'\n }}`,\n prefixHasStartContent: cssProps`${{\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding)'\n }}`,\n\n suffixHasEndContent: cssProps`${{\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding)'\n }}`,\n prefixInlineStart: cssProps`${{\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding)'\n }}`,\n suffixInlineStart: cssProps`${{\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding)'\n }}`\n };\n\n // We want the input to have padding on itself. This gives the user more space to click on to set focus to the input.\n // The prefix/suffix need padding between itself and either the 'edge' or the 'startContent'/'endContent'.\n // So the logic is:\n // if no startContent and we have a prefix, add --text-to-edge-padding to the prefix\n // if no endContent and we have a suffix, add --text-to-edge-padding to the suffix\n // if startContent and we have a prefix, add text-field-icon-to-text-padding\n // if endContent and we have a suffix, add text-field-icon-to-text-padding\n // **-- text-to-edge-padding**prefix (input has padding for prefix/input)input(input has padding for suffix/input)suffix**--text-to-edge-padding**\n // -- (this should be in startContent)startContent **icon-to-text-padding**prefix (input has padding for prefix/input)input(input has padding for suffix/input) suffix **--text-to-edge-padding**\n // -- **icon-to-text-padding**prefix (input has padding for prefix/input)input(input has padding for suffix/input) suffix**--icon-to-text-padding**(this should be in endContent)endContent\n const prefixSuffixClasses = classNames([\n prefixSuffixStyles.base,\n variant === 'suffix' && hasEndContent && prefixSuffixStyles.suffixHasEndContent,\n hasInsideLabel && prefixSuffixStyles.insideLabel,\n variant === 'prefix' && hasStartContent && prefixSuffixStyles.prefixHasStartContent,\n isFocused && prefixSuffixStyles.isFocused,\n isDisabled && prefixSuffixStyles.isDisabled,\n variant === 'prefix' && !hasStartContent && prefixSuffixStyles.prefixInlineStart,\n variant === 'suffix' && !hasEndContent && prefixSuffixStyles.suffixInlineStart\n ]);\n\n return (\n <div class={prefixSuffixClasses} id={id}>\n <span>{text}</span>\n </div>\n );\n}\n"],"names":["hasEndContent","hasInsideLabel","hasStartContent","id","isDisabled","isFocused","text","variant","prefixSuffixStyles","_jsx","Object","assign","class","prefixSuffixClasses","children","jsx"],"mappings":"sJAcA,UAAAA,cAAAA,EAAAC,eAAAA,EAAAC,gBAAAA,EAAAC,GAAAA,EAAAC,WAAAA,EAAAC,UAAAA,EAAAC,KAAAA,EAAAC,QAAAA,IAUE,MAAAC,EAAA,WAAAA,EAAA,SAAAA,EAAA,UAAAA,EAAA,SAAAA,EAAA,WAAAA,EAAA,UAAAA,EAAA,SAAAA,2BAkDEA,EACA,WAAAD,GAAAP,GAAAQ,OAEA,WAAAD,GAAAL,GAAAM,sDAOF,OAAAC,MAAA,MAAAC,OAAAC,OAAA,CAAAC,MAAAC,EAAAV,GAAAA,GAAA,CAAAW,SAAAL,EAAAM,IAAA,OAAA,CAAAD,SAAAR"}
|