@oracle/oraclejet-preact 14.1.12 → 14.1.13
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-395a6a74.js +2 -0
- package/amd/{Badge-8ff2cf94.js.map → Badge-395a6a74.js.map} +1 -1
- package/amd/BaseButton-d993ff9c.js +2 -0
- package/amd/{BaseButton-ad209065.js.map → BaseButton-d993ff9c.js.map} +1 -1
- package/amd/Button-66583669.js +2 -0
- package/amd/{Button-91d1d81d.js.map → Button-66583669.js.map} +1 -1
- package/amd/Chip-4c66b259.js +2 -0
- package/amd/{Chip-95103689.js.map → Chip-4c66b259.js.map} +1 -1
- package/amd/ClearIcon-9ba8e458.js +2 -0
- package/amd/{ClearIcon-c3d6d99c.js.map → ClearIcon-9ba8e458.js.map} +1 -1
- package/amd/{Collection-4c905202.js → Collection-43b17338.js} +1 -1
- package/amd/{Collection-4c905202.js.map → Collection-43b17338.js.map} +1 -1
- package/amd/ComponentMessage-24314ba8.js +2 -0
- package/amd/{ComponentMessage-fae17309.js.map → ComponentMessage-24314ba8.js.map} +1 -1
- package/amd/{ComponentMessageContainer-76688ce8.js → ComponentMessageContainer-63fe8ed6.js} +2 -2
- package/amd/{ComponentMessageContainer-76688ce8.js.map → ComponentMessageContainer-63fe8ed6.js.map} +1 -1
- package/amd/Divider-7d65099e.js +2 -0
- package/amd/{Divider-f5cadc49.js.map → Divider-7d65099e.js.map} +1 -1
- package/amd/{FilePicker-ef0aba79.js → FilePicker-6a6c85ae.js} +2 -2
- package/amd/{FilePicker-ef0aba79.js.map → FilePicker-6a6c85ae.js.map} +1 -1
- package/amd/Flex-21cd9fc8.js +2 -0
- package/amd/{Flex-6371a66e.js.map → Flex-21cd9fc8.js.map} +1 -1
- package/amd/{Floating-fd3596ba.js → Floating-c37e7438.js} +2 -2
- package/amd/{Floating-fd3596ba.js.map → Floating-c37e7438.js.map} +1 -1
- package/amd/FocusTrap-9d8490c6.js +2 -0
- package/amd/{FocusTrap-fc22ca7f.js.map → FocusTrap-9d8490c6.js.map} +1 -1
- package/amd/FormControlUtils-ecaa8a09.js +2 -0
- package/amd/{FormControlUtils-89bbec0e.js.map → FormControlUtils-ecaa8a09.js.map} +1 -1
- package/amd/Heading-750802f1.js +2 -0
- package/amd/{Heading-8a696583.js.map → Heading-750802f1.js.map} +1 -1
- package/amd/{HiddenAccessible-5d3d6af2.js → HiddenAccessible-34e75cf9.js} +2 -2
- package/amd/{HiddenAccessible-5d3d6af2.js.map → HiddenAccessible-34e75cf9.js.map} +1 -1
- package/amd/HighlightText-7dada843.js +2 -0
- package/amd/{HighlightText-de1bf4e2.js.map → HighlightText-7dada843.js.map} +1 -1
- package/amd/Icon-79891c29.js +2 -0
- package/amd/{Icon-74af3581.js.map → Icon-79891c29.js.map} +1 -1
- package/amd/Indexer-c80dfffd.js +2 -0
- package/amd/{Indexer-8127ab0b.js.map → Indexer-c80dfffd.js.map} +1 -1
- package/amd/{InlineHelpSource-875a4918.js → InlineHelpSource-f0f08a0e.js} +2 -2
- package/amd/{InlineHelpSource-875a4918.js.map → InlineHelpSource-f0f08a0e.js.map} +1 -1
- package/amd/Link-cc6dea1d.js +2 -0
- package/amd/{Link-5791e5d2.js.map → Link-cc6dea1d.js.map} +1 -1
- package/amd/List-eb77fe66.js +2 -0
- package/amd/{List-96b73e43.js.map → List-eb77fe66.js.map} +1 -1
- package/amd/ListItemTextLayout-166a3b03.js +2 -0
- package/amd/{ListItemTextLayout-13f774d7.js.map → ListItemTextLayout-166a3b03.js.map} +1 -1
- package/amd/ListView-2aa8a781.js +2 -0
- package/amd/{ListView-e4ca850e.js.map → ListView-2aa8a781.js.map} +1 -1
- package/amd/{LoadMoreCollection-5a3b8603.js → LoadMoreCollection-4bf8d889.js} +2 -2
- package/amd/{LoadMoreCollection-5a3b8603.js.map → LoadMoreCollection-4bf8d889.js.map} +1 -1
- package/amd/Menu-faed49f9.js +2 -0
- package/amd/{Menu-e2d86969.js.map → Menu-faed49f9.js.map} +1 -1
- package/amd/MenuDivider-3e9c9b7c.js +2 -0
- package/amd/{MenuDivider-4be95253.js.map → MenuDivider-3e9c9b7c.js.map} +1 -1
- package/amd/MenuItem-3b0bb596.js +2 -0
- package/amd/{MenuItem-bfe0ea61.js.map → MenuItem-3b0bb596.js.map} +1 -1
- package/amd/{Message.types-dc4dcc2b.js → Message.types-a7125ef8.js} +1 -1
- package/amd/{Message.types-dc4dcc2b.js.map → Message.types-a7125ef8.js.map} +1 -1
- package/amd/MessageCloseButton-843802a0.js +2 -0
- package/amd/{MessageCloseButton-9761b231.js.map → MessageCloseButton-843802a0.js.map} +1 -1
- package/amd/MessageDetail-38b030d3.js +2 -0
- package/amd/{MessageDetail-231e34ef.js.map → MessageDetail-38b030d3.js.map} +1 -1
- package/amd/{MessageFormattingUtils-daf0e8f9.js → MessageFormattingUtils-b0381978.js} +2 -2
- package/amd/{MessageFormattingUtils-daf0e8f9.js.map → MessageFormattingUtils-b0381978.js.map} +1 -1
- package/amd/MessageLayer-79683b58.js +2 -0
- package/amd/{MessageLayer-12ae4390.js.map → MessageLayer-79683b58.js.map} +1 -1
- package/amd/MessageStartIcon-b7408f71.js +2 -0
- package/amd/{MessageStartIcon-8c35d9bf.js.map → MessageStartIcon-b7408f71.js.map} +1 -1
- package/amd/MessageSummary-63fc2b87.js +2 -0
- package/amd/{MessageSummary-65ddf192.js.map → MessageSummary-63fc2b87.js.map} +1 -1
- package/amd/MessageTimestamp-9521321d.js +2 -0
- package/amd/{MessageTimestamp-28a44775.js.map → MessageTimestamp-9521321d.js.map} +1 -1
- package/amd/{MessageToast-4091d475.js → MessageToast-1c1c4273.js} +2 -2
- package/amd/{MessageToast-4091d475.js.map → MessageToast-1c1c4273.js.map} +1 -1
- package/amd/{MessageUtils-2a44c5f1.js → MessageUtils-3deb9fc3.js} +2 -2
- package/amd/{MessageUtils-2a44c5f1.js.map → MessageUtils-3deb9fc3.js.map} +1 -1
- package/amd/MessagesManager-bdb2c23a.js +2 -0
- package/amd/{MessagesManager-3038f8bc.js.map → MessagesManager-bdb2c23a.js.map} +1 -1
- package/amd/MeterCircle-f6e9ad16.js +2 -0
- package/amd/{MeterCircle-74c0eff3.js.map → MeterCircle-f6e9ad16.js.map} +1 -1
- package/amd/Modal-dd33d5f6.js +2 -0
- package/amd/{Modal-f2d86779.js.map → Modal-dd33d5f6.js.map} +1 -1
- package/amd/{NumberInputText-10cb34fe.js → NumberInputText-1cb98493.js} +2 -2
- package/amd/{NumberInputText-10cb34fe.js.map → NumberInputText-1cb98493.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-9d5b97da.js +2 -0
- package/amd/{ReadonlyTextFieldInput-11f5ee65.js.map → ReadonlyTextFieldInput-9d5b97da.js.map} +1 -1
- package/amd/SelectMenuItem-a8b4e3c5.js +2 -0
- package/amd/{SelectMenuItem-4d6d9a13.js.map → SelectMenuItem-a8b4e3c5.js.map} +1 -1
- package/amd/SelectMultiple-50dbccfe.js +2 -0
- package/amd/{SelectMultiple-190f6a20.js.map → SelectMultiple-50dbccfe.js.map} +1 -1
- package/amd/{SelectSingle-21dc4cbc.js → SelectSingle-19ebc65b.js} +2 -2
- package/amd/{SelectSingle-21dc4cbc.js.map → SelectSingle-19ebc65b.js.map} +1 -1
- package/amd/Skeleton-bd3d41e5.js +2 -0
- package/amd/{Skeleton-68cdd7b6.js.map → Skeleton-bd3d41e5.js.map} +1 -1
- package/amd/{Spacer-c92d6c6a.js → Spacer-579d7235.js} +2 -2
- package/amd/{Spacer-c92d6c6a.js.map → Spacer-579d7235.js.map} +1 -1
- package/amd/SplitMenuButton-1ee29eec.js +2 -0
- package/amd/{SplitMenuButton-09096b77.js.map → SplitMenuButton-1ee29eec.js.map} +1 -1
- package/amd/Subheading-63df37e5.js +2 -0
- package/amd/{Subheading-c7304287.js.map → Subheading-63df37e5.js.map} +1 -1
- package/amd/Text-91b8dd26.js +2 -0
- package/amd/{Text-ab6d74dc.js.map → Text-91b8dd26.js.map} +1 -1
- package/amd/TextArea-d1e642d9.js +2 -0
- package/amd/{TextArea-dc934b4c.js.map → TextArea-d1e642d9.js.map} +1 -1
- package/amd/{TextAreaAutosize-900a808e.js → TextAreaAutosize-7b68b26e.js} +2 -2
- package/amd/{TextAreaAutosize-900a808e.js.map → TextAreaAutosize-7b68b26e.js.map} +1 -1
- package/amd/TextFieldInput-c1906a5e.js +2 -0
- package/amd/{TextFieldInput-f500e158.js.map → TextFieldInput-c1906a5e.js.map} +1 -1
- package/amd/UNSAFE_AspectRatio.css +1 -1
- package/amd/UNSAFE_AspectRatio.js +1 -1
- package/amd/UNSAFE_Avatar/__tests__/Avatar.spec.js +1 -1
- package/amd/UNSAFE_Avatar.css +8 -8
- package/amd/UNSAFE_Avatar.js +1 -1
- package/amd/UNSAFE_Avatar.js.map +1 -1
- package/amd/UNSAFE_Badge/__tests__/Badge.spec.js +1 -1
- package/amd/UNSAFE_Badge.css +13 -13
- package/amd/UNSAFE_Badge.js +1 -1
- package/amd/UNSAFE_BaseButton/__tests__/BaseButton.spec.js +1 -1
- package/amd/UNSAFE_BaseButton.css +15 -15
- package/amd/UNSAFE_BaseButton.js +1 -1
- package/amd/UNSAFE_Button/__tests__/Button.spec.js +1 -1
- package/amd/UNSAFE_Button.css +7 -7
- package/amd/UNSAFE_Button.js +1 -1
- package/amd/UNSAFE_Center.js +1 -1
- package/amd/UNSAFE_Chip/__tests__/Chip.spec.js +1 -1
- package/amd/UNSAFE_Chip.css +7 -7
- package/amd/UNSAFE_Chip.js +1 -1
- package/amd/UNSAFE_Collapsible.css +8 -8
- package/amd/UNSAFE_Collapsible.js +1 -1
- package/amd/UNSAFE_Collapsible.js.map +1 -1
- package/amd/UNSAFE_ComponentMessage/__tests__/ComponentMessage.spec.js +1 -1
- package/amd/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js +1 -1
- package/amd/UNSAFE_ComponentMessage.css +2 -2
- package/amd/UNSAFE_ComponentMessage.js +1 -1
- package/amd/UNSAFE_Divider/__tests__/Divider.spec.js +1 -1
- package/amd/UNSAFE_Divider.css +1 -1
- package/amd/UNSAFE_Divider.js +1 -1
- package/amd/UNSAFE_FilePicker/__tests__/FilePicker.spec.js +1 -1
- package/amd/UNSAFE_FilePicker.css +6 -6
- package/amd/UNSAFE_FilePicker.js +1 -1
- package/amd/UNSAFE_Flex/__tests__/Flex.spec.js +1 -1
- package/amd/UNSAFE_Flex.css +2 -2
- package/amd/UNSAFE_Flex.js +1 -1
- package/amd/UNSAFE_Floating/__tests__/Floating.spec.js +1 -1
- package/amd/UNSAFE_Floating.js +1 -1
- package/amd/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js +1 -1
- package/amd/UNSAFE_FocusTrap.css +2 -2
- package/amd/UNSAFE_FocusTrap.js +1 -1
- package/amd/UNSAFE_Grid.css +1 -1
- package/amd/UNSAFE_Grid.js +1 -1
- package/amd/UNSAFE_Grid.js.map +1 -1
- package/amd/UNSAFE_Heading/__test__/Heading.spec.js +1 -1
- package/amd/UNSAFE_Heading.css +9 -9
- package/amd/UNSAFE_Heading.js +1 -1
- package/amd/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js +1 -1
- package/amd/UNSAFE_HiddenAccessible.css +1 -1
- package/amd/UNSAFE_HiddenAccessible.js +1 -1
- package/amd/UNSAFE_HighlightText/__tests__/HighlightText.spec.js +1 -1
- package/amd/UNSAFE_HighlightText.css +1 -1
- package/amd/UNSAFE_HighlightText.js +1 -1
- package/amd/UNSAFE_Icon/__tests__/Icon.spec.js +1 -1
- package/amd/UNSAFE_Icon/__tests__/Icons.spec.js +1 -1
- package/amd/UNSAFE_Icon.css +8 -8
- package/amd/UNSAFE_Icon.js +1 -1
- package/amd/UNSAFE_Icons.js +1 -1
- package/amd/UNSAFE_Indexer/__tests__/Indexer.spec.js +1 -1
- package/amd/UNSAFE_Indexer.css +7 -7
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputPassword/__tests__/InputPassword.spec.js +1 -1
- package/amd/UNSAFE_InputPassword.css +1 -1
- package/amd/UNSAFE_InputPassword.js +1 -1
- package/amd/UNSAFE_InputPassword.js.map +1 -1
- package/amd/UNSAFE_InputText.css +1 -1
- package/amd/UNSAFE_InputText.js +1 -1
- package/amd/UNSAFE_Label.css +13 -13
- package/amd/UNSAFE_Label.js +1 -1
- package/amd/UNSAFE_Label.js.map +1 -1
- package/amd/UNSAFE_LabelValueLayout.css +9 -9
- package/amd/UNSAFE_LabelValueLayout.js +1 -1
- package/amd/UNSAFE_LabelValueLayout.js.map +1 -1
- package/amd/UNSAFE_Link/__tests__/Link.spec.js +1 -1
- package/amd/UNSAFE_Link.css +5 -5
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js +1 -1
- package/amd/UNSAFE_ListItemLayout.css +9 -9
- package/amd/UNSAFE_ListItemLayout.js +1 -1
- package/amd/UNSAFE_ListView/__tests__/ListView.spec.js +1 -1
- package/amd/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_LiveRegion.css +1 -1
- package/amd/UNSAFE_LiveRegion.js +1 -1
- package/amd/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js +1 -1
- package/amd/UNSAFE_LoadMoreCollection.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/Menu.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/MenuItem.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +1 -1
- package/amd/UNSAFE_Menu.css +23 -23
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +1 -1
- package/amd/UNSAFE_MessageToast.css +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +1 -1
- package/amd/UNSAFE_MeterBar.css +44 -44
- package/amd/UNSAFE_MeterBar.js +1 -1
- package/amd/UNSAFE_MeterBar.js.map +1 -1
- package/amd/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +1 -1
- package/amd/UNSAFE_MeterCircle.css +46 -46
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_Modal/__tests__/Modal.spec.js +1 -1
- package/amd/UNSAFE_Modal.css +3 -3
- package/amd/UNSAFE_Modal.js +1 -1
- package/amd/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +1 -1
- package/amd/UNSAFE_NumberInputText.js +1 -1
- package/amd/UNSAFE_PrefixSuffix.css +8 -8
- package/amd/UNSAFE_PrefixSuffix.js +1 -1
- package/amd/UNSAFE_PrefixSuffix.js.map +1 -1
- package/amd/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js +1 -1
- package/amd/UNSAFE_ProgressBar.css +6 -6
- package/amd/UNSAFE_ProgressBar.js +1 -1
- package/amd/UNSAFE_ProgressBar.js.map +1 -1
- package/amd/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +1 -1
- package/amd/UNSAFE_ProgressCircle.css +6 -6
- package/amd/UNSAFE_ProgressCircle.js +1 -1
- package/amd/UNSAFE_ProgressCircle.js.map +1 -1
- package/amd/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +1 -1
- package/amd/UNSAFE_RatingGauge.css +20 -20
- package/amd/UNSAFE_RatingGauge.js +1 -1
- package/amd/UNSAFE_RatingGauge.js.map +1 -1
- package/amd/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +1 -1
- package/amd/UNSAFE_SelectMultiple.css +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_Selector.css +5 -5
- package/amd/UNSAFE_Selector.js +1 -1
- package/amd/UNSAFE_Selector.js.map +1 -1
- package/amd/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +1 -1
- package/amd/UNSAFE_Skeleton.css +1 -1
- package/amd/UNSAFE_Skeleton.js +1 -1
- package/amd/UNSAFE_Spacer/__tests__/Spacer.spec.js +1 -1
- package/amd/UNSAFE_Spacer.js +1 -1
- package/amd/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +1 -1
- package/amd/UNSAFE_SplitMenuButton.css +5 -5
- package/amd/UNSAFE_SplitMenuButton.js +1 -1
- package/amd/UNSAFE_Subheading/__test__/Subheading.spec.js +1 -1
- package/amd/UNSAFE_Subheading.css +8 -8
- package/amd/UNSAFE_Subheading.js +1 -1
- package/amd/UNSAFE_Text/__tests__/Text.spec.js +1 -1
- package/amd/UNSAFE_Text.css +25 -25
- package/amd/UNSAFE_Text.js +1 -1
- package/amd/UNSAFE_TextArea/__tests__/TextArea.spec.js +1 -1
- package/amd/UNSAFE_TextArea.css +3 -3
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +1 -1
- package/amd/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +1 -1
- package/amd/UNSAFE_TextField.css +58 -58
- package/amd/UNSAFE_TextField.js +1 -1
- package/amd/UNSAFE_TextField.js.map +1 -1
- package/amd/UNSAFE_ThemedIcons.js +1 -1
- package/amd/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +1 -1
- package/amd/UNSAFE_UserAssistance.css +8 -8
- package/amd/UNSAFE_UserAssistance.js +1 -1
- package/amd/UNSAFE_UserAssistance.js.map +1 -1
- package/amd/UNSAFE_View/__tests__/View.spec.js +1 -1
- package/amd/UNSAFE_View.js +1 -1
- package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +1 -1
- package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/{VirtualizedCollection-ed812ab7.js → VirtualizedCollection-1ab02327.js} +2 -2
- package/amd/{VirtualizedCollection-ed812ab7.js.map → VirtualizedCollection-1ab02327.js.map} +1 -1
- package/amd/VirtualizedListView-77309dc2.js +2 -0
- package/amd/{VirtualizedListView-99c88eb4.js.map → VirtualizedListView-77309dc2.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-b656408f.js → _curry1-456aecf2.js} +1 -1
- package/amd/{_curry1-b656408f.js.map → _curry1-456aecf2.js.map} +1 -1
- package/amd/_curry2-4ecbab20.js +2 -0
- package/amd/{_curry2-a9053ee8.js.map → _curry2-4ecbab20.js.map} +1 -1
- package/amd/{_curry3-451f0a36.js → _curry3-8b2eecf3.js} +2 -2
- package/amd/{_curry3-451f0a36.js.map → _curry3-8b2eecf3.js.map} +1 -1
- package/amd/_has-0ea95e05.js +2 -0
- package/amd/{_has-a3b0d688.js.map → _has-0ea95e05.js.map} +1 -1
- package/amd/{classNames-e23e522a.js → classNames-0c3f7934.js} +1 -1
- package/amd/{classNames-e23e522a.js.map → classNames-0c3f7934.js.map} +1 -1
- package/amd/{clientHints-cbf4b34f.js → clientHints-c01e4af7.js} +1 -1
- package/amd/{clientHints-cbf4b34f.js.map → clientHints-c01e4af7.js.map} +1 -1
- package/amd/flexbox-87dc7db6.js +2 -0
- package/amd/{flexbox-1fede399.js.map → flexbox-87dc7db6.js.map} +1 -1
- package/amd/flexitem-e7a7db2e.js +2 -0
- package/amd/{flexitem-88bf97c7.js.map → flexitem-e7a7db2e.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-8c322165.js → index-21f680bc.js} +2 -2
- package/amd/{index-8c322165.js.map → index-21f680bc.js.map} +1 -1
- package/amd/{index-365ddeb3.js → index-98ac05a5.js} +2 -2
- package/amd/{index-365ddeb3.js.map → index-98ac05a5.js.map} +1 -1
- package/amd/{index-d7a7f3a5.js → index-d070224a.js} +1 -1
- package/amd/{index-d7a7f3a5.js.map → index-d070224a.js.map} +1 -1
- package/amd/{keys-c17276c4.js → keys-4e7b51c0.js} +2 -2
- package/amd/{keys-c17276c4.js.map → keys-4e7b51c0.js.map} +1 -1
- package/amd/{listViewSelectionTests-26f9efcc.js → listViewSelectionTests-c4c73a5a.js} +2 -2
- package/amd/{listViewSelectionTests-26f9efcc.js.map → listViewSelectionTests-c4c73a5a.js.map} +1 -1
- package/amd/{listViewTabbableModeTests-0b178c7e.js → listViewTabbableModeTests-983be258.js} +2 -2
- package/amd/{listViewTabbableModeTests-0b178c7e.js.map → listViewTabbableModeTests-983be258.js.map} +1 -1
- package/amd/{listViewTestFixtures-2e6127dc.js → listViewTestFixtures-9b7f5dd9.js} +1 -1
- package/amd/{listViewTestFixtures-2e6127dc.js.map → listViewTestFixtures-9b7f5dd9.js.map} +1 -1
- package/amd/{menuTestsUtils-b4a0008a.js → menuTestsUtils-6efea79e.js} +1 -1
- package/amd/{menuTestsUtils-b4a0008a.js.map → menuTestsUtils-6efea79e.js.map} +1 -1
- package/amd/{stringUtils-dfe8de67.js → stringUtils-7c915f7a.js} +1 -1
- package/amd/{stringUtils-dfe8de67.js.map → stringUtils-7c915f7a.js.map} +1 -1
- package/amd/{testHelpers-6511117b.js → testHelpers-6275aa7f.js} +1 -1
- package/amd/{testHelpers-6511117b.js.map → testHelpers-6275aa7f.js.map} +1 -1
- package/amd/{tslib.es6-7e0f14ee.js → tslib.es6-b7b0cb44.js} +1 -1
- package/amd/{tslib.es6-7e0f14ee.js.map → tslib.es6-b7b0cb44.js.map} +1 -1
- package/amd/useAnimation-0f9fbc2c.js +2 -0
- package/amd/{useAnimation-ed7baee1.js.map → useAnimation-0f9fbc2c.js.map} +1 -1
- package/amd/{useFocusWithin-9d11afb5.js → useFocusWithin-034af29e.js} +1 -1
- package/amd/{useFocusWithin-9d11afb5.js.map → useFocusWithin-034af29e.js.map} +1 -1
- package/amd/{useModal-53e3795c.js → useModal-aceb1277.js} +1 -1
- package/amd/{useModal-53e3795c.js.map → useModal-aceb1277.js.map} +1 -1
- package/amd/{useSingleSelection-fc18dcb9.js → useSingleSelection-f3a439dd.js} +1 -1
- package/amd/{useSingleSelection-fc18dcb9.js.map → useSingleSelection-f3a439dd.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-516eaf24.js → Badge-9305229b.js} +16 -16
- package/cjs/{Badge-516eaf24.js.map → Badge-9305229b.js.map} +1 -1
- package/cjs/{BaseButton-67685195.js → BaseButton-174c05d9.js} +20 -20
- package/cjs/{BaseButton-67685195.js.map → BaseButton-174c05d9.js.map} +1 -1
- package/cjs/{Button-60642ec0.js → Button-69951725.js} +12 -12
- package/cjs/{Button-60642ec0.js.map → Button-69951725.js.map} +1 -1
- package/cjs/{Chip-bf56ca63.js → Chip-66a63c53.js} +10 -10
- package/cjs/{Chip-bf56ca63.js.map → Chip-66a63c53.js.map} +1 -1
- package/cjs/{ClearIcon-76905041.js → ClearIcon-5d24dea9.js} +3 -3
- package/cjs/{ClearIcon-76905041.js.map → ClearIcon-5d24dea9.js.map} +1 -1
- package/cjs/{Collection-d90d6c02.js → Collection-23b58ab1.js} +2 -2
- package/cjs/{Collection-d90d6c02.js.map → Collection-23b58ab1.js.map} +1 -1
- package/cjs/{ComponentMessage-a31bfdd9.js → ComponentMessage-b29f077e.js} +8 -8
- package/cjs/{ComponentMessage-a31bfdd9.js.map → ComponentMessage-b29f077e.js.map} +1 -1
- package/cjs/{ComponentMessageContainer-0f867714.js → ComponentMessageContainer-0990a60e.js} +5 -5
- package/cjs/{ComponentMessageContainer-0f867714.js.map → ComponentMessageContainer-0990a60e.js.map} +1 -1
- package/cjs/{Divider-b4713277.js → Divider-f0df7a58.js} +3 -3
- package/cjs/{Divider-b4713277.js.map → Divider-f0df7a58.js.map} +1 -1
- package/cjs/{FilePicker-a21799d2.js → FilePicker-e60277aa.js} +14 -14
- package/cjs/{FilePicker-a21799d2.js.map → FilePicker-e60277aa.js.map} +1 -1
- package/cjs/{Flex-8adcefda.js → Flex-c3f5c955.js} +8 -8
- package/cjs/{Flex-8adcefda.js.map → Flex-c3f5c955.js.map} +1 -1
- package/cjs/{Floating-e4fd32d0.js → Floating-02f408c5.js} +3 -3
- package/cjs/{Floating-e4fd32d0.js.map → Floating-02f408c5.js.map} +1 -1
- package/cjs/{FocusTrap-3f3194b4.js → FocusTrap-8d2bae71.js} +5 -5
- package/cjs/{FocusTrap-3f3194b4.js.map → FocusTrap-8d2bae71.js.map} +1 -1
- package/cjs/{FormControlUtils-99854aca.js → FormControlUtils-2a0e6cf0.js} +5 -5
- package/cjs/{FormControlUtils-99854aca.js.map → FormControlUtils-2a0e6cf0.js.map} +1 -1
- package/cjs/{Heading-328346ad.js → Heading-94ecb1e6.js} +13 -13
- package/cjs/{Heading-328346ad.js.map → Heading-94ecb1e6.js.map} +1 -1
- package/cjs/{HiddenAccessible-8748e172.js → HiddenAccessible-48236ae2.js} +3 -3
- package/cjs/{HiddenAccessible-8748e172.js.map → HiddenAccessible-48236ae2.js.map} +1 -1
- package/cjs/{HighlightText-22bb41c3.js → HighlightText-bd66ba27.js} +3 -3
- package/cjs/{HighlightText-22bb41c3.js.map → HighlightText-bd66ba27.js.map} +1 -1
- package/cjs/{Icon-b9883d7d.js → Icon-4af810af.js} +11 -11
- package/cjs/{Icon-b9883d7d.js.map → Icon-4af810af.js.map} +1 -1
- package/cjs/{Indexer-05feba96.js → Indexer-e468a890.js} +16 -16
- package/cjs/{Indexer-05feba96.js.map → Indexer-e468a890.js.map} +1 -1
- package/cjs/{InlineHelpSource-14cab1d7.js → InlineHelpSource-fff8bbf6.js} +3 -3
- package/cjs/{InlineHelpSource-14cab1d7.js.map → InlineHelpSource-fff8bbf6.js.map} +1 -1
- package/cjs/{Link-e9a2c06a.js → Link-834066cb.js} +8 -8
- package/cjs/{Link-e9a2c06a.js.map → Link-834066cb.js.map} +1 -1
- package/cjs/{List-e6572a1a.js → List-4aa218ac.js} +23 -23
- package/cjs/{List-e6572a1a.js.map → List-4aa218ac.js.map} +1 -1
- package/cjs/{ListItemTextLayout-38ab9290.js → ListItemTextLayout-b2817185.js} +13 -13
- package/cjs/{ListItemTextLayout-38ab9290.js.map → ListItemTextLayout-b2817185.js.map} +1 -1
- package/cjs/{ListView-72350e40.js → ListView-e5853bcf.js} +3 -3
- package/cjs/{ListView-72350e40.js.map → ListView-e5853bcf.js.map} +1 -1
- package/cjs/{LoadMoreCollection-d41b2ef1.js → LoadMoreCollection-d9ebac40.js} +3 -3
- package/cjs/{LoadMoreCollection-d41b2ef1.js.map → LoadMoreCollection-d9ebac40.js.map} +1 -1
- package/cjs/{Menu-a18328d2.js → Menu-6b6b1df9.js} +16 -16
- package/cjs/{Menu-a18328d2.js.map → Menu-6b6b1df9.js.map} +1 -1
- package/cjs/{MenuDivider-30f8193f.js → MenuDivider-3077ffb6.js} +4 -4
- package/cjs/{MenuDivider-30f8193f.js.map → MenuDivider-3077ffb6.js.map} +1 -1
- package/cjs/{MenuItem-783fb134.js → MenuItem-2ae38ec4.js} +19 -19
- package/cjs/{MenuItem-783fb134.js.map → MenuItem-2ae38ec4.js.map} +1 -1
- package/cjs/{Message.types-26712e09.js → Message.types-461a3c99.js} +2 -2
- package/cjs/{Message.types-26712e09.js.map → Message.types-461a3c99.js.map} +1 -1
- package/cjs/{MessageCloseButton-5b583db5.js → MessageCloseButton-69a90ac2.js} +9 -9
- package/cjs/{MessageCloseButton-5b583db5.js.map → MessageCloseButton-69a90ac2.js.map} +1 -1
- package/cjs/{MessageDetail-1597d54c.js → MessageDetail-57a31de6.js} +7 -7
- package/cjs/{MessageDetail-1597d54c.js.map → MessageDetail-57a31de6.js.map} +1 -1
- package/cjs/{MessageFormattingUtils-4f6f379b.js → MessageFormattingUtils-93adf0e1.js} +4 -4
- package/cjs/{MessageFormattingUtils-4f6f379b.js.map → MessageFormattingUtils-93adf0e1.js.map} +1 -1
- package/cjs/{MessageLayer-a7099973.js → MessageLayer-4b347b95.js} +11 -11
- package/cjs/{MessageLayer-a7099973.js.map → MessageLayer-4b347b95.js.map} +1 -1
- package/cjs/{MessageStartIcon-332290c5.js → MessageStartIcon-394ba7bc.js} +11 -11
- package/cjs/{MessageStartIcon-332290c5.js.map → MessageStartIcon-394ba7bc.js.map} +1 -1
- package/cjs/{MessageSummary-f208a247.js → MessageSummary-c533bb50.js} +7 -7
- package/cjs/{MessageSummary-f208a247.js.map → MessageSummary-c533bb50.js.map} +1 -1
- package/cjs/{MessageTimestamp-8acc7447.js → MessageTimestamp-99efbb7e.js} +5 -5
- package/cjs/{MessageTimestamp-8acc7447.js.map → MessageTimestamp-99efbb7e.js.map} +1 -1
- package/cjs/{MessageToast-0452dfca.js → MessageToast-4c49f5a0.js} +9 -9
- package/cjs/{MessageToast-0452dfca.js.map → MessageToast-4c49f5a0.js.map} +1 -1
- package/cjs/{MessageUtils-059664ee.js → MessageUtils-b48e5d78.js} +3 -3
- package/cjs/{MessageUtils-059664ee.js.map → MessageUtils-b48e5d78.js.map} +1 -1
- package/cjs/{MessagesManager-d21e1b72.js → MessagesManager-e13a50f4.js} +4 -4
- package/cjs/{MessagesManager-d21e1b72.js.map → MessagesManager-e13a50f4.js.map} +1 -1
- package/cjs/{MeterCircle-ed7ab4c1.js → MeterCircle-eb8c6069.js} +50 -50
- package/cjs/{MeterCircle-ed7ab4c1.js.map → MeterCircle-eb8c6069.js.map} +1 -1
- package/cjs/{Modal-89af3015.js → Modal-f5025f2b.js} +7 -7
- package/cjs/{Modal-89af3015.js.map → Modal-f5025f2b.js.map} +1 -1
- package/cjs/{NumberInputText-61ace138.js → NumberInputText-103289f1.js} +7 -7
- package/cjs/{NumberInputText-61ace138.js.map → NumberInputText-103289f1.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-bd51f0be.js → ReadonlyTextFieldInput-8900ffa4.js} +13 -13
- package/cjs/{ReadonlyTextFieldInput-bd51f0be.js.map → ReadonlyTextFieldInput-8900ffa4.js.map} +1 -1
- package/cjs/{SelectMenuItem-fedc3a76.js → SelectMenuItem-7444bf2b.js} +5 -5
- package/cjs/{SelectMenuItem-fedc3a76.js.map → SelectMenuItem-7444bf2b.js.map} +1 -1
- package/cjs/{SelectMultiple-95f8d102.js → SelectMultiple-92180a4c.js} +8 -8
- package/cjs/{SelectMultiple-95f8d102.js.map → SelectMultiple-92180a4c.js.map} +1 -1
- package/cjs/{SelectSingle-e6022adb.js → SelectSingle-e11a7c4a.js} +4 -4
- package/cjs/{SelectSingle-e6022adb.js.map → SelectSingle-e11a7c4a.js.map} +1 -1
- package/cjs/{Skeleton-293b3946.js → Skeleton-e8570172.js} +5 -5
- package/cjs/{Skeleton-293b3946.js.map → Skeleton-e8570172.js.map} +1 -1
- package/cjs/{Spacer-54cee856.js → Spacer-62821ffa.js} +4 -4
- package/cjs/{Spacer-54cee856.js.map → Spacer-62821ffa.js.map} +1 -1
- package/cjs/{SplitMenuButton-18ee5f22.js → SplitMenuButton-28a5847a.js} +14 -14
- package/cjs/{SplitMenuButton-18ee5f22.js.map → SplitMenuButton-28a5847a.js.map} +1 -1
- package/cjs/{Subheading-1f3c82c5.js → Subheading-d33bf70c.js} +11 -11
- package/cjs/{Subheading-1f3c82c5.js.map → Subheading-d33bf70c.js.map} +1 -1
- package/cjs/{Text-429263d2.js → Text-7ca160f9.js} +28 -28
- package/cjs/{Text-429263d2.js.map → Text-7ca160f9.js.map} +1 -1
- package/cjs/{TextArea-d7110c6e.js → TextArea-795a6f93.js} +8 -8
- package/cjs/{TextArea-d7110c6e.js.map → TextArea-795a6f93.js.map} +1 -1
- package/cjs/{TextAreaAutosize-b7129c54.js → TextAreaAutosize-6488849d.js} +5 -5
- package/cjs/{TextAreaAutosize-b7129c54.js.map → TextAreaAutosize-6488849d.js.map} +1 -1
- package/cjs/{TextFieldInput-a8226638.js → TextFieldInput-5c86d180.js} +33 -33
- package/cjs/{TextFieldInput-a8226638.js.map → TextFieldInput-5c86d180.js.map} +1 -1
- package/cjs/UNSAFE_AspectRatio.js +8 -8
- package/cjs/UNSAFE_Avatar/__tests__/Avatar.spec.js +3 -3
- package/cjs/UNSAFE_Avatar.js +11 -11
- package/cjs/UNSAFE_Avatar.js.map +1 -1
- package/cjs/UNSAFE_Badge/__tests__/Badge.spec.js +3 -3
- package/cjs/UNSAFE_Badge.js +3 -3
- package/cjs/UNSAFE_BaseButton/__tests__/BaseButton.spec.js +9 -9
- package/cjs/UNSAFE_BaseButton.js +9 -9
- package/cjs/UNSAFE_Button/__tests__/Button.spec.js +10 -10
- package/cjs/UNSAFE_Button.js +10 -10
- package/cjs/UNSAFE_Center.js +11 -11
- package/cjs/UNSAFE_Chip/__tests__/Chip.spec.js +3 -3
- package/cjs/UNSAFE_Chip.js +3 -3
- package/cjs/UNSAFE_Collapsible.js +26 -26
- package/cjs/UNSAFE_Collapsible.js.map +1 -1
- package/cjs/UNSAFE_Collection.js +1 -1
- package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessage.spec.js +32 -32
- package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js +33 -33
- package/cjs/UNSAFE_ComponentMessage.js +33 -33
- package/cjs/UNSAFE_Divider/__tests__/Divider.spec.js +7 -7
- package/cjs/UNSAFE_Divider.js +7 -7
- package/cjs/UNSAFE_EmptyList.js +1 -1
- package/cjs/UNSAFE_Environment/__tests__/Environment.spec.js +1 -1
- package/cjs/UNSAFE_Environment.js +1 -1
- package/cjs/UNSAFE_FilePicker/__tests__/FilePicker.spec.js +14 -14
- package/cjs/UNSAFE_FilePicker.js +14 -14
- package/cjs/UNSAFE_Flex/__tests__/Flex.spec.js +11 -11
- package/cjs/UNSAFE_Flex.js +11 -11
- package/cjs/UNSAFE_Floating/__tests__/Floating.spec.js +3 -3
- package/cjs/UNSAFE_Floating.js +3 -3
- package/cjs/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js +6 -6
- package/cjs/UNSAFE_FocusTrap.js +6 -6
- package/cjs/UNSAFE_Grid.js +9 -9
- package/cjs/UNSAFE_Grid.js.map +1 -1
- package/cjs/UNSAFE_Heading/__test__/Heading.spec.js +11 -11
- package/cjs/UNSAFE_Heading.js +9 -9
- package/cjs/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js +12 -12
- package/cjs/UNSAFE_HiddenAccessible.js +2 -2
- package/cjs/UNSAFE_HighlightText/__tests__/HighlightText.spec.js +2 -2
- package/cjs/UNSAFE_HighlightText.js +2 -2
- package/cjs/UNSAFE_Icon/__tests__/Icon.spec.js +8 -8
- package/cjs/UNSAFE_Icon/__tests__/Icons.spec.js +9 -9
- package/cjs/UNSAFE_Icon.js +7 -7
- package/cjs/UNSAFE_Icons.js +8 -8
- package/cjs/UNSAFE_Indexer/__tests__/Indexer.spec.js +16 -16
- package/cjs/UNSAFE_Indexer.js +16 -16
- package/cjs/UNSAFE_InputPassword/__tests__/InputPassword.spec.js +39 -39
- package/cjs/UNSAFE_InputPassword.js +40 -40
- package/cjs/UNSAFE_InputText.js +39 -39
- package/cjs/UNSAFE_Label.js +16 -16
- package/cjs/UNSAFE_Label.js.map +1 -1
- package/cjs/UNSAFE_LabelValueLayout.js +20 -20
- package/cjs/UNSAFE_LabelValueLayout.js.map +1 -1
- package/cjs/UNSAFE_Layer.js +1 -1
- package/cjs/UNSAFE_Link/__tests__/Link.spec.js +3 -3
- package/cjs/UNSAFE_Link.js +3 -3
- package/cjs/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js +10 -10
- package/cjs/UNSAFE_ListItemLayout.js +10 -10
- package/cjs/UNSAFE_ListView/__tests__/ListView.spec.js +27 -27
- package/cjs/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js +27 -27
- package/cjs/UNSAFE_ListView.js +24 -24
- package/cjs/UNSAFE_LiveRegion.js +2 -2
- package/cjs/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js +3 -3
- package/cjs/UNSAFE_LoadMoreCollection.js +3 -3
- package/cjs/UNSAFE_Menu/__tests__/Menu.spec.js +19 -19
- package/cjs/UNSAFE_Menu/__tests__/MenuItem.spec.js +11 -11
- package/cjs/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +18 -18
- package/cjs/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +22 -22
- package/cjs/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +22 -22
- package/cjs/UNSAFE_Menu.js +16 -16
- package/cjs/UNSAFE_MessageBanner.js +30 -30
- package/cjs/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +33 -33
- package/cjs/UNSAFE_MessageToast.js +33 -33
- package/cjs/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +7 -7
- package/cjs/UNSAFE_MeterBar.js +50 -50
- package/cjs/UNSAFE_MeterBar.js.map +1 -1
- package/cjs/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +8 -8
- package/cjs/UNSAFE_MeterCircle.js +7 -7
- package/cjs/UNSAFE_Modal/__tests__/Modal.spec.js +8 -8
- package/cjs/UNSAFE_Modal.js +8 -8
- package/cjs/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +39 -39
- package/cjs/UNSAFE_NumberInputText.js +39 -39
- package/cjs/UNSAFE_PrefixSuffix.js +10 -10
- package/cjs/UNSAFE_PrefixSuffix.js.map +1 -1
- package/cjs/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js +3 -3
- package/cjs/UNSAFE_ProgressBar.js +9 -9
- package/cjs/UNSAFE_ProgressBar.js.map +1 -1
- package/cjs/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +3 -3
- package/cjs/UNSAFE_ProgressCircle.js +9 -9
- package/cjs/UNSAFE_ProgressCircle.js.map +1 -1
- package/cjs/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +7 -7
- package/cjs/UNSAFE_RatingGauge.js +26 -26
- package/cjs/UNSAFE_RatingGauge.js.map +1 -1
- package/cjs/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +47 -47
- package/cjs/UNSAFE_SelectMultiple.js +47 -47
- package/cjs/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +46 -46
- package/cjs/UNSAFE_SelectSingle.js +46 -46
- package/cjs/UNSAFE_Selector.js +22 -22
- package/cjs/UNSAFE_Selector.js.map +1 -1
- package/cjs/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +8 -8
- package/cjs/UNSAFE_Skeleton.js +8 -8
- package/cjs/UNSAFE_Spacer/__tests__/Spacer.spec.js +10 -10
- package/cjs/UNSAFE_Spacer.js +10 -10
- package/cjs/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +23 -23
- package/cjs/UNSAFE_SplitMenuButton.js +23 -23
- package/cjs/UNSAFE_Subheading/__test__/Subheading.spec.js +10 -10
- package/cjs/UNSAFE_Subheading.js +8 -8
- package/cjs/UNSAFE_Text/__tests__/Text.spec.js +8 -8
- package/cjs/UNSAFE_Text.js +8 -8
- package/cjs/UNSAFE_TextArea/__tests__/TextArea.spec.js +39 -39
- package/cjs/UNSAFE_TextArea.js +39 -39
- package/cjs/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +40 -40
- package/cjs/UNSAFE_TextAreaAutosize.js +40 -40
- package/cjs/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +10 -10
- package/cjs/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +11 -11
- package/cjs/UNSAFE_TextField.js +35 -35
- package/cjs/UNSAFE_TextField.js.map +1 -1
- package/cjs/UNSAFE_ThemedIcons.js +9 -9
- package/cjs/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +2 -2
- package/cjs/UNSAFE_UserAssistance.js +41 -41
- package/cjs/UNSAFE_UserAssistance.js.map +1 -1
- package/cjs/UNSAFE_View/__tests__/View.spec.js +9 -9
- package/cjs/UNSAFE_View.js +9 -9
- package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +27 -27
- package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +27 -27
- package/cjs/UNSAFE_VirtualizedListView.js +24 -24
- package/cjs/UNSAFE_WindowOverlay.js +1 -1
- package/cjs/{VirtualizedCollection-b4ff9efe.js → VirtualizedCollection-cbcb3ab0.js} +3 -3
- package/cjs/{VirtualizedCollection-b4ff9efe.js.map → VirtualizedCollection-cbcb3ab0.js.map} +1 -1
- package/cjs/{VirtualizedListView-5e391573.js → VirtualizedListView-f6af77bc.js} +3 -3
- package/cjs/{VirtualizedListView-5e391573.js.map → VirtualizedListView-f6af77bc.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-35039e54.js → _curry1-4a2b563d.js} +2 -2
- package/cjs/{_curry1-35039e54.js.map → _curry1-4a2b563d.js.map} +1 -1
- package/cjs/{_curry2-76e523bc.js → _curry2-8b285990.js} +3 -3
- package/cjs/{_curry2-76e523bc.js.map → _curry2-8b285990.js.map} +1 -1
- package/cjs/{_curry3-e72b63d8.js → _curry3-1a9cd79d.js} +4 -4
- package/cjs/{_curry3-e72b63d8.js.map → _curry3-1a9cd79d.js.map} +1 -1
- package/cjs/{_has-75b68b14.js → _has-4b92c9ae.js} +3 -3
- package/cjs/{_has-75b68b14.js.map → _has-4b92c9ae.js.map} +1 -1
- package/cjs/{classNames-627e416b.js → classNames-82c1bda1.js} +2 -2
- package/cjs/{classNames-627e416b.js.map → classNames-82c1bda1.js.map} +1 -1
- package/cjs/{clientHints-12b76025.js → clientHints-efdc524f.js} +2 -2
- package/cjs/{clientHints-12b76025.js.map → clientHints-efdc524f.js.map} +1 -1
- package/cjs/{flexbox-344a4b6d.js → flexbox-15b25f06.js} +10 -10
- package/cjs/{flexbox-344a4b6d.js.map → flexbox-15b25f06.js.map} +1 -1
- package/cjs/{flexitem-79359f72.js → flexitem-af4b2875.js} +10 -10
- package/cjs/{flexitem-79359f72.js.map → flexitem-af4b2875.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-d1c91ef7.js → index-28a7396d.js} +2 -2
- package/cjs/{index-d1c91ef7.js.map → index-28a7396d.js.map} +1 -1
- package/cjs/{index-8716aaf0.js → index-5ea446b0.js} +3 -3
- package/cjs/{index-8716aaf0.js.map → index-5ea446b0.js.map} +1 -1
- package/cjs/{index-f0719a25.js → index-eda4324f.js} +3 -3
- package/cjs/{index-f0719a25.js.map → index-eda4324f.js.map} +1 -1
- package/cjs/{keys-ba04e49a.js → keys-df4911d9.js} +4 -4
- package/cjs/{keys-ba04e49a.js.map → keys-df4911d9.js.map} +1 -1
- package/cjs/{listViewSelectionTests-f28facbe.js → listViewSelectionTests-4ff5a3b6.js} +4 -4
- package/cjs/{listViewSelectionTests-f28facbe.js.map → listViewSelectionTests-4ff5a3b6.js.map} +1 -1
- package/cjs/{listViewTabbableModeTests-ecc6a1d6.js → listViewTabbableModeTests-30a822c8.js} +4 -4
- package/cjs/{listViewTabbableModeTests-ecc6a1d6.js.map → listViewTabbableModeTests-30a822c8.js.map} +1 -1
- package/cjs/{listViewTestFixtures-d77529d2.js → listViewTestFixtures-e3d31a19.js} +2 -2
- package/cjs/{listViewTestFixtures-d77529d2.js.map → listViewTestFixtures-e3d31a19.js.map} +1 -1
- package/cjs/{menuTestsUtils-4c537616.js → menuTestsUtils-6920627d.js} +2 -2
- package/cjs/{menuTestsUtils-4c537616.js.map → menuTestsUtils-6920627d.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-f686952b.js → stringUtils-42d9814a.js} +2 -2
- package/cjs/{stringUtils-f686952b.js.map → stringUtils-42d9814a.js.map} +1 -1
- package/cjs/{testHelpers-2de1fdf9.js → testHelpers-0d754715.js} +2 -2
- package/cjs/{testHelpers-2de1fdf9.js.map → testHelpers-0d754715.js.map} +1 -1
- package/cjs/translationBundle/__tests__/translationBundle.spec.js +1 -1
- package/cjs/translationBundle.js +1 -1
- package/cjs/{tslib.es6-6bcecd0b.js → tslib.es6-5de231c4.js} +2 -2
- package/cjs/{tslib.es6-6bcecd0b.js.map → tslib.es6-5de231c4.js.map} +1 -1
- package/cjs/{useAnimation-f159e7c6.js → useAnimation-c2824bad.js} +3 -3
- package/cjs/{useAnimation-f159e7c6.js.map → useAnimation-c2824bad.js.map} +1 -1
- package/cjs/{useFocusWithin-1337b63d.js → useFocusWithin-a41e04d7.js} +2 -2
- package/cjs/{useFocusWithin-1337b63d.js.map → useFocusWithin-a41e04d7.js.map} +1 -1
- package/cjs/{useModal-a71a6750.js → useModal-7fdbf66d.js} +2 -2
- package/cjs/{useModal-a71a6750.js.map → useModal-7fdbf66d.js.map} +1 -1
- package/cjs/{useSingleSelection-1abf7fcd.js → useSingleSelection-7da777d1.js} +2 -2
- package/cjs/{useSingleSelection-1abf7fcd.js.map → useSingleSelection-7da777d1.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_interpolations/text.js.map +1 -1
- 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-c7a7df6d.js → ClearIcon-172ea14c.js} +3 -3
- package/es/{ClearIcon-c7a7df6d.js.map → ClearIcon-172ea14c.js.map} +1 -1
- package/es/{LoadMoreCollection-b3269ff4.js → LoadMoreCollection-7b38f71d.js} +2 -2
- package/es/{LoadMoreCollection-b3269ff4.js.map → LoadMoreCollection-7b38f71d.js.map} +1 -1
- package/es/PRIVATE_Collection.js +1 -1
- package/es/PRIVATE_List.css +15 -15
- package/es/PRIVATE_List.js +24 -24
- package/es/PRIVATE_List.js.map +1 -1
- package/es/PRIVATE_Message.css +27 -27
- package/es/PRIVATE_Message.js +35 -35
- package/es/PRIVATE_Message.js.map +1 -1
- package/es/PRIVATE_MessageLayer.css +7 -7
- package/es/PRIVATE_MessageLayer.js +14 -14
- package/es/PRIVATE_MessageLayer.js.map +1 -1
- package/es/PRIVATE_Meter.js +2 -2
- package/es/PRIVATE_SelectCommon.css +13 -13
- package/es/PRIVATE_SelectCommon.js +22 -22
- package/es/PRIVATE_SelectCommon.js.map +1 -1
- package/es/PRIVATE_TransitionGroup.js +1 -1
- package/es/PRIVATE_VirtualizedCollection.js +1 -1
- package/es/UNSAFE_AspectRatio.css +1 -1
- package/es/UNSAFE_AspectRatio.js +7 -7
- package/es/UNSAFE_Avatar.css +8 -8
- package/es/UNSAFE_Avatar.js +10 -10
- package/es/UNSAFE_Avatar.js.map +1 -1
- package/es/UNSAFE_Badge.css +13 -13
- package/es/UNSAFE_Badge.js +14 -14
- package/es/UNSAFE_Badge.js.map +1 -1
- package/es/UNSAFE_BaseButton.css +15 -15
- package/es/UNSAFE_BaseButton.js +21 -21
- package/es/UNSAFE_BaseButton.js.map +1 -1
- package/es/UNSAFE_Button.css +7 -7
- package/es/UNSAFE_Button.js +13 -13
- package/es/UNSAFE_Button.js.map +1 -1
- package/es/UNSAFE_Center.js +7 -7
- package/es/UNSAFE_Chip.css +7 -7
- package/es/UNSAFE_Chip.js +8 -8
- package/es/UNSAFE_Chip.js.map +1 -1
- package/es/UNSAFE_Collapsible.css +8 -8
- package/es/UNSAFE_Collapsible.js +16 -16
- package/es/UNSAFE_Collapsible.js.map +1 -1
- package/es/UNSAFE_Collection.js +1 -1
- package/es/UNSAFE_ComponentMessage.css +2 -2
- package/es/UNSAFE_ComponentMessage.js +10 -10
- package/es/UNSAFE_ComponentMessage.js.map +1 -1
- package/es/UNSAFE_Divider.css +1 -1
- package/es/UNSAFE_Divider.js +6 -6
- package/es/UNSAFE_EmptyList.js +1 -1
- package/es/UNSAFE_Environment.js +1 -1
- package/es/UNSAFE_FilePicker.css +6 -6
- package/es/UNSAFE_FilePicker.js +13 -13
- package/es/UNSAFE_FilePicker.js.map +1 -1
- package/es/UNSAFE_Flex.css +2 -2
- package/es/UNSAFE_Flex.js +9 -9
- package/es/UNSAFE_Flex.js.map +1 -1
- package/es/UNSAFE_Floating.js +2 -2
- package/es/UNSAFE_FocusTrap.css +2 -2
- package/es/UNSAFE_FocusTrap.js +6 -6
- package/es/UNSAFE_FocusTrap.js.map +1 -1
- package/es/UNSAFE_Grid.css +1 -1
- package/es/UNSAFE_Grid.js +8 -8
- package/es/UNSAFE_Grid.js.map +1 -1
- package/es/UNSAFE_Heading.css +9 -9
- package/es/UNSAFE_Heading.js +16 -16
- package/es/UNSAFE_Heading.js.map +1 -1
- package/es/UNSAFE_HiddenAccessible.css +1 -1
- package/es/UNSAFE_HiddenAccessible.js +2 -2
- package/es/UNSAFE_HiddenAccessible.js.map +1 -1
- package/es/UNSAFE_HighlightText.css +1 -1
- package/es/UNSAFE_HighlightText.js +2 -2
- package/es/UNSAFE_HighlightText.js.map +1 -1
- package/es/UNSAFE_Icon.css +8 -8
- package/es/UNSAFE_Icon.js +11 -11
- package/es/UNSAFE_Icon.js.map +1 -1
- package/es/UNSAFE_Icons.js +3 -3
- package/es/UNSAFE_Indexer.css +7 -7
- package/es/UNSAFE_Indexer.js +15 -15
- package/es/UNSAFE_InputPassword.css +1 -1
- package/es/UNSAFE_InputPassword.js +10 -10
- package/es/UNSAFE_InputText.css +1 -1
- package/es/UNSAFE_InputText.js +9 -9
- package/es/UNSAFE_Label.css +13 -13
- package/es/UNSAFE_Label.js +15 -15
- package/es/UNSAFE_Label.js.map +1 -1
- package/es/UNSAFE_LabelValueLayout.css +9 -9
- package/es/UNSAFE_LabelValueLayout.js +16 -16
- package/es/UNSAFE_LabelValueLayout.js.map +1 -1
- package/es/UNSAFE_Layer.js +1 -1
- package/es/UNSAFE_Link.css +5 -5
- package/es/UNSAFE_Link.js +6 -6
- package/es/UNSAFE_Link.js.map +1 -1
- package/es/UNSAFE_ListItemLayout.css +9 -9
- package/es/UNSAFE_ListItemLayout.js +16 -16
- package/es/UNSAFE_ListItemLayout.js.map +1 -1
- package/es/UNSAFE_ListView.js +9 -9
- package/es/UNSAFE_LiveRegion.css +1 -1
- package/es/UNSAFE_LiveRegion.js +2 -2
- package/es/UNSAFE_LoadMoreCollection.js +2 -2
- package/es/UNSAFE_Menu.css +23 -23
- package/es/UNSAFE_Menu.js +31 -31
- package/es/UNSAFE_Menu.js.map +1 -1
- package/es/UNSAFE_MessageBanner.js +8 -8
- package/es/UNSAFE_MessageToast.css +1 -1
- package/es/UNSAFE_MessageToast.js +9 -9
- package/es/UNSAFE_MeterBar.css +44 -44
- package/es/UNSAFE_MeterBar.js +47 -47
- package/es/UNSAFE_MeterBar.js.map +1 -1
- package/es/UNSAFE_MeterCircle.css +46 -46
- package/es/UNSAFE_MeterCircle.js +49 -49
- package/es/UNSAFE_MeterCircle.js.map +1 -1
- package/es/UNSAFE_Modal.css +3 -3
- package/es/UNSAFE_Modal.js +8 -8
- package/es/UNSAFE_NumberInputText.js +8 -8
- package/es/UNSAFE_PrefixSuffix.css +8 -8
- package/es/UNSAFE_PrefixSuffix.js +9 -9
- package/es/UNSAFE_PrefixSuffix.js.map +1 -1
- package/es/UNSAFE_ProgressBar.css +6 -6
- package/es/UNSAFE_ProgressBar.js +8 -8
- package/es/UNSAFE_ProgressBar.js.map +1 -1
- package/es/UNSAFE_ProgressCircle.css +6 -6
- package/es/UNSAFE_ProgressCircle.js +8 -8
- package/es/UNSAFE_ProgressCircle.js.map +1 -1
- package/es/UNSAFE_RatingGauge.css +20 -20
- package/es/UNSAFE_RatingGauge.js +23 -23
- package/es/UNSAFE_RatingGauge.js.map +1 -1
- package/es/UNSAFE_SelectMultiple.css +1 -1
- package/es/UNSAFE_SelectMultiple.js +10 -10
- package/es/UNSAFE_SelectMultiple.js.map +1 -1
- package/es/UNSAFE_SelectSingle.js +9 -9
- package/es/UNSAFE_Selector.css +5 -5
- package/es/UNSAFE_Selector.js +13 -13
- package/es/UNSAFE_Selector.js.map +1 -1
- package/es/UNSAFE_Skeleton.css +1 -1
- package/es/UNSAFE_Skeleton.js +7 -7
- package/es/UNSAFE_Spacer.js +7 -7
- package/es/UNSAFE_SplitMenuButton.css +5 -5
- package/es/UNSAFE_SplitMenuButton.js +13 -13
- package/es/UNSAFE_SplitMenuButton.js.map +1 -1
- package/es/UNSAFE_Subheading.css +8 -8
- package/es/UNSAFE_Subheading.js +14 -14
- package/es/UNSAFE_Subheading.js.map +1 -1
- package/es/UNSAFE_Text.css +25 -25
- package/es/UNSAFE_Text.js +31 -31
- package/es/UNSAFE_Text.js.map +1 -1
- package/es/UNSAFE_TextArea.css +3 -3
- package/es/UNSAFE_TextArea.js +11 -11
- package/es/UNSAFE_TextAreaAutosize.js +8 -8
- package/es/UNSAFE_TextField.css +58 -58
- package/es/UNSAFE_TextField.js +65 -65
- package/es/UNSAFE_TextField.js.map +1 -1
- package/es/UNSAFE_ThemedIcons.js +3 -3
- package/es/UNSAFE_UserAssistance.css +8 -8
- package/es/UNSAFE_UserAssistance.js +16 -16
- package/es/UNSAFE_UserAssistance.js.map +1 -1
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +9 -9
- package/es/UNSAFE_WindowOverlay.js +1 -1
- package/es/{_curry1-0c5ef247.js → _curry1-fb454e58.js} +2 -2
- package/es/{_curry1-0c5ef247.js.map → _curry1-fb454e58.js.map} +1 -1
- package/es/{_curry2-4aba9981.js → _curry2-7a71d5d4.js} +3 -3
- package/es/{_curry2-4aba9981.js.map → _curry2-7a71d5d4.js.map} +1 -1
- package/es/{_curry3-4ba62816.js → _curry3-8336cc21.js} +4 -4
- package/es/{_curry3-4ba62816.js.map → _curry3-8336cc21.js.map} +1 -1
- package/es/{_has-6b23f721.js → _has-ae8757cb.js} +3 -3
- package/es/{_has-6b23f721.js.map → _has-ae8757cb.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-3b1fe1db.js → index-7edfa153.js} +2 -2
- package/es/{index-3b1fe1db.js.map → index-7edfa153.js.map} +1 -1
- package/es/{keys-59f06777.js → keys-cab92c76.js} +4 -4
- package/es/{keys-59f06777.js.map → keys-cab92c76.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-5dbdc1a2.js → tslib.es6-5ac77683.js} +2 -2
- package/es/{tslib.es6-5dbdc1a2.js.map → tslib.es6-5ac77683.js.map} +1 -1
- package/es/{useModal-77510702.js → useModal-fe76aabd.js} +2 -2
- package/es/{useModal-77510702.js.map → useModal-fe76aabd.js.map} +1 -1
- package/es/{useSingleSelection-66e46058.js → useSingleSelection-2e4d9ab5.js} +2 -2
- package/es/{useSingleSelection-66e46058.js.map → useSingleSelection-2e4d9ab5.js.map} +1 -1
- package/es/utils/PRIVATE_clientHints.js +1 -1
- package/es/utils/PRIVATE_collectionUtils.js +1 -1
- package/es/utils/PRIVATE_dvtTestUtils.js +1 -1
- package/es/utils/PRIVATE_floatingUtils.js +1 -1
- package/es/utils/PRIVATE_meterUtils.js +1 -1
- package/es/utils/PRIVATE_refUtils.js +1 -1
- package/es/utils/PRIVATE_tabbableUtils.js +4 -4
- package/es/utils/PRIVATE_timer.js +1 -1
- package/es/utils/UNSAFE_arrayUtils.js +1 -1
- package/es/utils/UNSAFE_attributeUtils.js +1 -1
- package/es/utils/UNSAFE_classNames.js +1 -1
- package/es/utils/UNSAFE_componentUtils.js +1 -1
- package/es/utils/UNSAFE_dataProvider.js +1 -1
- package/es/utils/UNSAFE_dvtCommonUtils.js +1 -1
- package/es/utils/UNSAFE_filePickerUtils.js +1 -1
- package/es/utils/UNSAFE_getLocale.js +1 -1
- package/es/utils/UNSAFE_interpolations/aria.js +1 -1
- package/es/utils/UNSAFE_interpolations/borders.js +1 -1
- package/es/utils/UNSAFE_interpolations/boxalignment.css +15 -15
- package/es/utils/UNSAFE_interpolations/boxalignment.js +19 -19
- package/es/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
- package/es/utils/UNSAFE_interpolations/colors.js +1 -1
- package/es/utils/UNSAFE_interpolations/dimensions.js +2 -2
- package/es/utils/UNSAFE_interpolations/flexbox.css +7 -7
- package/es/utils/UNSAFE_interpolations/flexbox.js +11 -11
- package/es/utils/UNSAFE_interpolations/flexbox.js.map +1 -1
- package/es/utils/UNSAFE_interpolations/flexitem.css +7 -7
- package/es/utils/UNSAFE_interpolations/flexitem.js +11 -11
- package/es/utils/UNSAFE_interpolations/flexitem.js.map +1 -1
- package/es/utils/UNSAFE_interpolations/grid.js +1 -1
- package/es/utils/UNSAFE_interpolations/griditem.js +1 -1
- package/es/utils/UNSAFE_interpolations/padding.js +1 -1
- package/es/utils/UNSAFE_interpolations/text.css +3 -3
- package/es/utils/UNSAFE_interpolations/text.js +7 -7
- package/es/utils/UNSAFE_interpolations/text.js.map +1 -1
- 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-8ff2cf94.js +0 -2
- package/amd/BaseButton-ad209065.js +0 -2
- package/amd/Button-91d1d81d.js +0 -2
- package/amd/Chip-95103689.js +0 -2
- package/amd/ClearIcon-c3d6d99c.js +0 -2
- package/amd/ComponentMessage-fae17309.js +0 -2
- package/amd/Divider-f5cadc49.js +0 -2
- package/amd/Flex-6371a66e.js +0 -2
- package/amd/FocusTrap-fc22ca7f.js +0 -2
- package/amd/FormControlUtils-89bbec0e.js +0 -2
- package/amd/Heading-8a696583.js +0 -2
- package/amd/HighlightText-de1bf4e2.js +0 -2
- package/amd/Icon-74af3581.js +0 -2
- package/amd/Indexer-8127ab0b.js +0 -2
- package/amd/Link-5791e5d2.js +0 -2
- package/amd/List-96b73e43.js +0 -2
- package/amd/ListItemTextLayout-13f774d7.js +0 -2
- package/amd/ListView-e4ca850e.js +0 -2
- package/amd/Menu-e2d86969.js +0 -2
- package/amd/MenuDivider-4be95253.js +0 -2
- package/amd/MenuItem-bfe0ea61.js +0 -2
- package/amd/MessageCloseButton-9761b231.js +0 -2
- package/amd/MessageDetail-231e34ef.js +0 -2
- package/amd/MessageLayer-12ae4390.js +0 -2
- package/amd/MessageStartIcon-8c35d9bf.js +0 -2
- package/amd/MessageSummary-65ddf192.js +0 -2
- package/amd/MessageTimestamp-28a44775.js +0 -2
- package/amd/MessagesManager-3038f8bc.js +0 -2
- package/amd/MeterCircle-74c0eff3.js +0 -2
- package/amd/Modal-f2d86779.js +0 -2
- package/amd/ReadonlyTextFieldInput-11f5ee65.js +0 -2
- package/amd/SelectMenuItem-4d6d9a13.js +0 -2
- package/amd/SelectMultiple-190f6a20.js +0 -2
- package/amd/Skeleton-68cdd7b6.js +0 -2
- package/amd/SplitMenuButton-09096b77.js +0 -2
- package/amd/Subheading-c7304287.js +0 -2
- package/amd/Text-ab6d74dc.js +0 -2
- package/amd/TextArea-dc934b4c.js +0 -2
- package/amd/TextFieldInput-f500e158.js +0 -2
- package/amd/VirtualizedListView-99c88eb4.js +0 -2
- package/amd/_curry2-a9053ee8.js +0 -2
- package/amd/_has-a3b0d688.js +0 -2
- package/amd/flexbox-1fede399.js +0 -2
- package/amd/flexitem-88bf97c7.js +0 -2
- package/amd/useAnimation-ed7baee1.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["require","preact/jsx-runtime","@testing-library/preact","chai","../../MeterCircle-74c0eff3","../../utils/UNSAFE_matchTranslationBundle","../../UNSAFE_Environment","@testing-library/user-event","../../utils/PRIVATE_clientHints","../../clientHints-cbf4b34f","../../tslib.es6-7e0f14ee","../../hooks/UNSAFE_useUser","preact/hooks","preact","../../UNSAFE_Layer","preact/compat","css!./../../UNSAFE_MeterCircle.css","../../utils/UNSAFE_mergeProps","../../utils/UNSAFE_classNames","../../classNames-e23e522a","../../PRIVATE_Meter","../../utils/PRIVATE_meterUtils","../../utils/UNSAFE_dvtCommonUtils","../../hooks/PRIVATE_useDvtMeterEvents","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-fd3596ba","../../index-d7a7f3a5","../../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-ed7baee1","../../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-f6e9ad16","../../utils/UNSAFE_matchTranslationBundle","../../UNSAFE_Environment","@testing-library/user-event","../../utils/PRIVATE_clientHints","../../clientHints-c01e4af7","../../tslib.es6-b7b0cb44","../../hooks/UNSAFE_useUser","preact/hooks","preact","../../UNSAFE_Layer","preact/compat","css!./../../UNSAFE_MeterCircle.css","../../utils/UNSAFE_mergeProps","../../utils/UNSAFE_classNames","../../classNames-0c3f7934","../../PRIVATE_Meter","../../utils/PRIVATE_meterUtils","../../utils/UNSAFE_dvtCommonUtils","../../hooks/PRIVATE_useDvtMeterEvents","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-c37e7438","../../index-d070224a","../../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-0f9fbc2c","../../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
|
+
._1t8ok2t{display:inline-block;pointer-events:none;}
|
|
2
|
+
._1nccng7{touch-action:none;}._1nccng7:focus-visible{outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-style:dotted;outline-width:1px;}
|
|
3
|
+
._1grw1ow{border-radius:50%;}
|
|
4
|
+
.qnlkb5{border-radius:50% 50% 0 0 / 100% 100% 0 0;border-bottom:0;}
|
|
5
|
+
._1xukn63{border-radius:0% 0% 50% 50% / 0% 0% 100% 100%;border-top:0;}
|
|
6
|
+
._19dekb{border-radius:0 100% 100% 0 / 0% 50% 50% 0%;border-left:0;}
|
|
7
|
+
._1qgomrt{border-radius:100% 0 0 100% / 50% 0 0 50%;border-right:0;}
|
|
8
|
+
.kw03ao{margin:1rem 1rem 0 1rem;}
|
|
9
|
+
.rurm45{margin:0.75rem 0.75rem 0 0.75rem;}
|
|
10
|
+
._1nd13cq{margin:0.5rem 0.5rem 0 0.5rem;}
|
|
11
|
+
.gffroq{margin:0 1rem 1rem 1rem;}
|
|
12
|
+
._1v3h3v5{margin:0 0.75rem 0.75rem 0.75rem;}
|
|
13
|
+
.x37a5c{margin:0 0.5rem 0.5rem 0.5rem;}
|
|
14
|
+
._1mai8qj{margin:1rem 0 1rem 1rem;}
|
|
15
|
+
._1eaod2i{margin:0.75rem 0 0.75rem 0.75rem;}
|
|
16
|
+
.hdtewe{margin:0.5rem 0 0.5rem 0.5rem;}
|
|
17
|
+
._3a8zf1{margin:1rem 1rem 1rem 0;}
|
|
18
|
+
._4iaavx{margin:0.75rem 0.75rem 0.75rem 0;}
|
|
19
|
+
._1vrmxjb{margin:0.5rem 0.5rem 0.5rem 0;}
|
|
20
|
+
.zurkld{margin:1rem;}
|
|
21
|
+
._1tvsv2k{margin:0.75rem;}
|
|
22
|
+
.go3eah{margin:0.5rem;}
|
|
23
|
+
._1nmfesg{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
|
+
._139v9df{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
|
+
._9wk7ru{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
|
+
._15p0ucs{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
|
+
._1453bg1{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
|
+
.pbffut{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
|
+
.fi41j{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
|
+
._1yzkg4k{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
|
+
._1dv520o{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
|
+
._1oktggc{pointer-events:none;width:100%;height:100%;line-height:initial;}
|
|
33
|
+
.epcq1v{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-threshold-color);}
|
|
34
|
+
._1d47s0c > *{margin-top:0 !important;margin-bottom:0 !important;margin-left:0 !important;margin-right:0 !important;}
|
|
35
|
+
._1eilkm5{position:relative;box-sizing:border-box;cursor:pointer;pointer-events:auto;}
|
|
36
|
+
.dq25fp{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
|
+
._4dadtc{border-width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-sm-track-size);}
|
|
38
|
+
._1yz936x{border-width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-md-track-size);}
|
|
39
|
+
.sijsbv{border-width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-lg-track-size);}
|
|
40
|
+
._197fzye{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
|
+
._10w4c04{border-radius:50%;top:50%;left:50%;translate:-50% -50%;}
|
|
42
|
+
._12wzomq{top:100%;left:50%;translate:-50% -100%;}
|
|
43
|
+
._1ghf88t{top:50%;translate:0 -50%;}
|
|
44
|
+
._1b13th6{left:100%;top:50%;translate:-100% -50%;}
|
|
45
|
+
._1qz1dhb{left:50%;translate:-50% 0;}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
._115u6{height:2px;position:absolute;transform-origin:0 50%;background-clip:padding-box;}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./MeterCircle-
|
|
1
|
+
define(["exports","./MeterCircle-f6e9ad16","./tslib.es6-b7b0cb44","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-0c3f7934","./PRIVATE_Meter","./utils/PRIVATE_meterUtils","./utils/UNSAFE_dvtCommonUtils","./hooks/PRIVATE_useDvtMeterEvents","./hooks/UNSAFE_useTooltip","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-c37e7438","./index-d070224a","./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-0f9fbc2c","./hooks/UNSAFE_useTabbableMode"],function(e,s,o,t,i,l,r,u,a,A,E,_,U,c,F,n,N,S,h,k,m,d,b,f,p,T,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-dd33d5f6","preact/compat","../../useModal-aceb1277","../../UNSAFE_FocusTrap","../../FocusTrap-9d8490c6","../../utils/UNSAFE_classNames","../../classNames-0c3f7934","css!./../../UNSAFE_Modal.css","../../utils/PRIVATE_tabbableUtils","../../_curry1-456aecf2","../../_curry2-4ecbab20","../../_curry3-8b2eecf3"],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
|
+
._1eqmber{position:fixed;top:0;right:0;bottom:0;left:0;}
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.oaeyxn{position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5);}
|
|
4
4
|
|
|
5
|
-
.
|
|
5
|
+
.hd7khq{position:absolute;inset:0;background-color:transparent;height:100%;margin:0 auto;max-width:calc(100% - 0.01px) !important;display:flex;align-items:center;justify-content:center;}
|
package/amd/UNSAFE_Modal.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./Modal-
|
|
1
|
+
define(["exports","./Modal-dd33d5f6","preact/jsx-runtime","./useModal-aceb1277","preact/compat","./UNSAFE_FocusTrap","./FocusTrap-9d8490c6","preact","./utils/UNSAFE_classNames","./classNames-0c3f7934","css!./UNSAFE_Modal.css","./utils/PRIVATE_tabbableUtils","./_curry1-456aecf2","./_curry2-4ecbab20","./_curry3-8b2eecf3","./UNSAFE_Layer"],function(e,a,c,r,s,t,l,u,d,o,i,_,b,p,f,n){"use strict";e.Modal=a.Modal,Object.defineProperty(e,"__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-10cb34fe","preact/hooks","../../hooks/UNSAFE_useFormContext","../../UNSAFE_Environment","../../utils/UNSAFE_matchTranslationBundle","preact","preact/compat","../../hooks/UNSAFE_useFocusableTextField","../../tslib.es6-7e0f14ee","../../hooks/UNSAFE_useFocusWithin","../../useFocusWithin-9d11afb5","../../hooks/UNSAFE_useFormFieldContext","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useTextField","../../hooks/UNSAFE_useId","../../UNSAFE_Label","../../utils/UNSAFE_classNames","../../classNames-e23e522a",'module',"../../hooks/UNSAFE_usePrefixSuffix","../../UNSAFE_PrefixSuffix","../../hooks/UNSAFE_useUser","../../UNSAFE_Layer","../../UNSAFE_TextField","../../ReadonlyTextFieldInput-11f5ee65","../../hooks/UNSAFE_useTabbableMode","../../utils/UNSAFE_interpolations/text","../../keys-c17276c4","../../_curry1-b656408f","../../_has-a3b0d688","../../utils/UNSAFE_mergeInterpolations","../../_curry3-451f0a36","../../_curry2-a9053ee8","../../FormControlUtils-89bbec0e","../../hooks/UNSAFE_useTranslationBundle","../../UNSAFE_LabelValueLayout","../../UNSAFE_Flex","../../Flex-6371a66e","../../utils/UNSAFE_interpolations/dimensions","../../utils/UNSAFE_arrayUtils","../../utils/UNSAFE_size","../../utils/UNSAFE_interpolations/boxalignment","../../utils/UNSAFE_interpolations/flexbox","../../flexbox-1fede399","../../utils/UNSAFE_interpolations/flexitem","../../flexitem-88bf97c7","../../TextFieldInput-f500e158","../../hooks/UNSAFE_useTextFieldInputHandlers","../../utils/PRIVATE_clientHints","../../clientHints-cbf4b34f","../../hooks/UNSAFE_useDebounce","../../UNSAFE_LiveRegion","../../UNSAFE_UserAssistance","../../InlineHelpSource-875a4918","../../UNSAFE_ComponentMessage","../../ComponentMessage-fae17309","../../PRIVATE_Message","../../utils/PRIVATE_timer","../../MessageCloseButton-9761b231","../../UNSAFE_Button","../../Button-91d1d81d","../../UNSAFE_BaseButton","../../BaseButton-ad209065","../../hooks/UNSAFE_usePress","../../hooks/UNSAFE_useActive","../../utils/UNSAFE_mergeProps","../../index-365ddeb3","../../index-8c322165","../../UNSAFE_Icon","../../Icon-74af3581","../../hooks/UNSAFE_useTooltip","../../UNSAFE_Floating","../../Floating-fd3596ba","../../index-d7a7f3a5","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-ed7baee1","../../hooks/UNSAFE_useTheme","../../MessageDetail-231e34ef","../../MessageFormattingUtils-daf0e8f9","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-dfe8de67","../../Message.types-dc4dcc2b","../../MessageStartIcon-8c35d9bf","../../MessageSummary-65ddf192","../../MessageTimestamp-28a44775","../../MessageUtils-2a44c5f1","../../utils/UNSAFE_logger","../../utils/UNSAFE_soundUtils","../../MessagesManager-3038f8bc","../../PRIVATE_TransitionGroup","../../hooks/UNSAFE_useMessagesContext","../../UNSAFE_HiddenAccessible","../../HiddenAccessible-5d3d6af2","../../ComponentMessageContainer-76688ce8","../../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-1cb98493","preact/hooks","../../hooks/UNSAFE_useFormContext","../../UNSAFE_Environment","../../utils/UNSAFE_matchTranslationBundle","preact","preact/compat","../../hooks/UNSAFE_useFocusableTextField","../../tslib.es6-b7b0cb44","../../hooks/UNSAFE_useFocusWithin","../../useFocusWithin-034af29e","../../hooks/UNSAFE_useFormFieldContext","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useTextField","../../hooks/UNSAFE_useId","../../UNSAFE_Label","../../utils/UNSAFE_classNames","../../classNames-0c3f7934",'module',"../../hooks/UNSAFE_usePrefixSuffix","../../UNSAFE_PrefixSuffix","../../hooks/UNSAFE_useUser","../../UNSAFE_Layer","../../UNSAFE_TextField","../../ReadonlyTextFieldInput-9d5b97da","../../hooks/UNSAFE_useTabbableMode","../../utils/UNSAFE_interpolations/text","../../keys-4e7b51c0","../../_curry1-456aecf2","../../_has-0ea95e05","../../utils/UNSAFE_mergeInterpolations","../../_curry3-8b2eecf3","../../_curry2-4ecbab20","../../FormControlUtils-ecaa8a09","../../hooks/UNSAFE_useTranslationBundle","../../UNSAFE_LabelValueLayout","../../UNSAFE_Flex","../../Flex-21cd9fc8","../../utils/UNSAFE_interpolations/dimensions","../../utils/UNSAFE_arrayUtils","../../utils/UNSAFE_size","../../utils/UNSAFE_interpolations/boxalignment","../../utils/UNSAFE_interpolations/flexbox","../../flexbox-87dc7db6","../../utils/UNSAFE_interpolations/flexitem","../../flexitem-e7a7db2e","../../TextFieldInput-c1906a5e","../../hooks/UNSAFE_useTextFieldInputHandlers","../../utils/PRIVATE_clientHints","../../clientHints-c01e4af7","../../hooks/UNSAFE_useDebounce","../../UNSAFE_LiveRegion","../../UNSAFE_UserAssistance","../../InlineHelpSource-f0f08a0e","../../UNSAFE_ComponentMessage","../../ComponentMessage-24314ba8","../../PRIVATE_Message","../../utils/PRIVATE_timer","../../MessageCloseButton-843802a0","../../UNSAFE_Button","../../Button-66583669","../../UNSAFE_BaseButton","../../BaseButton-d993ff9c","../../hooks/UNSAFE_usePress","../../hooks/UNSAFE_useActive","../../utils/UNSAFE_mergeProps","../../index-98ac05a5","../../index-21f680bc","../../UNSAFE_Icon","../../Icon-79891c29","../../hooks/UNSAFE_useTooltip","../../UNSAFE_Floating","../../Floating-c37e7438","../../index-d070224a","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-0f9fbc2c","../../hooks/UNSAFE_useTheme","../../MessageDetail-38b030d3","../../MessageFormattingUtils-b0381978","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-7c915f7a","../../Message.types-a7125ef8","../../MessageStartIcon-b7408f71","../../MessageSummary-63fc2b87","../../MessageTimestamp-9521321d","../../MessageUtils-3deb9fc3","../../utils/UNSAFE_logger","../../utils/UNSAFE_soundUtils","../../MessagesManager-bdb2c23a","../../PRIVATE_TransitionGroup","../../hooks/UNSAFE_useMessagesContext","../../UNSAFE_HiddenAccessible","../../HiddenAccessible-34e75cf9","../../ComponentMessageContainer-63fe8ed6","../../UNSAFE_Grid","../../utils/UNSAFE_interpolations/grid","../../hooks/UNSAFE_useCurrentValueReducer"],function(e,n,t,s,r,u,o,l,i,a,c,d,b,p,x,m,f,v,h,S,g,A,N,w,E,y,F,U,P,T,I,_,k,j,q,R,C,V,D,M,O,B,W,H,L,z,X,$,G,J,K,Q,Y,Z,ee,ne,te,se,re,ue,oe,le,ie,ae,ce,de,be,pe,xe,me,fe,ve,he,Se,ge,Ae,Ne,we,Ee,ye,Fe,Ue,Pe,Te,Ie,_e,ke,je,qe,Re,Ce,Ve,De,Me,Oe,Be,We,He,Le,ze,Xe,$e,Ge,Je,Ke,Qe,Ye,Ze,en){"use strict";function nn(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var tn=nn(r);u.NumberInputText;const sn=({assistiveText:e,helpSourceLink:t,helpSourceText:s,isDisabled:r,isReadonly:l,isRequired:i,label:a,labelEdge:c,messages:d,placeholder:b,prefix:p,suffix:x,textAlign:m,userAssistanceDensity:f,value:v,variant:h})=>{const[S,g]=o.useState(null!=v?v:""),A=o.useCallback(e=>{var n;S!==e.value&&g(null!==(n=e.value)&&void 0!==n?n:"")},[S]),[N,w]=o.useState(null!=v?v:""),E=o.useCallback(e=>{var n;N!==e.value&&w(null!==(n=e.value)&&void 0!==n?n:"")},[N]),y=""===N?void 0:+N;return n.jsx(u.NumberInputText,{ariaValueNow:y,ariaValueText:N,assistiveText:e,helpSourceLink:t,helpSourceText:s,isDisabled:r,isReadonly:l,isRequired:i,isRequiredShown:i&&""===N,label:a,labelEdge:c,messages:d,onCommit:E,onInput:A,placeholder:b,prefix:p,suffix:x,textAlign:m,userAssistanceDensity:f,value:S,variant:h})},rn=e=>n.jsx("div",Object.assign({style:{backgroundColor:"aliceblue",border:"yellow dotted 2px",boxSizing:"border-box",color:"orangered",height:"80px",minWidth:"6em",textAlign:"right",width:"25em"}},{children:n.jsx(sn,Object.assign({label:"Input Number"},e))}));rn.args={isDisabled:!1,isReadonly:!1,labelEdge:"none",placeholder:"Enter value",textAlign:void 0,variant:"embedded"},rn.parameters={controls:{include:[...Object.keys(rn.args)]}};const un=()=>{const e=e=>parseInt(e.replace(/[^\d]+/gi,"")),t=10,s=100,[r,l]=o.useState("10"),i=o.useCallback(e=>{var n;r!==e.value&&l(null!==(n=e.value)&&void 0!==n?n:"")},[r]),[a,c]=o.useState(10),d=o.useCallback(n=>{var t;const s=e(null!==(t=n.value)&&void 0!==t?t:""),u=Number.isNaN(s)?"":s.toString();r!==u&&l(u),a!==s&&c(s)},[r,a]),b=o.useCallback(n=>{l(r=>{const u=((e,n)=>{if(Number.isNaN(e))return t;const r=e%5;let u;return u=0!==r?"increase"===n?e+(5-r):e-r:"increase"===n?e+5:e-5,u>s?s:u<t?t:u})(e(r),n.direction);return c(u),u.toString()})},[]),p=NaN!==a?a>s?[{severity:"error",detail:"Enter 100 or a lower number."}]:a<t?[{severity:"error",detail:"Enter 10 or a higher number."}]:[]:[],x=Number.isNaN(a)?void 0:a,m=Number.isNaN(a)?void 0:a.toString();return n.jsxs(n.Fragment,{children:[n.jsx("h4",{children:"Step Buttons"}),n.jsx(u.NumberInputText,{ariaValueMax:s,ariaValueMin:t,ariaValueNow:x,ariaValueText:m,assistiveText:"Enter a number between 10 and 100",hasSteppers:!0,isStepDownDisabled:a<=t,isStepUpDisabled:a>=s,label:"min=10, max=100, step=5",messages:p,onCommit:d,onInput:i,onSpin:b,onStep:b,value:r})]})};async function on(){const n=a.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:t}=await function(n){switch(n){case"../../resources/nls/ar/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ar/bundle"],n,t)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ar-XB/bundle"],n,t)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/bg/bundle"],n,t)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/bs/bundle"],n,t)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/bs-Cyrl/bundle"],n,t)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/cs/bundle"],n,t)});case"../../resources/nls/da/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/da/bundle"],n,t)});case"../../resources/nls/de/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/de/bundle"],n,t)});case"../../resources/nls/el/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/el/bundle"],n,t)});case"../../resources/nls/en/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/en/bundle"],n,t)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/en-XA/bundle"],n,t)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/en-XC/bundle"],n,t)});case"../../resources/nls/es/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/es/bundle"],n,t)});case"../../resources/nls/et/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/et/bundle"],n,t)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/fi/bundle"],n,t)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/fr/bundle"],n,t)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/fr-CA/bundle"],n,t)});case"../../resources/nls/he/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/he/bundle"],n,t)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/hr/bundle"],n,t)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/hu/bundle"],n,t)});case"../../resources/nls/is/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/is/bundle"],n,t)});case"../../resources/nls/it/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/it/bundle"],n,t)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ja/bundle"],n,t)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ko/bundle"],n,t)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/lt/bundle"],n,t)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/lv/bundle"],n,t)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ms/bundle"],n,t)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/nl/bundle"],n,t)});case"../../resources/nls/no/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/no/bundle"],n,t)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/pl/bundle"],n,t)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/pt/bundle"],n,t)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/pt-PT/bundle"],n,t)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ro/bundle"],n,t)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ru/bundle"],n,t)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sk/bundle"],n,t)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sl/bundle"],n,t)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sr/bundle"],n,t)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sr-Latn/bundle"],n,t)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sv/bundle"],n,t)});case"../../resources/nls/th/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/th/bundle"],n,t)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/tr/bundle"],n,t)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/uk/bundle"],n,t)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/vi/bundle"],n,t)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/zh-Hans/bundle"],n,t)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/zh-Hant/bundle"],n,t)});default:return new Promise(function(e,t){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(t.bind(null,new Error("Unknown variable dynamic import: "+n)))})}}(`../../resources/nls/${n}/bundle.ts`);return{translations:{"@oracle/oraclejet-preact":t}}}const ln=()=>{};describe("Test NumberInputText",()=>{it("Renders",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{label:"mylabel",onInput:ln})),r=e.querySelector("input");s.expect(r).not.to.be.null}),it("Does not have spinbutton role if no steppers are shown",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{label:"mylabel",onInput:ln})),r=e.querySelector("[role=spinbutton]");s.expect(r).to.be.null}),afterEach(t.cleanup)}),describe("Test NumberInputText aria-value attributes",()=>{it("Adds aria-valuemin and aria-valuemax when enabled",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{ariaValueMin:0,ariaValueMax:100,label:"min=0, max=100",onInput:ln})),r=e.querySelector("input"),o=null==r?void 0:r.getAttribute("aria-valuemin"),l=null==r?void 0:r.getAttribute("aria-valuemax");s.expect(o).to.equal("0"),s.expect(l).to.equal("100")}),it("Adds aria-valuemin and aria-valuemax when disabled",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{ariaValueMin:0,ariaValueMax:100,isDisabled:!0,label:"min=0, max=100",onInput:ln})),r=e.querySelector("input"),o=null==r?void 0:r.getAttribute("aria-valuemin"),l=null==r?void 0:r.getAttribute("aria-valuemax");s.expect(o).to.equal("0"),s.expect(l).to.equal("100")}),it("Does not add aria-valuemin and aria-valuemax when readonly",function(){const{getByText:e}=t.render(n.jsx(u.NumberInputText,{ariaValueMin:0,ariaValueMax:100,isReadonly:!0,label:"min=0, max=100",onInput:ln,value:"25"})),r=e("25"),o=r.getAttribute("aria-valuemin"),l=r.getAttribute("aria-valuemax");s.expect(o).to.be.null,s.expect(l).to.be.null}),it("Adds aria-valuenow and aria-valuetext when enabled",function(){const e="$500",{container:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,label:"min=0, max=1000",onInput:ln,value:e})),o=r.querySelector("input"),l=null==o?void 0:o.getAttribute("aria-valuenow"),i=null==o?void 0:o.getAttribute("aria-valuetext");s.expect(l).to.equal("500"),s.expect(i).to.equal(e)}),it("Adds aria-valuenow and aria-valuetext when disabled",function(){const e="$500",{container:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,isDisabled:!0,label:"min=0, max=1000",onInput:ln,value:e})),o=r.querySelector("input"),l=null==o?void 0:o.getAttribute("aria-valuenow"),i=null==o?void 0:o.getAttribute("aria-valuetext");s.expect(l).to.equal("500"),s.expect(i).to.equal(e)}),it("Does not add aria-valuenow and aria-valuetext when readonly",function(){const e="$500",{getByText:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,isReadonly:!0,label:"min=0, max=1000",onInput:ln,value:e})),o=r(e),l=o.getAttribute("aria-valuenow"),i=o.getAttribute("aria-valuetext");s.expect(l).to.be.null,s.expect(i).to.be.null}),it("Does not add aria-valuetext when it is the same as aria-valuenow",function(){const e="500",{container:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,label:"min=0, max=1000",onInput:ln,value:e})),o=r.querySelector("input"),l=null==o?void 0:o.getAttribute("aria-valuenow"),i=null==o?void 0:o.getAttribute("aria-valuetext");s.expect(l).to.equal(e),s.expect(i).to.be.null}),afterEach(t.cleanup)}),describe("Test NumberInputText steppers",()=>{let e;beforeEach(async function(){e=null!=e?e:await on()}),afterEach(t.cleanup);const r=e=>null==e?void 0:e.querySelector('button[title="Increase"]'),o=e=>null==e?void 0:e.querySelector('button[title="Decrease"]');it("If hasSteppers=true and control is enabled, steppers are present and role is spinbutton",function(){const{container:l,getByRole:a}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,label:"mylabel",onInput:ln})}))),c=a("spinbutton");s.expect(c).not.to.be.null,s.expect(null==c?void 0:c.tagName.toUpperCase()).to.equal("INPUT");const d=r(l),b=o(l);s.expect(d).not.to.be.null,s.expect(b).not.to.be.null}),it("If hasSteppers=true and control is disabled, steppers are present and role is spinbutton",function(){const{container:l,getByRole:a}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isDisabled:!0,label:"mylabel",onInput:ln})}))),c=a("spinbutton");s.expect(c).not.to.be.null,s.expect(null==c?void 0:c.tagName.toUpperCase()).to.equal("INPUT");const d=r(l),b=o(l);s.expect(d).not.to.be.null,s.expect(b).not.to.be.null}),it("If hasSteppers=true and control is readonly, no steppers or spinbutton role",function(){const{container:l}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isReadonly:!0,label:"mylabel",onInput:ln})}))),a=l.querySelector("[role=spinbutton]");s.expect(a).to.be.null;const c=r(l),d=o(l);s.expect(c).to.be.null,s.expect(d).to.be.null}),it("Step buttons are shown with correct tabindex and title",function(){const{container:l}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,label:"mylabel",onInput:ln})}))),a=r(l),c=o(l);s.expect(null==a?void 0:a.getAttribute("tabindex")).to.equal("-1"),s.expect(null==c?void 0:c.getAttribute("tabindex")).to.equal("-1"),s.expect(null==a?void 0:a.getAttribute("title")).to.equal("Increase"),s.expect(null==c?void 0:c.getAttribute("title")).to.equal("Decrease")}),it("Step buttons can be disabled",function(){const{container:l}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isStepDownDisabled:!0,isStepUpDisabled:!0,label:"mylabel",onInput:ln})}))),a=r(l),c=o(l);s.expect(a).not.to.be.null,s.expect(c).not.to.be.null;const d=null==a?void 0:a.getAttribute("disabled"),b=null==c?void 0:c.getAttribute("disabled");s.expect(d).not.to.be.null,s.expect(b).not.to.be.null}),it("If number input is disabled, the steppers are disabled",function(){const{container:l}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isDisabled:!0,label:"mylabel",onInput:ln})}))),a=r(l),c=o(l);s.expect(a).not.to.be.null,s.expect(c).not.to.be.null;const d=null==a?void 0:a.getAttribute("disabled"),b=null==c?void 0:c.getAttribute("disabled");s.expect(d).not.to.be.null,s.expect(b).not.to.be.null})}),describe("Test NumberInputText stepping functionality",()=>{let e;beforeEach(async function(){e=null!=e?e:await on()}),afterEach(t.cleanup);const r=e=>null==e?void 0:e.querySelector('button[title="Increase"]'),u=e=>null==e?void 0:e.querySelector('button[title="Decrease"]');it("Can step up/down by clicking on steppers",function(){const{container:o}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),l=r(o),a=u(o),c=o.querySelector("input");t.fireEvent.click(l),t.fireEvent.click(l),t.fireEvent.click(l),s.expect(c.value).to.equal("25"),t.fireEvent.click(a),s.expect(c.value).to.equal("20")}),it("Can step up/down by pressing the arrow keys",async function(){const{container:r}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),u=r.querySelector("input");s.expect(u).not.to.be.null,u.focus(),tn.default.keyboard("[ARROWUP]"),await t.waitFor(()=>s.expect(u.value).equals("15")),tn.default.keyboard("[ARROWDOWN]"),await t.waitFor(()=>s.expect(u.value).equals("10"))}),it("Clicking step down or pressing arrow down does nothing when disabled",async function(){const{container:r}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),o=r.querySelector("input"),l=u(r);s.expect(o).not.to.be.null,s.expect(l).not.to.be.null;t.fireEvent.click(l),s.expect(o.value).to.equal("10"),o.focus(),tn.default.keyboard("[ARROWDOWN]"),await t.waitFor(()=>s.expect(o.value).equals("10"))}),it("Clicking step up or pressing arrow up does nothing when disabled",async function(){const{container:u}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsxs(n.Fragment,{children:[n.jsx(un,{}),n.jsx("button",Object.assign({class:"testclickmebutton"},{children:"Click me"}))]})}))),o=u.querySelector("input"),l=r(u),a=u.querySelector(".testclickmebutton");s.expect(o).not.to.be.null,s.expect(l).not.to.be.null,s.expect(a).not.to.be.null;const c="100";o.focus(),o.value=c,a.focus(),s.expect(o.value).to.equal(c),t.fireEvent.click(l),s.expect(o.value).to.equal(c),o.focus(),tn.default.keyboard("[ARROWUP]"),await t.waitFor(()=>s.expect(o.value).equals(c))})}),describe("Test NumberInputText spinning functionality",()=>{let e;beforeEach(async function(){e=null!=e?e:await on()}),afterEach(t.cleanup),it("Can spin by holding down the arrow keys",async function(){const{container:r}=t.render(n.jsx(i.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),u=r.querySelector("input");s.expect(u).not.to.be.null,u.focus(),tn.default.keyboard("[ARROWUP>10/]"),await t.waitFor(()=>s.expect(u.value).equals("60")),tn.default.keyboard("[ARROWDOWN>4/]"),await t.waitFor(()=>s.expect(u.value).equals("40"))})})});
|
|
2
2
|
//# sourceMappingURL=NumberInputText.spec.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./NumberInputText-
|
|
1
|
+
define(["exports","./NumberInputText-1cb98493","preact/jsx-runtime","preact","preact/compat","preact/hooks","./hooks/UNSAFE_useFocusableTextField","./tslib.es6-b7b0cb44","./hooks/UNSAFE_useFocusWithin","./useFocusWithin-034af29e","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useTextField","./hooks/UNSAFE_useId","./UNSAFE_Label","./utils/UNSAFE_classNames","./classNames-0c3f7934",'module',"./hooks/UNSAFE_usePrefixSuffix","./UNSAFE_PrefixSuffix","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./UNSAFE_TextField","./ReadonlyTextFieldInput-9d5b97da","./hooks/UNSAFE_useTabbableMode","./utils/UNSAFE_interpolations/text","./keys-4e7b51c0","./_curry1-456aecf2","./_has-0ea95e05","./utils/UNSAFE_mergeInterpolations","./_curry3-8b2eecf3","./_curry2-4ecbab20","./FormControlUtils-ecaa8a09","./hooks/UNSAFE_useTranslationBundle","./UNSAFE_LabelValueLayout","./UNSAFE_Flex","./Flex-21cd9fc8","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./utils/UNSAFE_interpolations/boxalignment","./utils/UNSAFE_interpolations/flexbox","./flexbox-87dc7db6","./utils/UNSAFE_interpolations/flexitem","./flexitem-e7a7db2e","./TextFieldInput-c1906a5e","./hooks/UNSAFE_useTextFieldInputHandlers","./utils/PRIVATE_clientHints","./clientHints-c01e4af7","./hooks/UNSAFE_useDebounce","./UNSAFE_LiveRegion","./UNSAFE_UserAssistance","./InlineHelpSource-f0f08a0e","./UNSAFE_ComponentMessage","./ComponentMessage-24314ba8","./PRIVATE_Message","./utils/PRIVATE_timer","./MessageCloseButton-843802a0","./UNSAFE_Button","./Button-66583669","./UNSAFE_BaseButton","./BaseButton-d993ff9c","./hooks/UNSAFE_usePress","./hooks/UNSAFE_useActive","./utils/UNSAFE_mergeProps","./index-98ac05a5","./index-21f680bc","./UNSAFE_Icon","./Icon-79891c29","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-c37e7438","./index-d070224a","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-0f9fbc2c","./hooks/UNSAFE_useTheme","./MessageDetail-38b030d3","./MessageFormattingUtils-b0381978","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-7c915f7a","./Message.types-a7125ef8","./MessageStartIcon-b7408f71","./MessageSummary-63fc2b87","./MessageTimestamp-9521321d","./MessageUtils-3deb9fc3","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./MessagesManager-bdb2c23a","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useMessagesContext","./UNSAFE_HiddenAccessible","./HiddenAccessible-34e75cf9","./ComponentMessageContainer-63fe8ed6","./UNSAFE_Grid","./utils/UNSAFE_interpolations/grid","./hooks/UNSAFE_useCurrentValueReducer"],function(e,s,t,o,i,n,a,u,l,F,A,_,U,r,E,N,S,c,d,b,f,g,x,h,m,p,k,T,I,M,y,C,P,R,B,V,H,L,v,j,D,G,O,W,z,q,w,J,K,Q,X,Y,Z,$,ee,se,te,oe,ie,ne,ae,ue,le,Fe,Ae,_e,Ue,re,Ee,Ne,Se,ce,de,be,fe,ge,xe,he,me,pe,ke,Te,Ie,Me,ye,Ce,Pe,Re,Be,Ve,He,Le,ve,je,De,Ge,Oe,We,ze,qe,we,Je,Ke,Qe,Xe){"use strict";e.NumberInputText=s.NumberInputText,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_NumberInputText.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
5
|
-
.
|
|
6
|
-
.
|
|
7
|
-
.
|
|
8
|
-
.
|
|
1
|
+
.t8tfqt{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
|
+
.k0jn60{opacity:.45;}
|
|
3
|
+
.xsayzn{color:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color-disabled);}
|
|
4
|
+
.dkx2ma{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
|
+
._1dsy4xz{padding-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding);}
|
|
6
|
+
.yvmu08{padding-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding);}
|
|
7
|
+
._11nycm9{padding-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding);}
|
|
8
|
+
._18ro3xn{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-0c3f7934"],function(s,e,i,n,t){"use strict";s.PrefixSuffix=function({hasEndContent:s,hasInsideLabel:i,hasStartContent:n,id:a,isDisabled:r,isFocused:c,text:f,variant:x}){const d="t8tfqt",u="k0jn60",l="xsayzn",o="dkx2ma",m="_1dsy4xz",j="yvmu08",p="_11nycm9",_="_18ro3xn",h=t.classNames([d,"suffix"===x&&s&&j,i&&o,"prefix"===x&&n&&m,c&&u,r&&l,"prefix"===x&&!n&&p,"suffix"===x&&!s&&_]);return e.jsx("div",Object.assign({class:h,id:a},{children:e.jsx("span",{children:f})}))},Object.defineProperty(s,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_PrefixSuffix.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UNSAFE_PrefixSuffix.js","sources":["../../src/UNSAFE_PrefixSuffix/PrefixSuffix.tsx"],"sourcesContent":["import { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\n\ntype Props = {\n hasEndContent?: boolean;\n hasInsideLabel?: boolean;\n hasStartContent?: boolean;\n id: string;\n isDisabled?: boolean;\n isFocused?: boolean;\n text: string;\n variant: 'prefix' | 'suffix';\n};\n\nexport function PrefixSuffix({\n hasEndContent,\n hasInsideLabel,\n hasStartContent,\n id,\n isDisabled,\n isFocused,\n text,\n variant\n}: Props) {\n const prefixSuffixStyles = {\n base: cssProps`${{\n display: 'flex',\n alignItems: 'center',\n whiteSpace: 'nowrap',\n boxSizing: 'border-box',\n fontFamily: 'inherit',\n lineHeight: 'inherit',\n fontWeight: 'inherit',\n fontSize: '100%',\n border: '0',\n backgroundColor: 'transparent',\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color)'\n }}`,\n isFocused: cssProps`${{\n opacity: '.45'\n }}`,\n isDisabled: cssProps`${{\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color-disabled)'\n }}`,\n insideLabel: cssProps`${{\n minHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-height)',\n paddingTop: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-padding-top)'\n }}`,\n prefixHasStartContent: cssProps`${{\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding)'\n }}`,\n\n suffixHasEndContent: cssProps`${{\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding)'\n }}`,\n prefixInlineStart: cssProps`${{\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding)'\n }}`,\n suffixInlineStart: cssProps`${{\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding)'\n }}`\n };\n\n // We want the input to have padding on itself. This gives the user more space to click on to set focus to the input.\n // The prefix/suffix need padding between itself and either the 'edge' or the 'startContent'/'endContent'.\n // So the logic is:\n // if no startContent and we have a prefix, add --text-to-edge-padding to the prefix\n // if no endContent and we have a suffix, add --text-to-edge-padding to the suffix\n // if startContent and we have a prefix, add text-field-icon-to-text-padding\n // if endContent and we have a suffix, add text-field-icon-to-text-padding\n // **-- text-to-edge-padding**prefix (input has padding for prefix/input)input(input has padding for suffix/input)suffix**--text-to-edge-padding**\n // -- (this should be in startContent)startContent **icon-to-text-padding**prefix (input has padding for prefix/input)input(input has padding for suffix/input) suffix **--text-to-edge-padding**\n // -- **icon-to-text-padding**prefix (input has padding for prefix/input)input(input has padding for suffix/input) suffix**--icon-to-text-padding**(this should be in endContent)endContent\n const prefixSuffixClasses = classNames([\n prefixSuffixStyles.base,\n variant === 'suffix' && hasEndContent && prefixSuffixStyles.suffixHasEndContent,\n hasInsideLabel && prefixSuffixStyles.insideLabel,\n variant === 'prefix' && hasStartContent && prefixSuffixStyles.prefixHasStartContent,\n isFocused && prefixSuffixStyles.isFocused,\n isDisabled && prefixSuffixStyles.isDisabled,\n variant === 'prefix' && !hasStartContent && prefixSuffixStyles.prefixInlineStart,\n variant === 'suffix' && !hasEndContent && prefixSuffixStyles.suffixInlineStart\n ]);\n\n return (\n <div class={prefixSuffixClasses} id={id}>\n <span>{text}</span>\n </div>\n );\n}\n"],"names":["hasEndContent","hasInsideLabel","hasStartContent","id","isDisabled","isFocused","text","variant","prefixSuffixStyles","_jsx","Object","assign","class","prefixSuffixClasses","children","jsx"],"mappings":"sJAcA,UAAAA,cAAAA,EAAAC,eAAAA,EAAAC,gBAAAA,EAAAC,GAAAA,EAAAC,WAAAA,EAAAC,UAAAA,EAAAC,KAAAA,EAAAC,QAAAA,IAUE,MAAAC,EAAA,
|
|
1
|
+
{"version":3,"file":"UNSAFE_PrefixSuffix.js","sources":["../../src/UNSAFE_PrefixSuffix/PrefixSuffix.tsx"],"sourcesContent":["import { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\n\ntype Props = {\n hasEndContent?: boolean;\n hasInsideLabel?: boolean;\n hasStartContent?: boolean;\n id: string;\n isDisabled?: boolean;\n isFocused?: boolean;\n text: string;\n variant: 'prefix' | 'suffix';\n};\n\nexport function PrefixSuffix({\n hasEndContent,\n hasInsideLabel,\n hasStartContent,\n id,\n isDisabled,\n isFocused,\n text,\n variant\n}: Props) {\n const prefixSuffixStyles = {\n base: cssProps`${{\n display: 'flex',\n alignItems: 'center',\n whiteSpace: 'nowrap',\n boxSizing: 'border-box',\n fontFamily: 'inherit',\n lineHeight: 'inherit',\n fontWeight: 'inherit',\n fontSize: '100%',\n border: '0',\n backgroundColor: 'transparent',\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color)'\n }}`,\n isFocused: cssProps`${{\n opacity: '.45'\n }}`,\n isDisabled: cssProps`${{\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color-disabled)'\n }}`,\n insideLabel: cssProps`${{\n minHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-height)',\n paddingTop: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-padding-top)'\n }}`,\n prefixHasStartContent: cssProps`${{\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding)'\n }}`,\n\n suffixHasEndContent: cssProps`${{\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding)'\n }}`,\n prefixInlineStart: cssProps`${{\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding)'\n }}`,\n suffixInlineStart: cssProps`${{\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding)'\n }}`\n };\n\n // We want the input to have padding on itself. This gives the user more space to click on to set focus to the input.\n // The prefix/suffix need padding between itself and either the 'edge' or the 'startContent'/'endContent'.\n // So the logic is:\n // if no startContent and we have a prefix, add --text-to-edge-padding to the prefix\n // if no endContent and we have a suffix, add --text-to-edge-padding to the suffix\n // if startContent and we have a prefix, add text-field-icon-to-text-padding\n // if endContent and we have a suffix, add text-field-icon-to-text-padding\n // **-- text-to-edge-padding**prefix (input has padding for prefix/input)input(input has padding for suffix/input)suffix**--text-to-edge-padding**\n // -- (this should be in startContent)startContent **icon-to-text-padding**prefix (input has padding for prefix/input)input(input has padding for suffix/input) suffix **--text-to-edge-padding**\n // -- **icon-to-text-padding**prefix (input has padding for prefix/input)input(input has padding for suffix/input) suffix**--icon-to-text-padding**(this should be in endContent)endContent\n const prefixSuffixClasses = classNames([\n prefixSuffixStyles.base,\n variant === 'suffix' && hasEndContent && prefixSuffixStyles.suffixHasEndContent,\n hasInsideLabel && prefixSuffixStyles.insideLabel,\n variant === 'prefix' && hasStartContent && prefixSuffixStyles.prefixHasStartContent,\n isFocused && prefixSuffixStyles.isFocused,\n isDisabled && prefixSuffixStyles.isDisabled,\n variant === 'prefix' && !hasStartContent && prefixSuffixStyles.prefixInlineStart,\n variant === 'suffix' && !hasEndContent && prefixSuffixStyles.suffixInlineStart\n ]);\n\n return (\n <div class={prefixSuffixClasses} id={id}>\n <span>{text}</span>\n </div>\n );\n}\n"],"names":["hasEndContent","hasInsideLabel","hasStartContent","id","isDisabled","isFocused","text","variant","prefixSuffixStyles","_jsx","Object","assign","class","prefixSuffixClasses","children","jsx"],"mappings":"sJAcA,UAAAA,cAAAA,EAAAC,eAAAA,EAAAC,gBAAAA,EAAAC,GAAAA,EAAAC,WAAAA,EAAAC,UAAAA,EAAAC,KAAAA,EAAAC,QAAAA,IAUE,MAAAC,EAAA,SAAAA,EAAA,SAAAA,EAAA,SAAAA,EAAA,SAAAA,EAAA,WAAAA,EAAA,SAAAA,EAAA,WAAAA,6BAkDEA,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"}
|