@oracle/oraclejet-preact 14.1.7 → 14.1.9
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-f3f28cc8.js +2 -0
- package/amd/{Badge-36bd3fbc.js.map → Badge-f3f28cc8.js.map} +1 -1
- package/amd/BaseButton-7d5eb39d.js +2 -0
- package/amd/{BaseButton-4b95e724.js.map → BaseButton-7d5eb39d.js.map} +1 -1
- package/amd/Button-0d9421fc.js +2 -0
- package/amd/{Button-8aa00bbd.js.map → Button-0d9421fc.js.map} +1 -1
- package/amd/Chip-125d2062.js +2 -0
- package/amd/{Chip-a65960d0.js.map → Chip-125d2062.js.map} +1 -1
- package/amd/{ClearIcon-c09f5eb6.js → ClearIcon-b7d8b7e2.js} +2 -2
- package/amd/{ClearIcon-c09f5eb6.js.map → ClearIcon-b7d8b7e2.js.map} +1 -1
- package/amd/{Collection-0182f161.js → Collection-71e6f090.js} +1 -1
- package/amd/{Collection-0182f161.js.map → Collection-71e6f090.js.map} +1 -1
- package/amd/ComponentMessage-955a6a54.js +2 -0
- package/amd/{ComponentMessage-fb11610e.js.map → ComponentMessage-955a6a54.js.map} +1 -1
- package/amd/ComponentMessageContainer-6bd115d9.js +2 -0
- package/amd/{ComponentMessageContainer-adda2d86.js.map → ComponentMessageContainer-6bd115d9.js.map} +1 -1
- package/amd/{Divider-ee5ca5d2.js → Divider-7f552636.js} +2 -2
- package/amd/{Divider-ee5ca5d2.js.map → Divider-7f552636.js.map} +1 -1
- package/amd/{FilePicker-78f0503f.js → FilePicker-f45e24e1.js} +2 -2
- package/amd/{FilePicker-78f0503f.js.map → FilePicker-f45e24e1.js.map} +1 -1
- package/amd/Flex-56ca361c.js +2 -0
- package/amd/{Flex-f9400d0c.js.map → Flex-56ca361c.js.map} +1 -1
- package/amd/{Floating-930f80d0.js → Floating-e8dc5fb7.js} +2 -2
- package/amd/{Floating-930f80d0.js.map → Floating-e8dc5fb7.js.map} +1 -1
- package/amd/FocusTrap-b2f97301.js +2 -0
- package/amd/{FocusTrap-3f6a714b.js.map → FocusTrap-b2f97301.js.map} +1 -1
- package/amd/FormControlUtils-fb5ac7a9.js +2 -0
- package/amd/{FormControlUtils-82ceb95a.js.map → FormControlUtils-fb5ac7a9.js.map} +1 -1
- package/amd/Heading-4affeb24.js +2 -0
- package/amd/{Heading-a33518ec.js.map → Heading-4affeb24.js.map} +1 -1
- package/amd/{HiddenAccessible-be5f2a1d.js → HiddenAccessible-5ecb1534.js} +2 -2
- package/amd/{HiddenAccessible-be5f2a1d.js.map → HiddenAccessible-5ecb1534.js.map} +1 -1
- package/amd/{HighlightText-eb764f49.js → HighlightText-dca4bc80.js} +2 -2
- package/amd/{HighlightText-eb764f49.js.map → HighlightText-dca4bc80.js.map} +1 -1
- package/amd/Icon-104b91f5.js +2 -0
- package/amd/{Icon-4b1331cd.js.map → Icon-104b91f5.js.map} +1 -1
- package/amd/Indexer-5164af46.js +2 -0
- package/amd/{Indexer-a2defca9.js.map → Indexer-5164af46.js.map} +1 -1
- package/amd/InlineHelpSource-f4277abb.js +2 -0
- package/amd/{InlineHelpSource-c4b0c7d8.js.map → InlineHelpSource-f4277abb.js.map} +1 -1
- package/amd/Link-c9f60353.js +2 -0
- package/amd/{Link-c6ca1754.js.map → Link-c9f60353.js.map} +1 -1
- package/amd/List-08dda157.js +2 -0
- package/amd/{List-44693a3f.js.map → List-08dda157.js.map} +1 -1
- package/amd/ListItemTextLayout-c31891d9.js +2 -0
- package/amd/{ListItemTextLayout-fdb38e7c.js.map → ListItemTextLayout-c31891d9.js.map} +1 -1
- package/amd/{ListView-790383d5.js → ListView-8ed99629.js} +2 -2
- package/amd/{ListView-790383d5.js.map → ListView-8ed99629.js.map} +1 -1
- package/amd/{LoadMoreCollection-9d8c593e.js → LoadMoreCollection-dcb5a382.js} +2 -2
- package/amd/{LoadMoreCollection-9d8c593e.js.map → LoadMoreCollection-dcb5a382.js.map} +1 -1
- package/amd/Menu-2f3e4383.js +2 -0
- package/amd/{Menu-de98800c.js.map → Menu-2f3e4383.js.map} +1 -1
- package/amd/MenuDivider-cfc70768.js +2 -0
- package/amd/{MenuDivider-065706e5.js.map → MenuDivider-cfc70768.js.map} +1 -1
- package/amd/MenuItem-da29862d.js +2 -0
- package/amd/{MenuItem-267f645c.js.map → MenuItem-da29862d.js.map} +1 -1
- package/amd/{Message.types-e1e686f9.js → Message.types-cdf49a64.js} +1 -1
- package/amd/{Message.types-e1e686f9.js.map → Message.types-cdf49a64.js.map} +1 -1
- package/amd/MessageCloseButton-c0436a6d.js +2 -0
- package/amd/{MessageCloseButton-c1dbc30b.js.map → MessageCloseButton-c0436a6d.js.map} +1 -1
- package/amd/MessageDetail-3e492e42.js +2 -0
- package/amd/{MessageDetail-42f44dd3.js.map → MessageDetail-3e492e42.js.map} +1 -1
- package/amd/{MessageFormattingUtils-a991ff36.js → MessageFormattingUtils-36ba3a21.js} +2 -2
- package/amd/{MessageFormattingUtils-a991ff36.js.map → MessageFormattingUtils-36ba3a21.js.map} +1 -1
- package/amd/MessageLayer-6302264b.js +2 -0
- package/amd/{MessageLayer-5ecd269b.js.map → MessageLayer-6302264b.js.map} +1 -1
- package/amd/MessageStartIcon-c7c14eb3.js +2 -0
- package/amd/{MessageStartIcon-1256ab5f.js.map → MessageStartIcon-c7c14eb3.js.map} +1 -1
- package/amd/MessageSummary-2e35809c.js +2 -0
- package/amd/{MessageSummary-2bdadf22.js.map → MessageSummary-2e35809c.js.map} +1 -1
- package/amd/MessageTimestamp-5a7d95b4.js +2 -0
- package/amd/{MessageTimestamp-1a077b86.js.map → MessageTimestamp-5a7d95b4.js.map} +1 -1
- package/amd/{MessageToast-89730431.js → MessageToast-ae288e5f.js} +2 -2
- package/amd/{MessageToast-89730431.js.map → MessageToast-ae288e5f.js.map} +1 -1
- package/amd/{MessageUtils-43b228f0.js → MessageUtils-f508120a.js} +2 -2
- package/amd/{MessageUtils-43b228f0.js.map → MessageUtils-f508120a.js.map} +1 -1
- package/amd/{MessagesManager-7022e7d9.js → MessagesManager-2c73161c.js} +2 -2
- package/amd/{MessagesManager-7022e7d9.js.map → MessagesManager-2c73161c.js.map} +1 -1
- package/amd/MeterCircle-4dfb5d15.js +2 -0
- package/amd/{MeterCircle-af01377e.js.map → MeterCircle-4dfb5d15.js.map} +1 -1
- package/amd/Modal-6e4f35b4.js +2 -0
- package/amd/{Modal-302ea596.js.map → Modal-6e4f35b4.js.map} +1 -1
- package/amd/{NumberInputText-b73a0c88.js → NumberInputText-33d397cf.js} +2 -2
- package/amd/{NumberInputText-b73a0c88.js.map → NumberInputText-33d397cf.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-5d75bcc4.js +2 -0
- package/amd/{ReadonlyTextFieldInput-b0bda1a7.js.map → ReadonlyTextFieldInput-5d75bcc4.js.map} +1 -1
- package/amd/SelectMenuItem-e0141bcc.js +2 -0
- package/amd/{SelectMenuItem-b64fbb96.js.map → SelectMenuItem-e0141bcc.js.map} +1 -1
- package/amd/SelectMultiple-a779290c.js +2 -0
- package/amd/{SelectMultiple-5a1ff443.js.map → SelectMultiple-a779290c.js.map} +1 -1
- package/amd/{SelectSingle-4870063e.js → SelectSingle-523b86ea.js} +2 -2
- package/amd/{SelectSingle-4870063e.js.map → SelectSingle-523b86ea.js.map} +1 -1
- package/amd/Skeleton-972c8df8.js +2 -0
- package/amd/{Skeleton-465c0d6e.js.map → Skeleton-972c8df8.js.map} +1 -1
- package/amd/{Spacer-db08a144.js → Spacer-98305ba6.js} +2 -2
- package/amd/{Spacer-db08a144.js.map → Spacer-98305ba6.js.map} +1 -1
- package/amd/SplitMenuButton-6a9b4999.js +2 -0
- package/amd/{SplitMenuButton-11cbdb7d.js.map → SplitMenuButton-6a9b4999.js.map} +1 -1
- package/amd/Subheading-e8f08bb9.js +2 -0
- package/amd/{Subheading-05e699c4.js.map → Subheading-e8f08bb9.js.map} +1 -1
- package/amd/Text-4a544722.js +2 -0
- package/amd/{Text-fc9678a9.js.map → Text-4a544722.js.map} +1 -1
- package/amd/TextArea-62a72051.js +2 -0
- package/amd/{TextArea-678acb41.js.map → TextArea-62a72051.js.map} +1 -1
- package/amd/{TextAreaAutosize-31dae066.js → TextAreaAutosize-3607c1cb.js} +2 -2
- package/amd/{TextAreaAutosize-31dae066.js.map → TextAreaAutosize-3607c1cb.js.map} +1 -1
- package/amd/TextFieldInput-89b3ad37.js +2 -0
- package/amd/{TextFieldInput-f254d839.js.map → TextFieldInput-89b3ad37.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_LiveRegion.js.map +1 -1
- package/amd/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js +1 -1
- package/amd/UNSAFE_LoadMoreCollection.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/Menu.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/MenuItem.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +1 -1
- package/amd/UNSAFE_Menu.css +23 -23
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +1 -1
- package/amd/UNSAFE_MessageToast.css +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +1 -1
- package/amd/UNSAFE_MeterBar.css +44 -44
- package/amd/UNSAFE_MeterBar.js +1 -1
- package/amd/UNSAFE_MeterBar.js.map +1 -1
- package/amd/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +1 -1
- package/amd/UNSAFE_MeterCircle.css +46 -46
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_Modal/__tests__/Modal.spec.js +1 -1
- package/amd/UNSAFE_Modal.css +3 -3
- package/amd/UNSAFE_Modal.js +1 -1
- package/amd/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +1 -1
- package/amd/UNSAFE_NumberInputText.js +1 -1
- package/amd/UNSAFE_PrefixSuffix.css +8 -8
- package/amd/UNSAFE_PrefixSuffix.js +1 -1
- package/amd/UNSAFE_PrefixSuffix.js.map +1 -1
- package/amd/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js +1 -1
- package/amd/UNSAFE_ProgressBar.css +6 -6
- package/amd/UNSAFE_ProgressBar.js +1 -1
- package/amd/UNSAFE_ProgressBar.js.map +1 -1
- package/amd/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +1 -1
- package/amd/UNSAFE_ProgressCircle.css +6 -6
- package/amd/UNSAFE_ProgressCircle.js +1 -1
- package/amd/UNSAFE_ProgressCircle.js.map +1 -1
- package/amd/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +1 -1
- package/amd/UNSAFE_RatingGauge.css +20 -20
- package/amd/UNSAFE_RatingGauge.js +1 -1
- package/amd/UNSAFE_RatingGauge.js.map +1 -1
- package/amd/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +1 -1
- package/amd/UNSAFE_SelectMultiple.css +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_Selector.css +5 -5
- package/amd/UNSAFE_Selector.js +1 -1
- package/amd/UNSAFE_Selector.js.map +1 -1
- package/amd/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +1 -1
- package/amd/UNSAFE_Skeleton.css +1 -1
- package/amd/UNSAFE_Skeleton.js +1 -1
- package/amd/UNSAFE_Spacer/__tests__/Spacer.spec.js +1 -1
- package/amd/UNSAFE_Spacer.js +1 -1
- package/amd/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +1 -1
- package/amd/UNSAFE_SplitMenuButton.css +5 -5
- package/amd/UNSAFE_SplitMenuButton.js +1 -1
- package/amd/UNSAFE_Subheading/__test__/Subheading.spec.js +1 -1
- package/amd/UNSAFE_Subheading.css +8 -8
- package/amd/UNSAFE_Subheading.js +1 -1
- package/amd/UNSAFE_Text/__tests__/Text.spec.js +1 -1
- package/amd/UNSAFE_Text.css +25 -25
- package/amd/UNSAFE_Text.js +1 -1
- package/amd/UNSAFE_TextArea/__tests__/TextArea.spec.js +1 -1
- package/amd/UNSAFE_TextArea.css +3 -3
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +1 -1
- package/amd/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +1 -1
- package/amd/UNSAFE_TextField.css +58 -58
- package/amd/UNSAFE_TextField.js +1 -1
- package/amd/UNSAFE_TextField.js.map +1 -1
- package/amd/UNSAFE_ThemedIcons.js +1 -1
- package/amd/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +1 -1
- package/amd/UNSAFE_UserAssistance.css +8 -8
- package/amd/UNSAFE_UserAssistance.js +1 -1
- package/amd/UNSAFE_UserAssistance.js.map +1 -1
- package/amd/UNSAFE_View/__tests__/View.spec.js +1 -1
- package/amd/UNSAFE_View.js +1 -1
- package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +1 -1
- package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/{VirtualizedCollection-bf80ad01.js → VirtualizedCollection-f35e8f07.js} +2 -2
- package/amd/{VirtualizedCollection-bf80ad01.js.map → VirtualizedCollection-f35e8f07.js.map} +1 -1
- package/amd/{VirtualizedListView-f79f4494.js → VirtualizedListView-d202b367.js} +2 -2
- package/amd/{VirtualizedListView-f79f4494.js.map → VirtualizedListView-d202b367.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-a9b2d356.js → _curry1-5e7b060f.js} +1 -1
- package/amd/{_curry1-a9b2d356.js.map → _curry1-5e7b060f.js.map} +1 -1
- package/amd/_curry2-a7eb1217.js +2 -0
- package/amd/{_curry2-4587c862.js.map → _curry2-a7eb1217.js.map} +1 -1
- package/amd/{_curry3-aa9c5bd1.js → _curry3-5f6cc6b4.js} +2 -2
- package/amd/{_curry3-aa9c5bd1.js.map → _curry3-5f6cc6b4.js.map} +1 -1
- package/amd/_has-ec8331b9.js +2 -0
- package/amd/{_has-264770bc.js.map → _has-ec8331b9.js.map} +1 -1
- package/amd/{classNames-f7aa427b.js → classNames-62e37972.js} +1 -1
- package/amd/{classNames-f7aa427b.js.map → classNames-62e37972.js.map} +1 -1
- package/amd/{clientHints-0061da83.js → clientHints-2e828dd3.js} +1 -1
- package/amd/{clientHints-0061da83.js.map → clientHints-2e828dd3.js.map} +1 -1
- package/amd/flexbox-495ba219.js +2 -0
- package/amd/{flexbox-e416347d.js.map → flexbox-495ba219.js.map} +1 -1
- package/amd/flexitem-2a478c7f.js +2 -0
- package/amd/{flexitem-7c6baa22.js.map → flexitem-2a478c7f.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-d117de08.js → index-359cad62.js} +2 -2
- package/amd/{index-d117de08.js.map → index-359cad62.js.map} +1 -1
- package/amd/{index-4dd59b80.js → index-8aa44d16.js} +2 -2
- package/amd/{index-4dd59b80.js.map → index-8aa44d16.js.map} +1 -1
- package/amd/{index-9be81def.js → index-f9c35a81.js} +1 -1
- package/amd/{index-9be81def.js.map → index-f9c35a81.js.map} +1 -1
- package/amd/{keys-a3d0c6e0.js → keys-f1cf2c8a.js} +2 -2
- package/amd/{keys-a3d0c6e0.js.map → keys-f1cf2c8a.js.map} +1 -1
- package/amd/{listViewSelectionTests-9aebca75.js → listViewSelectionTests-8ba3e5c2.js} +2 -2
- package/amd/{listViewSelectionTests-9aebca75.js.map → listViewSelectionTests-8ba3e5c2.js.map} +1 -1
- package/amd/{listViewTabbableModeTests-61b6c49d.js → listViewTabbableModeTests-29e284bc.js} +2 -2
- package/amd/{listViewTabbableModeTests-61b6c49d.js.map → listViewTabbableModeTests-29e284bc.js.map} +1 -1
- package/amd/{listViewTestFixtures-6a8c2119.js → listViewTestFixtures-7ce26238.js} +1 -1
- package/amd/{listViewTestFixtures-6a8c2119.js.map → listViewTestFixtures-7ce26238.js.map} +1 -1
- package/amd/{menuTestsUtils-209cd0f3.js → menuTestsUtils-b3b40e43.js} +1 -1
- package/amd/{menuTestsUtils-209cd0f3.js.map → menuTestsUtils-b3b40e43.js.map} +1 -1
- package/amd/{stringUtils-b89cb03c.js → stringUtils-91d77e3d.js} +1 -1
- package/amd/{stringUtils-b89cb03c.js.map → stringUtils-91d77e3d.js.map} +1 -1
- package/amd/{testHelpers-e980dfea.js → testHelpers-5cfe8465.js} +1 -1
- package/amd/{testHelpers-e980dfea.js.map → testHelpers-5cfe8465.js.map} +1 -1
- package/amd/{tslib.es6-de389af1.js → tslib.es6-0026d2ad.js} +1 -1
- package/amd/{tslib.es6-de389af1.js.map → tslib.es6-0026d2ad.js.map} +1 -1
- package/amd/useAnimation-979626b0.js +2 -0
- package/amd/{useAnimation-af110ad3.js.map → useAnimation-979626b0.js.map} +1 -1
- package/amd/{useFocusWithin-7564dfdd.js → useFocusWithin-4141423e.js} +1 -1
- package/amd/{useFocusWithin-7564dfdd.js.map → useFocusWithin-4141423e.js.map} +1 -1
- package/amd/{useModal-b26737d1.js → useModal-e73d78f1.js} +1 -1
- package/amd/{useModal-b26737d1.js.map → useModal-e73d78f1.js.map} +1 -1
- package/amd/{useSingleSelection-1ab31c6c.js → useSingleSelection-ee28feda.js} +1 -1
- package/amd/{useSingleSelection-1ab31c6c.js.map → useSingleSelection-ee28feda.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-63980fc0.js → Badge-57a2f21b.js} +16 -16
- package/cjs/{Badge-63980fc0.js.map → Badge-57a2f21b.js.map} +1 -1
- package/cjs/{BaseButton-0a90f19a.js → BaseButton-c585019d.js} +20 -20
- package/cjs/{BaseButton-0a90f19a.js.map → BaseButton-c585019d.js.map} +1 -1
- package/cjs/{Button-dc21170a.js → Button-6fcec8fc.js} +12 -12
- package/cjs/{Button-dc21170a.js.map → Button-6fcec8fc.js.map} +1 -1
- package/cjs/{Chip-f692f033.js → Chip-ffb7a867.js} +10 -10
- package/cjs/{Chip-f692f033.js.map → Chip-ffb7a867.js.map} +1 -1
- package/cjs/{ClearIcon-e5ee2ed4.js → ClearIcon-90265f8b.js} +3 -3
- package/cjs/{ClearIcon-e5ee2ed4.js.map → ClearIcon-90265f8b.js.map} +1 -1
- package/cjs/{Collection-e00a4a67.js → Collection-ccfc3e5f.js} +2 -2
- package/cjs/{Collection-e00a4a67.js.map → Collection-ccfc3e5f.js.map} +1 -1
- package/cjs/{ComponentMessage-85e671be.js → ComponentMessage-d3c98ff4.js} +8 -8
- package/cjs/{ComponentMessage-85e671be.js.map → ComponentMessage-d3c98ff4.js.map} +1 -1
- package/cjs/{ComponentMessageContainer-545601a5.js → ComponentMessageContainer-5bfa8ad2.js} +5 -5
- package/cjs/{ComponentMessageContainer-545601a5.js.map → ComponentMessageContainer-5bfa8ad2.js.map} +1 -1
- package/cjs/{Divider-0b91f0c0.js → Divider-a34b4122.js} +3 -3
- package/cjs/{Divider-0b91f0c0.js.map → Divider-a34b4122.js.map} +1 -1
- package/cjs/{FilePicker-c98690be.js → FilePicker-ad5751e2.js} +14 -14
- package/cjs/{FilePicker-c98690be.js.map → FilePicker-ad5751e2.js.map} +1 -1
- package/cjs/{Flex-57fd3e69.js → Flex-74900484.js} +8 -8
- package/cjs/{Flex-57fd3e69.js.map → Flex-74900484.js.map} +1 -1
- package/cjs/{Floating-921c2c0c.js → Floating-aef15596.js} +3 -3
- package/cjs/{Floating-921c2c0c.js.map → Floating-aef15596.js.map} +1 -1
- package/cjs/{FocusTrap-23e7ead6.js → FocusTrap-551739fd.js} +5 -5
- package/cjs/{FocusTrap-23e7ead6.js.map → FocusTrap-551739fd.js.map} +1 -1
- package/cjs/{FormControlUtils-432cf8c3.js → FormControlUtils-401c7d6f.js} +5 -5
- package/cjs/{FormControlUtils-432cf8c3.js.map → FormControlUtils-401c7d6f.js.map} +1 -1
- package/cjs/{Heading-4ea1e478.js → Heading-cb5e6c2a.js} +13 -13
- package/cjs/{Heading-4ea1e478.js.map → Heading-cb5e6c2a.js.map} +1 -1
- package/cjs/{HiddenAccessible-56095348.js → HiddenAccessible-4f79adaf.js} +3 -3
- package/cjs/{HiddenAccessible-56095348.js.map → HiddenAccessible-4f79adaf.js.map} +1 -1
- package/cjs/{HighlightText-eb04fd55.js → HighlightText-3af353e5.js} +3 -3
- package/cjs/{HighlightText-eb04fd55.js.map → HighlightText-3af353e5.js.map} +1 -1
- package/cjs/{Icon-0d4af84a.js → Icon-a84eff17.js} +11 -11
- package/cjs/{Icon-0d4af84a.js.map → Icon-a84eff17.js.map} +1 -1
- package/cjs/{Indexer-6337e7d1.js → Indexer-714d21f8.js} +16 -16
- package/cjs/{Indexer-6337e7d1.js.map → Indexer-714d21f8.js.map} +1 -1
- package/cjs/{InlineHelpSource-268e5452.js → InlineHelpSource-4166cbb4.js} +3 -3
- package/cjs/{InlineHelpSource-268e5452.js.map → InlineHelpSource-4166cbb4.js.map} +1 -1
- package/cjs/{Link-8ab67e8a.js → Link-bb3a67e8.js} +8 -8
- package/cjs/{Link-8ab67e8a.js.map → Link-bb3a67e8.js.map} +1 -1
- package/cjs/{List-cf0f8f97.js → List-dfb94772.js} +23 -23
- package/cjs/{List-cf0f8f97.js.map → List-dfb94772.js.map} +1 -1
- package/cjs/{ListItemTextLayout-e7480597.js → ListItemTextLayout-7d35f4ac.js} +13 -13
- package/cjs/{ListItemTextLayout-e7480597.js.map → ListItemTextLayout-7d35f4ac.js.map} +1 -1
- package/cjs/{ListView-879b0c5c.js → ListView-40c1e88c.js} +3 -3
- package/cjs/{ListView-879b0c5c.js.map → ListView-40c1e88c.js.map} +1 -1
- package/cjs/{LoadMoreCollection-05a99e26.js → LoadMoreCollection-57fb6336.js} +3 -3
- package/cjs/{LoadMoreCollection-05a99e26.js.map → LoadMoreCollection-57fb6336.js.map} +1 -1
- package/cjs/{Menu-c8821b6d.js → Menu-da873636.js} +16 -16
- package/cjs/{Menu-c8821b6d.js.map → Menu-da873636.js.map} +1 -1
- package/cjs/{MenuDivider-79215c22.js → MenuDivider-5536729a.js} +4 -4
- package/cjs/{MenuDivider-79215c22.js.map → MenuDivider-5536729a.js.map} +1 -1
- package/cjs/{MenuItem-d8b8b121.js → MenuItem-ebd4209f.js} +19 -19
- package/cjs/{MenuItem-d8b8b121.js.map → MenuItem-ebd4209f.js.map} +1 -1
- package/cjs/{Message.types-e48e533b.js → Message.types-642ff5b5.js} +2 -2
- package/cjs/{Message.types-e48e533b.js.map → Message.types-642ff5b5.js.map} +1 -1
- package/cjs/{MessageCloseButton-0f95967f.js → MessageCloseButton-f2511ad1.js} +9 -9
- package/cjs/{MessageCloseButton-0f95967f.js.map → MessageCloseButton-f2511ad1.js.map} +1 -1
- package/cjs/{MessageDetail-709153ec.js → MessageDetail-5f9ae99c.js} +7 -7
- package/cjs/{MessageDetail-709153ec.js.map → MessageDetail-5f9ae99c.js.map} +1 -1
- package/cjs/{MessageFormattingUtils-aec784e4.js → MessageFormattingUtils-987ad2b0.js} +4 -4
- package/cjs/{MessageFormattingUtils-aec784e4.js.map → MessageFormattingUtils-987ad2b0.js.map} +1 -1
- package/cjs/{MessageLayer-38a6e8f3.js → MessageLayer-850bf507.js} +11 -11
- package/cjs/{MessageLayer-38a6e8f3.js.map → MessageLayer-850bf507.js.map} +1 -1
- package/cjs/{MessageStartIcon-9a0baa1f.js → MessageStartIcon-63365e89.js} +11 -11
- package/cjs/{MessageStartIcon-9a0baa1f.js.map → MessageStartIcon-63365e89.js.map} +1 -1
- package/cjs/{MessageSummary-aa7d0360.js → MessageSummary-94cbc940.js} +7 -7
- package/cjs/{MessageSummary-aa7d0360.js.map → MessageSummary-94cbc940.js.map} +1 -1
- package/cjs/{MessageTimestamp-8085fe0c.js → MessageTimestamp-20cb77b7.js} +5 -5
- package/cjs/{MessageTimestamp-8085fe0c.js.map → MessageTimestamp-20cb77b7.js.map} +1 -1
- package/cjs/{MessageToast-73656835.js → MessageToast-f2b7fdc0.js} +9 -9
- package/cjs/{MessageToast-73656835.js.map → MessageToast-f2b7fdc0.js.map} +1 -1
- package/cjs/{MessageUtils-f1e24416.js → MessageUtils-4c98a190.js} +3 -3
- package/cjs/{MessageUtils-f1e24416.js.map → MessageUtils-4c98a190.js.map} +1 -1
- package/cjs/{MessagesManager-7daf1035.js → MessagesManager-7787d6b3.js} +4 -4
- package/cjs/{MessagesManager-7daf1035.js.map → MessagesManager-7787d6b3.js.map} +1 -1
- package/cjs/{MeterCircle-0200af35.js → MeterCircle-60b67dc9.js} +50 -50
- package/cjs/{MeterCircle-0200af35.js.map → MeterCircle-60b67dc9.js.map} +1 -1
- package/cjs/{Modal-93503941.js → Modal-da92e38f.js} +7 -7
- package/cjs/{Modal-93503941.js.map → Modal-da92e38f.js.map} +1 -1
- package/cjs/{NumberInputText-04d1ae59.js → NumberInputText-f7dcebcd.js} +7 -7
- package/cjs/{NumberInputText-04d1ae59.js.map → NumberInputText-f7dcebcd.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-6fa6af2d.js → ReadonlyTextFieldInput-5f258014.js} +13 -13
- package/cjs/{ReadonlyTextFieldInput-6fa6af2d.js.map → ReadonlyTextFieldInput-5f258014.js.map} +1 -1
- package/cjs/{SelectMenuItem-c0cc695f.js → SelectMenuItem-3a308c94.js} +5 -5
- package/cjs/{SelectMenuItem-c0cc695f.js.map → SelectMenuItem-3a308c94.js.map} +1 -1
- package/cjs/{SelectMultiple-7129e6e0.js → SelectMultiple-3aa3a17c.js} +8 -8
- package/cjs/{SelectMultiple-7129e6e0.js.map → SelectMultiple-3aa3a17c.js.map} +1 -1
- package/cjs/{SelectSingle-492e556b.js → SelectSingle-2841da0b.js} +4 -4
- package/cjs/{SelectSingle-492e556b.js.map → SelectSingle-2841da0b.js.map} +1 -1
- package/cjs/{Skeleton-fb29ed9b.js → Skeleton-f6ce8f11.js} +5 -5
- package/cjs/{Skeleton-fb29ed9b.js.map → Skeleton-f6ce8f11.js.map} +1 -1
- package/cjs/{Spacer-b81b09a4.js → Spacer-699110fa.js} +4 -4
- package/cjs/{Spacer-b81b09a4.js.map → Spacer-699110fa.js.map} +1 -1
- package/cjs/{SplitMenuButton-f4c6d38a.js → SplitMenuButton-94d9bbf4.js} +14 -14
- package/cjs/{SplitMenuButton-f4c6d38a.js.map → SplitMenuButton-94d9bbf4.js.map} +1 -1
- package/cjs/{Subheading-11f5799e.js → Subheading-14ba019a.js} +11 -11
- package/cjs/{Subheading-11f5799e.js.map → Subheading-14ba019a.js.map} +1 -1
- package/cjs/{Text-4666c34a.js → Text-4177117f.js} +28 -28
- package/cjs/{Text-4666c34a.js.map → Text-4177117f.js.map} +1 -1
- package/cjs/{TextArea-ea79e1a5.js → TextArea-92a64883.js} +8 -8
- package/cjs/{TextArea-ea79e1a5.js.map → TextArea-92a64883.js.map} +1 -1
- package/cjs/{TextAreaAutosize-6c1ec17c.js → TextAreaAutosize-35dd9a08.js} +5 -5
- package/cjs/{TextAreaAutosize-6c1ec17c.js.map → TextAreaAutosize-35dd9a08.js.map} +1 -1
- package/cjs/{TextFieldInput-8c067f1c.js → TextFieldInput-d82564cd.js} +33 -33
- package/cjs/{TextFieldInput-8c067f1c.js.map → TextFieldInput-d82564cd.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_LiveRegion.js.map +1 -1
- package/cjs/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js +3 -3
- package/cjs/UNSAFE_LoadMoreCollection.js +3 -3
- package/cjs/UNSAFE_Menu/__tests__/Menu.spec.js +19 -19
- package/cjs/UNSAFE_Menu/__tests__/MenuItem.spec.js +11 -11
- package/cjs/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +18 -18
- package/cjs/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +22 -22
- package/cjs/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +22 -22
- package/cjs/UNSAFE_Menu.js +16 -16
- package/cjs/UNSAFE_MessageBanner.js +30 -30
- package/cjs/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +33 -33
- package/cjs/UNSAFE_MessageToast.js +33 -33
- package/cjs/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +7 -7
- package/cjs/UNSAFE_MeterBar.js +50 -50
- package/cjs/UNSAFE_MeterBar.js.map +1 -1
- package/cjs/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +8 -8
- package/cjs/UNSAFE_MeterCircle.js +7 -7
- package/cjs/UNSAFE_Modal/__tests__/Modal.spec.js +8 -8
- package/cjs/UNSAFE_Modal.js +8 -8
- package/cjs/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +39 -39
- package/cjs/UNSAFE_NumberInputText.js +39 -39
- package/cjs/UNSAFE_PrefixSuffix.js +10 -10
- package/cjs/UNSAFE_PrefixSuffix.js.map +1 -1
- package/cjs/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js +3 -3
- package/cjs/UNSAFE_ProgressBar.js +9 -9
- package/cjs/UNSAFE_ProgressBar.js.map +1 -1
- package/cjs/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +3 -3
- package/cjs/UNSAFE_ProgressCircle.js +9 -9
- package/cjs/UNSAFE_ProgressCircle.js.map +1 -1
- package/cjs/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +7 -7
- package/cjs/UNSAFE_RatingGauge.js +26 -26
- package/cjs/UNSAFE_RatingGauge.js.map +1 -1
- package/cjs/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +47 -47
- package/cjs/UNSAFE_SelectMultiple.js +47 -47
- package/cjs/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +46 -46
- package/cjs/UNSAFE_SelectSingle.js +46 -46
- package/cjs/UNSAFE_Selector.js +22 -22
- package/cjs/UNSAFE_Selector.js.map +1 -1
- package/cjs/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +8 -8
- package/cjs/UNSAFE_Skeleton.js +8 -8
- package/cjs/UNSAFE_Spacer/__tests__/Spacer.spec.js +10 -10
- package/cjs/UNSAFE_Spacer.js +10 -10
- package/cjs/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +23 -23
- package/cjs/UNSAFE_SplitMenuButton.js +23 -23
- package/cjs/UNSAFE_Subheading/__test__/Subheading.spec.js +10 -10
- package/cjs/UNSAFE_Subheading.js +8 -8
- package/cjs/UNSAFE_Text/__tests__/Text.spec.js +8 -8
- package/cjs/UNSAFE_Text.js +8 -8
- package/cjs/UNSAFE_TextArea/__tests__/TextArea.spec.js +39 -39
- package/cjs/UNSAFE_TextArea.js +39 -39
- package/cjs/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +40 -40
- package/cjs/UNSAFE_TextAreaAutosize.js +40 -40
- package/cjs/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +10 -10
- package/cjs/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +11 -11
- package/cjs/UNSAFE_TextField.js +35 -35
- package/cjs/UNSAFE_TextField.js.map +1 -1
- package/cjs/UNSAFE_ThemedIcons.js +9 -9
- package/cjs/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +2 -2
- package/cjs/UNSAFE_UserAssistance.js +41 -41
- package/cjs/UNSAFE_UserAssistance.js.map +1 -1
- package/cjs/UNSAFE_View/__tests__/View.spec.js +9 -9
- package/cjs/UNSAFE_View.js +9 -9
- package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +27 -27
- package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +27 -27
- package/cjs/UNSAFE_VirtualizedListView.js +24 -24
- package/cjs/UNSAFE_WindowOverlay.js +1 -1
- package/cjs/{VirtualizedCollection-9ac77142.js → VirtualizedCollection-af6e25d0.js} +3 -3
- package/cjs/{VirtualizedCollection-9ac77142.js.map → VirtualizedCollection-af6e25d0.js.map} +1 -1
- package/cjs/{VirtualizedListView-81aa023b.js → VirtualizedListView-e2a957e5.js} +3 -3
- package/cjs/{VirtualizedListView-81aa023b.js.map → VirtualizedListView-e2a957e5.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-77b2183a.js → _curry1-2c88f0ff.js} +2 -2
- package/cjs/{_curry1-77b2183a.js.map → _curry1-2c88f0ff.js.map} +1 -1
- package/cjs/{_curry2-07786ea5.js → _curry2-be33e552.js} +3 -3
- package/cjs/{_curry2-07786ea5.js.map → _curry2-be33e552.js.map} +1 -1
- package/cjs/{_curry3-0fecf02a.js → _curry3-bab61d2b.js} +4 -4
- package/cjs/{_curry3-0fecf02a.js.map → _curry3-bab61d2b.js.map} +1 -1
- package/cjs/{_has-6db622d7.js → _has-8140eef8.js} +3 -3
- package/cjs/{_has-6db622d7.js.map → _has-8140eef8.js.map} +1 -1
- package/cjs/{classNames-f1dadb67.js → classNames-9314d0f7.js} +2 -2
- package/cjs/{classNames-f1dadb67.js.map → classNames-9314d0f7.js.map} +1 -1
- package/cjs/{clientHints-e54fb02d.js → clientHints-408ec09a.js} +2 -2
- package/cjs/{clientHints-e54fb02d.js.map → clientHints-408ec09a.js.map} +1 -1
- package/cjs/{flexbox-71354e24.js → flexbox-63e4b5b3.js} +10 -10
- package/cjs/{flexbox-71354e24.js.map → flexbox-63e4b5b3.js.map} +1 -1
- package/cjs/{flexitem-a3ba3a14.js → flexitem-6070146c.js} +10 -10
- package/cjs/{flexitem-a3ba3a14.js.map → flexitem-6070146c.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-9b442803.js → index-87a2d48e.js} +3 -3
- package/cjs/{index-9b442803.js.map → index-87a2d48e.js.map} +1 -1
- package/cjs/{index-92c328c3.js → index-9925070f.js} +3 -3
- package/cjs/{index-92c328c3.js.map → index-9925070f.js.map} +1 -1
- package/cjs/{index-451969a1.js → index-b42514c2.js} +2 -2
- package/cjs/{index-451969a1.js.map → index-b42514c2.js.map} +1 -1
- package/cjs/{keys-676db3d8.js → keys-80bbe342.js} +4 -4
- package/cjs/{keys-676db3d8.js.map → keys-80bbe342.js.map} +1 -1
- package/cjs/{listViewSelectionTests-f347dc1b.js → listViewSelectionTests-aac2955c.js} +4 -4
- package/cjs/{listViewSelectionTests-f347dc1b.js.map → listViewSelectionTests-aac2955c.js.map} +1 -1
- package/cjs/{listViewTabbableModeTests-c224a05f.js → listViewTabbableModeTests-139f963b.js} +4 -4
- package/cjs/{listViewTabbableModeTests-c224a05f.js.map → listViewTabbableModeTests-139f963b.js.map} +1 -1
- package/cjs/{listViewTestFixtures-65f259ac.js → listViewTestFixtures-b3580dd3.js} +2 -2
- package/cjs/{listViewTestFixtures-65f259ac.js.map → listViewTestFixtures-b3580dd3.js.map} +1 -1
- package/cjs/{menuTestsUtils-b6705a69.js → menuTestsUtils-e3bbef57.js} +2 -2
- package/cjs/{menuTestsUtils-b6705a69.js.map → menuTestsUtils-e3bbef57.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-bec1d6f3.js → stringUtils-f5751559.js} +2 -2
- package/cjs/{stringUtils-bec1d6f3.js.map → stringUtils-f5751559.js.map} +1 -1
- package/cjs/{testHelpers-cd32d862.js → testHelpers-306cb44a.js} +2 -2
- package/cjs/{testHelpers-cd32d862.js.map → testHelpers-306cb44a.js.map} +1 -1
- package/cjs/translationBundle/__tests__/translationBundle.spec.js +1 -1
- package/cjs/translationBundle.js +1 -1
- package/cjs/{tslib.es6-c9cdfdff.js → tslib.es6-ac889636.js} +2 -2
- package/cjs/{tslib.es6-c9cdfdff.js.map → tslib.es6-ac889636.js.map} +1 -1
- package/cjs/{useAnimation-74fcc6c4.js → useAnimation-6093457f.js} +3 -3
- package/cjs/{useAnimation-74fcc6c4.js.map → useAnimation-6093457f.js.map} +1 -1
- package/cjs/{useFocusWithin-3288bb74.js → useFocusWithin-d6e3e0d5.js} +2 -2
- package/cjs/{useFocusWithin-3288bb74.js.map → useFocusWithin-d6e3e0d5.js.map} +1 -1
- package/cjs/{useModal-fa8093e2.js → useModal-e0aa3f76.js} +2 -2
- package/cjs/{useModal-fa8093e2.js.map → useModal-e0aa3f76.js.map} +1 -1
- package/cjs/{useSingleSelection-147c735c.js → useSingleSelection-8cba5c67.js} +2 -2
- package/cjs/{useSingleSelection-147c735c.js.map → useSingleSelection-8cba5c67.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-1fe6b80e.js → ClearIcon-14323e86.js} +3 -3
- package/es/{ClearIcon-1fe6b80e.js.map → ClearIcon-14323e86.js.map} +1 -1
- package/es/{LoadMoreCollection-53b6590d.js → LoadMoreCollection-ad461554.js} +2 -2
- package/es/{LoadMoreCollection-53b6590d.js.map → LoadMoreCollection-ad461554.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_Divider.css +1 -1
- package/es/UNSAFE_Divider.js +6 -6
- package/es/UNSAFE_EmptyList.js +1 -1
- package/es/UNSAFE_Environment.js +1 -1
- package/es/UNSAFE_FilePicker.css +6 -6
- package/es/UNSAFE_FilePicker.js +13 -13
- package/es/UNSAFE_FilePicker.js.map +1 -1
- package/es/UNSAFE_Flex.css +2 -2
- package/es/UNSAFE_Flex.js +9 -9
- package/es/UNSAFE_Flex.js.map +1 -1
- package/es/UNSAFE_Floating.js +2 -2
- package/es/UNSAFE_FocusTrap.css +2 -2
- package/es/UNSAFE_FocusTrap.js +6 -6
- package/es/UNSAFE_Grid.css +1 -1
- package/es/UNSAFE_Grid.js +8 -8
- package/es/UNSAFE_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_Icon.css +8 -8
- package/es/UNSAFE_Icon.js +11 -11
- package/es/UNSAFE_Icon.js.map +1 -1
- package/es/UNSAFE_Icons.js +3 -3
- package/es/UNSAFE_Indexer.css +7 -7
- package/es/UNSAFE_Indexer.js +15 -15
- package/es/UNSAFE_Indexer.js.map +1 -1
- package/es/UNSAFE_InputPassword.css +1 -1
- package/es/UNSAFE_InputPassword.js +10 -10
- package/es/UNSAFE_InputText.css +1 -1
- package/es/UNSAFE_InputText.js +9 -9
- package/es/UNSAFE_Label.css +13 -13
- package/es/UNSAFE_Label.js +15 -15
- package/es/UNSAFE_Label.js.map +1 -1
- package/es/UNSAFE_LabelValueLayout.css +9 -9
- package/es/UNSAFE_LabelValueLayout.js +16 -16
- package/es/UNSAFE_LabelValueLayout.js.map +1 -1
- package/es/UNSAFE_Layer.js +1 -1
- package/es/UNSAFE_Link.css +5 -5
- package/es/UNSAFE_Link.js +6 -6
- package/es/UNSAFE_Link.js.map +1 -1
- package/es/UNSAFE_ListItemLayout.css +9 -9
- package/es/UNSAFE_ListItemLayout.js +16 -16
- package/es/UNSAFE_ListItemLayout.js.map +1 -1
- package/es/UNSAFE_ListView.js +9 -9
- package/es/UNSAFE_LiveRegion.css +1 -1
- package/es/UNSAFE_LiveRegion.js +2 -2
- package/es/UNSAFE_LiveRegion.js.map +1 -1
- package/es/UNSAFE_LoadMoreCollection.js +2 -2
- package/es/UNSAFE_Menu.css +23 -23
- package/es/UNSAFE_Menu.js +31 -31
- package/es/UNSAFE_Menu.js.map +1 -1
- package/es/UNSAFE_MessageBanner.js +8 -8
- package/es/UNSAFE_MessageToast.css +1 -1
- package/es/UNSAFE_MessageToast.js +9 -9
- package/es/UNSAFE_MeterBar.css +44 -44
- package/es/UNSAFE_MeterBar.js +47 -47
- package/es/UNSAFE_MeterBar.js.map +1 -1
- package/es/UNSAFE_MeterCircle.css +46 -46
- package/es/UNSAFE_MeterCircle.js +49 -49
- package/es/UNSAFE_MeterCircle.js.map +1 -1
- package/es/UNSAFE_Modal.css +3 -3
- package/es/UNSAFE_Modal.js +8 -8
- package/es/UNSAFE_NumberInputText.js +8 -8
- package/es/UNSAFE_PrefixSuffix.css +8 -8
- package/es/UNSAFE_PrefixSuffix.js +9 -9
- package/es/UNSAFE_PrefixSuffix.js.map +1 -1
- package/es/UNSAFE_ProgressBar.css +6 -6
- package/es/UNSAFE_ProgressBar.js +8 -8
- package/es/UNSAFE_ProgressBar.js.map +1 -1
- package/es/UNSAFE_ProgressCircle.css +6 -6
- package/es/UNSAFE_ProgressCircle.js +8 -8
- package/es/UNSAFE_ProgressCircle.js.map +1 -1
- package/es/UNSAFE_RatingGauge.css +20 -20
- package/es/UNSAFE_RatingGauge.js +23 -23
- package/es/UNSAFE_RatingGauge.js.map +1 -1
- package/es/UNSAFE_SelectMultiple.css +1 -1
- package/es/UNSAFE_SelectMultiple.js +10 -10
- package/es/UNSAFE_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-d7a87dc9.js → _curry1-e7441421.js} +2 -2
- package/es/{_curry1-d7a87dc9.js.map → _curry1-e7441421.js.map} +1 -1
- package/es/{_curry2-0493a4a8.js → _curry2-b8fd2b44.js} +3 -3
- package/es/{_curry2-0493a4a8.js.map → _curry2-b8fd2b44.js.map} +1 -1
- package/es/{_curry3-562938bb.js → _curry3-70d01d2d.js} +4 -4
- package/es/{_curry3-562938bb.js.map → _curry3-70d01d2d.js.map} +1 -1
- package/es/{_has-009fcb51.js → _has-4556d6e5.js} +3 -3
- package/es/{_has-009fcb51.js.map → _has-4556d6e5.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-561e53d9.js → index-92ea6415.js} +2 -2
- package/es/{index-561e53d9.js.map → index-92ea6415.js.map} +1 -1
- package/es/{keys-cc486d04.js → keys-ac066128.js} +4 -4
- package/es/{keys-cc486d04.js.map → keys-ac066128.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-dc795ee6.js → tslib.es6-7f3f0941.js} +2 -2
- package/es/{tslib.es6-dc795ee6.js.map → tslib.es6-7f3f0941.js.map} +1 -1
- package/es/{useModal-4ee8fbe0.js → useModal-b58bbb15.js} +2 -2
- package/es/{useModal-4ee8fbe0.js.map → useModal-b58bbb15.js.map} +1 -1
- package/es/{useSingleSelection-40a47e38.js → useSingleSelection-24cde7db.js} +2 -2
- package/es/{useSingleSelection-40a47e38.js.map → useSingleSelection-24cde7db.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-36bd3fbc.js +0 -2
- package/amd/BaseButton-4b95e724.js +0 -2
- package/amd/Button-8aa00bbd.js +0 -2
- package/amd/Chip-a65960d0.js +0 -2
- package/amd/ComponentMessage-fb11610e.js +0 -2
- package/amd/ComponentMessageContainer-adda2d86.js +0 -2
- package/amd/Flex-f9400d0c.js +0 -2
- package/amd/FocusTrap-3f6a714b.js +0 -2
- package/amd/FormControlUtils-82ceb95a.js +0 -2
- package/amd/Heading-a33518ec.js +0 -2
- package/amd/Icon-4b1331cd.js +0 -2
- package/amd/Indexer-a2defca9.js +0 -2
- package/amd/InlineHelpSource-c4b0c7d8.js +0 -2
- package/amd/Link-c6ca1754.js +0 -2
- package/amd/List-44693a3f.js +0 -2
- package/amd/ListItemTextLayout-fdb38e7c.js +0 -2
- package/amd/Menu-de98800c.js +0 -2
- package/amd/MenuDivider-065706e5.js +0 -2
- package/amd/MenuItem-267f645c.js +0 -2
- package/amd/MessageCloseButton-c1dbc30b.js +0 -2
- package/amd/MessageDetail-42f44dd3.js +0 -2
- package/amd/MessageLayer-5ecd269b.js +0 -2
- package/amd/MessageStartIcon-1256ab5f.js +0 -2
- package/amd/MessageSummary-2bdadf22.js +0 -2
- package/amd/MessageTimestamp-1a077b86.js +0 -2
- package/amd/MeterCircle-af01377e.js +0 -2
- package/amd/Modal-302ea596.js +0 -2
- package/amd/ReadonlyTextFieldInput-b0bda1a7.js +0 -2
- package/amd/SelectMenuItem-b64fbb96.js +0 -2
- package/amd/SelectMultiple-5a1ff443.js +0 -2
- package/amd/Skeleton-465c0d6e.js +0 -2
- package/amd/SplitMenuButton-11cbdb7d.js +0 -2
- package/amd/Subheading-05e699c4.js +0 -2
- package/amd/Text-fc9678a9.js +0 -2
- package/amd/TextArea-678acb41.js +0 -2
- package/amd/TextFieldInput-f254d839.js +0 -2
- package/amd/_curry2-4587c862.js +0 -2
- package/amd/_has-264770bc.js +0 -2
- package/amd/flexbox-e416347d.js +0 -2
- package/amd/flexitem-7c6baa22.js +0 -2
- package/amd/useAnimation-af110ad3.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["require","preact/jsx-runtime","@testing-library/preact","chai","../../MeterCircle-af01377e","../../utils/UNSAFE_matchTranslationBundle","../../UNSAFE_Environment","@testing-library/user-event","../../utils/PRIVATE_clientHints","../../clientHints-0061da83","../../tslib.es6-de389af1","../../hooks/UNSAFE_useUser","preact/hooks","preact","../../UNSAFE_Layer","preact/compat","css!./../../UNSAFE_MeterCircle.css","../../utils/UNSAFE_mergeProps","../../utils/UNSAFE_classNames","../../classNames-f7aa427b","../../PRIVATE_Meter","../../utils/PRIVATE_meterUtils","../../utils/UNSAFE_dvtCommonUtils","../../hooks/PRIVATE_useDvtMeterEvents","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-930f80d0","../../index-9be81def","../../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-af110ad3","../../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-4dfb5d15","../../utils/UNSAFE_matchTranslationBundle","../../UNSAFE_Environment","@testing-library/user-event","../../utils/PRIVATE_clientHints","../../clientHints-2e828dd3","../../tslib.es6-0026d2ad","../../hooks/UNSAFE_useUser","preact/hooks","preact","../../UNSAFE_Layer","preact/compat","css!./../../UNSAFE_MeterCircle.css","../../utils/UNSAFE_mergeProps","../../utils/UNSAFE_classNames","../../classNames-62e37972","../../PRIVATE_Meter","../../utils/PRIVATE_meterUtils","../../utils/UNSAFE_dvtCommonUtils","../../hooks/PRIVATE_useDvtMeterEvents","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-e8dc5fb7","../../index-f9c35a81","../../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-979626b0","../../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
|
+
._6k5y2x{display:inline-block;pointer-events:none;}
|
|
2
|
+
.pdk292{touch-action:none;}.pdk292:focus-visible{outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-style:dotted;outline-width:1px;}
|
|
3
|
+
._12m8147{border-radius:50%;}
|
|
4
|
+
._1ws8eiz{border-radius:50% 50% 0 0 / 100% 100% 0 0;border-bottom:0;}
|
|
5
|
+
._16sop5u{border-radius:0% 0% 50% 50% / 0% 0% 100% 100%;border-top:0;}
|
|
6
|
+
.drv68p{border-radius:0 100% 100% 0 / 0% 50% 50% 0%;border-left:0;}
|
|
7
|
+
.ly1zai{border-radius:100% 0 0 100% / 50% 0 0 50%;border-right:0;}
|
|
8
|
+
._69yxbs{margin:1rem 1rem 0 1rem;}
|
|
9
|
+
.fahstu{margin:0.75rem 0.75rem 0 0.75rem;}
|
|
10
|
+
.nv6plq{margin:0.5rem 0.5rem 0 0.5rem;}
|
|
11
|
+
._12u74w7{margin:0 1rem 1rem 1rem;}
|
|
12
|
+
._11cfcwb{margin:0 0.75rem 0.75rem 0.75rem;}
|
|
13
|
+
._7fx09c{margin:0 0.5rem 0.5rem 0.5rem;}
|
|
14
|
+
._56njg4{margin:1rem 0 1rem 1rem;}
|
|
15
|
+
.uy0o47{margin:0.75rem 0 0.75rem 0.75rem;}
|
|
16
|
+
._1rsiwvn{margin:0.5rem 0 0.5rem 0.5rem;}
|
|
17
|
+
._14ttlbz{margin:1rem 1rem 1rem 0;}
|
|
18
|
+
.el7ljm{margin:0.75rem 0.75rem 0.75rem 0;}
|
|
19
|
+
._1dszkje{margin:0.5rem 0.5rem 0.5rem 0;}
|
|
20
|
+
._1d5aof1{margin:1rem;}
|
|
21
|
+
._1m5h65e{margin:0.75rem;}
|
|
22
|
+
._2o5q3x{margin:0.5rem;}
|
|
23
|
+
._7a9uun{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
|
+
._95ynib{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
|
+
.ld6qoy{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
|
+
._28ydez{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
|
+
._1fisilj{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
|
+
._1wtq1ch{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
|
+
.m1vbx4{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
|
+
._1i2oyka{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
|
+
._1xfl7w8{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
|
+
._124b6f5{pointer-events:none;width:100%;height:100%;line-height:initial;}
|
|
33
|
+
._1ajsy2c{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-threshold-color);}
|
|
34
|
+
._1a03bp7 > *{margin-top:0 !important;margin-bottom:0 !important;margin-left:0 !important;margin-right:0 !important;}
|
|
35
|
+
.og97nx{position:relative;box-sizing:border-box;cursor:pointer;pointer-events:auto;}
|
|
36
|
+
.isuj0q{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
|
+
.lhm0qz{border-width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-sm-track-size);}
|
|
38
|
+
.w2fqo4{border-width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-md-track-size);}
|
|
39
|
+
.b9at8u{border-width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-lg-track-size);}
|
|
40
|
+
.l1eafs{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
|
+
.cdmnmw{border-radius:50%;top:50%;left:50%;translate:-50% -50%;}
|
|
42
|
+
._1369l7g{top:100%;left:50%;translate:-50% -100%;}
|
|
43
|
+
._1cde2gm{top:50%;translate:0 -50%;}
|
|
44
|
+
._9xghto{left:100%;top:50%;translate:-100% -50%;}
|
|
45
|
+
._642i4p{left:50%;translate:-50% 0;}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
._12qb0n4{height:2px;position:absolute;transform-origin:0 50%;background-clip:padding-box;}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./MeterCircle-
|
|
1
|
+
define(["exports","./MeterCircle-4dfb5d15","./tslib.es6-0026d2ad","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-62e37972","./PRIVATE_Meter","./utils/PRIVATE_meterUtils","./utils/UNSAFE_dvtCommonUtils","./hooks/PRIVATE_useDvtMeterEvents","./hooks/UNSAFE_useTooltip","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-e8dc5fb7","./index-f9c35a81","./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-979626b0","./hooks/UNSAFE_useTabbableMode"],function(e,s,o,t,i,l,r,u,a,A,E,_,U,F,n,N,c,S,d,h,k,m,p,T,b,f,M,P,g,v,I,C,R,V){"use strict";e.MeterCircle=s.MeterCircle,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_MeterCircle.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["preact/jsx-runtime","preact","preact/hooks","@testing-library/preact","chai","../../UNSAFE_Layer","../../Modal-
|
|
1
|
+
define(["preact/jsx-runtime","preact","preact/hooks","@testing-library/preact","chai","../../UNSAFE_Layer","../../Modal-6e4f35b4","preact/compat","../../useModal-e73d78f1","../../UNSAFE_FocusTrap","../../FocusTrap-b2f97301","../../utils/UNSAFE_classNames","../../classNames-62e37972","css!./../../UNSAFE_Modal.css","../../utils/PRIVATE_tabbableUtils","../../_curry1-5e7b060f","../../_curry2-a7eb1217","../../_curry3-5f6cc6b4"],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
|
+
.uubx0m{position:fixed;top:0;right:0;bottom:0;left:0;}
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
._148cn42{position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5);}
|
|
4
4
|
|
|
5
|
-
.
|
|
5
|
+
.l0zb9r{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-6e4f35b4","preact/jsx-runtime","./useModal-e73d78f1","preact/compat","./UNSAFE_FocusTrap","./FocusTrap-b2f97301","preact","./utils/UNSAFE_classNames","./classNames-62e37972","css!./UNSAFE_Modal.css","./utils/PRIVATE_tabbableUtils","./_curry1-5e7b060f","./_curry2-a7eb1217","./_curry3-5f6cc6b4","./UNSAFE_Layer"],function(e,a,r,s,c,t,l,u,o,i,b,_,d,f,p,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-b73a0c88","preact/hooks","../../hooks/UNSAFE_useFormContext","../../UNSAFE_Environment","../../utils/UNSAFE_matchTranslationBundle","preact","preact/compat","../../hooks/UNSAFE_useFocusableTextField","../../tslib.es6-de389af1","../../hooks/UNSAFE_useFocusWithin","../../useFocusWithin-7564dfdd","../../hooks/UNSAFE_useFormFieldContext","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useTextField","../../hooks/UNSAFE_useId","../../UNSAFE_Label","../../utils/UNSAFE_classNames","../../classNames-f7aa427b",'module',"../../hooks/UNSAFE_usePrefixSuffix","../../UNSAFE_PrefixSuffix","../../hooks/UNSAFE_useUser","../../UNSAFE_Layer","../../UNSAFE_TextField","../../ReadonlyTextFieldInput-b0bda1a7","../../hooks/UNSAFE_useTabbableMode","../../utils/UNSAFE_interpolations/text","../../keys-a3d0c6e0","../../_curry1-a9b2d356","../../_has-264770bc","../../utils/UNSAFE_mergeInterpolations","../../_curry3-aa9c5bd1","../../_curry2-4587c862","../../FormControlUtils-82ceb95a","../../hooks/UNSAFE_useTranslationBundle","../../UNSAFE_LabelValueLayout","../../UNSAFE_Flex","../../Flex-f9400d0c","../../utils/UNSAFE_interpolations/dimensions","../../utils/UNSAFE_arrayUtils","../../utils/UNSAFE_size","../../utils/UNSAFE_interpolations/boxalignment","../../utils/UNSAFE_interpolations/flexbox","../../flexbox-e416347d","../../utils/UNSAFE_interpolations/flexitem","../../flexitem-7c6baa22","../../TextFieldInput-f254d839","../../hooks/UNSAFE_useTextFieldInputHandlers","../../utils/PRIVATE_clientHints","../../clientHints-0061da83","../../hooks/UNSAFE_useDebounce","../../UNSAFE_LiveRegion","../../UNSAFE_UserAssistance","../../InlineHelpSource-c4b0c7d8","../../UNSAFE_ComponentMessage","../../ComponentMessage-fb11610e","../../PRIVATE_Message","../../utils/PRIVATE_timer","../../MessageCloseButton-c1dbc30b","../../UNSAFE_Button","../../Button-8aa00bbd","../../UNSAFE_BaseButton","../../BaseButton-4b95e724","../../hooks/UNSAFE_usePress","../../hooks/UNSAFE_useActive","../../utils/UNSAFE_mergeProps","../../index-d117de08","../../index-4dd59b80","../../UNSAFE_Icon","../../Icon-4b1331cd","../../hooks/UNSAFE_useTooltip","../../UNSAFE_Floating","../../Floating-930f80d0","../../index-9be81def","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-af110ad3","../../hooks/UNSAFE_useTheme","../../MessageDetail-42f44dd3","../../MessageFormattingUtils-a991ff36","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-b89cb03c","../../Message.types-e1e686f9","../../MessageStartIcon-1256ab5f","../../MessageSummary-2bdadf22","../../MessageTimestamp-1a077b86","../../MessageUtils-43b228f0","../../utils/UNSAFE_logger","../../utils/UNSAFE_soundUtils","../../MessagesManager-7022e7d9","../../PRIVATE_TransitionGroup","../../hooks/UNSAFE_useMessagesContext","../../UNSAFE_HiddenAccessible","../../HiddenAccessible-be5f2a1d","../../ComponentMessageContainer-adda2d86","../../UNSAFE_Grid","../../utils/UNSAFE_interpolations/grid","../../hooks/UNSAFE_useCurrentValueReducer"],function(e,n,t,s,r,u,o,l,a,i,c,d,b,p,x,m,f,v,h,S,g,A,N,w,E,y,F,U,P,T,I,_,k,j,q,R,C,V,D,M,O,B,W,H,L,z,X,$,G,J,K,Q,Y,Z,ee,ne,te,se,re,ue,oe,le,ae,ie,ce,de,be,pe,xe,me,fe,ve,he,Se,ge,Ae,Ne,we,Ee,ye,Fe,Ue,Pe,Te,Ie,_e,ke,je,qe,Re,Ce,Ve,De,Me,Oe,Be,We,He,Le,ze,Xe,$e,Ge,Je,Ke,Qe,Ye,Ze,en){"use strict";function nn(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var tn=nn(r);u.NumberInputText;const sn=({assistiveText:e,helpSourceLink:t,helpSourceText:s,isDisabled:r,isReadonly:l,isRequired:a,label:i,labelEdge:c,messages:d,placeholder:b,prefix:p,suffix:x,textAlign:m,userAssistanceDensity:f,value:v,variant:h})=>{const[S,g]=o.useState(null!=v?v:""),A=o.useCallback(e=>{var n;S!==e.value&&g(null!==(n=e.value)&&void 0!==n?n:"")},[S]),[N,w]=o.useState(null!=v?v:""),E=o.useCallback(e=>{var n;N!==e.value&&w(null!==(n=e.value)&&void 0!==n?n:"")},[N]),y=""===N?void 0:+N;return n.jsx(u.NumberInputText,{ariaValueNow:y,ariaValueText:N,assistiveText:e,helpSourceLink:t,helpSourceText:s,isDisabled:r,isReadonly:l,isRequired:a,isRequiredShown:a&&""===N,label:i,labelEdge:c,messages:d,onCommit:E,onInput:A,placeholder:b,prefix:p,suffix:x,textAlign:m,userAssistanceDensity:f,value:S,variant:h})},rn=e=>n.jsx("div",Object.assign({style:{backgroundColor:"aliceblue",border:"yellow dotted 2px",boxSizing:"border-box",color:"orangered",height:"80px",minWidth:"6em",textAlign:"right",width:"25em"}},{children:n.jsx(sn,Object.assign({label:"Input Number"},e))}));rn.args={isDisabled:!1,isReadonly:!1,labelEdge:"none",placeholder:"Enter value",textAlign:void 0,variant:"embedded"},rn.parameters={controls:{include:[...Object.keys(rn.args)]}};const un=()=>{const e=e=>parseInt(e.replace(/[^\d]+/gi,"")),t=10,s=100,[r,l]=o.useState("10"),a=o.useCallback(e=>{var n;r!==e.value&&l(null!==(n=e.value)&&void 0!==n?n:"")},[r]),[i,c]=o.useState(10),d=o.useCallback(n=>{var t;const s=e(null!==(t=n.value)&&void 0!==t?t:""),u=Number.isNaN(s)?"":s.toString();r!==u&&l(u),i!==s&&c(s)},[r,i]),b=o.useCallback(n=>{l(r=>{const u=((e,n)=>{if(Number.isNaN(e))return t;const r=e%5;let u;return u=0!==r?"increase"===n?e+(5-r):e-r:"increase"===n?e+5:e-5,u>s?s:u<t?t:u})(e(r),n.direction);return c(u),u.toString()})},[]),p=NaN!==i?i>s?[{severity:"error",detail:"Enter 100 or a lower number."}]:i<t?[{severity:"error",detail:"Enter 10 or a higher number."}]:[]:[],x=Number.isNaN(i)?void 0:i,m=Number.isNaN(i)?void 0:i.toString();return n.jsxs(n.Fragment,{children:[n.jsx("h4",{children:"Step Buttons"}),n.jsx(u.NumberInputText,{ariaValueMax:s,ariaValueMin:t,ariaValueNow:x,ariaValueText:m,assistiveText:"Enter a number between 10 and 100",hasSteppers:!0,isStepDownDisabled:i<=t,isStepUpDisabled:i>=s,label:"min=10, max=100, step=5",messages:p,onCommit:d,onInput:a,onSpin:b,onStep:b,value:r})]})};async function on(){const n=i.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:t}=await function(n){switch(n){case"../../resources/nls/ar/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ar/bundle"],n,t)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ar-XB/bundle"],n,t)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/bg/bundle"],n,t)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/bs/bundle"],n,t)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/bs-Cyrl/bundle"],n,t)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/cs/bundle"],n,t)});case"../../resources/nls/da/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/da/bundle"],n,t)});case"../../resources/nls/de/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/de/bundle"],n,t)});case"../../resources/nls/el/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/el/bundle"],n,t)});case"../../resources/nls/en/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/en/bundle"],n,t)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/en-XA/bundle"],n,t)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/en-XC/bundle"],n,t)});case"../../resources/nls/es/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/es/bundle"],n,t)});case"../../resources/nls/et/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/et/bundle"],n,t)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/fi/bundle"],n,t)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/fr/bundle"],n,t)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/fr-CA/bundle"],n,t)});case"../../resources/nls/he/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/he/bundle"],n,t)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/hr/bundle"],n,t)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/hu/bundle"],n,t)});case"../../resources/nls/is/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/is/bundle"],n,t)});case"../../resources/nls/it/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/it/bundle"],n,t)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ja/bundle"],n,t)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ko/bundle"],n,t)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/lt/bundle"],n,t)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/lv/bundle"],n,t)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ms/bundle"],n,t)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/nl/bundle"],n,t)});case"../../resources/nls/no/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/no/bundle"],n,t)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/pl/bundle"],n,t)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/pt/bundle"],n,t)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/pt-PT/bundle"],n,t)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ro/bundle"],n,t)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/ru/bundle"],n,t)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sk/bundle"],n,t)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sl/bundle"],n,t)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sr/bundle"],n,t)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sr-Latn/bundle"],n,t)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/sv/bundle"],n,t)});case"../../resources/nls/th/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/th/bundle"],n,t)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/tr/bundle"],n,t)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/uk/bundle"],n,t)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/vi/bundle"],n,t)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/zh-Hans/bundle"],n,t)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(n,t){e(["../../resources/nls/zh-Hant/bundle"],n,t)});default:return new Promise(function(e,t){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(t.bind(null,new Error("Unknown variable dynamic import: "+n)))})}}(`../../resources/nls/${n}/bundle.ts`);return{translations:{"@oracle/oraclejet-preact":t}}}const ln=()=>{};describe("Test NumberInputText",()=>{it("Renders",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{label:"mylabel",onInput:ln})),r=e.querySelector("input");s.expect(r).not.to.be.null}),it("Does not have spinbutton role if no steppers are shown",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{label:"mylabel",onInput:ln})),r=e.querySelector("[role=spinbutton]");s.expect(r).to.be.null}),afterEach(t.cleanup)}),describe("Test NumberInputText aria-value attributes",()=>{it("Adds aria-valuemin and aria-valuemax when enabled",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{ariaValueMin:0,ariaValueMax:100,label:"min=0, max=100",onInput:ln})),r=e.querySelector("input"),o=null==r?void 0:r.getAttribute("aria-valuemin"),l=null==r?void 0:r.getAttribute("aria-valuemax");s.expect(o).to.equal("0"),s.expect(l).to.equal("100")}),it("Adds aria-valuemin and aria-valuemax when disabled",function(){const{container:e}=t.render(n.jsx(u.NumberInputText,{ariaValueMin:0,ariaValueMax:100,isDisabled:!0,label:"min=0, max=100",onInput:ln})),r=e.querySelector("input"),o=null==r?void 0:r.getAttribute("aria-valuemin"),l=null==r?void 0:r.getAttribute("aria-valuemax");s.expect(o).to.equal("0"),s.expect(l).to.equal("100")}),it("Does not add aria-valuemin and aria-valuemax when readonly",function(){const{getByText:e}=t.render(n.jsx(u.NumberInputText,{ariaValueMin:0,ariaValueMax:100,isReadonly:!0,label:"min=0, max=100",onInput:ln,value:"25"})),r=e("25"),o=r.getAttribute("aria-valuemin"),l=r.getAttribute("aria-valuemax");s.expect(o).to.be.null,s.expect(l).to.be.null}),it("Adds aria-valuenow and aria-valuetext when enabled",function(){const e="$500",{container:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,label:"min=0, max=1000",onInput:ln,value:e})),o=r.querySelector("input"),l=null==o?void 0:o.getAttribute("aria-valuenow"),a=null==o?void 0:o.getAttribute("aria-valuetext");s.expect(l).to.equal("500"),s.expect(a).to.equal(e)}),it("Adds aria-valuenow and aria-valuetext when disabled",function(){const e="$500",{container:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,isDisabled:!0,label:"min=0, max=1000",onInput:ln,value:e})),o=r.querySelector("input"),l=null==o?void 0:o.getAttribute("aria-valuenow"),a=null==o?void 0:o.getAttribute("aria-valuetext");s.expect(l).to.equal("500"),s.expect(a).to.equal(e)}),it("Does not add aria-valuenow and aria-valuetext when readonly",function(){const e="$500",{getByText:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,isReadonly:!0,label:"min=0, max=1000",onInput:ln,value:e})),o=r(e),l=o.getAttribute("aria-valuenow"),a=o.getAttribute("aria-valuetext");s.expect(l).to.be.null,s.expect(a).to.be.null}),it("Does not add aria-valuetext when it is the same as aria-valuenow",function(){const e="500",{container:r}=t.render(n.jsx(u.NumberInputText,{ariaValueNow:500,ariaValueText:e,label:"min=0, max=1000",onInput:ln,value:e})),o=r.querySelector("input"),l=null==o?void 0:o.getAttribute("aria-valuenow"),a=null==o?void 0:o.getAttribute("aria-valuetext");s.expect(l).to.equal(e),s.expect(a).to.be.null}),afterEach(t.cleanup)}),describe("Test NumberInputText steppers",()=>{let e;beforeEach(async function(){e=null!=e?e:await on()}),afterEach(t.cleanup);const r=e=>null==e?void 0:e.querySelector('button[title="Increase"]'),o=e=>null==e?void 0:e.querySelector('button[title="Decrease"]');it("If hasSteppers=true and control is enabled, steppers are present and role is spinbutton",function(){const{container:l,getByRole:i}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,label:"mylabel",onInput:ln})}))),c=i("spinbutton");s.expect(c).not.to.be.null,s.expect(null==c?void 0:c.tagName.toUpperCase()).to.equal("INPUT");const d=r(l),b=o(l);s.expect(d).not.to.be.null,s.expect(b).not.to.be.null}),it("If hasSteppers=true and control is disabled, steppers are present and role is spinbutton",function(){const{container:l,getByRole:i}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isDisabled:!0,label:"mylabel",onInput:ln})}))),c=i("spinbutton");s.expect(c).not.to.be.null,s.expect(null==c?void 0:c.tagName.toUpperCase()).to.equal("INPUT");const d=r(l),b=o(l);s.expect(d).not.to.be.null,s.expect(b).not.to.be.null}),it("If hasSteppers=true and control is readonly, no steppers or spinbutton role",function(){const{container:l}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isReadonly:!0,label:"mylabel",onInput:ln})}))),i=l.querySelector("[role=spinbutton]");s.expect(i).to.be.null;const c=r(l),d=o(l);s.expect(c).to.be.null,s.expect(d).to.be.null}),it("Step buttons are shown with correct tabindex and title",function(){const{container:l}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,label:"mylabel",onInput:ln})}))),i=r(l),c=o(l);s.expect(null==i?void 0:i.getAttribute("tabindex")).to.equal("-1"),s.expect(null==c?void 0:c.getAttribute("tabindex")).to.equal("-1"),s.expect(null==i?void 0:i.getAttribute("title")).to.equal("Increase"),s.expect(null==c?void 0:c.getAttribute("title")).to.equal("Decrease")}),it("Step buttons can be disabled",function(){const{container:l}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isStepDownDisabled:!0,isStepUpDisabled:!0,label:"mylabel",onInput:ln})}))),i=r(l),c=o(l);s.expect(i).not.to.be.null,s.expect(c).not.to.be.null;const d=null==i?void 0:i.getAttribute("disabled"),b=null==c?void 0:c.getAttribute("disabled");s.expect(d).not.to.be.null,s.expect(b).not.to.be.null}),it("If number input is disabled, the steppers are disabled",function(){const{container:l}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(u.NumberInputText,{hasSteppers:!0,isDisabled:!0,label:"mylabel",onInput:ln})}))),i=r(l),c=o(l);s.expect(i).not.to.be.null,s.expect(c).not.to.be.null;const d=null==i?void 0:i.getAttribute("disabled"),b=null==c?void 0:c.getAttribute("disabled");s.expect(d).not.to.be.null,s.expect(b).not.to.be.null})}),describe("Test NumberInputText stepping functionality",()=>{let e;beforeEach(async function(){e=null!=e?e:await on()}),afterEach(t.cleanup);const r=e=>null==e?void 0:e.querySelector('button[title="Increase"]'),u=e=>null==e?void 0:e.querySelector('button[title="Decrease"]');it("Can step up/down by clicking on steppers",function(){const{container:o}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),l=r(o),i=u(o),c=o.querySelector("input");t.fireEvent.click(l),t.fireEvent.click(l),t.fireEvent.click(l),s.expect(c.value).to.equal("25"),t.fireEvent.click(i),s.expect(c.value).to.equal("20")}),it("Can step up/down by pressing the arrow keys",async function(){const{container:r}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),u=r.querySelector("input");s.expect(u).not.to.be.null,u.focus(),tn.default.keyboard("[ARROWUP]"),await t.waitFor(()=>s.expect(u.value).equals("15")),tn.default.keyboard("[ARROWDOWN]"),await t.waitFor(()=>s.expect(u.value).equals("10"))}),it("Clicking step down or pressing arrow down does nothing when disabled",async function(){const{container:r}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),o=r.querySelector("input"),l=u(r);s.expect(o).not.to.be.null,s.expect(l).not.to.be.null;t.fireEvent.click(l),s.expect(o.value).to.equal("10"),o.focus(),tn.default.keyboard("[ARROWDOWN]"),await t.waitFor(()=>s.expect(o.value).equals("10"))}),it("Clicking step up or pressing arrow up does nothing when disabled",async function(){const{container:u}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsxs(n.Fragment,{children:[n.jsx(un,{}),n.jsx("button",Object.assign({class:"testclickmebutton"},{children:"Click me"}))]})}))),o=u.querySelector("input"),l=r(u),i=u.querySelector(".testclickmebutton");s.expect(o).not.to.be.null,s.expect(l).not.to.be.null,s.expect(i).not.to.be.null;const c="100";o.focus(),o.value=c,i.focus(),s.expect(o.value).to.equal(c),t.fireEvent.click(l),s.expect(o.value).to.equal(c),o.focus(),tn.default.keyboard("[ARROWUP]"),await t.waitFor(()=>s.expect(o.value).equals(c))})}),describe("Test NumberInputText spinning functionality",()=>{let e;beforeEach(async function(){e=null!=e?e:await on()}),afterEach(t.cleanup),it("Can spin by holding down the arrow keys",async function(){const{container:r}=t.render(n.jsx(a.RootEnvironmentProvider,Object.assign({environment:e},{children:n.jsx(un,{})}))),u=r.querySelector("input");s.expect(u).not.to.be.null,u.focus(),tn.default.keyboard("[ARROWUP>10/]"),await t.waitFor(()=>s.expect(u.value).equals("60")),tn.default.keyboard("[ARROWDOWN>4/]"),await t.waitFor(()=>s.expect(u.value).equals("40"))})})});
|
|
1
|
+
define(["require","preact/jsx-runtime","@testing-library/preact","chai","@testing-library/user-event","../../NumberInputText-33d397cf","preact/hooks","../../hooks/UNSAFE_useFormContext","../../UNSAFE_Environment","../../utils/UNSAFE_matchTranslationBundle","preact","preact/compat","../../hooks/UNSAFE_useFocusableTextField","../../tslib.es6-0026d2ad","../../hooks/UNSAFE_useFocusWithin","../../useFocusWithin-4141423e","../../hooks/UNSAFE_useFormFieldContext","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useTextField","../../hooks/UNSAFE_useId","../../UNSAFE_Label","../../utils/UNSAFE_classNames","../../classNames-62e37972",'module',"../../hooks/UNSAFE_usePrefixSuffix","../../UNSAFE_PrefixSuffix","../../hooks/UNSAFE_useUser","../../UNSAFE_Layer","../../UNSAFE_TextField","../../ReadonlyTextFieldInput-5d75bcc4","../../hooks/UNSAFE_useTabbableMode","../../utils/UNSAFE_interpolations/text","../../keys-f1cf2c8a","../../_curry1-5e7b060f","../../_has-ec8331b9","../../utils/UNSAFE_mergeInterpolations","../../_curry3-5f6cc6b4","../../_curry2-a7eb1217","../../FormControlUtils-fb5ac7a9","../../hooks/UNSAFE_useTranslationBundle","../../UNSAFE_LabelValueLayout","../../UNSAFE_Flex","../../Flex-56ca361c","../../utils/UNSAFE_interpolations/dimensions","../../utils/UNSAFE_arrayUtils","../../utils/UNSAFE_size","../../utils/UNSAFE_interpolations/boxalignment","../../utils/UNSAFE_interpolations/flexbox","../../flexbox-495ba219","../../utils/UNSAFE_interpolations/flexitem","../../flexitem-2a478c7f","../../TextFieldInput-89b3ad37","../../hooks/UNSAFE_useTextFieldInputHandlers","../../utils/PRIVATE_clientHints","../../clientHints-2e828dd3","../../hooks/UNSAFE_useDebounce","../../UNSAFE_LiveRegion","../../UNSAFE_UserAssistance","../../InlineHelpSource-f4277abb","../../UNSAFE_ComponentMessage","../../ComponentMessage-955a6a54","../../PRIVATE_Message","../../utils/PRIVATE_timer","../../MessageCloseButton-c0436a6d","../../UNSAFE_Button","../../Button-0d9421fc","../../UNSAFE_BaseButton","../../BaseButton-7d5eb39d","../../hooks/UNSAFE_usePress","../../hooks/UNSAFE_useActive","../../utils/UNSAFE_mergeProps","../../index-359cad62","../../index-8aa44d16","../../UNSAFE_Icon","../../Icon-104b91f5","../../hooks/UNSAFE_useTooltip","../../UNSAFE_Floating","../../Floating-e8dc5fb7","../../index-f9c35a81","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-979626b0","../../hooks/UNSAFE_useTheme","../../MessageDetail-3e492e42","../../MessageFormattingUtils-36ba3a21","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-91d77e3d","../../Message.types-cdf49a64","../../MessageStartIcon-c7c14eb3","../../MessageSummary-2e35809c","../../MessageTimestamp-5a7d95b4","../../MessageUtils-f508120a","../../utils/UNSAFE_logger","../../utils/UNSAFE_soundUtils","../../MessagesManager-2c73161c","../../PRIVATE_TransitionGroup","../../hooks/UNSAFE_useMessagesContext","../../UNSAFE_HiddenAccessible","../../HiddenAccessible-5ecb1534","../../ComponentMessageContainer-6bd115d9","../../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,v,f,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,ve,fe,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:v,value:f,variant:h})=>{const[S,g]=o.useState(null!=f?f:""),A=o.useCallback(e=>{var n;S!==e.value&&g(null!==(n=e.value)&&void 0!==n?n:"")},[S]),[N,w]=o.useState(null!=f?f:""),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:v,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-33d397cf","preact/jsx-runtime","preact","preact/compat","preact/hooks","./hooks/UNSAFE_useFocusableTextField","./tslib.es6-0026d2ad","./hooks/UNSAFE_useFocusWithin","./useFocusWithin-4141423e","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useTextField","./hooks/UNSAFE_useId","./UNSAFE_Label","./utils/UNSAFE_classNames","./classNames-62e37972",'module',"./hooks/UNSAFE_usePrefixSuffix","./UNSAFE_PrefixSuffix","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./UNSAFE_TextField","./ReadonlyTextFieldInput-5d75bcc4","./hooks/UNSAFE_useTabbableMode","./utils/UNSAFE_interpolations/text","./keys-f1cf2c8a","./_curry1-5e7b060f","./_has-ec8331b9","./utils/UNSAFE_mergeInterpolations","./_curry3-5f6cc6b4","./_curry2-a7eb1217","./FormControlUtils-fb5ac7a9","./hooks/UNSAFE_useTranslationBundle","./UNSAFE_LabelValueLayout","./UNSAFE_Flex","./Flex-56ca361c","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./utils/UNSAFE_interpolations/boxalignment","./utils/UNSAFE_interpolations/flexbox","./flexbox-495ba219","./utils/UNSAFE_interpolations/flexitem","./flexitem-2a478c7f","./TextFieldInput-89b3ad37","./hooks/UNSAFE_useTextFieldInputHandlers","./utils/PRIVATE_clientHints","./clientHints-2e828dd3","./hooks/UNSAFE_useDebounce","./UNSAFE_LiveRegion","./UNSAFE_UserAssistance","./InlineHelpSource-f4277abb","./UNSAFE_ComponentMessage","./ComponentMessage-955a6a54","./PRIVATE_Message","./utils/PRIVATE_timer","./MessageCloseButton-c0436a6d","./UNSAFE_Button","./Button-0d9421fc","./UNSAFE_BaseButton","./BaseButton-7d5eb39d","./hooks/UNSAFE_usePress","./hooks/UNSAFE_useActive","./utils/UNSAFE_mergeProps","./index-359cad62","./index-8aa44d16","./UNSAFE_Icon","./Icon-104b91f5","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-e8dc5fb7","./index-f9c35a81","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-979626b0","./hooks/UNSAFE_useTheme","./MessageDetail-3e492e42","./MessageFormattingUtils-36ba3a21","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-91d77e3d","./Message.types-cdf49a64","./MessageStartIcon-c7c14eb3","./MessageSummary-2e35809c","./MessageTimestamp-5a7d95b4","./MessageUtils-f508120a","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./MessagesManager-2c73161c","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useMessagesContext","./UNSAFE_HiddenAccessible","./HiddenAccessible-5ecb1534","./ComponentMessageContainer-6bd115d9","./UNSAFE_Grid","./utils/UNSAFE_interpolations/grid","./hooks/UNSAFE_useCurrentValueReducer"],function(e,s,t,o,i,a,n,u,l,F,A,_,U,r,E,N,S,c,d,b,g,x,h,f,m,p,k,T,I,M,y,C,P,R,B,V,H,L,v,j,D,G,O,W,z,q,w,J,K,Q,X,Y,Z,$,ee,se,te,oe,ie,ae,ne,ue,le,Fe,Ae,_e,Ue,re,Ee,Ne,Se,ce,de,be,ge,xe,he,fe,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
|
+
._1ahqhmx{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
|
+
._1ifogsx{opacity:.45;}
|
|
3
|
+
.t5ox0p{color:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color-disabled);}
|
|
4
|
+
._1eszt6h{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
|
+
.ni9uvb{padding-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding);}
|
|
6
|
+
.vnooqd{padding-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding);}
|
|
7
|
+
._1o8f1uu{padding-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding);}
|
|
8
|
+
._1rwddb8{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-62e37972"],function(s,e,i,t,n){"use strict";s.PrefixSuffix=function({hasEndContent:s,hasInsideLabel:i,hasStartContent:t,id:a,isDisabled:r,isFocused:d,text:f,variant:u}){const c="_1ahqhmx",o="_1ifogsx",x="t5ox0p",l="_1eszt6h",h="ni9uvb",_="vnooqd",p="_1o8f1uu",b="_1rwddb8",j=n.classNames([c,"suffix"===u&&s&&_,i&&l,"prefix"===u&&t&&h,d&&o,r&&x,"prefix"===u&&!t&&p,"suffix"===u&&!s&&b]);return e.jsx("div",Object.assign({class:j,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,WAAAA,EAAA,WAAAA,EAAA,SAAAA,EAAA,WAAAA,EAAA,SAAAA,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"}
|