@oracle/oraclejet-preact 14.1.2 → 14.1.3
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-f2e658cf.js +2 -0
- package/amd/{Badge-4f4d90cf.js.map → Badge-f2e658cf.js.map} +1 -1
- package/amd/BaseButton-11b235cb.js +2 -0
- package/amd/{BaseButton-a0dcd5bc.js.map → BaseButton-11b235cb.js.map} +1 -1
- package/amd/Button-c2a2ed3c.js +2 -0
- package/amd/{Button-198c8ed6.js.map → Button-c2a2ed3c.js.map} +1 -1
- package/amd/Chip-ee8d9f5c.js +2 -0
- package/amd/{Chip-aba2180a.js.map → Chip-ee8d9f5c.js.map} +1 -1
- package/amd/{ClearIcon-867e4d35.js → ClearIcon-b4e0bc2c.js} +2 -2
- package/amd/{ClearIcon-867e4d35.js.map → ClearIcon-b4e0bc2c.js.map} +1 -1
- package/amd/{Collection-252363d1.js → Collection-a2023ec4.js} +1 -1
- package/amd/{Collection-252363d1.js.map → Collection-a2023ec4.js.map} +1 -1
- package/amd/ComponentMessage-ed1626cc.js +2 -0
- package/amd/{ComponentMessage-cb17d5ef.js.map → ComponentMessage-ed1626cc.js.map} +1 -1
- package/amd/ComponentMessageContainer-ecc16a04.js +2 -0
- package/amd/{ComponentMessageContainer-f4c35d4c.js.map → ComponentMessageContainer-ecc16a04.js.map} +1 -1
- package/amd/Divider-131e294b.js +2 -0
- package/amd/{Divider-53161f8d.js.map → Divider-131e294b.js.map} +1 -1
- package/amd/{FilePicker-f4325051.js → FilePicker-a8f06238.js} +2 -2
- package/amd/{FilePicker-f4325051.js.map → FilePicker-a8f06238.js.map} +1 -1
- package/amd/Flex-1deb0905.js +2 -0
- package/amd/{Flex-775e90e5.js.map → Flex-1deb0905.js.map} +1 -1
- package/amd/{Floating-29a9dee6.js → Floating-5ed96514.js} +2 -2
- package/amd/{Floating-29a9dee6.js.map → Floating-5ed96514.js.map} +1 -1
- package/amd/FocusTrap-8cdc3fc9.js +2 -0
- package/amd/{FocusTrap-a01c0bda.js.map → FocusTrap-8cdc3fc9.js.map} +1 -1
- package/amd/FormControlUtils-bd39bf2a.js +2 -0
- package/amd/{FormControlUtils-93032a0a.js.map → FormControlUtils-bd39bf2a.js.map} +1 -1
- package/amd/Heading-473ad11a.js +2 -0
- package/amd/{Heading-d8f3e1f5.js.map → Heading-473ad11a.js.map} +1 -1
- package/amd/HiddenAccessible-59eafec1.js +2 -0
- package/amd/{HiddenAccessible-ee9951fd.js.map → HiddenAccessible-59eafec1.js.map} +1 -1
- package/amd/HighlightText-3f7b169c.js +2 -0
- package/amd/{HighlightText-14091fdf.js.map → HighlightText-3f7b169c.js.map} +1 -1
- package/amd/Icon-051e5c7b.js +2 -0
- package/amd/{Icon-fba33d1c.js.map → Icon-051e5c7b.js.map} +1 -1
- package/amd/Indexer-af10f4a1.js +2 -0
- package/amd/{Indexer-be37999b.js.map → Indexer-af10f4a1.js.map} +1 -1
- package/amd/{InlineHelpSource-a78ef578.js → InlineHelpSource-f2904bae.js} +2 -2
- package/amd/{InlineHelpSource-a78ef578.js.map → InlineHelpSource-f2904bae.js.map} +1 -1
- package/amd/Link-23d73b75.js +2 -0
- package/amd/{Link-4b28c477.js.map → Link-23d73b75.js.map} +1 -1
- package/amd/List-2f7a2bfe.js +2 -0
- package/amd/{List-fa470728.js.map → List-2f7a2bfe.js.map} +1 -1
- package/amd/ListItemTextLayout-073d5e5d.js +2 -0
- package/amd/{ListItemTextLayout-477ba118.js.map → ListItemTextLayout-073d5e5d.js.map} +1 -1
- package/amd/{ListView-bbb385a8.js → ListView-3bb3ac15.js} +2 -2
- package/amd/{ListView-bbb385a8.js.map → ListView-3bb3ac15.js.map} +1 -1
- package/amd/{LoadMoreCollection-1f21b58b.js → LoadMoreCollection-0d91c279.js} +2 -2
- package/amd/{LoadMoreCollection-1f21b58b.js.map → LoadMoreCollection-0d91c279.js.map} +1 -1
- package/amd/{Menu-6615ac95.js → Menu-bf7e45ce.js} +2 -2
- package/amd/{Menu-6615ac95.js.map → Menu-bf7e45ce.js.map} +1 -1
- package/amd/MenuDivider-410ddd93.js +2 -0
- package/amd/{MenuDivider-f037b3f9.js.map → MenuDivider-410ddd93.js.map} +1 -1
- package/amd/MenuItem-41696d68.js +2 -0
- package/amd/{MenuItem-f29b8cbd.js.map → MenuItem-41696d68.js.map} +1 -1
- package/amd/{Message.types-6c6dbbc6.js → Message.types-1bd2ebd5.js} +1 -1
- package/amd/{Message.types-6c6dbbc6.js.map → Message.types-1bd2ebd5.js.map} +1 -1
- package/amd/MessageCloseButton-56a1b482.js +2 -0
- package/amd/{MessageCloseButton-e5e23578.js.map → MessageCloseButton-56a1b482.js.map} +1 -1
- package/amd/MessageDetail-3accef82.js +2 -0
- package/amd/{MessageDetail-cdf90f10.js.map → MessageDetail-3accef82.js.map} +1 -1
- package/amd/{MessageFormattingUtils-e81ab058.js → MessageFormattingUtils-f3552dd6.js} +2 -2
- package/amd/{MessageFormattingUtils-e81ab058.js.map → MessageFormattingUtils-f3552dd6.js.map} +1 -1
- package/amd/MessageLayer-3d243ea8.js +2 -0
- package/amd/{MessageLayer-1657962b.js.map → MessageLayer-3d243ea8.js.map} +1 -1
- package/amd/MessageStartIcon-5ae3e2fa.js +2 -0
- package/amd/{MessageStartIcon-08f308fb.js.map → MessageStartIcon-5ae3e2fa.js.map} +1 -1
- package/amd/MessageSummary-33ad094f.js +2 -0
- package/amd/{MessageSummary-7f3d5e57.js.map → MessageSummary-33ad094f.js.map} +1 -1
- package/amd/MessageTimestamp-ee4aca90.js +2 -0
- package/amd/{MessageTimestamp-a3284f86.js.map → MessageTimestamp-ee4aca90.js.map} +1 -1
- package/amd/MessageToast-f422e78d.js +2 -0
- package/amd/{MessageToast-267e1025.js.map → MessageToast-f422e78d.js.map} +1 -1
- package/amd/{MessageUtils-1b8f1958.js → MessageUtils-3e182828.js} +2 -2
- package/amd/{MessageUtils-1b8f1958.js.map → MessageUtils-3e182828.js.map} +1 -1
- package/amd/{MessagesManager-f10f9b86.js → MessagesManager-a8de1b1e.js} +2 -2
- package/amd/{MessagesManager-f10f9b86.js.map → MessagesManager-a8de1b1e.js.map} +1 -1
- package/amd/MeterCircle-2bef9043.js +2 -0
- package/amd/{MeterCircle-358ea005.js.map → MeterCircle-2bef9043.js.map} +1 -1
- package/amd/Modal-b2b16a9b.js +2 -0
- package/amd/{Modal-32fcb565.js.map → Modal-b2b16a9b.js.map} +1 -1
- package/amd/{NumberInputText-0ea5ec64.js → NumberInputText-b843621b.js} +2 -2
- package/amd/{NumberInputText-0ea5ec64.js.map → NumberInputText-b843621b.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-ae77254d.js +2 -0
- package/amd/{ReadonlyTextFieldInput-75343b0a.js.map → ReadonlyTextFieldInput-ae77254d.js.map} +1 -1
- package/amd/SelectMenuItem-5e7a8c7b.js +2 -0
- package/amd/{SelectMenuItem-f5d05212.js.map → SelectMenuItem-5e7a8c7b.js.map} +1 -1
- package/amd/{SelectMultiple-b735d9f9.js → SelectMultiple-ed65a14f.js} +2 -2
- package/amd/{SelectMultiple-b735d9f9.js.map → SelectMultiple-ed65a14f.js.map} +1 -1
- package/amd/{SelectSingle-e820da1c.js → SelectSingle-99320c87.js} +2 -2
- package/amd/{SelectSingle-e820da1c.js.map → SelectSingle-99320c87.js.map} +1 -1
- package/amd/Skeleton-c89a5959.js +2 -0
- package/amd/{Skeleton-10fcb9d9.js.map → Skeleton-c89a5959.js.map} +1 -1
- package/amd/{Spacer-daffe4d6.js → Spacer-6a9bd04d.js} +2 -2
- package/amd/{Spacer-daffe4d6.js.map → Spacer-6a9bd04d.js.map} +1 -1
- package/amd/SplitMenuButton-150e76b8.js +2 -0
- package/amd/{SplitMenuButton-1a3887b2.js.map → SplitMenuButton-150e76b8.js.map} +1 -1
- package/amd/Subheading-797cbabd.js +2 -0
- package/amd/{Subheading-353a86c6.js.map → Subheading-797cbabd.js.map} +1 -1
- package/amd/Text-51a895bf.js +2 -0
- package/amd/{Text-051a473d.js.map → Text-51a895bf.js.map} +1 -1
- package/amd/TextArea-fafbccdc.js +2 -0
- package/amd/{TextArea-f1ffb05f.js.map → TextArea-fafbccdc.js.map} +1 -1
- package/amd/{TextAreaAutosize-4969c66e.js → TextAreaAutosize-51998441.js} +2 -2
- package/amd/{TextAreaAutosize-4969c66e.js.map → TextAreaAutosize-51998441.js.map} +1 -1
- package/amd/TextFieldInput-ec3ad626.js +2 -0
- package/amd/{TextFieldInput-7e57209c.js.map → TextFieldInput-ec3ad626.js.map} +1 -1
- package/amd/UNSAFE_AspectRatio.css +1 -1
- package/amd/UNSAFE_AspectRatio.js +1 -1
- package/amd/UNSAFE_Avatar/__tests__/Avatar.spec.js +1 -1
- package/amd/UNSAFE_Avatar.css +8 -8
- package/amd/UNSAFE_Avatar.js +1 -1
- package/amd/UNSAFE_Avatar.js.map +1 -1
- package/amd/UNSAFE_Badge/__tests__/Badge.spec.js +1 -1
- package/amd/UNSAFE_Badge.css +13 -13
- package/amd/UNSAFE_Badge.js +1 -1
- package/amd/UNSAFE_BaseButton/__tests__/BaseButton.spec.js +1 -1
- package/amd/UNSAFE_BaseButton.css +15 -15
- package/amd/UNSAFE_BaseButton.js +1 -1
- package/amd/UNSAFE_Button/__tests__/Button.spec.js +1 -1
- package/amd/UNSAFE_Button.css +7 -7
- package/amd/UNSAFE_Button.js +1 -1
- package/amd/UNSAFE_Center.js +1 -1
- package/amd/UNSAFE_Chip/__tests__/Chip.spec.js +1 -1
- package/amd/UNSAFE_Chip.css +7 -7
- package/amd/UNSAFE_Chip.js +1 -1
- package/amd/UNSAFE_Collapsible.css +8 -8
- package/amd/UNSAFE_Collapsible.js +1 -1
- package/amd/UNSAFE_Collapsible.js.map +1 -1
- package/amd/UNSAFE_ComponentMessage/__tests__/ComponentMessage.spec.js +1 -1
- package/amd/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js +1 -1
- package/amd/UNSAFE_ComponentMessage.css +2 -2
- package/amd/UNSAFE_ComponentMessage.js +1 -1
- package/amd/UNSAFE_Divider/__tests__/Divider.spec.js +1 -1
- package/amd/UNSAFE_Divider.css +1 -1
- package/amd/UNSAFE_Divider.js +1 -1
- package/amd/UNSAFE_FilePicker/__tests__/FilePicker.spec.js +1 -1
- package/amd/UNSAFE_FilePicker.css +6 -6
- package/amd/UNSAFE_FilePicker.js +1 -1
- package/amd/UNSAFE_Flex/__tests__/Flex.spec.js +1 -1
- package/amd/UNSAFE_Flex.css +2 -2
- package/amd/UNSAFE_Flex.js +1 -1
- package/amd/UNSAFE_Floating/__tests__/Floating.spec.js +1 -1
- package/amd/UNSAFE_Floating.js +1 -1
- package/amd/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js +1 -1
- package/amd/UNSAFE_FocusTrap.css +2 -2
- package/amd/UNSAFE_FocusTrap.js +1 -1
- package/amd/UNSAFE_Grid.css +1 -1
- package/amd/UNSAFE_Grid.js +1 -1
- package/amd/UNSAFE_Heading/__test__/Heading.spec.js +1 -1
- package/amd/UNSAFE_Heading.css +9 -9
- package/amd/UNSAFE_Heading.js +1 -1
- package/amd/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js +1 -1
- package/amd/UNSAFE_HiddenAccessible.css +1 -1
- package/amd/UNSAFE_HiddenAccessible.js +1 -1
- package/amd/UNSAFE_HighlightText/__tests__/HighlightText.spec.js +1 -1
- package/amd/UNSAFE_HighlightText.css +1 -1
- package/amd/UNSAFE_HighlightText.js +1 -1
- package/amd/UNSAFE_Icon/__tests__/Icon.spec.js +1 -1
- package/amd/UNSAFE_Icon/__tests__/Icons.spec.js +1 -1
- package/amd/UNSAFE_Icon.css +8 -8
- package/amd/UNSAFE_Icon.js +1 -1
- package/amd/UNSAFE_Icons.js +1 -1
- package/amd/UNSAFE_Indexer/__tests__/Indexer.spec.js +1 -1
- package/amd/UNSAFE_Indexer.css +7 -7
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputPassword/__tests__/InputPassword.spec.js +1 -1
- package/amd/UNSAFE_InputPassword.css +1 -1
- package/amd/UNSAFE_InputPassword.js +1 -1
- package/amd/UNSAFE_InputText.css +1 -1
- package/amd/UNSAFE_InputText.js +1 -1
- package/amd/UNSAFE_Label.css +13 -13
- package/amd/UNSAFE_Label.js +1 -1
- package/amd/UNSAFE_Label.js.map +1 -1
- package/amd/UNSAFE_LabelValueLayout.css +9 -9
- package/amd/UNSAFE_LabelValueLayout.js +1 -1
- package/amd/UNSAFE_LabelValueLayout.js.map +1 -1
- package/amd/UNSAFE_Link/__tests__/Link.spec.js +1 -1
- package/amd/UNSAFE_Link.css +5 -5
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js +1 -1
- package/amd/UNSAFE_ListItemLayout.css +9 -9
- package/amd/UNSAFE_ListItemLayout.js +1 -1
- package/amd/UNSAFE_ListView/__tests__/ListView.spec.js +1 -1
- package/amd/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_LiveRegion.css +1 -1
- package/amd/UNSAFE_LiveRegion.js +1 -1
- package/amd/UNSAFE_LiveRegion.js.map +1 -1
- package/amd/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js +1 -1
- package/amd/UNSAFE_LoadMoreCollection.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/Menu.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/MenuItem.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +1 -1
- package/amd/UNSAFE_Menu.css +23 -23
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +1 -1
- package/amd/UNSAFE_MessageToast.css +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +1 -1
- package/amd/UNSAFE_MeterBar.css +44 -44
- package/amd/UNSAFE_MeterBar.js +1 -1
- package/amd/UNSAFE_MeterBar.js.map +1 -1
- package/amd/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +1 -1
- package/amd/UNSAFE_MeterCircle.css +46 -46
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_Modal/__tests__/Modal.spec.js +1 -1
- package/amd/UNSAFE_Modal.css +3 -3
- package/amd/UNSAFE_Modal.js +1 -1
- package/amd/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +1 -1
- package/amd/UNSAFE_NumberInputText.js +1 -1
- package/amd/UNSAFE_PrefixSuffix.css +8 -8
- package/amd/UNSAFE_PrefixSuffix.js +1 -1
- package/amd/UNSAFE_PrefixSuffix.js.map +1 -1
- package/amd/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js +1 -1
- package/amd/UNSAFE_ProgressBar.css +6 -6
- package/amd/UNSAFE_ProgressBar.js +1 -1
- package/amd/UNSAFE_ProgressBar.js.map +1 -1
- package/amd/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +1 -1
- package/amd/UNSAFE_ProgressCircle.css +6 -6
- package/amd/UNSAFE_ProgressCircle.js +1 -1
- package/amd/UNSAFE_ProgressCircle.js.map +1 -1
- package/amd/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +1 -1
- package/amd/UNSAFE_RatingGauge.css +20 -20
- package/amd/UNSAFE_RatingGauge.js +1 -1
- package/amd/UNSAFE_RatingGauge.js.map +1 -1
- package/amd/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +1 -1
- package/amd/UNSAFE_SelectMultiple.css +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_Selector.css +5 -5
- package/amd/UNSAFE_Selector.js +1 -1
- package/amd/UNSAFE_Selector.js.map +1 -1
- package/amd/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +1 -1
- package/amd/UNSAFE_Skeleton.css +1 -1
- package/amd/UNSAFE_Skeleton.js +1 -1
- package/amd/UNSAFE_Spacer/__tests__/Spacer.spec.js +1 -1
- package/amd/UNSAFE_Spacer.js +1 -1
- package/amd/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +1 -1
- package/amd/UNSAFE_SplitMenuButton.css +5 -5
- package/amd/UNSAFE_SplitMenuButton.js +1 -1
- package/amd/UNSAFE_Subheading/__test__/Subheading.spec.js +1 -1
- package/amd/UNSAFE_Subheading.css +8 -8
- package/amd/UNSAFE_Subheading.js +1 -1
- package/amd/UNSAFE_Text/__tests__/Text.spec.js +1 -1
- package/amd/UNSAFE_Text.css +25 -25
- package/amd/UNSAFE_Text.js +1 -1
- package/amd/UNSAFE_TextArea/__tests__/TextArea.spec.js +1 -1
- package/amd/UNSAFE_TextArea.css +3 -3
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +1 -1
- package/amd/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +1 -1
- package/amd/UNSAFE_TextField.css +58 -58
- package/amd/UNSAFE_TextField.js +1 -1
- package/amd/UNSAFE_TextField.js.map +1 -1
- package/amd/UNSAFE_ThemedIcons.js +1 -1
- package/amd/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +1 -1
- package/amd/UNSAFE_UserAssistance.css +8 -8
- package/amd/UNSAFE_UserAssistance.js +1 -1
- package/amd/UNSAFE_UserAssistance.js.map +1 -1
- package/amd/UNSAFE_View/__tests__/View.spec.js +1 -1
- package/amd/UNSAFE_View.js +1 -1
- package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +1 -1
- package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/{VirtualizedCollection-aa6411a2.js → VirtualizedCollection-4f50509f.js} +2 -2
- package/amd/{VirtualizedCollection-aa6411a2.js.map → VirtualizedCollection-4f50509f.js.map} +1 -1
- package/amd/{VirtualizedListView-421bdd05.js → VirtualizedListView-4874ac97.js} +2 -2
- package/amd/{VirtualizedListView-421bdd05.js.map → VirtualizedListView-4874ac97.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-42179f72.js → _curry1-a40e5823.js} +1 -1
- package/amd/{_curry1-42179f72.js.map → _curry1-a40e5823.js.map} +1 -1
- package/amd/_curry2-1661cf76.js +2 -0
- package/amd/{_curry2-f172ac33.js.map → _curry2-1661cf76.js.map} +1 -1
- package/amd/_curry3-34863786.js +2 -0
- package/amd/{_curry3-d4869a9a.js.map → _curry3-34863786.js.map} +1 -1
- package/amd/_has-1fd7a32b.js +2 -0
- package/amd/{_has-ac02514c.js.map → _has-1fd7a32b.js.map} +1 -1
- package/amd/{classNames-800ce42a.js → classNames-8a2ab2d1.js} +1 -1
- package/amd/{classNames-800ce42a.js.map → classNames-8a2ab2d1.js.map} +1 -1
- package/amd/{clientHints-c5aa6e9c.js → clientHints-4dcd5beb.js} +1 -1
- package/amd/{clientHints-c5aa6e9c.js.map → clientHints-4dcd5beb.js.map} +1 -1
- package/amd/flexbox-94241923.js +2 -0
- package/amd/{flexbox-9d055169.js.map → flexbox-94241923.js.map} +1 -1
- package/amd/flexitem-f32d454e.js +2 -0
- package/amd/{flexitem-47db74b7.js.map → flexitem-f32d454e.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-2339a25b.js → index-007b4d4c.js} +2 -2
- package/amd/{index-2339a25b.js.map → index-007b4d4c.js.map} +1 -1
- package/amd/{index-5a0f2c1e.js → index-517799b7.js} +2 -2
- package/amd/{index-5a0f2c1e.js.map → index-517799b7.js.map} +1 -1
- package/amd/{index-b66b2456.js → index-c4d84f43.js} +1 -1
- package/amd/{index-b66b2456.js.map → index-c4d84f43.js.map} +1 -1
- package/amd/{keys-9703970b.js → keys-561e97be.js} +2 -2
- package/amd/{keys-9703970b.js.map → keys-561e97be.js.map} +1 -1
- package/amd/{listViewSelectionTests-c1ca404d.js → listViewSelectionTests-01c53b30.js} +2 -2
- package/amd/{listViewSelectionTests-c1ca404d.js.map → listViewSelectionTests-01c53b30.js.map} +1 -1
- package/amd/{listViewTabbableModeTests-c07223d4.js → listViewTabbableModeTests-e056f2eb.js} +2 -2
- package/amd/{listViewTabbableModeTests-c07223d4.js.map → listViewTabbableModeTests-e056f2eb.js.map} +1 -1
- package/amd/{listViewTestFixtures-c74f1ab8.js → listViewTestFixtures-667f433d.js} +1 -1
- package/amd/{listViewTestFixtures-c74f1ab8.js.map → listViewTestFixtures-667f433d.js.map} +1 -1
- package/amd/{menuTestsUtils-69c40a9b.js → menuTestsUtils-68c349c1.js} +1 -1
- package/amd/{menuTestsUtils-69c40a9b.js.map → menuTestsUtils-68c349c1.js.map} +1 -1
- package/amd/resources/nls/ar/bundle.js.map +1 -1
- package/amd/resources/nls/ar-XB/bundle.js.map +1 -1
- package/amd/resources/nls/bg/bundle.js.map +1 -1
- package/amd/resources/nls/bs/bundle.js.map +1 -1
- package/amd/resources/nls/bs-Cyrl/bundle.js.map +1 -1
- package/amd/resources/nls/bundle.js.map +1 -1
- package/amd/resources/nls/cs/bundle.js.map +1 -1
- package/amd/resources/nls/da/bundle.js.map +1 -1
- package/amd/resources/nls/de/bundle.js.map +1 -1
- package/amd/resources/nls/el/bundle.js.map +1 -1
- package/amd/resources/nls/en/bundle.js.map +1 -1
- package/amd/resources/nls/en-XA/bundle.js.map +1 -1
- package/amd/resources/nls/en-XC/bundle.js.map +1 -1
- package/amd/resources/nls/es/bundle.js.map +1 -1
- package/amd/resources/nls/et/bundle.js.map +1 -1
- package/amd/resources/nls/fi/bundle.js.map +1 -1
- package/amd/resources/nls/fr/bundle.js.map +1 -1
- package/amd/resources/nls/fr-CA/bundle.js.map +1 -1
- package/amd/resources/nls/he/bundle.js.map +1 -1
- package/amd/resources/nls/hr/bundle.js.map +1 -1
- package/amd/resources/nls/hu/bundle.js.map +1 -1
- package/amd/resources/nls/is/bundle.js.map +1 -1
- package/amd/resources/nls/it/bundle.js.map +1 -1
- package/amd/resources/nls/ja/bundle.js.map +1 -1
- package/amd/resources/nls/ko/bundle.js.map +1 -1
- package/amd/resources/nls/lt/bundle.js.map +1 -1
- package/amd/resources/nls/lv/bundle.js.map +1 -1
- package/amd/resources/nls/ms/bundle.js.map +1 -1
- package/amd/resources/nls/nl/bundle.js.map +1 -1
- package/amd/resources/nls/no/bundle.js.map +1 -1
- package/amd/resources/nls/pl/bundle.js.map +1 -1
- package/amd/resources/nls/pt/bundle.js.map +1 -1
- package/amd/resources/nls/pt-PT/bundle.js.map +1 -1
- package/amd/resources/nls/ro/bundle.js.map +1 -1
- package/amd/resources/nls/ru/bundle.js.map +1 -1
- package/amd/resources/nls/sk/bundle.js.map +1 -1
- package/amd/resources/nls/sl/bundle.js.map +1 -1
- package/amd/resources/nls/sr/bundle.js.map +1 -1
- package/amd/resources/nls/sr-Latn/bundle.js.map +1 -1
- package/amd/resources/nls/sv/bundle.js.map +1 -1
- package/amd/resources/nls/th/bundle.js.map +1 -1
- package/amd/resources/nls/tr/bundle.js.map +1 -1
- package/amd/resources/nls/uk/bundle.js.map +1 -1
- package/amd/resources/nls/vi/bundle.js.map +1 -1
- package/amd/resources/nls/zh-Hans/bundle.js.map +1 -1
- package/amd/resources/nls/zh-Hant/bundle.js.map +1 -1
- package/amd/{stringUtils-e64e8539.js → stringUtils-b12b833f.js} +1 -1
- package/amd/{stringUtils-e64e8539.js.map → stringUtils-b12b833f.js.map} +1 -1
- package/amd/{testHelpers-77d859d4.js → testHelpers-11536a0e.js} +1 -1
- package/amd/{testHelpers-77d859d4.js.map → testHelpers-11536a0e.js.map} +1 -1
- package/amd/{tslib.es6-b7df6ad2.js → tslib.es6-e942bc3b.js} +1 -1
- package/amd/{tslib.es6-b7df6ad2.js.map → tslib.es6-e942bc3b.js.map} +1 -1
- package/amd/useAnimation-7baf6a7e.js +2 -0
- package/amd/{useAnimation-ed4fee9b.js.map → useAnimation-7baf6a7e.js.map} +1 -1
- package/amd/{useFocusWithin-3cbd91a6.js → useFocusWithin-c610a97d.js} +1 -1
- package/amd/{useFocusWithin-3cbd91a6.js.map → useFocusWithin-c610a97d.js.map} +1 -1
- package/amd/{useModal-30147124.js → useModal-77cbb8a1.js} +1 -1
- package/amd/{useModal-30147124.js.map → useModal-77cbb8a1.js.map} +1 -1
- package/amd/{useSingleSelection-86275e7a.js → useSingleSelection-6e67a47c.js} +1 -1
- package/amd/{useSingleSelection-86275e7a.js.map → useSingleSelection-6e67a47c.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-3c021c17.js → Badge-1221f72f.js} +16 -16
- package/cjs/{Badge-3c021c17.js.map → Badge-1221f72f.js.map} +1 -1
- package/cjs/{BaseButton-5622e5f0.js → BaseButton-dc4a71d2.js} +20 -20
- package/cjs/{BaseButton-5622e5f0.js.map → BaseButton-dc4a71d2.js.map} +1 -1
- package/cjs/{Button-c0925500.js → Button-34a21c0e.js} +12 -12
- package/cjs/{Button-c0925500.js.map → Button-34a21c0e.js.map} +1 -1
- package/cjs/{Chip-e1118e18.js → Chip-34c8efc8.js} +10 -10
- package/cjs/{Chip-e1118e18.js.map → Chip-34c8efc8.js.map} +1 -1
- package/cjs/{ClearIcon-8803df75.js → ClearIcon-7a4f1be6.js} +3 -3
- package/cjs/{ClearIcon-8803df75.js.map → ClearIcon-7a4f1be6.js.map} +1 -1
- package/cjs/{Collection-3e5c7c75.js → Collection-80b1329a.js} +2 -2
- package/cjs/{Collection-3e5c7c75.js.map → Collection-80b1329a.js.map} +1 -1
- package/cjs/{ComponentMessage-668eb032.js → ComponentMessage-256dfd4e.js} +8 -8
- package/cjs/{ComponentMessage-668eb032.js.map → ComponentMessage-256dfd4e.js.map} +1 -1
- package/cjs/{ComponentMessageContainer-792c9bd2.js → ComponentMessageContainer-79267100.js} +5 -5
- package/cjs/{ComponentMessageContainer-792c9bd2.js.map → ComponentMessageContainer-79267100.js.map} +1 -1
- package/cjs/{Divider-5957f544.js → Divider-a0d74172.js} +3 -3
- package/cjs/{Divider-5957f544.js.map → Divider-a0d74172.js.map} +1 -1
- package/cjs/{FilePicker-63d096cc.js → FilePicker-f90d6759.js} +14 -14
- package/cjs/{FilePicker-63d096cc.js.map → FilePicker-f90d6759.js.map} +1 -1
- package/cjs/{Flex-707500d5.js → Flex-7b74b56d.js} +8 -8
- package/cjs/{Flex-707500d5.js.map → Flex-7b74b56d.js.map} +1 -1
- package/cjs/{Floating-5be15c60.js → Floating-8592c058.js} +3 -3
- package/cjs/{Floating-5be15c60.js.map → Floating-8592c058.js.map} +1 -1
- package/cjs/{FocusTrap-e79da1cf.js → FocusTrap-783855e7.js} +5 -5
- package/cjs/{FocusTrap-e79da1cf.js.map → FocusTrap-783855e7.js.map} +1 -1
- package/cjs/{FormControlUtils-a1643377.js → FormControlUtils-78bbbdcb.js} +5 -5
- package/cjs/{FormControlUtils-a1643377.js.map → FormControlUtils-78bbbdcb.js.map} +1 -1
- package/cjs/{Heading-013f5fa5.js → Heading-20603768.js} +13 -13
- package/cjs/{Heading-013f5fa5.js.map → Heading-20603768.js.map} +1 -1
- package/cjs/{HiddenAccessible-ebadb0c3.js → HiddenAccessible-10ab5424.js} +3 -3
- package/cjs/{HiddenAccessible-ebadb0c3.js.map → HiddenAccessible-10ab5424.js.map} +1 -1
- package/cjs/{HighlightText-dd94bb74.js → HighlightText-9d0bace0.js} +3 -3
- package/cjs/{HighlightText-dd94bb74.js.map → HighlightText-9d0bace0.js.map} +1 -1
- package/cjs/{Icon-159c7e92.js → Icon-6886cdc5.js} +11 -11
- package/cjs/{Icon-159c7e92.js.map → Icon-6886cdc5.js.map} +1 -1
- package/cjs/{Indexer-648d680d.js → Indexer-5660eda9.js} +16 -16
- package/cjs/{Indexer-648d680d.js.map → Indexer-5660eda9.js.map} +1 -1
- package/cjs/{InlineHelpSource-9b13f391.js → InlineHelpSource-5ad9b0ea.js} +3 -3
- package/cjs/{InlineHelpSource-9b13f391.js.map → InlineHelpSource-5ad9b0ea.js.map} +1 -1
- package/cjs/{Link-52ef075e.js → Link-660cf72f.js} +8 -8
- package/cjs/{Link-52ef075e.js.map → Link-660cf72f.js.map} +1 -1
- package/cjs/{List-8a300e20.js → List-e9861630.js} +23 -23
- package/cjs/{List-8a300e20.js.map → List-e9861630.js.map} +1 -1
- package/cjs/{ListItemTextLayout-434a0bc9.js → ListItemTextLayout-2a9b82e7.js} +13 -13
- package/cjs/{ListItemTextLayout-434a0bc9.js.map → ListItemTextLayout-2a9b82e7.js.map} +1 -1
- package/cjs/{ListView-fa93ee05.js → ListView-db128d33.js} +3 -3
- package/cjs/{ListView-fa93ee05.js.map → ListView-db128d33.js.map} +1 -1
- package/cjs/{LoadMoreCollection-197203ad.js → LoadMoreCollection-93bdf844.js} +3 -3
- package/cjs/{LoadMoreCollection-197203ad.js.map → LoadMoreCollection-93bdf844.js.map} +1 -1
- package/cjs/{Menu-d44fc45d.js → Menu-b4bbe90b.js} +16 -16
- package/cjs/{Menu-d44fc45d.js.map → Menu-b4bbe90b.js.map} +1 -1
- package/cjs/{MenuDivider-4f207f54.js → MenuDivider-0dbdd5ea.js} +4 -4
- package/cjs/{MenuDivider-4f207f54.js.map → MenuDivider-0dbdd5ea.js.map} +1 -1
- package/cjs/{MenuItem-32deeedd.js → MenuItem-692ffe30.js} +19 -19
- package/cjs/{MenuItem-32deeedd.js.map → MenuItem-692ffe30.js.map} +1 -1
- package/cjs/{Message.types-92ff8452.js → Message.types-e427942d.js} +2 -2
- package/cjs/{Message.types-92ff8452.js.map → Message.types-e427942d.js.map} +1 -1
- package/cjs/{MessageCloseButton-7e09bba6.js → MessageCloseButton-d806faef.js} +9 -9
- package/cjs/{MessageCloseButton-7e09bba6.js.map → MessageCloseButton-d806faef.js.map} +1 -1
- package/cjs/{MessageDetail-ad698c11.js → MessageDetail-f4c452e9.js} +7 -7
- package/cjs/{MessageDetail-ad698c11.js.map → MessageDetail-f4c452e9.js.map} +1 -1
- package/cjs/{MessageFormattingUtils-3d292418.js → MessageFormattingUtils-9b6bdfba.js} +4 -4
- package/cjs/{MessageFormattingUtils-3d292418.js.map → MessageFormattingUtils-9b6bdfba.js.map} +1 -1
- package/cjs/{MessageLayer-fbc32700.js → MessageLayer-59b17166.js} +11 -11
- package/cjs/{MessageLayer-fbc32700.js.map → MessageLayer-59b17166.js.map} +1 -1
- package/cjs/{MessageStartIcon-ccb569c5.js → MessageStartIcon-71d981b9.js} +11 -11
- package/cjs/{MessageStartIcon-ccb569c5.js.map → MessageStartIcon-71d981b9.js.map} +1 -1
- package/cjs/{MessageSummary-1d3e91f4.js → MessageSummary-c0f1d942.js} +7 -7
- package/cjs/{MessageSummary-1d3e91f4.js.map → MessageSummary-c0f1d942.js.map} +1 -1
- package/cjs/{MessageTimestamp-6445fc26.js → MessageTimestamp-cbd66c05.js} +5 -5
- package/cjs/{MessageTimestamp-6445fc26.js.map → MessageTimestamp-cbd66c05.js.map} +1 -1
- package/cjs/{MessageToast-823ba461.js → MessageToast-8b483dcf.js} +9 -9
- package/cjs/{MessageToast-823ba461.js.map → MessageToast-8b483dcf.js.map} +1 -1
- package/cjs/{MessageUtils-6161cfee.js → MessageUtils-eae9376d.js} +3 -3
- package/cjs/{MessageUtils-6161cfee.js.map → MessageUtils-eae9376d.js.map} +1 -1
- package/cjs/{MessagesManager-3466bad1.js → MessagesManager-6f18bc2a.js} +4 -4
- package/cjs/{MessagesManager-3466bad1.js.map → MessagesManager-6f18bc2a.js.map} +1 -1
- package/cjs/{MeterCircle-0e91d83a.js → MeterCircle-29230f81.js} +50 -50
- package/cjs/{MeterCircle-0e91d83a.js.map → MeterCircle-29230f81.js.map} +1 -1
- package/cjs/{Modal-ff0493c9.js → Modal-63614198.js} +7 -7
- package/cjs/{Modal-ff0493c9.js.map → Modal-63614198.js.map} +1 -1
- package/cjs/{NumberInputText-a652a64c.js → NumberInputText-df93f63e.js} +7 -7
- package/cjs/{NumberInputText-a652a64c.js.map → NumberInputText-df93f63e.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-4e8d3c33.js → ReadonlyTextFieldInput-d969a03d.js} +13 -13
- package/cjs/{ReadonlyTextFieldInput-4e8d3c33.js.map → ReadonlyTextFieldInput-d969a03d.js.map} +1 -1
- package/cjs/{SelectMenuItem-728b16b6.js → SelectMenuItem-41ab6aef.js} +5 -5
- package/cjs/{SelectMenuItem-728b16b6.js.map → SelectMenuItem-41ab6aef.js.map} +1 -1
- package/cjs/{SelectMultiple-38f265c0.js → SelectMultiple-c9d86885.js} +8 -8
- package/cjs/{SelectMultiple-38f265c0.js.map → SelectMultiple-c9d86885.js.map} +1 -1
- package/cjs/{SelectSingle-c7df888c.js → SelectSingle-954fd8b7.js} +4 -4
- package/cjs/{SelectSingle-c7df888c.js.map → SelectSingle-954fd8b7.js.map} +1 -1
- package/cjs/{Skeleton-715b7e13.js → Skeleton-cf7cd85b.js} +5 -5
- package/cjs/{Skeleton-715b7e13.js.map → Skeleton-cf7cd85b.js.map} +1 -1
- package/cjs/{Spacer-d77c68ef.js → Spacer-66a6785c.js} +4 -4
- package/cjs/{Spacer-d77c68ef.js.map → Spacer-66a6785c.js.map} +1 -1
- package/cjs/{SplitMenuButton-e8be8bba.js → SplitMenuButton-f976ce47.js} +14 -14
- package/cjs/{SplitMenuButton-e8be8bba.js.map → SplitMenuButton-f976ce47.js.map} +1 -1
- package/cjs/{Subheading-befb3067.js → Subheading-12a10a34.js} +11 -11
- package/cjs/{Subheading-befb3067.js.map → Subheading-12a10a34.js.map} +1 -1
- package/cjs/{Text-fbd788ba.js → Text-17452370.js} +28 -28
- package/cjs/{Text-fbd788ba.js.map → Text-17452370.js.map} +1 -1
- package/cjs/{TextArea-e81cbc8c.js → TextArea-ab5ef7fa.js} +8 -8
- package/cjs/{TextArea-e81cbc8c.js.map → TextArea-ab5ef7fa.js.map} +1 -1
- package/cjs/{TextAreaAutosize-5a677477.js → TextAreaAutosize-803f9ced.js} +5 -5
- package/cjs/{TextAreaAutosize-5a677477.js.map → TextAreaAutosize-803f9ced.js.map} +1 -1
- package/cjs/{TextFieldInput-b8deca8a.js → TextFieldInput-9e26e6b2.js} +33 -33
- package/cjs/{TextFieldInput-b8deca8a.js.map → TextFieldInput-9e26e6b2.js.map} +1 -1
- package/cjs/UNSAFE_AspectRatio.js +8 -8
- package/cjs/UNSAFE_Avatar/__tests__/Avatar.spec.js +3 -3
- package/cjs/UNSAFE_Avatar.js +11 -11
- package/cjs/UNSAFE_Avatar.js.map +1 -1
- package/cjs/UNSAFE_Badge/__tests__/Badge.spec.js +3 -3
- package/cjs/UNSAFE_Badge.js +3 -3
- package/cjs/UNSAFE_BaseButton/__tests__/BaseButton.spec.js +9 -9
- package/cjs/UNSAFE_BaseButton.js +9 -9
- package/cjs/UNSAFE_Button/__tests__/Button.spec.js +10 -10
- package/cjs/UNSAFE_Button.js +10 -10
- package/cjs/UNSAFE_Center.js +11 -11
- package/cjs/UNSAFE_Chip/__tests__/Chip.spec.js +3 -3
- package/cjs/UNSAFE_Chip.js +3 -3
- package/cjs/UNSAFE_Collapsible.js +26 -26
- package/cjs/UNSAFE_Collapsible.js.map +1 -1
- package/cjs/UNSAFE_Collection.js +1 -1
- package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessage.spec.js +32 -32
- package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js +33 -33
- package/cjs/UNSAFE_ComponentMessage.js +33 -33
- package/cjs/UNSAFE_Divider/__tests__/Divider.spec.js +7 -7
- package/cjs/UNSAFE_Divider.js +7 -7
- package/cjs/UNSAFE_EmptyList.js +1 -1
- package/cjs/UNSAFE_Environment/__tests__/Environment.spec.js +1 -1
- package/cjs/UNSAFE_Environment.js +1 -1
- package/cjs/UNSAFE_FilePicker/__tests__/FilePicker.spec.js +14 -14
- package/cjs/UNSAFE_FilePicker.js +14 -14
- package/cjs/UNSAFE_Flex/__tests__/Flex.spec.js +11 -11
- package/cjs/UNSAFE_Flex.js +11 -11
- package/cjs/UNSAFE_Floating/__tests__/Floating.spec.js +3 -3
- package/cjs/UNSAFE_Floating.js +3 -3
- package/cjs/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js +6 -6
- package/cjs/UNSAFE_FocusTrap.js +6 -6
- package/cjs/UNSAFE_Grid.js +9 -9
- package/cjs/UNSAFE_Heading/__test__/Heading.spec.js +11 -11
- package/cjs/UNSAFE_Heading.js +9 -9
- package/cjs/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js +12 -12
- package/cjs/UNSAFE_HiddenAccessible.js +2 -2
- package/cjs/UNSAFE_HighlightText/__tests__/HighlightText.spec.js +2 -2
- package/cjs/UNSAFE_HighlightText.js +2 -2
- package/cjs/UNSAFE_Icon/__tests__/Icon.spec.js +8 -8
- package/cjs/UNSAFE_Icon/__tests__/Icons.spec.js +9 -9
- package/cjs/UNSAFE_Icon.js +7 -7
- package/cjs/UNSAFE_Icons.js +8 -8
- package/cjs/UNSAFE_Indexer/__tests__/Indexer.spec.js +16 -16
- package/cjs/UNSAFE_Indexer.js +16 -16
- package/cjs/UNSAFE_InputPassword/__tests__/InputPassword.spec.js +39 -39
- package/cjs/UNSAFE_InputPassword.js +40 -40
- package/cjs/UNSAFE_InputText.js +39 -39
- package/cjs/UNSAFE_Label.js +16 -16
- package/cjs/UNSAFE_Label.js.map +1 -1
- package/cjs/UNSAFE_LabelValueLayout.js +20 -20
- package/cjs/UNSAFE_LabelValueLayout.js.map +1 -1
- package/cjs/UNSAFE_Layer.js +1 -1
- package/cjs/UNSAFE_Link/__tests__/Link.spec.js +3 -3
- package/cjs/UNSAFE_Link.js +3 -3
- package/cjs/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js +10 -10
- package/cjs/UNSAFE_ListItemLayout.js +10 -10
- package/cjs/UNSAFE_ListView/__tests__/ListView.spec.js +27 -27
- package/cjs/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js +27 -27
- package/cjs/UNSAFE_ListView.js +24 -24
- package/cjs/UNSAFE_LiveRegion.js +2 -2
- package/cjs/UNSAFE_LiveRegion.js.map +1 -1
- package/cjs/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js +3 -3
- package/cjs/UNSAFE_LoadMoreCollection.js +3 -3
- package/cjs/UNSAFE_Menu/__tests__/Menu.spec.js +19 -19
- package/cjs/UNSAFE_Menu/__tests__/MenuItem.spec.js +11 -11
- package/cjs/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +18 -18
- package/cjs/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +22 -22
- package/cjs/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +22 -22
- package/cjs/UNSAFE_Menu.js +16 -16
- package/cjs/UNSAFE_MessageBanner.js +30 -30
- package/cjs/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +33 -33
- package/cjs/UNSAFE_MessageToast.js +33 -33
- package/cjs/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +7 -7
- package/cjs/UNSAFE_MeterBar.js +50 -50
- package/cjs/UNSAFE_MeterBar.js.map +1 -1
- package/cjs/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +8 -8
- package/cjs/UNSAFE_MeterCircle.js +7 -7
- package/cjs/UNSAFE_Modal/__tests__/Modal.spec.js +8 -8
- package/cjs/UNSAFE_Modal.js +8 -8
- package/cjs/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +39 -39
- package/cjs/UNSAFE_NumberInputText.js +39 -39
- package/cjs/UNSAFE_PrefixSuffix.js +10 -10
- package/cjs/UNSAFE_PrefixSuffix.js.map +1 -1
- package/cjs/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js +3 -3
- package/cjs/UNSAFE_ProgressBar.js +9 -9
- package/cjs/UNSAFE_ProgressBar.js.map +1 -1
- package/cjs/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +3 -3
- package/cjs/UNSAFE_ProgressCircle.js +9 -9
- package/cjs/UNSAFE_ProgressCircle.js.map +1 -1
- package/cjs/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +7 -7
- package/cjs/UNSAFE_RatingGauge.js +26 -26
- package/cjs/UNSAFE_RatingGauge.js.map +1 -1
- package/cjs/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +47 -47
- package/cjs/UNSAFE_SelectMultiple.js +47 -47
- package/cjs/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +46 -46
- package/cjs/UNSAFE_SelectSingle.js +46 -46
- package/cjs/UNSAFE_Selector.js +22 -22
- package/cjs/UNSAFE_Selector.js.map +1 -1
- package/cjs/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +8 -8
- package/cjs/UNSAFE_Skeleton.js +8 -8
- package/cjs/UNSAFE_Spacer/__tests__/Spacer.spec.js +10 -10
- package/cjs/UNSAFE_Spacer.js +10 -10
- package/cjs/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +23 -23
- package/cjs/UNSAFE_SplitMenuButton.js +23 -23
- package/cjs/UNSAFE_Subheading/__test__/Subheading.spec.js +10 -10
- package/cjs/UNSAFE_Subheading.js +8 -8
- package/cjs/UNSAFE_Text/__tests__/Text.spec.js +8 -8
- package/cjs/UNSAFE_Text.js +8 -8
- package/cjs/UNSAFE_TextArea/__tests__/TextArea.spec.js +39 -39
- package/cjs/UNSAFE_TextArea.js +39 -39
- package/cjs/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +40 -40
- package/cjs/UNSAFE_TextAreaAutosize.js +40 -40
- package/cjs/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +10 -10
- package/cjs/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +11 -11
- package/cjs/UNSAFE_TextField.js +35 -35
- package/cjs/UNSAFE_TextField.js.map +1 -1
- package/cjs/UNSAFE_ThemedIcons.js +9 -9
- package/cjs/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +2 -2
- package/cjs/UNSAFE_UserAssistance.js +41 -41
- package/cjs/UNSAFE_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-75b84435.js → VirtualizedCollection-8a4b2dbd.js} +3 -3
- package/cjs/{VirtualizedCollection-75b84435.js.map → VirtualizedCollection-8a4b2dbd.js.map} +1 -1
- package/cjs/{VirtualizedListView-d47ea1cb.js → VirtualizedListView-ad9f88c5.js} +3 -3
- package/cjs/{VirtualizedListView-d47ea1cb.js.map → VirtualizedListView-ad9f88c5.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-3e86e025.js → _curry1-a4360e1e.js} +2 -2
- package/cjs/{_curry1-3e86e025.js.map → _curry1-a4360e1e.js.map} +1 -1
- package/cjs/{_curry2-a2a6c384.js → _curry2-f98bb992.js} +3 -3
- package/cjs/{_curry2-a2a6c384.js.map → _curry2-f98bb992.js.map} +1 -1
- package/cjs/{_curry3-6b767690.js → _curry3-ae14864b.js} +4 -4
- package/cjs/{_curry3-6b767690.js.map → _curry3-ae14864b.js.map} +1 -1
- package/cjs/{_has-6ed0f3f9.js → _has-bc6203bb.js} +3 -3
- package/cjs/{_has-6ed0f3f9.js.map → _has-bc6203bb.js.map} +1 -1
- package/cjs/{classNames-f5a539b5.js → classNames-e9365328.js} +2 -2
- package/cjs/{classNames-f5a539b5.js.map → classNames-e9365328.js.map} +1 -1
- package/cjs/{clientHints-89bfacfa.js → clientHints-325c7a1f.js} +2 -2
- package/cjs/{clientHints-89bfacfa.js.map → clientHints-325c7a1f.js.map} +1 -1
- package/cjs/{flexbox-4b2952e1.js → flexbox-3aeb4b0c.js} +10 -10
- package/cjs/{flexbox-4b2952e1.js.map → flexbox-3aeb4b0c.js.map} +1 -1
- package/cjs/{flexitem-c198a18f.js → flexitem-6d1f9bc3.js} +10 -10
- package/cjs/{flexitem-c198a18f.js.map → flexitem-6d1f9bc3.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-274224f1.js → index-50e5efbb.js} +3 -3
- package/cjs/{index-274224f1.js.map → index-50e5efbb.js.map} +1 -1
- package/cjs/{index-02dc45b9.js → index-85fdf930.js} +2 -2
- package/cjs/{index-02dc45b9.js.map → index-85fdf930.js.map} +1 -1
- package/cjs/{index-abddf6b8.js → index-cc61379f.js} +3 -3
- package/cjs/{index-abddf6b8.js.map → index-cc61379f.js.map} +1 -1
- package/cjs/{keys-951b641d.js → keys-32adc198.js} +4 -4
- package/cjs/{keys-951b641d.js.map → keys-32adc198.js.map} +1 -1
- package/cjs/{listViewSelectionTests-7808bba4.js → listViewSelectionTests-e8080fcf.js} +4 -4
- package/cjs/{listViewSelectionTests-7808bba4.js.map → listViewSelectionTests-e8080fcf.js.map} +1 -1
- package/cjs/{listViewTabbableModeTests-637e1db9.js → listViewTabbableModeTests-4784e7b4.js} +4 -4
- package/cjs/{listViewTabbableModeTests-637e1db9.js.map → listViewTabbableModeTests-4784e7b4.js.map} +1 -1
- package/cjs/{listViewTestFixtures-df094b33.js → listViewTestFixtures-ff3abd68.js} +2 -2
- package/cjs/{listViewTestFixtures-df094b33.js.map → listViewTestFixtures-ff3abd68.js.map} +1 -1
- package/cjs/{menuTestsUtils-2b6e134b.js → menuTestsUtils-ba144cd3.js} +2 -2
- package/cjs/{menuTestsUtils-2b6e134b.js.map → menuTestsUtils-ba144cd3.js.map} +1 -1
- package/cjs/resources/nls/ar/bundle.js +3 -1
- package/cjs/resources/nls/ar/bundle.js.map +1 -1
- package/cjs/resources/nls/ar-XB/bundle.js +3 -1
- package/cjs/resources/nls/ar-XB/bundle.js.map +1 -1
- package/cjs/resources/nls/bg/bundle.js +3 -1
- package/cjs/resources/nls/bg/bundle.js.map +1 -1
- package/cjs/resources/nls/bs/bundle.js +3 -1
- package/cjs/resources/nls/bs/bundle.js.map +1 -1
- package/cjs/resources/nls/bs-Cyrl/bundle.js +3 -1
- package/cjs/resources/nls/bs-Cyrl/bundle.js.map +1 -1
- package/cjs/resources/nls/bundle.js +3 -1
- package/cjs/resources/nls/bundle.js.map +1 -1
- package/cjs/resources/nls/cs/bundle.js +3 -1
- package/cjs/resources/nls/cs/bundle.js.map +1 -1
- package/cjs/resources/nls/da/bundle.js +3 -1
- package/cjs/resources/nls/da/bundle.js.map +1 -1
- package/cjs/resources/nls/de/bundle.js +3 -1
- package/cjs/resources/nls/de/bundle.js.map +1 -1
- package/cjs/resources/nls/el/bundle.js +3 -1
- package/cjs/resources/nls/el/bundle.js.map +1 -1
- package/cjs/resources/nls/en/bundle.js +3 -1
- package/cjs/resources/nls/en/bundle.js.map +1 -1
- package/cjs/resources/nls/en-XA/bundle.js +3 -1
- package/cjs/resources/nls/en-XA/bundle.js.map +1 -1
- package/cjs/resources/nls/en-XC/bundle.js +3 -1
- package/cjs/resources/nls/en-XC/bundle.js.map +1 -1
- package/cjs/resources/nls/es/bundle.js +3 -1
- package/cjs/resources/nls/es/bundle.js.map +1 -1
- package/cjs/resources/nls/et/bundle.js +3 -1
- package/cjs/resources/nls/et/bundle.js.map +1 -1
- package/cjs/resources/nls/fi/bundle.js +3 -1
- package/cjs/resources/nls/fi/bundle.js.map +1 -1
- package/cjs/resources/nls/fr/bundle.js +3 -1
- package/cjs/resources/nls/fr/bundle.js.map +1 -1
- package/cjs/resources/nls/fr-CA/bundle.js +3 -1
- package/cjs/resources/nls/fr-CA/bundle.js.map +1 -1
- package/cjs/resources/nls/he/bundle.js +3 -1
- package/cjs/resources/nls/he/bundle.js.map +1 -1
- package/cjs/resources/nls/hr/bundle.js +3 -1
- package/cjs/resources/nls/hr/bundle.js.map +1 -1
- package/cjs/resources/nls/hu/bundle.js +3 -1
- package/cjs/resources/nls/hu/bundle.js.map +1 -1
- package/cjs/resources/nls/is/bundle.js +3 -1
- package/cjs/resources/nls/is/bundle.js.map +1 -1
- package/cjs/resources/nls/it/bundle.js +3 -1
- package/cjs/resources/nls/it/bundle.js.map +1 -1
- package/cjs/resources/nls/ja/bundle.js +3 -1
- package/cjs/resources/nls/ja/bundle.js.map +1 -1
- package/cjs/resources/nls/ko/bundle.js +3 -1
- package/cjs/resources/nls/ko/bundle.js.map +1 -1
- package/cjs/resources/nls/lt/bundle.js +3 -1
- package/cjs/resources/nls/lt/bundle.js.map +1 -1
- package/cjs/resources/nls/lv/bundle.js +3 -1
- package/cjs/resources/nls/lv/bundle.js.map +1 -1
- package/cjs/resources/nls/ms/bundle.js +3 -1
- package/cjs/resources/nls/ms/bundle.js.map +1 -1
- package/cjs/resources/nls/nl/bundle.js +3 -1
- package/cjs/resources/nls/nl/bundle.js.map +1 -1
- package/cjs/resources/nls/no/bundle.js +3 -1
- package/cjs/resources/nls/no/bundle.js.map +1 -1
- package/cjs/resources/nls/pl/bundle.js +3 -1
- package/cjs/resources/nls/pl/bundle.js.map +1 -1
- package/cjs/resources/nls/pt/bundle.js +3 -1
- package/cjs/resources/nls/pt/bundle.js.map +1 -1
- package/cjs/resources/nls/pt-PT/bundle.js +3 -1
- package/cjs/resources/nls/pt-PT/bundle.js.map +1 -1
- package/cjs/resources/nls/ro/bundle.js +3 -1
- package/cjs/resources/nls/ro/bundle.js.map +1 -1
- package/cjs/resources/nls/ru/bundle.js +3 -1
- package/cjs/resources/nls/ru/bundle.js.map +1 -1
- package/cjs/resources/nls/sk/bundle.js +3 -1
- package/cjs/resources/nls/sk/bundle.js.map +1 -1
- package/cjs/resources/nls/sl/bundle.js +3 -1
- package/cjs/resources/nls/sl/bundle.js.map +1 -1
- package/cjs/resources/nls/sr/bundle.js +3 -1
- package/cjs/resources/nls/sr/bundle.js.map +1 -1
- package/cjs/resources/nls/sr-Latn/bundle.js +3 -1
- package/cjs/resources/nls/sr-Latn/bundle.js.map +1 -1
- package/cjs/resources/nls/supportedLocales.js +1 -1
- package/cjs/resources/nls/sv/bundle.js +3 -1
- package/cjs/resources/nls/sv/bundle.js.map +1 -1
- package/cjs/resources/nls/th/bundle.js +3 -1
- package/cjs/resources/nls/th/bundle.js.map +1 -1
- package/cjs/resources/nls/tr/bundle.js +3 -1
- package/cjs/resources/nls/tr/bundle.js.map +1 -1
- package/cjs/resources/nls/uk/bundle.js +3 -1
- package/cjs/resources/nls/uk/bundle.js.map +1 -1
- package/cjs/resources/nls/vi/bundle.js +3 -1
- package/cjs/resources/nls/vi/bundle.js.map +1 -1
- package/cjs/resources/nls/zh-Hans/bundle.js +3 -1
- package/cjs/resources/nls/zh-Hans/bundle.js.map +1 -1
- package/cjs/resources/nls/zh-Hant/bundle.js +3 -1
- package/cjs/resources/nls/zh-Hant/bundle.js.map +1 -1
- package/cjs/{stringUtils-c2a4bb1c.js → stringUtils-cf88ee6d.js} +2 -2
- package/cjs/{stringUtils-c2a4bb1c.js.map → stringUtils-cf88ee6d.js.map} +1 -1
- package/cjs/{testHelpers-f1bf17ed.js → testHelpers-5bf60fd1.js} +2 -2
- package/cjs/{testHelpers-f1bf17ed.js.map → testHelpers-5bf60fd1.js.map} +1 -1
- package/cjs/translationBundle/__tests__/translationBundle.spec.js +1 -1
- package/cjs/translationBundle.js +1 -1
- package/cjs/{tslib.es6-0e8bc725.js → tslib.es6-71a116e9.js} +2 -2
- package/cjs/{tslib.es6-0e8bc725.js.map → tslib.es6-71a116e9.js.map} +1 -1
- package/cjs/{useAnimation-53bb2534.js → useAnimation-8650d098.js} +3 -3
- package/cjs/{useAnimation-53bb2534.js.map → useAnimation-8650d098.js.map} +1 -1
- package/cjs/{useFocusWithin-83b552d8.js → useFocusWithin-e2609397.js} +2 -2
- package/cjs/{useFocusWithin-83b552d8.js.map → useFocusWithin-e2609397.js.map} +1 -1
- package/cjs/{useModal-06a4b020.js → useModal-85f75ee9.js} +2 -2
- package/cjs/{useModal-06a4b020.js.map → useModal-85f75ee9.js.map} +1 -1
- package/cjs/{useSingleSelection-7b1292f2.js → useSingleSelection-600c1638.js} +2 -2
- package/cjs/{useSingleSelection-7b1292f2.js.map → useSingleSelection-600c1638.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-1afe1f64.js → ClearIcon-9e61d88b.js} +3 -3
- package/es/{ClearIcon-1afe1f64.js.map → ClearIcon-9e61d88b.js.map} +1 -1
- package/es/{LoadMoreCollection-629e105d.js → LoadMoreCollection-099cec18.js} +2 -2
- package/es/{LoadMoreCollection-629e105d.js.map → LoadMoreCollection-099cec18.js.map} +1 -1
- package/es/PRIVATE_Collection.js +1 -1
- package/es/PRIVATE_List.css +15 -15
- package/es/PRIVATE_List.js +24 -24
- package/es/PRIVATE_List.js.map +1 -1
- package/es/PRIVATE_Message.css +27 -27
- package/es/PRIVATE_Message.js +35 -35
- package/es/PRIVATE_Message.js.map +1 -1
- package/es/PRIVATE_MessageLayer.css +7 -7
- package/es/PRIVATE_MessageLayer.js +14 -14
- package/es/PRIVATE_MessageLayer.js.map +1 -1
- package/es/PRIVATE_Meter.js +2 -2
- package/es/PRIVATE_SelectCommon.css +13 -13
- package/es/PRIVATE_SelectCommon.js +22 -22
- package/es/PRIVATE_SelectCommon.js.map +1 -1
- package/es/PRIVATE_TransitionGroup.js +1 -1
- package/es/PRIVATE_VirtualizedCollection.js +1 -1
- package/es/UNSAFE_AspectRatio.css +1 -1
- package/es/UNSAFE_AspectRatio.js +7 -7
- package/es/UNSAFE_Avatar.css +8 -8
- package/es/UNSAFE_Avatar.js +10 -10
- package/es/UNSAFE_Avatar.js.map +1 -1
- package/es/UNSAFE_Badge.css +13 -13
- package/es/UNSAFE_Badge.js +14 -14
- package/es/UNSAFE_Badge.js.map +1 -1
- package/es/UNSAFE_BaseButton.css +15 -15
- package/es/UNSAFE_BaseButton.js +21 -21
- package/es/UNSAFE_BaseButton.js.map +1 -1
- package/es/UNSAFE_Button.css +7 -7
- package/es/UNSAFE_Button.js +13 -13
- package/es/UNSAFE_Button.js.map +1 -1
- package/es/UNSAFE_Center.js +7 -7
- package/es/UNSAFE_Chip.css +7 -7
- package/es/UNSAFE_Chip.js +8 -8
- package/es/UNSAFE_Chip.js.map +1 -1
- package/es/UNSAFE_Collapsible.css +8 -8
- package/es/UNSAFE_Collapsible.js +16 -16
- package/es/UNSAFE_Collapsible.js.map +1 -1
- package/es/UNSAFE_Collection.js +1 -1
- package/es/UNSAFE_ComponentMessage.css +2 -2
- package/es/UNSAFE_ComponentMessage.js +10 -10
- package/es/UNSAFE_ComponentMessage.js.map +1 -1
- package/es/UNSAFE_Divider.css +1 -1
- package/es/UNSAFE_Divider.js +6 -6
- package/es/UNSAFE_EmptyList.js +1 -1
- package/es/UNSAFE_Environment.js +1 -1
- package/es/UNSAFE_FilePicker.css +6 -6
- package/es/UNSAFE_FilePicker.js +13 -13
- package/es/UNSAFE_FilePicker.js.map +1 -1
- package/es/UNSAFE_Flex.css +2 -2
- package/es/UNSAFE_Flex.js +9 -9
- package/es/UNSAFE_Flex.js.map +1 -1
- package/es/UNSAFE_Floating.js +2 -2
- package/es/UNSAFE_FocusTrap.css +2 -2
- package/es/UNSAFE_FocusTrap.js +6 -6
- package/es/UNSAFE_FocusTrap.js.map +1 -1
- package/es/UNSAFE_Grid.css +1 -1
- package/es/UNSAFE_Grid.js +8 -8
- package/es/UNSAFE_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_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_InputPassword.css +1 -1
- package/es/UNSAFE_InputPassword.js +10 -10
- package/es/UNSAFE_InputText.css +1 -1
- package/es/UNSAFE_InputText.js +9 -9
- package/es/UNSAFE_Label.css +13 -13
- package/es/UNSAFE_Label.js +15 -15
- package/es/UNSAFE_Label.js.map +1 -1
- package/es/UNSAFE_LabelValueLayout.css +9 -9
- package/es/UNSAFE_LabelValueLayout.js +16 -16
- package/es/UNSAFE_LabelValueLayout.js.map +1 -1
- package/es/UNSAFE_Layer.js +1 -1
- package/es/UNSAFE_Link.css +5 -5
- package/es/UNSAFE_Link.js +6 -6
- package/es/UNSAFE_Link.js.map +1 -1
- package/es/UNSAFE_ListItemLayout.css +9 -9
- package/es/UNSAFE_ListItemLayout.js +16 -16
- package/es/UNSAFE_ListItemLayout.js.map +1 -1
- package/es/UNSAFE_ListView.js +9 -9
- package/es/UNSAFE_LiveRegion.css +1 -1
- package/es/UNSAFE_LiveRegion.js +2 -2
- package/es/UNSAFE_LiveRegion.js.map +1 -1
- package/es/UNSAFE_LoadMoreCollection.js +2 -2
- package/es/UNSAFE_Menu.css +23 -23
- package/es/UNSAFE_Menu.js +31 -31
- package/es/UNSAFE_Menu.js.map +1 -1
- package/es/UNSAFE_MessageBanner.js +8 -8
- package/es/UNSAFE_MessageToast.css +1 -1
- package/es/UNSAFE_MessageToast.js +9 -9
- package/es/UNSAFE_MeterBar.css +44 -44
- package/es/UNSAFE_MeterBar.js +47 -47
- package/es/UNSAFE_MeterBar.js.map +1 -1
- package/es/UNSAFE_MeterCircle.css +46 -46
- package/es/UNSAFE_MeterCircle.js +49 -49
- package/es/UNSAFE_MeterCircle.js.map +1 -1
- package/es/UNSAFE_Modal.css +3 -3
- package/es/UNSAFE_Modal.js +8 -8
- package/es/UNSAFE_NumberInputText.js +8 -8
- package/es/UNSAFE_PrefixSuffix.css +8 -8
- package/es/UNSAFE_PrefixSuffix.js +9 -9
- package/es/UNSAFE_PrefixSuffix.js.map +1 -1
- package/es/UNSAFE_ProgressBar.css +6 -6
- package/es/UNSAFE_ProgressBar.js +8 -8
- package/es/UNSAFE_ProgressBar.js.map +1 -1
- package/es/UNSAFE_ProgressCircle.css +6 -6
- package/es/UNSAFE_ProgressCircle.js +8 -8
- package/es/UNSAFE_ProgressCircle.js.map +1 -1
- package/es/UNSAFE_RatingGauge.css +20 -20
- package/es/UNSAFE_RatingGauge.js +23 -23
- package/es/UNSAFE_RatingGauge.js.map +1 -1
- package/es/UNSAFE_SelectMultiple.css +1 -1
- package/es/UNSAFE_SelectMultiple.js +10 -10
- package/es/UNSAFE_SelectSingle.js +9 -9
- package/es/UNSAFE_Selector.css +5 -5
- package/es/UNSAFE_Selector.js +13 -13
- package/es/UNSAFE_Selector.js.map +1 -1
- package/es/UNSAFE_Skeleton.css +1 -1
- package/es/UNSAFE_Skeleton.js +7 -7
- package/es/UNSAFE_Spacer.js +7 -7
- package/es/UNSAFE_SplitMenuButton.css +5 -5
- package/es/UNSAFE_SplitMenuButton.js +13 -13
- package/es/UNSAFE_SplitMenuButton.js.map +1 -1
- package/es/UNSAFE_Subheading.css +8 -8
- package/es/UNSAFE_Subheading.js +14 -14
- package/es/UNSAFE_Subheading.js.map +1 -1
- package/es/UNSAFE_Text.css +25 -25
- package/es/UNSAFE_Text.js +31 -31
- package/es/UNSAFE_Text.js.map +1 -1
- package/es/UNSAFE_TextArea.css +3 -3
- package/es/UNSAFE_TextArea.js +11 -11
- package/es/UNSAFE_TextArea.js.map +1 -1
- package/es/UNSAFE_TextAreaAutosize.js +8 -8
- package/es/UNSAFE_TextField.css +58 -58
- package/es/UNSAFE_TextField.js +65 -65
- package/es/UNSAFE_TextField.js.map +1 -1
- package/es/UNSAFE_ThemedIcons.js +3 -3
- package/es/UNSAFE_UserAssistance.css +8 -8
- package/es/UNSAFE_UserAssistance.js +16 -16
- package/es/UNSAFE_UserAssistance.js.map +1 -1
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +9 -9
- package/es/UNSAFE_WindowOverlay.js +1 -1
- package/es/{_curry1-e3c6d072.js → _curry1-e379049d.js} +2 -2
- package/es/{_curry1-e3c6d072.js.map → _curry1-e379049d.js.map} +1 -1
- package/es/{_curry2-791029c0.js → _curry2-1c000ff2.js} +3 -3
- package/es/{_curry2-791029c0.js.map → _curry2-1c000ff2.js.map} +1 -1
- package/es/{_curry3-5e1ce5aa.js → _curry3-3d6e7df3.js} +4 -4
- package/es/{_curry3-5e1ce5aa.js.map → _curry3-3d6e7df3.js.map} +1 -1
- package/es/{_has-8fca21a0.js → _has-25764044.js} +3 -3
- package/es/{_has-8fca21a0.js.map → _has-25764044.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-f7e6e87e.js → index-35af0841.js} +2 -2
- package/es/{index-f7e6e87e.js.map → index-35af0841.js.map} +1 -1
- package/es/{keys-471c8d5b.js → keys-0514dd90.js} +4 -4
- package/es/{keys-471c8d5b.js.map → keys-0514dd90.js.map} +1 -1
- package/es/resources/nls/ar/bundle.js +3 -1
- package/es/resources/nls/ar/bundle.js.map +1 -1
- package/es/resources/nls/ar-XB/bundle.js +3 -1
- package/es/resources/nls/ar-XB/bundle.js.map +1 -1
- package/es/resources/nls/bg/bundle.js +3 -1
- package/es/resources/nls/bg/bundle.js.map +1 -1
- package/es/resources/nls/bs/bundle.js +3 -1
- package/es/resources/nls/bs/bundle.js.map +1 -1
- package/es/resources/nls/bs-Cyrl/bundle.js +3 -1
- package/es/resources/nls/bs-Cyrl/bundle.js.map +1 -1
- package/es/resources/nls/bundle.js +3 -1
- package/es/resources/nls/bundle.js.map +1 -1
- package/es/resources/nls/cs/bundle.js +3 -1
- package/es/resources/nls/cs/bundle.js.map +1 -1
- package/es/resources/nls/da/bundle.js +3 -1
- package/es/resources/nls/da/bundle.js.map +1 -1
- package/es/resources/nls/de/bundle.js +3 -1
- package/es/resources/nls/de/bundle.js.map +1 -1
- package/es/resources/nls/el/bundle.js +3 -1
- package/es/resources/nls/el/bundle.js.map +1 -1
- package/es/resources/nls/en/bundle.js +3 -1
- package/es/resources/nls/en/bundle.js.map +1 -1
- package/es/resources/nls/en-XA/bundle.js +3 -1
- package/es/resources/nls/en-XA/bundle.js.map +1 -1
- package/es/resources/nls/en-XC/bundle.js +3 -1
- package/es/resources/nls/en-XC/bundle.js.map +1 -1
- package/es/resources/nls/es/bundle.js +3 -1
- package/es/resources/nls/es/bundle.js.map +1 -1
- package/es/resources/nls/et/bundle.js +3 -1
- package/es/resources/nls/et/bundle.js.map +1 -1
- package/es/resources/nls/fi/bundle.js +3 -1
- package/es/resources/nls/fi/bundle.js.map +1 -1
- package/es/resources/nls/fr/bundle.js +3 -1
- package/es/resources/nls/fr/bundle.js.map +1 -1
- package/es/resources/nls/fr-CA/bundle.js +3 -1
- package/es/resources/nls/fr-CA/bundle.js.map +1 -1
- package/es/resources/nls/he/bundle.js +3 -1
- package/es/resources/nls/he/bundle.js.map +1 -1
- package/es/resources/nls/hr/bundle.js +3 -1
- package/es/resources/nls/hr/bundle.js.map +1 -1
- package/es/resources/nls/hu/bundle.js +3 -1
- package/es/resources/nls/hu/bundle.js.map +1 -1
- package/es/resources/nls/is/bundle.js +3 -1
- package/es/resources/nls/is/bundle.js.map +1 -1
- package/es/resources/nls/it/bundle.js +3 -1
- package/es/resources/nls/it/bundle.js.map +1 -1
- package/es/resources/nls/ja/bundle.js +3 -1
- package/es/resources/nls/ja/bundle.js.map +1 -1
- package/es/resources/nls/ko/bundle.js +3 -1
- package/es/resources/nls/ko/bundle.js.map +1 -1
- package/es/resources/nls/lt/bundle.js +3 -1
- package/es/resources/nls/lt/bundle.js.map +1 -1
- package/es/resources/nls/lv/bundle.js +3 -1
- package/es/resources/nls/lv/bundle.js.map +1 -1
- package/es/resources/nls/ms/bundle.js +3 -1
- package/es/resources/nls/ms/bundle.js.map +1 -1
- package/es/resources/nls/nl/bundle.js +3 -1
- package/es/resources/nls/nl/bundle.js.map +1 -1
- package/es/resources/nls/no/bundle.js +3 -1
- package/es/resources/nls/no/bundle.js.map +1 -1
- package/es/resources/nls/pl/bundle.js +3 -1
- package/es/resources/nls/pl/bundle.js.map +1 -1
- package/es/resources/nls/pt/bundle.js +3 -1
- package/es/resources/nls/pt/bundle.js.map +1 -1
- package/es/resources/nls/pt-PT/bundle.js +3 -1
- package/es/resources/nls/pt-PT/bundle.js.map +1 -1
- package/es/resources/nls/ro/bundle.js +3 -1
- package/es/resources/nls/ro/bundle.js.map +1 -1
- package/es/resources/nls/ru/bundle.js +3 -1
- package/es/resources/nls/ru/bundle.js.map +1 -1
- package/es/resources/nls/sk/bundle.js +3 -1
- package/es/resources/nls/sk/bundle.js.map +1 -1
- package/es/resources/nls/sl/bundle.js +3 -1
- package/es/resources/nls/sl/bundle.js.map +1 -1
- package/es/resources/nls/sr/bundle.js +3 -1
- package/es/resources/nls/sr/bundle.js.map +1 -1
- package/es/resources/nls/sr-Latn/bundle.js +3 -1
- package/es/resources/nls/sr-Latn/bundle.js.map +1 -1
- package/es/resources/nls/supportedLocales.js +1 -1
- package/es/resources/nls/sv/bundle.js +3 -1
- package/es/resources/nls/sv/bundle.js.map +1 -1
- package/es/resources/nls/th/bundle.js +3 -1
- package/es/resources/nls/th/bundle.js.map +1 -1
- package/es/resources/nls/tr/bundle.js +3 -1
- package/es/resources/nls/tr/bundle.js.map +1 -1
- package/es/resources/nls/uk/bundle.js +3 -1
- package/es/resources/nls/uk/bundle.js.map +1 -1
- package/es/resources/nls/vi/bundle.js +3 -1
- package/es/resources/nls/vi/bundle.js.map +1 -1
- package/es/resources/nls/zh-Hans/bundle.js +3 -1
- package/es/resources/nls/zh-Hans/bundle.js.map +1 -1
- package/es/resources/nls/zh-Hant/bundle.js +3 -1
- package/es/resources/nls/zh-Hant/bundle.js.map +1 -1
- package/es/translationBundle.js +1 -1
- package/es/{tslib.es6-c0e58804.js → tslib.es6-d9bdbdae.js} +2 -2
- package/es/{tslib.es6-c0e58804.js.map → tslib.es6-d9bdbdae.js.map} +1 -1
- package/es/{useModal-10caad6b.js → useModal-4a2af3fa.js} +2 -2
- package/es/{useModal-10caad6b.js.map → useModal-4a2af3fa.js.map} +1 -1
- package/es/{useSingleSelection-d3a5cde9.js → useSingleSelection-04715e89.js} +2 -2
- package/es/{useSingleSelection-d3a5cde9.js.map → useSingleSelection-04715e89.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-4f4d90cf.js +0 -2
- package/amd/BaseButton-a0dcd5bc.js +0 -2
- package/amd/Button-198c8ed6.js +0 -2
- package/amd/Chip-aba2180a.js +0 -2
- package/amd/ComponentMessage-cb17d5ef.js +0 -2
- package/amd/ComponentMessageContainer-f4c35d4c.js +0 -2
- package/amd/Divider-53161f8d.js +0 -2
- package/amd/Flex-775e90e5.js +0 -2
- package/amd/FocusTrap-a01c0bda.js +0 -2
- package/amd/FormControlUtils-93032a0a.js +0 -2
- package/amd/Heading-d8f3e1f5.js +0 -2
- package/amd/HiddenAccessible-ee9951fd.js +0 -2
- package/amd/HighlightText-14091fdf.js +0 -2
- package/amd/Icon-fba33d1c.js +0 -2
- package/amd/Indexer-be37999b.js +0 -2
- package/amd/Link-4b28c477.js +0 -2
- package/amd/List-fa470728.js +0 -2
- package/amd/ListItemTextLayout-477ba118.js +0 -2
- package/amd/MenuDivider-f037b3f9.js +0 -2
- package/amd/MenuItem-f29b8cbd.js +0 -2
- package/amd/MessageCloseButton-e5e23578.js +0 -2
- package/amd/MessageDetail-cdf90f10.js +0 -2
- package/amd/MessageLayer-1657962b.js +0 -2
- package/amd/MessageStartIcon-08f308fb.js +0 -2
- package/amd/MessageSummary-7f3d5e57.js +0 -2
- package/amd/MessageTimestamp-a3284f86.js +0 -2
- package/amd/MessageToast-267e1025.js +0 -2
- package/amd/MeterCircle-358ea005.js +0 -2
- package/amd/Modal-32fcb565.js +0 -2
- package/amd/ReadonlyTextFieldInput-75343b0a.js +0 -2
- package/amd/SelectMenuItem-f5d05212.js +0 -2
- package/amd/Skeleton-10fcb9d9.js +0 -2
- package/amd/SplitMenuButton-1a3887b2.js +0 -2
- package/amd/Subheading-353a86c6.js +0 -2
- package/amd/Text-051a473d.js +0 -2
- package/amd/TextArea-f1ffb05f.js +0 -2
- package/amd/TextFieldInput-7e57209c.js +0 -2
- package/amd/_curry2-f172ac33.js +0 -2
- package/amd/_curry3-d4869a9a.js +0 -2
- package/amd/_has-ac02514c.js +0 -2
- package/amd/flexbox-9d055169.js +0 -2
- package/amd/flexitem-47db74b7.js +0 -2
- package/amd/useAnimation-ed4fee9b.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["require","preact/jsx-runtime","@testing-library/preact","chai","../../UNSAFE_MeterBar","../../utils/UNSAFE_matchTranslationBundle","../../UNSAFE_Environment","@testing-library/user-event","../../utils/PRIVATE_clientHints","../../clientHints-c5aa6e9c","../../tslib.es6-b7df6ad2","../../utils/UNSAFE_size","css!./../../UNSAFE_MeterBar.css","../../utils/UNSAFE_classNames","../../classNames-800ce42a","../../utils/UNSAFE_mergeProps","preact/hooks","../../hooks/UNSAFE_useUser","preact","../../UNSAFE_Layer","preact/compat","../../hooks/PRIVATE_useDvtMeterEvents","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-29a9dee6","../../index-b66b2456","../../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-ed4fee9b","../../utils/PRIVATE_meterUtils","../../utils/UNSAFE_dvtCommonUtils","../../PRIVATE_Meter","../../hooks/UNSAFE_useTabbableMode"],function(e,t,r,n,s,o,l,i,c,u,a,d,b,v,h,m,p,f,x,w,y,g,E,C,P,k,j,q,B,M,T,A,S,R,N,V,F,I,O,U,z){"use strict";function L(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var D=L(i);const _=3e3,H="datatip_text";describe("Test MeterBar component",()=>{it("render",async function(){const i=o.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:c}=await function(t){switch(t){case"../../resources/nls/ar/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar/bundle"],t,r)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar-XB/bundle"],t,r)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bg/bundle"],t,r)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs/bundle"],t,r)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs-Cyrl/bundle"],t,r)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/cs/bundle"],t,r)});case"../../resources/nls/da/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/da/bundle"],t,r)});case"../../resources/nls/de/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/de/bundle"],t,r)});case"../../resources/nls/el/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/el/bundle"],t,r)});case"../../resources/nls/en/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en/bundle"],t,r)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XA/bundle"],t,r)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XC/bundle"],t,r)});case"../../resources/nls/es/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/es/bundle"],t,r)});case"../../resources/nls/et/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/et/bundle"],t,r)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fi/bundle"],t,r)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr/bundle"],t,r)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr-CA/bundle"],t,r)});case"../../resources/nls/he/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/he/bundle"],t,r)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hr/bundle"],t,r)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hu/bundle"],t,r)});case"../../resources/nls/is/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/is/bundle"],t,r)});case"../../resources/nls/it/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/it/bundle"],t,r)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ja/bundle"],t,r)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ko/bundle"],t,r)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lt/bundle"],t,r)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lv/bundle"],t,r)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ms/bundle"],t,r)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/nl/bundle"],t,r)});case"../../resources/nls/no/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/no/bundle"],t,r)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pl/bundle"],t,r)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt/bundle"],t,r)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt-PT/bundle"],t,r)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ro/bundle"],t,r)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ru/bundle"],t,r)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sk/bundle"],t,r)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sl/bundle"],t,r)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr/bundle"],t,r)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr-Latn/bundle"],t,r)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sv/bundle"],t,r)});case"../../resources/nls/th/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/th/bundle"],t,r)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/tr/bundle"],t,r)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/uk/bundle"],t,r)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/vi/bundle"],t,r)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hans/bundle"],t,r)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hant/bundle"],t,r)});default:return new Promise(function(e,r){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})}}(`../../resources/nls/${i}/bundle.ts`),u={translations:{"@oracle/oraclejet-preact":c}},a=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:u},{children:t.jsx(s.MeterBar,{value:20,accessibleLabel:"ariaText"})}))),d=await a.getAllByLabelText("ariaText");n.expect(d).not.null}),it("applies Linaria CSS classes",async()=>{const i=o.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:c}=await function(t){switch(t){case"../../resources/nls/ar/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar/bundle"],t,r)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar-XB/bundle"],t,r)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bg/bundle"],t,r)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs/bundle"],t,r)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs-Cyrl/bundle"],t,r)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/cs/bundle"],t,r)});case"../../resources/nls/da/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/da/bundle"],t,r)});case"../../resources/nls/de/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/de/bundle"],t,r)});case"../../resources/nls/el/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/el/bundle"],t,r)});case"../../resources/nls/en/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en/bundle"],t,r)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XA/bundle"],t,r)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XC/bundle"],t,r)});case"../../resources/nls/es/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/es/bundle"],t,r)});case"../../resources/nls/et/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/et/bundle"],t,r)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fi/bundle"],t,r)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr/bundle"],t,r)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr-CA/bundle"],t,r)});case"../../resources/nls/he/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/he/bundle"],t,r)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hr/bundle"],t,r)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hu/bundle"],t,r)});case"../../resources/nls/is/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/is/bundle"],t,r)});case"../../resources/nls/it/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/it/bundle"],t,r)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ja/bundle"],t,r)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ko/bundle"],t,r)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lt/bundle"],t,r)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lv/bundle"],t,r)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ms/bundle"],t,r)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/nl/bundle"],t,r)});case"../../resources/nls/no/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/no/bundle"],t,r)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pl/bundle"],t,r)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt/bundle"],t,r)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt-PT/bundle"],t,r)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ro/bundle"],t,r)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ru/bundle"],t,r)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sk/bundle"],t,r)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sl/bundle"],t,r)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr/bundle"],t,r)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr-Latn/bundle"],t,r)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sv/bundle"],t,r)});case"../../resources/nls/th/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/th/bundle"],t,r)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/tr/bundle"],t,r)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/uk/bundle"],t,r)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/vi/bundle"],t,r)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hans/bundle"],t,r)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hant/bundle"],t,r)});default:return new Promise(function(e,r){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})}}(`../../resources/nls/${i}/bundle.ts`),u={translations:{"@oracle/oraclejet-preact":c}},a=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:u},{children:t.jsx(s.MeterBar,{value:20,min:0,max:100})}))).container.firstElementChild.classList;n.expect(a.length).equals(2)})}),describe("Test Meter Bar ARIA props",()=>{it("Test default aria properties of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{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}),it("Test value, role, min and max property of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{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,describedBy,labelledby property of Meter Bar",async function(){const e="TEST-ACCESSIBLE-LABEL",o="TEST ARIA-LABELLED-BY",l=r.render(t.jsx(s.MeterBar,{value:20,accessibleLabel:e,ariaDescribedBy:"TEST ARIA-DESCRIBED-BY",ariaLabelledBy:o})).container.firstElementChild;n.expect(l.getAttribute("aria-label")).equals(e);const i=l.getAttribute("aria-describedby"),c=null==i?void 0:i.split(" ");n.expect(null==c?void 0:c.length).equals(3),n.expect(c?c[0]:"").equals("TEST"),n.expect(c?c[1]:"").equals("ARIA-DESCRIBED-BY"),n.expect(l.getAttribute("aria-labelledby")).equals(o)})}),describe('Test "Size" property of Meter Bar ',()=>{"undefined"==typeof jest&&(it("Test default size",async function(){const e=r.render(t.jsx(s.MeterBar,{value:5})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Default size is correct").to.be.equal("12px")}),it('Test "size = large"',async function(){const e=r.render(t.jsx(s.MeterBar,{value:5,size:"lg"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Large size is correct").to.be.equal("12px")}),it('Test "size = medium"',async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,size:"md"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Medium size is correct").to.be.equal("8px")}),it('Test "size = small"',async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,size:"sm"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Small size is correct").to.be.equal("4px")}))}),describe('Test "Length" attribute of Meter Bar ',()=>{"undefined"==typeof jest&&(it("Test default length of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild;n.expect(e.style.width).equals("100%")}),it("Test length of Meter Bar when set in percentage (%)",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,length:"25%"})).container.firstElementChild;n.expect(e.style.width).equals("25%")}),it("Test length of Meter Bar when set in x ",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,length:"100x"})).container.firstElementChild;n.expect(e.style.width).equals("calc(100 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-1x))")}))}),describe("Test indicator APIs of Meter Bar ",()=>{it("Test default indicatorSize of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.height).equals("100%")}),it("Test indicatorSize of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,indicatorSize:.5})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.height).equals("50%")}),it("Test default indicatorColor of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.backgroundColor).equals("")}),it("Test indicatorColor of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,indicatorColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.backgroundColor).equals("red")})}),describe('Test "Track" attribute of Meter Bar ',()=>{it("Test default Track of Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.style.backgroundColor).equals("")}),it("Test Track not present in Meter Bar when isTrackRendered is set to false",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,isTrackRendered:!1,trackColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.style.backgroundColor).equals("transparent")}),it("Test isTrackRendered and track color attribute with value as true in Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,isTrackRendered:!0,trackColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.style.backgroundColor).equals("red")})}),"undefined"==typeof jest&&describe("Test Thresholds attribute of Meter Bar ",()=>{const e=[{max:33,color:"red",accessibleLabel:"accesibleLabel"},{max:65,color:"yellow"},{max:100,color:"green"}],o=[{max:33,color:"danger"},{max:65,color:"warning"},{max:100,color:"success"}];it("Test threshold color in Meter Bar",async function(){var o,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e})),b=null===(l=null===(o=d.container.firstElementChild)||void 0===o?void 0:o.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(b.style.backgroundColor).equals("red");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(v.style.backgroundColor).equals("yellow");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(h.style.backgroundColor).equals("green")}),it("Test threshold color enums in Meter Bar when thresholdDisplay is set to all",async function(){var e,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholdDisplay:"all",thresholds:o})),b=null===(l=null===(e=d.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(b.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(v.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-warning)");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(h.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-success)")}),it("Test threshold color enums in Meter Bar when thresholdDisplay is set to track",async function(){var e;const l=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholdDisplay:"track",thresholds:o})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(l.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)")}),it("Test threshold color enums in Meter Bar when thresholdDisplay is set to indicator",async function(){var e,l;const i=null===(l=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholdDisplay:"indicator",thresholds:o})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(i.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)")}),it("Test aria-valuetext for threshold color in Meter Bar",async function(){const o=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e})).container.firstElementChild;n.expect(o.getAttribute("aria-valuetext")).equals("20 accesibleLabel")}),it("Test threshold for horizontal border properties class in Meter Bar",async function(){var o,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e})),b=null===(l=null===(o=d.container.firstElementChild)||void 0===o?void 0:o.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(window.getComputedStyle(b).getPropertyValue("border-radius"),"horizontal border radius is correct").to.be.equals("2px 0px 0px 2px"),n.expect(window.getComputedStyle(b).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(b).getPropertyValue("border-width"),"horizontal order width is correct").to.be.equals("0px 1px 0px 0px");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(window.getComputedStyle(v).getPropertyValue("border-radius"),"horizontal border radius is correct").to.be.equals("0px"),n.expect(window.getComputedStyle(v).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equal("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(v).getPropertyValue("border-width"),"horizontal border width is correct").to.be.equals("0px 1px 0px 0px");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(window.getComputedStyle(h).getPropertyValue("border-radius"),"horizontal border radius is correct").to.be.equals("0px 2px 2px 0px"),n.expect(window.getComputedStyle(h).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(h).getPropertyValue("border-width"),"horizontal border width is correct").to.be.equals("0px 1px 0px 0px")}),it("Test threshold for vertical border properties class in Meter Bar",async function(){var o,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e,orientation:"vertical"})),b=null===(l=null===(o=d.container.firstElementChild)||void 0===o?void 0:o.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(window.getComputedStyle(b).getPropertyValue("border-radius"),"vertical border radius is correct").to.be.equals("0px 0px 2px 2px"),n.expect(window.getComputedStyle(b).getPropertyValue("border-color"),"vertical border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(b).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(window.getComputedStyle(v).getPropertyValue("border-radius"),"vertical border radius is correct").to.be.equals("0px"),n.expect(window.getComputedStyle(v).getPropertyValue("border-color"),"vertical border color is correct").to.be.equal("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(v).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(window.getComputedStyle(h).getPropertyValue("border-radius"),"vertical border radius is correct").to.be.equals("2px 2px 0px 0px"),n.expect(window.getComputedStyle(h).getPropertyValue("border-color"),"vertical border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(h).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px")}),it("Test threshold for horizontal border properties class when single threshold from min to max in Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholds:[{max:100}]})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(window.getComputedStyle(l).getPropertyValue("border-radius"),"horizontal border width is correct").to.be.equals("2px"),n.expect(window.getComputedStyle(l).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(l).getPropertyValue("border-width"),"horizontal border width is correct").to.be.equals("0px 1px 0px 0px")}),it("Test threshold for vertical border properties class when single threshold from min to max in Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholds:[{max:100}],orientation:"vertical"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(window.getComputedStyle(l).getPropertyValue("border-radius"),"vertical border width is correct").to.be.equals("2px"),n.expect(window.getComputedStyle(l).getPropertyValue("border-color"),"vertical border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(l).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px")})}),describe('Test "Orientation" attribute of Meter Bar ',()=>{it("Test default orientation of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild;n.expect(e.classList.length).equals(2)}),it("Test horizontal orientation of Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,orientation:"horizontal"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.classList.length).equals(2)}),it("Test vertical orientation of Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,orientation:"vertical"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.classList.length).equals(3)})}),"undefined"==typeof jest&&describe("Test to check the rendering of reference lines",()=>{it("Multiple Reference Lines to check color and value",async()=>{var e,o,l,i,c,u,a,d;const b=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:50,color:"#3A6E96",position:"start"},{value:70,color:"red",position:"start"},{value:60,position:"end"}]})),v=null===(o=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[3];n.expect(v.style.backgroundColor).equals("red"),n.expect(v.style.left).equals("70%");const h=null===(i=null===(l=b.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(h.style.backgroundColor).equals("rgb(58, 110, 150)"),n.expect(h.style.left).equals("50%");const m=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[1];n.expect(m.style.backgroundColor).equals("rgb(58, 110, 150)"),n.expect(m.style.left).equals("40%");const p=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[4];n.expect(p.style.backgroundColor).equals(""),n.expect(p.style.left).equals("60%")}),it("Multiple Reference Lines to check color and value in Vertical Meter Bar",async()=>{var e,o,l,i,c,u,a,d;const b=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",orientation:"vertical",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:50,color:"#3A6E96",position:"start"},{value:70,color:"red",position:"start"},{value:60,position:"end"}]})),v=null===(o=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[3];n.expect(v.style.bottom).equals("70%");const h=null===(i=null===(l=b.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(h.style.bottom).equals("50%");const m=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[1];n.expect(m.style.bottom).equals("40%");const p=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[4];n.expect(p.style.bottom).equals("60%")}),it("Multiple Reference Lines to check color enums",async()=>{var e,o,l,i,c,u,a,d;const b=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",referenceLines:[{value:40,color:"danger",position:"start"},{value:50,color:"warning",position:"start"},{value:70,color:"success",position:"start"},{value:60,position:"end"}]})),v=null===(o=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[1];n.expect(v.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)");const h=null===(i=null===(l=b.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(h.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-warning)");const m=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[3];n.expect(m.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-success)");const p=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[4];n.expect(window.getComputedStyle(p).backgroundColor).equals("rgba(22, 21, 19, 0.8)"),n.expect(window.getComputedStyle(p).borderRight).equals("1px solid rgba(245, 244, 242, 0.7)")}),it("Reference Lines position and colour in horizontal MeterBar",async()=>{var e,o,l,i;const c=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:80,position:"end"}]})),u=null===(o=null===(e=c.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[1];n.expect(u.classList.length).equals(4),n.expect(window.getComputedStyle(u).getPropertyValue("bottom"),"Position is correct").to.be.equal("0px");const a=null===(i=null===(l=c.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(window.getComputedStyle(a).getPropertyValue("bottom"),"Position is correct").to.be.equal("-8px"),n.expect(a.style.backgroundColor).equals("")}),it("Reference Lines position in vertical MeterBar",async()=>{var e,o,l,i;const c=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",orientation:"vertical",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:80,position:"end"}]})),u=null===(o=null===(e=c.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[1];n.expect(u.classList.length).equals(4),n.expect(window.getComputedStyle(u).getPropertyValue("right"),"Position is correct").to.be.equal("0px");const a=null===(i=null===(l=c.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(window.getComputedStyle(a).getPropertyValue("right"),"Position is correct").to.be.equal("-8px"),n.expect(a.style.backgroundColor).equals("")})}),describe("Mouse Interaction",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X("30"),{timeout:_})},_),it("check datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30,datatip:H})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X(H),{timeout:_})},_),it("check datatip when set to null, correctly triggered with mouse interaction",async()=>{var e;const o=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30,datatip:null})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(o);const i=document.querySelectorAll('[role="tooltip"]');n.expect(i.length).equals(0)}),it("check onCommit event is correctly triggered with mouse interaction",async()=>{var e;const o={clicked:!1},i=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:20,onCommit:e=>{null!=e.value&&(o.clicked=!0)}})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;r.fireEvent.pointerUp(i),await r.waitFor(()=>n.expect(o.clicked).equals(!0))}))}),describe("Mouse Interaction in RTL mode",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X("30"),{timeout:_})},_),it("check datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30,datatip:H})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X(H),{timeout:_})},_),it("check datatip when set to null, correctly triggered with mouse interaction",async()=>{var e;const o=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30,datatip:null})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(o);const i=document.querySelectorAll('[role="tooltip"]');n.expect(i.length).equals(0)}),it("check onCommit event is correctly triggered with mouse interaction",async()=>{var e;const o={clicked:!1},i=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:20,onCommit:e=>{null!=e.value&&(o.clicked=!0)}})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;r.fireEvent.pointerUp(i),await r.waitFor(()=>n.expect(o.clicked).equals(!0))}))}),describe("Keyboard Interaction",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with keyboard interaction when value is not set",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{})})),D.default.tab(),await r.waitFor(()=>X("0"),{timeout:_})}),it("check datatip correctly triggered with keyboard interaction",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30,datatip:H})})),D.default.tab(),await r.waitFor(()=>X(H),{timeout:_})},_),it("check onInput event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:20,onInput:t=>{null!=t.value&&(e.called=!0)}})})),D.default.tab(),await r.waitFor(()=>n.expect(e.called).equals(!0))}),it("check onInput is correctly triggered with HOME key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[HOME]"),await r.waitFor(()=>n.expect(e).equals(0))}),it("check onInput is correctly triggered with END key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[END]"),await r.waitFor(()=>n.expect(e).equals(100))}),it("check onCommit event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:20,onCommit:t=>{null!=t.value&&(e.called=!0)}})})),D.default.tab(),D.default.keyboard("[ENTER]"),await r.waitFor(()=>n.expect(e.called).equals(!0))}),it("check step is correctly triggered using down arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWDOWN]"),await r.waitFor(()=>n.expect(e).equals(1.5))}),it("check step is correctly triggered using right arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWRIGHT]"),await r.waitFor(()=>n.expect(e).equals(2.5))}),it("check step is correctly triggered using up arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWUP]"),await r.waitFor(()=>n.expect(e).equals(2.5))}),it("check step is correctly triggered using left arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWLEFT]"),await r.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(_),it("check default datatip correctly triggered with keyboard interaction",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30})}))),D.default.tab(),await r.waitFor(()=>X("30"),{timeout:_})},_),it("check step is correctly triggered with default value using right arrow by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})}))),D.default.tab(),D.default.keyboard("[ARROWRIGHT]"),await r.waitFor(()=>n.expect(e).equals(1))}),it("Test to set the attribute datatip , datatip is correctly triggered with keyboard interaction",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30,datatip:H})}))),D.default.tab(),await r.waitFor(()=>X(H),{timeout:_})},_),it("check onInput event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:20,onInput:t=>{null!=t.value&&(e.called=!0)}})}))),D.default.tab(),await r.waitFor(()=>n.expect(e.called).equals(!0))}),it("check onInput is correctly triggered with HOME key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})}))),D.default.tab(),D.default.keyboard("[HOME]"),await r.waitFor(()=>n.expect(e).equals(0))}),it("check onInput is correctly triggered with END key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})}))),D.default.tab(),D.default.keyboard("[END]"),await r.waitFor(()=>n.expect(e).equals(100))}),it("check onCommit event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:20,onCommit:t=>{null!=t.value&&(e.called=!0)}})}))),D.default.tab(),D.default.keyboard("[ENTER]"),await r.waitFor(()=>n.expect(e.called).equals(!0))}))});const X=e=>{var t;const r=document.querySelectorAll('[role="tooltip"]').item(0),s=null==r?void 0:r.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 o=null===(t=null==s?void 0:s.firstElementChild)||void 0===t?void 0:t.innerHTML;n.expect(o).equals(e)}});
|
|
1
|
+
define(["require","preact/jsx-runtime","@testing-library/preact","chai","../../UNSAFE_MeterBar","../../utils/UNSAFE_matchTranslationBundle","../../UNSAFE_Environment","@testing-library/user-event","../../utils/PRIVATE_clientHints","../../clientHints-4dcd5beb","../../tslib.es6-e942bc3b","../../utils/UNSAFE_size","css!./../../UNSAFE_MeterBar.css","../../utils/UNSAFE_classNames","../../classNames-8a2ab2d1","../../utils/UNSAFE_mergeProps","preact/hooks","../../hooks/UNSAFE_useUser","preact","../../UNSAFE_Layer","preact/compat","../../hooks/PRIVATE_useDvtMeterEvents","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-5ed96514","../../index-c4d84f43","../../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-7baf6a7e","../../utils/PRIVATE_meterUtils","../../utils/UNSAFE_dvtCommonUtils","../../PRIVATE_Meter","../../hooks/UNSAFE_useTabbableMode"],function(e,t,r,n,s,o,l,i,c,u,a,d,b,v,h,m,p,f,x,w,y,g,E,C,P,k,j,q,B,M,T,A,S,R,N,V,F,I,O,U,z){"use strict";function L(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var D=L(i);const _=3e3,H="datatip_text";describe("Test MeterBar component",()=>{it("render",async function(){const i=o.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:c}=await function(t){switch(t){case"../../resources/nls/ar/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar/bundle"],t,r)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar-XB/bundle"],t,r)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bg/bundle"],t,r)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs/bundle"],t,r)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs-Cyrl/bundle"],t,r)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/cs/bundle"],t,r)});case"../../resources/nls/da/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/da/bundle"],t,r)});case"../../resources/nls/de/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/de/bundle"],t,r)});case"../../resources/nls/el/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/el/bundle"],t,r)});case"../../resources/nls/en/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en/bundle"],t,r)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XA/bundle"],t,r)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XC/bundle"],t,r)});case"../../resources/nls/es/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/es/bundle"],t,r)});case"../../resources/nls/et/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/et/bundle"],t,r)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fi/bundle"],t,r)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr/bundle"],t,r)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr-CA/bundle"],t,r)});case"../../resources/nls/he/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/he/bundle"],t,r)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hr/bundle"],t,r)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hu/bundle"],t,r)});case"../../resources/nls/is/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/is/bundle"],t,r)});case"../../resources/nls/it/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/it/bundle"],t,r)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ja/bundle"],t,r)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ko/bundle"],t,r)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lt/bundle"],t,r)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lv/bundle"],t,r)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ms/bundle"],t,r)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/nl/bundle"],t,r)});case"../../resources/nls/no/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/no/bundle"],t,r)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pl/bundle"],t,r)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt/bundle"],t,r)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt-PT/bundle"],t,r)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ro/bundle"],t,r)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ru/bundle"],t,r)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sk/bundle"],t,r)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sl/bundle"],t,r)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr/bundle"],t,r)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr-Latn/bundle"],t,r)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sv/bundle"],t,r)});case"../../resources/nls/th/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/th/bundle"],t,r)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/tr/bundle"],t,r)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/uk/bundle"],t,r)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/vi/bundle"],t,r)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hans/bundle"],t,r)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hant/bundle"],t,r)});default:return new Promise(function(e,r){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})}}(`../../resources/nls/${i}/bundle.ts`),u={translations:{"@oracle/oraclejet-preact":c}},a=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:u},{children:t.jsx(s.MeterBar,{value:20,accessibleLabel:"ariaText"})}))),d=await a.getAllByLabelText("ariaText");n.expect(d).not.null}),it("applies Linaria CSS classes",async()=>{const i=o.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:c}=await function(t){switch(t){case"../../resources/nls/ar/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar/bundle"],t,r)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar-XB/bundle"],t,r)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bg/bundle"],t,r)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs/bundle"],t,r)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs-Cyrl/bundle"],t,r)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/cs/bundle"],t,r)});case"../../resources/nls/da/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/da/bundle"],t,r)});case"../../resources/nls/de/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/de/bundle"],t,r)});case"../../resources/nls/el/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/el/bundle"],t,r)});case"../../resources/nls/en/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en/bundle"],t,r)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XA/bundle"],t,r)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XC/bundle"],t,r)});case"../../resources/nls/es/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/es/bundle"],t,r)});case"../../resources/nls/et/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/et/bundle"],t,r)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fi/bundle"],t,r)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr/bundle"],t,r)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr-CA/bundle"],t,r)});case"../../resources/nls/he/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/he/bundle"],t,r)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hr/bundle"],t,r)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hu/bundle"],t,r)});case"../../resources/nls/is/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/is/bundle"],t,r)});case"../../resources/nls/it/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/it/bundle"],t,r)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ja/bundle"],t,r)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ko/bundle"],t,r)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lt/bundle"],t,r)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lv/bundle"],t,r)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ms/bundle"],t,r)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/nl/bundle"],t,r)});case"../../resources/nls/no/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/no/bundle"],t,r)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pl/bundle"],t,r)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt/bundle"],t,r)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt-PT/bundle"],t,r)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ro/bundle"],t,r)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ru/bundle"],t,r)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sk/bundle"],t,r)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sl/bundle"],t,r)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr/bundle"],t,r)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr-Latn/bundle"],t,r)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sv/bundle"],t,r)});case"../../resources/nls/th/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/th/bundle"],t,r)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/tr/bundle"],t,r)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/uk/bundle"],t,r)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/vi/bundle"],t,r)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hans/bundle"],t,r)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hant/bundle"],t,r)});default:return new Promise(function(e,r){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})}}(`../../resources/nls/${i}/bundle.ts`),u={translations:{"@oracle/oraclejet-preact":c}},a=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:u},{children:t.jsx(s.MeterBar,{value:20,min:0,max:100})}))).container.firstElementChild.classList;n.expect(a.length).equals(2)})}),describe("Test Meter Bar ARIA props",()=>{it("Test default aria properties of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{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}),it("Test value, role, min and max property of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{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,describedBy,labelledby property of Meter Bar",async function(){const e="TEST-ACCESSIBLE-LABEL",o="TEST ARIA-LABELLED-BY",l=r.render(t.jsx(s.MeterBar,{value:20,accessibleLabel:e,ariaDescribedBy:"TEST ARIA-DESCRIBED-BY",ariaLabelledBy:o})).container.firstElementChild;n.expect(l.getAttribute("aria-label")).equals(e);const i=l.getAttribute("aria-describedby"),c=null==i?void 0:i.split(" ");n.expect(null==c?void 0:c.length).equals(3),n.expect(c?c[0]:"").equals("TEST"),n.expect(c?c[1]:"").equals("ARIA-DESCRIBED-BY"),n.expect(l.getAttribute("aria-labelledby")).equals(o)})}),describe('Test "Size" property of Meter Bar ',()=>{"undefined"==typeof jest&&(it("Test default size",async function(){const e=r.render(t.jsx(s.MeterBar,{value:5})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Default size is correct").to.be.equal("12px")}),it('Test "size = large"',async function(){const e=r.render(t.jsx(s.MeterBar,{value:5,size:"lg"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Large size is correct").to.be.equal("12px")}),it('Test "size = medium"',async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,size:"md"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Medium size is correct").to.be.equal("8px")}),it('Test "size = small"',async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,size:"sm"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Small size is correct").to.be.equal("4px")}))}),describe('Test "Length" attribute of Meter Bar ',()=>{"undefined"==typeof jest&&(it("Test default length of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild;n.expect(e.style.width).equals("100%")}),it("Test length of Meter Bar when set in percentage (%)",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,length:"25%"})).container.firstElementChild;n.expect(e.style.width).equals("25%")}),it("Test length of Meter Bar when set in x ",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,length:"100x"})).container.firstElementChild;n.expect(e.style.width).equals("calc(100 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-1x))")}))}),describe("Test indicator APIs of Meter Bar ",()=>{it("Test default indicatorSize of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.height).equals("100%")}),it("Test indicatorSize of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,indicatorSize:.5})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.height).equals("50%")}),it("Test default indicatorColor of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.backgroundColor).equals("")}),it("Test indicatorColor of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,indicatorColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.backgroundColor).equals("red")})}),describe('Test "Track" attribute of Meter Bar ',()=>{it("Test default Track of Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.style.backgroundColor).equals("")}),it("Test Track not present in Meter Bar when isTrackRendered is set to false",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,isTrackRendered:!1,trackColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.style.backgroundColor).equals("transparent")}),it("Test isTrackRendered and track color attribute with value as true in Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,isTrackRendered:!0,trackColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.style.backgroundColor).equals("red")})}),"undefined"==typeof jest&&describe("Test Thresholds attribute of Meter Bar ",()=>{const e=[{max:33,color:"red",accessibleLabel:"accesibleLabel"},{max:65,color:"yellow"},{max:100,color:"green"}],o=[{max:33,color:"danger"},{max:65,color:"warning"},{max:100,color:"success"}];it("Test threshold color in Meter Bar",async function(){var o,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e})),b=null===(l=null===(o=d.container.firstElementChild)||void 0===o?void 0:o.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(b.style.backgroundColor).equals("red");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(v.style.backgroundColor).equals("yellow");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(h.style.backgroundColor).equals("green")}),it("Test threshold color enums in Meter Bar when thresholdDisplay is set to all",async function(){var e,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholdDisplay:"all",thresholds:o})),b=null===(l=null===(e=d.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(b.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(v.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-warning)");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(h.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-success)")}),it("Test threshold color enums in Meter Bar when thresholdDisplay is set to track",async function(){var e;const l=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholdDisplay:"track",thresholds:o})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(l.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)")}),it("Test threshold color enums in Meter Bar when thresholdDisplay is set to indicator",async function(){var e,l;const i=null===(l=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholdDisplay:"indicator",thresholds:o})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(i.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)")}),it("Test aria-valuetext for threshold color in Meter Bar",async function(){const o=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e})).container.firstElementChild;n.expect(o.getAttribute("aria-valuetext")).equals("20 accesibleLabel")}),it("Test threshold for horizontal border properties class in Meter Bar",async function(){var o,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e})),b=null===(l=null===(o=d.container.firstElementChild)||void 0===o?void 0:o.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(window.getComputedStyle(b).getPropertyValue("border-radius"),"horizontal border radius is correct").to.be.equals("2px 0px 0px 2px"),n.expect(window.getComputedStyle(b).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(b).getPropertyValue("border-width"),"horizontal order width is correct").to.be.equals("0px 1px 0px 0px");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(window.getComputedStyle(v).getPropertyValue("border-radius"),"horizontal border radius is correct").to.be.equals("0px"),n.expect(window.getComputedStyle(v).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equal("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(v).getPropertyValue("border-width"),"horizontal border width is correct").to.be.equals("0px 1px 0px 0px");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(window.getComputedStyle(h).getPropertyValue("border-radius"),"horizontal border radius is correct").to.be.equals("0px 2px 2px 0px"),n.expect(window.getComputedStyle(h).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(h).getPropertyValue("border-width"),"horizontal border width is correct").to.be.equals("0px 1px 0px 0px")}),it("Test threshold for vertical border properties class in Meter Bar",async function(){var o,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e,orientation:"vertical"})),b=null===(l=null===(o=d.container.firstElementChild)||void 0===o?void 0:o.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(window.getComputedStyle(b).getPropertyValue("border-radius"),"vertical border radius is correct").to.be.equals("0px 0px 2px 2px"),n.expect(window.getComputedStyle(b).getPropertyValue("border-color"),"vertical border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(b).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(window.getComputedStyle(v).getPropertyValue("border-radius"),"vertical border radius is correct").to.be.equals("0px"),n.expect(window.getComputedStyle(v).getPropertyValue("border-color"),"vertical border color is correct").to.be.equal("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(v).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(window.getComputedStyle(h).getPropertyValue("border-radius"),"vertical border radius is correct").to.be.equals("2px 2px 0px 0px"),n.expect(window.getComputedStyle(h).getPropertyValue("border-color"),"vertical border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(h).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px")}),it("Test threshold for horizontal border properties class when single threshold from min to max in Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholds:[{max:100}]})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(window.getComputedStyle(l).getPropertyValue("border-radius"),"horizontal border width is correct").to.be.equals("2px"),n.expect(window.getComputedStyle(l).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(l).getPropertyValue("border-width"),"horizontal border width is correct").to.be.equals("0px 1px 0px 0px")}),it("Test threshold for vertical border properties class when single threshold from min to max in Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholds:[{max:100}],orientation:"vertical"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(window.getComputedStyle(l).getPropertyValue("border-radius"),"vertical border width is correct").to.be.equals("2px"),n.expect(window.getComputedStyle(l).getPropertyValue("border-color"),"vertical border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(l).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px")})}),describe('Test "Orientation" attribute of Meter Bar ',()=>{it("Test default orientation of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild;n.expect(e.classList.length).equals(2)}),it("Test horizontal orientation of Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,orientation:"horizontal"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.classList.length).equals(2)}),it("Test vertical orientation of Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,orientation:"vertical"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.classList.length).equals(3)})}),"undefined"==typeof jest&&describe("Test to check the rendering of reference lines",()=>{it("Multiple Reference Lines to check color and value",async()=>{var e,o,l,i,c,u,a,d;const b=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:50,color:"#3A6E96",position:"start"},{value:70,color:"red",position:"start"},{value:60,position:"end"}]})),v=null===(o=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[3];n.expect(v.style.backgroundColor).equals("red"),n.expect(v.style.left).equals("70%");const h=null===(i=null===(l=b.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(h.style.backgroundColor).equals("rgb(58, 110, 150)"),n.expect(h.style.left).equals("50%");const m=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[1];n.expect(m.style.backgroundColor).equals("rgb(58, 110, 150)"),n.expect(m.style.left).equals("40%");const p=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[4];n.expect(p.style.backgroundColor).equals(""),n.expect(p.style.left).equals("60%")}),it("Multiple Reference Lines to check color and value in Vertical Meter Bar",async()=>{var e,o,l,i,c,u,a,d;const b=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",orientation:"vertical",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:50,color:"#3A6E96",position:"start"},{value:70,color:"red",position:"start"},{value:60,position:"end"}]})),v=null===(o=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[3];n.expect(v.style.bottom).equals("70%");const h=null===(i=null===(l=b.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(h.style.bottom).equals("50%");const m=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[1];n.expect(m.style.bottom).equals("40%");const p=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[4];n.expect(p.style.bottom).equals("60%")}),it("Multiple Reference Lines to check color enums",async()=>{var e,o,l,i,c,u,a,d;const b=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",referenceLines:[{value:40,color:"danger",position:"start"},{value:50,color:"warning",position:"start"},{value:70,color:"success",position:"start"},{value:60,position:"end"}]})),v=null===(o=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[1];n.expect(v.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)");const h=null===(i=null===(l=b.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(h.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-warning)");const m=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[3];n.expect(m.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-success)");const p=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[4];n.expect(window.getComputedStyle(p).backgroundColor).equals("rgba(22, 21, 19, 0.8)"),n.expect(window.getComputedStyle(p).borderRight).equals("1px solid rgba(245, 244, 242, 0.7)")}),it("Reference Lines position and colour in horizontal MeterBar",async()=>{var e,o,l,i;const c=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:80,position:"end"}]})),u=null===(o=null===(e=c.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[1];n.expect(u.classList.length).equals(4),n.expect(window.getComputedStyle(u).getPropertyValue("bottom"),"Position is correct").to.be.equal("0px");const a=null===(i=null===(l=c.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(window.getComputedStyle(a).getPropertyValue("bottom"),"Position is correct").to.be.equal("-8px"),n.expect(a.style.backgroundColor).equals("")}),it("Reference Lines position in vertical MeterBar",async()=>{var e,o,l,i;const c=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",orientation:"vertical",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:80,position:"end"}]})),u=null===(o=null===(e=c.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[1];n.expect(u.classList.length).equals(4),n.expect(window.getComputedStyle(u).getPropertyValue("right"),"Position is correct").to.be.equal("0px");const a=null===(i=null===(l=c.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(window.getComputedStyle(a).getPropertyValue("right"),"Position is correct").to.be.equal("-8px"),n.expect(a.style.backgroundColor).equals("")})}),describe("Mouse Interaction",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X("30"),{timeout:_})},_),it("check datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30,datatip:H})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X(H),{timeout:_})},_),it("check datatip when set to null, correctly triggered with mouse interaction",async()=>{var e;const o=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30,datatip:null})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(o);const i=document.querySelectorAll('[role="tooltip"]');n.expect(i.length).equals(0)}),it("check onCommit event is correctly triggered with mouse interaction",async()=>{var e;const o={clicked:!1},i=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:20,onCommit:e=>{null!=e.value&&(o.clicked=!0)}})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;r.fireEvent.pointerUp(i),await r.waitFor(()=>n.expect(o.clicked).equals(!0))}))}),describe("Mouse Interaction in RTL mode",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X("30"),{timeout:_})},_),it("check datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30,datatip:H})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X(H),{timeout:_})},_),it("check datatip when set to null, correctly triggered with mouse interaction",async()=>{var e;const o=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30,datatip:null})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(o);const i=document.querySelectorAll('[role="tooltip"]');n.expect(i.length).equals(0)}),it("check onCommit event is correctly triggered with mouse interaction",async()=>{var e;const o={clicked:!1},i=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:20,onCommit:e=>{null!=e.value&&(o.clicked=!0)}})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;r.fireEvent.pointerUp(i),await r.waitFor(()=>n.expect(o.clicked).equals(!0))}))}),describe("Keyboard Interaction",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with keyboard interaction when value is not set",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{})})),D.default.tab(),await r.waitFor(()=>X("0"),{timeout:_})}),it("check datatip correctly triggered with keyboard interaction",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30,datatip:H})})),D.default.tab(),await r.waitFor(()=>X(H),{timeout:_})},_),it("check onInput event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:20,onInput:t=>{null!=t.value&&(e.called=!0)}})})),D.default.tab(),await r.waitFor(()=>n.expect(e.called).equals(!0))}),it("check onInput is correctly triggered with HOME key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[HOME]"),await r.waitFor(()=>n.expect(e).equals(0))}),it("check onInput is correctly triggered with END key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[END]"),await r.waitFor(()=>n.expect(e).equals(100))}),it("check onCommit event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:20,onCommit:t=>{null!=t.value&&(e.called=!0)}})})),D.default.tab(),D.default.keyboard("[ENTER]"),await r.waitFor(()=>n.expect(e.called).equals(!0))}),it("check step is correctly triggered using down arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWDOWN]"),await r.waitFor(()=>n.expect(e).equals(1.5))}),it("check step is correctly triggered using right arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWRIGHT]"),await r.waitFor(()=>n.expect(e).equals(2.5))}),it("check step is correctly triggered using up arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWUP]"),await r.waitFor(()=>n.expect(e).equals(2.5))}),it("check step is correctly triggered using left arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWLEFT]"),await r.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(_),it("check default datatip correctly triggered with keyboard interaction",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30})}))),D.default.tab(),await r.waitFor(()=>X("30"),{timeout:_})},_),it("check step is correctly triggered with default value using right arrow by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})}))),D.default.tab(),D.default.keyboard("[ARROWRIGHT]"),await r.waitFor(()=>n.expect(e).equals(1))}),it("Test to set the attribute datatip , datatip is correctly triggered with keyboard interaction",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30,datatip:H})}))),D.default.tab(),await r.waitFor(()=>X(H),{timeout:_})},_),it("check onInput event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:20,onInput:t=>{null!=t.value&&(e.called=!0)}})}))),D.default.tab(),await r.waitFor(()=>n.expect(e.called).equals(!0))}),it("check onInput is correctly triggered with HOME key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})}))),D.default.tab(),D.default.keyboard("[HOME]"),await r.waitFor(()=>n.expect(e).equals(0))}),it("check onInput is correctly triggered with END key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})}))),D.default.tab(),D.default.keyboard("[END]"),await r.waitFor(()=>n.expect(e).equals(100))}),it("check onCommit event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:20,onCommit:t=>{null!=t.value&&(e.called=!0)}})}))),D.default.tab(),D.default.keyboard("[ENTER]"),await r.waitFor(()=>n.expect(e.called).equals(!0))}))});const X=e=>{var t;const r=document.querySelectorAll('[role="tooltip"]').item(0),s=null==r?void 0:r.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 o=null===(t=null==s?void 0:s.firstElementChild)||void 0===t?void 0:t.innerHTML;n.expect(o).equals(e)}});
|
|
2
2
|
//# sourceMappingURL=MeterBar.spec.js.map
|
package/amd/UNSAFE_MeterBar.css
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
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
|
-
.
|
|
1
|
+
.wv0idd{display:inline-flex;pointer-events:none;}.wv0idd:focus-visible{outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-style:dotted;outline-width:1px;}
|
|
2
|
+
.m7zv38{width:100%;}
|
|
3
|
+
.nfrvpp{height:100%;}
|
|
4
|
+
._15pzz77{cursor:pointer;touch-action:none;}
|
|
5
|
+
._1gl36pk{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-value-bg-color);border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);position:absolute;pointer-events:none;}
|
|
6
|
+
._1rkm3az{bottom:0%;left:50%;transform:translate(-50%,0);}
|
|
7
|
+
.fhggjj{top:50%;transform:translate(0,-50%);}
|
|
8
|
+
.yty91z{position:relative;display:flex;background-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-track-bg-color);border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);pointer-events:auto;}
|
|
9
|
+
._616vgv{flex-direction:column-reverse;}
|
|
10
|
+
.h0fp0b{width:100%;height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size);}
|
|
11
|
+
._1r7jjk3{width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size);height:100%;}
|
|
12
|
+
._1lqn2ei{width:100%;height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size);}
|
|
13
|
+
._1w5z0eo{width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size);height:100%;}
|
|
14
|
+
.llxdqo{width:100%;height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size);}
|
|
15
|
+
.z019xu{width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size);height:100%;}
|
|
16
|
+
._1404qqm{margin-top:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)- var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size));}
|
|
17
|
+
._1w4e8cx{margin-top:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size));}
|
|
18
|
+
.n3al5q{margin-top:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size));}
|
|
19
|
+
._1tfkllc{margin-inline-start:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size));}
|
|
20
|
+
._1ww13fa{margin-inline-start:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size));}
|
|
21
|
+
._1sp0exv{margin-inline-start:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size));}
|
|
22
|
+
._1nqv1sy{margin-inline-end:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size));}
|
|
23
|
+
.rbuank{margin-inline-end:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size));}
|
|
24
|
+
._18vxz4p{margin-inline-end:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size));}
|
|
25
|
+
._1r0kq07{margin-bottom:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size));}
|
|
26
|
+
._72orpa{margin-bottom:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size));}
|
|
27
|
+
.fzuh4j{margin-bottom:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size));}
|
|
28
|
+
.viek89{border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);}
|
|
29
|
+
.q57ak1{border-radius:0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0;border-width:0;}
|
|
30
|
+
._1gw6xjx{border-radius:0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);}
|
|
31
|
+
._5p7xzx{border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0;border-width:0;}
|
|
32
|
+
._1upnxnq{border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);}
|
|
33
33
|
|
|
34
|
-
.
|
|
35
|
-
.
|
|
36
|
-
.
|
|
37
|
-
.
|
|
38
|
-
.
|
|
39
|
-
.
|
|
40
|
-
.
|
|
41
|
-
.
|
|
34
|
+
.i658x0{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-dvt-reference-object-line-color);background-clip:padding-box;position:absolute;pointer-events:none;}
|
|
35
|
+
._15n0o43{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color);border-style:solid;border-width:0 0 1px 0;}
|
|
36
|
+
._16r6cpj{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color);border-style:solid;border-width:0 1px 0 0;}
|
|
37
|
+
._4eckj2{width:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x);height:2px;translate:0 1px;}
|
|
38
|
+
.usexda{translate:-1px 0;width:2px;height:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x);}
|
|
39
|
+
._1hlswci{bottom:0%;}
|
|
40
|
+
._1ifsmq0{right:0%;}
|
|
41
|
+
._19g5v9d{left:0%;}
|
|
42
42
|
|
|
43
|
-
.
|
|
44
|
-
.
|
|
45
|
-
.
|
|
46
|
-
.
|
|
43
|
+
.r91ffk{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color);border-style:solid;box-sizing:border-box;pointer-events:none;background-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-threshold-color);background-clip:padding-box;}
|
|
44
|
+
._15uai6i{border-width:1px 0 0 0;}
|
|
45
|
+
.t9l0te{border-width:0 0 0 1px;}
|
|
46
|
+
._12tve7e{border-width:0 1px 0 0;}
|
package/amd/UNSAFE_MeterBar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./tslib.es6-
|
|
1
|
+
define(["exports","./tslib.es6-e942bc3b","preact/jsx-runtime","./utils/UNSAFE_size","css!./UNSAFE_MeterBar.css","./utils/UNSAFE_classNames","./utils/UNSAFE_mergeProps","preact/hooks","./hooks/UNSAFE_useUser","./hooks/PRIVATE_useDvtMeterEvents","./utils/PRIVATE_meterUtils","./PRIVATE_Meter","./utils/UNSAFE_dvtCommonUtils","./classNames-8a2ab2d1","./hooks/UNSAFE_useTabbableMode","./UNSAFE_Environment","preact","./UNSAFE_Layer","preact/compat","./hooks/UNSAFE_useTooltip","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-5ed96514","./index-c4d84f43","./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-7baf6a7e"],function(t,e,o,r,a,i,n,s,l,c,d,h,u,m,g,_,v,p,f,x,b,S,k,z,E,T,A,M,U,F,N,j,C,B){"use strict";function w(t){if(!t)return{width:0,height:0};const e=t.getBoundingClientRect();return{width:e.width,height:e.height}}function R({orientation:t,percentage:e,color:r,position:a}){const i="horizontal"===t,{direction:n}=l.useUser(),s="rtl"===n,c="start"===a;return o.jsx("div",{class:m.classNames([y.base,y[`${t}Border`],y[`${t}`],c?i?y.horiontalStart:y["verticalStart"+(s?"Rtl":"Ltr")]:""]),style:{left:i&&!s?e:void 0,right:i&&s?e:void 0,bottom:i?void 0:e,backgroundColor:u.getDvtThresholdColor(r)}})}const y={base:"i658x0",verticalBorder:"_15n0o43",horizontalBorder:"_16r6cpj",vertical:"_4eckj2",horizontal:"usexda",horiontalStart:"_1hlswci",verticalStartLtr:"_1ifsmq0",verticalStartRtl:"_19g5v9d"};function I(t){var{color:r,length:a,orientation:i}=t,n=e.__rest(t,["color","length","orientation"]);const{direction:s}=l.useUser(),c="horizontal"===i,d="rtl"===s;return o.jsx("div",{class:m.classNames([L.base,c?L["horizontalBarTrackSection"+(d?"Rtl":"Ltr")]:L.verticalBarTrackSection,n.class]),style:{width:c?a:"100%",height:c?"100%":a,backgroundColor:u.getDvtThresholdColor(r)}})}const L={base:"r91ffk",verticalBarTrackSection:"_15uai6i",horizontalBarTrackSectionRtl:"t9l0te",horizontalBarTrackSectionLtr:"_12tve7e"};const $=function(t,e,o){const r=[];return t.start&&r.push(V[`${e}Margin${o?"Top":"Start"}`]),t.end&&r.push(V[`${e}Margin${o?"Bottom":"End"}`]),r},P={base:"wv0idd",horizontal:"m7zv38",vertical:"nfrvpp",interactive:"_15pzz77"},q={base:"_1gl36pk",vertical:"_1rkm3az",horizontal:"fhggjj"},V={base:"yty91z",vertical:"_616vgv",smHorizontal:"h0fp0b",smVertical:"_1r7jjk3",mdHorizontal:"_1lqn2ei",mdVertical:"_1w5z0eo",lgHorizontal:"llxdqo",lgVertical:"z019xu",smMarginTop:"_1404qqm",mdMarginTop:"_1w4e8cx",lgMarginTop:"n3al5q",smMarginStart:"_1tfkllc",mdMarginStart:"_1ww13fa",lgMarginStart:"_1sp0exv",smMarginEnd:"_1nqv1sy",mdMarginEnd:"rbuank",lgMarginEnd:"_18vxz4p",smMarginBottom:"_1r0kq07",mdMarginBottom:"_72orpa",lgMarginBottom:"fzuh4j"},D={horizontalFirst:"viek89",horizontalLast:"q57ak1",verticalFirst:"_1gw6xjx",verticalLast:"_5p7xzx",roundedCorners:"_1upnxnq"};t.MeterBar=function(t){var a,i,{max:u=100,min:_=0,value:v=0,step:p=1,length:f="100%",size:x="lg",orientation:b="horizontal",isTrackRendered:S=!0,thresholdDisplay:k="all",indicatorSize:z=1}=t,E=e.__rest(t,["max","min","value","step","length","size","orientation","isTrackRendered","thresholdDisplay","indicatorSize"]);d.validateRange(_,u,v,p);const T="horizontal"===b,A=s.useRef(null),M=s.useRef(w(null)),{direction:U}=l.useUser(),F="rtl"===U;s.useEffect(()=>{(E.onCommit||E.onInput)&&(M.current=w(A.current))},[x,f,b,E.onCommit,E.onInput]);const N=c.usePointerEvents(v,t=>{if(t.target==A.current)return function(t,e,o,r,a,i,n){const s=e.current;if(!s||0===s.width)return;let l;if("horizontal"===i){const e=t.offsetX;l=o+(r-o)*(n?s.width-e:e)/s.width}else l=o+(r-o)*(s.height-t.offsetY)/s.height;return l=Math.round(l/a)*a,Math.max(o,Math.min(r,l))}(t,M,_,u,p,b,F)},A,E.onCommit,E.onInput),j=c.useKeyboardEvents(v,_,u,p,E.onCommit,E.onInput),{datatipContent:C,datatipProps:B}=c.useMeterDatatip(v,E.datatip,E.ariaDescribedBy),y=d.getMeterAriaProps(v,_,u,`${v}`,E.accessibleLabel,E.ariaLabelledBy,E.thresholds),L=n.mergeProps(N,j,B,y),H=Math.max(0,Math.min(1,z)),O=100*(v-_)/(u-_)+"%",K=100*H+"%",{trackColor:X,indicatorColor:Y}=d.getTrackAndIndicatorColor(v,k,E.trackColor,E.indicatorColor,E.thresholds),G=function(t){let e={start:!1,end:!1};return t&&(e=t.reduce((t,e)=>(t.start=t.start||"start"===e.position,t.end=t.end||"end"===e.position||null==e.position,t),e)),e}(E.referenceLines),J=E.onCommit||E.onInput,{isTabbable:Q}=g.useTabbableMode();return o.jsxs(o.Fragment,{children:[o.jsx("div",Object.assign({tabIndex:Q?0:-1,role:"slider"},L,{style:{width:T?r.sizeToCSS(f):void 0,height:T?void 0:r.sizeToCSS(f)},class:m.classNames([P.base,P[b]])},{children:o.jsxs(h.BarTrack,Object.assign({ref:A,orientation:b,color:!S||"all"===k&&E.thresholds?"transparent":X,class:m.classNames([V.base,J?P.interactive:"",T?"":V.vertical,T?V[`${x}Horizontal`]:V[`${x}Vertical`],...$(G,x,T)])},{children:["all"===k&&(null===(a=E.thresholds)||void 0===a?void 0:a.filter(t=>t.max>_&&t.max<=u).sort((t,e)=>t.max-e.max).map((t,e,r)=>{const a=0===e?t.max-_:t.max-r[e-1].max;let i=0===e?D[`${b}First`]:"";return t.max===u&&(i=0===e?D.roundedCorners:D[`${b}Last`]),o.jsxs(o.Fragment,{children:[o.jsx(I,{class:i,orientation:b,length:100*a/(u-_)+"%",color:t.color}),S&&e===r.length-1&&t.max<u?o.jsx(I,{class:D[`${b}Last`],color:X,orientation:b,length:100*(u-r[e].max)/(u-_)+"%"}):""]})})),o.jsx(h.BarValue,{length:O,size:K,orientation:b,class:m.classNames([q.base,q[b]]),color:Y}),null===(i=E.referenceLines)||void 0===i?void 0:i.map(t=>o.jsx(R,{color:t.color,orientation:b,percentage:100*(t.value-_)/(u-_)+"%",position:t.position}))]}))})),C]})},Object.defineProperty(t,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_MeterBar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UNSAFE_MeterBar.js","sources":["../../src/UNSAFE_MeterBar/MeterUtils.ts","../../src/UNSAFE_MeterBar/ReferenceLines.tsx","../../src/UNSAFE_MeterBar/ThresholdBar.tsx","../../src/UNSAFE_MeterBar/MeterBar.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport type { Ref } from 'preact/hooks';\nimport { ReferenceLine } from '../utils/UNSAFE_meterTypes';\n\ntype Dimensions = {\n width: number;\n height: number;\n};\n\n/**\n * Returns the metric value of the clicked point.\n * @param event The PointerEvent\n * @param dimensionsRef Ref to stored dimensions of the meter bar.\n * @param min The minimum value of the meter bar.\n * @param max The maximum value of the meter bar.\n * @param step The step value of the meter bar.\n * @param orientation The orientation of the meter bar.\n * @param isRtl Whether the reading mode is 'rtl'\n * @returns The metric value of the clicked point.\n */\nexport function getValue(\n event: PointerEvent,\n dimensionsRef: Ref<Dimensions>,\n min: number,\n max: number,\n step: number,\n orientation?: 'horizontal' | 'vertical',\n isRtl?: boolean\n): number | undefined {\n const dims = dimensionsRef.current;\n if (!dims || dims.width === 0) {\n return undefined;\n }\n\n let val;\n\n if (orientation === 'horizontal') {\n const width = event.offsetX;\n val = min + ((max - min) * (isRtl ? dims.width - width : width)) / dims.width;\n } else {\n const height = dims.height - event.offsetY;\n val = min + ((max - min) * height) / dims.height;\n }\n val = Math.round(val / step) * step;\n return Math.max(min, Math.min(max, val));\n}\n\n/**\n * Returns the true dimension of the meter bar after first render. All dimensions are 0 for initial render.\n * @param element The meter bar track HTML element\n * @returns The dimension of the meter bar.\n */\nexport function getDimensions(element: HTMLElement | null): Dimensions {\n if (!element) {\n return {\n width: 0,\n height: 0\n };\n }\n const trackDims = element.getBoundingClientRect();\n\n return {\n width: trackDims.width,\n height: trackDims.height\n };\n}\n\n/**\n * Returns object with 'start' and 'end' keys. Value for each key will be true if at least one ref line with correposnding position is present in meter bar.\n * @param lines The array of reference lines.\n * @returns Returns object with start and end keys.\n */\nexport function getRefLinesInfo(lines?: ReferenceLine[]): { start: boolean; end: boolean } {\n let refLineInfo = { start: false, end: false };\n if (lines) {\n refLineInfo = lines.reduce((acc, cur) => {\n acc.start = acc.start || cur.position === 'start';\n acc.end = acc.end || cur.position === 'end' || cur.position == null;\n return acc;\n }, refLineInfo);\n }\n return refLineInfo;\n}\n\n/**\n * Returns the total component size taking into account the presence or absence of\n * reference line in either or both side of reference bar. This method assumes that reference line\n * is always larger than the track size.\n * @param refLineInfo Object sepecifying if ref lines with start, end or both position are present.\n * @param size The size of the meter bar.\n * @returns {string}\n */\nexport function getComponentSize(\n refLineInfo: { start: boolean; end: boolean },\n size: 'sm' | 'md' | 'lg'\n) {\n const barTrackSize = `var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-${size}-size)`;\n const refLineSize = 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-refline-size)';\n if (refLineInfo.start && refLineInfo.end) {\n return `calc((2 * ${refLineSize}) - ${barTrackSize})`;\n }\n if (refLineInfo.start || refLineInfo.end) {\n return refLineSize;\n }\n return barTrackSize;\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { DvtThresholdsColors, getDvtThresholdColor } from '../utils/UNSAFE_dvtCommonUtils';\n\ntype ReferenceLineProps = {\n orientation: 'horizontal' | 'vertical';\n percentage: string;\n position?: 'start' | 'end';\n color?: ColorProps['color'] | DvtThresholdsColors;\n};\n\nexport function ReferenceLineBar({ orientation, percentage, color, position }: ReferenceLineProps) {\n const isHoriz = orientation === 'horizontal';\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n const isStartPos = position === 'start';\n\n return (\n <div\n class={classNames([\n styles.base,\n styles[`${orientation}Border`],\n styles[`${orientation}`],\n isStartPos\n ? isHoriz\n ? styles.horiontalStart\n : styles[`verticalStart${isRtl ? 'Rtl' : 'Ltr'}`]\n : ''\n ])}\n style={{\n left: isHoriz && !isRtl ? percentage : undefined,\n right: isHoriz && isRtl ? percentage : undefined,\n bottom: isHoriz ? undefined : percentage,\n backgroundColor: getDvtThresholdColor(color)\n }}></div>\n );\n}\n\nconst styles = {\n base: cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-reference-object-line-color)',\n backgroundClip: 'padding-box',\n position: 'absolute',\n pointerEvents: 'none'\n }}`,\n verticalBorder: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)',\n borderStyle: 'solid',\n borderWidth: '0 0 1px 0'\n }}`,\n horizontalBorder: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)',\n borderStyle: 'solid',\n borderWidth: '0 1px 0 0'\n }}`,\n vertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)',\n height: '2px',\n translate: '0 1px'\n }}`,\n horizontal: cssProps`${{\n translate: '-1px 0',\n width: '2px',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)'\n }}`,\n horiontalStart: cssProps`${{\n bottom: '0%'\n }}`,\n verticalStartLtr: cssProps`${{\n right: '0%'\n }}`,\n verticalStartRtl: cssProps`${{\n left: '0%'\n }}`\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\nimport { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { DvtThresholdsColors, getDvtThresholdColor } from '../utils/UNSAFE_dvtCommonUtils';\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLDivElement>, 'class'>;\ntype ThresholdBarProps = IntrinsicProps & {\n color?: ColorProps['color'] | DvtThresholdsColors;\n length: string;\n orientation: 'horizontal' | 'vertical';\n};\n\nexport function ThresholdBar({ color, length, orientation, ...otherProps }: ThresholdBarProps) {\n const { direction } = useUser();\n const isHoriz = orientation === 'horizontal';\n const isRtl = direction === 'rtl';\n return (\n <div\n class={classNames([\n styles.base,\n isHoriz\n ? styles[`horizontalBarTrackSection${isRtl ? 'Rtl' : 'Ltr'}`]\n : styles['verticalBarTrackSection'],\n otherProps.class\n ])}\n style={{\n width: isHoriz ? length : '100%',\n height: isHoriz ? '100%' : length,\n backgroundColor: getDvtThresholdColor(color)\n }}></div>\n );\n}\n\nconst styles = {\n base: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)',\n borderStyle: 'solid',\n boxSizing: 'border-box',\n pointerEvents: 'none',\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-threshold-color)',\n backgroundClip: 'padding-box'\n }}`,\n verticalBarTrackSection: cssProps`${{\n borderWidth: '1px 0 0 0'\n }}`,\n horizontalBarTrackSectionRtl: cssProps`${{\n borderWidth: '0 0 0 1px'\n }}`,\n horizontalBarTrackSectionLtr: cssProps`${{\n borderWidth: '0 1px 0 0'\n }}`\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { sizeToCSS } from '../utils/UNSAFE_size';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { mergeProps } from '../utils/UNSAFE_mergeProps';\nimport { useEffect, useRef } from 'preact/hooks';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport {\n usePointerEvents,\n useKeyboardEvents,\n useMeterDatatip\n} from '../hooks/PRIVATE_useDvtMeterEvents';\n\nimport {\n getMeterAriaProps,\n validateRange,\n getTrackAndIndicatorColor\n} from '../utils/PRIVATE_meterUtils';\n\nimport { Threshold } from '../utils/UNSAFE_meterTypes';\nimport { BarTrack, BarValue } from '../PRIVATE_Meter';\nimport { getDimensions, getRefLinesInfo, getValue } from './MeterUtils';\nimport { ReferenceLineBar } from './ReferenceLines';\nimport { ThresholdBar } from './ThresholdBar';\nimport { MeterBarProps } from './MeterBar.types';\nimport { useTabbableMode } from '../hooks/UNSAFE_useTabbableMode';\n/**\n * A Meter bar displays information graphically in a rectangular bar, highlighting a specific metric value's progress in relation to its min, max, or thresholds.\n */\nexport function MeterBar({\n max = 100,\n min = 0,\n value = 0,\n step = 1,\n length = '100%',\n size = 'lg',\n orientation = 'horizontal',\n isTrackRendered = true,\n thresholdDisplay = 'all',\n indicatorSize = 1,\n ...props\n}: MeterBarProps) {\n validateRange(min, max, value, step);\n\n const isHoriz = orientation === 'horizontal';\n const barTrackRef = useRef<HTMLDivElement>(null);\n const dimensionsRef = useRef(getDimensions(null));\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n\n useEffect(() => {\n if (props.onCommit || props.onInput) {\n dimensionsRef.current = getDimensions(barTrackRef.current);\n }\n }, [size, length, orientation, props.onCommit, props.onInput]);\n\n const getValueFromEvent = (event: PointerEvent): number | undefined => {\n // only evaluate value from bar track\n if (event.target == barTrackRef.current) {\n return getValue(event, dimensionsRef, min, max, step, orientation, isRtl);\n }\n return;\n };\n\n const pointerEventsProps = usePointerEvents(\n value,\n getValueFromEvent,\n barTrackRef,\n props.onCommit,\n props.onInput\n );\n\n const keyboardEventsProps = useKeyboardEvents(\n value,\n min,\n max,\n step,\n props.onCommit,\n props.onInput\n );\n\n const { datatipContent, datatipProps } = useMeterDatatip(\n value,\n props.datatip,\n props.ariaDescribedBy\n );\n\n const ariaLabelProps = getMeterAriaProps(\n value,\n min,\n max,\n `${value}`,\n props.accessibleLabel,\n props.ariaLabelledBy,\n props.thresholds\n );\n const mergedProps = mergeProps(\n pointerEventsProps,\n keyboardEventsProps,\n datatipProps,\n ariaLabelProps\n );\n\n const validIndicatorSize = Math.max(0, Math.min(1, indicatorSize));\n const valueBarLength = `${((value - min) * 100) / (max - min)}%`;\n const valueBarSize = `${validIndicatorSize * 100}%`;\n const { trackColor, indicatorColor } = getTrackAndIndicatorColor(\n value,\n thresholdDisplay,\n props.trackColor,\n props.indicatorColor,\n props.thresholds\n );\n\n const sizeStyle = getRefLinesInfo(props.referenceLines);\n const isInteractive = props.onCommit || props.onInput;\n const { isTabbable } = useTabbableMode();\n return (\n <>\n <div\n tabIndex={!isTabbable ? -1 : 0}\n role=\"slider\"\n {...mergedProps}\n style={{\n width: isHoriz ? sizeToCSS(length) : undefined,\n height: isHoriz ? undefined : sizeToCSS(length)\n }}\n class={classNames([componentStyles.base, componentStyles[orientation]])}>\n <BarTrack\n ref={barTrackRef}\n orientation={orientation}\n color={\n !isTrackRendered || (thresholdDisplay === 'all' && props.thresholds)\n ? 'transparent'\n : trackColor\n }\n class={classNames([\n barTrackStyles.base,\n isInteractive ? componentStyles.interactive : '',\n isHoriz ? '' : barTrackStyles.vertical,\n isHoriz ? barTrackStyles[`${size}Horizontal`] : barTrackStyles[`${size}Vertical`],\n ...getMarginClass(sizeStyle, size, isHoriz)\n ])}>\n {thresholdDisplay === 'all' &&\n props.thresholds\n ?.filter((threshold: Threshold) => threshold.max > min && threshold.max <= max)\n .sort((a, b) => a.max - b.max)\n .map((threshold: Threshold, index, thresholds) => {\n const diff =\n index === 0 ? threshold.max - min : threshold.max - thresholds[index - 1].max;\n let trackSectionStyleClass =\n index === 0 ? trackSectionStyle[`${orientation}First`] : '';\n if (threshold.max === max)\n trackSectionStyleClass =\n index === 0\n ? trackSectionStyle['roundedCorners'] // Single threshold from min to max\n : trackSectionStyle[`${orientation}Last`];\n return (\n <>\n <ThresholdBar\n class={trackSectionStyleClass}\n orientation={orientation}\n length={`${(diff * 100) / (max - min)}%`}\n color={threshold.color}\n />\n {isTrackRendered && index === thresholds.length - 1 && threshold.max < max ? (\n <ThresholdBar\n class={trackSectionStyle[`${orientation}Last`]}\n color={trackColor}\n orientation={orientation}\n length={`${((max - thresholds[index].max) * 100) / (max - min)}%`}\n />\n ) : (\n ''\n )}\n </>\n );\n })}\n <BarValue\n length={valueBarLength}\n size={valueBarSize}\n orientation={orientation}\n class={classNames([barValueStyles.base, barValueStyles[orientation]])}\n color={indicatorColor}\n />\n {props.referenceLines?.map((item) => (\n <ReferenceLineBar\n color={item.color}\n orientation={orientation}\n percentage={`${((item.value - min) * 100) / (max - min)}%`}\n position={item.position}\n />\n ))}\n </BarTrack>\n </div>\n {datatipContent}\n </>\n );\n}\n\nconst getMarginClass = function (\n info: { start: boolean; end: boolean },\n size: 'sm' | 'md' | 'lg',\n isHoriz: boolean\n) {\n const className = [];\n if (info.start) {\n className.push(barTrackStyles[`${size}Margin${isHoriz ? 'Top' : 'Start'}`]);\n }\n\n if (info.end) {\n className.push(barTrackStyles[`${size}Margin${isHoriz ? 'Bottom' : 'End'}`]);\n }\n return className;\n};\n\nconst componentStyles = {\n base: cssProps`${{\n display: 'inline-flex',\n pointerEvents: 'none',\n '&:focus-visible': {\n outlineColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color)',\n outlineStyle: 'dotted',\n outlineWidth: '1px'\n }\n }}`,\n horizontal: cssProps`${{\n width: '100%'\n }}`,\n vertical: cssProps`${{\n height: '100%'\n }}`,\n interactive: cssProps`${{\n cursor: 'pointer',\n touchAction: 'none'\n }}`\n};\n\nconst barValueStyles = {\n base: cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-value-bg-color)',\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)',\n position: 'absolute',\n pointerEvents: 'none'\n }}`,\n vertical: cssProps`${{\n bottom: '0%',\n left: '50%',\n transform: 'translate(-50%, 0)'\n }}`,\n horizontal: cssProps`${{\n top: '50%',\n transform: 'translate(0, -50%)'\n }}`\n};\n\nconst barTrackStyles = {\n base: cssProps`${{\n position: 'relative',\n display: 'flex',\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-track-bg-color)',\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)',\n pointerEvents: 'auto'\n }}`,\n vertical: cssProps`${{\n flexDirection: 'column-reverse'\n }}`,\n smHorizontal: cssProps`${{\n width: '100%',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size)'\n }}`,\n smVertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size)',\n height: '100%'\n }}`,\n mdHorizontal: cssProps`${{\n width: '100%',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size)'\n }}`,\n mdVertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size)',\n height: '100%'\n }}`,\n lgHorizontal: cssProps`${{\n width: '100%',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size)'\n }}`,\n lgVertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size)',\n height: '100%'\n }}`,\n smMarginTop: cssProps`${{\n marginTop:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)- var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginTop: cssProps`${{\n marginTop:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginTop: cssProps`${{\n marginTop:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`,\n smMarginStart: cssProps`${{\n marginInlineStart:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginStart: cssProps`${{\n marginInlineStart:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginStart: cssProps`${{\n marginInlineStart:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`,\n smMarginEnd: cssProps`${{\n marginInlineEnd:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginEnd: cssProps`${{\n marginInlineEnd:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginEnd: cssProps`${{\n marginInlineEnd:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`,\n smMarginBottom: cssProps`${{\n marginBottom:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginBottom: cssProps`${{\n marginBottom:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginBottom: cssProps`${{\n marginBottom:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`\n};\n\nconst trackSectionStyle = {\n horizontalFirst: cssProps`${{\n borderRadius:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)'\n }}`,\n horizontalLast: cssProps`${{\n borderRadius:\n '0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0',\n borderWidth: '0'\n }}`,\n verticalFirst: cssProps`${{\n borderRadius:\n '0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)'\n }}`,\n verticalLast: cssProps`${{\n borderRadius:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0',\n borderWidth: '0'\n }}`,\n roundedCorners: cssProps`${{\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)'\n }}`\n};\n"],"names":["getDimensions","element","width","height","trackDims","getBoundingClientRect","ReferenceLineBar","orientation","percentage","color","position","isHoriz","direction","useUser","isRtl","isStartPos","_jsx","class","classNames","styles","base","left","undefined","backgroundColor","getDvtThresholdColor","ThresholdBar","_a","otherProps","getMarginClass","info","size","className","componentStyles","barValueStyles","barTrackStyles","trackSectionStyle","barTrackRef","useRef","props","onCommit","onInput","length","pointerEventsProps","usePointerEvents","value","event","target","current","dimensionsRef","min","max","step","dims","val","offsetX","offsetY","Math","round","getValue","datatipContent","datatipProps","useMeterDatatip","datatip","ariaDescribedBy","mergedProps","mergeProps","keyboardEventsProps","ariaLabelProps","validIndicatorSize","indicatorSize","valueBarLength","valueBarSize","lines","refLineInfo","start","end","reduce","acc","cur","isTabbable","useTabbableMode","sizeToCSS","children","_jsxs","jsxs","BarTrack","Object","assign","ref","isTrackRendered","thresholdDisplay","thresholds","trackColor","sizeStyle","diff","index","threshold","trackSectionStyleClass"],"mappings":"g5BA2DM,SAAUA,EAAcC,GAC5B,IAAKA,EACH,MAAO,CACLC,MAAO,EACPC,OAAQ,GAGZ,MAAMC,EAAYH,EAAQI,wBAE1B,MAAO,CACLH,MAAOE,EAAUF,MACjBC,OAAQC,EAAUD,QCjDtB,SAAAG,GAAAC,YAAAA,EAAAC,WAAAA,EAAAC,MAAAA,EAAAC,SAAAA,IACE,MAAAC,EAAA,eAAAJ,GACAK,UAAAA,GAAAC,EAAAA,UACAC,EAAA,QAAAF,EACAG,EAAA,UAAAL,EAEA,OAAAM,EAAAA,IAAA,MAAA,CAAAC,MAAAC,EAAAA,WAAA,CAGMC,EAAAC,KACAD,EAAA,GAAAZ,WACAY,EAAA,GAAAZ,OAEEI,mBAEEQ,EAAA,iBAAAL,EAAA,MAAA,QACF,YAGFO,KAAAV,IAAAG,EAAAN,OAAAc,wCAGAC,gBAAAC,EAAAA,qBAAAf,MAKR,MAAAU,EAAA,MAAA,wBAAA,4BAAA,kBAAA,qBAAA,0BAAA,4BAAA,qCC1BA,SAAAM,EAAAC,wFACE,MAAAd,UAAAA,GAAAC,EAAAA,UACAF,EAAA,eAAAJ,EACAO,EAAA,QAAAF,EACA,OAAAI,EAAAA,IAAA,MAAA,CAAAC,MAAAC,EAAAA,WAAA,CAGMC,EAAAC,OAEED,EAAA,6BAAAL,EAAA,MAAA,QACAK,EAAA,wBACFQ,EAAAV,kDAKAM,gBAAAC,EAAAA,qBAAAf,MAKR,MAAAU,EAAA,MAAA,kCAAA,wCAAA,mDCoKA,MAAAS,EAAA,SAAAC,EAAAC,EAAAnB,cAaE,4GAAAoB,GAGFC,EAAA,MAAA,sBAAA,oBAAA,mCAsBAC,EAAA,MAAA,kBAAA,8BAkBAC,EAAA,MAAA,oBAAA,sBAAA,sBAAA,wBAAA,sBAAA,wBAAA,sBAAA,sBAAA,qBAAA,sBAAA,yBAAA,uBAAA,uBAAA,uBAAA,qBAAA,uBAAA,wBAAA,0BAAA,oCAqFAC,EAAA,iBAAA,yBAAA,yBAAA,sBAAA,iDAxTA,SAAAT,kUAeE,MAAAf,EAAA,eAAAJ,EACA6B,EAAAC,SAAA,2BAEAzB,UAAAA,GAAAC,EAAAA,UACAC,EAAA,QAAAF,oBAGE0B,EAAAC,UAAAD,EAAAE,oCAGF,CAAAV,EAAAW,EAAAlC,EAAA+B,EAAAC,SAAAD,EAAAE,UAEA,MAQAE,EAAAC,mBAAAC,EARAC,IAEE,GAAAA,EAAAC,QAAAV,EAAAW,QACE,OHvCU,SACdF,EACAG,EACAC,EACAC,EACAC,EACA5C,EACAO,GAEA,MAAMsC,EAAOJ,EAAcD,QAC3B,IAAKK,GAAuB,IAAfA,EAAKlD,MAChB,OAGF,IAAImD,EAEJ,GAAoB,eAAhB9C,EAA8B,CAChC,MAAML,EAAQ2C,EAAMS,QACpBD,EAAMJ,GAAQC,EAAMD,IAAQnC,EAAQsC,EAAKlD,MAAQA,EAAQA,GAAUkD,EAAKlD,WAGxEmD,EAAMJ,GAAQC,EAAMD,IADLG,EAAKjD,OAAS0C,EAAMU,SACEH,EAAKjD,OAG5C,OADAkD,EAAMG,KAAKC,MAAMJ,EAAMF,GAAQA,EACxBK,KAAKN,IAAID,EAAKO,KAAKP,IAAIC,EAAKG,IGe/BK,CAAAb,EAAAG,EAAAC,EAAAC,EAAAC,EAAA5C,EAAAO,IAKJsB,EAAAE,EAAAC,SAAAD,EAAAE,8DAiBAmB,eAAAA,EAAAC,aAAAA,GAAAC,EAAAA,gBAAAjB,EAAAN,EAAAwB,QAAAxB,EAAAyB,qGAeAC,EAAAC,EAAAA,WAAAvB,EAAAwB,EAAAN,EAAAO,GAOAC,EAAAZ,KAAAN,IAAA,EAAAM,KAAAP,IAAA,EAAAoB,IACAC,EAAA,KAAA1B,EAAAK,IAAAC,EAAAD,GAAA,IACAsB,EAAA,IAAAH,EAAA,kHHjCI,SAA0BI,GAC9B,IAAIC,EAAc,CAAEC,OAAO,EAAOC,KAAK,GAQvC,OAPIH,IACFC,EAAcD,EAAMI,OAAO,CAACC,EAAKC,KAC/BD,EAAIH,MAAQG,EAAIH,OAA0B,UAAjBI,EAAIpE,SAC7BmE,EAAIF,IAAME,EAAIF,KAAwB,QAAjBG,EAAIpE,UAAsC,MAAhBoE,EAAIpE,SAC5CmE,GACNJ,IAEEA,8CGmCPM,WAAAA,GAAAC,EAAAA,0HAQQ9E,MAAAS,EAAAsE,YAAAxC,QAAAnB,EACAnB,OAAAQ,OAAAW,EAAA2D,EAAAA,UAAAxC,IACDxB,MAAAC,EAAAA,WAAA,CAAAc,EAAAZ,KAAAY,EAAAzB,MAAA,CAAA2E,SAAAC,EAAAC,KAAAC,WAAAC,OAAAC,OAAA,CAAAC,IAAApD,EAAA7B,YAAAA,EAAAE,OAAAgF,GAAA,QAAAC,GAAApD,EAAAqD,WAOK,cACAC,EAAA3E,MAAAC,EAAAA,WAAA,CAGFgB,EAAAd,wCAGAT,EAAAuB,EAAA,GAAAJ,eAAAI,EAAA,GAAAJ,gBACAF,EAAAiE,EAAA/D,EAAAnB,8IAOI,MAAAmF,EAAA,IAAAC,EAAAC,EAAA9C,IAAAD,EAAA+C,EAAA9C,IAAAyC,EAAAI,EAAA,GAAA7C,IAEA,IAAA+C,EAAA,IAAAF,EAAA5D,EAAA,GAAA5B,UAAA,UAEAyF,EAAA9C,MAAAA,MAEI,IAAA6C,EACE5D,EAAA,eACAA,EAAA,GAAA5B"}
|
|
1
|
+
{"version":3,"file":"UNSAFE_MeterBar.js","sources":["../../src/UNSAFE_MeterBar/MeterUtils.ts","../../src/UNSAFE_MeterBar/ReferenceLines.tsx","../../src/UNSAFE_MeterBar/ThresholdBar.tsx","../../src/UNSAFE_MeterBar/MeterBar.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport type { Ref } from 'preact/hooks';\nimport { ReferenceLine } from '../utils/UNSAFE_meterTypes';\n\ntype Dimensions = {\n width: number;\n height: number;\n};\n\n/**\n * Returns the metric value of the clicked point.\n * @param event The PointerEvent\n * @param dimensionsRef Ref to stored dimensions of the meter bar.\n * @param min The minimum value of the meter bar.\n * @param max The maximum value of the meter bar.\n * @param step The step value of the meter bar.\n * @param orientation The orientation of the meter bar.\n * @param isRtl Whether the reading mode is 'rtl'\n * @returns The metric value of the clicked point.\n */\nexport function getValue(\n event: PointerEvent,\n dimensionsRef: Ref<Dimensions>,\n min: number,\n max: number,\n step: number,\n orientation?: 'horizontal' | 'vertical',\n isRtl?: boolean\n): number | undefined {\n const dims = dimensionsRef.current;\n if (!dims || dims.width === 0) {\n return undefined;\n }\n\n let val;\n\n if (orientation === 'horizontal') {\n const width = event.offsetX;\n val = min + ((max - min) * (isRtl ? dims.width - width : width)) / dims.width;\n } else {\n const height = dims.height - event.offsetY;\n val = min + ((max - min) * height) / dims.height;\n }\n val = Math.round(val / step) * step;\n return Math.max(min, Math.min(max, val));\n}\n\n/**\n * Returns the true dimension of the meter bar after first render. All dimensions are 0 for initial render.\n * @param element The meter bar track HTML element\n * @returns The dimension of the meter bar.\n */\nexport function getDimensions(element: HTMLElement | null): Dimensions {\n if (!element) {\n return {\n width: 0,\n height: 0\n };\n }\n const trackDims = element.getBoundingClientRect();\n\n return {\n width: trackDims.width,\n height: trackDims.height\n };\n}\n\n/**\n * Returns object with 'start' and 'end' keys. Value for each key will be true if at least one ref line with correposnding position is present in meter bar.\n * @param lines The array of reference lines.\n * @returns Returns object with start and end keys.\n */\nexport function getRefLinesInfo(lines?: ReferenceLine[]): { start: boolean; end: boolean } {\n let refLineInfo = { start: false, end: false };\n if (lines) {\n refLineInfo = lines.reduce((acc, cur) => {\n acc.start = acc.start || cur.position === 'start';\n acc.end = acc.end || cur.position === 'end' || cur.position == null;\n return acc;\n }, refLineInfo);\n }\n return refLineInfo;\n}\n\n/**\n * Returns the total component size taking into account the presence or absence of\n * reference line in either or both side of reference bar. This method assumes that reference line\n * is always larger than the track size.\n * @param refLineInfo Object sepecifying if ref lines with start, end or both position are present.\n * @param size The size of the meter bar.\n * @returns {string}\n */\nexport function getComponentSize(\n refLineInfo: { start: boolean; end: boolean },\n size: 'sm' | 'md' | 'lg'\n) {\n const barTrackSize = `var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-${size}-size)`;\n const refLineSize = 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-refline-size)';\n if (refLineInfo.start && refLineInfo.end) {\n return `calc((2 * ${refLineSize}) - ${barTrackSize})`;\n }\n if (refLineInfo.start || refLineInfo.end) {\n return refLineSize;\n }\n return barTrackSize;\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { DvtThresholdsColors, getDvtThresholdColor } from '../utils/UNSAFE_dvtCommonUtils';\n\ntype ReferenceLineProps = {\n orientation: 'horizontal' | 'vertical';\n percentage: string;\n position?: 'start' | 'end';\n color?: ColorProps['color'] | DvtThresholdsColors;\n};\n\nexport function ReferenceLineBar({ orientation, percentage, color, position }: ReferenceLineProps) {\n const isHoriz = orientation === 'horizontal';\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n const isStartPos = position === 'start';\n\n return (\n <div\n class={classNames([\n styles.base,\n styles[`${orientation}Border`],\n styles[`${orientation}`],\n isStartPos\n ? isHoriz\n ? styles.horiontalStart\n : styles[`verticalStart${isRtl ? 'Rtl' : 'Ltr'}`]\n : ''\n ])}\n style={{\n left: isHoriz && !isRtl ? percentage : undefined,\n right: isHoriz && isRtl ? percentage : undefined,\n bottom: isHoriz ? undefined : percentage,\n backgroundColor: getDvtThresholdColor(color)\n }}></div>\n );\n}\n\nconst styles = {\n base: cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-reference-object-line-color)',\n backgroundClip: 'padding-box',\n position: 'absolute',\n pointerEvents: 'none'\n }}`,\n verticalBorder: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)',\n borderStyle: 'solid',\n borderWidth: '0 0 1px 0'\n }}`,\n horizontalBorder: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)',\n borderStyle: 'solid',\n borderWidth: '0 1px 0 0'\n }}`,\n vertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)',\n height: '2px',\n translate: '0 1px'\n }}`,\n horizontal: cssProps`${{\n translate: '-1px 0',\n width: '2px',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)'\n }}`,\n horiontalStart: cssProps`${{\n bottom: '0%'\n }}`,\n verticalStartLtr: cssProps`${{\n right: '0%'\n }}`,\n verticalStartRtl: cssProps`${{\n left: '0%'\n }}`\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\nimport { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { DvtThresholdsColors, getDvtThresholdColor } from '../utils/UNSAFE_dvtCommonUtils';\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLDivElement>, 'class'>;\ntype ThresholdBarProps = IntrinsicProps & {\n color?: ColorProps['color'] | DvtThresholdsColors;\n length: string;\n orientation: 'horizontal' | 'vertical';\n};\n\nexport function ThresholdBar({ color, length, orientation, ...otherProps }: ThresholdBarProps) {\n const { direction } = useUser();\n const isHoriz = orientation === 'horizontal';\n const isRtl = direction === 'rtl';\n return (\n <div\n class={classNames([\n styles.base,\n isHoriz\n ? styles[`horizontalBarTrackSection${isRtl ? 'Rtl' : 'Ltr'}`]\n : styles['verticalBarTrackSection'],\n otherProps.class\n ])}\n style={{\n width: isHoriz ? length : '100%',\n height: isHoriz ? '100%' : length,\n backgroundColor: getDvtThresholdColor(color)\n }}></div>\n );\n}\n\nconst styles = {\n base: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)',\n borderStyle: 'solid',\n boxSizing: 'border-box',\n pointerEvents: 'none',\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-threshold-color)',\n backgroundClip: 'padding-box'\n }}`,\n verticalBarTrackSection: cssProps`${{\n borderWidth: '1px 0 0 0'\n }}`,\n horizontalBarTrackSectionRtl: cssProps`${{\n borderWidth: '0 0 0 1px'\n }}`,\n horizontalBarTrackSectionLtr: cssProps`${{\n borderWidth: '0 1px 0 0'\n }}`\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { sizeToCSS } from '../utils/UNSAFE_size';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { mergeProps } from '../utils/UNSAFE_mergeProps';\nimport { useEffect, useRef } from 'preact/hooks';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport {\n usePointerEvents,\n useKeyboardEvents,\n useMeterDatatip\n} from '../hooks/PRIVATE_useDvtMeterEvents';\n\nimport {\n getMeterAriaProps,\n validateRange,\n getTrackAndIndicatorColor\n} from '../utils/PRIVATE_meterUtils';\n\nimport { Threshold } from '../utils/UNSAFE_meterTypes';\nimport { BarTrack, BarValue } from '../PRIVATE_Meter';\nimport { getDimensions, getRefLinesInfo, getValue } from './MeterUtils';\nimport { ReferenceLineBar } from './ReferenceLines';\nimport { ThresholdBar } from './ThresholdBar';\nimport { MeterBarProps } from './MeterBar.types';\nimport { useTabbableMode } from '../hooks/UNSAFE_useTabbableMode';\n/**\n * A Meter bar displays information graphically in a rectangular bar, highlighting a specific metric value's progress in relation to its min, max, or thresholds.\n */\nexport function MeterBar({\n max = 100,\n min = 0,\n value = 0,\n step = 1,\n length = '100%',\n size = 'lg',\n orientation = 'horizontal',\n isTrackRendered = true,\n thresholdDisplay = 'all',\n indicatorSize = 1,\n ...props\n}: MeterBarProps) {\n validateRange(min, max, value, step);\n\n const isHoriz = orientation === 'horizontal';\n const barTrackRef = useRef<HTMLDivElement>(null);\n const dimensionsRef = useRef(getDimensions(null));\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n\n useEffect(() => {\n if (props.onCommit || props.onInput) {\n dimensionsRef.current = getDimensions(barTrackRef.current);\n }\n }, [size, length, orientation, props.onCommit, props.onInput]);\n\n const getValueFromEvent = (event: PointerEvent): number | undefined => {\n // only evaluate value from bar track\n if (event.target == barTrackRef.current) {\n return getValue(event, dimensionsRef, min, max, step, orientation, isRtl);\n }\n return;\n };\n\n const pointerEventsProps = usePointerEvents(\n value,\n getValueFromEvent,\n barTrackRef,\n props.onCommit,\n props.onInput\n );\n\n const keyboardEventsProps = useKeyboardEvents(\n value,\n min,\n max,\n step,\n props.onCommit,\n props.onInput\n );\n\n const { datatipContent, datatipProps } = useMeterDatatip(\n value,\n props.datatip,\n props.ariaDescribedBy\n );\n\n const ariaLabelProps = getMeterAriaProps(\n value,\n min,\n max,\n `${value}`,\n props.accessibleLabel,\n props.ariaLabelledBy,\n props.thresholds\n );\n const mergedProps = mergeProps(\n pointerEventsProps,\n keyboardEventsProps,\n datatipProps,\n ariaLabelProps\n );\n\n const validIndicatorSize = Math.max(0, Math.min(1, indicatorSize));\n const valueBarLength = `${((value - min) * 100) / (max - min)}%`;\n const valueBarSize = `${validIndicatorSize * 100}%`;\n const { trackColor, indicatorColor } = getTrackAndIndicatorColor(\n value,\n thresholdDisplay,\n props.trackColor,\n props.indicatorColor,\n props.thresholds\n );\n\n const sizeStyle = getRefLinesInfo(props.referenceLines);\n const isInteractive = props.onCommit || props.onInput;\n const { isTabbable } = useTabbableMode();\n return (\n <>\n <div\n tabIndex={!isTabbable ? -1 : 0}\n role=\"slider\"\n {...mergedProps}\n style={{\n width: isHoriz ? sizeToCSS(length) : undefined,\n height: isHoriz ? undefined : sizeToCSS(length)\n }}\n class={classNames([componentStyles.base, componentStyles[orientation]])}>\n <BarTrack\n ref={barTrackRef}\n orientation={orientation}\n color={\n !isTrackRendered || (thresholdDisplay === 'all' && props.thresholds)\n ? 'transparent'\n : trackColor\n }\n class={classNames([\n barTrackStyles.base,\n isInteractive ? componentStyles.interactive : '',\n isHoriz ? '' : barTrackStyles.vertical,\n isHoriz ? barTrackStyles[`${size}Horizontal`] : barTrackStyles[`${size}Vertical`],\n ...getMarginClass(sizeStyle, size, isHoriz)\n ])}>\n {thresholdDisplay === 'all' &&\n props.thresholds\n ?.filter((threshold: Threshold) => threshold.max > min && threshold.max <= max)\n .sort((a, b) => a.max - b.max)\n .map((threshold: Threshold, index, thresholds) => {\n const diff =\n index === 0 ? threshold.max - min : threshold.max - thresholds[index - 1].max;\n let trackSectionStyleClass =\n index === 0 ? trackSectionStyle[`${orientation}First`] : '';\n if (threshold.max === max)\n trackSectionStyleClass =\n index === 0\n ? trackSectionStyle['roundedCorners'] // Single threshold from min to max\n : trackSectionStyle[`${orientation}Last`];\n return (\n <>\n <ThresholdBar\n class={trackSectionStyleClass}\n orientation={orientation}\n length={`${(diff * 100) / (max - min)}%`}\n color={threshold.color}\n />\n {isTrackRendered && index === thresholds.length - 1 && threshold.max < max ? (\n <ThresholdBar\n class={trackSectionStyle[`${orientation}Last`]}\n color={trackColor}\n orientation={orientation}\n length={`${((max - thresholds[index].max) * 100) / (max - min)}%`}\n />\n ) : (\n ''\n )}\n </>\n );\n })}\n <BarValue\n length={valueBarLength}\n size={valueBarSize}\n orientation={orientation}\n class={classNames([barValueStyles.base, barValueStyles[orientation]])}\n color={indicatorColor}\n />\n {props.referenceLines?.map((item) => (\n <ReferenceLineBar\n color={item.color}\n orientation={orientation}\n percentage={`${((item.value - min) * 100) / (max - min)}%`}\n position={item.position}\n />\n ))}\n </BarTrack>\n </div>\n {datatipContent}\n </>\n );\n}\n\nconst getMarginClass = function (\n info: { start: boolean; end: boolean },\n size: 'sm' | 'md' | 'lg',\n isHoriz: boolean\n) {\n const className = [];\n if (info.start) {\n className.push(barTrackStyles[`${size}Margin${isHoriz ? 'Top' : 'Start'}`]);\n }\n\n if (info.end) {\n className.push(barTrackStyles[`${size}Margin${isHoriz ? 'Bottom' : 'End'}`]);\n }\n return className;\n};\n\nconst componentStyles = {\n base: cssProps`${{\n display: 'inline-flex',\n pointerEvents: 'none',\n '&:focus-visible': {\n outlineColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color)',\n outlineStyle: 'dotted',\n outlineWidth: '1px'\n }\n }}`,\n horizontal: cssProps`${{\n width: '100%'\n }}`,\n vertical: cssProps`${{\n height: '100%'\n }}`,\n interactive: cssProps`${{\n cursor: 'pointer',\n touchAction: 'none'\n }}`\n};\n\nconst barValueStyles = {\n base: cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-value-bg-color)',\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)',\n position: 'absolute',\n pointerEvents: 'none'\n }}`,\n vertical: cssProps`${{\n bottom: '0%',\n left: '50%',\n transform: 'translate(-50%, 0)'\n }}`,\n horizontal: cssProps`${{\n top: '50%',\n transform: 'translate(0, -50%)'\n }}`\n};\n\nconst barTrackStyles = {\n base: cssProps`${{\n position: 'relative',\n display: 'flex',\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-track-bg-color)',\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)',\n pointerEvents: 'auto'\n }}`,\n vertical: cssProps`${{\n flexDirection: 'column-reverse'\n }}`,\n smHorizontal: cssProps`${{\n width: '100%',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size)'\n }}`,\n smVertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size)',\n height: '100%'\n }}`,\n mdHorizontal: cssProps`${{\n width: '100%',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size)'\n }}`,\n mdVertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size)',\n height: '100%'\n }}`,\n lgHorizontal: cssProps`${{\n width: '100%',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size)'\n }}`,\n lgVertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size)',\n height: '100%'\n }}`,\n smMarginTop: cssProps`${{\n marginTop:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)- var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginTop: cssProps`${{\n marginTop:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginTop: cssProps`${{\n marginTop:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`,\n smMarginStart: cssProps`${{\n marginInlineStart:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginStart: cssProps`${{\n marginInlineStart:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginStart: cssProps`${{\n marginInlineStart:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`,\n smMarginEnd: cssProps`${{\n marginInlineEnd:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginEnd: cssProps`${{\n marginInlineEnd:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginEnd: cssProps`${{\n marginInlineEnd:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`,\n smMarginBottom: cssProps`${{\n marginBottom:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginBottom: cssProps`${{\n marginBottom:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginBottom: cssProps`${{\n marginBottom:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`\n};\n\nconst trackSectionStyle = {\n horizontalFirst: cssProps`${{\n borderRadius:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)'\n }}`,\n horizontalLast: cssProps`${{\n borderRadius:\n '0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0',\n borderWidth: '0'\n }}`,\n verticalFirst: cssProps`${{\n borderRadius:\n '0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)'\n }}`,\n verticalLast: cssProps`${{\n borderRadius:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0',\n borderWidth: '0'\n }}`,\n roundedCorners: cssProps`${{\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)'\n }}`\n};\n"],"names":["getDimensions","element","width","height","trackDims","getBoundingClientRect","ReferenceLineBar","orientation","percentage","color","position","isHoriz","direction","useUser","isRtl","isStartPos","_jsx","class","classNames","styles","base","left","undefined","backgroundColor","getDvtThresholdColor","ThresholdBar","_a","otherProps","getMarginClass","info","size","className","componentStyles","barValueStyles","barTrackStyles","trackSectionStyle","barTrackRef","useRef","props","onCommit","onInput","length","pointerEventsProps","usePointerEvents","value","event","target","current","dimensionsRef","min","max","step","dims","val","offsetX","offsetY","Math","round","getValue","datatipContent","datatipProps","useMeterDatatip","datatip","ariaDescribedBy","mergedProps","mergeProps","keyboardEventsProps","ariaLabelProps","validIndicatorSize","indicatorSize","valueBarLength","valueBarSize","lines","refLineInfo","start","end","reduce","acc","cur","isTabbable","useTabbableMode","sizeToCSS","children","_jsxs","jsxs","BarTrack","Object","assign","ref","isTrackRendered","thresholdDisplay","thresholds","trackColor","sizeStyle","diff","index","threshold","trackSectionStyleClass"],"mappings":"g5BA2DM,SAAUA,EAAcC,GAC5B,IAAKA,EACH,MAAO,CACLC,MAAO,EACPC,OAAQ,GAGZ,MAAMC,EAAYH,EAAQI,wBAE1B,MAAO,CACLH,MAAOE,EAAUF,MACjBC,OAAQC,EAAUD,QCjDtB,SAAAG,GAAAC,YAAAA,EAAAC,WAAAA,EAAAC,MAAAA,EAAAC,SAAAA,IACE,MAAAC,EAAA,eAAAJ,GACAK,UAAAA,GAAAC,EAAAA,UACAC,EAAA,QAAAF,EACAG,EAAA,UAAAL,EAEA,OAAAM,EAAAA,IAAA,MAAA,CAAAC,MAAAC,EAAAA,WAAA,CAGMC,EAAAC,KACAD,EAAA,GAAAZ,WACAY,EAAA,GAAAZ,OAEEI,mBAEEQ,EAAA,iBAAAL,EAAA,MAAA,QACF,YAGFO,KAAAV,IAAAG,EAAAN,OAAAc,wCAGAC,gBAAAC,EAAAA,qBAAAf,MAKR,MAAAU,EAAA,MAAA,wBAAA,4BAAA,oBAAA,qBAAA,wBAAA,4BAAA,wCC1BA,SAAAM,EAAAC,wFACE,MAAAd,UAAAA,GAAAC,EAAAA,UACAF,EAAA,eAAAJ,EACAO,EAAA,QAAAF,EACA,OAAAI,EAAAA,IAAA,MAAA,CAAAC,MAAAC,EAAAA,WAAA,CAGMC,EAAAC,OAEED,EAAA,6BAAAL,EAAA,MAAA,QACAK,EAAA,wBACFQ,EAAAV,kDAKAM,gBAAAC,EAAAA,qBAAAf,MAKR,MAAAU,EAAA,MAAA,iCAAA,wCAAA,kDCoKA,MAAAS,EAAA,SAAAC,EAAAC,EAAAnB,cAaE,4GAAAoB,GAGFC,EAAA,MAAA,oBAAA,kBAAA,iCAsBAC,EAAA,MAAA,oBAAA,gCAkBAC,EAAA,MAAA,kBAAA,uBAAA,oBAAA,wBAAA,sBAAA,wBAAA,oBAAA,qBAAA,uBAAA,uBAAA,uBAAA,yBAAA,yBAAA,uBAAA,uBAAA,qBAAA,0BAAA,0BAAA,mCAqFAC,EAAA,iBAAA,wBAAA,uBAAA,wBAAA,gDAxTA,SAAAT,kUAeE,MAAAf,EAAA,eAAAJ,EACA6B,EAAAC,SAAA,2BAEAzB,UAAAA,GAAAC,EAAAA,UACAC,EAAA,QAAAF,oBAGE0B,EAAAC,UAAAD,EAAAE,oCAGF,CAAAV,EAAAW,EAAAlC,EAAA+B,EAAAC,SAAAD,EAAAE,UAEA,MAQAE,EAAAC,mBAAAC,EARAC,IAEE,GAAAA,EAAAC,QAAAV,EAAAW,QACE,OHvCU,SACdF,EACAG,EACAC,EACAC,EACAC,EACA5C,EACAO,GAEA,MAAMsC,EAAOJ,EAAcD,QAC3B,IAAKK,GAAuB,IAAfA,EAAKlD,MAChB,OAGF,IAAImD,EAEJ,GAAoB,eAAhB9C,EAA8B,CAChC,MAAML,EAAQ2C,EAAMS,QACpBD,EAAMJ,GAAQC,EAAMD,IAAQnC,EAAQsC,EAAKlD,MAAQA,EAAQA,GAAUkD,EAAKlD,WAGxEmD,EAAMJ,GAAQC,EAAMD,IADLG,EAAKjD,OAAS0C,EAAMU,SACEH,EAAKjD,OAG5C,OADAkD,EAAMG,KAAKC,MAAMJ,EAAMF,GAAQA,EACxBK,KAAKN,IAAID,EAAKO,KAAKP,IAAIC,EAAKG,IGe/BK,CAAAb,EAAAG,EAAAC,EAAAC,EAAAC,EAAA5C,EAAAO,IAKJsB,EAAAE,EAAAC,SAAAD,EAAAE,8DAiBAmB,eAAAA,EAAAC,aAAAA,GAAAC,EAAAA,gBAAAjB,EAAAN,EAAAwB,QAAAxB,EAAAyB,qGAeAC,EAAAC,EAAAA,WAAAvB,EAAAwB,EAAAN,EAAAO,GAOAC,EAAAZ,KAAAN,IAAA,EAAAM,KAAAP,IAAA,EAAAoB,IACAC,EAAA,KAAA1B,EAAAK,IAAAC,EAAAD,GAAA,IACAsB,EAAA,IAAAH,EAAA,kHHjCI,SAA0BI,GAC9B,IAAIC,EAAc,CAAEC,OAAO,EAAOC,KAAK,GAQvC,OAPIH,IACFC,EAAcD,EAAMI,OAAO,CAACC,EAAKC,KAC/BD,EAAIH,MAAQG,EAAIH,OAA0B,UAAjBI,EAAIpE,SAC7BmE,EAAIF,IAAME,EAAIF,KAAwB,QAAjBG,EAAIpE,UAAsC,MAAhBoE,EAAIpE,SAC5CmE,GACNJ,IAEEA,8CGmCPM,WAAAA,GAAAC,EAAAA,0HAQQ9E,MAAAS,EAAAsE,YAAAxC,QAAAnB,EACAnB,OAAAQ,OAAAW,EAAA2D,EAAAA,UAAAxC,IACDxB,MAAAC,EAAAA,WAAA,CAAAc,EAAAZ,KAAAY,EAAAzB,MAAA,CAAA2E,SAAAC,EAAAC,KAAAC,WAAAC,OAAAC,OAAA,CAAAC,IAAApD,EAAA7B,YAAAA,EAAAE,OAAAgF,GAAA,QAAAC,GAAApD,EAAAqD,WAOK,cACAC,EAAA3E,MAAAC,EAAAA,WAAA,CAGFgB,EAAAd,wCAGAT,EAAAuB,EAAA,GAAAJ,eAAAI,EAAA,GAAAJ,gBACAF,EAAAiE,EAAA/D,EAAAnB,8IAOI,MAAAmF,EAAA,IAAAC,EAAAC,EAAA9C,IAAAD,EAAA+C,EAAA9C,IAAAyC,EAAAI,EAAA,GAAA7C,IAEA,IAAA+C,EAAA,IAAAF,EAAA5D,EAAA,GAAA5B,UAAA,UAEAyF,EAAA9C,MAAAA,MAEI,IAAA6C,EACE5D,EAAA,eACAA,EAAA,GAAA5B"}
|