@oracle/oraclejet-preact 14.0.6 → 14.1.0
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-88ec6d78.js +2 -0
- package/amd/Badge-88ec6d78.js.map +1 -0
- package/amd/BaseButton-1b45961f.js +2 -0
- package/amd/BaseButton-1b45961f.js.map +1 -0
- package/amd/Button-47193722.js +2 -0
- package/amd/Button-47193722.js.map +1 -0
- package/amd/Chip-6f1d81ad.js +2 -0
- package/amd/Chip-6f1d81ad.js.map +1 -0
- package/amd/ClearIcon-09f9e74a.js +2 -0
- package/amd/ClearIcon-09f9e74a.js.map +1 -0
- package/amd/Collection-65387b39.js +2 -0
- package/amd/Collection-65387b39.js.map +1 -0
- package/amd/ComponentMessage-f2269c89.js +2 -0
- package/amd/ComponentMessage-f2269c89.js.map +1 -0
- package/amd/ComponentMessageContainer-c5cc5051.js +2 -0
- package/amd/ComponentMessageContainer-c5cc5051.js.map +1 -0
- package/amd/Divider-9022fb71.js +2 -0
- package/amd/Divider-9022fb71.js.map +1 -0
- package/amd/FilePicker-d0dee8c9.js +2 -0
- package/amd/FilePicker-d0dee8c9.js.map +1 -0
- package/amd/Flex-b68a7b84.js +2 -0
- package/amd/Flex-b68a7b84.js.map +1 -0
- package/amd/Floating-2dad3061.js +2 -0
- package/amd/Floating-2dad3061.js.map +1 -0
- package/amd/FocusTrap-d4cc44b1.js +2 -0
- package/amd/FocusTrap-d4cc44b1.js.map +1 -0
- package/amd/FormControlUtils-e845e376.js +2 -0
- package/amd/FormControlUtils-e845e376.js.map +1 -0
- package/amd/Heading-e68d46c0.js +2 -0
- package/amd/Heading-e68d46c0.js.map +1 -0
- package/amd/HiddenAccessible-30baa563.js +2 -0
- package/amd/HiddenAccessible-30baa563.js.map +1 -0
- package/amd/HighlightText-3fd0a6f3.js +2 -0
- package/amd/HighlightText-3fd0a6f3.js.map +1 -0
- package/amd/Icon-497347c9.js +2 -0
- package/amd/Icon-497347c9.js.map +1 -0
- package/amd/Indexer-52175b51.js +2 -0
- package/amd/Indexer-52175b51.js.map +1 -0
- package/amd/InlineHelpSource-0ea4f6bc.js +2 -0
- package/amd/InlineHelpSource-0ea4f6bc.js.map +1 -0
- package/amd/Link-eadb69b7.js +2 -0
- package/amd/Link-eadb69b7.js.map +1 -0
- package/amd/List-2e90b0fb.js +2 -0
- package/amd/List-2e90b0fb.js.map +1 -0
- package/amd/ListItemTextLayout-aa3436ba.js +2 -0
- package/amd/ListItemTextLayout-aa3436ba.js.map +1 -0
- package/amd/ListView-2fee09c4.js +2 -0
- package/amd/ListView-2fee09c4.js.map +1 -0
- package/amd/LoadMoreCollection-afedb694.js +2 -0
- package/amd/LoadMoreCollection-afedb694.js.map +1 -0
- package/amd/Menu-cb21d7c2.js +2 -0
- package/amd/Menu-cb21d7c2.js.map +1 -0
- package/amd/MenuDivider-54a56f1e.js +2 -0
- package/amd/MenuDivider-54a56f1e.js.map +1 -0
- package/amd/MenuItem-cedf713b.js +2 -0
- package/amd/MenuItem-cedf713b.js.map +1 -0
- package/amd/Message.types-fe0cd4a5.js +2 -0
- package/amd/Message.types-fe0cd4a5.js.map +1 -0
- package/amd/MessageCloseButton-2fee9efb.js +2 -0
- package/amd/MessageCloseButton-2fee9efb.js.map +1 -0
- package/amd/MessageDetail-a6955705.js +2 -0
- package/amd/MessageDetail-a6955705.js.map +1 -0
- package/amd/MessageFormattingUtils-9c94aad3.js +2 -0
- package/amd/MessageFormattingUtils-9c94aad3.js.map +1 -0
- package/amd/MessageLayer-b8983fee.js +2 -0
- package/amd/MessageLayer-b8983fee.js.map +1 -0
- package/amd/MessageStartIcon-843ab57e.js +2 -0
- package/amd/MessageStartIcon-843ab57e.js.map +1 -0
- package/amd/MessageSummary-29641f35.js +2 -0
- package/amd/MessageSummary-29641f35.js.map +1 -0
- package/amd/MessageTimestamp-59128dbb.js +2 -0
- package/amd/MessageTimestamp-59128dbb.js.map +1 -0
- package/amd/MessageToast-207fe6fe.js +2 -0
- package/amd/MessageToast-207fe6fe.js.map +1 -0
- package/amd/MessageUtils-ba76366b.js +2 -0
- package/amd/MessageUtils-ba76366b.js.map +1 -0
- package/amd/MessagesManager-762835da.js +2 -0
- package/amd/MessagesManager-762835da.js.map +1 -0
- package/amd/MeterCircle-4d38a593.js +2 -0
- package/amd/MeterCircle-4d38a593.js.map +1 -0
- package/amd/Modal-e0d979a7.js +2 -0
- package/amd/Modal-e0d979a7.js.map +1 -0
- package/amd/NumberInputText-e2f324e5.js +2 -0
- package/amd/NumberInputText-e2f324e5.js.map +1 -0
- package/amd/PRIVATE_Collection/__tests__/Collection.spec.js +2 -0
- package/amd/PRIVATE_Collection/__tests__/Collection.spec.js.map +1 -0
- package/amd/PRIVATE_Collection.js +1 -1
- package/amd/PRIVATE_List/__tests__/List.spec.js +2 -0
- package/amd/PRIVATE_List/__tests__/List.spec.js.map +1 -0
- package/amd/PRIVATE_List.css +15 -15
- package/amd/PRIVATE_List.js +1 -1
- package/amd/PRIVATE_Message/__tests__/MessageCloseButton.spec.js +2 -0
- package/amd/PRIVATE_Message/__tests__/MessageCloseButton.spec.js.map +1 -0
- package/amd/PRIVATE_Message/__tests__/MessageDetail.spec.js +2 -0
- package/amd/PRIVATE_Message/__tests__/MessageDetail.spec.js.map +1 -0
- package/amd/PRIVATE_Message/__tests__/MessageFormattingUtils.spec.js +2 -0
- package/amd/PRIVATE_Message/__tests__/MessageFormattingUtils.spec.js.map +1 -0
- package/amd/PRIVATE_Message/__tests__/MessageStartIcon.spec.js +2 -0
- package/amd/PRIVATE_Message/__tests__/MessageStartIcon.spec.js.map +1 -0
- package/amd/PRIVATE_Message/__tests__/MessageSummary.spec.js +2 -0
- package/amd/PRIVATE_Message/__tests__/MessageSummary.spec.js.map +1 -0
- package/amd/PRIVATE_Message/__tests__/MessageTimestamp.spec.js +2 -0
- package/amd/PRIVATE_Message/__tests__/MessageTimestamp.spec.js.map +1 -0
- package/amd/PRIVATE_Message/__tests__/MessageUtils.spec.js +2 -0
- package/amd/PRIVATE_Message/__tests__/MessageUtils.spec.js.map +1 -0
- package/amd/PRIVATE_Message/__tests__/MessagesManager.spec.js +2 -0
- package/amd/PRIVATE_Message/__tests__/MessagesManager.spec.js.map +1 -0
- 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 +2 -0
- package/amd/PRIVATE_MessageLayer/__tests__/MessageLayer.spec.js.map +1 -0
- 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 +2 -0
- package/amd/PRIVATE_VirtualizedCollection/__tests__/VirtualizedCollection.spec.js.map +1 -0
- package/amd/PRIVATE_VirtualizedCollection.js +1 -1
- package/amd/ReadonlyTextFieldInput-dc6c2c66.js +2 -0
- package/amd/ReadonlyTextFieldInput-dc6c2c66.js.map +1 -0
- package/amd/SelectMenuItem-21d5937f.js +2 -0
- package/amd/SelectMenuItem-21d5937f.js.map +1 -0
- package/amd/SelectMultiple-d2385000.js +2 -0
- package/amd/SelectMultiple-d2385000.js.map +1 -0
- package/amd/SelectSingle-35ace17a.js +2 -0
- package/amd/SelectSingle-35ace17a.js.map +1 -0
- package/amd/Skeleton-b8b725eb.js +2 -0
- package/amd/Skeleton-b8b725eb.js.map +1 -0
- package/amd/Spacer-45465d62.js +2 -0
- package/amd/Spacer-45465d62.js.map +1 -0
- package/amd/SplitMenuButton-5026e833.js +2 -0
- package/amd/SplitMenuButton-5026e833.js.map +1 -0
- package/amd/Subheading-755f121d.js +2 -0
- package/amd/Subheading-755f121d.js.map +1 -0
- package/amd/Text-a22eae5d.js +2 -0
- package/amd/Text-a22eae5d.js.map +1 -0
- package/amd/TextArea-eb8899f9.js +2 -0
- package/amd/TextArea-eb8899f9.js.map +1 -0
- package/amd/TextAreaAutosize-eecfaccb.js +2 -0
- package/amd/TextAreaAutosize-eecfaccb.js.map +1 -0
- package/amd/TextFieldInput-33f53d8f.js +2 -0
- package/amd/TextFieldInput-33f53d8f.js.map +1 -0
- package/amd/Theme-redwood/theme.css +45 -9
- package/amd/Theme-stable/theme.css +65 -5
- package/amd/UNSAFE_AspectRatio.css +1 -1
- package/amd/UNSAFE_AspectRatio.js +1 -1
- package/amd/UNSAFE_Avatar/__tests__/Avatar.spec.js +2 -0
- package/amd/UNSAFE_Avatar/__tests__/Avatar.spec.js.map +1 -0
- 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 +2 -0
- package/amd/UNSAFE_Badge/__tests__/Badge.spec.js.map +1 -0
- package/amd/UNSAFE_Badge.css +13 -13
- package/amd/UNSAFE_Badge.js +1 -1
- package/amd/UNSAFE_BaseButton/__tests__/BaseButton.spec.js +2 -0
- package/amd/UNSAFE_BaseButton/__tests__/BaseButton.spec.js.map +1 -0
- package/amd/UNSAFE_BaseButton.css +15 -15
- package/amd/UNSAFE_BaseButton.js +1 -1
- package/amd/UNSAFE_Button/__tests__/Button.spec.js +2 -0
- package/amd/UNSAFE_Button/__tests__/Button.spec.js.map +1 -0
- package/amd/UNSAFE_Button.css +7 -8
- package/amd/UNSAFE_Button.js +1 -1
- package/amd/UNSAFE_Center.js +1 -1
- package/amd/UNSAFE_Chip/__tests__/Chip.spec.js +2 -0
- package/amd/UNSAFE_Chip/__tests__/Chip.spec.js.map +1 -0
- 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 +2 -0
- package/amd/UNSAFE_ComponentMessage/__tests__/ComponentMessage.spec.js.map +1 -0
- package/amd/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js +2 -0
- package/amd/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js.map +1 -0
- package/amd/UNSAFE_ComponentMessage.css +2 -2
- package/amd/UNSAFE_ComponentMessage.js +1 -1
- package/amd/UNSAFE_Divider/__tests__/Divider.spec.js +2 -0
- package/amd/UNSAFE_Divider/__tests__/Divider.spec.js.map +1 -0
- package/amd/UNSAFE_Divider.css +1 -1
- package/amd/UNSAFE_Divider.js +1 -1
- package/amd/UNSAFE_Environment/__tests__/Environment.spec.js +2 -0
- package/amd/UNSAFE_Environment/__tests__/Environment.spec.js.map +1 -0
- package/amd/UNSAFE_FilePicker/__tests__/FilePicker.spec.js +2 -0
- package/amd/UNSAFE_FilePicker/__tests__/FilePicker.spec.js.map +1 -0
- package/amd/UNSAFE_FilePicker.css +6 -6
- package/amd/UNSAFE_FilePicker.js +1 -1
- package/amd/UNSAFE_Flex/__tests__/Flex.spec.js +2 -0
- package/amd/UNSAFE_Flex/__tests__/Flex.spec.js.map +1 -0
- package/amd/UNSAFE_Flex.css +2 -2
- package/amd/UNSAFE_Flex.js +1 -1
- package/amd/UNSAFE_Floating/__tests__/Floating.spec.js +2 -0
- package/amd/UNSAFE_Floating/__tests__/Floating.spec.js.map +1 -0
- package/amd/UNSAFE_Floating.js +1 -1
- package/amd/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js +2 -0
- package/amd/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js.map +1 -0
- 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 +2 -0
- package/amd/UNSAFE_Heading/__test__/Heading.spec.js.map +1 -0
- package/amd/UNSAFE_Heading.css +9 -9
- package/amd/UNSAFE_Heading.js +1 -1
- package/amd/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js +2 -0
- package/amd/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js.map +1 -0
- package/amd/UNSAFE_HiddenAccessible.css +1 -1
- package/amd/UNSAFE_HiddenAccessible.js +1 -1
- package/amd/UNSAFE_HighlightText/__tests__/HighlightText.spec.js +2 -0
- package/amd/UNSAFE_HighlightText/__tests__/HighlightText.spec.js.map +1 -0
- package/amd/UNSAFE_HighlightText.css +1 -1
- package/amd/UNSAFE_HighlightText.js +1 -1
- package/amd/UNSAFE_Icon/__tests__/Icon.spec.js +2 -0
- package/amd/UNSAFE_Icon/__tests__/Icon.spec.js.map +1 -0
- package/amd/UNSAFE_Icon/__tests__/Icons.spec.js +2 -0
- package/amd/UNSAFE_Icon/__tests__/Icons.spec.js.map +1 -0
- package/amd/UNSAFE_Icon.css +8 -21
- package/amd/UNSAFE_Icon.js +1 -1
- package/amd/UNSAFE_Icon.js.map +1 -1
- package/amd/UNSAFE_Icons.js +1 -1
- package/amd/UNSAFE_Indexer/__tests__/Indexer.spec.js +2 -0
- package/amd/UNSAFE_Indexer/__tests__/Indexer.spec.js.map +1 -0
- package/amd/UNSAFE_Indexer.css +7 -7
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputPassword/__tests__/InputPassword.spec.js +2 -0
- package/amd/UNSAFE_InputPassword/__tests__/InputPassword.spec.js.map +1 -0
- 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 +2 -0
- package/amd/UNSAFE_Link/__tests__/Link.spec.js.map +1 -0
- package/amd/UNSAFE_Link.css +5 -5
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js +2 -0
- package/amd/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js.map +1 -0
- package/amd/UNSAFE_ListItemLayout.css +9 -9
- package/amd/UNSAFE_ListItemLayout.js +1 -1
- package/amd/UNSAFE_ListView/__tests__/ListView.spec.js +2 -0
- package/amd/UNSAFE_ListView/__tests__/ListView.spec.js.map +1 -0
- package/amd/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js +2 -0
- package/amd/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js.map +1 -0
- 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 +2 -0
- package/amd/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js.map +1 -0
- package/amd/UNSAFE_LoadMoreCollection.js +1 -1
- package/amd/UNSAFE_Menu/__tests__/Menu.spec.js +2 -0
- package/amd/UNSAFE_Menu/__tests__/Menu.spec.js.map +1 -0
- package/amd/UNSAFE_Menu/__tests__/MenuItem.spec.js +2 -0
- package/amd/UNSAFE_Menu/__tests__/MenuItem.spec.js.map +1 -0
- package/amd/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +2 -0
- package/amd/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js.map +1 -0
- package/amd/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +2 -0
- package/amd/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js.map +1 -0
- package/amd/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +2 -0
- package/amd/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js.map +1 -0
- package/amd/UNSAFE_Menu.css +25 -17
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +2 -0
- package/amd/UNSAFE_MessageToast/__tests__/MessageToast.spec.js.map +1 -0
- package/amd/UNSAFE_MessageToast.css +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +2 -0
- package/amd/UNSAFE_MeterBar/__tests__/MeterBar.spec.js.map +1 -0
- package/amd/UNSAFE_MeterBar.css +44 -43
- package/amd/UNSAFE_MeterBar.js +1 -1
- package/amd/UNSAFE_MeterBar.js.map +1 -1
- package/amd/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +2 -0
- package/amd/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js.map +1 -0
- package/amd/UNSAFE_MeterCircle.css +46 -46
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_Modal/__tests__/Modal.spec.js +2 -0
- package/amd/UNSAFE_Modal/__tests__/Modal.spec.js.map +1 -0
- package/amd/UNSAFE_Modal.css +3 -3
- package/amd/UNSAFE_Modal.js +1 -1
- package/amd/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +2 -0
- package/amd/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js.map +1 -0
- 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 +2 -0
- package/amd/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js.map +1 -0
- 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 +2 -0
- package/amd/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js.map +1 -0
- 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 +2 -0
- package/amd/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js.map +1 -0
- 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 +2 -0
- package/amd/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js.map +1 -0
- package/amd/UNSAFE_SelectMultiple.css +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +2 -0
- package/amd/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js.map +1 -0
- 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 +2 -0
- package/amd/UNSAFE_Skeleton/__tests__/Skeleton.spec.js.map +1 -0
- package/amd/UNSAFE_Skeleton.css +1 -1
- package/amd/UNSAFE_Skeleton.js +1 -1
- package/amd/UNSAFE_Spacer/__tests__/Spacer.spec.js +2 -0
- package/amd/UNSAFE_Spacer/__tests__/Spacer.spec.js.map +1 -0
- package/amd/UNSAFE_Spacer.js +1 -1
- package/amd/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +2 -0
- package/amd/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js.map +1 -0
- package/amd/UNSAFE_SplitMenuButton.css +5 -5
- package/amd/UNSAFE_SplitMenuButton.js +1 -1
- package/amd/UNSAFE_Subheading/__test__/Subheading.spec.js +2 -0
- package/amd/UNSAFE_Subheading/__test__/Subheading.spec.js.map +1 -0
- package/amd/UNSAFE_Subheading.css +8 -0
- package/amd/UNSAFE_Subheading.js +2 -0
- package/amd/UNSAFE_Subheading.js.map +1 -0
- package/amd/UNSAFE_Text/__tests__/Text.spec.js +2 -0
- package/amd/UNSAFE_Text/__tests__/Text.spec.js.map +1 -0
- package/amd/UNSAFE_Text.css +25 -25
- package/amd/UNSAFE_Text.js +1 -1
- package/amd/UNSAFE_TextArea/__tests__/TextArea.spec.js +2 -0
- package/amd/UNSAFE_TextArea/__tests__/TextArea.spec.js.map +1 -0
- package/amd/UNSAFE_TextArea.css +3 -3
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +2 -0
- package/amd/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js.map +1 -0
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +2 -0
- package/amd/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js.map +1 -0
- package/amd/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +2 -0
- package/amd/UNSAFE_TextField/__tests__/TextFieldInput.spec.js.map +1 -0
- 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 +2 -0
- package/amd/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js.map +1 -0
- 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 +2 -0
- package/amd/UNSAFE_View/__tests__/View.spec.js.map +1 -0
- package/amd/UNSAFE_View.js +1 -1
- package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +2 -0
- package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js.map +1 -0
- package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +2 -0
- package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js.map +1 -0
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/VirtualizedCollection-79996ea9.js +2 -0
- package/amd/VirtualizedCollection-79996ea9.js.map +1 -0
- package/amd/VirtualizedListView-2c7f4539.js +2 -0
- package/amd/VirtualizedListView-2c7f4539.js.map +1 -0
- package/amd/__tests__/FormControls/FormControlAria.spec.js +2 -0
- package/amd/__tests__/FormControls/FormControlAria.spec.js.map +1 -0
- package/amd/__tests__/FormControls/FormControlClearIcon.spec.js +2 -0
- package/amd/__tests__/FormControls/FormControlClearIcon.spec.js.map +1 -0
- package/amd/__tests__/FormControls/FormControlCommit.spec.js +2 -0
- package/amd/__tests__/FormControls/FormControlCommit.spec.js.map +1 -0
- package/amd/__tests__/FormControls/FormControlPrefixSuffix.spec.js +2 -0
- package/amd/__tests__/FormControls/FormControlPrefixSuffix.spec.js.map +1 -0
- package/amd/_curry1-67906f4c.js +2 -0
- package/amd/_curry1-67906f4c.js.map +1 -0
- package/amd/_curry2-fc31d1f8.js +2 -0
- package/amd/_curry2-fc31d1f8.js.map +1 -0
- package/amd/_curry3-9a7f6d78.js +2 -0
- package/amd/_curry3-9a7f6d78.js.map +1 -0
- package/amd/_has-83207242.js +2 -0
- package/amd/_has-83207242.js.map +1 -0
- package/amd/classNames-b7cf3c05.js +2 -0
- package/amd/classNames-b7cf3c05.js.map +1 -0
- package/amd/clientHints-0d38de57.js +2 -0
- package/amd/clientHints-0d38de57.js.map +1 -0
- package/amd/flexbox-5d0f6a63.js +2 -0
- package/amd/flexbox-5d0f6a63.js.map +1 -0
- package/amd/flexitem-c53d7893.js +2 -0
- package/amd/flexitem-c53d7893.js.map +1 -0
- 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 +2 -0
- package/amd/hooks/UNSAFE_useAnimation/__tests__/useAnimation.spec.js.map +1 -0
- 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 +2 -0
- package/amd/hooks/UNSAFE_useFocusWithin/__tests__/useFocusWithin.spec.js.map +1 -0
- package/amd/hooks/UNSAFE_useFocusWithin.js +1 -1
- package/amd/hooks/UNSAFE_useFocusableTextField.js +1 -1
- package/amd/hooks/UNSAFE_useHover.js.map +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-8215ac99.js +2 -0
- package/amd/index-8215ac99.js.map +1 -0
- package/amd/index-922123b9.js +2 -0
- package/amd/index-922123b9.js.map +1 -0
- package/amd/index-bd5b8cf5.js +2 -0
- package/amd/index-bd5b8cf5.js.map +1 -0
- package/amd/keys-f8c00540.js +2 -0
- package/amd/keys-f8c00540.js.map +1 -0
- package/amd/listViewSelectionTests-970c6876.js +2 -0
- package/amd/listViewSelectionTests-970c6876.js.map +1 -0
- package/amd/listViewTabbableModeTests-0e13aa24.js +2 -0
- package/amd/listViewTabbableModeTests-0e13aa24.js.map +1 -0
- package/amd/listViewTestFixtures-119d1b19.js +2 -0
- package/amd/listViewTestFixtures-119d1b19.js.map +1 -0
- package/amd/menuTestsUtils-c939f04d.js +2 -0
- package/amd/menuTestsUtils-c939f04d.js.map +1 -0
- package/amd/resources/nls/ar/bundle.js +1 -1
- package/amd/resources/nls/ar/bundle.js.map +1 -1
- package/amd/resources/nls/ar-XB/bundle.js +1 -1
- package/amd/resources/nls/ar-XB/bundle.js.map +1 -1
- package/amd/resources/nls/bg/bundle.js +1 -1
- package/amd/resources/nls/bg/bundle.js.map +1 -1
- package/amd/resources/nls/bs/bundle.js +1 -1
- package/amd/resources/nls/bs/bundle.js.map +1 -1
- package/amd/resources/nls/bs-Cyrl/bundle.js +1 -1
- package/amd/resources/nls/bs-Cyrl/bundle.js.map +1 -1
- package/amd/resources/nls/bundle.js +1 -1
- package/amd/resources/nls/bundle.js.map +1 -1
- package/amd/resources/nls/cs/bundle.js +1 -1
- package/amd/resources/nls/cs/bundle.js.map +1 -1
- package/amd/resources/nls/da/bundle.js +1 -1
- package/amd/resources/nls/da/bundle.js.map +1 -1
- package/amd/resources/nls/de/bundle.js +1 -1
- package/amd/resources/nls/de/bundle.js.map +1 -1
- package/amd/resources/nls/el/bundle.js +1 -1
- package/amd/resources/nls/el/bundle.js.map +1 -1
- package/amd/resources/nls/en/bundle.js +1 -1
- package/amd/resources/nls/en/bundle.js.map +1 -1
- package/amd/resources/nls/en-XA/bundle.js +1 -1
- package/amd/resources/nls/en-XA/bundle.js.map +1 -1
- package/amd/resources/nls/en-XC/bundle.js +1 -1
- package/amd/resources/nls/en-XC/bundle.js.map +1 -1
- package/amd/resources/nls/es/bundle.js +1 -1
- package/amd/resources/nls/es/bundle.js.map +1 -1
- package/amd/resources/nls/et/bundle.js +1 -1
- package/amd/resources/nls/et/bundle.js.map +1 -1
- package/amd/resources/nls/fi/bundle.js +1 -1
- package/amd/resources/nls/fi/bundle.js.map +1 -1
- package/amd/resources/nls/fr/bundle.js +1 -1
- package/amd/resources/nls/fr/bundle.js.map +1 -1
- package/amd/resources/nls/fr-CA/bundle.js +1 -1
- package/amd/resources/nls/fr-CA/bundle.js.map +1 -1
- package/amd/resources/nls/he/bundle.js +1 -1
- package/amd/resources/nls/he/bundle.js.map +1 -1
- package/amd/resources/nls/hr/bundle.js +1 -1
- package/amd/resources/nls/hr/bundle.js.map +1 -1
- package/amd/resources/nls/hu/bundle.js +1 -1
- package/amd/resources/nls/hu/bundle.js.map +1 -1
- package/amd/resources/nls/is/bundle.js +1 -1
- package/amd/resources/nls/is/bundle.js.map +1 -1
- package/amd/resources/nls/it/bundle.js +1 -1
- package/amd/resources/nls/it/bundle.js.map +1 -1
- package/amd/resources/nls/ja/bundle.js +1 -1
- package/amd/resources/nls/ja/bundle.js.map +1 -1
- package/amd/resources/nls/ko/bundle.js +1 -1
- package/amd/resources/nls/ko/bundle.js.map +1 -1
- package/amd/resources/nls/lt/bundle.js +1 -1
- package/amd/resources/nls/lt/bundle.js.map +1 -1
- package/amd/resources/nls/lv/bundle.js +1 -1
- package/amd/resources/nls/lv/bundle.js.map +1 -1
- package/amd/resources/nls/ms/bundle.js +1 -1
- package/amd/resources/nls/ms/bundle.js.map +1 -1
- package/amd/resources/nls/nl/bundle.js +1 -1
- package/amd/resources/nls/nl/bundle.js.map +1 -1
- package/amd/resources/nls/no/bundle.js +1 -1
- package/amd/resources/nls/no/bundle.js.map +1 -1
- package/amd/resources/nls/pl/bundle.js +1 -1
- package/amd/resources/nls/pl/bundle.js.map +1 -1
- package/amd/resources/nls/pt/bundle.js +1 -1
- package/amd/resources/nls/pt/bundle.js.map +1 -1
- package/amd/resources/nls/pt-PT/bundle.js +1 -1
- package/amd/resources/nls/pt-PT/bundle.js.map +1 -1
- package/amd/resources/nls/ro/bundle.js +1 -1
- package/amd/resources/nls/ro/bundle.js.map +1 -1
- package/amd/resources/nls/ru/bundle.js +1 -1
- package/amd/resources/nls/ru/bundle.js.map +1 -1
- package/amd/resources/nls/sk/bundle.js +1 -1
- package/amd/resources/nls/sk/bundle.js.map +1 -1
- package/amd/resources/nls/sl/bundle.js +1 -1
- package/amd/resources/nls/sl/bundle.js.map +1 -1
- package/amd/resources/nls/sr/bundle.js +1 -1
- package/amd/resources/nls/sr/bundle.js.map +1 -1
- package/amd/resources/nls/sr-Latn/bundle.js +1 -1
- package/amd/resources/nls/sr-Latn/bundle.js.map +1 -1
- package/amd/resources/nls/sv/bundle.js +1 -1
- package/amd/resources/nls/sv/bundle.js.map +1 -1
- package/amd/resources/nls/th/bundle.js +1 -1
- package/amd/resources/nls/th/bundle.js.map +1 -1
- package/amd/resources/nls/tr/bundle.js +1 -1
- package/amd/resources/nls/tr/bundle.js.map +1 -1
- package/amd/resources/nls/uk/bundle.js +1 -1
- package/amd/resources/nls/uk/bundle.js.map +1 -1
- package/amd/resources/nls/vi/bundle.js +1 -1
- package/amd/resources/nls/vi/bundle.js.map +1 -1
- package/amd/resources/nls/zh-Hans/bundle.js +1 -1
- package/amd/resources/nls/zh-Hans/bundle.js.map +1 -1
- package/amd/resources/nls/zh-Hant/bundle.js +1 -1
- package/amd/resources/nls/zh-Hant/bundle.js.map +1 -1
- package/amd/stringUtils-9fd51f79.js +2 -0
- package/amd/stringUtils-9fd51f79.js.map +1 -0
- package/amd/testHelpers-246f0e98.js +2 -0
- package/amd/testHelpers-246f0e98.js.map +1 -0
- package/amd/translationBundle/__tests__/translationBundle.spec.js +2 -0
- package/amd/translationBundle/__tests__/translationBundle.spec.js.map +1 -0
- package/amd/tslib.es6-d8595453.js +2 -0
- package/amd/tslib.es6-d8595453.js.map +1 -0
- package/amd/useAnimation-72dcd02d.js +2 -0
- package/amd/useAnimation-72dcd02d.js.map +1 -0
- package/amd/useFocusWithin-f0637e98.js +2 -0
- package/amd/useFocusWithin-f0637e98.js.map +1 -0
- package/amd/useModal-221efa6e.js +2 -0
- package/amd/useModal-221efa6e.js.map +1 -0
- package/amd/useSingleSelection-ef21f66a.js +2 -0
- package/amd/useSingleSelection-ef21f66a.js.map +1 -0
- package/amd/utils/PRIVATE_clientHints/__tests__/clientHints.spec.js +2 -0
- package/amd/utils/PRIVATE_clientHints/__tests__/clientHints.spec.js.map +1 -0
- package/amd/utils/PRIVATE_clientHints.js +1 -1
- package/amd/utils/PRIVATE_meterUtils.js +1 -1
- package/amd/utils/PRIVATE_meterUtils.js.map +1 -1
- package/amd/utils/PRIVATE_tabbableUtils.js +1 -1
- package/amd/utils/UNSAFE_classNames/classNames.spec.js +2 -0
- package/amd/utils/UNSAFE_classNames/classNames.spec.js.map +1 -0
- package/amd/utils/UNSAFE_classNames.js +1 -1
- package/amd/utils/UNSAFE_dvtCommonUtils.js +2 -0
- package/amd/utils/UNSAFE_dvtCommonUtils.js.map +1 -0
- 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 +2 -0
- package/amd/utils/UNSAFE_interpolations/flexbox/flexbox.spec.js.map +1 -0
- 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 +2 -0
- package/amd/utils/UNSAFE_interpolations/flexitem/flexitem.spec.js.map +1 -0
- 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 +2 -0
- package/amd/utils/UNSAFE_stringUtils/stringUtils.spec.js.map +1 -0
- package/amd/utils/UNSAFE_stringUtils.js +1 -1
- package/amd/utils/UNSAFE_units.js +1 -1
- package/cjs/Badge-c5723bb5.js +43 -0
- package/cjs/Badge-c5723bb5.js.map +1 -0
- package/cjs/BaseButton-9bfe304e.js +178 -0
- package/cjs/BaseButton-9bfe304e.js.map +1 -0
- package/cjs/Button-07d97191.js +74 -0
- package/cjs/Button-07d97191.js.map +1 -0
- package/cjs/Chip-bc07411b.js +61 -0
- package/cjs/Chip-bc07411b.js.map +1 -0
- package/cjs/ClearIcon-be3cdd68.js +62 -0
- package/cjs/ClearIcon-be3cdd68.js.map +1 -0
- package/cjs/Collection-2647e7ee.js +19 -0
- package/cjs/Collection-2647e7ee.js.map +1 -0
- package/cjs/ComponentMessage-eea92e6b.js +54 -0
- package/cjs/ComponentMessage-eea92e6b.js.map +1 -0
- package/cjs/ComponentMessageContainer-7880a1b9.js +54 -0
- package/cjs/ComponentMessageContainer-7880a1b9.js.map +1 -0
- package/cjs/Divider-333e69aa.js +36 -0
- package/cjs/Divider-333e69aa.js.map +1 -0
- package/cjs/FilePicker-4c1e05a5.js +594 -0
- package/cjs/FilePicker-4c1e05a5.js.map +1 -0
- package/cjs/Flex-b113edd5.js +46 -0
- package/cjs/Flex-b113edd5.js.map +1 -0
- package/cjs/Floating-48167355.js +337 -0
- package/cjs/Floating-48167355.js.map +1 -0
- package/cjs/FocusTrap-8af50913.js +149 -0
- package/cjs/FocusTrap-8af50913.js.map +1 -0
- package/cjs/FormControlUtils-c960c51d.js +24 -0
- package/cjs/FormControlUtils-c960c51d.js.map +1 -0
- package/cjs/Heading-5dd30def.js +77 -0
- package/cjs/Heading-5dd30def.js.map +1 -0
- package/cjs/HiddenAccessible-42dab376.js +26 -0
- package/cjs/HiddenAccessible-42dab376.js.map +1 -0
- package/cjs/HighlightText-5bdc12cb.js +50 -0
- package/cjs/HighlightText-5bdc12cb.js.map +1 -0
- package/cjs/Icon-c44e10c9.js +89 -0
- package/cjs/Icon-c44e10c9.js.map +1 -0
- package/cjs/Indexer-6353209c.js +534 -0
- package/cjs/Indexer-6353209c.js.map +1 -0
- package/cjs/InlineHelpSource-c498a09a.js +35 -0
- package/cjs/InlineHelpSource-c498a09a.js.map +1 -0
- package/cjs/Link-2180b804.js +50 -0
- package/cjs/Link-2180b804.js.map +1 -0
- package/cjs/List-63716a22.js +694 -0
- package/cjs/List-63716a22.js.map +1 -0
- package/cjs/ListItemTextLayout-fb97c73d.js +218 -0
- package/cjs/ListItemTextLayout-fb97c73d.js.map +1 -0
- package/cjs/ListView-178451ad.js +18 -0
- package/cjs/ListView-178451ad.js.map +1 -0
- package/cjs/LoadMoreCollection-eaa4ed6f.js +67 -0
- package/cjs/LoadMoreCollection-eaa4ed6f.js.map +1 -0
- package/cjs/Menu-4b48a08e.js +488 -0
- package/cjs/Menu-4b48a08e.js.map +1 -0
- package/cjs/MenuDivider-856fcdeb.js +22 -0
- package/cjs/MenuDivider-856fcdeb.js.map +1 -0
- package/cjs/MenuItem-0c819d68.js +167 -0
- package/cjs/MenuItem-0c819d68.js.map +1 -0
- package/cjs/Message.types-d5b1820f.js +11 -0
- package/cjs/Message.types-d5b1820f.js.map +1 -0
- package/cjs/MessageCloseButton-66757186.js +51 -0
- package/cjs/MessageCloseButton-66757186.js.map +1 -0
- package/cjs/MessageDetail-9ab2fec2.js +66 -0
- package/cjs/MessageDetail-9ab2fec2.js.map +1 -0
- package/cjs/MessageFormattingUtils-fac29bd4.js +106 -0
- package/cjs/MessageFormattingUtils-fac29bd4.js.map +1 -0
- package/cjs/MessageLayer-2d31300d.js +88 -0
- package/cjs/MessageLayer-2d31300d.js.map +1 -0
- package/cjs/MessageStartIcon-5cdb8fbe.js +70 -0
- package/cjs/MessageStartIcon-5cdb8fbe.js.map +1 -0
- package/cjs/MessageSummary-ea4ba9b8.js +40 -0
- package/cjs/MessageSummary-ea4ba9b8.js.map +1 -0
- package/cjs/MessageTimestamp-cb7998db.js +40 -0
- package/cjs/MessageTimestamp-cb7998db.js.map +1 -0
- package/cjs/MessageToast-3ef5b6c9.js +326 -0
- package/cjs/MessageToast-3ef5b6c9.js.map +1 -0
- package/cjs/MessageUtils-c82ad817.js +139 -0
- package/cjs/MessageUtils-c82ad817.js.map +1 -0
- package/cjs/MessagesManager-88e137d7.js +117 -0
- package/cjs/MessagesManager-88e137d7.js.map +1 -0
- package/cjs/MeterCircle-d51abcdb.js +559 -0
- package/cjs/MeterCircle-d51abcdb.js.map +1 -0
- package/cjs/Modal-40a059dc.js +76 -0
- package/cjs/Modal-40a059dc.js.map +1 -0
- package/cjs/NumberInputText-a83c00be.js +276 -0
- package/cjs/NumberInputText-a83c00be.js.map +1 -0
- package/cjs/PRIVATE_Collection/__tests__/Collection.spec.js +24 -0
- package/cjs/PRIVATE_Collection/__tests__/Collection.spec.js.map +1 -0
- package/cjs/PRIVATE_Collection.js +2 -2
- package/cjs/PRIVATE_List/__tests__/List.spec.js +217 -0
- package/cjs/PRIVATE_List/__tests__/List.spec.js.map +1 -0
- package/cjs/PRIVATE_List.js +23 -23
- package/cjs/PRIVATE_Message/__tests__/MessageCloseButton.spec.js +92 -0
- package/cjs/PRIVATE_Message/__tests__/MessageCloseButton.spec.js.map +1 -0
- package/cjs/PRIVATE_Message/__tests__/MessageDetail.spec.js +50 -0
- package/cjs/PRIVATE_Message/__tests__/MessageDetail.spec.js.map +1 -0
- package/cjs/PRIVATE_Message/__tests__/MessageFormattingUtils.spec.js +49 -0
- package/cjs/PRIVATE_Message/__tests__/MessageFormattingUtils.spec.js.map +1 -0
- package/cjs/PRIVATE_Message/__tests__/MessageStartIcon.spec.js +69 -0
- package/cjs/PRIVATE_Message/__tests__/MessageStartIcon.spec.js.map +1 -0
- package/cjs/PRIVATE_Message/__tests__/MessageSummary.spec.js +20 -0
- package/cjs/PRIVATE_Message/__tests__/MessageSummary.spec.js.map +1 -0
- package/cjs/PRIVATE_Message/__tests__/MessageTimestamp.spec.js +47 -0
- package/cjs/PRIVATE_Message/__tests__/MessageTimestamp.spec.js.map +1 -0
- package/cjs/PRIVATE_Message/__tests__/MessageUtils.spec.js +76 -0
- package/cjs/PRIVATE_Message/__tests__/MessageUtils.spec.js.map +1 -0
- package/cjs/PRIVATE_Message/__tests__/MessagesManager.spec.js +74 -0
- package/cjs/PRIVATE_Message/__tests__/MessagesManager.spec.js.map +1 -0
- package/cjs/PRIVATE_Message.js +41 -41
- package/cjs/PRIVATE_Message.js.map +1 -1
- package/cjs/PRIVATE_MessageLayer/__tests__/MessageLayer.spec.js +142 -0
- package/cjs/PRIVATE_MessageLayer/__tests__/MessageLayer.spec.js.map +1 -0
- package/cjs/PRIVATE_MessageLayer.js +12 -12
- package/cjs/PRIVATE_Meter.js +2 -2
- package/cjs/PRIVATE_SelectCommon.js +93 -57
- package/cjs/PRIVATE_SelectCommon.js.map +1 -1
- package/cjs/PRIVATE_TransitionGroup.js +1 -1
- package/cjs/PRIVATE_VirtualizedCollection/__tests__/VirtualizedCollection.spec.js +73 -0
- package/cjs/PRIVATE_VirtualizedCollection/__tests__/VirtualizedCollection.spec.js.map +1 -0
- package/cjs/PRIVATE_VirtualizedCollection.js +3 -3
- package/cjs/ReadonlyTextFieldInput-ec13a273.js +121 -0
- package/cjs/ReadonlyTextFieldInput-ec13a273.js.map +1 -0
- package/cjs/SelectMenuItem-82288512.js +65 -0
- package/cjs/SelectMenuItem-82288512.js.map +1 -0
- package/cjs/SelectMultiple-839fdbd2.js +513 -0
- package/cjs/SelectMultiple-839fdbd2.js.map +1 -0
- package/cjs/SelectSingle-5ba193e7.js +376 -0
- package/cjs/SelectSingle-5ba193e7.js.map +1 -0
- package/cjs/Skeleton-02ffb696.js +47 -0
- package/cjs/Skeleton-02ffb696.js.map +1 -0
- package/cjs/Spacer-6f567a4e.js +21 -0
- package/cjs/Spacer-6f567a4e.js.map +1 -0
- package/cjs/SplitMenuButton-cf3b7b0f.js +203 -0
- package/cjs/SplitMenuButton-cf3b7b0f.js.map +1 -0
- package/cjs/Subheading-27d4300d.js +11007 -0
- package/cjs/Subheading-27d4300d.js.map +1 -0
- package/cjs/Text-cdd6f2fd.js +103 -0
- package/cjs/Text-cdd6f2fd.js.map +1 -0
- package/cjs/TextArea-12e73bd6.js +151 -0
- package/cjs/TextArea-12e73bd6.js.map +1 -0
- package/cjs/TextAreaAutosize-e63611e0.js +177 -0
- package/cjs/TextAreaAutosize-e63611e0.js.map +1 -0
- package/cjs/TextFieldInput-c5f861ba.js +182 -0
- package/cjs/TextFieldInput-c5f861ba.js.map +1 -0
- package/cjs/Theme-redwood/theme.css +45 -9
- package/cjs/Theme-stable/theme.css +65 -5
- package/cjs/UNSAFE_AspectRatio.js +8 -8
- package/cjs/UNSAFE_AspectRatio.js.map +1 -1
- package/cjs/UNSAFE_Avatar/__tests__/Avatar.spec.js +146 -0
- package/cjs/UNSAFE_Avatar/__tests__/Avatar.spec.js.map +1 -0
- package/cjs/UNSAFE_Avatar.js +11 -11
- package/cjs/UNSAFE_Avatar.js.map +1 -1
- package/cjs/UNSAFE_Badge/__tests__/Badge.spec.js +48 -0
- package/cjs/UNSAFE_Badge/__tests__/Badge.spec.js.map +1 -0
- package/cjs/UNSAFE_Badge.js +3 -3
- package/cjs/UNSAFE_BaseButton/__tests__/BaseButton.spec.js +164 -0
- package/cjs/UNSAFE_BaseButton/__tests__/BaseButton.spec.js.map +1 -0
- package/cjs/UNSAFE_BaseButton.js +9 -9
- package/cjs/UNSAFE_Button/__tests__/Button.spec.js +236 -0
- package/cjs/UNSAFE_Button/__tests__/Button.spec.js.map +1 -0
- package/cjs/UNSAFE_Button.js +10 -10
- package/cjs/UNSAFE_Center.js +11 -11
- package/cjs/UNSAFE_Chip/__tests__/Chip.spec.js +70 -0
- package/cjs/UNSAFE_Chip/__tests__/Chip.spec.js.map +1 -0
- 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 +168 -0
- package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessage.spec.js.map +1 -0
- package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js +178 -0
- package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js.map +1 -0
- package/cjs/UNSAFE_ComponentMessage.js +33 -33
- package/cjs/UNSAFE_Divider/__tests__/Divider.spec.js +27 -0
- package/cjs/UNSAFE_Divider/__tests__/Divider.spec.js.map +1 -0
- package/cjs/UNSAFE_Divider.js +7 -7
- package/cjs/UNSAFE_EmptyList.js +1 -1
- package/cjs/UNSAFE_Environment/__tests__/Environment.spec.js +208 -0
- package/cjs/UNSAFE_Environment/__tests__/Environment.spec.js.map +1 -0
- package/cjs/UNSAFE_Environment.js +1 -1
- package/cjs/UNSAFE_FilePicker/__tests__/FilePicker.spec.js +555 -0
- package/cjs/UNSAFE_FilePicker/__tests__/FilePicker.spec.js.map +1 -0
- package/cjs/UNSAFE_FilePicker.js +14 -14
- package/cjs/UNSAFE_Flex/__tests__/Flex.spec.js +35 -0
- package/cjs/UNSAFE_Flex/__tests__/Flex.spec.js.map +1 -0
- package/cjs/UNSAFE_Flex.js +11 -11
- package/cjs/UNSAFE_Floating/__tests__/Floating.spec.js +54 -0
- package/cjs/UNSAFE_Floating/__tests__/Floating.spec.js.map +1 -0
- package/cjs/UNSAFE_Floating.js +3 -3
- package/cjs/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js +135 -0
- package/cjs/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js.map +1 -0
- package/cjs/UNSAFE_FocusTrap.js +6 -6
- package/cjs/UNSAFE_Grid.js +9 -9
- package/cjs/UNSAFE_Heading/__test__/Heading.spec.js +90 -0
- package/cjs/UNSAFE_Heading/__test__/Heading.spec.js.map +1 -0
- package/cjs/UNSAFE_Heading.js +9 -9
- package/cjs/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js +42 -0
- package/cjs/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js.map +1 -0
- package/cjs/UNSAFE_HiddenAccessible.js +2 -2
- package/cjs/UNSAFE_HighlightText/__tests__/HighlightText.spec.js +25 -0
- package/cjs/UNSAFE_HighlightText/__tests__/HighlightText.spec.js.map +1 -0
- package/cjs/UNSAFE_HighlightText.js +2 -2
- package/cjs/UNSAFE_Icon/__tests__/Icon.spec.js +109 -0
- package/cjs/UNSAFE_Icon/__tests__/Icon.spec.js.map +1 -0
- package/cjs/UNSAFE_Icon/__tests__/Icons.spec.js +66 -0
- package/cjs/UNSAFE_Icon/__tests__/Icons.spec.js.map +1 -0
- package/cjs/UNSAFE_Icon.js +9 -8
- package/cjs/UNSAFE_Icon.js.map +1 -1
- package/cjs/UNSAFE_Icons.js +10 -9
- package/cjs/UNSAFE_Icons.js.map +1 -1
- package/cjs/UNSAFE_Indexer/__tests__/Indexer.spec.js +861 -0
- package/cjs/UNSAFE_Indexer/__tests__/Indexer.spec.js.map +1 -0
- package/cjs/UNSAFE_Indexer.js +16 -16
- package/cjs/UNSAFE_InputPassword/__tests__/InputPassword.spec.js +184 -0
- package/cjs/UNSAFE_InputPassword/__tests__/InputPassword.spec.js.map +1 -0
- 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 +79 -0
- package/cjs/UNSAFE_Link/__tests__/Link.spec.js.map +1 -0
- package/cjs/UNSAFE_Link.js +3 -3
- package/cjs/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js +55 -0
- package/cjs/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js.map +1 -0
- package/cjs/UNSAFE_ListItemLayout.js +10 -10
- package/cjs/UNSAFE_ListView/__tests__/ListView.spec.js +130 -0
- package/cjs/UNSAFE_ListView/__tests__/ListView.spec.js.map +1 -0
- package/cjs/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js +127 -0
- package/cjs/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js.map +1 -0
- 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 +72 -0
- package/cjs/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js.map +1 -0
- package/cjs/UNSAFE_LoadMoreCollection.js +3 -3
- package/cjs/UNSAFE_Menu/__tests__/Menu.spec.js +247 -0
- package/cjs/UNSAFE_Menu/__tests__/Menu.spec.js.map +1 -0
- package/cjs/UNSAFE_Menu/__tests__/MenuItem.spec.js +112 -0
- package/cjs/UNSAFE_Menu/__tests__/MenuItem.spec.js.map +1 -0
- package/cjs/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +83 -0
- package/cjs/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js.map +1 -0
- package/cjs/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +157 -0
- package/cjs/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js.map +1 -0
- package/cjs/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +157 -0
- package/cjs/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js.map +1 -0
- package/cjs/UNSAFE_Menu.js +23 -22
- package/cjs/UNSAFE_Menu.js.map +1 -1
- package/cjs/UNSAFE_MessageBanner.js +30 -30
- package/cjs/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +661 -0
- package/cjs/UNSAFE_MessageToast/__tests__/MessageToast.spec.js.map +1 -0
- package/cjs/UNSAFE_MessageToast.js +33 -33
- package/cjs/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +920 -0
- package/cjs/UNSAFE_MeterBar/__tests__/MeterBar.spec.js.map +1 -0
- package/cjs/UNSAFE_MeterBar.js +57 -52
- package/cjs/UNSAFE_MeterBar.js.map +1 -1
- package/cjs/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +813 -0
- package/cjs/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js.map +1 -0
- package/cjs/UNSAFE_MeterCircle.js +8 -7
- package/cjs/UNSAFE_MeterCircle.js.map +1 -1
- package/cjs/UNSAFE_Modal/__tests__/Modal.spec.js +89 -0
- package/cjs/UNSAFE_Modal/__tests__/Modal.spec.js.map +1 -0
- package/cjs/UNSAFE_Modal.js +8 -7
- package/cjs/UNSAFE_Modal.js.map +1 -1
- package/cjs/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +769 -0
- package/cjs/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js.map +1 -0
- 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 +276 -0
- package/cjs/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js.map +1 -0
- package/cjs/UNSAFE_ProgressBar.js +9 -9
- package/cjs/UNSAFE_ProgressBar.js.map +1 -1
- package/cjs/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +214 -0
- package/cjs/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js.map +1 -0
- package/cjs/UNSAFE_ProgressCircle.js +10 -9
- package/cjs/UNSAFE_ProgressCircle.js.map +1 -1
- package/cjs/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +732 -0
- package/cjs/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js.map +1 -0
- package/cjs/UNSAFE_RatingGauge.js +120 -75
- package/cjs/UNSAFE_RatingGauge.js.map +1 -1
- package/cjs/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +1487 -0
- package/cjs/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js.map +1 -0
- package/cjs/UNSAFE_SelectMultiple.js +47 -47
- package/cjs/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +528 -0
- package/cjs/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js.map +1 -0
- package/cjs/UNSAFE_SelectSingle.js +46 -46
- package/cjs/UNSAFE_Selector.js +23 -23
- package/cjs/UNSAFE_Selector.js.map +1 -1
- package/cjs/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +37 -0
- package/cjs/UNSAFE_Skeleton/__tests__/Skeleton.spec.js.map +1 -0
- package/cjs/UNSAFE_Skeleton.js +8 -8
- package/cjs/UNSAFE_Spacer/__tests__/Spacer.spec.js +33 -0
- package/cjs/UNSAFE_Spacer/__tests__/Spacer.spec.js.map +1 -0
- package/cjs/UNSAFE_Spacer.js +10 -10
- package/cjs/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +132 -0
- package/cjs/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js.map +1 -0
- package/cjs/UNSAFE_SplitMenuButton.js +23 -22
- package/cjs/UNSAFE_SplitMenuButton.js.map +1 -1
- package/cjs/UNSAFE_Subheading/__test__/Subheading.spec.js +87 -0
- package/cjs/UNSAFE_Subheading/__test__/Subheading.spec.js.map +1 -0
- package/cjs/UNSAFE_Subheading.js +25 -0
- package/cjs/UNSAFE_Subheading.js.map +1 -0
- package/cjs/UNSAFE_Text/__tests__/Text.spec.js +50 -0
- package/cjs/UNSAFE_Text/__tests__/Text.spec.js.map +1 -0
- package/cjs/UNSAFE_Text.js +8 -8
- package/cjs/UNSAFE_TextArea/__tests__/TextArea.spec.js +207 -0
- package/cjs/UNSAFE_TextArea/__tests__/TextArea.spec.js.map +1 -0
- package/cjs/UNSAFE_TextArea.js +39 -39
- package/cjs/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +285 -0
- package/cjs/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js.map +1 -0
- package/cjs/UNSAFE_TextAreaAutosize.js +40 -40
- package/cjs/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +172 -0
- package/cjs/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js.map +1 -0
- package/cjs/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +282 -0
- package/cjs/UNSAFE_TextField/__tests__/TextFieldInput.spec.js.map +1 -0
- package/cjs/UNSAFE_TextField.js +35 -35
- package/cjs/UNSAFE_TextField.js.map +1 -1
- package/cjs/UNSAFE_ThemedIcons.js +11 -10
- package/cjs/UNSAFE_ThemedIcons.js.map +1 -1
- package/cjs/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +111 -0
- package/cjs/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js.map +1 -0
- package/cjs/UNSAFE_UserAssistance.js +41 -41
- package/cjs/UNSAFE_UserAssistance.js.map +1 -1
- package/cjs/UNSAFE_View/__tests__/View.spec.js +48 -0
- package/cjs/UNSAFE_View/__tests__/View.spec.js.map +1 -0
- package/cjs/UNSAFE_View.js +9 -9
- package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +128 -0
- package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js.map +1 -0
- package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +127 -0
- package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js.map +1 -0
- package/cjs/UNSAFE_VirtualizedListView.js +24 -24
- package/cjs/UNSAFE_WindowOverlay.js +1 -1
- package/cjs/VirtualizedCollection-19e514e1.js +186 -0
- package/cjs/VirtualizedCollection-19e514e1.js.map +1 -0
- package/cjs/VirtualizedListView-59cb3e16.js +18 -0
- package/cjs/VirtualizedListView-59cb3e16.js.map +1 -0
- package/cjs/__tests__/FormControls/FormControlAria.spec.js +476 -0
- package/cjs/__tests__/FormControls/FormControlAria.spec.js.map +1 -0
- package/cjs/__tests__/FormControls/FormControlClearIcon.spec.js +379 -0
- package/cjs/__tests__/FormControls/FormControlClearIcon.spec.js.map +1 -0
- package/cjs/__tests__/FormControls/FormControlCommit.spec.js +470 -0
- package/cjs/__tests__/FormControls/FormControlCommit.spec.js.map +1 -0
- package/cjs/__tests__/FormControls/FormControlPrefixSuffix.spec.js +455 -0
- package/cjs/__tests__/FormControls/FormControlPrefixSuffix.spec.js.map +1 -0
- package/cjs/_curry1-f1ebd742.js +71 -0
- package/cjs/_curry1-f1ebd742.js.map +1 -0
- package/cjs/_curry2-588f7ddc.js +48 -0
- package/cjs/_curry2-588f7ddc.js.map +1 -0
- package/cjs/_curry3-bc6e6a86.js +70 -0
- package/cjs/_curry3-bc6e6a86.js.map +1 -0
- package/cjs/_has-2eedb7e0.js +14 -0
- package/cjs/_has-2eedb7e0.js.map +1 -0
- package/cjs/classNames-55bceee6.js +17 -0
- package/cjs/classNames-55bceee6.js.map +1 -0
- package/cjs/clientHints-e821b5ee.js +188 -0
- package/cjs/clientHints-e821b5ee.js.map +1 -0
- package/cjs/flexbox-6deddb70.js +42 -0
- package/cjs/flexbox-6deddb70.js.map +1 -0
- package/cjs/flexitem-0c1e9a72.js +42 -0
- package/cjs/flexitem-0c1e9a72.js.map +1 -0
- 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 +67 -0
- package/cjs/hooks/UNSAFE_useAnimation/__tests__/useAnimation.spec.js.map +1 -0
- 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 +62 -0
- package/cjs/hooks/UNSAFE_useFocusWithin/__tests__/useFocusWithin.spec.js.map +1 -0
- 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 +3 -3
- package/cjs/hooks/UNSAFE_useHover.js.map +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 +22 -19
- 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-3651c0e7.js +66 -0
- package/cjs/index-3651c0e7.js.map +1 -0
- package/cjs/index-55dfe40c.js +409 -0
- package/cjs/index-55dfe40c.js.map +1 -0
- package/cjs/index-d5067e50.js +78 -0
- package/cjs/index-d5067e50.js.map +1 -0
- package/cjs/keys-326d80d5.js +128 -0
- package/cjs/keys-326d80d5.js.map +1 -0
- package/cjs/listViewSelectionTests-9cb118a1.js +1391 -0
- package/cjs/listViewSelectionTests-9cb118a1.js.map +1 -0
- package/cjs/listViewTabbableModeTests-ebfa7a24.js +117 -0
- package/cjs/listViewTabbableModeTests-ebfa7a24.js.map +1 -0
- package/cjs/listViewTestFixtures-eb39b1f7.js +44 -0
- package/cjs/listViewTestFixtures-eb39b1f7.js.map +1 -0
- package/cjs/menuTestsUtils-466a1cfa.js +39 -0
- package/cjs/menuTestsUtils-466a1cfa.js.map +1 -0
- package/cjs/resources/nls/ar/bundle.js +4 -2
- package/cjs/resources/nls/ar/bundle.js.map +1 -1
- package/cjs/resources/nls/ar-XB/bundle.js +4 -2
- package/cjs/resources/nls/ar-XB/bundle.js.map +1 -1
- package/cjs/resources/nls/bg/bundle.js +4 -2
- package/cjs/resources/nls/bg/bundle.js.map +1 -1
- package/cjs/resources/nls/bs/bundle.js +4 -2
- package/cjs/resources/nls/bs/bundle.js.map +1 -1
- package/cjs/resources/nls/bs-Cyrl/bundle.js +4 -2
- 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 +4 -2
- package/cjs/resources/nls/cs/bundle.js.map +1 -1
- package/cjs/resources/nls/da/bundle.js +5 -3
- package/cjs/resources/nls/da/bundle.js.map +1 -1
- package/cjs/resources/nls/de/bundle.js +4 -2
- package/cjs/resources/nls/de/bundle.js.map +1 -1
- package/cjs/resources/nls/el/bundle.js +4 -2
- 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 +4 -2
- package/cjs/resources/nls/en-XA/bundle.js.map +1 -1
- package/cjs/resources/nls/en-XC/bundle.js +4 -2
- package/cjs/resources/nls/en-XC/bundle.js.map +1 -1
- package/cjs/resources/nls/es/bundle.js +4 -2
- package/cjs/resources/nls/es/bundle.js.map +1 -1
- package/cjs/resources/nls/et/bundle.js +4 -2
- package/cjs/resources/nls/et/bundle.js.map +1 -1
- package/cjs/resources/nls/fi/bundle.js +4 -2
- package/cjs/resources/nls/fi/bundle.js.map +1 -1
- package/cjs/resources/nls/fr/bundle.js +4 -2
- package/cjs/resources/nls/fr/bundle.js.map +1 -1
- package/cjs/resources/nls/fr-CA/bundle.js +4 -2
- package/cjs/resources/nls/fr-CA/bundle.js.map +1 -1
- package/cjs/resources/nls/he/bundle.js +4 -2
- package/cjs/resources/nls/he/bundle.js.map +1 -1
- package/cjs/resources/nls/hr/bundle.js +4 -2
- package/cjs/resources/nls/hr/bundle.js.map +1 -1
- package/cjs/resources/nls/hu/bundle.js +6 -4
- package/cjs/resources/nls/hu/bundle.js.map +1 -1
- package/cjs/resources/nls/is/bundle.js +4 -2
- package/cjs/resources/nls/is/bundle.js.map +1 -1
- package/cjs/resources/nls/it/bundle.js +4 -2
- package/cjs/resources/nls/it/bundle.js.map +1 -1
- package/cjs/resources/nls/ja/bundle.js +4 -2
- package/cjs/resources/nls/ja/bundle.js.map +1 -1
- package/cjs/resources/nls/ko/bundle.js +4 -2
- package/cjs/resources/nls/ko/bundle.js.map +1 -1
- package/cjs/resources/nls/lt/bundle.js +4 -2
- package/cjs/resources/nls/lt/bundle.js.map +1 -1
- package/cjs/resources/nls/lv/bundle.js +4 -2
- package/cjs/resources/nls/lv/bundle.js.map +1 -1
- package/cjs/resources/nls/ms/bundle.js +4 -2
- package/cjs/resources/nls/ms/bundle.js.map +1 -1
- package/cjs/resources/nls/nl/bundle.js +4 -2
- package/cjs/resources/nls/nl/bundle.js.map +1 -1
- package/cjs/resources/nls/no/bundle.js +4 -2
- package/cjs/resources/nls/no/bundle.js.map +1 -1
- package/cjs/resources/nls/pl/bundle.js +4 -2
- package/cjs/resources/nls/pl/bundle.js.map +1 -1
- package/cjs/resources/nls/pt/bundle.js +4 -2
- package/cjs/resources/nls/pt/bundle.js.map +1 -1
- package/cjs/resources/nls/pt-PT/bundle.js +4 -2
- package/cjs/resources/nls/pt-PT/bundle.js.map +1 -1
- package/cjs/resources/nls/ro/bundle.js +4 -2
- package/cjs/resources/nls/ro/bundle.js.map +1 -1
- package/cjs/resources/nls/ru/bundle.js +4 -2
- package/cjs/resources/nls/ru/bundle.js.map +1 -1
- package/cjs/resources/nls/sk/bundle.js +4 -2
- package/cjs/resources/nls/sk/bundle.js.map +1 -1
- package/cjs/resources/nls/sl/bundle.js +4 -2
- package/cjs/resources/nls/sl/bundle.js.map +1 -1
- package/cjs/resources/nls/sr/bundle.js +4 -2
- package/cjs/resources/nls/sr/bundle.js.map +1 -1
- package/cjs/resources/nls/sr-Latn/bundle.js +4 -2
- 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 +4 -2
- package/cjs/resources/nls/sv/bundle.js.map +1 -1
- package/cjs/resources/nls/th/bundle.js +4 -2
- package/cjs/resources/nls/th/bundle.js.map +1 -1
- package/cjs/resources/nls/tr/bundle.js +4 -2
- package/cjs/resources/nls/tr/bundle.js.map +1 -1
- package/cjs/resources/nls/uk/bundle.js +4 -2
- package/cjs/resources/nls/uk/bundle.js.map +1 -1
- package/cjs/resources/nls/vi/bundle.js +4 -2
- package/cjs/resources/nls/vi/bundle.js.map +1 -1
- package/cjs/resources/nls/zh-Hans/bundle.js +4 -2
- package/cjs/resources/nls/zh-Hans/bundle.js.map +1 -1
- package/cjs/resources/nls/zh-Hant/bundle.js +4 -2
- package/cjs/resources/nls/zh-Hant/bundle.js.map +1 -1
- package/cjs/stringUtils-dad38408.js +90 -0
- package/cjs/stringUtils-dad38408.js.map +1 -0
- package/cjs/testHelpers-81b8b24e.js +37 -0
- package/cjs/testHelpers-81b8b24e.js.map +1 -0
- package/cjs/translationBundle/__tests__/translationBundle.spec.js +20 -0
- package/cjs/translationBundle/__tests__/translationBundle.spec.js.map +1 -0
- package/cjs/translationBundle.js +1 -1
- package/cjs/tslib.es6-6f60dd09.js +246 -0
- package/cjs/tslib.es6-6f60dd09.js.map +1 -0
- package/cjs/useAnimation-576ef8bc.js +248 -0
- package/cjs/useAnimation-576ef8bc.js.map +1 -0
- package/cjs/useFocusWithin-145e8682.js +50 -0
- package/cjs/useFocusWithin-145e8682.js.map +1 -0
- package/cjs/useModal-0b4e4a2d.js +47 -0
- package/cjs/useModal-0b4e4a2d.js.map +1 -0
- package/cjs/useSingleSelection-4d75b90d.js +43 -0
- package/cjs/useSingleSelection-4d75b90d.js.map +1 -0
- package/cjs/utils/PRIVATE_clientHints/__tests__/clientHints.spec.js +23 -0
- package/cjs/utils/PRIVATE_clientHints/__tests__/clientHints.spec.js.map +1 -0
- 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 +21 -3
- package/cjs/utils/PRIVATE_meterUtils.js.map +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 +15 -0
- package/cjs/utils/UNSAFE_classNames/classNames.spec.js.map +1 -0
- 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 +20 -0
- package/cjs/utils/UNSAFE_dvtCommonUtils.js.map +1 -0
- 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 +63 -0
- package/cjs/utils/UNSAFE_interpolations/flexbox/flexbox.spec.js.map +1 -0
- package/cjs/utils/UNSAFE_interpolations/flexbox.js +5 -5
- package/cjs/utils/UNSAFE_interpolations/flexitem/flexitem.spec.js +28 -0
- package/cjs/utils/UNSAFE_interpolations/flexitem/flexitem.spec.js.map +1 -0
- 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 +83 -0
- package/cjs/utils/UNSAFE_stringUtils/stringUtils.spec.js.map +1 -0
- 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-d72880bc.js +60 -0
- package/es/ClearIcon-d72880bc.js.map +1 -0
- package/es/LoadMoreCollection-735f7102.js +64 -0
- package/es/LoadMoreCollection-735f7102.js.map +1 -0
- 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 +63 -27
- package/es/PRIVATE_SelectCommon.js.map +1 -1
- package/es/PRIVATE_TransitionGroup.js +1 -1
- package/es/PRIVATE_VirtualizedCollection.js +1 -1
- package/es/Theme-redwood/theme.css +45 -9
- package/es/Theme-stable/theme.css +65 -5
- package/es/UNSAFE_AspectRatio.css +1 -1
- package/es/UNSAFE_AspectRatio.js +7 -7
- package/es/UNSAFE_AspectRatio.js.map +1 -1
- 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 +41 -25
- package/es/UNSAFE_BaseButton.js.map +1 -1
- package/es/UNSAFE_Button.css +7 -8
- package/es/UNSAFE_Button.js +16 -17
- 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 +17 -25
- 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 +47 -26
- package/es/UNSAFE_Floating.js.map +1 -1
- 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_HiddenAccessible.js.map +1 -1
- package/es/UNSAFE_HighlightText.css +1 -1
- package/es/UNSAFE_HighlightText.js +2 -2
- package/es/UNSAFE_HighlightText.js.map +1 -1
- package/es/UNSAFE_Icon.css +8 -21
- package/es/UNSAFE_Icon.js +18 -32
- package/es/UNSAFE_Icon.js.map +1 -1
- package/es/UNSAFE_Icons.js +5 -4
- package/es/UNSAFE_Icons.js.map +1 -1
- package/es/UNSAFE_Indexer.css +7 -7
- package/es/UNSAFE_Indexer.js +15 -15
- package/es/UNSAFE_Indexer.js.map +1 -1
- package/es/UNSAFE_InputPassword.css +1 -1
- package/es/UNSAFE_InputPassword.js +10 -10
- package/es/UNSAFE_InputText.css +1 -1
- package/es/UNSAFE_InputText.js +9 -9
- package/es/UNSAFE_Label.css +13 -13
- package/es/UNSAFE_Label.js +15 -15
- package/es/UNSAFE_Label.js.map +1 -1
- package/es/UNSAFE_LabelValueLayout.css +9 -9
- package/es/UNSAFE_LabelValueLayout.js +16 -16
- package/es/UNSAFE_LabelValueLayout.js.map +1 -1
- package/es/UNSAFE_Layer.js +1 -1
- package/es/UNSAFE_Link.css +5 -5
- package/es/UNSAFE_Link.js +10 -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 +25 -17
- package/es/UNSAFE_Menu.js +278 -107
- 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 -43
- package/es/UNSAFE_MeterBar.js +54 -49
- package/es/UNSAFE_MeterBar.js.map +1 -1
- package/es/UNSAFE_MeterCircle.css +46 -46
- package/es/UNSAFE_MeterCircle.js +52 -51
- package/es/UNSAFE_MeterCircle.js.map +1 -1
- package/es/UNSAFE_Modal.css +3 -3
- package/es/UNSAFE_Modal.js +9 -47
- package/es/UNSAFE_Modal.js.map +1 -1
- 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 +9 -8
- package/es/UNSAFE_ProgressCircle.js.map +1 -1
- package/es/UNSAFE_RatingGauge.css +20 -20
- package/es/UNSAFE_RatingGauge.js +117 -72
- package/es/UNSAFE_RatingGauge.js.map +1 -1
- package/es/UNSAFE_SelectMultiple.css +1 -1
- package/es/UNSAFE_SelectMultiple.js +19 -14
- package/es/UNSAFE_SelectMultiple.js.map +1 -1
- package/es/UNSAFE_SelectSingle.js +18 -13
- package/es/UNSAFE_SelectSingle.js.map +1 -1
- package/es/UNSAFE_Selector.css +5 -5
- package/es/UNSAFE_Selector.js +14 -14
- 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 +17 -14
- package/es/UNSAFE_SplitMenuButton.js.map +1 -1
- package/es/UNSAFE_Subheading.css +8 -0
- package/es/UNSAFE_Subheading.js +11008 -0
- package/es/UNSAFE_Subheading.js.map +1 -0
- 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 +5 -4
- package/es/UNSAFE_ThemedIcons.js.map +1 -1
- 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-ab762f3c.js +68 -0
- package/es/_curry1-ab762f3c.js.map +1 -0
- package/es/_curry2-9cf34233.js +46 -0
- package/es/_curry2-9cf34233.js.map +1 -0
- package/es/_curry3-77af75f1.js +68 -0
- package/es/_curry3-77af75f1.js.map +1 -0
- package/es/_has-e54ed87c.js +12 -0
- package/es/_has-e54ed87c.js.map +1 -0
- 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 +3 -3
- package/es/hooks/UNSAFE_useHover.js.map +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 +19 -16
- 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-8cf878d9.js +396 -0
- package/es/index-8cf878d9.js.map +1 -0
- package/es/keys-6f2f2841.js +126 -0
- package/es/keys-6f2f2841.js.map +1 -0
- package/es/resources/nls/ar/bundle.js +4 -2
- package/es/resources/nls/ar/bundle.js.map +1 -1
- package/es/resources/nls/ar-XB/bundle.js +4 -2
- package/es/resources/nls/ar-XB/bundle.js.map +1 -1
- package/es/resources/nls/bg/bundle.js +4 -2
- package/es/resources/nls/bg/bundle.js.map +1 -1
- package/es/resources/nls/bs/bundle.js +4 -2
- package/es/resources/nls/bs/bundle.js.map +1 -1
- package/es/resources/nls/bs-Cyrl/bundle.js +4 -2
- 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 +4 -2
- package/es/resources/nls/cs/bundle.js.map +1 -1
- package/es/resources/nls/da/bundle.js +5 -3
- package/es/resources/nls/da/bundle.js.map +1 -1
- package/es/resources/nls/de/bundle.js +4 -2
- package/es/resources/nls/de/bundle.js.map +1 -1
- package/es/resources/nls/el/bundle.js +4 -2
- 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 +4 -2
- package/es/resources/nls/en-XA/bundle.js.map +1 -1
- package/es/resources/nls/en-XC/bundle.js +4 -2
- package/es/resources/nls/en-XC/bundle.js.map +1 -1
- package/es/resources/nls/es/bundle.js +4 -2
- package/es/resources/nls/es/bundle.js.map +1 -1
- package/es/resources/nls/et/bundle.js +4 -2
- package/es/resources/nls/et/bundle.js.map +1 -1
- package/es/resources/nls/fi/bundle.js +4 -2
- package/es/resources/nls/fi/bundle.js.map +1 -1
- package/es/resources/nls/fr/bundle.js +4 -2
- package/es/resources/nls/fr/bundle.js.map +1 -1
- package/es/resources/nls/fr-CA/bundle.js +4 -2
- package/es/resources/nls/fr-CA/bundle.js.map +1 -1
- package/es/resources/nls/he/bundle.js +4 -2
- package/es/resources/nls/he/bundle.js.map +1 -1
- package/es/resources/nls/hr/bundle.js +4 -2
- package/es/resources/nls/hr/bundle.js.map +1 -1
- package/es/resources/nls/hu/bundle.js +6 -4
- package/es/resources/nls/hu/bundle.js.map +1 -1
- package/es/resources/nls/is/bundle.js +4 -2
- package/es/resources/nls/is/bundle.js.map +1 -1
- package/es/resources/nls/it/bundle.js +4 -2
- package/es/resources/nls/it/bundle.js.map +1 -1
- package/es/resources/nls/ja/bundle.js +4 -2
- package/es/resources/nls/ja/bundle.js.map +1 -1
- package/es/resources/nls/ko/bundle.js +4 -2
- package/es/resources/nls/ko/bundle.js.map +1 -1
- package/es/resources/nls/lt/bundle.js +4 -2
- package/es/resources/nls/lt/bundle.js.map +1 -1
- package/es/resources/nls/lv/bundle.js +4 -2
- package/es/resources/nls/lv/bundle.js.map +1 -1
- package/es/resources/nls/ms/bundle.js +4 -2
- package/es/resources/nls/ms/bundle.js.map +1 -1
- package/es/resources/nls/nl/bundle.js +4 -2
- package/es/resources/nls/nl/bundle.js.map +1 -1
- package/es/resources/nls/no/bundle.js +4 -2
- package/es/resources/nls/no/bundle.js.map +1 -1
- package/es/resources/nls/pl/bundle.js +4 -2
- package/es/resources/nls/pl/bundle.js.map +1 -1
- package/es/resources/nls/pt/bundle.js +4 -2
- package/es/resources/nls/pt/bundle.js.map +1 -1
- package/es/resources/nls/pt-PT/bundle.js +4 -2
- package/es/resources/nls/pt-PT/bundle.js.map +1 -1
- package/es/resources/nls/ro/bundle.js +4 -2
- package/es/resources/nls/ro/bundle.js.map +1 -1
- package/es/resources/nls/ru/bundle.js +4 -2
- package/es/resources/nls/ru/bundle.js.map +1 -1
- package/es/resources/nls/sk/bundle.js +4 -2
- package/es/resources/nls/sk/bundle.js.map +1 -1
- package/es/resources/nls/sl/bundle.js +4 -2
- package/es/resources/nls/sl/bundle.js.map +1 -1
- package/es/resources/nls/sr/bundle.js +4 -2
- package/es/resources/nls/sr/bundle.js.map +1 -1
- package/es/resources/nls/sr-Latn/bundle.js +4 -2
- 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 +4 -2
- package/es/resources/nls/sv/bundle.js.map +1 -1
- package/es/resources/nls/th/bundle.js +4 -2
- package/es/resources/nls/th/bundle.js.map +1 -1
- package/es/resources/nls/tr/bundle.js +4 -2
- package/es/resources/nls/tr/bundle.js.map +1 -1
- package/es/resources/nls/uk/bundle.js +4 -2
- package/es/resources/nls/uk/bundle.js.map +1 -1
- package/es/resources/nls/vi/bundle.js +4 -2
- package/es/resources/nls/vi/bundle.js.map +1 -1
- package/es/resources/nls/zh-Hans/bundle.js +4 -2
- package/es/resources/nls/zh-Hans/bundle.js.map +1 -1
- package/es/resources/nls/zh-Hant/bundle.js +4 -2
- package/es/resources/nls/zh-Hant/bundle.js.map +1 -1
- package/es/translationBundle.js +1 -1
- package/es/tslib.es6-821b2d99.js +244 -0
- package/es/tslib.es6-821b2d99.js.map +1 -0
- package/es/useModal-beb96266.js +45 -0
- package/es/useModal-beb96266.js.map +1 -0
- package/es/useSingleSelection-cba7bc13.js +41 -0
- package/es/useSingleSelection-cba7bc13.js.map +1 -0
- package/es/utils/PRIVATE_clientHints.js +49 -15
- package/es/utils/PRIVATE_clientHints.js.map +1 -1
- package/es/utils/PRIVATE_collectionUtils.js +1 -1
- package/es/utils/PRIVATE_dvtTestUtils.js +1 -1
- package/es/utils/PRIVATE_floatingUtils.js +1 -1
- package/es/utils/PRIVATE_meterUtils.js +20 -4
- package/es/utils/PRIVATE_meterUtils.js.map +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 +16 -0
- package/es/utils/UNSAFE_dvtCommonUtils.js.map +1 -0
- 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/types/UNSAFE_BaseButton/BaseButton.d.ts +12 -5
- package/types/UNSAFE_Button/Button.d.ts +11 -4
- package/types/UNSAFE_Button/ButtonLayout.d.ts +0 -1
- package/types/UNSAFE_Floating/Floating.d.ts +38 -0
- package/types/UNSAFE_Heading/Heading.d.ts +1 -1
- package/types/UNSAFE_Icon/Icon.d.ts +2 -16
- package/types/UNSAFE_Link/Link.d.ts +9 -1
- package/types/UNSAFE_Menu/DropdownMenu.d.ts +3 -0
- package/types/UNSAFE_Menu/Menu.d.ts +2 -2
- package/types/UNSAFE_Menu/MenuContainer.d.ts +15 -0
- package/types/UNSAFE_Menu/SheetMenu.d.ts +3 -0
- package/types/UNSAFE_Menu/useMenuContext.d.ts +1 -1
- package/types/UNSAFE_Menu/useMenuSwipe.d.ts +20 -0
- package/types/UNSAFE_MeterBar/ReferenceLines.d.ts +2 -1
- package/types/UNSAFE_MeterBar/ThresholdBar.d.ts +2 -1
- package/types/UNSAFE_MeterCircle/CircularReferenceLine.d.ts +2 -1
- package/types/UNSAFE_Popup/Popup.d.ts +46 -9
- package/types/UNSAFE_RatingGauge/RatingGauge.d.ts +6 -0
- package/types/UNSAFE_RatingGauge/RatingUtils.d.ts +28 -0
- package/types/UNSAFE_RatingGauge/useTooltipOrDatatip.d.ts +3 -1
- package/types/UNSAFE_SelectMultiple/useSelectMultiple.d.ts +2 -0
- package/types/UNSAFE_SelectSingle/useSelectSingle.d.ts +2 -0
- package/types/UNSAFE_Subheading/Subheading.d.ts +23 -0
- package/types/UNSAFE_Subheading/index.d.ts +1 -0
- package/types/resources/nls/bundle.d.ts +2 -0
- package/types/utils/UNSAFE_dvtCommonUtils/dvtCommonUtils.d.ts +8 -0
- package/types/utils/UNSAFE_dvtCommonUtils/index.d.ts +1 -0
- package/types/utils/UNSAFE_meterTypes/meterTypes.d.ts +7 -3
- package/amd/Badge-7df5d353.js +0 -2
- package/amd/Badge-7df5d353.js.map +0 -1
- package/amd/BaseButton-7b3d7ae3.js +0 -2
- package/amd/BaseButton-7b3d7ae3.js.map +0 -1
- package/amd/Button-d575f4d8.js +0 -2
- package/amd/Button-d575f4d8.js.map +0 -1
- package/amd/Chip-c048386f.js +0 -2
- package/amd/Chip-c048386f.js.map +0 -1
- package/amd/ClearIcon-758f35e3.js +0 -2
- package/amd/ClearIcon-758f35e3.js.map +0 -1
- package/amd/Collection-25c13095.js +0 -2
- package/amd/Collection-25c13095.js.map +0 -1
- package/amd/ComponentMessage-e718a00c.js +0 -2
- package/amd/ComponentMessage-e718a00c.js.map +0 -1
- package/amd/ComponentMessageContainer-b043c5d9.js +0 -2
- package/amd/ComponentMessageContainer-b043c5d9.js.map +0 -1
- package/amd/Divider-0e4c5047.js +0 -2
- package/amd/Divider-0e4c5047.js.map +0 -1
- package/amd/FilePicker-89374ddb.js +0 -2
- package/amd/FilePicker-89374ddb.js.map +0 -1
- package/amd/Flex-95e67964.js +0 -2
- package/amd/Flex-95e67964.js.map +0 -1
- package/amd/Floating-d29f2f68.js +0 -2
- package/amd/Floating-d29f2f68.js.map +0 -1
- package/amd/FocusTrap-dea153a7.js +0 -2
- package/amd/FocusTrap-dea153a7.js.map +0 -1
- package/amd/FormControlUtils-9cd3baeb.js +0 -2
- package/amd/FormControlUtils-9cd3baeb.js.map +0 -1
- package/amd/Heading-d20ac2b9.js +0 -2
- package/amd/Heading-d20ac2b9.js.map +0 -1
- package/amd/HiddenAccessible-c8f46f15.js +0 -2
- package/amd/HiddenAccessible-c8f46f15.js.map +0 -1
- package/amd/HighlightText-794dd54c.js +0 -2
- package/amd/HighlightText-794dd54c.js.map +0 -1
- package/amd/Icon-f927c830.js +0 -2
- package/amd/Icon-f927c830.js.map +0 -1
- package/amd/Indexer-4d403dee.js +0 -2
- package/amd/Indexer-4d403dee.js.map +0 -1
- package/amd/InlineHelpSource-513565b7.js +0 -2
- package/amd/InlineHelpSource-513565b7.js.map +0 -1
- package/amd/Link-f71fccc3.js +0 -2
- package/amd/Link-f71fccc3.js.map +0 -1
- package/amd/List-783f42fa.js +0 -2
- package/amd/List-783f42fa.js.map +0 -1
- package/amd/ListItemTextLayout-4aa65b0a.js +0 -2
- package/amd/ListItemTextLayout-4aa65b0a.js.map +0 -1
- package/amd/ListView-204b0aac.js +0 -2
- package/amd/ListView-204b0aac.js.map +0 -1
- package/amd/LoadMoreCollection-b4c4c44b.js +0 -2
- package/amd/LoadMoreCollection-b4c4c44b.js.map +0 -1
- package/amd/Menu-cdfe9d77.js +0 -2
- package/amd/Menu-cdfe9d77.js.map +0 -1
- package/amd/MenuDivider-3a14aef5.js +0 -2
- package/amd/MenuDivider-3a14aef5.js.map +0 -1
- package/amd/MenuItem-2ab61cb2.js +0 -2
- package/amd/MenuItem-2ab61cb2.js.map +0 -1
- package/amd/Message.types-c19a2d25.js +0 -2
- package/amd/Message.types-c19a2d25.js.map +0 -1
- package/amd/MessageCloseButton-970cbd82.js +0 -2
- package/amd/MessageCloseButton-970cbd82.js.map +0 -1
- package/amd/MessageDetail-ddfaa852.js +0 -2
- package/amd/MessageDetail-ddfaa852.js.map +0 -1
- package/amd/MessageFormattingUtils-fbc95605.js +0 -2
- package/amd/MessageFormattingUtils-fbc95605.js.map +0 -1
- package/amd/MessageLayer-a16ace03.js +0 -2
- package/amd/MessageLayer-a16ace03.js.map +0 -1
- package/amd/MessageStartIcon-0470534b.js +0 -2
- package/amd/MessageStartIcon-0470534b.js.map +0 -1
- package/amd/MessageSummary-71773382.js +0 -2
- package/amd/MessageSummary-71773382.js.map +0 -1
- package/amd/MessageTimestamp-2f08c777.js +0 -2
- package/amd/MessageTimestamp-2f08c777.js.map +0 -1
- package/amd/MessageToast-0e3cd004.js +0 -2
- package/amd/MessageToast-0e3cd004.js.map +0 -1
- package/amd/MessageUtils-9295af3b.js +0 -2
- package/amd/MessageUtils-9295af3b.js.map +0 -1
- package/amd/MessagesManager-4b874934.js +0 -2
- package/amd/MessagesManager-4b874934.js.map +0 -1
- package/amd/MeterCircle-8a82db8e.js +0 -2
- package/amd/MeterCircle-8a82db8e.js.map +0 -1
- package/amd/Modal-291735e8.js +0 -2
- package/amd/Modal-291735e8.js.map +0 -1
- package/amd/NumberInputText-ca8f3aea.js +0 -2
- package/amd/NumberInputText-ca8f3aea.js.map +0 -1
- package/amd/ReadonlyTextFieldInput-1d4e73e8.js +0 -2
- package/amd/ReadonlyTextFieldInput-1d4e73e8.js.map +0 -1
- package/amd/SelectMenuItem-29376708.js +0 -2
- package/amd/SelectMenuItem-29376708.js.map +0 -1
- package/amd/SelectMultiple-0d654661.js +0 -2
- package/amd/SelectMultiple-0d654661.js.map +0 -1
- package/amd/SelectSingle-057e8208.js +0 -2
- package/amd/SelectSingle-057e8208.js.map +0 -1
- package/amd/Skeleton-31275263.js +0 -2
- package/amd/Skeleton-31275263.js.map +0 -1
- package/amd/Spacer-bcde3cb4.js +0 -2
- package/amd/Spacer-bcde3cb4.js.map +0 -1
- package/amd/SplitMenuButton-a7f63424.js +0 -2
- package/amd/SplitMenuButton-a7f63424.js.map +0 -1
- package/amd/Text-617f0e96.js +0 -2
- package/amd/Text-617f0e96.js.map +0 -1
- package/amd/TextArea-2017accb.js +0 -2
- package/amd/TextArea-2017accb.js.map +0 -1
- package/amd/TextAreaAutosize-7f30edb6.js +0 -2
- package/amd/TextAreaAutosize-7f30edb6.js.map +0 -1
- package/amd/TextFieldInput-58386f8e.js +0 -2
- package/amd/TextFieldInput-58386f8e.js.map +0 -1
- package/amd/VirtualizedCollection-5ed8b8e9.js +0 -2
- package/amd/VirtualizedCollection-5ed8b8e9.js.map +0 -1
- package/amd/VirtualizedListView-c9cfc1f7.js +0 -2
- package/amd/VirtualizedListView-c9cfc1f7.js.map +0 -1
- package/amd/_curry1-8acb7bd9.js +0 -2
- package/amd/_curry1-8acb7bd9.js.map +0 -1
- package/amd/_curry2-217feee5.js +0 -2
- package/amd/_curry2-217feee5.js.map +0 -1
- package/amd/_curry3-3b4923a5.js +0 -2
- package/amd/_curry3-3b4923a5.js.map +0 -1
- package/amd/_has-eb5860ac.js +0 -2
- package/amd/_has-eb5860ac.js.map +0 -1
- package/amd/classNames-14cea078.js +0 -2
- package/amd/classNames-14cea078.js.map +0 -1
- package/amd/clientHints-4d8618df.js +0 -2
- package/amd/clientHints-4d8618df.js.map +0 -1
- package/amd/flexbox-341394e6.js +0 -2
- package/amd/flexbox-341394e6.js.map +0 -1
- package/amd/flexitem-aacf033d.js +0 -2
- package/amd/flexitem-aacf033d.js.map +0 -1
- package/amd/index-2155a66c.js +0 -2
- package/amd/index-2155a66c.js.map +0 -1
- package/amd/index-240ba9ad.js +0 -2
- package/amd/index-240ba9ad.js.map +0 -1
- package/amd/index-367c5592.js +0 -2
- package/amd/index-367c5592.js.map +0 -1
- package/amd/keys-5d739900.js +0 -2
- package/amd/keys-5d739900.js.map +0 -1
- package/amd/listViewSelectionTests-3b8622b2.js +0 -2
- package/amd/listViewSelectionTests-3b8622b2.js.map +0 -1
- package/amd/listViewTabbableModeTests-4b9750a4.js +0 -2
- package/amd/listViewTabbableModeTests-4b9750a4.js.map +0 -1
- package/amd/listViewTestFixtures-423c0431.js +0 -2
- package/amd/listViewTestFixtures-423c0431.js.map +0 -1
- package/amd/menuTestsUtils-3cb921bc.js +0 -2
- package/amd/menuTestsUtils-3cb921bc.js.map +0 -1
- package/amd/stringUtils-20539320.js +0 -2
- package/amd/stringUtils-20539320.js.map +0 -1
- package/amd/testHelpers-e493dca7.js +0 -2
- package/amd/testHelpers-e493dca7.js.map +0 -1
- package/amd/tslib.es6-10853083.js +0 -2
- package/amd/tslib.es6-10853083.js.map +0 -1
- package/amd/useAnimation-065d8744.js +0 -2
- package/amd/useAnimation-065d8744.js.map +0 -1
- package/amd/useFocusWithin-b98535ba.js +0 -2
- package/amd/useFocusWithin-b98535ba.js.map +0 -1
- package/amd/useSingleSelection-b898433f.js +0 -2
- package/amd/useSingleSelection-b898433f.js.map +0 -1
- package/cjs/Badge-1a50236d.js +0 -43
- package/cjs/Badge-1a50236d.js.map +0 -1
- package/cjs/BaseButton-a7469a04.js +0 -162
- package/cjs/BaseButton-a7469a04.js.map +0 -1
- package/cjs/Button-fe2eda28.js +0 -75
- package/cjs/Button-fe2eda28.js.map +0 -1
- package/cjs/Chip-949fdcd8.js +0 -61
- package/cjs/Chip-949fdcd8.js.map +0 -1
- package/cjs/ClearIcon-d2568f59.js +0 -62
- package/cjs/ClearIcon-d2568f59.js.map +0 -1
- package/cjs/Collection-7aa184ad.js +0 -19
- package/cjs/Collection-7aa184ad.js.map +0 -1
- package/cjs/ComponentMessage-edb9431f.js +0 -54
- package/cjs/ComponentMessage-edb9431f.js.map +0 -1
- package/cjs/ComponentMessageContainer-98b5b547.js +0 -54
- package/cjs/ComponentMessageContainer-98b5b547.js.map +0 -1
- package/cjs/Divider-571316d9.js +0 -36
- package/cjs/Divider-571316d9.js.map +0 -1
- package/cjs/FilePicker-cbd0e4cc.js +0 -602
- package/cjs/FilePicker-cbd0e4cc.js.map +0 -1
- package/cjs/Flex-3e823e4a.js +0 -46
- package/cjs/Flex-3e823e4a.js.map +0 -1
- package/cjs/Floating-352d2eef.js +0 -316
- package/cjs/Floating-352d2eef.js.map +0 -1
- package/cjs/FocusTrap-22021a72.js +0 -149
- package/cjs/FocusTrap-22021a72.js.map +0 -1
- package/cjs/FormControlUtils-ff896d1e.js +0 -24
- package/cjs/FormControlUtils-ff896d1e.js.map +0 -1
- package/cjs/Heading-47e8471e.js +0 -77
- package/cjs/Heading-47e8471e.js.map +0 -1
- package/cjs/HiddenAccessible-698c629c.js +0 -26
- package/cjs/HiddenAccessible-698c629c.js.map +0 -1
- package/cjs/HighlightText-7dd1e9d4.js +0 -50
- package/cjs/HighlightText-7dd1e9d4.js.map +0 -1
- package/cjs/Icon-d2d443ea.js +0 -105
- package/cjs/Icon-d2d443ea.js.map +0 -1
- package/cjs/Indexer-4fd3e879.js +0 -534
- package/cjs/Indexer-4fd3e879.js.map +0 -1
- package/cjs/InlineHelpSource-b73646cf.js +0 -35
- package/cjs/InlineHelpSource-b73646cf.js.map +0 -1
- package/cjs/Link-7e0f7f49.js +0 -46
- package/cjs/Link-7e0f7f49.js.map +0 -1
- package/cjs/List-afdab8b8.js +0 -694
- package/cjs/List-afdab8b8.js.map +0 -1
- package/cjs/ListItemTextLayout-a0c3c5dc.js +0 -218
- package/cjs/ListItemTextLayout-a0c3c5dc.js.map +0 -1
- package/cjs/ListView-4fe91bd5.js +0 -18
- package/cjs/ListView-4fe91bd5.js.map +0 -1
- package/cjs/LoadMoreCollection-7aca80bb.js +0 -67
- package/cjs/LoadMoreCollection-7aca80bb.js.map +0 -1
- package/cjs/Menu-3ad53e2f.js +0 -311
- package/cjs/Menu-3ad53e2f.js.map +0 -1
- package/cjs/MenuDivider-6e7971f4.js +0 -22
- package/cjs/MenuDivider-6e7971f4.js.map +0 -1
- package/cjs/MenuItem-be81d53a.js +0 -167
- package/cjs/MenuItem-be81d53a.js.map +0 -1
- package/cjs/Message.types-ddbcc21d.js +0 -11
- package/cjs/Message.types-ddbcc21d.js.map +0 -1
- package/cjs/MessageCloseButton-a573c580.js +0 -51
- package/cjs/MessageCloseButton-a573c580.js.map +0 -1
- package/cjs/MessageDetail-1092a279.js +0 -66
- package/cjs/MessageDetail-1092a279.js.map +0 -1
- package/cjs/MessageFormattingUtils-2066d2ea.js +0 -106
- package/cjs/MessageFormattingUtils-2066d2ea.js.map +0 -1
- package/cjs/MessageLayer-dee665ae.js +0 -88
- package/cjs/MessageLayer-dee665ae.js.map +0 -1
- package/cjs/MessageStartIcon-83a9938c.js +0 -70
- package/cjs/MessageStartIcon-83a9938c.js.map +0 -1
- package/cjs/MessageSummary-67d38d78.js +0 -40
- package/cjs/MessageSummary-67d38d78.js.map +0 -1
- package/cjs/MessageTimestamp-2d917659.js +0 -40
- package/cjs/MessageTimestamp-2d917659.js.map +0 -1
- package/cjs/MessageToast-f3a495ed.js +0 -326
- package/cjs/MessageToast-f3a495ed.js.map +0 -1
- package/cjs/MessageUtils-8fbe3fc6.js +0 -139
- package/cjs/MessageUtils-8fbe3fc6.js.map +0 -1
- package/cjs/MessagesManager-019ae0ac.js +0 -117
- package/cjs/MessagesManager-019ae0ac.js.map +0 -1
- package/cjs/MeterCircle-77a4b612.js +0 -558
- package/cjs/MeterCircle-77a4b612.js.map +0 -1
- package/cjs/Modal-4bbcce08.js +0 -114
- package/cjs/Modal-4bbcce08.js.map +0 -1
- package/cjs/NumberInputText-f2a3f0b0.js +0 -276
- package/cjs/NumberInputText-f2a3f0b0.js.map +0 -1
- package/cjs/ReadonlyTextFieldInput-90c37b56.js +0 -121
- package/cjs/ReadonlyTextFieldInput-90c37b56.js.map +0 -1
- package/cjs/SelectMenuItem-8ce75f85.js +0 -65
- package/cjs/SelectMenuItem-8ce75f85.js.map +0 -1
- package/cjs/SelectMultiple-636bcdfc.js +0 -508
- package/cjs/SelectMultiple-636bcdfc.js.map +0 -1
- package/cjs/SelectSingle-4ed70f53.js +0 -371
- package/cjs/SelectSingle-4ed70f53.js.map +0 -1
- package/cjs/Skeleton-e4dc6f1a.js +0 -47
- package/cjs/Skeleton-e4dc6f1a.js.map +0 -1
- package/cjs/Spacer-c769293a.js +0 -21
- package/cjs/Spacer-c769293a.js.map +0 -1
- package/cjs/SplitMenuButton-696a5071.js +0 -201
- package/cjs/SplitMenuButton-696a5071.js.map +0 -1
- package/cjs/Text-ec8edbaf.js +0 -103
- package/cjs/Text-ec8edbaf.js.map +0 -1
- package/cjs/TextArea-42c1ea95.js +0 -151
- package/cjs/TextArea-42c1ea95.js.map +0 -1
- package/cjs/TextAreaAutosize-c845f889.js +0 -177
- package/cjs/TextAreaAutosize-c845f889.js.map +0 -1
- package/cjs/TextFieldInput-fb294714.js +0 -182
- package/cjs/TextFieldInput-fb294714.js.map +0 -1
- package/cjs/VirtualizedCollection-b3aee9b7.js +0 -186
- package/cjs/VirtualizedCollection-b3aee9b7.js.map +0 -1
- package/cjs/VirtualizedListView-6be610ef.js +0 -18
- package/cjs/VirtualizedListView-6be610ef.js.map +0 -1
- package/cjs/_curry1-0c9936f9.js +0 -71
- package/cjs/_curry1-0c9936f9.js.map +0 -1
- package/cjs/_curry2-cd666c1c.js +0 -48
- package/cjs/_curry2-cd666c1c.js.map +0 -1
- package/cjs/_curry3-5001f5b3.js +0 -70
- package/cjs/_curry3-5001f5b3.js.map +0 -1
- package/cjs/_has-67d1725c.js +0 -14
- package/cjs/_has-67d1725c.js.map +0 -1
- package/cjs/classNames-7f10ee6a.js +0 -17
- package/cjs/classNames-7f10ee6a.js.map +0 -1
- package/cjs/clientHints-1a5d69e6.js +0 -154
- package/cjs/clientHints-1a5d69e6.js.map +0 -1
- package/cjs/flexbox-d6c296f0.js +0 -42
- package/cjs/flexbox-d6c296f0.js.map +0 -1
- package/cjs/flexitem-f934b7ce.js +0 -42
- package/cjs/flexitem-f934b7ce.js.map +0 -1
- package/cjs/index-49c3372d.js +0 -78
- package/cjs/index-49c3372d.js.map +0 -1
- package/cjs/index-5601d484.js +0 -407
- package/cjs/index-5601d484.js.map +0 -1
- package/cjs/index-7d98bcb4.js +0 -66
- package/cjs/index-7d98bcb4.js.map +0 -1
- package/cjs/keys-c0dcee39.js +0 -128
- package/cjs/keys-c0dcee39.js.map +0 -1
- package/cjs/listViewSelectionTests-0e48455f.js +0 -1391
- package/cjs/listViewSelectionTests-0e48455f.js.map +0 -1
- package/cjs/listViewTabbableModeTests-475ba9ae.js +0 -117
- package/cjs/listViewTabbableModeTests-475ba9ae.js.map +0 -1
- package/cjs/listViewTestFixtures-f73dc9c2.js +0 -44
- package/cjs/listViewTestFixtures-f73dc9c2.js.map +0 -1
- package/cjs/menuTestsUtils-70699c8c.js +0 -39
- package/cjs/menuTestsUtils-70699c8c.js.map +0 -1
- package/cjs/stringUtils-2df763ee.js +0 -90
- package/cjs/stringUtils-2df763ee.js.map +0 -1
- package/cjs/testHelpers-b389d520.js +0 -37
- package/cjs/testHelpers-b389d520.js.map +0 -1
- package/cjs/tslib.es6-d16792a7.js +0 -246
- package/cjs/tslib.es6-d16792a7.js.map +0 -1
- package/cjs/useAnimation-5f1b45bd.js +0 -248
- package/cjs/useAnimation-5f1b45bd.js.map +0 -1
- package/cjs/useFocusWithin-aa648c4c.js +0 -50
- package/cjs/useFocusWithin-aa648c4c.js.map +0 -1
- package/cjs/useSingleSelection-c7fcf820.js +0 -43
- package/cjs/useSingleSelection-c7fcf820.js.map +0 -1
- package/es/ClearIcon-8647cedc.js +0 -60
- package/es/ClearIcon-8647cedc.js.map +0 -1
- package/es/LoadMoreCollection-ce6bdad0.js +0 -64
- package/es/LoadMoreCollection-ce6bdad0.js.map +0 -1
- package/es/_curry1-07944d69.js +0 -68
- package/es/_curry1-07944d69.js.map +0 -1
- package/es/_curry2-a84d0826.js +0 -46
- package/es/_curry2-a84d0826.js.map +0 -1
- package/es/_curry3-7e80cbe7.js +0 -68
- package/es/_curry3-7e80cbe7.js.map +0 -1
- package/es/_has-cac81ad0.js +0 -12
- package/es/_has-cac81ad0.js.map +0 -1
- package/es/index-49eb48c8.js +0 -394
- package/es/index-49eb48c8.js.map +0 -1
- package/es/keys-5f7fd29a.js +0 -126
- package/es/keys-5f7fd29a.js.map +0 -1
- package/es/tslib.es6-42f43b8d.js +0 -244
- package/es/tslib.es6-42f43b8d.js.map +0 -1
- package/es/useSingleSelection-c9db212f.js +0 -41
- package/es/useSingleSelection-c9db212f.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectSingle-35ace17a.js","sources":["../../src/UNSAFE_SelectSingle/SelectSingle.tsx","../../src/UNSAFE_SelectSingle/useSelectSingle.ts","../../src/UNSAFE_SelectSingle/useDisplayValue.ts"],"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 { ComponentProps, Fragment, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { MutableRef } from 'preact/hooks';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { useLoadingIndicatorTimer } from '../hooks/UNSAFE_useLoadingIndicatorTimer';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport { DataState } from '../UNSAFE_Collection';\nimport { Label } from '../UNSAFE_Label';\nimport { ListView } from '../UNSAFE_ListView';\nimport { LiveRegion } from '../UNSAFE_LiveRegion';\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { InlineUserAssistance } from '../UNSAFE_UserAssistance';\nimport { Item } from '../utils/UNSAFE_dataProvider';\nimport { Size } from '../utils/UNSAFE_size';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport {\n DefaultList,\n Dropdown,\n DropdownArrow,\n DropdownList,\n DropdownUserAssistance,\n EmptyResults,\n isBeforeDataFetch,\n isMobile\n} from '../PRIVATE_SelectCommon';\nimport { ItemTextType } from '../utils/UNSAFE_selectUtils';\nimport { useDisplayValue } from './useDisplayValue';\nimport { useSelectSingle } from './useSelectSingle';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '../resources/nls/bundle';\n\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props<K extends string | number, D extends Record<string, any>> = {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n ariaDescribedBy?: TextFieldInputProps['ariaDescribedBy'];\n /**\n * Text to provide guidance to help the user understand what data to enter or select.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n /**\n * Specifies data for the dropdown list.\n *\n * Note that the <code>itemText</code> property allows for customizing the rendering\n * of each data item.\n */\n data?: DataState<K, D> | null;\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n /**\n * Specifies whether the component is waiting for <code>valueItems</code> to load.\n * While loading, SelectSingle will show the progressive loading indicator in the text field.\n */\n isLoading?: boolean;\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n /**\n * Specifies for accessibility purposes whether a value is required.\n *\n * Setting this property to <code>false</code> means that a value is not required to be\n * selected by the user. Setting this property to <code>true</code> means that a value\n * is required to be selected by the user.\n */\n isRequired?: TextFieldInputProps['isRequired'];\n /**\n * Specifies whether to show an indicator on screen that a value is required, for example\n * before the user has selected a value.\n */\n isRequiredShown?: InlineUserAssistanceProps['isRequiredShown'];\n /**\n * Specifies how to get the text string to render for a data item.\n * This property can be set to either:\n * <ul>\n * <li>a string that specifies the name of a top level data attribute to render as text, or</li>\n * <li>a callback function that takes a properties object and returns the text string to\n * display.</li>\n * </ul>\n *\n * This text will be rendered for the selected <code>valueItems</code> of the component.\n * It will also be rendered for each item in the dropdown. When rendered for the\n * dropdown items, default matching search term highlighting will still be applied.\n */\n itemText: ItemTextType<K, D>;\n /**\n * Specifies the label associated with the field.\n */\n label: string;\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>\n */\n labelStartWidth?: Size;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * A short hint to display before the user selects or enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n /**\n * Specifies how to align text within the field.\n */\n textAlign?: TextFieldInputProps['textAlign'];\n /**\n * Specifies the density of the user assistance presentation. It can be set to:\n * <ul>\n * <li><code>'efficient'</code>: Show inline and reserve space to prevent layout reflow when user\n * assistance text is displayed.</li>\n * <li><code>'reflow'</code>: Show inline. Layout will reflow when text is displayed.</li>\n * </ul>\n */\n userAssistanceDensity?: InlineUserAssistanceProps['userAssistanceDensity'];\n /**\n * Specifies the key, data, and optional metadata for the selected value.\n */\n valueItem?: Item<K, D>;\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n /**\n * The type of virtual keyboard to display for entering a value on mobile browsers.\n * This property has no effect on desktop browsers.\n */\n virtualKeyboard?: 'auto' | 'email' | 'number' | 'search' | 'tel' | 'text' | 'url';\n /**\n * Callback invoked when the user commits the selected value.\n *\n * The function should set a new <code>valueItem</code> property.\n */\n onCommit: (detail: ValueUpdateDetail<K>) => void;\n /**\n * Callback function to trigger loading data for the dropdown list, which may or may not be\n * filtered by user entered search text.\n *\n * The function should set a new <code>DataState</code> as the <code>data</code> property.\n */\n onFilter?: ({ searchText }: { searchText?: string }) => void;\n /**\n * Callback function to handle when the viewport of the dropdown list has changed, for example\n * by scrolling, including the case where the user scrolls to the end of the list and there are\n * more items to load.\n *\n * The function should set a new <code>DataState</code> for the specified range as the\n * <code>data</code> property.\n */\n onLoadRange?: ComponentProps<typeof ListView>['onLoadRange'];\n};\n\n/**\n * A SelectSingle is a dropdown list that supports single selection and search filtering.\n */\nexport const SelectSingle = forwardRef(\n <K extends string | number, D extends Record<string, any>>(\n {\n ariaDescribedBy,\n assistiveText,\n data,\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isLoading: propIsLoading,\n isReadonly: propIsReadonly,\n isRequired,\n isRequiredShown,\n itemText,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n messages,\n onCommit,\n onFilter,\n onLoadRange,\n placeholder,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n valueItem,\n variant = 'default',\n virtualKeyboard\n }: Props<K, D>,\n ref?: Ref<FocusableHandle>\n ) => {\n const {\n isDisabled: isFormDisabled,\n isReadonly: isFormReadonly,\n labelEdge: formLabelEdge,\n labelStartWidth: formLabelStartWidth,\n textAlign: formTextAlign,\n userAssistanceDensity: formUserAssistanceDensity\n } = useFormContext();\n // default to FormContext values if component properties are not specified\n const isDisabled = propIsDisabled ?? isFormDisabled;\n const isReadonly = propIsReadonly ?? isFormReadonly;\n const labelEdge = propLabelEdge ?? formLabelEdge;\n const labelStartWidth = propLabelStartWidth ?? formLabelStartWidth;\n const textAlign = propTextAlign ?? formTextAlign;\n const userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;\n\n const {\n enabledElementRef,\n focusProps,\n isFocused: origIsFocused,\n readonlyElementRef\n } = useFocusableTextField<HTMLInputElement, HTMLDivElement>({ isDisabled, isReadonly, ref });\n\n const {\n collectionProps,\n dropdownArrowEventHandlers,\n dropdownEventHandlers,\n dropdownRef,\n inputEventHandlers,\n isDropdownAbove,\n isDropdownOpen,\n isFocused,\n isUserFiltering,\n mainFieldRef,\n mouseProps,\n searchText,\n userInput\n } = useSelectSingle<K, D>({\n data,\n inputRef: enabledElementRef as MutableRef<HTMLInputElement>,\n isDisabled,\n isFocused: origIsFocused,\n isReadonly,\n onCommit,\n onFilter,\n valueItem\n });\n\n // The incoming propIsLoading tells us that we are in a loading state, but we don't want to\n // show the loading indicator until after a delay, because showing it immediately could result\n // in unwanted flashing. The isLoading var below will be set to true by useLoadingIndicatorTimer\n // after the delay, when the timer expires, at which point we should show the loading indicator.\n // If propIsLoading is set to false before the timer expires, then the timer will be cancelled\n // and no loading indicator will be shown.\n // (ListView detects its loading state by checking data === null. While it would be nice for\n // us to be consistent and check valueItems === null, we need to use a separate isLoading prop.\n // If valueItems === null triggers our loading state, then the selections in the dropdown\n // are cleared for that period of time, which is undesirable.)\n const isLoading = useLoadingIndicatorTimer(propIsLoading ?? false);\n\n const {\n baseId,\n formFieldContext,\n inputProps,\n labelProps,\n textFieldProps,\n userAssistanceProps\n } = useTextField({\n ariaDescribedBy,\n isDisabled,\n isFocused,\n isLoading,\n isReadonly,\n labelEdge,\n messages,\n styleVariant: variant,\n value: valueItem !== undefined ? true : undefined\n });\n\n const dropdownId = `${baseId}-dropdown`;\n\n const displayValue = useDisplayValue(itemText, valueItem);\n\n const labelComp = labelEdge !== 'none' ? <Label {...labelProps}>{label}</Label> : undefined;\n\n const fieldLabelProps = {\n label: labelEdge !== 'none' ? labelComp : undefined,\n labelEdge: labelEdge !== 'none' ? labelEdge : undefined,\n labelStartWidth: labelEdge !== 'none' ? labelStartWidth : undefined\n };\n\n const ariaLabel = labelEdge === 'none' ? label : undefined;\n\n const inlineUserAssistance =\n isDisabled || isReadonly ? (\n // save space for user assistance if density is 'efficient', even though we don't\n // render user assistance for disabled or readonly fields\n userAssistanceDensity !== 'efficient' ? undefined : (\n <InlineUserAssistance\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n )\n ) : (\n <InlineUserAssistance\n assistiveText={assistiveText}\n fieldLabel={label}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n messages={messages}\n isRequiredShown={isRequiredShown}\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n );\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n\n if (isReadonly) {\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n inlineUserAssistance={inlineUserAssistance}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n {...fieldLabelProps}>\n <ReadonlyTextFieldInput\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={labelProps.id}\n as=\"div\"\n elementRef={readonlyElementRef}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n textAlign={textAlign}\n value={displayValue}\n />\n </ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n const isDataFetched = data !== undefined && data !== null && !isBeforeDataFetch<K, D>(data);\n const hasInsideLabel = labelComp !== undefined && labelEdge === 'inside';\n const liveRegionText =\n isDropdownOpen && isDataFetched\n ? data?.totalSize === 0\n ? translations.select_noMatchesFound()\n : data?.totalSize === 1\n ? translations.select_oneMatchFound()\n : data?.sizePrecision === 'exact'\n ? translations.select_sizeMatchesFound({ TOTAL_SIZE: `${data?.totalSize}` })\n : translations.select_sizeOrMoreMatchesFound({ TOTAL_SIZE: `${data?.totalSize}` })\n : '';\n\n const mainContent = (\n <Fragment>\n <TextFieldInput\n ariaAutoComplete=\"list\"\n ariaControls={dropdownId}\n ariaExpanded={isDropdownOpen}\n ariaLabel={ariaLabel}\n autoComplete=\"off\"\n hasInsideLabel={hasInsideLabel}\n inputRef={enabledElementRef}\n isRequired={isRequired}\n // onCommit={handleCommit}\n {...inputEventHandlers}\n placeholder={placeholder}\n role=\"combobox\"\n spellcheck={false}\n textAlign={textAlign}\n type={isMobile() ? (virtualKeyboard === 'auto' ? 'search' : virtualKeyboard) : undefined}\n value={isUserFiltering ? userInput : displayValue}\n {...inputProps}\n />\n <LiveRegion>{liveRegionText}</LiveRegion>\n </Fragment>\n );\n\n const dropdownArrow = (\n <DropdownArrow\n isDisabled={isDisabled}\n size={hasInsideLabel ? 'md' : 'sm'}\n {...dropdownArrowEventHandlers}\n />\n );\n\n const dropdownInlineUserAssistance =\n isDropdownOpen &&\n !isDropdownAbove &&\n !isDisabled &&\n !isReadonly &&\n (assistiveText || helpSourceLink) &&\n (userAssistanceDensity === 'efficient' || userAssistanceDensity === 'reflow') ? (\n <DropdownUserAssistance\n assistiveText={assistiveText}\n fieldLabel={label}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n userAssistanceDensity={userAssistanceDensity}\n />\n ) : undefined;\n\n const isEmptyResults = isDataFetched && data?.totalSize === 0;\n const dropdownListContent = isEmptyResults ? (\n <EmptyResults />\n ) : (\n <DefaultList<K, D>\n {...collectionProps}\n accessibleSummary={label ?? ''}\n currentItemVariant=\"highlight\"\n data={data}\n itemText={itemText}\n onLoadRange={onLoadRange}\n searchText={isUserFiltering ? searchText : undefined}\n selectionMode=\"single\"\n />\n );\n\n return (\n <Fragment>\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n endContent={isLoading ? undefined : dropdownArrow}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n mainFieldRef={mainFieldRef}\n onBlur={focusProps?.onfocusout}\n onFocus={focusProps?.onfocusin}\n {...textFieldProps}\n {...fieldLabelProps}\n {...mouseProps}\n />\n </FormFieldContext.Provider>\n <Dropdown\n dropdownRef={dropdownRef}\n id={dropdownId}\n isOpen={\n isDropdownOpen &&\n data !== undefined &&\n (data === null || data.totalSize > 0 || isBeforeDataFetch<K, D>(data) || isEmptyResults)\n }\n anchorRef={mainFieldRef}\n {...dropdownEventHandlers}>\n <DropdownList\n hasBottomGap={dropdownInlineUserAssistance === undefined}\n isLoading={data === null}>\n {dropdownListContent}\n </DropdownList>\n {dropdownInlineUserAssistance}\n </Dropdown>\n </Fragment>\n );\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 { ComponentProps } from 'preact';\nimport { MutableRef, useCallback, useEffect, useMemo, useRef } from 'preact/hooks';\nimport { DataState, ItemActionDetail } from '../UNSAFE_Collection';\nimport { Item } from '../utils/UNSAFE_dataProvider';\nimport { mergeProps } from '../utils/UNSAFE_mergeProps';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { isControlOrFunctionKey, KEYS, useSelectCommon } from '../PRIVATE_SelectCommon';\nimport { SelectSingle } from './SelectSingle';\n\ntype PickedPropsFromSelectSingle = Pick<\n ComponentProps<typeof SelectSingle>,\n 'isDisabled' | 'isReadonly' | 'onFilter'\n>;\ntype UseSelectSingleProps<K, D> = PickedPropsFromSelectSingle & {\n data?: DataState<K, D> | null;\n inputRef: MutableRef<HTMLInputElement>;\n isFocused?: boolean;\n onCommit: (detail: ValueUpdateDetail<K>) => void;\n valueItem?: Item<K, D>;\n};\n\n/**\n * Hook that manages SelectSingle state and behavior. This hook creates state variables and\n * event listeners, returning properties to apply to components internally rendered by\n * SelectSingle, as well as state information.\n *\n * @param data Specifies data for the dropdown list.\n * @param inputRef Ref to the input element.\n * @param isDisabled Specifies whether the component is disabled.\n * @param isFocused Specifies whether the component has focus.\n * @param isReadonly Specifies whether the component is readonly.\n * @param onCommit Callback invoked when the selected value is committed.\n * @param onFilter Callback function to trigger loading data for the dropdown list,\n * which may or may not be filtered by user entered text.\n * @param valueItem Specifies the key, data, and optional metadata for the selected value.\n *\n * @returns Properties to apply to internal components that SelectSingle renders, and component\n * state.\n */\nexport function useSelectSingle<K, D>({\n data,\n inputRef,\n isDisabled,\n isFocused: propIsFocused,\n isReadonly,\n onCommit: propOnCommit,\n onFilter,\n valueItem\n}: UseSelectSingleProps<K, D>) {\n const {\n currentRow,\n dropdownRef,\n handleDropdownArrowClick,\n handleDropdownAutoDismiss: baseHandleDropdownAutoDismiss,\n handleDropdownPosition,\n handleInput,\n handleMainFieldKeyDown: baseHandleMainFieldKeyDown,\n handleMainFieldKeyUp,\n isDropdownAbove,\n isDropdownOpen,\n isFocused,\n isUserFiltering,\n mainFieldRef,\n onCurrentKeyChange,\n onMouseDown,\n searchText,\n selectedKeys,\n setCurrentRow,\n setDropdownOpen,\n setSelectedKeys,\n stopFiltering,\n userInput\n } = useSelectCommon<K, D>({\n data,\n inputRef,\n isFocused: propIsFocused,\n onFilter\n });\n\n // refs used by some of the effects below to determine whether the effect needs to run,\n // for when the list of dependencies is longer than what we want the trigger to actually be\n const prevDataRef = useRef(data);\n const prevDropdownOpenRef = useRef(isDropdownOpen);\n const prevSearchText = useRef(searchText);\n\n const onCommit = useCallback(\n (value?: K) => {\n propOnCommit?.({\n value: value,\n previousValue: valueItem !== undefined ? valueItem.key : undefined\n });\n },\n [propOnCommit, valueItem]\n );\n\n const clearValue = useCallback(() => {\n setDropdownOpen(false);\n\n setSelectedKeys(new Set<K>());\n\n // call the onCommit callback so that the consuming code can update the valueItem\n onCommit(undefined);\n }, [onCommit]);\n\n const clearValueIfNeeded = useCallback(() => {\n if (isUserFiltering && userInput === '' && valueItem !== undefined) {\n clearValue();\n return true;\n }\n return false;\n }, [clearValue, isUserFiltering, userInput, valueItem]);\n\n // when the field loses focus, check to see if we need to clear the value\n useEffect(() => {\n if (!isFocused) {\n clearValueIfNeeded();\n }\n // only run when focus changes, at which point the current value of clearValueIfNeeded will\n // be used\n }, [isFocused]);\n\n const focusInput = useCallback(() => {\n inputRef.current?.focus();\n }, []);\n\n const removeDropdown = useCallback(() => {\n dropdownRef.current?.parentElement?.removeChild(dropdownRef.current);\n }, []);\n\n const myHandleDropdownAutoDismiss = useCallback(\n (event?: Event) => {\n if (isDropdownOpen) {\n if (event?.type === 'keydown') {\n const keyboardEvent = event as KeyboardEvent;\n switch (keyboardEvent.code) {\n case KEYS.TAB:\n // if there is a currentRow in the dropdown, select it and commit it\n if (currentRow !== undefined && currentRow.rowKey !== undefined) {\n setSelectedKeys(new Set<K>([currentRow.rowKey]));\n onCommit(currentRow.rowKey);\n }\n\n // Put focus on an element in the main field, but don't kill the event, so that\n // the browser can naturally transfer focus to the next focusable item relative\n // to the element in the main field.\n focusInput();\n\n // Remove the dropdown immediately, without waiting for a rerender based on changing\n // state, so that the open dropdown cannot get focus when the browser handles the\n // Tab key.\n removeDropdown();\n break;\n default:\n break;\n }\n }\n }\n },\n [currentRow, focusInput, isDropdownOpen, onCommit]\n );\n\n const myHandleMainFieldKeyDown = useCallback(\n (event: KeyboardEvent) => {\n // ignore control key and function key\n if (isControlOrFunctionKey(event)) {\n return;\n }\n\n switch (event.code) {\n case KEYS.TAB:\n // check whether we need to clear the value;\n // if not, check whether we need to select the current item\n const isValueClearedTab = clearValueIfNeeded();\n if (!isValueClearedTab && isDropdownOpen && data != null && data.data.length > 0) {\n // if there is a currentRow in the dropdown (meaning a highlighted item that would\n // have keyboard focus if the dropdown list had physical focus, which may be different\n // from the currently selected item), select it and commit it;\n // otherwise commit the currently selected value again so that a valueAction event\n // will be fired\n if (currentRow !== undefined && currentRow.rowKey !== undefined) {\n setSelectedKeys(new Set<K>([currentRow.rowKey]));\n onCommit(currentRow.rowKey);\n } else {\n onCommit(valueItem?.key ?? undefined);\n }\n }\n\n // Remove the dropdown immediately, without waiting for a rerender based on changing\n // state, so that the open dropdown cannot get focus when the browser handles the\n // Tab key.\n removeDropdown();\n\n setDropdownOpen(false);\n break;\n\n case KEYS.ENTER:\n // check whether we need to clear the value;\n // if not, check whether we need to select the current item\n const isValueCleared = clearValueIfNeeded();\n if (!isValueCleared && isDropdownOpen && data != null && data.data.length > 0) {\n setDropdownOpen(false);\n\n // after selecting a value, the user is no longer actively filtering, so update related\n // state accordingly so that the newly selected value appears in the field\n stopFiltering();\n\n // if there is a currentRow in the dropdown, select it and commit it;\n // otherwise commit the currently selected value again\n if (currentRow !== undefined && currentRow.rowKey !== undefined) {\n setSelectedKeys(new Set<K>([currentRow.rowKey]));\n onCommit(currentRow.rowKey);\n } else {\n onCommit(valueItem?.key ?? undefined);\n }\n }\n break;\n\n default:\n break;\n }\n },\n [clearValueIfNeeded, currentRow, data, isDropdownOpen, onCommit, valueItem]\n );\n\n // when the valueItem changes, save the new selectedKeys\n useEffect(() => {\n setSelectedKeys(valueItem === undefined ? undefined : new Set([valueItem.key]));\n }, [valueItem]);\n\n const onItemAction = useCallback(\n (detail: ItemActionDetail<K, D>) => {\n focusInput();\n setDropdownOpen(false);\n\n // after selecting a value, the user is no longer actively filtering, so update related\n // state accordingly so that the newly selected value appears in the field\n stopFiltering();\n\n const newKey = detail.context.metadata.key;\n // update the selectedKeys so that the selection visual state of the collection\n // updates immediately while waiting for a new valueItem to be set\n setSelectedKeys(new Set([newKey]));\n // call the onCommit callback so that the consuming code can update the valueItem\n onCommit(newKey);\n },\n [focusInput, onCommit]\n );\n\n useEffect(() => {\n // only run this effect when data changes because we need to wait for the new set of\n // filtered data to be set before highlighting the first result\n if (data === prevDataRef.current) {\n return;\n }\n\n // when filtering, set the first result of the filtered data set to be the current item\n // (check the data offset so we don't try to highlight again if the user scrolls through\n // the list and more data is fetched)\n if (\n isDropdownOpen &&\n isUserFiltering &&\n data != null &&\n data.offset === 0 &&\n data.data.length > 0\n ) {\n // if there are results and search text, highlight the first row, otherwise clear\n // an existing highlight\n setCurrentRow({\n rowKey:\n searchText !== undefined && searchText?.length > 0 ? data.data[0].metadata.key : undefined\n });\n }\n }, [data, isDropdownOpen, isUserFiltering, searchText]);\n\n useEffect(() => {\n // only run this effect when the state of the dropdown changes\n if (isDropdownOpen === prevDropdownOpenRef.current) {\n return;\n }\n\n // clear the current item when the dropdown opens if there is no filter text\n if (\n isDropdownOpen &&\n (!isUserFiltering || searchText === undefined || searchText.length === 0)\n ) {\n setCurrentRow({ rowKey: undefined });\n }\n }, [isDropdownOpen, isUserFiltering, searchText]);\n\n const dropdownEventHandlers = useMemo(() => {\n return mergeProps(\n {\n onAutoDismiss: baseHandleDropdownAutoDismiss,\n onPosition: handleDropdownPosition\n },\n { onAutoDismiss: myHandleDropdownAutoDismiss }\n );\n }, [baseHandleDropdownAutoDismiss, handleDropdownPosition, myHandleDropdownAutoDismiss]);\n\n const inputEventHandlers = useMemo(() => {\n return mergeProps(\n {\n onInput: handleInput,\n onKeyDown: baseHandleMainFieldKeyDown,\n onKeyUp: handleMainFieldKeyUp\n },\n { onKeyDown: myHandleMainFieldKeyDown }\n );\n }, [baseHandleMainFieldKeyDown, handleInput, handleMainFieldKeyUp, myHandleMainFieldKeyDown]);\n\n // update refs used in some of the above effects in a useEffect on every render so that they\n // update after the above effects run\n useEffect(() => {\n prevDataRef.current = data;\n prevDropdownOpenRef.current = isDropdownOpen;\n prevSearchText.current = searchText;\n });\n\n return {\n collectionProps: {\n currentKey: currentRow.rowKey,\n onCurrentKeyChange,\n onItemAction,\n selectedKeys\n },\n dropdownArrowEventHandlers: {\n onClick: handleDropdownArrowClick\n },\n dropdownEventHandlers,\n dropdownRef,\n inputEventHandlers,\n inputRef,\n isDropdownAbove,\n isDropdownOpen,\n isFocused,\n isUserFiltering,\n mainFieldRef,\n mouseProps: isDisabled || isReadonly ? {} : { onMouseDown },\n searchText,\n userInput\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 { useMemo } from 'preact/hooks';\nimport { Item } from '../utils/UNSAFE_dataProvider';\nimport { ItemTextType } from '../utils/UNSAFE_selectUtils';\nimport { renderItemText } from '../PRIVATE_SelectCommon';\n\nexport function useDisplayValue<K, D>(\n itemText: ItemTextType<K, D>,\n valueItem?: Item<K, D>\n): string {\n // create the text displayed in the field from the selected value\n const displayValue = useMemo(() => {\n return valueItem === undefined ? '' : renderItemText(valueItem, itemText) ?? '';\n }, [valueItem, itemText]);\n\n return displayValue;\n}\n"],"names":["SelectSingle","forwardRef","ariaDescribedBy","assistiveText","data","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","isLoading","propIsLoading","isReadonly","propIsReadonly","isRequired","isRequiredShown","itemText","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","messages","onCommit","onFilter","onLoadRange","placeholder","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","valueItem","variant","virtualKeyboard","ref","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","enabledElementRef","focusProps","isFocused","origIsFocused","readonlyElementRef","useFocusableTextField","collectionProps","dropdownArrowEventHandlers","dropdownEventHandlers","dropdownRef","inputEventHandlers","isDropdownAbove","isDropdownOpen","isUserFiltering","mainFieldRef","mouseProps","searchText","userInput","inputRef","propIsFocused","propOnCommit","currentRow","handleDropdownArrowClick","handleDropdownAutoDismiss","baseHandleDropdownAutoDismiss","handleDropdownPosition","handleInput","handleMainFieldKeyDown","baseHandleMainFieldKeyDown","handleMainFieldKeyUp","onCurrentKeyChange","onMouseDown","selectedKeys","setCurrentRow","setDropdownOpen","setSelectedKeys","stopFiltering","useSelectCommon","prevDataRef","useRef","prevDropdownOpenRef","prevSearchText","useCallback","value","previousValue","undefined","key","clearValue","Set","clearValueIfNeeded","useEffect","focusInput","_a","current","focus","removeDropdown","_b","parentElement","removeChild","myHandleDropdownAutoDismiss","event","type","code","KEYS","TAB","rowKey","myHandleMainFieldKeyDown","isControlOrFunctionKey","length","ENTER","onItemAction","detail","newKey","context","metadata","offset","useMemo","mergeProps","onAutoDismiss","onPosition","onInput","onKeyDown","onKeyUp","currentKey","onClick","useSelectSingle","useLoadingIndicatorTimer","baseId","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","dropdownId","displayValue","renderItemText","useDisplayValue","labelComp","_jsx","Label","Object","assign","fieldLabelProps","ariaLabel","inlineUserAssistance","jsx","InlineUserAssistance","fieldLabel","translations","useTranslationBundle","FormFieldContext","Provider","children","ReadonlyTextField","role","onBlur","onfocusout","onFocus","onfocusin","ReadonlyTextFieldInput","ariaLabelledBy","id","as","elementRef","hasInsideLabel","isDataFetched","isBeforeDataFetch","liveRegionText","totalSize","select_noMatchesFound","select_oneMatchFound","sizePrecision","select_sizeMatchesFound","TOTAL_SIZE","select_sizeOrMoreMatchesFound","mainContent","_jsxs","jsxs","Fragment","TextFieldInput","ariaAutoComplete","ariaControls","ariaExpanded","autoComplete","spellcheck","isMobile","LiveRegion","dropdownArrow","DropdownArrow","size","dropdownInlineUserAssistance","DropdownUserAssistance","isEmptyResults","dropdownListContent","EmptyResults","DefaultList","accessibleSummary","currentItemVariant","selectionMode","TextField","endContent","Dropdown","isOpen","anchorRef","DropdownList","hasBottomGap"],"mappings":"kjB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AATL,aACVgM,MAEFH"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
define(["exports","./tslib.es6-d8595453","preact/jsx-runtime",'module',"./utils/UNSAFE_classNames","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_mergeInterpolations","./utils/UNSAFE_interpolations/borders","./utils/UNSAFE_arrayUtils","./classNames-b7cf3c05"],function(s,t,r,e,i,a,n,o,l,c){"use strict";const u=l.stringLiteralArray(["height","width"]),d=l.stringLiteralArray(["borderRadius"]),m=Array.from(u,s=>a.dimensionInterpolations[s]),b=Array.from(d,s=>o.borderInterpolations[s]),A=[...Object.values(b),...Object.values(m)],p=n.mergeInterpolations(A),N="lsecum";s.Skeleton=function(s){var e=t.__rest(s,[]);const i=p(Object.assign({width:"100%",borderRadius:0},e)),a=c.classNames([N]);return r.jsx("div",{style:i,class:a})}});
|
|
2
|
+
//# sourceMappingURL=Skeleton-b8b725eb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton-b8b725eb.js","sources":["../../src/UNSAFE_Skeleton/Skeleton.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 */\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { dimensionInterpolations } from '../utils/UNSAFE_interpolations/dimensions';\nimport type { DimensionProps } from '../utils/UNSAFE_interpolations/dimensions';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\nimport { borderInterpolations } from '../utils/UNSAFE_interpolations/borders';\nimport type { BorderProps } from '../utils/UNSAFE_interpolations/borders';\nimport { stringLiteralArray } from '../utils/UNSAFE_arrayUtils';\nimport { WithRequired } from '../utils/UNSAFE_typeUtils';\n\nconst dimensions = stringLiteralArray(['height', 'width']);\ntype Dimension = typeof dimensions[number];\nconst border = stringLiteralArray(['borderRadius']);\ntype BorderRadius = typeof border[number];\n\n// This component has some StyleInterpolationProps. Those are the height and width properties of the SkeletonProps.\ntype StyleInterpolationProps = Pick<DimensionProps, Dimension>;\n// This component has some BorderRadiusProps, which is the borderRadius property of the SkeletonProps.\ntype BorderRadiusProps = Pick<BorderProps, BorderRadius>;\n//This type has StyleInterpolationProps and BorderRadiusProps with the height prop made required.\ntype SkeletonProps = WithRequired<StyleInterpolationProps, 'height'> & BorderRadiusProps;\n\n// Create an array [dimensionInterpolations['height'], dimensionInterpolations['width']]\nconst skeletonDimensionInterpolation = Array.from(dimensions, (x) => dimensionInterpolations[x]);\nconst borderRadiusInterpolation = Array.from(border, (x) => borderInterpolations[x]);\nconst interpolations = [\n ...Object.values(borderRadiusInterpolation),\n ...Object.values(skeletonDimensionInterpolation)\n];\n\nconst SkeletonInterpolations = mergeInterpolations<SkeletonProps>(interpolations);\n\n/* Styling for skeleton main (loop) animation */\nconst animationSkeletonStyle = {\n base: cssProps`${{\n animationName: 'var(--oj-c-PRIVATE-DO-NOT-USE-private-preact-skeleton-animation-name)',\n animationIterationCount: 'infinite',\n animationDirection: 'alternate',\n animationDuration: '1.5s'\n }}`\n};\n\n/**\n * Skeleton component allows the appropriate skeleton to be rendered based on the\n * property values\n **/\nexport function Skeleton({ ...props }: SkeletonProps) {\n const skeletonDimensions = SkeletonInterpolations({ width: '100%', borderRadius: 0, ...props });\n const itemClasses = classNames([animationSkeletonStyle.base]);\n return <div style={skeletonDimensions} class={itemClasses} />;\n}\n"],"names":["dimensions","stringLiteralArray","border","skeletonDimensionInterpolation","Array","from","x","dimensionInterpolations","borderRadiusInterpolation","borderInterpolations","interpolations","Object","values","SkeletonInterpolations","mergeInterpolations","animationSkeletonStyle","_a","skeletonDimensions","assign","width","borderRadius","props"],"mappings":"4TAiBA,MAAAA,EAAAC,EAAAA,mBAAA,CAAA,SAAA,UAEAC,EAAAD,EAAAA,mBAAA,CAAA,iBAWAE,EAAAC,MAAAC,KAAAL,EAAAM,GAAAC,EAAAA,wBAAAD,IACAE,EAAAJ,MAAAC,KAAAH,EAAAI,GAAAG,EAAAA,qBAAAH,IACAI,EAAA,IACEC,OAAAC,OAAAJ,MACAG,OAAAC,OAAAT,IAGFU,EAAAC,EAAAA,oBAAAJ,GAGAK,sBAaA,SAAAC,wBACE,MAAAC,EAAAJ,EAAAF,OAAAO,OAAA,CAAAC,MAAA,OAAAC,aAAA,GAAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
define(["exports","./tslib.es6-d8595453","preact/jsx-runtime","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_mergeInterpolations","./utils/UNSAFE_interpolations/flexitem","./flexitem-c53d7893"],function(e,t,s,i,n,l,o){"use strict";const r=[...Object.values(i.dimensionInterpolations),o.flexitemInterpolations.flex],a=n.mergeInterpolations(r);e.Spacer=e=>{var i=t.__rest(e,[]);const n=a(i),{class:l}=n,o=t.__rest(n,["class"]);return s.jsx("div",{class:l,style:o})}});
|
|
2
|
+
//# sourceMappingURL=Spacer-45465d62.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spacer-45465d62.js","sources":["../../src/UNSAFE_Spacer/Spacer.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { dimensionInterpolations } from '../utils/UNSAFE_interpolations/dimensions';\nimport type { DimensionProps } from '../utils/UNSAFE_interpolations/dimensions';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\nimport { flexitemInterpolations } from '../utils/UNSAFE_interpolations/flexitem';\nimport type { FlexitemProps } from '../utils/UNSAFE_interpolations/flexitem';\n\ntype StyleProps = DimensionProps & Pick<FlexitemProps, 'flex'>;\n\ntype Props = StyleProps;\n\nconst interpolations = [...Object.values(dimensionInterpolations), flexitemInterpolations.flex];\n\nconst styleInterpolations = mergeInterpolations<Props>(interpolations);\n\nexport const Spacer = ({ ...props }: Props) => {\n const { class: cls, ...styles } = styleInterpolations(props);\n return <div class={cls} style={styles}></div>;\n};\n"],"names":["interpolations","Object","values","dimensionInterpolations","flexitemInterpolations","flex","styleInterpolations","mergeInterpolations","_a","props","__rest","_b","class","cls","styles","_jsx","style"],"mappings":"mPAiBA,MAAMA,EAAiB,IAAIC,OAAOC,OAAOC,EAAAA,yBAA0BC,EAAAA,uBAAuBC,MAEpFC,EAAsBC,EAAAA,oBAA2BP,YAEhCQ,QAAKC,EAAKC,EAAAA,OAAAF,EAAV,IACrB,MAAMG,EAA4BL,EAAoBG,IAA9CG,MAAOC,KAAQC,EAAjBJ,EAAAA,OAAAC,EAAA,CAAA,UACN,OAAOI,EAAAA,IAAA,MAAA,CAAKH,MAAOC,EAAKG,MAAOF"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
define(["exports","./tslib.es6-d8595453","preact/jsx-runtime","./UNSAFE_Button","./index-922123b9","./UNSAFE_Menu","./UNSAFE_BaseButton","./utils/UNSAFE_classNames","./hooks/UNSAFE_useTabbableMode","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_mergeInterpolations",'module',"preact/compat","preact/hooks","./classNames-b7cf3c05","./BaseButton-1b45961f","./Button-47193722","./index-bd5b8cf5","./Menu-cb21d7c2"],function(e,s,n,t,a,i,l,o,r,c,d,u,b,p,m,j,y,v,x){"use strict";const g="c1h60y",B="uux5cg",f="_1nrm1ys",h="_1qzg7e1",A=["embedded","min","noBorderRadiusStart"],N=[...A,"active"],_=["embedded","fill","noBorderRadiusEnd"],D=[..._,"active"],S=[...Object.values(c.dimensionInterpolations)],k=d.mergeInterpolations(S),E=b.forwardRef((e,t)=>{var{children:a,label:i="",variant:l="outlined",isDisabled:o=!1,size:c="md",onAction:d}=e,u=s.__rest(e,["children","label","variant","isDisabled","size","onAction"]);const[b,A]=p.useState(!1),[N,_]=p.useState(!1),D=k(u),{class:S}=D,E=s.__rest(D,["class"]),w=p.useCallback(e=>{" "===e.key||"Enter"===e.key?_(!0):"ArrowDown"==e.key&&(!o&&A(e=>!e),e.preventDefault())},[o,A,_]),z=p.useCallback(e=>{" "!==e.key&&"Enter"!==e.key||(!o&&d&&d(),_(!1))},[o,d,_]),F=p.useCallback(()=>{_(!1)},[_]),I=p.useRef(null);p.useImperativeHandle(t,()=>I.current,[I]);const M=()=>{A(!b)},R=e=>{var s;"dismissed"!==e.reason&&"itemAction"!==e.reason||null===(s=I.current)||void 0===s||s.focus(),A(!1)},C=m.classNames([g,o&&B]),$=m.classNames([f]),H=()=>n.jsx(j.BaseButton,Object.assign({elementDetails:{type:"span"},ref:I,isDisabled:o,styling:["container","min"],variant:l,size:c,accessibleLabel:i,ariaRoledescription:"split menu button, press down arrow to invoke menu",ariaExpanded:b},{children:n.jsxs(r.TabbableModeContext.Provider,Object.assign({value:{isTabbable:!1}},{children:[n.jsx(j.BaseButton,Object.assign({elementDetails:{type:"span"},variant:l,styling:U(N),size:c,isDisabled:o,ariaHidden:!0,onAction:d},{children:i})),n.jsx("div",{class:`${C}`}),n.jsx(j.BaseButton,Object.assign({elementDetails:{type:"span"},variant:l,styling:O(b),size:c,isDisabled:o,ariaHidden:!0,onAction:M},{children:n.jsx(y.ButtonLayout,{display:"icons",startIcon:n.jsx(v.SvgIcoNavDown,{}),size:c,styling:"embedded"})}))]}))}));return o?n.jsx("span",Object.assign({role:"toolbar",class:`${$} ${S}`,style:E},{children:H()})):n.jsxs("span",Object.assign({role:"toolbar",class:`${$} ${S}`,style:E,onKeyDown:!o&&w,onKeyUp:z,onBlur:F},{children:[H(),n.jsx(x.Menu,Object.assign({anchorRef:I,isOpen:b,onClose:R},{children:n.jsx("span",Object.assign({className:h},{children:a}))}))]}))});function O(e){return e?N:A}function U(e){return e?D:_}e.SplitMenuButton=E});
|
|
2
|
+
//# sourceMappingURL=SplitMenuButton-5026e833.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SplitMenuButton-5026e833.js","sources":["../../src/UNSAFE_SplitMenuButton/SplitMenuButton.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ButtonLayout } from '../UNSAFE_Button';\nimport { NavDownIcon } from '../UNSAFE_ThemedIcons';\nimport { Menu } from '../UNSAFE_Menu';\n\nimport { BaseButton, StylingOptions } from '../UNSAFE_BaseButton';\n\nimport { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport type { DimensionProps } from '../utils/UNSAFE_interpolations/dimensions';\nimport { TabbableModeContext } from '../hooks/UNSAFE_useTabbableMode';\nimport { dimensionInterpolations } from '../utils/UNSAFE_interpolations/dimensions';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\nimport { cssProps } from '@oracle/oraclejet-cssprops';\n\nimport { ComponentChildren } from 'preact';\nimport { forwardRef, ForwardedRef } from 'preact/compat';\nimport { useCallback, useState, useRef, useImperativeHandle } from 'preact/hooks';\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLElement>, 'title'>;\n\ntype WidthInterpolationProps = Pick<DimensionProps, 'width'>;\n\nexport type Props = IntrinsicProps &\n WidthInterpolationProps & {\n /**\n * children - One or more MenuItems\n */\n children?: ComponentChildren;\n\n /**\n * Specifies that the button element should be disabled.\n */\n isDisabled?: boolean;\n\n /**\n * The label rendered on the action side of the button. Used\n * to identify which child MenuItem action is invoked.\n */\n label?: string;\n\n /**\n * Indicates in what states the button has chrome (background and border).\n * \"outlined\"': \"Outlined buttons are salient, but lighter weight than\n * solid buttons. Outlined buttons are useful for secondary actions.\",\n * \"solid\"': \"Solid buttons stand out, and direct the user's attention to the\n * most important actions in the UI.\",\n * \"callToAction\"': \"A Call To Action (CTA) button guides the user to take or\n * complete the action that is the main goal of the page or page section. There\n * should only be one CTA button on a page at any given time.\",\n \n */\n variant?: 'outlined' | 'solid' | 'callToAction';\n\n /**\n * The size indicates how large the button is rendered: \"sm\", \"md\" (default), \"lg\".\n */\n size?: 'sm' | 'md' | 'lg';\n\n /**\n * Triggered when a button is clicked, whether by keyboard, mouse, or touch events.\n */\n onAction?: () => void;\n };\n\nexport const compStyles = {\n divider: cssProps`${{\n borderTopWidth: '0px',\n borderBottomWidth: '0px',\n borderRightWidth: '0px',\n borderLeftWidth: '1px',\n borderStyle: 'solid',\n height: '100%',\n display: 'inline-flex',\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-base-button-border-color)'\n }}`,\n\n disabledDivider: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-base-button-border-color-disabled)'\n }}`,\n\n icon: cssProps`${{\n display: 'contents'\n }}`,\n\n root: cssProps`${{\n display: 'inline-block'\n }}`,\n\n childrenMargins: cssProps`${{\n /* @ts-ignore */\n '& > *': {\n marginTop: '0 !important',\n marginBottom: '0 !important',\n marginLeft: '0 !important',\n marginRight: '0 !important'\n }\n }}`\n};\n\nconst menuButtonStyling = ['embedded', 'min', 'noBorderRadiusStart'] as StylingOptions[];\nconst menuButtonActiveStyling = [...menuButtonStyling, 'active'] as StylingOptions[];\n\nconst actionbuttonStyling = ['embedded', 'fill', 'noBorderRadiusEnd'] as StylingOptions[];\nconst actionButtonActiveStyling = [...actionbuttonStyling, 'active'] as StylingOptions[];\n\nconst interpolations = [...Object.values(dimensionInterpolations)];\n\nconst styleInterpolations = mergeInterpolations<DimensionProps>(interpolations);\n\n/**\n * A SplitMenuButton is a combined action and menu button.\n */\nexport const SplitMenuButton = forwardRef(\n (\n {\n children,\n label = '',\n variant = 'outlined',\n isDisabled = false,\n size = 'md',\n onAction,\n ...props\n }: Props,\n ref?: ForwardedRef<HTMLSpanElement>\n ) => {\n const [isMenuOpen, setIsMenuOpen] = useState<boolean>(false);\n const [isActive, setIsActive] = useState<boolean>(false);\n const { class: cls, ...styles } = styleInterpolations(props);\n\n // SPACE or ENTER on root area invokes action, as does CLICK/TAP on LEFT SIDE ACTION AREA\n // DOWN ARROW invokes menu, as does CLICK/TAP on RIGHT SIDE MENU AREA\n const onKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.key === ' ' || event.key === 'Enter') {\n setIsActive(true);\n } else if (event.key == 'ArrowDown') {\n !isDisabled && setIsMenuOpen((menuOpen: boolean) => !menuOpen);\n // Prevent page scroll for down arrow, user definitely wanted to show menu in this case.\n // Don't prevent other keypress defaults, as user may want to hold SPACE down to scroll page.\n event.preventDefault();\n }\n },\n [isDisabled, setIsMenuOpen, setIsActive]\n );\n\n const onKeyUp = useCallback(\n (event: KeyboardEvent) => {\n if (event.key === ' ' || event.key === 'Enter') {\n !isDisabled && onAction && onAction();\n setIsActive(false);\n }\n },\n [isDisabled, onAction, setIsActive]\n );\n\n const onBlur = useCallback(() => {\n setIsActive(false);\n }, [setIsActive]);\n\n const _ref = useRef<HTMLSpanElement>(null);\n useImperativeHandle(ref!, () => _ref.current!, [_ref]);\n\n const menuHandler = () => {\n setIsMenuOpen(!isMenuOpen);\n };\n\n const handleClose = (e: any) => {\n //Focus has to be set on the launcher when menu is dismissed or\n //item is \"selected\"\n if (e.reason === 'dismissed' || e.reason === 'itemAction') {\n _ref.current?.focus();\n }\n setIsMenuOpen(false);\n };\n\n const dividerStyles = classNames([\n compStyles.divider,\n isDisabled && compStyles.disabledDivider\n ]);\n\n const rootStyles = classNames([compStyles.root]);\n\n // Using Span for top button allows us to avoid :hover state rendering by\n // taking advantage of :enabled not on spans\n const rootButton = () => {\n return (\n <BaseButton\n elementDetails={{ type: 'span' }}\n ref={\n _ref as ForwardedRef<HTMLButtonElement> &\n ForwardedRef<HTMLAnchorElement> &\n ForwardedRef<HTMLSpanElement>\n }\n isDisabled={isDisabled}\n styling={['container', 'min']}\n variant={variant}\n size={size}\n accessibleLabel={label}\n ariaRoledescription=\"split menu button, press down arrow to invoke menu\"\n ariaExpanded={isMenuOpen}>\n <TabbableModeContext.Provider value={{ isTabbable: false }}>\n <BaseButton\n elementDetails={{ type: 'span' }}\n variant={variant}\n styling={getActionButtonStyling(isActive)}\n size={size}\n isDisabled={isDisabled}\n ariaHidden={true}\n onAction={onAction}>\n {label}\n </BaseButton>\n <div class={`${dividerStyles}`} />\n <BaseButton\n elementDetails={{ type: 'span' }}\n variant={variant}\n styling={getMenuButtonStyling(isMenuOpen)}\n size={size}\n isDisabled={isDisabled}\n ariaHidden={true}\n onAction={menuHandler}>\n <ButtonLayout\n display=\"icons\"\n startIcon={<NavDownIcon />}\n size={size}\n styling=\"embedded\"></ButtonLayout>\n </BaseButton>\n </TabbableModeContext.Provider>\n </BaseButton>\n );\n };\n\n if (isDisabled) {\n return (\n <span role=\"toolbar\" class={`${rootStyles} ${cls}`} style={styles}>\n {rootButton()}\n </span>\n );\n } else {\n return (\n <span\n role=\"toolbar\"\n class={`${rootStyles} ${cls}`}\n style={styles}\n onKeyDown={!isDisabled && onKeyDown}\n onKeyUp={onKeyUp}\n onBlur={onBlur}>\n {rootButton()}\n <Menu anchorRef={_ref} isOpen={isMenuOpen} onClose={handleClose}>\n <span className={compStyles.childrenMargins}>{children}</span>\n </Menu>\n </span>\n );\n }\n }\n);\n\nfunction getMenuButtonStyling(isActive: boolean) {\n return isActive ? menuButtonActiveStyling : menuButtonStyling;\n}\n\nfunction getActionButtonStyling(isActive: boolean) {\n return isActive ? actionButtonActiveStyling : actionbuttonStyling;\n}\n"],"names":["compStyles","menuButtonStyling","menuButtonActiveStyling","actionbuttonStyling","actionButtonActiveStyling","interpolations","Object","values","dimensionInterpolations","styleInterpolations","mergeInterpolations","SplitMenuButton","forwardRef","_a","ref","_b","props","class","cls","styles","__rest","onKeyDown","useCallback","event","key","isDisabled","setIsMenuOpen","menuOpen","onKeyUp","onAction","onBlur","setIsActive","_ref","useRef","useImperativeHandle","current","isMenuOpen","handleClose","e","focus","_jsx","BaseButton","assign","elementDetails","type","styling","variant","size","accessibleLabel","label","ariaRoledescription","ariaExpanded","children","_jsxs","TabbableModeContext","Provider","value","isTabbable","jsx","getActionButtonStyling","isActive","ariaHidden","dividerStyles","getMenuButtonStyling","menuHandler","ButtonLayout","display","startIcon","NavDownIcon","SvgIcoNavDown","role","rootStyles","style","rootButton","Menu","anchorRef","isOpen","onClose","className"],"mappings":"seAwEA,MAAAA,EAAA,SAAAA,EAAA,SAAAA,EAAA,WAAAA,aAmCAC,EAAA,CAAA,WAAA,MAAA,uBACAC,EAAA,IAAAD,EAAA,UAEAE,EAAA,CAAA,WAAA,OAAA,qBACAC,EAAA,IAAAD,EAAA,UAEAE,EAAA,IAAAC,OAAAC,OAAAC,EAAAA,0BAEAC,EAAAC,EAAAA,oBAAAL,GAKAM,EAAAC,EAAAA,WAAA,CAAAC,EAAAC,yNAeIC,EAAAN,EAAAO,IAAAC,MAAAC,GAAAH,EAAAI,EAAAC,EAAAA,OAAAL,EAAA,CAAA,UAIAM,EAAAC,EAAAA,YAAAC,uCAIW,aAAAA,EAAAC,OACLC,GAAAC,EAAAC,IAAAA,iCASNC,EAAAN,EAAAA,YAAAC,oCAGME,GAAAI,GAAAA,qBAONC,EAAAR,EAAAA,YAAA,YAEA,CAAAS,IAEAC,EAAAC,SAAA,MACAC,EAAAA,oBAAApB,EAAA,IAAAkB,EAAAG,QAAA,CAAAH,iBAGEN,GAAAU,IAGFC,EAAAC,2DAII,QAAAzB,EAAAmB,EAAAG,eAAA,IAAAtB,GAAAA,EAAA0B,+BAMFvC,mCASAwC,MAAAC,EAAAA,WAAAnC,OAAAoC,OAAA,CAAAC,eAAA,CAAAC,KAAA,QAAA9B,IAAAkB,EAAAP,WAAAA,EAAAoB,QAAA,CAAA,YAAA,OAAAC,QAAAA,EAAAC,KAAAA,EAAAC,gBAAAC,EAAAC,oBAAA,qDAAAC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mergeInterpolations"],function(t,e,n,r,i,s){"use strict";function o(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function l(t){return function e(n){return 0===arguments.length||o(n)?e:t.apply(this,arguments)}}Array.isArray;"undefined"!=typeof Symbol&&Symbol.iterator;function u(t,e){return Object.prototype.hasOwnProperty.call(e,t)}var c=Object.prototype.toString,a=function(){return"[object Arguments]"===c.call(arguments)?function(t){return"[object Arguments]"===c.call(t)}:function(t){return u("callee",t)}}(),f=!{toString:null}.propertyIsEnumerable("toString"),p=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],h=function(){return arguments.propertyIsEnumerable("length")}(),g=function(t,e){for(var n=0;n<t.length;){if(t[n]===e)return!0;n+=1}return!1},y="function"!=typeof Object.keys||h?l(function(t){if(Object(t)!==t)return[];var e,n,r=[],i=h&&a(t);for(e in t)!u(e,t)||i&&"length"===e||(r[r.length]=e);if(f)for(n=p.length-1;n>=0;)u(e=p[n],t)&&!g(r,e)&&(r[r.length]=e),n-=1;return r}):l(function(t){return Object(t)!==t?[]:Object.keys(t)});Number.isInteger;"function"==typeof Object.is&&Object.is;var b=function(t){return(t<10?"0":"")+t};Date.prototype.toISOString;"function"==typeof Object.assign&&Object.assign;var m="\t\n\v\f\r \u2028\u2029\ufeff";String.prototype.trim;const d=r.stringLiteralArray(["h1","h2","h3","h4","h5","h6","div","span"]),O={h1:"2xl",h2:"xl",h3:"lg",h4:"md",h5:"sm",h6:"xs",div:"md",span:"md"},j={base:"_120nfvp",size:{xs:"_19t9o2d",sm:"_1msoitn",md:"_4x4o12",lg:"_1lfcma2",xl:"txof25","2xl":"wu7nk7",inherit:"_7hkymq"}},S=y(j.size),v=[()=>({class:j.base}),({size:t="2xl"})=>({class:j.size[t]})],x=s.mergeInterpolations(v);t.Subheading=t=>{var r,{children:i}=t,s=e.__rest(t,["children"]);const o=s.as;s.size=null!==(r=s.size)&&void 0!==r?r:O[o];const l=x(s),{class:u}=l,c=e.__rest(l,["class"]);return n.jsx(o,Object.assign({class:u,style:c,id:s.id},{children:i}))},t.sizeOptions=S,t.subheadingElementTypes=d});
|
|
2
|
+
//# sourceMappingURL=Subheading-755f121d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Subheading-755f121d.js","sources":["../../../node_modules/ramda/es/internal/_isPlaceholder.js","../../../node_modules/ramda/es/internal/_curry1.js","../../../node_modules/ramda/es/internal/_isArray.js","../../../node_modules/ramda/es/internal/_reduce.js","../../../node_modules/ramda/es/internal/_has.js","../../../node_modules/ramda/es/internal/_isArguments.js","../../../node_modules/ramda/es/keys.js","../../../node_modules/ramda/es/internal/_isInteger.js","../../../node_modules/ramda/es/internal/_objectIs.js","../../../node_modules/ramda/es/internal/_toISOString.js","../../../node_modules/ramda/es/internal/_objectAssign.js","../../../node_modules/ramda/es/test.js","../../../node_modules/ramda/es/trim.js","../../src/UNSAFE_Subheading/Subheading.tsx"],"sourcesContent":["export default function _isPlaceholder(a) {\n return a != null && typeof a === 'object' && a['@@functional/placeholder'] === true;\n}","import _isPlaceholder from \"./_isPlaceholder.js\";\n/**\n * Optimized internal one-arity curry function.\n *\n * @private\n * @category Function\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curry1(fn) {\n return function f1(a) {\n if (arguments.length === 0 || _isPlaceholder(a)) {\n return f1;\n } else {\n return fn.apply(this, arguments);\n }\n };\n}","/**\n * Tests whether or not an object is an array.\n *\n * @private\n * @param {*} val The object to test.\n * @return {Boolean} `true` if `val` is an array, `false` otherwise.\n * @example\n *\n * _isArray([]); //=> true\n * _isArray(null); //=> false\n * _isArray({}); //=> false\n */\nexport default Array.isArray || function _isArray(val) {\n return val != null && val.length >= 0 && Object.prototype.toString.call(val) === '[object Array]';\n};","import _isArrayLike from \"./_isArrayLike.js\";\nimport _xwrap from \"./_xwrap.js\";\nimport bind from \"../bind.js\";\n\nfunction _arrayReduce(xf, acc, list) {\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n acc = xf['@@transducer/step'](acc, list[idx]);\n\n if (acc && acc['@@transducer/reduced']) {\n acc = acc['@@transducer/value'];\n break;\n }\n\n idx += 1;\n }\n\n return xf['@@transducer/result'](acc);\n}\n\nfunction _iterableReduce(xf, acc, iter) {\n var step = iter.next();\n\n while (!step.done) {\n acc = xf['@@transducer/step'](acc, step.value);\n\n if (acc && acc['@@transducer/reduced']) {\n acc = acc['@@transducer/value'];\n break;\n }\n\n step = iter.next();\n }\n\n return xf['@@transducer/result'](acc);\n}\n\nfunction _methodReduce(xf, acc, obj, methodName) {\n return xf['@@transducer/result'](obj[methodName](bind(xf['@@transducer/step'], xf), acc));\n}\n\nvar symIterator = typeof Symbol !== 'undefined' ? Symbol.iterator : '@@iterator';\nexport default function _reduce(fn, acc, list) {\n if (typeof fn === 'function') {\n fn = _xwrap(fn);\n }\n\n if (_isArrayLike(list)) {\n return _arrayReduce(fn, acc, list);\n }\n\n if (typeof list['fantasy-land/reduce'] === 'function') {\n return _methodReduce(fn, acc, list, 'fantasy-land/reduce');\n }\n\n if (list[symIterator] != null) {\n return _iterableReduce(fn, acc, list[symIterator]());\n }\n\n if (typeof list.next === 'function') {\n return _iterableReduce(fn, acc, list);\n }\n\n if (typeof list.reduce === 'function') {\n return _methodReduce(fn, acc, list, 'reduce');\n }\n\n throw new TypeError('reduce: list must be array or iterable');\n}","export default function _has(prop, obj) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}","import _has from \"./_has.js\";\nvar toString = Object.prototype.toString;\n\nvar _isArguments =\n/*#__PURE__*/\nfunction () {\n return toString.call(arguments) === '[object Arguments]' ? function _isArguments(x) {\n return toString.call(x) === '[object Arguments]';\n } : function _isArguments(x) {\n return _has('callee', x);\n };\n}();\n\nexport default _isArguments;","import _curry1 from \"./internal/_curry1.js\";\nimport _has from \"./internal/_has.js\";\nimport _isArguments from \"./internal/_isArguments.js\"; // cover IE < 9 keys issues\n\nvar hasEnumBug = !\n/*#__PURE__*/\n{\n toString: null\n}.propertyIsEnumerable('toString');\nvar nonEnumerableProps = ['constructor', 'valueOf', 'isPrototypeOf', 'toString', 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; // Safari bug\n\nvar hasArgsEnumBug =\n/*#__PURE__*/\nfunction () {\n 'use strict';\n\n return arguments.propertyIsEnumerable('length');\n}();\n\nvar contains = function contains(list, item) {\n var idx = 0;\n\n while (idx < list.length) {\n if (list[idx] === item) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n};\n/**\n * Returns a list containing the names of all the enumerable own properties of\n * the supplied object.\n * Note that the order of the output array is not guaranteed to be consistent\n * across different JS platforms.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {k: v} -> [k]\n * @param {Object} obj The object to extract properties from\n * @return {Array} An array of the object's own properties.\n * @see R.keysIn, R.values\n * @example\n *\n * R.keys({a: 1, b: 2, c: 3}); //=> ['a', 'b', 'c']\n */\n\n\nvar keys = typeof Object.keys === 'function' && !hasArgsEnumBug ?\n/*#__PURE__*/\n_curry1(function keys(obj) {\n return Object(obj) !== obj ? [] : Object.keys(obj);\n}) :\n/*#__PURE__*/\n_curry1(function keys(obj) {\n if (Object(obj) !== obj) {\n return [];\n }\n\n var prop, nIdx;\n var ks = [];\n\n var checkArgsLength = hasArgsEnumBug && _isArguments(obj);\n\n for (prop in obj) {\n if (_has(prop, obj) && (!checkArgsLength || prop !== 'length')) {\n ks[ks.length] = prop;\n }\n }\n\n if (hasEnumBug) {\n nIdx = nonEnumerableProps.length - 1;\n\n while (nIdx >= 0) {\n prop = nonEnumerableProps[nIdx];\n\n if (_has(prop, obj) && !contains(ks, prop)) {\n ks[ks.length] = prop;\n }\n\n nIdx -= 1;\n }\n }\n\n return ks;\n});\nexport default keys;","/**\n * Determine if the passed argument is an integer.\n *\n * @private\n * @param {*} n\n * @category Type\n * @return {Boolean}\n */\nexport default Number.isInteger || function _isInteger(n) {\n return n << 0 === n;\n};","// Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\nfunction _objectIs(a, b) {\n // SameValue algorithm\n if (a === b) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return a !== 0 || 1 / a === 1 / b;\n } else {\n // Step 6.a: NaN == NaN\n return a !== a && b !== b;\n }\n}\n\nexport default typeof Object.is === 'function' ? Object.is : _objectIs;","/**\n * Polyfill from <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString>.\n */\nvar pad = function pad(n) {\n return (n < 10 ? '0' : '') + n;\n};\n\nvar _toISOString = typeof Date.prototype.toISOString === 'function' ? function _toISOString(d) {\n return d.toISOString();\n} : function _toISOString(d) {\n return d.getUTCFullYear() + '-' + pad(d.getUTCMonth() + 1) + '-' + pad(d.getUTCDate()) + 'T' + pad(d.getUTCHours()) + ':' + pad(d.getUTCMinutes()) + ':' + pad(d.getUTCSeconds()) + '.' + (d.getUTCMilliseconds() / 1000).toFixed(3).slice(2, 5) + 'Z';\n};\n\nexport default _toISOString;","import _has from \"./_has.js\"; // Based on https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n\nfunction _objectAssign(target) {\n if (target == null) {\n throw new TypeError('Cannot convert undefined or null to object');\n }\n\n var output = Object(target);\n var idx = 1;\n var length = arguments.length;\n\n while (idx < length) {\n var source = arguments[idx];\n\n if (source != null) {\n for (var nextKey in source) {\n if (_has(nextKey, source)) {\n output[nextKey] = source[nextKey];\n }\n }\n }\n\n idx += 1;\n }\n\n return output;\n}\n\nexport default typeof Object.assign === 'function' ? Object.assign : _objectAssign;","import _cloneRegExp from \"./internal/_cloneRegExp.js\";\nimport _curry2 from \"./internal/_curry2.js\";\nimport _isRegExp from \"./internal/_isRegExp.js\";\nimport toString from \"./toString.js\";\n/**\n * Determines whether a given string matches a given regular expression.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category String\n * @sig RegExp -> String -> Boolean\n * @param {RegExp} pattern\n * @param {String} str\n * @return {Boolean}\n * @see R.match\n * @example\n *\n * R.test(/^x/, 'xyz'); //=> true\n * R.test(/^y/, 'xyz'); //=> false\n */\n\nvar test =\n/*#__PURE__*/\n_curry2(function test(pattern, str) {\n if (!_isRegExp(pattern)) {\n throw new TypeError('‘test’ requires a value of type RegExp as its first argument; received ' + toString(pattern));\n }\n\n return _cloneRegExp(pattern).test(str);\n});\n\nexport default test;","import _curry1 from \"./internal/_curry1.js\";\nvar ws = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u2000\\u2001\\u2002\\u2003' + '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028' + '\\u2029\\uFEFF';\nvar zeroWidth = '\\u200b';\nvar hasProtoTrim = typeof String.prototype.trim === 'function';\n/**\n * Removes (strips) whitespace from both ends of the string.\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category String\n * @sig String -> String\n * @param {String} str The string to trim.\n * @return {String} Trimmed version of `str`.\n * @example\n *\n * R.trim(' xyz '); //=> 'xyz'\n * R.map(R.trim, R.split(',', 'x, y, z')); //=> ['x', 'y', 'z']\n */\n\nvar trim = !hasProtoTrim ||\n/*#__PURE__*/\nws.trim() || !\n/*#__PURE__*/\nzeroWidth.trim() ?\n/*#__PURE__*/\n_curry1(function trim(str) {\n var beginRx = new RegExp('^[' + ws + '][' + ws + ']*');\n var endRx = new RegExp('[' + ws + '][' + ws + ']*$');\n return str.replace(beginRx, '').replace(endRx, '');\n}) :\n/*#__PURE__*/\n_curry1(function trim(str) {\n return str.trim();\n});\nexport default trim;","import { ComponentChildren } from 'preact';\nimport { keys } from 'ramda';\nimport { stringLiteralArray } from '../utils/UNSAFE_arrayUtils';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\nexport const subheadingElementTypes = stringLiteralArray([\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'div',\n 'span'\n]);\n\ntype ElementType = typeof subheadingElementTypes[number];\n\ntype SubheadingProps = {\n /**\n * Specifies the subheading tag. When a heading tag should not be used 'as' may be set to div or span, for example in collection group headers (such as list view group headers).\n */\n as: ElementType;\n\n /**\n * Specifies the font size and line height. */\n\n size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'inherit';\n\n /**\n * Specifies the subheader id\n */\n id?: string;\n\n /**\n * Specifies the children\n */\n children: ComponentChildren;\n};\n\nconst headingsizeMap = {\n h1: '2xl',\n h2: 'xl',\n h3: 'lg',\n h4: 'md',\n h5: 'sm',\n h6: 'xs',\n div: 'md',\n span: 'md'\n};\n\nconst styles = {\n base: cssProps`${{\n margin: 0,\n /* @ts-ignore */\n '& > *': {\n marginTop: '0 !important',\n marginBottom: '0 !important',\n marginLeft: '0 !important',\n marginRight: '0 !important'\n }\n }}`,\n size: {\n xs: cssProps`${{\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-xs-font-size)',\n fontWeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-xs-font-weight)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-xs-line-height)'\n }}`,\n sm: cssProps`${{\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-sm-font-size)',\n fontWeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-sm-font-weight)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-sm-line-height)'\n }}`,\n md: cssProps`${{\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-md-font-size)',\n fontWeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-md-font-weight)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-md-line-height)'\n }}`,\n lg: cssProps`${{\n fontSize: `var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-lg-font-size)`,\n fontWeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-lg-font-weight)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-lg-line-height)'\n }}`,\n xl: cssProps`${{\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-xl-font-size)',\n fontWeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-xl-font-weight)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-xl-line-height)'\n }}`,\n '2xl': cssProps`${{\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-2xl-font-size)',\n fontWeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-2xl-font-weight)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-subheading-2xl-line-height)'\n }}`,\n inherit: cssProps`${{\n fontSize: 'inherit',\n fontWeight: 'inherit',\n lineHeight: 'inherit'\n }}`\n }\n};\n\nexport const sizeOptions = keys(styles.size);\n\nconst interpolations = [\n () => ({ class: styles.base }),\n ({ size = '2xl' }: Pick<SubheadingProps, 'size'>) => ({\n class: styles.size[size]\n })\n];\n\nconst styleInterpolations = mergeInterpolations<Omit<SubheadingProps, 'children'>>(interpolations);\n\nexport const Subheading = ({ children, ...props }: SubheadingProps) => {\n const Component = props.as;\n //@ts-ignore\n props.size = props.size ?? headingsizeMap[Component];\n const { class: cls, ...style } = styleInterpolations(props);\n return (\n <Component class={cls} style={style} id={props.id}>\n {children}\n </Component>\n );\n};\n"],"names":["_isPlaceholder","a","_curry1","fn","f1","arguments","length","apply","this","Array","isArray","Symbol","iterator","_has","prop","obj","Object","prototype","hasOwnProperty","call","toString","_isArguments","x","hasEnumBug","propertyIsEnumerable","nonEnumerableProps","hasArgsEnumBug","contains","list","item","idx","keys","nIdx","ks","checkArgsLength","Number","isInteger","is","pad","n","Date","toISOString","assign","ws","String","trim","subheadingElementTypes","stringLiteralArray","headingsizeMap","h1","h2","h3","h4","h5","h6","div","span","styles","size","sizeOptions","interpolations","class","styleInterpolations","mergeInterpolations","_a","children","props","__rest","Component","as","_b","_c","cls","style"],"mappings":"6KAAe,SAASA,EAAeC,GACrC,OAAY,MAALA,GAA0B,iBAANA,IAAoD,IAAlCA,EAAE,4BCSlC,SAASC,EAAQC,GAC9B,OAAO,SAASC,EAAGH,GACjB,OAAyB,IAArBI,UAAUC,QAAgBN,EAAeC,GACpCG,EAEAD,EAAGI,MAAMC,KAAMH,YCHbI,MAAMC,QC+Be,oBAAXC,QAAyBA,OAAOC,SC3C1C,SAASC,EAAKC,EAAMC,GACjC,OAAOC,OAAOC,UAAUC,eAAeC,KAAKJ,EAAKD,GCAnD,IAAIM,EAAWJ,OAAOC,UAAUG,SAE5BC,EAEJ,WACE,MAAoC,uBAA7BD,EAASD,KAAKd,WAAsC,SAAsBiB,GAC/E,MAA4B,uBAArBF,EAASD,KAAKG,IACnB,SAAsBA,GACxB,OAAOT,EAAK,SAAUS,IAJ1B,GCDIC,GAEJ,CACEH,SAAU,MACVI,qBAAqB,YACnBC,EAAqB,CAAC,cAAe,UAAW,gBAAiB,WAAY,uBAAwB,iBAAkB,kBAEvHC,EAEJ,WAGE,OAAOrB,UAAUmB,qBAAqB,UAHxC,GAMIG,EAAW,SAAkBC,EAAMC,GAGrC,IAFA,IAAIC,EAAM,EAEHA,EAAMF,EAAKtB,QAAQ,CACxB,GAAIsB,EAAKE,KAASD,EAChB,OAAO,EAGTC,GAAO,EAGT,OAAO,GAsBLC,EAA8B,mBAAhBf,OAAOe,MAAwBL,EAMjDxB,EAAQ,SAAca,GACpB,GAAIC,OAAOD,KAASA,EAClB,MAAO,GAGT,IAAID,EAAMkB,EACNC,EAAK,GAELC,EAAkBR,GAAkBL,EAAaN,GAErD,IAAKD,KAAQC,GACPF,EAAKC,EAAMC,IAAUmB,GAA4B,WAATpB,IAC1CmB,EAAGA,EAAG3B,QAAUQ,G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";const a={base:"gdcsb5",lineClamp:"_1ml467m",truncation:{none:"",clip:"_12rnn31",ellipsis:"bdqm0b"},variant:{primary:"khumtt",secondary:"_8znkve",disabled:"_1vd9n7v",danger:"rx85oh",warning:"e3hpcg",success:"vq8hn",inherit:"_73bp01"},size:{"2xs":"_12f4mgt",xs:"v3zzw6",sm:"_1mjcipk",md:"_1ruobuh",lg:"lgtqm3",xl:"_1tqa4r9",inherit:"_1fx5if7"},weight:{normal:"sn3mkp",semiBold:"_8rwin0",bold:"_8rddsf",inherit:"c401aa"},hyphens:{auto:"_154bi7m",none:"q2e634"}},r=[()=>({class:a.base}),({size:s="inherit"})=>({class:a.size[s]}),({weight:s="inherit"})=>({class:a.weight[s]}),({variant:s="inherit"})=>({class:a.variant[s]}),({hyphens:s="auto"})=>({class:a.hyphens[s]}),({truncation:s="none"})=>({class:a.truncation[s]}),({lineClamp:s})=>s?{class:a.lineClamp,webkitLineClamp:s}:{}],l=t.mergeInterpolations(r);s.Text=function(s){var{children:e}=s,t=n.__rest(s,["children"]);const a=l(t),{class:r}=a,c=n.__rest(a,["class"]);return i.jsx("span",Object.assign({class:r,style:c,id:t.id},{children:i.jsx("span",Object.assign({className:"_1tb8iy"},{children:e}))}))}});
|
|
2
|
+
//# sourceMappingURL=Text-a22eae5d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text-a22eae5d.js","sources":["../../src/UNSAFE_Text/Text.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\ntype StylePropsWithOutTruncate = {\n /**\n * Specifies text color. If set as \"inherit\", takes text color from its parent element.\n */\n variant?: 'primary' | 'secondary' | 'disabled' | 'danger' | 'warning' | 'success' | 'inherit';\n\n /**\n * Specifies font size and line height. If set as \"inherit\", takes font size and line height from its parent element.\n */\n size?: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'inherit';\n\n /**\n * Specifies the font weight. If set as \"inherit\", takes font weight from its parent element.\n */\n weight?: 'normal' | 'semiBold' | 'bold' | 'inherit';\n\n /**\n * Specifies if hyphens should be included when handling long words with no spaces.\n */\n hyphens?: 'auto' | 'none';\n};\ntype TruncateProps =\n | {\n /**\n * Truncates text at a specific number of lines and then displays an ellipsis (…) at the end of the last line. Parent of the element needs to have a specific width so text starts overflowing and produce a truncation.\n */\n lineClamp?: number;\n /**\n * Determines text behavior when text is truncated. Be aware of setting either lineClamp or truncation. Setting both props would produce a type error. In most cases, lineClamp=1 tries to put the ellipsis at the end of a \"word\". On the other hand, using truncation=\"ellipsis\" will show as much as possible text, then put the ellipsis at the end.\n */\n truncation?: never;\n }\n | {\n lineClamp?: never;\n truncation?: 'none' | 'clip' | 'ellipsis';\n };\ntype AdditionalProps = {\n /**\n * Specifies the text id\n */\n id?: string;\n\n /**\n * Specifies the children.\n */\n children?: string;\n};\ntype Props = StylePropsWithOutTruncate & TruncateProps & AdditionalProps;\n\nconst styles = {\n base: cssProps`${{\n overflowX: 'hidden',\n overflowY: 'hidden',\n overflowWrap: 'anywhere',\n display: 'inline'\n }}`,\n lineClamp: cssProps`${{\n display: '-webkit-box',\n WebkitBoxOrient: 'vertical'\n }}`,\n truncation: {\n none: '',\n clip: cssProps`${{\n textOverflow: 'clip',\n whiteSpace: 'nowrap',\n width: '100%',\n display: 'inline-block'\n }}`,\n ellipsis: cssProps`${{\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n width: '100%',\n display: 'inline-block'\n }}`\n },\n variant: {\n primary: cssProps`${{\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary)'\n }}`,\n secondary: cssProps`${{\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-secondary)'\n }}`,\n disabled: cssProps`${{\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-disabled)'\n }}`,\n danger: cssProps`${{\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-danger-3)'\n }}`,\n warning: cssProps`${{\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-warning-3)'\n }}`,\n success: cssProps`${{\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-success-3)'\n }}`,\n inherit: cssProps`${{\n color: 'inherit'\n }}`\n },\n size: {\n '2xs': cssProps`${{\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-2xs-font-size)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-2xs-line-height)'\n }}`,\n xs: cssProps`${{\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-xs-font-size)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-xs-line-height)'\n }}`,\n sm: cssProps`${{\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-sm-font-size)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-sm-line-height)'\n }}`,\n md: cssProps`${{\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-md-font-size)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-md-line-height)'\n }}`,\n lg: cssProps`${{\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-lg-font-size)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-lg-line-height)'\n }}`,\n xl: cssProps`${{\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-xl-font-size)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-xl-line-height)'\n }}`,\n inherit: cssProps`${{\n fontSize: 'inherit',\n lineHeight: 'inherit'\n }}`\n },\n weight: {\n normal: cssProps`${{\n fontWeight: 'normal'\n }}`,\n semiBold: cssProps`${{\n fontWeight: '600'\n }}`,\n bold: cssProps`${{\n fontWeight: '700'\n }}`,\n inherit: cssProps`${{\n fontWeight: 'inherit'\n }}`\n },\n hyphens: {\n auto: cssProps`${{\n hyphens: 'auto'\n }}`,\n none: cssProps`${{\n hyphens: 'none'\n }}`\n }\n};\nconst interpolations = [\n () => ({ class: styles.base }),\n ({ size = 'inherit' }: Pick<StylePropsWithOutTruncate, 'size'>) => ({\n class: styles.size[size]\n }),\n ({ weight = 'inherit' }: Pick<StylePropsWithOutTruncate, 'weight'>) => ({\n class: styles.weight[weight]\n }),\n ({ variant = 'inherit' }: Pick<StylePropsWithOutTruncate, 'variant'>) => ({\n class: styles.variant[variant]\n }),\n ({ hyphens = 'auto' }: Pick<StylePropsWithOutTruncate, 'hyphens'>) => ({\n class: styles.hyphens[hyphens]\n }),\n ({ truncation = 'none' }: Pick<TruncateProps, 'truncation'>) => ({\n class: styles.truncation[truncation]\n }),\n ({ lineClamp }: Pick<TruncateProps, 'lineClamp'>) =>\n !lineClamp ? {} : { class: styles.lineClamp, webkitLineClamp: lineClamp }\n];\nconst styleInterpolations = mergeInterpolations<Omit<Props, 'children'>>(interpolations);\nconst childrenStyles = cssProps`${{\n /* @ts-ignore */\n '& > *': {\n marginTop: '0 !important',\n marginBottom: '0 !important',\n marginLeft: '0 !important',\n marginRight: '0 !important'\n }\n}}`;\n\nexport function Text({ children, ...props }: Props) {\n const { class: cls, ...styles } = styleInterpolations(props);\n return (\n <span class={cls} style={styles} id={props.id}>\n <span className={childrenStyles}>{children}</span>\n </span>\n );\n}\n"],"names":["styles","truncation","none","variant","size","weight","hyphens","interpolations","class","styleInterpolations","mergeInterpolations","_a","children","props","__rest","_b","cls"],"mappings":"+IA2DA,MAAAA,EAAA,MAAA,mBAAA,WAWEC,WAAA,CACEC,KAAA,QADF,8BAeAC,QAAA,SAAA,mBAAA,mBAAA,kBAAA,iBAAA,iBAAA,2BAuBAC,KAAA,OAAA,cAAA,YAAA,cAAA,cAAA,YAAA,+BA8BAC,OAAA,QAAA,kBAAA,eAAA,4BAcAC,QAAA,MAAA,2BASFC,EAAA,8CAGIC,MAAAR,EAAAI,KAAAA,+BAGAI,MAAAR,EAAAK,OAAAA,gCAGAG,MAAAR,EAAAG,QAAAA,6BAGAK,MAAAR,EAAAM,QAAAA,gCAGAE,MAAAR,EAAAC,WAAAA,kEAKJQ,EAAAC,EAAAA,oBAAAH,UAWA,SAAAI,GAAqB,IAAAC,SAAAA,GAAAD,EAAAE,EAAAC,EAAAA,OAAAH,EAAA,CAAA,aACnB,MAAAI,EAAAN,EAAAI,IAAAL,MAAAQ,GAAAD,EAAAf,EAAAc,EAAAA,OAAAC,EAAA,CAAA,sHAXF"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
define(["exports","preact/jsx-runtime","preact","preact/compat","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useFocusableTextField","./UNSAFE_Label","./UNSAFE_TextField","./hooks/UNSAFE_useTextField","./UNSAFE_UserAssistance","./hooks/UNSAFE_useLengthFilter",'module',"./utils/UNSAFE_classNames","preact/hooks","./hooks/UNSAFE_usePress","./classNames-b7cf3c05","./hooks/UNSAFE_useCurrentValueReducer","./ReadonlyTextFieldInput-dc6c2c66","./TextFieldInput-33f53d8f"],function(e,s,n,t,a,i,l,o,r,u,c,d,x,h,g,b,F,m,p,v){"use strict";const j="_6ov0uh",L="bt4itw",f="_1n8efrh",A=()=>{};function C({maxLength:e,valueLength:n=0,onClick:t}){const{isFocused:a}=i.useFormFieldContext(),l=g.useCallback(e=>{e.preventDefault()},[]),o=F.classNames([!a&&L]),{pressProps:r}=b.usePress(null!=t?t:A);return s.jsx("div",Object.assign({class:j,onMouseDown:l},r,{children:s.jsxs("span",Object.assign({class:o},{children:[s.jsx("span",Object.assign({class:f},{children:n})),s.jsx("span",Object.assign({class:f},{children:"/"})),s.jsx("span",Object.assign({class:f},{children:e}))]}))}))}const y=t.forwardRef(({ariaDescribedBy:e,assistiveText:x,autoComplete:h="off",autoFocus:g=!1,helpSourceLink:b,helpSourceText:F,isDisabled:j,isReadonly:L,isRequired:f=!1,isRequiredShown:A,label:y,labelEdge:S,labelStartWidth:R,maxLength:E,maxLengthCounter:U="remaining",maxLengthUnit:k,messages:T,placeholder:O,resize:N,role:D,rows:_,textAlign:I,userAssistanceDensity:P,value:w,variant:V="default",onInput:B,onCommit:M},q)=>{const{currentCommitValue:W,dispatch:z}=m.useCurrentValueReducer({value:w}),H=t.useCallback(e=>{z({type:"input",payload:e.value}),null==B||B(e)},[B]),G=t.useCallback(e=>{z({type:"commit",payload:e.value}),null==M||M(e)},[M]),{isDisabled:J,isReadonly:K,labelEdge:Q,labelStartWidth:X,textAlign:Y,userAssistanceDensity:Z}=a.useFormContext(),$=null!=j?j:J,ee=null!=L?L:K,se=null!=S?S:Q,ne=null!=R?R:X,te=null!=I?I:Y,ae=null!=P?P:Z,{enabledElementRef:ie,readonlyElementRef:le,focusProps:oe,isFocused:re}=l.useFocusableTextField({isDisabled:$,isReadonly:ee,ref:q}),{formFieldContext:ue,inputProps:ce,labelProps:de,textFieldProps:xe,userAssistanceProps:he}=u.useTextField({ariaDescribedBy:e,contentVariant:"textarea",isDisabled:$,isFocused:re,isReadonly:ee,labelEdge:se,messages:T,styleVariant:V,value:w}),{isMaxLengthExceeded:ge,valueLength:be,onFilteredInput:Fe}=d.useLengthFilter({maxLength:E,maxLengthUnit:k,value:w,onInput:H,onCommit:G}),me="none"!==se?s.jsx(o.Label,Object.assign({},de,{children:y})):void 0,pe={label:"none"!==se?me:void 0,labelEdge:"none"!==se?se:void 0,labelStartWidth:"none"!==se?ne:void 0},ve="none"===se?y:void 0,je=$||ee?"efficient"!==ae?void 0:s.jsx(c.InlineUserAssistance,Object.assign({userAssistanceDensity:ae},he)):s.jsx(c.InlineUserAssistance,Object.assign({assistiveText:x,fieldLabel:y,helpSourceLink:b,helpSourceText:F,messages:T,isRequiredShown:A,userAssistanceDensity:ae},he));if(ee)return s.jsx(i.FormFieldContext.Provider,Object.assign({value:ue},{children:s.jsx(r.ReadonlyTextField,Object.assign({role:"presentation",inlineUserAssistance:je,variant:"textarea"},pe,{children:s.jsx(p.ReadonlyTextFieldInput,{ariaDescribedBy:e,ariaLabel:ve,ariaLabelledBy:de.id,as:"textarea",elementRef:le,rows:_,autoFocus:g,textAlign:te,value:w,variant:"textarea",hasInsideLabel:void 0!==y&&"inside"===se})}))}));const Le=t.useCallback(()=>{var e,s;const n=ie.current,t=n?n.value.length:null;null===(e=ie.current)||void 0===e||e.setSelectionRange(t,t),null===(s=ie.current)||void 0===s||s.focus()},[]),fe=s.jsxs(n.Fragment,{children:[s.jsx(v.TextFieldInput,Object.assign({as:"textarea",ariaLabel:ve,autoComplete:h,autoFocus:g,currentCommitValue:W,hasInsideLabel:void 0!==me&&"inside"===se,isRequired:f,inputRef:ie,onCommit:G,onInput:Fe,placeholder:O,role:D,rows:_,textAlign:te,value:w},ce)),"remaining"===U&&void 0!==E&&s.jsx(C,Object.assign({},{maxLength:E,valueLength:be,parentHasFocus:re,onClick:Le})),void 0!==E&&s.jsx(r.MaxLengthLiveRegion,Object.assign({},{isMaxLengthExceeded:ge,maxLength:E,valueLength:be}))]});return s.jsx(i.FormFieldContext.Provider,Object.assign({value:ue},{children:s.jsx(r.TextField,Object.assign({mainContent:fe,inlineUserAssistance:je,onBlur:null==oe?void 0:oe.onfocusout,onFocus:null==oe?void 0:oe.onfocusin,resize:N},xe,pe))}))});e.MaxLengthCounter=C,e.TextArea=y});
|
|
2
|
+
//# sourceMappingURL=TextArea-eb8899f9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextArea-eb8899f9.js","sources":["../../src/UNSAFE_TextArea/MaxLengthCounter.tsx","../../src/UNSAFE_TextArea/TextArea.tsx"],"sourcesContent":["import { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { useCallback } from 'preact/hooks';\nimport { usePress } from '../hooks/UNSAFE_usePress';\nimport { useFormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\n\ntype Props = {\n maxLength: number;\n valueLength?: number;\n onClick?: () => void; // the calling component should focus on the appropriate element when clicked.\n};\n\nconst rootStyles = {\n base: cssProps`${{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n cursor: 'text',\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-xs-font-size)',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-xs-line-height)',\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-secondary)',\n textDecorationLine: 'none',\n paddingTop: '0',\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding)',\n paddingBottom: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-1x)',\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding)'\n }}`\n};\nconst remainingTextStyles = {\n hide: cssProps`${{\n visibility: 'hidden'\n }}`\n};\n// the spans surrounding the {valueLength}, / and {maxlength} need to be display: inline-block\n// so that the order is flipped horizontally in RTL.\nconst spanStyles = cssProps`${{\n display: 'inline-block'\n}}`;\n\nconst noop = () => {};\n\nexport function MaxLengthCounter({ maxLength, valueLength = 0, onClick }: Props) {\n const { isFocused } = useFormFieldContext();\n // We don't want mousedown on this component to do anything, so prevent the default behavior.\n const killEvent = useCallback((event: Event) => {\n event.preventDefault();\n }, []);\n const textClasses = classNames([!isFocused && remainingTextStyles.hide]);\n const { pressProps } = usePress(onClick ?? noop);\n return (\n <div class={rootStyles.base} onMouseDown={killEvent} {...pressProps}>\n <span class={textClasses}>\n <span class={spanStyles}>{valueLength}</span>\n <span class={spanStyles}>/</span>\n <span class={spanStyles}>{maxLength}</span>\n </span>\n </div>\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 { ComponentProps, Fragment, Ref } from 'preact';\nimport { forwardRef, useCallback } from 'preact/compat';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { Label } from '../UNSAFE_Label';\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport { InlineUserAssistance } from '../UNSAFE_UserAssistance';\nimport { CountUnit, useLengthFilter } from '../hooks/UNSAFE_useLengthFilter';\nimport { MaxLengthLiveRegion } from '../UNSAFE_TextField';\nimport { MaxLengthCounter } from './MaxLengthCounter';\nimport { Size } from '../utils/UNSAFE_size';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\n\ntype TextFieldProps = ComponentProps<typeof TextField>;\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n ariaDescribedBy?: TextFieldInputProps['ariaDescribedBy'];\n\n /**\n * Text to provide guidance to help the user understand what to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n /**\n * Dictates component's autocomplete state.\n * This attribute indicates whether the value of the control can be automatically completed by the browser.\n * The common values are \"on\" and \"off\".\n */\n autoComplete?: TextFieldInputProps['autoComplete'];\n /**\n * Autofocus specifies whether the component will get focus when the page is loaded.\n * If it is set to true then the associated component will get input focus when the page is loaded.\n * Setting this property doesn't set the focus to the component; it tells the browser to focus\n * to it when the element is inserted in the document.\n */\n autoFocus?: TextFieldInputProps['autoFocus'];\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n /**\n * Specifies for accessibility purposes whether a value is required.\n *\n * Setting this property to <code>false</code> means that a value is not required to be\n * committed by the user. Setting this property to <code>true</code> means that a value\n * is required to be committed by the user.\n */\n isRequired?: TextFieldInputProps['isRequired'];\n /**\n * Specifies whether to show an indicator on screen that a value is required, for example\n * before the user has committed a value.\n */\n isRequiredShown?: InlineUserAssistanceProps['isRequiredShown'];\n /**\n * Specifies the label associated with the field.\n */\n label: string;\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>\n */\n labelStartWidth?: Size;\n /**\n * Specifies the maximum number of characters that can be entered in the input field.\n */\n maxLength?: number;\n /**\n * Determines whether the remaining number of characters that can be entered is shown or not.\n */\n maxLengthCounter?: 'none' | 'remaining';\n /**\n * Specifies how the input text characters are to be counted when maxLength is specified.\n */\n maxLengthUnit?: CountUnit;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n /**\n * Specifies how the user is allowed to manually resize the TextArea component.\n */\n resize?: TextFieldProps['resize'];\n /**\n * Specifies the ARIA role type.\n */\n role?: TextFieldInputProps['role'];\n /**\n * Specifies the number of rows to display\n */\n rows?: TextFieldInputProps['rows'];\n /**\n * Specifies how to align text within the field.\n */\n textAlign?: TextFieldInputProps['textAlign'];\n /**\n * Specifies the density of the user assistance presentation. It can be set to:\n * <ul>\n * <li><code>'efficient'</code>: Show inline and reserve space to prevent layout reflow when user\n * assistance text is displayed.</li>\n * <li><code>'reflow'</code>: Show inline. Layout will reflow when text is displayed.</li>\n * </ul>\n */\n userAssistanceDensity?: InlineUserAssistanceProps['userAssistanceDensity'];\n /**\n * The current display value of the component.\n */\n value?: TextFieldInputProps['value'];\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n /**\n * Callback invoked when the user commits the entered value by blurring out of the field.\n */\n onCommit?: TextFieldInputProps['onCommit'];\n /**\n * Callback invoked each time the user changes the value of the field. For example, if the user\n * types 'abcd', this callback will be called four times with the value as 'a', 'ab', 'abc' and 'abcd'\n * respectively.\n */\n onInput: TextFieldInputProps['onInput'];\n};\n\nexport const TextArea = forwardRef(\n (\n {\n ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n maxLength,\n maxLengthCounter = 'remaining',\n maxLengthUnit,\n messages,\n placeholder,\n resize,\n role,\n rows,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n onInput,\n onCommit\n }: Props,\n ref?: Ref<FocusableHandle>\n ) => {\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'commit', payload: detail.value });\n onCommit?.(detail);\n },\n [onCommit]\n );\n const {\n isDisabled: isFormDisabled,\n isReadonly: isFormReadonly,\n labelEdge: formLabelEdge,\n labelStartWidth: formLabelStartWidth,\n textAlign: formTextAlign,\n userAssistanceDensity: formUserAssistanceDensity\n } = useFormContext();\n // default to FormContext values if component properties are not specified\n const isDisabled = propIsDisabled ?? isFormDisabled;\n const isReadonly = propIsReadonly ?? isFormReadonly;\n const labelEdge = propLabelEdge ?? formLabelEdge;\n const labelStartWidth = propLabelStartWidth ?? formLabelStartWidth;\n const textAlign = propTextAlign ?? formTextAlign;\n const userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;\n\n const { enabledElementRef, readonlyElementRef, focusProps, isFocused } = useFocusableTextField<\n HTMLTextAreaElement,\n HTMLTextAreaElement\n >({ isDisabled, isReadonly, ref });\n\n const { formFieldContext, inputProps, labelProps, textFieldProps, userAssistanceProps } =\n useTextField({\n ariaDescribedBy,\n contentVariant: 'textarea',\n isDisabled,\n isFocused,\n isReadonly,\n labelEdge,\n messages,\n styleVariant: variant,\n value\n });\n\n // Handle length filter for user-typed inputs and controlled inputs\n const { isMaxLengthExceeded, valueLength, onFilteredInput } = useLengthFilter({\n maxLength,\n maxLengthUnit,\n value,\n onInput: onInputAndDispatch,\n onCommit: onCommitAndDispatch\n });\n\n const labelComp = labelEdge !== 'none' ? <Label {...labelProps}>{label}</Label> : undefined;\n\n const fieldLabelProps = {\n label: labelEdge !== 'none' ? labelComp : undefined,\n labelEdge: labelEdge !== 'none' ? labelEdge : undefined,\n labelStartWidth: labelEdge !== 'none' ? labelStartWidth : undefined\n };\n\n const ariaLabel = labelEdge === 'none' ? label : undefined;\n\n const inlineUserAssistance =\n isDisabled || isReadonly ? (\n // save space for user assistance if density is 'efficient', even though we don't\n // render user assistance for disabled or readonly fields\n userAssistanceDensity !== 'efficient' ? undefined : (\n <InlineUserAssistance\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n )\n ) : (\n <InlineUserAssistance\n assistiveText={assistiveText}\n fieldLabel={label}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n messages={messages}\n isRequiredShown={isRequiredShown}\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n );\n\n if (isReadonly) {\n // TODO: We need to conditionally render the readonly innerReadonlyField as a textarea or div\n // also, the div will need to use white-space: pre-wrap so that the text will wrap like textarea\n // see JET-50636\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n inlineUserAssistance={inlineUserAssistance}\n variant=\"textarea\"\n {...fieldLabelProps}>\n <ReadonlyTextFieldInput\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={labelProps.id}\n as=\"textarea\"\n elementRef={readonlyElementRef}\n rows={rows}\n autoFocus={autoFocus}\n textAlign={textAlign}\n value={value}\n variant=\"textarea\"\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n </ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n const onClickCounter = useCallback(() => {\n const elm = enabledElementRef.current;\n // for setSelectionRange(), len needs to be a number or null.\n const len = elm ? elm.value.length : null;\n // Since the counter element is after the text, clicking in this\n // should put the selection at the end of the text\n enabledElementRef.current?.setSelectionRange(len, len);\n // Clicking the counter should put the focus on the input field\n enabledElementRef.current?.focus();\n }, []);\n\n const mainContent = (\n <Fragment>\n <TextFieldInput\n as=\"textarea\"\n ariaLabel={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n isRequired={isRequired}\n inputRef={enabledElementRef}\n onCommit={onCommitAndDispatch}\n onInput={onFilteredInput}\n placeholder={placeholder}\n role={role}\n rows={rows}\n textAlign={textAlign}\n value={value}\n {...inputProps}\n />\n {maxLengthCounter === 'remaining' && maxLength !== undefined && (\n <MaxLengthCounter\n {...{ maxLength, valueLength, parentHasFocus: isFocused, onClick: onClickCounter }}\n />\n )}\n {maxLength !== undefined && (\n <MaxLengthLiveRegion {...{ isMaxLengthExceeded, maxLength, valueLength }} />\n )}\n </Fragment>\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n mainContent={mainContent}\n inlineUserAssistance={inlineUserAssistance}\n onBlur={focusProps?.onfocusout}\n onFocus={focusProps?.onfocusin}\n resize={resize}\n {...textFieldProps}\n {...fieldLabelProps}></TextField>\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["rootStyles","remainingTextStyles","spanStyles","noop","MaxLengthCounter","maxLength","valueLength","onClick","isFocused","useFormFieldContext","killEvent","useCallback","event","textClasses","classNames","pressProps","usePress","_jsx","Object","assign","class","onMouseDown","children","_jsxs","jsxs","jsx","TextArea","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","maxLengthCounter","maxLengthUnit","messages","placeholder","resize","role","rows","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","value","variant","onInput","onCommit","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","enabledElementRef","readonlyElementRef","focusProps","useFocusableTextField","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","contentVariant","styleVariant","isMaxLengthExceeded","onFilteredInput","useLengthFilter","labelComp","Label","undefined","fieldLabelProps","ariaLabel","inlineUserAssistance","InlineUserAssistance","fieldLabel","FormFieldContext","Provider","ReadonlyTextField","ReadonlyTextFieldInput","ariaLabelledBy","id","as","elementRef","hasInsideLabel","onClickCounter","elm","current","len","length","_a","setSelectionRange","_b","focus","mainContent","Fragment","TextFieldInput","inputRef","parentHasFocus","MaxLengthLiveRegion","TextField","onBlur","onfocusout","on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L,EAAAA,IAACsG,EAAAA,eACCrG,OAAAC,OAAA,CAAAsF,GAAG,WACHV,UAAWA,GACXjE,aAAcA,EACdC,UAAWA,EACX8B,mBAAoBA,EACpB8C,oBAA8Bd,IAAdF,IAAyC,WAAdlD,GAC3CH,WAAYA,EACZkF,SAAU5C,GACVjB,SAAUS,EACVV,QAAS+B,GACTzC,YAAaA,EACbE,KAAMA,EACNC,KAAMA,EACNC,UAAWA,GACXI,MAAOA,GACHyB,KAEgB,cAArBpC,QAAkDgD,IAAdxF,GACnCY,EAAAQ,IAACrB,EAAgBc,OAAAC,OAAA,GACX,CAAEd,UAAAA,EAAWC,YAAAA,GAAamH,eAAgBjH,GAAWD,QAASqG,WAGvDf,IAAdxF,GACCY,EAAAA,IAACyG,EAAAA,oBAAmBxG,OAAAC,OAAA,GAAK,CAAEqE,oBAAAA,GAAqBnF,UAAAA,EAAWC,YAAAA,SAKjE,OACEW,MAACkF,mBAAiBC,SAASlF,OAAAC,OAAA,CAAAqC,MAAOwB,IAChC,CAAA1D,SAAAL,EAAAQ,IAACkG,YACCzG,OAAAC,OAAA,CAAAkG,YAAaA,GACbrB,qBAAsBA,GACtB4B,OAAQ9C,MAAAA,QAAA,EAAAA,GAAY+C,WACpBC,QAAShD,MAAAA,QAAU,EAAVA,GAAYiD,UACrB9E,OAAQA,GACJkC,GACAW"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
define(["exports","preact/jsx-runtime","preact","preact/compat","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useFocusableTextField","./UNSAFE_Label","./UNSAFE_TextField","./hooks/UNSAFE_useTextField","./UNSAFE_UserAssistance","./hooks/UNSAFE_useLengthFilter","preact/hooks","./hooks/UNSAFE_useCurrentValueReducer","./UNSAFE_TextArea","./ReadonlyTextFieldInput-dc6c2c66","./TextFieldInput-33f53d8f","./TextArea-eb8899f9"],function(e,t,n,s,a,i,l,o,r,u,d,c,x,g,m,h,p,F){"use strict";const b=({isReadonly:e,enabledElementRef:t,readonlyElementRef:n,minRows:s=2,maxRows:a,value:i})=>{x.useLayoutEffect(()=>{const i=e?n:t;if(null===i.current)return;if(i.current instanceof HTMLDivElement)return;const l=i.current,o=(e=>{const t=window.getComputedStyle(e),n=t.lineHeight;if("normal"===n)return 1.2*parseFloat(t.fontSize);return parseFloat(n)})(l);l.style.height="0";const{paddingHeight:r,borderHeight:u}=(e=>{const t=window.getComputedStyle(e);return{paddingHeight:parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),borderHeight:parseFloat(t.borderTop)+parseFloat(t.borderBottom)}})(l),d=o*s+r+u,c=l.scrollHeight+u;let x=0;if(void 0===a)x=c<d?d:c;else if(a>s){const e=o*a+r+u;x=c>e?e:c<d?d:c}else x=d;l.style.height=x+.5+"px"},[i,s,a,e])},v=s.forwardRef(({ariaDescribedBy:e,assistiveText:x,autoComplete:m="off",autoFocus:v=!1,helpSourceLink:f,helpSourceText:R,isDisabled:y,isReadonly:L,isRequired:A=!1,isRequiredShown:j,label:C,labelEdge:E,labelStartWidth:S,maxLength:T,maxLengthCounter:U="remaining",maxLengthUnit:w,maxRows:k,messages:D,minRows:I=2,placeholder:O,role:N,textAlign:_,userAssistanceDensity:H,value:B,variant:P="default",onInput:V,onCommit:M},q)=>{const{currentCommitValue:W,dispatch:z}=g.useCurrentValueReducer({value:B}),G=s.useCallback(e=>{z({type:"input",payload:e.value}),null==V||V(e)},[V]),J=s.useCallback(e=>{z({type:"commit",payload:e.value}),null==M||M(e)},[M]),{isDisabled:K,isReadonly:Q,labelEdge:X,labelStartWidth:Y,textAlign:Z,userAssistanceDensity:$}=a.useFormContext(),ee=null!=y?y:K,te=null!=L?L:Q,ne=null!=E?E:X,se=null!=S?S:Y,ae=null!=_?_:Z,ie=null!=H?H:$,{enabledElementRef:le,readonlyElementRef:oe,focusProps:re,isFocused:ue}=l.useFocusableTextField({isDisabled:ee,isReadonly:te,ref:q}),{formFieldContext:de,inputProps:ce,labelProps:xe,textFieldProps:ge,userAssistanceProps:me}=u.useTextField({ariaDescribedBy:e,contentVariant:"textarea",isDisabled:ee,isFocused:ue,isReadonly:te,labelEdge:ne,messages:D,styleVariant:P,value:B}),{isMaxLengthExceeded:he,valueLength:pe,onFilteredInput:Fe}=c.useLengthFilter({maxLength:T,maxLengthUnit:w,value:B,onInput:G,onCommit:J}),be="none"!==ne?t.jsx(o.Label,Object.assign({},xe,{children:C})):void 0,ve={label:"none"!==ne?be:void 0,labelEdge:"none"!==ne?ne:void 0,labelStartWidth:"none"!==ne?se:void 0},fe="none"===ne?C:void 0,Re=ee||te?"efficient"!==ie?void 0:t.jsx(d.InlineUserAssistance,Object.assign({userAssistanceDensity:ie},me)):t.jsx(d.InlineUserAssistance,Object.assign({assistiveText:x,fieldLabel:C,helpSourceLink:f,helpSourceText:R,messages:D,isRequiredShown:j,userAssistanceDensity:ie},me));if(b({isReadonly:te,enabledElementRef:le,readonlyElementRef:oe,minRows:I,maxRows:k,value:B}),te)return t.jsx(i.FormFieldContext.Provider,Object.assign({value:de},{children:t.jsx(r.ReadonlyTextField,Object.assign({role:"presentation",inlineUserAssistance:Re,variant:"textarea"},ve,{children:t.jsx(h.ReadonlyTextFieldInput,Object.assign({ariaDescribedBy:e,ariaLabel:fe,ariaLabelledBy:xe.id,elementRef:oe},k?{as:"textarea",rows:I}:{as:"div"},{autoFocus:v,textAlign:ae,value:B,variant:"textarea",hasInsideLabel:void 0!==C&&"inside"===ne}))}))}));const ye=s.useCallback(()=>{var e,t;const n=le.current,s=n?n.value.length:null;null===(e=le.current)||void 0===e||e.setSelectionRange(s,s),null===(t=le.current)||void 0===t||t.focus()},[]),Le=t.jsxs(n.Fragment,{children:[t.jsx(p.TextFieldInput,Object.assign({as:"textarea",ariaLabel:fe,autoComplete:m,autoFocus:v,currentCommitValue:W,hasInsideLabel:void 0!==be&&"inside"===ne,isRequired:A,inputRef:le,onCommit:J,onInput:Fe,placeholder:O,role:N,rows:I,textAlign:ae,value:B},ce)),"remaining"===U&&void 0!==T&&t.jsx(F.MaxLengthCounter,Object.assign({},{maxLength:T,valueLength:pe,parentHasFocus:ue,onClick:ye})),void 0!==T&&t.jsx(r.MaxLengthLiveRegion,Object.assign({},{isMaxLengthExceeded:he,maxLength:T,valueLength:pe}))]});return t.jsx(i.FormFieldContext.Provider,Object.assign({value:de},{children:t.jsx(r.TextField,Object.assign({mainContent:Le,inlineUserAssistance:Re,onBlur:null==re?void 0:re.onfocusout,onFocus:null==re?void 0:re.onfocusin},ge,ve))}))});e.TextAreaAutosize=v});
|
|
2
|
+
//# sourceMappingURL=TextAreaAutosize-eecfaccb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextAreaAutosize-eecfaccb.js","sources":["../../src/UNSAFE_TextAreaAutosize/ScrollHeightUtils.tsx","../../src/UNSAFE_TextAreaAutosize/useTextAreaAutosizing.tsx","../../src/UNSAFE_TextAreaAutosize/TextAreaAutosize.tsx"],"sourcesContent":["// returns the lineHeight as a number of pixels.\nexport const calculateLineHeight = (textarea: HTMLTextAreaElement): number => {\n const computedStyle = window.getComputedStyle(textarea);\n const computedlineHeight = computedStyle.lineHeight;\n if (computedlineHeight === 'normal') {\n // We get 'normal' for values 'initial', 'inherit', 'unset' and 'normal'\n // TODO: Unclear if we need this.\n // getComputedStyle always return fontSize in pixels. Not likely a float, but since it's legal\n // we use parseFloat()\n const fontSize = parseFloat(computedStyle.fontSize);\n return 1.2 * fontSize;\n }\n return parseFloat(computedlineHeight);\n};\nexport const getStylingHeight = (textarea: HTMLTextAreaElement) => {\n const cssStyle = window.getComputedStyle(textarea);\n const paddingTop = parseFloat(cssStyle.paddingTop);\n const paddingBottom = parseFloat(cssStyle.paddingBottom);\n const borderTop = parseFloat(cssStyle.borderTop);\n const borderBottom = parseFloat(cssStyle.borderBottom);\n return { paddingHeight: paddingTop + paddingBottom, borderHeight: borderTop + borderBottom };\n};\n","import { ComponentProps } from 'preact';\nimport { useLayoutEffect, Ref } from 'preact/hooks';\nimport { calculateLineHeight, getStylingHeight } from './ScrollHeightUtils';\nimport { TextAreaAutosize } from './TextAreaAutosize';\n\ntype PickedPropsFromTextAreaAutosize = Pick<\n ComponentProps<typeof TextAreaAutosize>,\n 'minRows' | 'maxRows' | 'value'\n>;\ntype Props = PickedPropsFromTextAreaAutosize & {\n isReadonly?: boolean;\n enabledElementRef: Ref<HTMLTextAreaElement>;\n readonlyElementRef: Ref<HTMLTextAreaElement | HTMLDivElement>;\n};\n\n// TODO: Make this fire when the container resizes - JET-50840\nexport const useTextAreaAutosizing = ({\n isReadonly,\n enabledElementRef,\n readonlyElementRef,\n minRows = 2,\n maxRows,\n value\n}: Props) => {\n useLayoutEffect(() => {\n const textareaRef = isReadonly ? readonlyElementRef : enabledElementRef;\n if (textareaRef.current === null) return;\n if (textareaRef.current instanceof HTMLDivElement) return; // We don't need to do anything if the readonlyElement is a DIV.\n const textarea = textareaRef.current;\n const lineHeight = calculateLineHeight(textarea);\n textarea.style.height = '0';\n const { paddingHeight, borderHeight } = getStylingHeight(textarea);\n const heightForMinRows = lineHeight * minRows + paddingHeight + borderHeight;\n const scrollHeight = textarea.scrollHeight + borderHeight;\n let resizedHeight = 0;\n // if maxRows is -1 the textarea will grow or shrink to fit all the content.\n // it won't shrink any less than rows.\n if (maxRows === undefined) {\n // we want to fit the entire scrollHeight, but we don't want\n // to shrink smaller than the height for rows.\n if (scrollHeight < heightForMinRows) {\n resizedHeight = heightForMinRows;\n } else {\n resizedHeight = scrollHeight;\n }\n } else if (maxRows > minRows) {\n // if maxRows is positive and greater than rows, the textarea will grow to fit the content\n // up to maxrows, or shrink to fit the content and down to rows.\n const heightForMaxRows = lineHeight * maxRows + paddingHeight + borderHeight;\n if (scrollHeight > heightForMaxRows) {\n resizedHeight = heightForMaxRows;\n } else if (scrollHeight < heightForMinRows) {\n resizedHeight = heightForMinRows;\n } else {\n resizedHeight = scrollHeight;\n }\n } else {\n resizedHeight = heightForMinRows;\n }\n // The 0.5 gaurantees that the clientHeight will be bigger than the scrollHeight, so no scrollbar appears.\n textarea.style.height = resizedHeight + 0.5 + 'px';\n }, [value, minRows, maxRows, isReadonly]);\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 { ComponentProps, Fragment, Ref } from 'preact';\nimport { forwardRef, useCallback } from 'preact/compat';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { Label } from '../UNSAFE_Label';\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport { InlineUserAssistance } from '../UNSAFE_UserAssistance';\nimport { CountUnit, useLengthFilter } from '../hooks/UNSAFE_useLengthFilter';\nimport { MaxLengthLiveRegion } from '../UNSAFE_TextField';\nimport { useTextAreaAutosizing } from './useTextAreaAutosizing';\nimport { Size } from '../utils/UNSAFE_size';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { MaxLengthCounter } from '../UNSAFE_TextArea';\n\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n ariaDescribedBy?: TextFieldInputProps['ariaDescribedBy'];\n /**\n * Text to provide guidance to help the user understand what to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n /**\n * Dictates component's autocomplete state.\n * This attribute indicates whether the value of the control can be automatically completed by the browser.\n * The common values are \"on\" and \"off\".\n */\n autoComplete?: TextFieldInputProps['autoComplete'];\n /**\n * Autofocus specifies whether the component will get focus when the page is loaded.\n * If it is set to true then the associated component will get input focus when the page is loaded.\n * Setting this property doesn't set the focus to the component; it tells the browser to focus\n * to it when the element is inserted in the document.\n */\n autoFocus?: TextFieldInputProps['autoFocus'];\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n /**\n * Specifies for accessibility purposes whether a value is required.\n *\n * Setting this property to <code>false</code> means that a value is not required to be\n * committed by the user. Setting this property to <code>true</code> means that a value\n * is required to be committed by the user.\n */\n isRequired?: TextFieldInputProps['isRequired'];\n /**\n * Specifies whether to show an indicator on screen that a value is required, for example\n * before the user has committed a value.\n */\n isRequiredShown?: InlineUserAssistanceProps['isRequiredShown'];\n /**\n * Specifies the label associated with the field.\n */\n label: string;\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>\n */\n labelStartWidth?: Size;\n /**\n * Specifies the maximum number of characters that can be entered in the input field.\n */\n maxLength?: number;\n /**\n * Determines whether the remaining number of characters that can be entered is shown or not.\n */\n maxLengthCounter?: 'none' | 'remaining';\n /**\n * Specifies how the input text characters are to be counted when maxLength is specified.\n */\n maxLengthUnit?: CountUnit;\n /**\n * Specifies the maximum number of rows that the TextAreaAutosize is allowed to grow to.\n * If maxRows is less than minRows, it is ignored.\n */\n maxRows?: number;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * Specifies the minimum number of rows that the TextAreaAutosize is allowed to shrink to.\n */\n minRows?: number;\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n /**\n * Specifies how the user is allowed to manually resize the TextArea component.\n */\n role?: TextFieldInputProps['role'];\n /**\n * Specifies the number of rows to display\n */\n textAlign?: TextFieldInputProps['textAlign'];\n /**\n * Specifies the density of the user assistance presentation. It can be set to:\n * <ul>\n * <li><code>'efficient'</code>: Show inline and reserve space to prevent layout reflow when user\n * assistance text is displayed.</li>\n * <li><code>'reflow'</code>: Show inline. Layout will reflow when text is displayed.</li>\n * </ul>\n */\n userAssistanceDensity?: InlineUserAssistanceProps['userAssistanceDensity'];\n /**\n * The current display value of the component.\n */\n value?: TextFieldInputProps['value'];\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n /**\n * Callback invoked when the user commits the entered value by blurring out of the field.\n *\n */\n onCommit?: TextFieldInputProps['onCommit'];\n\n /**\n * Callback invoked when the user inputs a value.\n *\n */\n onInput: TextFieldInputProps['onInput'];\n};\nexport const TextAreaAutosize = forwardRef(\n (\n {\n ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n maxLength,\n maxLengthCounter = 'remaining',\n maxLengthUnit,\n maxRows,\n messages,\n minRows = 2,\n placeholder,\n role,\n //TODO: Add counter to show the length remaining - JET-50752\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n onInput,\n onCommit\n }: Props,\n ref?: Ref<FocusableHandle>\n ) => {\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'commit', payload: detail.value });\n onCommit?.(detail);\n },\n [onCommit]\n );\n const {\n isDisabled: isFormDisabled,\n isReadonly: isFormReadonly,\n labelEdge: formLabelEdge,\n labelStartWidth: formLabelStartWidth,\n textAlign: formTextAlign,\n userAssistanceDensity: formUserAssistanceDensity\n } = useFormContext();\n // default to FormContext values if component properties are not specified\n const isDisabled = propIsDisabled ?? isFormDisabled;\n const isReadonly = propIsReadonly ?? isFormReadonly;\n const labelEdge = propLabelEdge ?? formLabelEdge;\n const labelStartWidth = propLabelStartWidth ?? formLabelStartWidth;\n const textAlign = propTextAlign ?? formTextAlign;\n const userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;\n\n const { enabledElementRef, readonlyElementRef, focusProps, isFocused } = useFocusableTextField<\n HTMLTextAreaElement,\n HTMLTextAreaElement | HTMLDivElement\n >({ isDisabled, isReadonly, ref });\n\n const { formFieldContext, inputProps, labelProps, textFieldProps, userAssistanceProps } =\n useTextField({\n ariaDescribedBy,\n contentVariant: 'textarea',\n isDisabled,\n isFocused,\n isReadonly,\n labelEdge,\n messages,\n styleVariant: variant,\n value\n });\n\n // Handle length filter for user-typed inputs and controlled inputs\n const { isMaxLengthExceeded, valueLength, onFilteredInput } = useLengthFilter({\n maxLength,\n maxLengthUnit,\n value,\n onInput: onInputAndDispatch,\n onCommit: onCommitAndDispatch\n });\n\n const labelComp = labelEdge !== 'none' ? <Label {...labelProps}>{label}</Label> : undefined;\n\n const fieldLabelProps = {\n label: labelEdge !== 'none' ? labelComp : undefined,\n labelEdge: labelEdge !== 'none' ? labelEdge : undefined,\n labelStartWidth: labelEdge !== 'none' ? labelStartWidth : undefined\n };\n const ariaLabel = labelEdge === 'none' ? label : undefined;\n\n const inlineUserAssistance =\n isDisabled || isReadonly ? (\n // save space for user assistance if density is 'efficient', even though we don't\n // render user assistance for disabled or readonly fields\n userAssistanceDensity !== 'efficient' ? undefined : (\n <InlineUserAssistance\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n )\n ) : (\n <InlineUserAssistance\n assistiveText={assistiveText}\n fieldLabel={label}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n messages={messages}\n isRequiredShown={isRequiredShown}\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n );\n\n useTextAreaAutosizing({\n isReadonly,\n enabledElementRef,\n readonlyElementRef,\n minRows,\n maxRows,\n value\n });\n\n if (isReadonly) {\n // TODO: should be able to configure whether start/end content is shown when readonly\n // JET-49916 - Preact InputText: show start/end content when readonly\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n inlineUserAssistance={inlineUserAssistance}\n variant=\"textarea\"\n {...fieldLabelProps}>\n <ReadonlyTextFieldInput\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={labelProps.id}\n elementRef={readonlyElementRef}\n {...(maxRows ? { as: 'textarea', rows: minRows } : { as: 'div' })}\n autoFocus={autoFocus}\n textAlign={textAlign}\n value={value}\n variant=\"textarea\"\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n </ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n const onClickCounter = useCallback(() => {\n const elm = enabledElementRef.current;\n // for setSelectionRange(), len needs to be a number or null.\n const len = elm ? elm.value.length : null;\n // Since the counter element is after the text, clicking in this\n // should put the selection at the end of the text\n enabledElementRef.current?.setSelectionRange(len, len);\n // Clicking the counter should put the focus on the input field\n enabledElementRef.current?.focus();\n }, []);\n\n const mainContent = (\n <Fragment>\n <TextFieldInput\n as=\"textarea\"\n ariaLabel={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n isRequired={isRequired}\n inputRef={enabledElementRef}\n onCommit={onCommitAndDispatch}\n onInput={onFilteredInput}\n placeholder={placeholder}\n role={role}\n rows={minRows}\n textAlign={textAlign}\n value={value}\n {...inputProps}\n />\n {maxLengthCounter === 'remaining' && maxLength !== undefined && (\n <MaxLengthCounter\n {...{ maxLength, valueLength, parentHasFocus: isFocused, onClick: onClickCounter }}\n />\n )}\n {maxLength !== undefined && (\n <MaxLengthLiveRegion {...{ isMaxLengthExceeded, maxLength, valueLength }} />\n )}\n </Fragment>\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n mainContent={mainContent}\n inlineUserAssistance={inlineUserAssistance}\n onBlur={focusProps?.onfocusout}\n onFocus={focusProps?.onfocusin}\n {...textFieldProps}\n {...fieldLabelProps}></TextField>\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["useTextAreaAutosizing","isReadonly","enabledElementRef","readonlyElementRef","minRows","maxRows","value","useLayoutEffect","textareaRef","current","HTMLDivElement","textarea","lineHeight","computedStyle","window","getComputedStyle","computedlineHeight","parseFloat","fontSize","calculateLineHeight","style","height","paddingHeight","borderHeight","cssStyle","paddingTop","paddingBottom","borderTop","borderBottom","getStylingHeight","heightForMinRows","scrollHeight","resizedHeight","undefined","heightForMaxRows","TextAreaAutosize","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","maxLength","maxLengthCounter","maxLengthUnit","messages","placeholder","role","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","variant","onInput","onCommit","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","focusProps","isFocused","useFocusableTextField","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","contentVariant","styleVariant","isMaxLengthExceeded","valueLength","onFilteredInput","useLengthFilter","labelComp","_jsx","Label","Object","assign","fieldLabelProps","ariaLabel","inlineUserAssistance","jsx","InlineUserAssistance","fieldLabel","FormFieldContext","Provider","children","ReadonlyTextField","ReadonlyTextFieldInput","ariaLabelledBy","id","elementRef","as","rows","hasInsideLabel","onClickCounter","elm","len","length","_a","setSelectionRange","_b","focus","mainContent","_jsxs","Fragment","TextFieldInput","inputRef","MaxLengthCounter","parentHasFocus","onClick","MaxLengthLiveRegion","TextField","onBlur","onfocusout","onFocus","onfocusin"],"mappings":"wgBACO,MCeMA,EAAwB,EACnCC,WAAAA,EACAC,kBAAAA,EACAC,mBAAAA,EACAC,QAAAA,EAAU,EACVC,QAAAA,EACAC,MAAAA,MAEAC,EAAAA,gBAAgB,KACd,MAAMC,EAAcP,EAAaE,EAAqBD,EACtD,GAA4B,OAAxBM,EAAYC,QAAkB,OAClC,GAAID,EAAYC,mBAAmBC,eAAgB,OACnD,MAAMC,EAAWH,EAAYC,QACvBG,ED5ByB,CAACD,IAClC,MAAME,EAAgBC,OAAOC,iBAAiBJ,GACxCK,EAAqBH,EAAcD,WACzC,GAA2B,WAAvBI,EAMF,OAAO,IADUC,WAAWJ,EAAcK,UAG5C,OAAOD,WAAWD,ICiBGG,CAAoBR,GACvCA,EAASS,MAAMC,OAAS,IACxB,MAAMC,cAAEA,EAAaC,aAAEA,GDjBK,CAACZ,IAC/B,MAAMa,EAAWV,OAAOC,iBAAiBJ,GAKzC,MAAO,CAAEW,cAJUL,WAAWO,EAASC,YACjBR,WAAWO,EAASE,eAGUH,aAFlCN,WAAWO,EAASG,WACjBV,WAAWO,EAASI,gBCYCC,CAAiBlB,GACnDmB,EAAmBlB,EAAaR,EAAUkB,EAAgBC,EAC1DQ,EAAepB,EAASoB,aAAeR,EAC7C,IAAIS,EAAgB,EAGpB,QAAgBC,IAAZ5B,EAIA2B,EADED,EA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ArBjC,QAAkDrB,IAAdoB,GACnC8C,EAAAO,IAAC2B,EAAgBA,iBAAAhC,OAAAC,OAAA,GACX,CAAEjD,UAAAA,EAAW0C,YAAAA,GAAauC,eAAgBlD,GAAWmD,QAASf,WAGvDvF,IAAdoB,GACC8C,EAAAA,IAACqC,EAAAA,oBAAmBnC,OAAAC,OAAA,GAAK,CAAER,oBAAAA,GAAqBzC,UAAAA,EAAW0C,YAAAA,SAKjE,OACEI,MAACU,EAAgBA,iBAACC,SAAST,OAAAC,OAAA,CAAAhG,MAAOgF,IAAgB,CAAAyB,SAChDZ,EAAAA,IAACsC,EAASA,UAAApC,OAAAC,OAAA,CACR0B,YAAaA,GACbvB,qBAAsBA,GACtBiC,OAAQvD,MAAAA,UAAAA,GAAYwD,WACpBC,QAASzD,MAAAA,UAAAA,GAAY0D,WACjBpD,GACAc"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
define(["exports","./tslib.es6-d8595453","preact/jsx-runtime",'module',"./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useTabbableMode","./hooks/UNSAFE_useTextFieldInputHandlers","./utils/UNSAFE_classNames","./utils/UNSAFE_interpolations/text","./utils/UNSAFE_mergeInterpolations","./FormControlUtils-e845e376","./classNames-b7cf3c05"],function(a,e,t,i,o,l,s,r,n,u,d,p){"use strict";const c="_3navvy",m="_1u199qo",x="gol8rq",b="_1kz2e2a",v="_1i0hm4r",_="_1e7m3af",h="_60ovt4",y="_13qk218",f="_1auvrj3",C="r31ub9",F="_1xcja60",g="_18nhsex",I="_7ug75m",N="_1j3ipzy",w="_8uf9oc",S="kvvgcx",V="pzinoo",E="urhp59",U="_1d42cg5",j="_821xj3",k="_1a5o460",A="_4fcmfv",L="fpdz8q",T="gius89",q="_13165zu",z="oe9gzv",M="xp01v6",D=[...Object.values(n.textInterpolations)],K=u.mergeInterpolations(D);a.TextFieldInput=a=>{var{as:i="input",ariaAutoComplete:r,ariaControls:n,ariaDescribedBy:u,ariaExpanded:c,ariaInvalid:m,ariaLabel:x,ariaLabelledBy:b,ariaValueMax:v,ariaValueMin:_,ariaValueNow:h,ariaValueText:y,autoComplete:f,autoFocus:D,currentCommitValue:R,hasEndContent:B=!1,hasInsideLabel:P=!1,hasPrefix:H=!1,hasStartContent:O=!1,hasSuffix:G=!1,id:J,inputRef:Q,placeholder:W,isRequired:X,role:Y,rows:Z,spellcheck:$,type:aa,value:ea="",variant:ta="default",onInput:ia,onCommit:oa,onKeyDown:la,onKeyUp:sa}=a,ra=e.__rest(a,["as","ariaAutoComplete","ariaControls","ariaDescribedBy","ariaExpanded","ariaInvalid","ariaLabel","ariaLabelledBy","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","autoComplete","autoFocus","currentCommitValue","hasEndContent","hasInsideLabel","hasPrefix","hasStartContent","hasSuffix","id","inputRef","placeholder","isRequired","role","rows","spellcheck","type","value","variant","onInput","onCommit","onKeyDown","onKeyUp"]);const na=""!==ea,{isDisabled:ua,isFocused:da,isLoading:pa,isReadonly:ca}=o.useFormFieldContext(),ma=((a,e,t)=>!(a&&!e&&!t))(P,na,da)?W:void 0,{class:xa}=K(ra),ba=!ua&&H,va=!ua&&G,_a=p.classNames(["oj-c-text-field-input",C,"default"===ta?p.classNames([T,"textarea"===i&&g,"input"===i&&F,"password"===aa&&I,!O&&!ba&&q,!B&&!va&&z]):M,P&&p.classNames([w,"textarea"===i&&S,!na&&da&&V]),!P&&"textarea"!==i&&N,O&&!H&&E,B&&!G&&U,ua?k:j,ba&&A,va&&L,xa]),ha=i||"input",ya=s.useTextFieldInputHandlers({currentCommitValue:R,value:ea,onInput:ia,onCommit:oa,onKeyDown:la}),{isTabbable:fa,tabbableModeProps:Ca}=l.useTabbableMode();return t.jsx(ha,Object.assign({"aria-autocomplete":r,"aria-controls":n,"aria-describedby":u,"aria-expanded":c,"aria-invalid":m,"aria-label":pa?d.getLoadingAriaLabel():x||void 0,"aria-labelledby":b,"aria-required":!!X||void 0,"aria-valuemax":v,"aria-valuemin":_,"aria-valuenow":h,"aria-valuetext":y,autocomplete:f,autofocus:D,class:_a,disabled:ua,id:J,onKeyUp:sa,placeholder:ma,readonly:ca,ref:Q,role:Y,rows:Z,spellcheck:$,type:aa,value:ea},ya,!fa&&Ca))},a.getInputId=a=>(null!=a?a:"")+"|input",a.getReadonlyClasses=(a,e,t)=>p.classNames([b,"textarea"===t&&_,a?v:y,"textarea"===t&&!a&&f,a&&e&&h]),a.getTextFieldClasses=(a,e)=>p.classNames([c,"embedded"===e&&m,!a&&x]),a.loadingStyles="xy1wrz"});
|
|
2
|
+
//# sourceMappingURL=TextFieldInput-33f53d8f.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextFieldInput-33f53d8f.js","sources":["../../src/UNSAFE_TextField/TextFieldUtils.ts","../../src/UNSAFE_TextField/TextFieldInput.tsx"],"sourcesContent":["import { classNames } from '../utils/UNSAFE_classNames';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\n\nconst textFieldStyles = {\n base: cssProps`${{\n display: 'inline-block',\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-md-line-height)',\n maxWidth: '100%',\n width: '100%',\n boxSizing: 'border-box'\n }}`,\n\n embedded: cssProps`${{\n height: '100%'\n }}`,\n\n nonReadonly: cssProps`${{\n fontWeight: '400',\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-font-size)'\n }}`\n};\n\nconst readonlyStyles = {\n base: cssProps`${{\n fontWeight: 'var(--oj-form-control-font-weight-read-only)',\n fontSize: 'var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-md-font-size)',\n position: 'relative',\n borderStyle: 'solid',\n transitionProperty: 'border-color',\n transitionDuration: '0.1s',\n transitionTimingFunction: 'linear',\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-border-radius)',\n flexDirection: 'row',\n alignItems: 'center',\n maxWidth: '100%',\n width: '100%',\n boxSizing: 'border-box'\n }}`,\n\n insideEnabledForm: cssProps`${{\n overflowX: 'hidden',\n overflowY: 'hidden',\n borderWidth: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-border-width)',\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-border-color-disabled)',\n backgroundColor: 'transparent',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-height)',\n minWidth: '1em',\n display: 'inline-flex',\n flex: '1'\n }}`,\n\n textarea: cssProps`${{\n height: 'auto'\n }}`,\n\n insideEnabledFormLabelInside: cssProps`${{\n minHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-height)'\n }}`,\n\n notInsideEnabledForm: cssProps`${{\n overflowX: 'visible',\n overflowY: 'visible',\n borderWidth: '0',\n backgroundColor: 'transparent',\n height: 'auto'\n }}`,\n\n textareaNotInsideEnabledForm: cssProps`${{\n paddingTop: '0',\n paddingBottom: '0'\n }}`\n};\n\n//Consolidating all loading styles on form elements here\nexport const loadingStyles = cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-animation-skeleton-bg-end-color)',\n backgroundSize: '200% 200%',\n borderWidth: '0',\n // need to use a var for the animation name because otherwise linaria will obfuscate it\n // and make it different from the actual keyframes name\n animationName: 'var(--oj-c-PRIVATE-DO-NOT-USE-private-preact-text-field-animation-name-skeleton)',\n animationIterationCount: 'infinite',\n animationDirection: 'alternate',\n animationDuration: '1.5s',\n opacity: '1'\n}}`;\n\nexport const getTextFieldClasses = (readonly?: boolean, variant?: 'default' | 'embedded') => {\n return classNames([\n textFieldStyles.base,\n variant === 'embedded' && textFieldStyles.embedded,\n !readonly && textFieldStyles.nonReadonly\n ]);\n};\n\nexport const getReadonlyClasses = (\n isInsideNonReadonlyForm?: boolean,\n hasInsideLabel?: boolean,\n variant?: 'textarea'\n) => {\n const classes = classNames([\n readonlyStyles.base,\n variant === 'textarea' && readonlyStyles.textarea,\n isInsideNonReadonlyForm\n ? readonlyStyles.insideEnabledForm\n : readonlyStyles.notInsideEnabledForm,\n variant === 'textarea' &&\n !isInsideNonReadonlyForm &&\n readonlyStyles.textareaNotInsideEnabledForm,\n isInsideNonReadonlyForm && hasInsideLabel && readonlyStyles.insideEnabledFormLabelInside\n ]);\n return classes;\n};\n\nexport const getInputId = (id?: string) => {\n return (id ?? '') + '|input';\n};\n\nexport const isInputPlaceholderShown = (\n hasInsideLabel: boolean,\n hasValue: boolean,\n isFocused?: boolean\n) => {\n return !(hasInsideLabel && !hasValue && !isFocused);\n};\n","import { cssProps } from '@oracle/oraclejet-cssprops';\nimport { Ref } from 'preact';\nimport { useFormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { useTabbableMode } from '../hooks/UNSAFE_useTabbableMode';\nimport { useTextFieldInputHandlers } from '../hooks/UNSAFE_useTextFieldInputHandlers';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport type { TextProps } from '../utils/UNSAFE_interpolations/text';\nimport { textInterpolations } from '../utils/UNSAFE_interpolations/text';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { getLoadingAriaLabel } from './FormControlUtils';\nimport { isInputPlaceholderShown } from './TextFieldUtils';\nimport { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\n\nconst rootStyles = {\n base: cssProps`${{\n // normally removing an outline can cause accessibility issues, however\n // on an input the cursor blinks so an outline is not required for\n // accessibility. As of 6-11-14 only chrome is putting\n // an outline on inputs anyway\n outlineStyle: 'none',\n outlineWidth: '0',\n boxSizing: 'border-box',\n fontFamily: 'inherit',\n lineHeight: 'inherit',\n fontWeight: 'inherit',\n border: '0',\n backgroundColor: 'transparent',\n width: '100%',\n\n '&::selection': {\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-selected)'\n }\n }}`,\n // removes margin that Safari adds to the input element\n input: cssProps`${{\n margin: '0'\n }}`,\n textarea: cssProps`${{\n paddingTop:\n 'calc((var(--oj-c-PRIVATE-DO-NOT-USE-text-field-height) - 1rem * var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-md-line-height))/ 2 - 1px)',\n paddingBottom:\n 'calc((var(--oj-c-PRIVATE-DO-NOT-USE-text-field-height) - 1rem * var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-md-line-height))/ 2 - 1px)',\n\n resize: 'none'\n }}`,\n password: cssProps`${{\n '&::-ms-reveal': {\n display: 'none'\n }\n }}`,\n labelDefaultPadding: cssProps`${{\n paddingTop: 0,\n paddingBottom: 0\n }}`,\n labelInsideBase: cssProps`${{\n minHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-height)',\n paddingTop: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-padding-top)',\n paddingBottom: 0,\n\n '&:hover': {\n backgroundColor: 'transparent'\n }\n }}`,\n textareaLabelInsideBase: cssProps`${{\n paddingTop: 0,\n paddingBottom: 0,\n // We are using a transparent border here instead of padding, due to how textarea scrolls the padding off the screen\n // and the text content will clash with the inside label.\n borderColor: 'transparent',\n borderStyle: 'solid',\n borderBlockStartWidth:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-size) * var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-line-height) + var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-position-top))',\n // The 0.25rem is an aesthetically pleasing amount of bottom padding\n borderBlockEndWidth: '0.25rem'\n }}`,\n\n labelInsideNoValueAndHasFocus: cssProps`${{\n animationName:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-private-preact-text-field-animation-name-placeholder)',\n animationDuration: 'var(--oj-c-PRIVATE-DO-NOT-USE-animation-duration-xlong)',\n animationTimingFunction: 'var(--oj-c-PRIVATE-DO-NOT-USE-animation-ease-in)'\n }}`,\n\n hasStartContent: cssProps`${{\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding)'\n }}`,\n\n hasEndContent: cssProps`${{\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-icon-to-text-padding)'\n }}`,\n\n defaultColor: cssProps`${{\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color)'\n }}`,\n\n disabledColor: cssProps`${{\n color: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-color-disabled)'\n }}`,\n // The 0.25em is the space between the prefix and the input. This is equivalent to ' '.\n hasPrefix: cssProps`${{\n paddingInlineStart: '.25em'\n }}`,\n\n hasSuffix: cssProps`${{\n paddingInlineEnd: '.25em'\n }}`,\n\n default: cssProps`${{\n fontSize: '100%'\n }}`,\n\n defaultPaddingStart: cssProps`${{\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding)'\n }}`,\n\n defaultPaddingEnd: cssProps`${{\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding)'\n }}`,\n\n embedded: cssProps`${{\n color: 'inherit',\n fontSize: 'inherit',\n height: '100%',\n margin: 0,\n paddingBlock: 0,\n paddingInline:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-text-field-embedded-padding, var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding))',\n\n // textarea styles\n resize: 'none',\n\n // input-password styles\n '&::-ms-reveal': {\n display: 'none'\n }\n }}`\n};\n\nconst interpolations = [...Object.values(textInterpolations)];\n\nconst styleInterpolations = mergeInterpolations<Props>(interpolations);\n\ntype Autocomplete = 'off' | 'on' | string;\n\ntype OrigPickedPropsFromInput = Pick<\n HTMLAttributesSignalExcluded<HTMLInputElement>,\n 'autofocus' | 'id' | 'placeholder' | 'required' | 'role' | 'spellcheck' | 'type'\n>;\ntype RenamedPropsFromInput = Omit<OrigPickedPropsFromInput, 'autofocus' | 'required'> & {\n autoFocus?: OrigPickedPropsFromInput['autofocus'];\n isRequired?: OrigPickedPropsFromInput['required'];\n};\ntype InputProps = {\n as?: 'input';\n type?: Pick<HTMLAttributesSignalExcluded<HTMLInputElement>, 'type'>['type'];\n rows?: never;\n inputRef?: Ref<HTMLInputElement>;\n hasPrefix?: boolean;\n hasSuffix?: boolean;\n};\n\ntype TextAreaProps = {\n as: 'textarea';\n type?: never;\n rows?: number;\n inputRef?: Ref<HTMLTextAreaElement>;\n hasPrefix?: never;\n hasSuffix?: never;\n};\n\ntype UniqueProps = InputProps | TextAreaProps;\n\ntype AriaProps = {\n ariaAutoComplete?: 'none' | 'inline' | 'list' | 'both';\n ariaControls?: string;\n ariaDescribedBy?: string;\n ariaExpanded?: boolean;\n ariaInvalid?: string;\n ariaLabel?: string;\n ariaLabelledBy?: string;\n ariaValueMax?: number;\n ariaValueMin?: number;\n ariaValueNow?: number;\n ariaValueText?: string;\n};\n\ntype Props = UniqueProps &\n TextProps &\n RenamedPropsFromInput &\n AriaProps & {\n autoComplete?: Autocomplete;\n // TODO: Should we expose has* props like these or should we pass this info\n // via FormFieldContext? (from review on 3/8/22)\n currentCommitValue?: string;\n hasEndContent?: boolean;\n hasInsideLabel?: boolean;\n hasStartContent?: boolean;\n value?: string;\n variant?: 'default' | 'embedded';\n onInput?: (detail: ValueUpdateDetail<string>) => void;\n onCommit?: (detail: ValueUpdateDetail<string>) => void;\n onKeyDown?: (event: KeyboardEvent) => void;\n onKeyUp?: (event: KeyboardEvent) => void;\n };\n\nexport const TextFieldInput = ({\n as = 'input',\n ariaAutoComplete,\n ariaControls,\n ariaDescribedBy,\n ariaExpanded,\n ariaInvalid,\n ariaLabel,\n ariaLabelledBy,\n ariaValueMax,\n ariaValueMin,\n ariaValueNow,\n ariaValueText,\n autoComplete,\n autoFocus,\n currentCommitValue,\n hasEndContent = false,\n hasInsideLabel = false,\n hasPrefix = false,\n hasStartContent = false,\n hasSuffix = false,\n id,\n inputRef,\n placeholder,\n isRequired,\n role,\n rows,\n spellcheck,\n type,\n value = '',\n variant = 'default',\n onInput,\n onCommit,\n onKeyDown,\n onKeyUp,\n ...props\n}: Props) => {\n const hasValue = value !== '';\n const { isDisabled, isFocused, isLoading, isReadonly } = useFormFieldContext();\n const myPlaceholder = isInputPlaceholderShown(hasInsideLabel, hasValue, isFocused)\n ? placeholder\n : undefined;\n const { class: styleInterpolationClasses } = styleInterpolations(props);\n const renderPrefix = !isDisabled && hasPrefix;\n const renderSuffix = !isDisabled && hasSuffix;\n const inputClasses = classNames([\n 'oj-c-text-field-input',\n rootStyles.base,\n variant === 'default'\n ? classNames([\n rootStyles.default,\n as === 'textarea' && rootStyles.textarea,\n as === 'input' && rootStyles.input,\n type === 'password' && rootStyles.password,\n !hasStartContent && !renderPrefix && rootStyles.defaultPaddingStart,\n !hasEndContent && !renderSuffix && rootStyles.defaultPaddingEnd\n ])\n : rootStyles.embedded,\n hasInsideLabel &&\n classNames([\n rootStyles.labelInsideBase,\n as === 'textarea' && rootStyles.textareaLabelInsideBase,\n !hasValue && isFocused && rootStyles.labelInsideNoValueAndHasFocus\n ]),\n !hasInsideLabel && as !== 'textarea' && rootStyles.labelDefaultPadding,\n // We want the input to have padding on itself. This gives the user more space to click on to set focus to the input.\n // The padding between the input and the icon is different than the padding between the input and prefix/suffix (since they are both text)\n // startcontentpadding+input+endcontentpadding\n hasStartContent && !hasPrefix && rootStyles.hasStartContent,\n hasEndContent && !hasSuffix && rootStyles.hasEndContent,\n isDisabled ? rootStyles.disabledColor : rootStyles.defaultColor,\n // prefix+prefixpadding+input+suffixpadding+suffix\n // if there is also a startcontent or end content,\n // the prefix/suffix will have that padding on it (see PrefixSuffix)\n renderPrefix && rootStyles.hasPrefix,\n renderSuffix && rootStyles.hasSuffix,\n styleInterpolationClasses\n ]);\n const Comp = as || 'input';\n const handlers = useTextFieldInputHandlers({\n currentCommitValue,\n value,\n onInput,\n onCommit,\n onKeyDown\n });\n // the implicit default for tabindex on an input is 0, so do not explicitly set it.\n // JET-52914 - Implement Tabbable mode API contract in InputText\n // if not tabbable, spread tabbableModeProps on component\n const { isTabbable, tabbableModeProps } = useTabbableMode();\n // TODO: for autoComplete='off', need to configure attrs appropriately to make sure it\n // works across browsers and versions (from review on 3/11/22)\n return (\n <Comp\n aria-autocomplete={ariaAutoComplete}\n aria-controls={ariaControls}\n aria-describedby={ariaDescribedBy}\n aria-expanded={ariaExpanded}\n aria-invalid={ariaInvalid}\n aria-label={isLoading ? getLoadingAriaLabel() : ariaLabel ? ariaLabel : undefined}\n aria-labelledby={ariaLabelledBy}\n aria-required={isRequired ? true : undefined}\n aria-valuemax={ariaValueMax}\n aria-valuemin={ariaValueMin}\n aria-valuenow={ariaValueNow}\n aria-valuetext={ariaValueText}\n autocomplete={autoComplete}\n autofocus={autoFocus}\n class={inputClasses}\n disabled={isDisabled}\n id={id}\n onKeyUp={onKeyUp}\n placeholder={myPlaceholder}\n readonly={isReadonly}\n // @ts-ignore\n ref={inputRef}\n role={role}\n rows={rows}\n spellcheck={spellcheck}\n type={type}\n value={value}\n {...handlers}\n {...(!isTabbable && tabbableModeProps)}\n />\n );\n};\n"],"names":["textFieldStyles","readonlyStyles","rootStyles","interpolations","Object","values","textInterpolations","styleInterpolations","mergeInterpolations","_a","as","ariaAutoComplete","ariaControls","ariaDescribedBy","ariaExpanded","ariaInvalid","ariaLabel","ariaLabelledBy","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","autoComplete","autoFocus","currentCommitValue","hasEndContent","hasInsideLabel","hasPrefix","hasStartContent","hasSuffix","id","inputRef","placeholder","isRequired","role","rows","spellcheck","type","value","variant","onInput","onCommit","onKeyDown","onKeyUp","props","__rest","hasValue","isDisabled","isFocused","isLoading","isReadonly","useFormFieldContext","renderPrefix","renderSuffix","classNames","Comp","_jsx","assign","getLoadingAriaLabel","undefined","autocomplete","autofocus","class","inputClasses","disabled","myPlaceholder","readonly","ref","handlers","isTabbable","tabbableModeProps","isInsideNonReadonlyForm"],"mappings":"qYAGA,MAAAA,EAAA,UAAAA,EAAA,WAAAA,WAmBAC,EAAA,WAAAA,EAAA,WAAA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