@oracle/oraclejet-preact 14.1.8 → 14.1.10
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-cee718c2.js +2 -0
- package/amd/{Badge-3c1f7f8b.js.map → Badge-cee718c2.js.map} +1 -1
- package/amd/BaseButton-21f35d61.js +2 -0
- package/amd/{BaseButton-0f25e403.js.map → BaseButton-21f35d61.js.map} +1 -1
- package/amd/Button-9e2b5706.js +2 -0
- package/amd/{Button-315621e2.js.map → Button-9e2b5706.js.map} +1 -1
- package/amd/Chip-0ffb2726.js +2 -0
- package/amd/{Chip-69627ba2.js.map → Chip-0ffb2726.js.map} +1 -1
- package/amd/ClearIcon-17f117c0.js +2 -0
- package/amd/{ClearIcon-a009d82d.js.map → ClearIcon-17f117c0.js.map} +1 -1
- package/amd/{Collection-d3ef1b6f.js → Collection-937ee8ba.js} +1 -1
- package/amd/{Collection-d3ef1b6f.js.map → Collection-937ee8ba.js.map} +1 -1
- package/amd/ComponentMessage-3fae5a5b.js +2 -0
- package/amd/{ComponentMessage-b39def70.js.map → ComponentMessage-3fae5a5b.js.map} +1 -1
- package/amd/{ComponentMessageContainer-151ad7a2.js → ComponentMessageContainer-2130cdd7.js} +2 -2
- package/amd/{ComponentMessageContainer-151ad7a2.js.map → ComponentMessageContainer-2130cdd7.js.map} +1 -1
- package/amd/Divider-c177794c.js +2 -0
- package/amd/{Divider-139aab12.js.map → Divider-c177794c.js.map} +1 -1
- package/amd/{FilePicker-df6e5ba2.js → FilePicker-29e7242f.js} +2 -2
- package/amd/{FilePicker-df6e5ba2.js.map → FilePicker-29e7242f.js.map} +1 -1
- package/amd/Flex-343c337e.js +2 -0
- package/amd/{Flex-49ae9d40.js.map → Flex-343c337e.js.map} +1 -1
- package/amd/{Floating-0d08c31b.js → Floating-f251f4e6.js} +2 -2
- package/amd/{Floating-0d08c31b.js.map → Floating-f251f4e6.js.map} +1 -1
- package/amd/FocusTrap-3123561d.js +2 -0
- package/amd/{FocusTrap-36eb14b3.js.map → FocusTrap-3123561d.js.map} +1 -1
- package/amd/FormControlUtils-3c0aac96.js +2 -0
- package/amd/{FormControlUtils-9dc2f278.js.map → FormControlUtils-3c0aac96.js.map} +1 -1
- package/amd/Heading-c1db732f.js +2 -0
- package/amd/{Heading-1940acfa.js.map → Heading-c1db732f.js.map} +1 -1
- package/amd/HiddenAccessible-c1b8ec8e.js +2 -0
- package/amd/{HiddenAccessible-75a88dca.js.map → HiddenAccessible-c1b8ec8e.js.map} +1 -1
- package/amd/{HighlightText-98c703c0.js → HighlightText-cc2d6b7d.js} +2 -2
- package/amd/{HighlightText-98c703c0.js.map → HighlightText-cc2d6b7d.js.map} +1 -1
- package/amd/Icon-597b4544.js +2 -0
- package/amd/{Icon-09d9aaef.js.map → Icon-597b4544.js.map} +1 -1
- package/amd/Indexer-49249ca7.js +2 -0
- package/amd/{Indexer-0d377bbe.js.map → Indexer-49249ca7.js.map} +1 -1
- package/amd/InlineHelpSource-466d3759.js +2 -0
- package/amd/{InlineHelpSource-ee7d0235.js.map → InlineHelpSource-466d3759.js.map} +1 -1
- package/amd/Link-a1200bb1.js +2 -0
- package/amd/{Link-60e402da.js.map → Link-a1200bb1.js.map} +1 -1
- package/amd/List-6a963297.js +2 -0
- package/amd/{List-60513105.js.map → List-6a963297.js.map} +1 -1
- package/amd/ListItemTextLayout-998eec81.js +2 -0
- package/amd/{ListItemTextLayout-a6d9f3f9.js.map → ListItemTextLayout-998eec81.js.map} +1 -1
- package/amd/{ListView-aa70a216.js → ListView-02b66ff8.js} +2 -2
- package/amd/{ListView-aa70a216.js.map → ListView-02b66ff8.js.map} +1 -1
- package/amd/{LoadMoreCollection-2a7397a6.js → LoadMoreCollection-62a53e76.js} +2 -2
- package/amd/{LoadMoreCollection-2a7397a6.js.map → LoadMoreCollection-62a53e76.js.map} +1 -1
- package/amd/Menu-1d0186bf.js +2 -0
- package/amd/{Menu-dc7eb813.js.map → Menu-1d0186bf.js.map} +1 -1
- package/amd/MenuDivider-7edd8ac2.js +2 -0
- package/amd/{MenuDivider-0746142f.js.map → MenuDivider-7edd8ac2.js.map} +1 -1
- package/amd/MenuItem-077784e6.js +2 -0
- package/amd/{MenuItem-558c427d.js.map → MenuItem-077784e6.js.map} +1 -1
- package/amd/{Message.types-36b055bd.js → Message.types-84dcb531.js} +1 -1
- package/amd/{Message.types-36b055bd.js.map → Message.types-84dcb531.js.map} +1 -1
- package/amd/MessageCloseButton-2ab50565.js +2 -0
- package/amd/{MessageCloseButton-9115578a.js.map → MessageCloseButton-2ab50565.js.map} +1 -1
- package/amd/MessageDetail-c3d3a0cf.js +2 -0
- package/amd/{MessageDetail-bca5d0e6.js.map → MessageDetail-c3d3a0cf.js.map} +1 -1
- package/amd/{MessageFormattingUtils-2f6ea3d7.js → MessageFormattingUtils-a178900f.js} +2 -2
- package/amd/{MessageFormattingUtils-2f6ea3d7.js.map → MessageFormattingUtils-a178900f.js.map} +1 -1
- package/amd/MessageLayer-a6a7abcf.js +2 -0
- package/amd/{MessageLayer-6345dea9.js.map → MessageLayer-a6a7abcf.js.map} +1 -1
- package/amd/MessageStartIcon-3d36c660.js +2 -0
- package/amd/{MessageStartIcon-a7b50582.js.map → MessageStartIcon-3d36c660.js.map} +1 -1
- package/amd/MessageSummary-a4283ef2.js +2 -0
- package/amd/{MessageSummary-8871a900.js.map → MessageSummary-a4283ef2.js.map} +1 -1
- package/amd/MessageTimestamp-e56a6681.js +2 -0
- package/amd/{MessageTimestamp-0b535a61.js.map → MessageTimestamp-e56a6681.js.map} +1 -1
- package/amd/MessageToast-c6d596ce.js +2 -0
- package/amd/{MessageToast-973879f6.js.map → MessageToast-c6d596ce.js.map} +1 -1
- package/amd/{MessageUtils-fc40878e.js → MessageUtils-a930918a.js} +2 -2
- package/amd/{MessageUtils-fc40878e.js.map → MessageUtils-a930918a.js.map} +1 -1
- package/amd/{MessagesManager-43519abe.js → MessagesManager-4cf3413e.js} +2 -2
- package/amd/{MessagesManager-43519abe.js.map → MessagesManager-4cf3413e.js.map} +1 -1
- package/amd/MeterCircle-b06a457d.js +2 -0
- package/amd/{MeterCircle-99d0ae85.js.map → MeterCircle-b06a457d.js.map} +1 -1
- package/amd/Modal-eebbf595.js +2 -0
- package/amd/{Modal-4ef84a44.js.map → Modal-eebbf595.js.map} +1 -1
- package/amd/{NumberInputText-8ae0414b.js → NumberInputText-0b71cdfd.js} +2 -2
- package/amd/{NumberInputText-8ae0414b.js.map → NumberInputText-0b71cdfd.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-ee580a50.js +2 -0
- package/amd/{ReadonlyTextFieldInput-2ff54b4e.js.map → ReadonlyTextFieldInput-ee580a50.js.map} +1 -1
- package/amd/SelectMenuItem-7033aea6.js +2 -0
- package/amd/{SelectMenuItem-70865f13.js.map → SelectMenuItem-7033aea6.js.map} +1 -1
- package/amd/{SelectMultiple-70f2dc35.js → SelectMultiple-1e654222.js} +2 -2
- package/amd/{SelectMultiple-70f2dc35.js.map → SelectMultiple-1e654222.js.map} +1 -1
- package/amd/{SelectSingle-0d194190.js → SelectSingle-1af85560.js} +2 -2
- package/amd/{SelectSingle-0d194190.js.map → SelectSingle-1af85560.js.map} +1 -1
- package/amd/Skeleton-82005513.js +2 -0
- package/amd/{Skeleton-13c57283.js.map → Skeleton-82005513.js.map} +1 -1
- package/amd/{Spacer-60e84b7d.js → Spacer-a798f8d0.js} +2 -2
- package/amd/{Spacer-60e84b7d.js.map → Spacer-a798f8d0.js.map} +1 -1
- package/amd/SplitMenuButton-24a8bc3e.js +2 -0
- package/amd/{SplitMenuButton-34bda460.js.map → SplitMenuButton-24a8bc3e.js.map} +1 -1
- package/amd/Subheading-9ed4bf87.js +2 -0
- package/amd/{Subheading-53920c82.js.map → Subheading-9ed4bf87.js.map} +1 -1
- package/amd/Text-414830df.js +2 -0
- package/amd/{Text-dd98aad8.js.map → Text-414830df.js.map} +1 -1
- package/amd/TextArea-5b0671f9.js +2 -0
- package/amd/{TextArea-f5ceacdf.js.map → TextArea-5b0671f9.js.map} +1 -1
- package/amd/{TextAreaAutosize-8fd80df5.js → TextAreaAutosize-ed0589cf.js} +2 -2
- package/amd/{TextAreaAutosize-8fd80df5.js.map → TextAreaAutosize-ed0589cf.js.map} +1 -1
- package/amd/TextFieldInput-57f2d560.js +2 -0
- package/amd/{TextFieldInput-e8475857.js.map → TextFieldInput-57f2d560.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_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_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_LiveRegion.js.map +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-ecf14228.js → VirtualizedCollection-fa7f5bb6.js} +2 -2
- package/amd/{VirtualizedCollection-ecf14228.js.map → VirtualizedCollection-fa7f5bb6.js.map} +1 -1
- package/amd/{VirtualizedListView-226cdec3.js → VirtualizedListView-64a72b62.js} +2 -2
- package/amd/{VirtualizedListView-226cdec3.js.map → VirtualizedListView-64a72b62.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-4bc24d07.js → _curry1-1865bdf8.js} +1 -1
- package/amd/{_curry1-4bc24d07.js.map → _curry1-1865bdf8.js.map} +1 -1
- package/amd/{_curry2-b282d372.js → _curry2-c82c3af2.js} +2 -2
- package/amd/{_curry2-b282d372.js.map → _curry2-c82c3af2.js.map} +1 -1
- package/amd/_curry3-73b7a4f7.js +2 -0
- package/amd/{_curry3-d85ab9e3.js.map → _curry3-73b7a4f7.js.map} +1 -1
- package/amd/_has-af025a25.js +2 -0
- package/amd/{_has-d6e072c4.js.map → _has-af025a25.js.map} +1 -1
- package/amd/{classNames-7ef49daf.js → classNames-f9dd69a8.js} +1 -1
- package/amd/{classNames-7ef49daf.js.map → classNames-f9dd69a8.js.map} +1 -1
- package/amd/clientHints-0a14d5d8.js +2 -0
- package/amd/clientHints-0a14d5d8.js.map +1 -0
- package/amd/flexbox-83e878b1.js +2 -0
- package/amd/{flexbox-af3b62ca.js.map → flexbox-83e878b1.js.map} +1 -1
- package/amd/flexitem-c406a7bb.js +2 -0
- package/amd/{flexitem-7f1eca3f.js.map → flexitem-c406a7bb.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-03c10d8e.js → index-5dbc066a.js} +2 -2
- package/amd/{index-03c10d8e.js.map → index-5dbc066a.js.map} +1 -1
- package/amd/{index-fbf288d8.js → index-c61f0d48.js} +1 -1
- package/amd/{index-fbf288d8.js.map → index-c61f0d48.js.map} +1 -1
- package/amd/{index-c150ed6e.js → index-efbc9ba1.js} +2 -2
- package/amd/{index-c150ed6e.js.map → index-efbc9ba1.js.map} +1 -1
- package/amd/keys-7dc8fa94.js +2 -0
- package/amd/{keys-2f73271e.js.map → keys-7dc8fa94.js.map} +1 -1
- package/amd/{listViewSelectionTests-fe15066f.js → listViewSelectionTests-b588b493.js} +2 -2
- package/amd/{listViewSelectionTests-fe15066f.js.map → listViewSelectionTests-b588b493.js.map} +1 -1
- package/amd/{listViewTabbableModeTests-4b57a2aa.js → listViewTabbableModeTests-a5b9db5e.js} +2 -2
- package/amd/{listViewTabbableModeTests-4b57a2aa.js.map → listViewTabbableModeTests-a5b9db5e.js.map} +1 -1
- package/amd/{listViewTestFixtures-9b03a7ed.js → listViewTestFixtures-1a67361f.js} +1 -1
- package/amd/{listViewTestFixtures-9b03a7ed.js.map → listViewTestFixtures-1a67361f.js.map} +1 -1
- package/amd/{menuTestsUtils-313bea22.js → menuTestsUtils-b7516a54.js} +1 -1
- package/amd/{menuTestsUtils-313bea22.js.map → menuTestsUtils-b7516a54.js.map} +1 -1
- package/amd/{stringUtils-3b45cc82.js → stringUtils-c7da3cbf.js} +1 -1
- package/amd/{stringUtils-3b45cc82.js.map → stringUtils-c7da3cbf.js.map} +1 -1
- package/amd/{testHelpers-de821fa4.js → testHelpers-1c035a39.js} +1 -1
- package/amd/{testHelpers-de821fa4.js.map → testHelpers-1c035a39.js.map} +1 -1
- package/amd/{tslib.es6-01aa33b9.js → tslib.es6-d809b4dd.js} +1 -1
- package/amd/{tslib.es6-01aa33b9.js.map → tslib.es6-d809b4dd.js.map} +1 -1
- package/amd/{useAnimation-ce597b9d.js → useAnimation-cfb8d533.js} +2 -2
- package/amd/{useAnimation-ce597b9d.js.map → useAnimation-cfb8d533.js.map} +1 -1
- package/amd/{useFocusWithin-3cf07e58.js → useFocusWithin-369336f7.js} +1 -1
- package/amd/{useFocusWithin-3cf07e58.js.map → useFocusWithin-369336f7.js.map} +1 -1
- package/amd/{useModal-9f8b312e.js → useModal-f400de59.js} +1 -1
- package/amd/{useModal-9f8b312e.js.map → useModal-f400de59.js.map} +1 -1
- package/amd/{useSingleSelection-7205bfde.js → useSingleSelection-bdc50b49.js} +1 -1
- package/amd/{useSingleSelection-7205bfde.js.map → useSingleSelection-bdc50b49.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-60e75793.js → Badge-ecbb8eb9.js} +16 -16
- package/cjs/{Badge-60e75793.js.map → Badge-ecbb8eb9.js.map} +1 -1
- package/cjs/{BaseButton-c9febcfe.js → BaseButton-f96d3e90.js} +20 -20
- package/cjs/{BaseButton-c9febcfe.js.map → BaseButton-f96d3e90.js.map} +1 -1
- package/cjs/{Button-998e7e41.js → Button-84ec0ef7.js} +12 -12
- package/cjs/{Button-998e7e41.js.map → Button-84ec0ef7.js.map} +1 -1
- package/cjs/{Chip-b09858e9.js → Chip-f01f3300.js} +10 -10
- package/cjs/{Chip-b09858e9.js.map → Chip-f01f3300.js.map} +1 -1
- package/cjs/{ClearIcon-dc802e98.js → ClearIcon-7807c85a.js} +3 -3
- package/cjs/{ClearIcon-dc802e98.js.map → ClearIcon-7807c85a.js.map} +1 -1
- package/cjs/{Collection-3ee653eb.js → Collection-8aa68a73.js} +2 -2
- package/cjs/{Collection-3ee653eb.js.map → Collection-8aa68a73.js.map} +1 -1
- package/cjs/{ComponentMessage-56bf6c2e.js → ComponentMessage-6ee98d9f.js} +8 -8
- package/cjs/{ComponentMessage-56bf6c2e.js.map → ComponentMessage-6ee98d9f.js.map} +1 -1
- package/cjs/{ComponentMessageContainer-a13a49ee.js → ComponentMessageContainer-c37e1886.js} +5 -5
- package/cjs/{ComponentMessageContainer-a13a49ee.js.map → ComponentMessageContainer-c37e1886.js.map} +1 -1
- package/cjs/{Divider-68e33eab.js → Divider-cc210fcf.js} +3 -3
- package/cjs/{Divider-68e33eab.js.map → Divider-cc210fcf.js.map} +1 -1
- package/cjs/{FilePicker-01193392.js → FilePicker-f1b62bcd.js} +14 -14
- package/cjs/{FilePicker-01193392.js.map → FilePicker-f1b62bcd.js.map} +1 -1
- package/cjs/{Flex-45046adf.js → Flex-0af6eb9c.js} +8 -8
- package/cjs/{Flex-45046adf.js.map → Flex-0af6eb9c.js.map} +1 -1
- package/cjs/{Floating-87d6d5bb.js → Floating-904faa39.js} +3 -3
- package/cjs/{Floating-87d6d5bb.js.map → Floating-904faa39.js.map} +1 -1
- package/cjs/{FocusTrap-39aa9458.js → FocusTrap-b3a67171.js} +5 -5
- package/cjs/{FocusTrap-39aa9458.js.map → FocusTrap-b3a67171.js.map} +1 -1
- package/cjs/{FormControlUtils-00721d61.js → FormControlUtils-12894392.js} +5 -5
- package/cjs/{FormControlUtils-00721d61.js.map → FormControlUtils-12894392.js.map} +1 -1
- package/cjs/{Heading-15175e2e.js → Heading-aedb860d.js} +13 -13
- package/cjs/{Heading-15175e2e.js.map → Heading-aedb860d.js.map} +1 -1
- package/cjs/{HiddenAccessible-77dd0361.js → HiddenAccessible-77b7a6c6.js} +3 -3
- package/cjs/{HiddenAccessible-77dd0361.js.map → HiddenAccessible-77b7a6c6.js.map} +1 -1
- package/cjs/{HighlightText-f73893fa.js → HighlightText-b271c954.js} +3 -3
- package/cjs/{HighlightText-f73893fa.js.map → HighlightText-b271c954.js.map} +1 -1
- package/cjs/{Icon-95ea0e53.js → Icon-f77b5d53.js} +11 -11
- package/cjs/{Icon-95ea0e53.js.map → Icon-f77b5d53.js.map} +1 -1
- package/cjs/{Indexer-e9f810de.js → Indexer-e1fbb014.js} +16 -16
- package/cjs/{Indexer-e9f810de.js.map → Indexer-e1fbb014.js.map} +1 -1
- package/cjs/{InlineHelpSource-dcd9c8c8.js → InlineHelpSource-fc2946df.js} +3 -3
- package/cjs/{InlineHelpSource-dcd9c8c8.js.map → InlineHelpSource-fc2946df.js.map} +1 -1
- package/cjs/{Link-235756e5.js → Link-57700fe7.js} +8 -8
- package/cjs/{Link-235756e5.js.map → Link-57700fe7.js.map} +1 -1
- package/cjs/{List-865d6221.js → List-ddb9f837.js} +23 -23
- package/cjs/{List-865d6221.js.map → List-ddb9f837.js.map} +1 -1
- package/cjs/{ListItemTextLayout-392eb227.js → ListItemTextLayout-093ad65f.js} +13 -13
- package/cjs/{ListItemTextLayout-392eb227.js.map → ListItemTextLayout-093ad65f.js.map} +1 -1
- package/cjs/{ListView-c00dfc4e.js → ListView-25710e8a.js} +3 -3
- package/cjs/{ListView-c00dfc4e.js.map → ListView-25710e8a.js.map} +1 -1
- package/cjs/{LoadMoreCollection-5092e58d.js → LoadMoreCollection-9dd85521.js} +3 -3
- package/cjs/{LoadMoreCollection-5092e58d.js.map → LoadMoreCollection-9dd85521.js.map} +1 -1
- package/cjs/{Menu-2559a0b2.js → Menu-36bab901.js} +16 -16
- package/cjs/{Menu-2559a0b2.js.map → Menu-36bab901.js.map} +1 -1
- package/cjs/{MenuDivider-6b694520.js → MenuDivider-39c78cbf.js} +4 -4
- package/cjs/{MenuDivider-6b694520.js.map → MenuDivider-39c78cbf.js.map} +1 -1
- package/cjs/{MenuItem-c8023341.js → MenuItem-62f058a4.js} +19 -19
- package/cjs/{MenuItem-c8023341.js.map → MenuItem-62f058a4.js.map} +1 -1
- package/cjs/{Message.types-611ea674.js → Message.types-88e73145.js} +2 -2
- package/cjs/{Message.types-611ea674.js.map → Message.types-88e73145.js.map} +1 -1
- package/cjs/{MessageCloseButton-91419edb.js → MessageCloseButton-b8cfcc43.js} +9 -9
- package/cjs/{MessageCloseButton-91419edb.js.map → MessageCloseButton-b8cfcc43.js.map} +1 -1
- package/cjs/{MessageDetail-197338d7.js → MessageDetail-051f9e6b.js} +7 -7
- package/cjs/{MessageDetail-197338d7.js.map → MessageDetail-051f9e6b.js.map} +1 -1
- package/cjs/{MessageFormattingUtils-8e89d508.js → MessageFormattingUtils-1ef9baec.js} +4 -4
- package/cjs/{MessageFormattingUtils-8e89d508.js.map → MessageFormattingUtils-1ef9baec.js.map} +1 -1
- package/cjs/{MessageLayer-3b89c815.js → MessageLayer-08db41db.js} +11 -11
- package/cjs/{MessageLayer-3b89c815.js.map → MessageLayer-08db41db.js.map} +1 -1
- package/cjs/{MessageStartIcon-94b702ff.js → MessageStartIcon-f236c25f.js} +11 -11
- package/cjs/{MessageStartIcon-94b702ff.js.map → MessageStartIcon-f236c25f.js.map} +1 -1
- package/cjs/{MessageSummary-121a7665.js → MessageSummary-9e2dce96.js} +7 -7
- package/cjs/{MessageSummary-121a7665.js.map → MessageSummary-9e2dce96.js.map} +1 -1
- package/cjs/{MessageTimestamp-b3fddcc0.js → MessageTimestamp-7987b6f0.js} +5 -5
- package/cjs/{MessageTimestamp-b3fddcc0.js.map → MessageTimestamp-7987b6f0.js.map} +1 -1
- package/cjs/{MessageToast-91261767.js → MessageToast-d3d40483.js} +9 -9
- package/cjs/{MessageToast-91261767.js.map → MessageToast-d3d40483.js.map} +1 -1
- package/cjs/{MessageUtils-ad3d83e8.js → MessageUtils-12584d30.js} +3 -3
- package/cjs/{MessageUtils-ad3d83e8.js.map → MessageUtils-12584d30.js.map} +1 -1
- package/cjs/{MessagesManager-c5cf35f8.js → MessagesManager-bb084f2a.js} +4 -4
- package/cjs/{MessagesManager-c5cf35f8.js.map → MessagesManager-bb084f2a.js.map} +1 -1
- package/cjs/{MeterCircle-858a9094.js → MeterCircle-b126c12c.js} +50 -50
- package/cjs/{MeterCircle-858a9094.js.map → MeterCircle-b126c12c.js.map} +1 -1
- package/cjs/{Modal-f80212da.js → Modal-6824a496.js} +7 -7
- package/cjs/{Modal-f80212da.js.map → Modal-6824a496.js.map} +1 -1
- package/cjs/{NumberInputText-10d0e09c.js → NumberInputText-fca5f8d9.js} +7 -7
- package/cjs/{NumberInputText-10d0e09c.js.map → NumberInputText-fca5f8d9.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-1fe8a8c7.js → ReadonlyTextFieldInput-48131d00.js} +13 -13
- package/cjs/{ReadonlyTextFieldInput-1fe8a8c7.js.map → ReadonlyTextFieldInput-48131d00.js.map} +1 -1
- package/cjs/{SelectMenuItem-e323972a.js → SelectMenuItem-56b08b29.js} +5 -5
- package/cjs/{SelectMenuItem-e323972a.js.map → SelectMenuItem-56b08b29.js.map} +1 -1
- package/cjs/{SelectMultiple-5a403f5c.js → SelectMultiple-02df1d0a.js} +8 -8
- package/cjs/{SelectMultiple-5a403f5c.js.map → SelectMultiple-02df1d0a.js.map} +1 -1
- package/cjs/{SelectSingle-94c24387.js → SelectSingle-2cf76a61.js} +4 -4
- package/cjs/{SelectSingle-94c24387.js.map → SelectSingle-2cf76a61.js.map} +1 -1
- package/cjs/{Skeleton-8d2cfece.js → Skeleton-278525b6.js} +5 -5
- package/cjs/{Skeleton-8d2cfece.js.map → Skeleton-278525b6.js.map} +1 -1
- package/cjs/{Spacer-cd18b349.js → Spacer-1aebb745.js} +4 -4
- package/cjs/{Spacer-cd18b349.js.map → Spacer-1aebb745.js.map} +1 -1
- package/cjs/{SplitMenuButton-881945ad.js → SplitMenuButton-37da4d36.js} +14 -14
- package/cjs/{SplitMenuButton-881945ad.js.map → SplitMenuButton-37da4d36.js.map} +1 -1
- package/cjs/{Subheading-a41fb88e.js → Subheading-2f651b4f.js} +11 -11
- package/cjs/{Subheading-a41fb88e.js.map → Subheading-2f651b4f.js.map} +1 -1
- package/cjs/{Text-6a8f1ecc.js → Text-86fe82ec.js} +28 -28
- package/cjs/{Text-6a8f1ecc.js.map → Text-86fe82ec.js.map} +1 -1
- package/cjs/{TextArea-96bc5e5e.js → TextArea-caf5f43c.js} +8 -8
- package/cjs/{TextArea-96bc5e5e.js.map → TextArea-caf5f43c.js.map} +1 -1
- package/cjs/{TextAreaAutosize-ba9b3a21.js → TextAreaAutosize-b0412c32.js} +5 -5
- package/cjs/{TextAreaAutosize-ba9b3a21.js.map → TextAreaAutosize-b0412c32.js.map} +1 -1
- package/cjs/{TextFieldInput-16c69441.js → TextFieldInput-f51a6d2e.js} +33 -33
- package/cjs/{TextFieldInput-16c69441.js.map → TextFieldInput-f51a6d2e.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_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_LiveRegion.js.map +1 -1
- 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-98eb94b8.js → VirtualizedCollection-ea10af99.js} +3 -3
- package/cjs/{VirtualizedCollection-98eb94b8.js.map → VirtualizedCollection-ea10af99.js.map} +1 -1
- package/cjs/{VirtualizedListView-3214cbca.js → VirtualizedListView-b4f52c34.js} +3 -3
- package/cjs/{VirtualizedListView-3214cbca.js.map → VirtualizedListView-b4f52c34.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-92f728e8.js → _curry1-bceac0f2.js} +2 -2
- package/cjs/{_curry1-92f728e8.js.map → _curry1-bceac0f2.js.map} +1 -1
- package/cjs/{_curry2-a3a9dc87.js → _curry2-18da4e88.js} +3 -3
- package/cjs/{_curry2-a3a9dc87.js.map → _curry2-18da4e88.js.map} +1 -1
- package/cjs/{_curry3-1b9a049f.js → _curry3-3d4a2b8d.js} +4 -4
- package/cjs/{_curry3-1b9a049f.js.map → _curry3-3d4a2b8d.js.map} +1 -1
- package/cjs/{_has-be98f312.js → _has-dd5fd96c.js} +3 -3
- package/cjs/{_has-be98f312.js.map → _has-dd5fd96c.js.map} +1 -1
- package/cjs/{classNames-aad02aff.js → classNames-052c746b.js} +2 -2
- package/cjs/{classNames-aad02aff.js.map → classNames-052c746b.js.map} +1 -1
- package/cjs/{clientHints-304675d3.js → clientHints-6977f4ad.js} +4 -5
- package/cjs/clientHints-6977f4ad.js.map +1 -0
- package/cjs/{flexbox-28fb45b7.js → flexbox-c91a5edc.js} +10 -10
- package/cjs/{flexbox-28fb45b7.js.map → flexbox-c91a5edc.js.map} +1 -1
- package/cjs/{flexitem-72653edf.js → flexitem-6647e291.js} +10 -10
- package/cjs/{flexitem-72653edf.js.map → flexitem-6647e291.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-3f8d5bb1.js → index-0f15ab4a.js} +2 -2
- package/cjs/{index-3f8d5bb1.js.map → index-0f15ab4a.js.map} +1 -1
- package/cjs/{index-1f7c328e.js → index-9db39f31.js} +3 -3
- package/cjs/{index-1f7c328e.js.map → index-9db39f31.js.map} +1 -1
- package/cjs/{index-d65f7e75.js → index-f00e5f39.js} +3 -3
- package/cjs/{index-d65f7e75.js.map → index-f00e5f39.js.map} +1 -1
- package/cjs/{keys-37f64206.js → keys-851fe6d1.js} +4 -4
- package/cjs/{keys-37f64206.js.map → keys-851fe6d1.js.map} +1 -1
- package/cjs/{listViewSelectionTests-d4b27c65.js → listViewSelectionTests-4c33f5af.js} +4 -4
- package/cjs/{listViewSelectionTests-d4b27c65.js.map → listViewSelectionTests-4c33f5af.js.map} +1 -1
- package/cjs/{listViewTabbableModeTests-78640dbe.js → listViewTabbableModeTests-22a486b8.js} +4 -4
- package/cjs/{listViewTabbableModeTests-78640dbe.js.map → listViewTabbableModeTests-22a486b8.js.map} +1 -1
- package/cjs/{listViewTestFixtures-be920c78.js → listViewTestFixtures-082a5a11.js} +2 -2
- package/cjs/{listViewTestFixtures-be920c78.js.map → listViewTestFixtures-082a5a11.js.map} +1 -1
- package/cjs/{menuTestsUtils-6a2d46c9.js → menuTestsUtils-134641c1.js} +2 -2
- package/cjs/{menuTestsUtils-6a2d46c9.js.map → menuTestsUtils-134641c1.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-3a14a8ae.js → stringUtils-fdad69c1.js} +2 -2
- package/cjs/{stringUtils-3a14a8ae.js.map → stringUtils-fdad69c1.js.map} +1 -1
- package/cjs/{testHelpers-d82fa365.js → testHelpers-654f36bc.js} +2 -2
- package/cjs/{testHelpers-d82fa365.js.map → testHelpers-654f36bc.js.map} +1 -1
- package/cjs/translationBundle/__tests__/translationBundle.spec.js +1 -1
- package/cjs/translationBundle.js +1 -1
- package/cjs/{tslib.es6-cc468494.js → tslib.es6-48af5935.js} +2 -2
- package/cjs/{tslib.es6-cc468494.js.map → tslib.es6-48af5935.js.map} +1 -1
- package/cjs/{useAnimation-0d01f108.js → useAnimation-fb9e984c.js} +3 -3
- package/cjs/{useAnimation-0d01f108.js.map → useAnimation-fb9e984c.js.map} +1 -1
- package/cjs/{useFocusWithin-5d288535.js → useFocusWithin-5168c639.js} +2 -2
- package/cjs/{useFocusWithin-5d288535.js.map → useFocusWithin-5168c639.js.map} +1 -1
- package/cjs/{useModal-6b58468c.js → useModal-ada56bbe.js} +2 -2
- package/cjs/{useModal-6b58468c.js.map → useModal-ada56bbe.js.map} +1 -1
- package/cjs/{useSingleSelection-1cf3868b.js → useSingleSelection-b784682e.js} +2 -2
- package/cjs/{useSingleSelection-1cf3868b.js.map → useSingleSelection-b784682e.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-65b94e3e.js → ClearIcon-f7b67a33.js} +3 -3
- package/es/{ClearIcon-65b94e3e.js.map → ClearIcon-f7b67a33.js.map} +1 -1
- package/es/{LoadMoreCollection-ae0cfa2a.js → LoadMoreCollection-2bdf656d.js} +2 -2
- package/es/{LoadMoreCollection-ae0cfa2a.js.map → LoadMoreCollection-2bdf656d.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_Grid.css +1 -1
- package/es/UNSAFE_Grid.js +8 -8
- 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_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_LiveRegion.js.map +1 -1
- 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_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_TextArea.js.map +1 -1
- 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-be86fde3.js → _curry1-4002d580.js} +2 -2
- package/es/{_curry1-be86fde3.js.map → _curry1-4002d580.js.map} +1 -1
- package/es/{_curry2-2c3644b9.js → _curry2-ad597af0.js} +3 -3
- package/es/{_curry2-2c3644b9.js.map → _curry2-ad597af0.js.map} +1 -1
- package/es/{_curry3-a06acc85.js → _curry3-a3409375.js} +4 -4
- package/es/{_curry3-a06acc85.js.map → _curry3-a3409375.js.map} +1 -1
- package/es/{_has-ab12001b.js → _has-19e9364e.js} +3 -3
- package/es/{_has-ab12001b.js.map → _has-19e9364e.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-ffca3da2.js → index-3daa5ed2.js} +2 -2
- package/es/{index-ffca3da2.js.map → index-3daa5ed2.js.map} +1 -1
- package/es/{keys-55f70933.js → keys-c87b7c09.js} +4 -4
- package/es/{keys-55f70933.js.map → keys-c87b7c09.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-c822dcaf.js → tslib.es6-c66fc3f0.js} +2 -2
- package/es/{tslib.es6-c822dcaf.js.map → tslib.es6-c66fc3f0.js.map} +1 -1
- package/es/{useModal-ef9f23b8.js → useModal-6879e21d.js} +2 -2
- package/es/{useModal-ef9f23b8.js.map → useModal-6879e21d.js.map} +1 -1
- package/es/{useSingleSelection-407604a7.js → useSingleSelection-1e9df392.js} +2 -2
- package/es/{useSingleSelection-407604a7.js.map → useSingleSelection-1e9df392.js.map} +1 -1
- package/es/utils/PRIVATE_clientHints.js +3 -4
- package/es/utils/PRIVATE_clientHints.js.map +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-3c1f7f8b.js +0 -2
- package/amd/BaseButton-0f25e403.js +0 -2
- package/amd/Button-315621e2.js +0 -2
- package/amd/Chip-69627ba2.js +0 -2
- package/amd/ClearIcon-a009d82d.js +0 -2
- package/amd/ComponentMessage-b39def70.js +0 -2
- package/amd/Divider-139aab12.js +0 -2
- package/amd/Flex-49ae9d40.js +0 -2
- package/amd/FocusTrap-36eb14b3.js +0 -2
- package/amd/FormControlUtils-9dc2f278.js +0 -2
- package/amd/Heading-1940acfa.js +0 -2
- package/amd/HiddenAccessible-75a88dca.js +0 -2
- package/amd/Icon-09d9aaef.js +0 -2
- package/amd/Indexer-0d377bbe.js +0 -2
- package/amd/InlineHelpSource-ee7d0235.js +0 -2
- package/amd/Link-60e402da.js +0 -2
- package/amd/List-60513105.js +0 -2
- package/amd/ListItemTextLayout-a6d9f3f9.js +0 -2
- package/amd/Menu-dc7eb813.js +0 -2
- package/amd/MenuDivider-0746142f.js +0 -2
- package/amd/MenuItem-558c427d.js +0 -2
- package/amd/MessageCloseButton-9115578a.js +0 -2
- package/amd/MessageDetail-bca5d0e6.js +0 -2
- package/amd/MessageLayer-6345dea9.js +0 -2
- package/amd/MessageStartIcon-a7b50582.js +0 -2
- package/amd/MessageSummary-8871a900.js +0 -2
- package/amd/MessageTimestamp-0b535a61.js +0 -2
- package/amd/MessageToast-973879f6.js +0 -2
- package/amd/MeterCircle-99d0ae85.js +0 -2
- package/amd/Modal-4ef84a44.js +0 -2
- package/amd/ReadonlyTextFieldInput-2ff54b4e.js +0 -2
- package/amd/SelectMenuItem-70865f13.js +0 -2
- package/amd/Skeleton-13c57283.js +0 -2
- package/amd/SplitMenuButton-34bda460.js +0 -2
- package/amd/Subheading-53920c82.js +0 -2
- package/amd/Text-dd98aad8.js +0 -2
- package/amd/TextArea-f5ceacdf.js +0 -2
- package/amd/TextFieldInput-e8475857.js +0 -2
- package/amd/_curry3-d85ab9e3.js +0 -2
- package/amd/_has-d6e072c4.js +0 -2
- package/amd/clientHints-421618b0.js +0 -2
- package/amd/clientHints-421618b0.js.map +0 -1
- package/amd/flexbox-af3b62ca.js +0 -2
- package/amd/flexitem-7f1eca3f.js +0 -2
- package/amd/keys-2f73271e.js +0 -2
- package/cjs/clientHints-304675d3.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["require","preact/jsx-runtime","@testing-library/preact","chai","../../MeterCircle-99d0ae85","../../utils/UNSAFE_matchTranslationBundle","../../UNSAFE_Environment","@testing-library/user-event","../../utils/PRIVATE_clientHints","../../clientHints-421618b0","../../tslib.es6-01aa33b9","../../hooks/UNSAFE_useUser","preact/hooks","preact","../../UNSAFE_Layer","preact/compat","css!./../../UNSAFE_MeterCircle.css","../../utils/UNSAFE_mergeProps","../../utils/UNSAFE_classNames","../../classNames-7ef49daf","../../PRIVATE_Meter","../../utils/PRIVATE_meterUtils","../../utils/UNSAFE_dvtCommonUtils","../../hooks/PRIVATE_useDvtMeterEvents","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-0d08c31b","../../index-fbf288d8","../../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-ce597b9d","../../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-b06a457d","../../utils/UNSAFE_matchTranslationBundle","../../UNSAFE_Environment","@testing-library/user-event","../../utils/PRIVATE_clientHints","../../clientHints-0a14d5d8","../../tslib.es6-d809b4dd","../../hooks/UNSAFE_useUser","preact/hooks","preact","../../UNSAFE_Layer","preact/compat","css!./../../UNSAFE_MeterCircle.css","../../utils/UNSAFE_mergeProps","../../utils/UNSAFE_classNames","../../classNames-f9dd69a8","../../PRIVATE_Meter","../../utils/PRIVATE_meterUtils","../../utils/UNSAFE_dvtCommonUtils","../../hooks/PRIVATE_useDvtMeterEvents","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-f251f4e6","../../index-c61f0d48","../../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-cfb8d533","../../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
|
+
._19mw0kq{display:inline-block;pointer-events:none;}
|
|
2
|
+
._1woedbq{touch-action:none;}._1woedbq:focus-visible{outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-style:dotted;outline-width:1px;}
|
|
3
|
+
._1295vce{border-radius:50%;}
|
|
4
|
+
._1j9fi7b{border-radius:50% 50% 0 0 / 100% 100% 0 0;border-bottom:0;}
|
|
5
|
+
._1ptkwo6{border-radius:0% 0% 50% 50% / 0% 0% 100% 100%;border-top:0;}
|
|
6
|
+
._6aux2y{border-radius:0 100% 100% 0 / 0% 50% 50% 0%;border-left:0;}
|
|
7
|
+
.ndl7im{border-radius:100% 0 0 100% / 50% 0 0 50%;border-right:0;}
|
|
8
|
+
._1we8866{margin:1rem 1rem 0 1rem;}
|
|
9
|
+
._1cpnyl4{margin:0.75rem 0.75rem 0 0.75rem;}
|
|
10
|
+
._563kk5{margin:0.5rem 0.5rem 0 0.5rem;}
|
|
11
|
+
._5enfpg{margin:0 1rem 1rem 1rem;}
|
|
12
|
+
.v5scf2{margin:0 0.75rem 0.75rem 0.75rem;}
|
|
13
|
+
._13f2203{margin:0 0.5rem 0.5rem 0.5rem;}
|
|
14
|
+
._106ouz5{margin:1rem 0 1rem 1rem;}
|
|
15
|
+
.n01gbl{margin:0.75rem 0 0.75rem 0.75rem;}
|
|
16
|
+
._1nbqf6{margin:0.5rem 0 0.5rem 0.5rem;}
|
|
17
|
+
._1h7sv1n{margin:1rem 1rem 1rem 0;}
|
|
18
|
+
.j4fz14{margin:0.75rem 0.75rem 0.75rem 0;}
|
|
19
|
+
._1ywzf7t{margin:0.5rem 0.5rem 0.5rem 0;}
|
|
20
|
+
.ubub46{margin:1rem;}
|
|
21
|
+
._1eiy1yb{margin:0.75rem;}
|
|
22
|
+
.y3od1z{margin:0.5rem;}
|
|
23
|
+
._1n6kwsz{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
|
+
._74mubg{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
|
+
.rz50e8{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
|
+
._1pvgrk1{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
|
+
.y2l0x7{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
|
+
.tb8p4p{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
|
+
._1i518i6{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
|
+
._191jxnw{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
|
+
.csn0jb{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
|
+
.vw0y9j{pointer-events:none;width:100%;height:100%;line-height:initial;}
|
|
33
|
+
.qzy8kd{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-threshold-color);}
|
|
34
|
+
._1djs10f > *{margin-top:0 !important;margin-bottom:0 !important;margin-left:0 !important;margin-right:0 !important;}
|
|
35
|
+
.bsetgc{position:relative;box-sizing:border-box;cursor:pointer;pointer-events:auto;}
|
|
36
|
+
._8c7rcc{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
|
+
._14q64lc{border-width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-sm-track-size);}
|
|
38
|
+
.l0neg4{border-width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-md-track-size);}
|
|
39
|
+
.orphkk{border-width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-lg-track-size);}
|
|
40
|
+
._1d5ktrj{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
|
+
._1fzohm6{border-radius:50%;top:50%;left:50%;translate:-50% -50%;}
|
|
42
|
+
._9qje90{top:100%;left:50%;translate:-50% -100%;}
|
|
43
|
+
._17w6gdj{top:50%;translate:0 -50%;}
|
|
44
|
+
._1q52rw8{left:100%;top:50%;translate:-100% -50%;}
|
|
45
|
+
.tpsqkt{left:50%;translate:-50% 0;}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
._1bggn2s{height:2px;position:absolute;transform-origin:0 50%;background-clip:padding-box;}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./MeterCircle-
|
|
1
|
+
define(["exports","./MeterCircle-b06a457d","./tslib.es6-d809b4dd","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-f9dd69a8","./PRIVATE_Meter","./utils/PRIVATE_meterUtils","./utils/UNSAFE_dvtCommonUtils","./hooks/PRIVATE_useDvtMeterEvents","./hooks/UNSAFE_useTooltip","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-f251f4e6","./index-c61f0d48","./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-cfb8d533","./hooks/UNSAFE_useTabbableMode"],function(e,s,o,t,i,l,r,u,a,A,E,_,U,F,n,N,c,S,d,h,k,m,f,p,T,b,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-eebbf595","preact/compat","../../useModal-f400de59","../../UNSAFE_FocusTrap","../../FocusTrap-3123561d","../../utils/UNSAFE_classNames","../../classNames-f9dd69a8","css!./../../UNSAFE_Modal.css","../../utils/PRIVATE_tabbableUtils","../../_curry1-1865bdf8","../../_curry2-c82c3af2","../../_curry3-73b7a4f7"],function(e,t,s,n,c,i,o,a,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 a=s.useRef(null),r=s.useRef(null);let u,l;return t&&(u=a),c&&(l=r),e.jsxs(i.LayerManager,{children:[e.jsx("button",{children:"Preceding Button"}),e.jsx(o.Modal,Object.assign({autoFocusRef:u,isOpen:n,restoreFocusRef:l},{children:e.jsx(g,{submitButtonRef:a})})),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:i}=n.render(e.jsx(y,{isOpen:!1})),o=s("Preceding Button");o.focus(),c.expect(document.activeElement).equals(o),i(e.jsx(y,{isOpen:!0}));const a=t("textbox");c.expect(document.activeElement).equals(a),i(e.jsx(y,{isOpen:!1})),await n.waitFor(()=>{c.expect(document.activeElement).equals(o)})}),it("unmounts and resets focus to specified element",async()=>{const{getByRole:t,getByText:s,rerender:i}=n.render(e.jsx(y,{isOpen:!1})),o=s("Preceding Button"),a=s("Following Button");o.focus(),c.expect(document.activeElement).equals(o),i(e.jsx(y,{isOpen:!0,restoreFocusTest:!0}));const r=t("textbox");c.expect(document.activeElement).equals(r),i(e.jsx(y,{isOpen:!1})),await n.waitFor(()=>{c.expect(document.activeElement).equals(a)})})})});
|
|
2
2
|
//# sourceMappingURL=Modal.spec.js.map
|
package/amd/UNSAFE_Modal.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.
|
|
1
|
+
.bau9be{position:fixed;top:0;right:0;bottom:0;left:0;}
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.dugs0h{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;}
|
|
4
4
|
|
|
5
|
-
.
|
|
5
|
+
.is15hh{position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5);}
|
package/amd/UNSAFE_Modal.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./Modal-
|
|
1
|
+
define(["exports","./Modal-eebbf595","preact/jsx-runtime","./useModal-f400de59","preact/compat","./UNSAFE_FocusTrap","./FocusTrap-3123561d","preact","./utils/UNSAFE_classNames","./classNames-f9dd69a8","css!./UNSAFE_Modal.css","./utils/PRIVATE_tabbableUtils","./_curry1-1865bdf8","./_curry2-c82c3af2","./_curry3-73b7a4f7","./UNSAFE_Layer"],function(a,e,r,s,c,t,l,u,d,o,i,f,_,b,p,n){"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-8ae0414b","preact/hooks","../../hooks/UNSAFE_useFormContext","../../UNSAFE_Environment","../../utils/UNSAFE_matchTranslationBundle","preact","preact/compat","../../hooks/UNSAFE_useFocusableTextField","../../tslib.es6-01aa33b9","../../hooks/UNSAFE_useFocusWithin","../../useFocusWithin-3cf07e58","../../hooks/UNSAFE_useFormFieldContext","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useTextField","../../hooks/UNSAFE_useId","../../UNSAFE_Label","../../utils/UNSAFE_classNames","../../classNames-7ef49daf",'module',"../../hooks/UNSAFE_usePrefixSuffix","../../UNSAFE_PrefixSuffix","../../hooks/UNSAFE_useUser","../../UNSAFE_Layer","../../UNSAFE_TextField","../../ReadonlyTextFieldInput-2ff54b4e","../../hooks/UNSAFE_useTabbableMode","../../utils/UNSAFE_interpolations/text","../../keys-2f73271e","../../_curry1-4bc24d07","../../_has-d6e072c4","../../utils/UNSAFE_mergeInterpolations","../../_curry3-d85ab9e3","../../_curry2-b282d372","../../FormControlUtils-9dc2f278","../../hooks/UNSAFE_useTranslationBundle","../../UNSAFE_LabelValueLayout","../../UNSAFE_Flex","../../Flex-49ae9d40","../../utils/UNSAFE_interpolations/dimensions","../../utils/UNSAFE_arrayUtils","../../utils/UNSAFE_size","../../utils/UNSAFE_interpolations/boxalignment","../../utils/UNSAFE_interpolations/flexbox","../../flexbox-af3b62ca","../../utils/UNSAFE_interpolations/flexitem","../../flexitem-7f1eca3f","../../TextFieldInput-e8475857","../../hooks/UNSAFE_useTextFieldInputHandlers","../../utils/PRIVATE_clientHints","../../clientHints-421618b0","../../hooks/UNSAFE_useDebounce","../../UNSAFE_LiveRegion","../../UNSAFE_UserAssistance","../../InlineHelpSource-ee7d0235","../../UNSAFE_ComponentMessage","../../ComponentMessage-b39def70","../../PRIVATE_Message","../../utils/PRIVATE_timer","../../MessageCloseButton-9115578a","../../UNSAFE_Button","../../Button-315621e2","../../UNSAFE_BaseButton","../../BaseButton-0f25e403","../../hooks/UNSAFE_usePress","../../hooks/UNSAFE_useActive","../../utils/UNSAFE_mergeProps","../../index-03c10d8e","../../index-c150ed6e","../../UNSAFE_Icon","../../Icon-09d9aaef","../../hooks/UNSAFE_useTooltip","../../UNSAFE_Floating","../../Floating-0d08c31b","../../index-fbf288d8","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-ce597b9d","../../hooks/UNSAFE_useTheme","../../MessageDetail-bca5d0e6","../../MessageFormattingUtils-2f6ea3d7","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-3b45cc82","../../Message.types-36b055bd","../../MessageStartIcon-a7b50582","../../MessageSummary-8871a900","../../MessageTimestamp-0b535a61","../../MessageUtils-fc40878e","../../utils/UNSAFE_logger","../../utils/UNSAFE_soundUtils","../../MessagesManager-43519abe","../../PRIVATE_TransitionGroup","../../hooks/UNSAFE_useMessagesContext","../../UNSAFE_HiddenAccessible","../../HiddenAccessible-75a88dca","../../ComponentMessageContainer-151ad7a2","../../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"))})})});
|
|
1
|
+
define(["require","preact/jsx-runtime","@testing-library/preact","chai","@testing-library/user-event","../../NumberInputText-0b71cdfd","preact/hooks","../../hooks/UNSAFE_useFormContext","../../UNSAFE_Environment","../../utils/UNSAFE_matchTranslationBundle","preact","preact/compat","../../hooks/UNSAFE_useFocusableTextField","../../tslib.es6-d809b4dd","../../hooks/UNSAFE_useFocusWithin","../../useFocusWithin-369336f7","../../hooks/UNSAFE_useFormFieldContext","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useTextField","../../hooks/UNSAFE_useId","../../UNSAFE_Label","../../utils/UNSAFE_classNames","../../classNames-f9dd69a8",'module',"../../hooks/UNSAFE_usePrefixSuffix","../../UNSAFE_PrefixSuffix","../../hooks/UNSAFE_useUser","../../UNSAFE_Layer","../../UNSAFE_TextField","../../ReadonlyTextFieldInput-ee580a50","../../hooks/UNSAFE_useTabbableMode","../../utils/UNSAFE_interpolations/text","../../keys-7dc8fa94","../../_curry1-1865bdf8","../../_has-af025a25","../../utils/UNSAFE_mergeInterpolations","../../_curry3-73b7a4f7","../../_curry2-c82c3af2","../../FormControlUtils-3c0aac96","../../hooks/UNSAFE_useTranslationBundle","../../UNSAFE_LabelValueLayout","../../UNSAFE_Flex","../../Flex-343c337e","../../utils/UNSAFE_interpolations/dimensions","../../utils/UNSAFE_arrayUtils","../../utils/UNSAFE_size","../../utils/UNSAFE_interpolations/boxalignment","../../utils/UNSAFE_interpolations/flexbox","../../flexbox-83e878b1","../../utils/UNSAFE_interpolations/flexitem","../../flexitem-c406a7bb","../../TextFieldInput-57f2d560","../../hooks/UNSAFE_useTextFieldInputHandlers","../../utils/PRIVATE_clientHints","../../clientHints-0a14d5d8","../../hooks/UNSAFE_useDebounce","../../UNSAFE_LiveRegion","../../UNSAFE_UserAssistance","../../InlineHelpSource-466d3759","../../UNSAFE_ComponentMessage","../../ComponentMessage-3fae5a5b","../../PRIVATE_Message","../../utils/PRIVATE_timer","../../MessageCloseButton-2ab50565","../../UNSAFE_Button","../../Button-9e2b5706","../../UNSAFE_BaseButton","../../BaseButton-21f35d61","../../hooks/UNSAFE_usePress","../../hooks/UNSAFE_useActive","../../utils/UNSAFE_mergeProps","../../index-5dbc066a","../../index-efbc9ba1","../../UNSAFE_Icon","../../Icon-597b4544","../../hooks/UNSAFE_useTooltip","../../UNSAFE_Floating","../../Floating-f251f4e6","../../index-c61f0d48","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-cfb8d533","../../hooks/UNSAFE_useTheme","../../MessageDetail-c3d3a0cf","../../MessageFormattingUtils-a178900f","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-c7da3cbf","../../Message.types-84dcb531","../../MessageStartIcon-3d36c660","../../MessageSummary-a4283ef2","../../MessageTimestamp-e56a6681","../../MessageUtils-a930918a","../../utils/UNSAFE_logger","../../utils/UNSAFE_soundUtils","../../MessagesManager-4cf3413e","../../PRIVATE_TransitionGroup","../../hooks/UNSAFE_useMessagesContext","../../UNSAFE_HiddenAccessible","../../HiddenAccessible-c1b8ec8e","../../ComponentMessageContainer-2130cdd7","../../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"))})})});
|
|
2
2
|
//# sourceMappingURL=NumberInputText.spec.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./NumberInputText-
|
|
1
|
+
define(["exports","./NumberInputText-0b71cdfd","preact/jsx-runtime","preact","preact/compat","preact/hooks","./hooks/UNSAFE_useFocusableTextField","./tslib.es6-d809b4dd","./hooks/UNSAFE_useFocusWithin","./useFocusWithin-369336f7","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useTextField","./hooks/UNSAFE_useId","./UNSAFE_Label","./utils/UNSAFE_classNames","./classNames-f9dd69a8",'module',"./hooks/UNSAFE_usePrefixSuffix","./UNSAFE_PrefixSuffix","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./UNSAFE_TextField","./ReadonlyTextFieldInput-ee580a50","./hooks/UNSAFE_useTabbableMode","./utils/UNSAFE_interpolations/text","./keys-7dc8fa94","./_curry1-1865bdf8","./_has-af025a25","./utils/UNSAFE_mergeInterpolations","./_curry3-73b7a4f7","./_curry2-c82c3af2","./FormControlUtils-3c0aac96","./hooks/UNSAFE_useTranslationBundle","./UNSAFE_LabelValueLayout","./UNSAFE_Flex","./Flex-343c337e","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./utils/UNSAFE_interpolations/boxalignment","./utils/UNSAFE_interpolations/flexbox","./flexbox-83e878b1","./utils/UNSAFE_interpolations/flexitem","./flexitem-c406a7bb","./TextFieldInput-57f2d560","./hooks/UNSAFE_useTextFieldInputHandlers","./utils/PRIVATE_clientHints","./clientHints-0a14d5d8","./hooks/UNSAFE_useDebounce","./UNSAFE_LiveRegion","./UNSAFE_UserAssistance","./InlineHelpSource-466d3759","./UNSAFE_ComponentMessage","./ComponentMessage-3fae5a5b","./PRIVATE_Message","./utils/PRIVATE_timer","./MessageCloseButton-2ab50565","./UNSAFE_Button","./Button-9e2b5706","./UNSAFE_BaseButton","./BaseButton-21f35d61","./hooks/UNSAFE_usePress","./hooks/UNSAFE_useActive","./utils/UNSAFE_mergeProps","./index-5dbc066a","./index-efbc9ba1","./UNSAFE_Icon","./Icon-597b4544","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-f251f4e6","./index-c61f0d48","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-cfb8d533","./hooks/UNSAFE_useTheme","./MessageDetail-c3d3a0cf","./MessageFormattingUtils-a178900f","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-c7da3cbf","./Message.types-84dcb531","./MessageStartIcon-3d36c660","./MessageSummary-a4283ef2","./MessageTimestamp-e56a6681","./MessageUtils-a930918a","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./MessagesManager-4cf3413e","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useMessagesContext","./UNSAFE_HiddenAccessible","./HiddenAccessible-c1b8ec8e","./ComponentMessageContainer-2130cdd7","./UNSAFE_Grid","./utils/UNSAFE_interpolations/grid","./hooks/UNSAFE_useCurrentValueReducer"],function(e,s,t,o,i,a,n,u,l,F,A,_,U,r,E,N,S,c,d,f,b,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,ae,ne,ue,le,Fe,Ae,_e,Ue,re,Ee,Ne,Se,ce,de,fe,be,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
|
+
.ca69j9{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
|
+
._1ov6jss{opacity:.45;}
|
|
3
|
+
.ohl16h{color:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color-disabled);}
|
|
4
|
+
.zf4h9v{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
|
+
._1i66ddx{padding-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding);}
|
|
6
|
+
._4m76lx{padding-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding);}
|
|
7
|
+
._1lo820r{padding-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding);}
|
|
8
|
+
._5lxzf1{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-f9dd69a8"],function(s,e,i,a,t){"use strict";s.PrefixSuffix=function({hasEndContent:s,hasInsideLabel:i,hasStartContent:a,id:n,isDisabled:r,isFocused:d,text:f,variant:l}){const c="ca69j9",x="_1ov6jss",o="ohl16h",u="zf4h9v",h="_1i66ddx",_="_4m76lx",j="_1lo820r",p="_5lxzf1",m=t.classNames([c,"suffix"===l&&s&&_,i&&u,"prefix"===l&&a&&h,d&&x,r&&o,"prefix"===l&&!a&&j,"suffix"===l&&!s&&p]);return e.jsx("div",Object.assign({class:m,id:n},{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,WAAAA,EAAA,SAAAA,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,SAAAA,EAAA,WAAAA,EAAA,SAAAA,EAAA,SAAAA,EAAA,WAAAA,EAAA,UAAAA,EAAA,WAAAA,4BAkDEA,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"}
|