@oracle/oraclejet-preact 14.0.0 → 14.0.1
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-f6cdc68a.js +2 -0
- package/amd/{Badge-0881d386.js.map → Badge-f6cdc68a.js.map} +1 -1
- package/amd/BaseButton-979c5061.js +2 -0
- package/amd/{BaseButton-c6deca8c.js.map → BaseButton-979c5061.js.map} +1 -1
- package/amd/Button-097e23fc.js +2 -0
- package/amd/{Button-18083439.js.map → Button-097e23fc.js.map} +1 -1
- package/amd/Chip-ff8df610.js +2 -0
- package/amd/{Chip-d8fcbe0a.js.map → Chip-ff8df610.js.map} +1 -1
- package/amd/ClearIcon-9a621af3.js +2 -0
- package/amd/{ClearIcon-7e5374d7.js.map → ClearIcon-9a621af3.js.map} +1 -1
- package/amd/Collection-a29e53a2.js +2 -0
- package/amd/{Collection-0cd076bf.js.map → Collection-a29e53a2.js.map} +1 -1
- package/amd/ComponentMessage-28fa60d9.js +2 -0
- package/amd/{ComponentMessage-3a247b9a.js.map → ComponentMessage-28fa60d9.js.map} +1 -1
- package/amd/ComponentMessageContainer-82d94819.js +2 -0
- package/amd/{ComponentMessageContainer-eaa98f45.js.map → ComponentMessageContainer-82d94819.js.map} +1 -1
- package/amd/Divider-0eee7671.js +2 -0
- package/amd/{Divider-6855675c.js.map → Divider-0eee7671.js.map} +1 -1
- package/amd/FilePicker-5e3c00f7.js +2 -0
- package/amd/{FilePicker-22dcb644.js.map → FilePicker-5e3c00f7.js.map} +1 -1
- package/amd/{Flex-0dec0de8.js → Flex-348d5a41.js} +2 -2
- package/amd/{Flex-0dec0de8.js.map → Flex-348d5a41.js.map} +1 -1
- package/amd/Floating-44114750.js +2 -0
- package/amd/{Floating-a320db48.js.map → Floating-44114750.js.map} +1 -1
- package/amd/FocusTrap-b42970ea.js +2 -0
- package/amd/{FocusTrap-444cf340.js.map → FocusTrap-b42970ea.js.map} +1 -1
- package/amd/FormControlUtils-b6d5ae69.js +2 -0
- package/amd/{FormControlUtils-d6f8680e.js.map → FormControlUtils-b6d5ae69.js.map} +1 -1
- package/amd/Heading-d4d44963.js +2 -0
- package/amd/{Heading-b2b87148.js.map → Heading-d4d44963.js.map} +1 -1
- package/amd/HiddenAccessible-f22f6877.js +2 -0
- package/amd/{HiddenAccessible-061a4f41.js.map → HiddenAccessible-f22f6877.js.map} +1 -1
- package/amd/HighlightText-44f9023f.js +2 -0
- package/amd/{HighlightText-a2b5f4e4.js.map → HighlightText-44f9023f.js.map} +1 -1
- package/amd/Icon-3f9a8f0d.js +2 -0
- package/amd/{Icon-87f4ca0b.js.map → Icon-3f9a8f0d.js.map} +1 -1
- package/amd/Indexer-4fe4d55d.js +2 -0
- package/amd/{Indexer-2b266287.js.map → Indexer-4fe4d55d.js.map} +1 -1
- package/amd/InlineHelpSource-7270d6c0.js +2 -0
- package/amd/{InlineHelpSource-7fec4994.js.map → InlineHelpSource-7270d6c0.js.map} +1 -1
- package/amd/Link-be4c8125.js +2 -0
- package/amd/{Link-4a365734.js.map → Link-be4c8125.js.map} +1 -1
- package/amd/List-e9b4db00.js +2 -0
- package/amd/{List-56a1055e.js.map → List-e9b4db00.js.map} +1 -1
- package/amd/ListItemTextLayout-ad386670.js +2 -0
- package/amd/{ListItemTextLayout-fb9952bb.js.map → ListItemTextLayout-ad386670.js.map} +1 -1
- package/amd/ListView-27ce40e5.js +2 -0
- package/amd/{ListView-6a3088e3.js.map → ListView-27ce40e5.js.map} +1 -1
- package/amd/LoadMoreCollection-d199803f.js +2 -0
- package/amd/{LoadMoreCollection-60a7b2a5.js.map → LoadMoreCollection-d199803f.js.map} +1 -1
- package/amd/Menu-10a5b1e6.js +2 -0
- package/amd/{Menu-7882480e.js.map → Menu-10a5b1e6.js.map} +1 -1
- package/amd/MenuDivider-0612a232.js +2 -0
- package/amd/{MenuDivider-eafa71e0.js.map → MenuDivider-0612a232.js.map} +1 -1
- package/amd/MenuItem-e2bab57b.js +2 -0
- package/amd/{MenuItem-c03348c5.js.map → MenuItem-e2bab57b.js.map} +1 -1
- package/amd/Message.types-23350d23.js +2 -0
- package/amd/{Message.types-2209616d.js.map → Message.types-23350d23.js.map} +1 -1
- package/amd/MessageCloseButton-26d2a151.js +2 -0
- package/amd/{MessageCloseButton-c76a52a8.js.map → MessageCloseButton-26d2a151.js.map} +1 -1
- package/amd/MessageDetail-d34864b4.js +2 -0
- package/amd/{MessageDetail-43b9aea2.js.map → MessageDetail-d34864b4.js.map} +1 -1
- package/amd/MessageFormattingUtils-bf5de0fd.js +2 -0
- package/amd/{MessageFormattingUtils-b6297ef3.js.map → MessageFormattingUtils-bf5de0fd.js.map} +1 -1
- package/amd/MessageLayer-4b1a5953.js +2 -0
- package/amd/{MessageLayer-75166056.js.map → MessageLayer-4b1a5953.js.map} +1 -1
- package/amd/MessageStartIcon-66feb809.js +2 -0
- package/amd/{MessageStartIcon-6ef050cb.js.map → MessageStartIcon-66feb809.js.map} +1 -1
- package/amd/MessageSummary-c8e827f6.js +2 -0
- package/amd/{MessageSummary-6829e689.js.map → MessageSummary-c8e827f6.js.map} +1 -1
- package/amd/MessageTimestamp-839e805a.js +2 -0
- package/amd/{MessageTimestamp-663c8997.js.map → MessageTimestamp-839e805a.js.map} +1 -1
- package/amd/MessageToast-3a57f7d1.js +2 -0
- package/amd/{MessageToast-104da69d.js.map → MessageToast-3a57f7d1.js.map} +1 -1
- package/amd/MessageUtils-66bef1fe.js +2 -0
- package/amd/{MessageUtils-d33dd1be.js.map → MessageUtils-66bef1fe.js.map} +1 -1
- package/amd/MessagesManager-0c0f108c.js +2 -0
- package/amd/MessagesManager-0c0f108c.js.map +1 -0
- package/amd/MeterCircle-d4ea2ba7.js +2 -0
- package/amd/{MeterCircle-da06e4f7.js.map → MeterCircle-d4ea2ba7.js.map} +1 -1
- package/amd/Modal-e9678638.js +2 -0
- package/amd/{Modal-b06cc4b4.js.map → Modal-e9678638.js.map} +1 -1
- package/amd/NumberInputText-a7227747.js +2 -0
- package/amd/{NumberInputText-bf17d6e8.js.map → NumberInputText-a7227747.js.map} +1 -1
- package/amd/PRIVATE_Collection.js +1 -1
- package/amd/PRIVATE_List.css +15 -15
- package/amd/PRIVATE_List.js +1 -1
- package/amd/PRIVATE_Message.css +27 -27
- package/amd/PRIVATE_Message.js +1 -1
- package/amd/PRIVATE_Message.js.map +1 -1
- package/amd/PRIVATE_MessageLayer.css +7 -7
- package/amd/PRIVATE_MessageLayer.js +1 -1
- package/amd/PRIVATE_Meter.js +1 -1
- package/amd/PRIVATE_Meter.js.map +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_TransitionGroup.js +1 -1
- package/amd/PRIVATE_TransitionGroup.js.map +1 -1
- package/amd/PRIVATE_VirtualizedCollection.js +1 -1
- package/amd/ReadonlyTextFieldInput-8040cb97.js +2 -0
- package/amd/{ReadonlyTextFieldInput-575ef738.js.map → ReadonlyTextFieldInput-8040cb97.js.map} +1 -1
- package/amd/{SelectMenuItem-9003f5f7.js → SelectMenuItem-b8c69e06.js} +2 -2
- package/amd/{SelectMenuItem-9003f5f7.js.map → SelectMenuItem-b8c69e06.js.map} +1 -1
- package/amd/SelectMultiple-48f32c18.js +2 -0
- package/amd/{SelectMultiple-b841e678.js.map → SelectMultiple-48f32c18.js.map} +1 -1
- package/amd/SelectSingle-d8cd50ab.js +2 -0
- package/amd/{SelectSingle-b6a88f0f.js.map → SelectSingle-d8cd50ab.js.map} +1 -1
- package/amd/{Skeleton-6261f735.js → Skeleton-247a04d3.js} +2 -2
- package/amd/{Skeleton-6261f735.js.map → Skeleton-247a04d3.js.map} +1 -1
- package/amd/Spacer-2319ab47.js +2 -0
- package/amd/{Spacer-e92cba7a.js.map → Spacer-2319ab47.js.map} +1 -1
- package/amd/SplitMenuButton-28af8bc4.js +2 -0
- package/amd/{SplitMenuButton-238f2539.js.map → SplitMenuButton-28af8bc4.js.map} +1 -1
- package/amd/Text-49e82dcb.js +2 -0
- package/amd/{Text-4fcf43f2.js.map → Text-49e82dcb.js.map} +1 -1
- package/amd/TextArea-9eb3116b.js +2 -0
- package/amd/{TextArea-6a820048.js.map → TextArea-9eb3116b.js.map} +1 -1
- package/amd/TextAreaAutosize-60cacec3.js +2 -0
- package/amd/{TextAreaAutosize-f84225fb.js.map → TextAreaAutosize-60cacec3.js.map} +1 -1
- package/amd/TextFieldInput-428b8905.js +2 -0
- package/amd/{TextFieldInput-e0759ad6.js.map → TextFieldInput-428b8905.js.map} +1 -1
- package/amd/UNSAFE_AspectRatio.css +1 -1
- package/amd/UNSAFE_AspectRatio.js +1 -1
- package/amd/UNSAFE_AspectRatio.js.map +1 -1
- package/amd/UNSAFE_Avatar.css +8 -8
- package/amd/UNSAFE_Avatar.js +1 -1
- package/amd/UNSAFE_Avatar.js.map +1 -1
- package/amd/UNSAFE_Badge.css +13 -13
- package/amd/UNSAFE_Badge.js +1 -1
- package/amd/UNSAFE_BaseButton.css +15 -15
- package/amd/UNSAFE_BaseButton.js +1 -1
- package/amd/UNSAFE_Button.css +8 -8
- package/amd/UNSAFE_Button.js +1 -1
- package/amd/UNSAFE_Center.js +1 -1
- package/amd/UNSAFE_Center.js.map +1 -1
- package/amd/UNSAFE_Chip.css +7 -7
- package/amd/UNSAFE_Chip.js +1 -1
- package/amd/UNSAFE_Collapsible.css +8 -8
- package/amd/UNSAFE_Collapsible.js +1 -1
- package/amd/UNSAFE_Collapsible.js.map +1 -1
- package/amd/UNSAFE_Collection.js +1 -1
- package/amd/UNSAFE_ComponentMessage.css +2 -2
- package/amd/UNSAFE_ComponentMessage.js +1 -1
- package/amd/UNSAFE_Divider.css +1 -1
- package/amd/UNSAFE_Divider.js +1 -1
- package/amd/UNSAFE_EmptyList.js +1 -1
- package/amd/UNSAFE_EmptyList.js.map +1 -1
- package/amd/UNSAFE_Environment.js +1 -1
- package/amd/UNSAFE_Environment.js.map +1 -1
- package/amd/UNSAFE_FilePicker.css +6 -6
- package/amd/UNSAFE_FilePicker.js +1 -1
- package/amd/UNSAFE_Flex.css +2 -2
- package/amd/UNSAFE_Flex.js +1 -1
- package/amd/UNSAFE_Floating.js +1 -1
- package/amd/UNSAFE_FocusTrap.css +2 -2
- package/amd/UNSAFE_FocusTrap.js +1 -1
- package/amd/UNSAFE_Grid.css +1 -1
- package/amd/UNSAFE_Grid.js +1 -1
- package/amd/UNSAFE_Grid.js.map +1 -1
- package/amd/UNSAFE_Heading.css +9 -9
- package/amd/UNSAFE_Heading.js +1 -1
- package/amd/UNSAFE_HiddenAccessible.css +1 -1
- package/amd/UNSAFE_HiddenAccessible.js +1 -1
- package/amd/UNSAFE_HighlightText.css +1 -1
- package/amd/UNSAFE_HighlightText.js +1 -1
- package/amd/UNSAFE_Icon.css +21 -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.css +7 -7
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputPassword.css +1 -1
- package/amd/UNSAFE_InputPassword.js +1 -1
- package/amd/UNSAFE_InputPassword.js.map +1 -1
- package/amd/UNSAFE_InputText.css +1 -1
- package/amd/UNSAFE_InputText.js +1 -1
- package/amd/UNSAFE_InputText.js.map +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_Layer.js +1 -1
- package/amd/UNSAFE_Layer.js.map +1 -1
- package/amd/UNSAFE_Link.css +5 -5
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListItemLayout.css +9 -9
- package/amd/UNSAFE_ListItemLayout.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_LiveRegion.css +1 -1
- package/amd/UNSAFE_LiveRegion.js +1 -1
- package/amd/UNSAFE_LiveRegion.js.map +1 -1
- package/amd/UNSAFE_LoadMoreCollection.js +1 -1
- package/amd/UNSAFE_Menu.css +17 -17
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageBanner.js.map +1 -1
- package/amd/UNSAFE_MessageToast.css +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_MeterBar.css +43 -43
- package/amd/UNSAFE_MeterBar.js +1 -1
- package/amd/UNSAFE_MeterBar.js.map +1 -1
- package/amd/UNSAFE_MeterCircle.css +46 -46
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_Modal.css +3 -3
- package/amd/UNSAFE_Modal.js +1 -1
- package/amd/UNSAFE_NumberInputText.js +1 -1
- package/amd/UNSAFE_PrefixSuffix.css +8 -8
- package/amd/UNSAFE_PrefixSuffix.js +1 -1
- package/amd/UNSAFE_PrefixSuffix.js.map +1 -1
- package/amd/UNSAFE_ProgressBar.css +6 -6
- package/amd/UNSAFE_ProgressBar.js +1 -1
- package/amd/UNSAFE_ProgressBar.js.map +1 -1
- package/amd/UNSAFE_ProgressCircle.css +6 -6
- package/amd/UNSAFE_ProgressCircle.js +1 -1
- package/amd/UNSAFE_ProgressCircle.js.map +1 -1
- package/amd/UNSAFE_RatingGauge.css +20 -20
- package/amd/UNSAFE_RatingGauge.js +1 -1
- package/amd/UNSAFE_RatingGauge.js.map +1 -1
- package/amd/UNSAFE_SelectMultiple.css +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_Selector.css +5 -5
- package/amd/UNSAFE_Selector.js +1 -1
- package/amd/UNSAFE_Selector.js.map +1 -1
- package/amd/UNSAFE_Skeleton.css +1 -1
- package/amd/UNSAFE_Skeleton.js +1 -1
- package/amd/UNSAFE_Spacer.js +1 -1
- package/amd/UNSAFE_SplitMenuButton.css +5 -5
- package/amd/UNSAFE_SplitMenuButton.js +1 -1
- package/amd/UNSAFE_Text.css +25 -25
- package/amd/UNSAFE_Text.js +1 -1
- package/amd/UNSAFE_TextArea.css +3 -3
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_TextField.css +58 -58
- package/amd/UNSAFE_TextField.js +1 -1
- package/amd/UNSAFE_TextField.js.map +1 -1
- package/amd/UNSAFE_ThemedIcons.js +1 -1
- package/amd/UNSAFE_UserAssistance.css +8 -8
- package/amd/UNSAFE_UserAssistance.js +1 -1
- package/amd/UNSAFE_UserAssistance.js.map +1 -1
- package/amd/UNSAFE_View.js +1 -1
- package/amd/UNSAFE_View.js.map +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/UNSAFE_WindowOverlay.js +1 -1
- package/amd/UNSAFE_WindowOverlay.js.map +1 -1
- package/amd/VirtualizedCollection-76b70956.js +2 -0
- package/amd/{VirtualizedCollection-45f2c32e.js.map → VirtualizedCollection-76b70956.js.map} +1 -1
- package/amd/VirtualizedListView-763ea69f.js +2 -0
- package/amd/{VirtualizedListView-22a5c6af.js.map → VirtualizedListView-763ea69f.js.map} +1 -1
- package/amd/_curry1-a2227576.js +2 -0
- package/amd/{_curry1-b9493cf6.js.map → _curry1-a2227576.js.map} +1 -1
- package/amd/_curry2-a4242d52.js +2 -0
- package/amd/{_curry2-b02f6247.js.map → _curry2-a4242d52.js.map} +1 -1
- package/amd/_curry3-3a3ba6d5.js +2 -0
- package/amd/{_curry3-8ffdde1d.js.map → _curry3-3a3ba6d5.js.map} +1 -1
- package/amd/_has-db711dd4.js +2 -0
- package/amd/{_has-fad415e9.js.map → _has-db711dd4.js.map} +1 -1
- package/amd/classNames-e842f86a.js +2 -0
- package/amd/{classNames-3c307969.js.map → classNames-e842f86a.js.map} +1 -1
- package/amd/clientHints-45edd40b.js +2 -0
- package/amd/{clientHints-7d8b1c52.js.map → clientHints-45edd40b.js.map} +1 -1
- package/amd/flexbox-d23eebb7.js +2 -0
- package/amd/{flexbox-b8de8bb4.js.map → flexbox-d23eebb7.js.map} +1 -1
- package/amd/flexitem-6045133a.js +2 -0
- package/amd/{flexitem-d8628091.js.map → flexitem-6045133a.js.map} +1 -1
- package/amd/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
- package/amd/hooks/PRIVATE_useCollectionFocusRing.js.map +1 -1
- package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
- package/amd/hooks/PRIVATE_useCurrentKey.js.map +1 -1
- package/amd/hooks/PRIVATE_useDvtMeterEvents.js +1 -1
- package/amd/hooks/PRIVATE_useDvtMeterEvents.js.map +1 -1
- package/amd/hooks/PRIVATE_useItemAction.js +1 -1
- package/amd/hooks/PRIVATE_useItemAction.js.map +1 -1
- package/amd/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
- package/amd/hooks/PRIVATE_useMessagesFocusManager.js.map +1 -1
- package/amd/hooks/PRIVATE_useSelection.js +1 -1
- package/amd/hooks/PRIVATE_useSelection.js.map +1 -1
- package/amd/hooks/PRIVATE_useSingleSelection.js +1 -1
- package/amd/hooks/PRIVATE_useTabbableModeSet.js +1 -1
- package/amd/hooks/PRIVATE_useTabbableModeSet.js.map +1 -1
- package/amd/hooks/UNSAFE_useActionable.js +1 -1
- package/amd/hooks/UNSAFE_useActionable.js.map +1 -1
- package/amd/hooks/UNSAFE_useActive.js +1 -1
- package/amd/hooks/UNSAFE_useActive.js.map +1 -1
- package/amd/hooks/UNSAFE_useAnimation.js +1 -1
- package/amd/hooks/UNSAFE_useBreakpointValues.js +1 -1
- package/amd/hooks/UNSAFE_useBreakpointValues.js.map +1 -1
- package/amd/hooks/UNSAFE_useBreakpoints.js +1 -1
- package/amd/hooks/UNSAFE_useBreakpoints.js.map +1 -1
- package/amd/hooks/UNSAFE_useClearIcon.js +1 -1
- package/amd/hooks/UNSAFE_useClearIcon.js.map +1 -1
- package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
- package/amd/hooks/UNSAFE_useColorScheme.js.map +1 -1
- package/amd/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
- package/amd/hooks/UNSAFE_useContainerBreakpointValues.js.map +1 -1
- package/amd/hooks/UNSAFE_useContainerBreakpoints.js +1 -1
- package/amd/hooks/UNSAFE_useContainerBreakpoints.js.map +1 -1
- package/amd/hooks/UNSAFE_useCurrentValueReducer.js +1 -1
- package/amd/hooks/UNSAFE_useCurrentValueReducer.js.map +1 -1
- package/amd/hooks/UNSAFE_useDebounce.js +1 -1
- package/amd/hooks/UNSAFE_useDebounce.js.map +1 -1
- package/amd/hooks/UNSAFE_useFloating.js +1 -1
- package/amd/hooks/UNSAFE_useFocus.js +1 -1
- package/amd/hooks/UNSAFE_useFocus.js.map +1 -1
- package/amd/hooks/UNSAFE_useFocusWithin.js +1 -1
- package/amd/hooks/UNSAFE_useFocusableTextField.js +1 -1
- package/amd/hooks/UNSAFE_useFocusableTextField.js.map +1 -1
- package/amd/hooks/UNSAFE_useFormContext.js +1 -1
- package/amd/hooks/UNSAFE_useFormContext.js.map +1 -1
- package/amd/hooks/UNSAFE_useFormFieldContext.js +1 -1
- package/amd/hooks/UNSAFE_useFormFieldContext.js.map +1 -1
- package/amd/hooks/UNSAFE_useFormVariantContext.js +1 -1
- package/amd/hooks/UNSAFE_useFormVariantContext.js.map +1 -1
- package/amd/hooks/UNSAFE_useHover.js +1 -1
- package/amd/hooks/UNSAFE_useHover.js.map +1 -1
- package/amd/hooks/UNSAFE_useId.js +1 -1
- package/amd/hooks/UNSAFE_useId.js.map +1 -1
- package/amd/hooks/UNSAFE_useLengthFilter.js +1 -1
- package/amd/hooks/UNSAFE_useLengthFilter.js.map +1 -1
- package/amd/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
- package/amd/hooks/UNSAFE_useLoadingIndicatorTimer.js.map +1 -1
- package/amd/hooks/UNSAFE_useLongPress.js +1 -1
- package/amd/hooks/UNSAFE_useLongPress.js.map +1 -1
- package/amd/hooks/UNSAFE_useMessagesContext.js +1 -1
- package/amd/hooks/UNSAFE_useMessagesContext.js.map +1 -1
- package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
- package/amd/hooks/UNSAFE_useOutsideClick.js.map +1 -1
- package/amd/hooks/UNSAFE_usePan.js +1 -1
- package/amd/hooks/UNSAFE_usePan.js.map +1 -1
- package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
- package/amd/hooks/UNSAFE_usePrefixSuffix.js.map +1 -1
- package/amd/hooks/UNSAFE_usePress.js +1 -1
- package/amd/hooks/UNSAFE_usePress.js.map +1 -1
- package/amd/hooks/UNSAFE_useScale.js +1 -1
- package/amd/hooks/UNSAFE_useScale.js.map +1 -1
- package/amd/hooks/UNSAFE_useSwipe.js +1 -1
- package/amd/hooks/UNSAFE_useSwipe.js.map +1 -1
- package/amd/hooks/UNSAFE_useTabbableMode.js +1 -1
- package/amd/hooks/UNSAFE_useTabbableMode.js.map +1 -1
- package/amd/hooks/UNSAFE_useTap.js +1 -1
- package/amd/hooks/UNSAFE_useTap.js.map +1 -1
- package/amd/hooks/UNSAFE_useTextField.js +1 -1
- package/amd/hooks/UNSAFE_useTextField.js.map +1 -1
- package/amd/hooks/UNSAFE_useTextFieldInputHandlers.js +1 -1
- package/amd/hooks/UNSAFE_useTextFieldInputHandlers.js.map +1 -1
- package/amd/hooks/UNSAFE_useTheme.js +1 -1
- package/amd/hooks/UNSAFE_useTheme.js.map +1 -1
- package/amd/hooks/UNSAFE_useTimer.js +1 -1
- package/amd/hooks/UNSAFE_useTimer.js.map +1 -1
- package/amd/hooks/UNSAFE_useToggle.js +1 -1
- package/amd/hooks/UNSAFE_useToggle.js.map +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/hooks/UNSAFE_useTouch.js +1 -1
- package/amd/hooks/UNSAFE_useTouch.js.map +1 -1
- package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
- package/amd/hooks/UNSAFE_useTranslationBundle.js.map +1 -1
- package/amd/hooks/UNSAFE_useUncontrolledState.js +1 -1
- package/amd/hooks/UNSAFE_useUncontrolledState.js.map +1 -1
- package/amd/hooks/UNSAFE_useUser.js +1 -1
- package/amd/hooks/UNSAFE_useUser.js.map +1 -1
- package/amd/hooks/UNSAFE_useViewportIntersect.js +1 -1
- package/amd/hooks/UNSAFE_useViewportIntersect.js.map +1 -1
- package/amd/index-173030cd.js +2 -0
- package/amd/{index-55b2db15.js.map → index-173030cd.js.map} +1 -1
- package/amd/index-696f9e7b.js +2 -0
- package/amd/{index-bd92b0b3.js.map → index-696f9e7b.js.map} +1 -1
- package/amd/index-e6354839.js +2 -0
- package/amd/{index-2f5333e8.js.map → index-e6354839.js.map} +1 -1
- package/amd/keys-08720ea5.js +2 -0
- package/amd/{keys-9d7cdf1f.js.map → keys-08720ea5.js.map} +1 -1
- package/amd/listViewSelectionTests-db839737.js +2 -0
- package/amd/{listViewSelectionTests-b85b7850.js.map → listViewSelectionTests-db839737.js.map} +1 -1
- package/amd/listViewTabbableModeTests-09d782e8.js +2 -0
- package/amd/{listViewTabbableModeTests-7c0d5a88.js.map → listViewTabbableModeTests-09d782e8.js.map} +1 -1
- package/amd/listViewTestFixtures-3c2de34f.js +2 -0
- package/amd/{listViewTestFixtures-027f1a07.js.map → listViewTestFixtures-3c2de34f.js.map} +1 -1
- package/amd/menuTestsUtils-c8ff40bb.js +2 -0
- package/amd/{menuTestsUtils-6cfb2d03.js.map → menuTestsUtils-c8ff40bb.js.map} +1 -1
- 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/supportedLocales.js +1 -1
- package/amd/resources/nls/supportedLocales.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-7012261b.js +2 -0
- package/amd/{stringUtils-48915fb5.js.map → stringUtils-7012261b.js.map} +1 -1
- package/amd/testHelpers-1d3e6d7d.js +2 -0
- package/amd/{testHelpers-327fc97e.js.map → testHelpers-1d3e6d7d.js.map} +1 -1
- package/amd/translationBundle.js +1 -1
- package/amd/translationBundle.js.map +1 -1
- package/amd/tslib.es6-42e4f430.js +2 -0
- package/amd/{tslib.es6-d070fafc.js.map → tslib.es6-42e4f430.js.map} +1 -1
- package/amd/useAnimation-1a52f0c4.js +2 -0
- package/amd/{useAnimation-8e4e9999.js.map → useAnimation-1a52f0c4.js.map} +1 -1
- package/amd/useFocusWithin-2efc86a8.js +2 -0
- package/amd/{useFocusWithin-7378d9c7.js.map → useFocusWithin-2efc86a8.js.map} +1 -1
- package/amd/useSingleSelection-0ffc7fc8.js +2 -0
- package/amd/{useSingleSelection-089373da.js.map → useSingleSelection-0ffc7fc8.js.map} +1 -1
- package/amd/utils/PRIVATE_clientHints.js +1 -1
- package/amd/utils/PRIVATE_collectionUtils.js +1 -1
- package/amd/utils/PRIVATE_collectionUtils.js.map +1 -1
- package/amd/utils/PRIVATE_dvtTestUtils.js +1 -1
- package/amd/utils/PRIVATE_dvtTestUtils.js.map +1 -1
- package/amd/utils/PRIVATE_floatingUtils.js +1 -1
- package/amd/utils/PRIVATE_floatingUtils.js.map +1 -1
- package/amd/utils/PRIVATE_meterUtils.js +1 -1
- package/amd/utils/PRIVATE_meterUtils.js.map +1 -1
- package/amd/utils/PRIVATE_refUtils.js +1 -1
- package/amd/utils/PRIVATE_refUtils.js.map +1 -1
- package/amd/utils/PRIVATE_tabbableUtils.js +1 -1
- package/amd/utils/PRIVATE_tabbableUtils.js.map +1 -1
- package/amd/utils/PRIVATE_timer.js +1 -1
- package/amd/utils/PRIVATE_timer.js.map +1 -1
- package/amd/utils/UNSAFE_arrayUtils.js +1 -1
- package/amd/utils/UNSAFE_arrayUtils.js.map +1 -1
- package/amd/utils/UNSAFE_attributeUtils.js +1 -1
- package/amd/utils/UNSAFE_classNames.js +1 -1
- package/amd/utils/UNSAFE_componentUtils.js +1 -1
- package/amd/utils/UNSAFE_componentUtils.js.map +1 -1
- package/amd/utils/UNSAFE_dataProvider.js +1 -1
- package/amd/utils/UNSAFE_filePickerUtils.js +1 -1
- package/amd/utils/UNSAFE_filePickerUtils.js.map +1 -1
- package/amd/utils/UNSAFE_getLocale.js +1 -1
- package/amd/utils/UNSAFE_getLocale.js.map +1 -1
- package/amd/utils/UNSAFE_interpolations/aria.js +1 -1
- package/amd/utils/UNSAFE_interpolations/aria.js.map +1 -1
- package/amd/utils/UNSAFE_interpolations/borders.js +1 -1
- package/amd/utils/UNSAFE_interpolations/borders.js.map +1 -1
- package/amd/utils/UNSAFE_interpolations/boxalignment.css +15 -15
- package/amd/utils/UNSAFE_interpolations/boxalignment.js +1 -1
- package/amd/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
- package/amd/utils/UNSAFE_interpolations/colors.js +1 -1
- package/amd/utils/UNSAFE_interpolations/colors.js.map +1 -1
- package/amd/utils/UNSAFE_interpolations/dimensions.js +1 -1
- package/amd/utils/UNSAFE_interpolations/dimensions.js.map +1 -1
- package/amd/utils/UNSAFE_interpolations/flexbox.css +7 -7
- package/amd/utils/UNSAFE_interpolations/flexbox.js +1 -1
- package/amd/utils/UNSAFE_interpolations/flexitem.css +7 -7
- package/amd/utils/UNSAFE_interpolations/flexitem.js +1 -1
- package/amd/utils/UNSAFE_interpolations/grid.js +1 -1
- package/amd/utils/UNSAFE_interpolations/grid.js.map +1 -1
- package/amd/utils/UNSAFE_interpolations/griditem.js +1 -1
- package/amd/utils/UNSAFE_interpolations/griditem.js.map +1 -1
- package/amd/utils/UNSAFE_interpolations/padding.js +1 -1
- package/amd/utils/UNSAFE_interpolations/padding.js.map +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_keys.js +1 -1
- package/amd/utils/UNSAFE_keys.js.map +1 -1
- package/amd/utils/UNSAFE_lengthFilter.js +1 -1
- package/amd/utils/UNSAFE_lengthFilter.js.map +1 -1
- package/amd/utils/UNSAFE_logger.js +1 -1
- package/amd/utils/UNSAFE_logger.js.map +1 -1
- package/amd/utils/UNSAFE_matchTranslationBundle.js +1 -1
- package/amd/utils/UNSAFE_matchTranslationBundle.js.map +1 -1
- package/amd/utils/UNSAFE_mergeInterpolations.js +1 -1
- package/amd/utils/UNSAFE_mergeInterpolations.js.map +1 -1
- package/amd/utils/UNSAFE_mergeProps.js +1 -1
- package/amd/utils/UNSAFE_mergeProps.js.map +1 -1
- package/amd/utils/UNSAFE_meterTypes.js +1 -1
- package/amd/utils/UNSAFE_roles.js +1 -1
- package/amd/utils/UNSAFE_roles.js.map +1 -1
- package/amd/utils/UNSAFE_selectUtils.js +1 -1
- package/amd/utils/UNSAFE_size.js +1 -1
- package/amd/utils/UNSAFE_size.js.map +1 -1
- package/amd/utils/UNSAFE_soundUtils.js +1 -1
- package/amd/utils/UNSAFE_soundUtils.js.map +1 -1
- package/amd/utils/UNSAFE_stringUtils.js +1 -1
- package/amd/utils/UNSAFE_typeUtils.js +1 -1
- package/amd/utils/UNSAFE_units.js +1 -1
- package/amd/utils/UNSAFE_units.js.map +1 -1
- package/amd/utils/UNSAFE_valueUpdateDetail.js +1 -1
- package/cjs/{Badge-f8614033.js → Badge-e998d1d2.js} +16 -16
- package/cjs/{Badge-f8614033.js.map → Badge-e998d1d2.js.map} +1 -1
- package/cjs/{BaseButton-82e1ea19.js → BaseButton-d75c8530.js} +20 -20
- package/cjs/{BaseButton-82e1ea19.js.map → BaseButton-d75c8530.js.map} +1 -1
- package/cjs/{Button-b68878ba.js → Button-fbf15f5c.js} +13 -13
- package/cjs/{Button-b68878ba.js.map → Button-fbf15f5c.js.map} +1 -1
- package/cjs/{Chip-81ae6291.js → Chip-182c182e.js} +10 -10
- package/cjs/{Chip-81ae6291.js.map → Chip-182c182e.js.map} +1 -1
- package/cjs/{ClearIcon-e69da23b.js → ClearIcon-e60406f2.js} +3 -3
- package/cjs/{ClearIcon-e69da23b.js.map → ClearIcon-e60406f2.js.map} +1 -1
- package/cjs/{Collection-1173258f.js → Collection-fc78a411.js} +2 -2
- package/cjs/{Collection-1173258f.js.map → Collection-fc78a411.js.map} +1 -1
- package/cjs/{ComponentMessage-f6262ee7.js → ComponentMessage-593e549c.js} +8 -8
- package/cjs/{ComponentMessage-f6262ee7.js.map → ComponentMessage-593e549c.js.map} +1 -1
- package/cjs/{ComponentMessageContainer-010eb00c.js → ComponentMessageContainer-fc306c1b.js} +5 -5
- package/cjs/{ComponentMessageContainer-010eb00c.js.map → ComponentMessageContainer-fc306c1b.js.map} +1 -1
- package/cjs/{Divider-0d44dde4.js → Divider-b70676b0.js} +3 -3
- package/cjs/{Divider-0d44dde4.js.map → Divider-b70676b0.js.map} +1 -1
- package/cjs/{FilePicker-e75b1b30.js → FilePicker-ff429993.js} +14 -14
- package/cjs/{FilePicker-e75b1b30.js.map → FilePicker-ff429993.js.map} +1 -1
- package/cjs/{Flex-71c6255f.js → Flex-5be5dfa0.js} +8 -8
- package/cjs/{Flex-71c6255f.js.map → Flex-5be5dfa0.js.map} +1 -1
- package/cjs/{Floating-3eb600a1.js → Floating-e044b792.js} +3 -3
- package/cjs/{Floating-3eb600a1.js.map → Floating-e044b792.js.map} +1 -1
- package/cjs/{FocusTrap-242f0347.js → FocusTrap-6fec5a8b.js} +5 -5
- package/cjs/{FocusTrap-242f0347.js.map → FocusTrap-6fec5a8b.js.map} +1 -1
- package/cjs/{FormControlUtils-29dd821c.js → FormControlUtils-8ff35f52.js} +5 -5
- package/cjs/{FormControlUtils-29dd821c.js.map → FormControlUtils-8ff35f52.js.map} +1 -1
- package/cjs/{Heading-6926146e.js → Heading-32d6d345.js} +13 -13
- package/cjs/{Heading-6926146e.js.map → Heading-32d6d345.js.map} +1 -1
- package/cjs/{HiddenAccessible-d796baa9.js → HiddenAccessible-ff7f7851.js} +3 -3
- package/cjs/{HiddenAccessible-d796baa9.js.map → HiddenAccessible-ff7f7851.js.map} +1 -1
- package/cjs/{HighlightText-5e28cc92.js → HighlightText-ac53c1c9.js} +3 -3
- package/cjs/{HighlightText-5e28cc92.js.map → HighlightText-ac53c1c9.js.map} +1 -1
- package/cjs/{Icon-a21be510.js → Icon-59b8a276.js} +25 -25
- package/cjs/{Icon-a21be510.js.map → Icon-59b8a276.js.map} +1 -1
- package/cjs/{Indexer-cef1060d.js → Indexer-c6857860.js} +16 -16
- package/cjs/{Indexer-cef1060d.js.map → Indexer-c6857860.js.map} +1 -1
- package/cjs/{InlineHelpSource-0b33db42.js → InlineHelpSource-8b814ffa.js} +3 -3
- package/cjs/{InlineHelpSource-0b33db42.js.map → InlineHelpSource-8b814ffa.js.map} +1 -1
- package/cjs/{Link-e6a1f8c7.js → Link-7fe16594.js} +8 -8
- package/cjs/{Link-e6a1f8c7.js.map → Link-7fe16594.js.map} +1 -1
- package/cjs/{List-007d77af.js → List-6ad3ffc7.js} +23 -23
- package/cjs/{List-007d77af.js.map → List-6ad3ffc7.js.map} +1 -1
- package/cjs/{ListItemTextLayout-b553ae5f.js → ListItemTextLayout-0dfed9d9.js} +13 -13
- package/cjs/{ListItemTextLayout-b553ae5f.js.map → ListItemTextLayout-0dfed9d9.js.map} +1 -1
- package/cjs/{ListView-af3d5f2c.js → ListView-f5d0a343.js} +3 -3
- package/cjs/{ListView-af3d5f2c.js.map → ListView-f5d0a343.js.map} +1 -1
- package/cjs/{LoadMoreCollection-903ca14c.js → LoadMoreCollection-0f7c2f26.js} +3 -3
- package/cjs/{LoadMoreCollection-903ca14c.js.map → LoadMoreCollection-0f7c2f26.js.map} +1 -1
- package/cjs/{Menu-5a37d850.js → Menu-86c4968c.js} +6 -6
- package/cjs/{Menu-5a37d850.js.map → Menu-86c4968c.js.map} +1 -1
- package/cjs/{MenuDivider-60c0b01a.js → MenuDivider-1a6d2966.js} +4 -4
- package/cjs/{MenuDivider-60c0b01a.js.map → MenuDivider-1a6d2966.js.map} +1 -1
- package/cjs/{MenuItem-e771b8f1.js → MenuItem-86480e88.js} +19 -19
- package/cjs/{MenuItem-e771b8f1.js.map → MenuItem-86480e88.js.map} +1 -1
- package/cjs/{Message.types-8369755d.js → Message.types-12bc5dc3.js} +2 -2
- package/cjs/{Message.types-8369755d.js.map → Message.types-12bc5dc3.js.map} +1 -1
- package/cjs/{MessageCloseButton-f11fb2d5.js → MessageCloseButton-aae297f4.js} +9 -9
- package/cjs/{MessageCloseButton-f11fb2d5.js.map → MessageCloseButton-aae297f4.js.map} +1 -1
- package/cjs/{MessageDetail-bc89f255.js → MessageDetail-cf4edf84.js} +7 -7
- package/cjs/{MessageDetail-bc89f255.js.map → MessageDetail-cf4edf84.js.map} +1 -1
- package/cjs/{MessageFormattingUtils-afa602f0.js → MessageFormattingUtils-4dde7242.js} +4 -4
- package/cjs/{MessageFormattingUtils-afa602f0.js.map → MessageFormattingUtils-4dde7242.js.map} +1 -1
- package/cjs/{MessageLayer-731f812d.js → MessageLayer-5da412cf.js} +11 -11
- package/cjs/{MessageLayer-731f812d.js.map → MessageLayer-5da412cf.js.map} +1 -1
- package/cjs/{MessageStartIcon-aab13995.js → MessageStartIcon-34607ea2.js} +11 -11
- package/cjs/{MessageStartIcon-aab13995.js.map → MessageStartIcon-34607ea2.js.map} +1 -1
- package/cjs/{MessageSummary-e3c976d2.js → MessageSummary-1c87ea75.js} +7 -7
- package/cjs/{MessageSummary-e3c976d2.js.map → MessageSummary-1c87ea75.js.map} +1 -1
- package/cjs/{MessageTimestamp-5c34afd5.js → MessageTimestamp-539d4c61.js} +5 -5
- package/cjs/{MessageTimestamp-5c34afd5.js.map → MessageTimestamp-539d4c61.js.map} +1 -1
- package/cjs/{MessageToast-17ddb1b5.js → MessageToast-02418881.js} +9 -9
- package/cjs/{MessageToast-17ddb1b5.js.map → MessageToast-02418881.js.map} +1 -1
- package/cjs/{MessageUtils-c41ab02b.js → MessageUtils-dd15005c.js} +3 -3
- package/cjs/{MessageUtils-c41ab02b.js.map → MessageUtils-dd15005c.js.map} +1 -1
- package/cjs/{MessagesManager-ae82966c.js → MessagesManager-8fc30bd3.js} +9 -5
- package/cjs/MessagesManager-8fc30bd3.js.map +1 -0
- package/cjs/{MeterCircle-e217b97c.js → MeterCircle-30ab2381.js} +50 -50
- package/cjs/{MeterCircle-e217b97c.js.map → MeterCircle-30ab2381.js.map} +1 -1
- package/cjs/{Modal-43091913.js → Modal-4f0016bb.js} +6 -6
- package/cjs/{Modal-43091913.js.map → Modal-4f0016bb.js.map} +1 -1
- package/cjs/{NumberInputText-29fc4803.js → NumberInputText-da3c957e.js} +7 -7
- package/cjs/{NumberInputText-29fc4803.js.map → NumberInputText-da3c957e.js.map} +1 -1
- package/cjs/PRIVATE_Collection.js +2 -2
- package/cjs/PRIVATE_List.js +23 -23
- package/cjs/PRIVATE_Message.js +41 -41
- package/cjs/PRIVATE_Message.js.map +1 -1
- package/cjs/PRIVATE_MessageLayer.js +12 -12
- package/cjs/PRIVATE_Meter.js +2 -2
- package/cjs/PRIVATE_SelectCommon.js +54 -54
- package/cjs/PRIVATE_SelectCommon.js.map +1 -1
- package/cjs/PRIVATE_TransitionGroup.js +1 -1
- package/cjs/PRIVATE_VirtualizedCollection.js +3 -3
- package/cjs/{ReadonlyTextFieldInput-2eac69c6.js → ReadonlyTextFieldInput-3d062359.js} +13 -13
- package/cjs/{ReadonlyTextFieldInput-2eac69c6.js.map → ReadonlyTextFieldInput-3d062359.js.map} +1 -1
- package/cjs/{SelectMenuItem-708a66b4.js → SelectMenuItem-2c08624c.js} +5 -5
- package/cjs/{SelectMenuItem-708a66b4.js.map → SelectMenuItem-2c08624c.js.map} +1 -1
- package/cjs/{SelectMultiple-3f772a2e.js → SelectMultiple-bca8824f.js} +8 -8
- package/cjs/{SelectMultiple-3f772a2e.js.map → SelectMultiple-bca8824f.js.map} +1 -1
- package/cjs/{SelectSingle-8ffab794.js → SelectSingle-4de895bd.js} +4 -4
- package/cjs/{SelectSingle-8ffab794.js.map → SelectSingle-4de895bd.js.map} +1 -1
- package/cjs/{Skeleton-fac3589c.js → Skeleton-c153d455.js} +5 -5
- package/cjs/{Skeleton-fac3589c.js.map → Skeleton-c153d455.js.map} +1 -1
- package/cjs/{Spacer-a28e691d.js → Spacer-5c511559.js} +4 -4
- package/cjs/{Spacer-a28e691d.js.map → Spacer-5c511559.js.map} +1 -1
- package/cjs/{SplitMenuButton-bfe4f72b.js → SplitMenuButton-2f7a9d09.js} +14 -14
- package/cjs/{SplitMenuButton-bfe4f72b.js.map → SplitMenuButton-2f7a9d09.js.map} +1 -1
- package/cjs/{Text-ebbac0b0.js → Text-86897e00.js} +28 -28
- package/cjs/{Text-ebbac0b0.js.map → Text-86897e00.js.map} +1 -1
- package/cjs/{TextArea-fed51a13.js → TextArea-d564206a.js} +8 -8
- package/cjs/{TextArea-fed51a13.js.map → TextArea-d564206a.js.map} +1 -1
- package/cjs/{TextAreaAutosize-e4a6e231.js → TextAreaAutosize-409e2b4a.js} +5 -5
- package/cjs/{TextAreaAutosize-e4a6e231.js.map → TextAreaAutosize-409e2b4a.js.map} +1 -1
- package/cjs/{TextFieldInput-5cadbc52.js → TextFieldInput-49923d6d.js} +33 -33
- package/cjs/{TextFieldInput-5cadbc52.js.map → TextFieldInput-49923d6d.js.map} +1 -1
- package/cjs/UNSAFE_AspectRatio.js +8 -8
- package/cjs/UNSAFE_Avatar.js +11 -11
- package/cjs/UNSAFE_Avatar.js.map +1 -1
- package/cjs/UNSAFE_Badge.js +3 -3
- package/cjs/UNSAFE_BaseButton.js +9 -9
- package/cjs/UNSAFE_Button.js +10 -10
- package/cjs/UNSAFE_Center.js +11 -11
- 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.js +33 -33
- package/cjs/UNSAFE_Divider.js +7 -7
- package/cjs/UNSAFE_EmptyList.js +1 -1
- package/cjs/UNSAFE_Environment.js +1 -1
- package/cjs/UNSAFE_FilePicker.js +14 -14
- package/cjs/UNSAFE_Flex.js +11 -11
- package/cjs/UNSAFE_Floating.js +3 -3
- package/cjs/UNSAFE_FocusTrap.js +6 -6
- package/cjs/UNSAFE_Grid.js +9 -9
- package/cjs/UNSAFE_Grid.js.map +1 -1
- package/cjs/UNSAFE_Heading.js +9 -9
- package/cjs/UNSAFE_HiddenAccessible.js +2 -2
- package/cjs/UNSAFE_HighlightText.js +2 -2
- package/cjs/UNSAFE_Icon.js +7 -7
- package/cjs/UNSAFE_Icons.js +8 -8
- package/cjs/UNSAFE_Indexer.js +16 -16
- 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.js +3 -3
- package/cjs/UNSAFE_ListItemLayout.js +10 -10
- package/cjs/UNSAFE_ListView.js +24 -24
- package/cjs/UNSAFE_LiveRegion.js +2 -2
- package/cjs/UNSAFE_LoadMoreCollection.js +3 -3
- package/cjs/UNSAFE_Menu.js +15 -15
- package/cjs/UNSAFE_MessageBanner.js +30 -30
- package/cjs/UNSAFE_MessageToast.js +33 -33
- package/cjs/UNSAFE_MeterBar.js +49 -49
- package/cjs/UNSAFE_MeterBar.js.map +1 -1
- package/cjs/UNSAFE_MeterCircle.js +7 -7
- package/cjs/UNSAFE_Modal.js +7 -7
- 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.js +9 -9
- package/cjs/UNSAFE_ProgressBar.js.map +1 -1
- package/cjs/UNSAFE_ProgressCircle.js +9 -9
- package/cjs/UNSAFE_ProgressCircle.js.map +1 -1
- package/cjs/UNSAFE_RatingGauge.js +26 -26
- package/cjs/UNSAFE_RatingGauge.js.map +1 -1
- package/cjs/UNSAFE_SelectMultiple.js +47 -47
- package/cjs/UNSAFE_SelectSingle.js +46 -46
- package/cjs/UNSAFE_Selector.js +22 -22
- package/cjs/UNSAFE_Selector.js.map +1 -1
- package/cjs/UNSAFE_Skeleton.js +8 -8
- package/cjs/UNSAFE_Spacer.js +10 -10
- package/cjs/UNSAFE_SplitMenuButton.js +22 -22
- package/cjs/UNSAFE_Text.js +8 -8
- package/cjs/UNSAFE_TextArea.js +39 -39
- package/cjs/UNSAFE_TextAreaAutosize.js +40 -40
- package/cjs/UNSAFE_TextField.js +35 -35
- package/cjs/UNSAFE_TextField.js.map +1 -1
- package/cjs/UNSAFE_ThemedIcons.js +9 -9
- package/cjs/UNSAFE_UserAssistance.js +41 -41
- package/cjs/UNSAFE_UserAssistance.js.map +1 -1
- package/cjs/UNSAFE_View.js +9 -9
- package/cjs/UNSAFE_VirtualizedListView.js +24 -24
- package/cjs/UNSAFE_WindowOverlay.js +1 -1
- package/cjs/{VirtualizedCollection-4eb3b463.js → VirtualizedCollection-757622fb.js} +3 -3
- package/cjs/{VirtualizedCollection-4eb3b463.js.map → VirtualizedCollection-757622fb.js.map} +1 -1
- package/cjs/{VirtualizedListView-ccd34b64.js → VirtualizedListView-84296953.js} +3 -3
- package/cjs/{VirtualizedListView-ccd34b64.js.map → VirtualizedListView-84296953.js.map} +1 -1
- package/cjs/{_curry1-72279dc6.js → _curry1-39a50535.js} +2 -2
- package/cjs/{_curry1-72279dc6.js.map → _curry1-39a50535.js.map} +1 -1
- package/cjs/{_curry2-f77dcc57.js → _curry2-4464ead5.js} +3 -3
- package/cjs/{_curry2-f77dcc57.js.map → _curry2-4464ead5.js.map} +1 -1
- package/cjs/{_curry3-31dd4145.js → _curry3-8b55c2d4.js} +4 -4
- package/cjs/{_curry3-31dd4145.js.map → _curry3-8b55c2d4.js.map} +1 -1
- package/cjs/{_has-618da22b.js → _has-e412bc24.js} +3 -3
- package/cjs/{_has-618da22b.js.map → _has-e412bc24.js.map} +1 -1
- package/cjs/{classNames-825d80d7.js → classNames-2b913ab9.js} +2 -2
- package/cjs/{classNames-825d80d7.js.map → classNames-2b913ab9.js.map} +1 -1
- package/cjs/{clientHints-78b0e917.js → clientHints-45fec248.js} +2 -2
- package/cjs/{clientHints-78b0e917.js.map → clientHints-45fec248.js.map} +1 -1
- package/cjs/{flexbox-659a8cf1.js → flexbox-b27af537.js} +10 -10
- package/cjs/{flexbox-659a8cf1.js.map → flexbox-b27af537.js.map} +1 -1
- package/cjs/{flexitem-8d661117.js → flexitem-e58ffa66.js} +10 -10
- package/cjs/{flexitem-8d661117.js.map → flexitem-e58ffa66.js.map} +1 -1
- package/cjs/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
- package/cjs/hooks/PRIVATE_useCurrentKey.js +1 -1
- package/cjs/hooks/PRIVATE_useDvtMeterEvents.js +6 -6
- package/cjs/hooks/PRIVATE_useItemAction.js +1 -1
- package/cjs/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
- package/cjs/hooks/PRIVATE_useSelection.js +1 -1
- package/cjs/hooks/PRIVATE_useSingleSelection.js +2 -2
- package/cjs/hooks/PRIVATE_useTabbableModeSet.js +1 -1
- package/cjs/hooks/UNSAFE_useActionable.js +1 -1
- package/cjs/hooks/UNSAFE_useActive.js +1 -1
- package/cjs/hooks/UNSAFE_useAnimation.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.js +2 -2
- package/cjs/hooks/UNSAFE_useFocusableTextField.js +3 -3
- package/cjs/hooks/UNSAFE_useFormContext.js +1 -1
- package/cjs/hooks/UNSAFE_useFormFieldContext.js +1 -1
- package/cjs/hooks/UNSAFE_useFormVariantContext.js +1 -1
- package/cjs/hooks/UNSAFE_useHover.js +1 -1
- package/cjs/hooks/UNSAFE_useId.js +1 -1
- package/cjs/hooks/UNSAFE_useLengthFilter.js +1 -1
- package/cjs/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
- package/cjs/hooks/UNSAFE_useLongPress.js +1 -1
- package/cjs/hooks/UNSAFE_useMessagesContext.js +1 -1
- package/cjs/hooks/UNSAFE_useOutsideClick.js +1 -1
- package/cjs/hooks/UNSAFE_usePan.js +1 -1
- package/cjs/hooks/UNSAFE_usePrefixSuffix.js +2 -2
- package/cjs/hooks/UNSAFE_usePress.js +1 -1
- package/cjs/hooks/UNSAFE_useScale.js +1 -1
- package/cjs/hooks/UNSAFE_useSwipe.js +1 -1
- package/cjs/hooks/UNSAFE_useTabbableMode.js +1 -1
- package/cjs/hooks/UNSAFE_useTap.js +1 -1
- package/cjs/hooks/UNSAFE_useTextField.js +1 -1
- package/cjs/hooks/UNSAFE_useTextFieldInputHandlers.js +2 -2
- package/cjs/hooks/UNSAFE_useTheme.js +1 -1
- package/cjs/hooks/UNSAFE_useTimer.js +1 -1
- package/cjs/hooks/UNSAFE_useToggle.js +1 -1
- package/cjs/hooks/UNSAFE_useTooltip.js +10 -10
- package/cjs/hooks/UNSAFE_useTooltip.js.map +1 -1
- package/cjs/hooks/UNSAFE_useTouch.js +1 -1
- package/cjs/hooks/UNSAFE_useTranslationBundle.js +1 -1
- package/cjs/hooks/UNSAFE_useUncontrolledState.js +1 -1
- package/cjs/hooks/UNSAFE_useUser.js +1 -1
- package/cjs/hooks/UNSAFE_useViewportIntersect.js +1 -1
- package/cjs/{index-ed6e3090.js → index-729599c6.js} +3 -3
- package/cjs/{index-ed6e3090.js.map → index-729599c6.js.map} +1 -1
- package/cjs/{index-94b1ff28.js → index-d05723e7.js} +2 -2
- package/cjs/{index-94b1ff28.js.map → index-d05723e7.js.map} +1 -1
- package/cjs/{index-5304d101.js → index-fe01edc4.js} +3 -3
- package/cjs/{index-5304d101.js.map → index-fe01edc4.js.map} +1 -1
- package/cjs/{keys-4d35cf5a.js → keys-384b7484.js} +4 -4
- package/cjs/{keys-4d35cf5a.js.map → keys-384b7484.js.map} +1 -1
- package/cjs/{listViewSelectionTests-0796a53a.js → listViewSelectionTests-36e9a9c3.js} +4 -4
- package/cjs/{listViewSelectionTests-0796a53a.js.map → listViewSelectionTests-36e9a9c3.js.map} +1 -1
- package/cjs/{listViewTabbableModeTests-34cee226.js → listViewTabbableModeTests-6ee6f528.js} +4 -4
- package/cjs/{listViewTabbableModeTests-34cee226.js.map → listViewTabbableModeTests-6ee6f528.js.map} +1 -1
- package/cjs/{listViewTestFixtures-3ae79c95.js → listViewTestFixtures-7c9e936e.js} +2 -2
- package/cjs/{listViewTestFixtures-3ae79c95.js.map → listViewTestFixtures-7c9e936e.js.map} +1 -1
- package/cjs/{menuTestsUtils-2cc9a6e7.js → menuTestsUtils-73b387f4.js} +2 -2
- package/cjs/{menuTestsUtils-2cc9a6e7.js.map → menuTestsUtils-73b387f4.js.map} +1 -1
- package/cjs/resources/nls/ar/bundle.js +1 -1
- package/cjs/resources/nls/ar-XB/bundle.js +1 -1
- package/cjs/resources/nls/bg/bundle.js +1 -1
- package/cjs/resources/nls/bs/bundle.js +1 -1
- package/cjs/resources/nls/bs-Cyrl/bundle.js +1 -1
- package/cjs/resources/nls/bundle.js +1 -1
- package/cjs/resources/nls/cs/bundle.js +1 -1
- package/cjs/resources/nls/da/bundle.js +1 -1
- package/cjs/resources/nls/de/bundle.js +1 -1
- package/cjs/resources/nls/el/bundle.js +1 -1
- package/cjs/resources/nls/en/bundle.js +1 -1
- package/cjs/resources/nls/en-XA/bundle.js +1 -1
- package/cjs/resources/nls/en-XC/bundle.js +1 -1
- package/cjs/resources/nls/es/bundle.js +1 -1
- package/cjs/resources/nls/et/bundle.js +1 -1
- package/cjs/resources/nls/fi/bundle.js +1 -1
- package/cjs/resources/nls/fr/bundle.js +1 -1
- package/cjs/resources/nls/fr-CA/bundle.js +1 -1
- package/cjs/resources/nls/he/bundle.js +1 -1
- package/cjs/resources/nls/hr/bundle.js +1 -1
- package/cjs/resources/nls/hu/bundle.js +1 -1
- package/cjs/resources/nls/is/bundle.js +1 -1
- package/cjs/resources/nls/it/bundle.js +1 -1
- package/cjs/resources/nls/ja/bundle.js +1 -1
- package/cjs/resources/nls/ko/bundle.js +1 -1
- package/cjs/resources/nls/lt/bundle.js +1 -1
- package/cjs/resources/nls/lv/bundle.js +1 -1
- package/cjs/resources/nls/ms/bundle.js +1 -1
- package/cjs/resources/nls/nl/bundle.js +1 -1
- package/cjs/resources/nls/no/bundle.js +1 -1
- package/cjs/resources/nls/pl/bundle.js +1 -1
- package/cjs/resources/nls/pt/bundle.js +1 -1
- package/cjs/resources/nls/pt-PT/bundle.js +1 -1
- package/cjs/resources/nls/ro/bundle.js +1 -1
- package/cjs/resources/nls/ru/bundle.js +1 -1
- package/cjs/resources/nls/sk/bundle.js +1 -1
- package/cjs/resources/nls/sl/bundle.js +1 -1
- package/cjs/resources/nls/sr/bundle.js +1 -1
- package/cjs/resources/nls/sr-Latn/bundle.js +1 -1
- package/cjs/resources/nls/supportedLocales.js +1 -1
- package/cjs/resources/nls/sv/bundle.js +1 -1
- package/cjs/resources/nls/th/bundle.js +1 -1
- package/cjs/resources/nls/tr/bundle.js +1 -1
- package/cjs/resources/nls/uk/bundle.js +1 -1
- package/cjs/resources/nls/vi/bundle.js +1 -1
- package/cjs/resources/nls/zh-Hans/bundle.js +1 -1
- package/cjs/resources/nls/zh-Hant/bundle.js +1 -1
- package/cjs/{stringUtils-d9b75b25.js → stringUtils-f6a58383.js} +2 -2
- package/cjs/{stringUtils-d9b75b25.js.map → stringUtils-f6a58383.js.map} +1 -1
- package/cjs/{testHelpers-057f567b.js → testHelpers-cc523b94.js} +2 -2
- package/cjs/{testHelpers-057f567b.js.map → testHelpers-cc523b94.js.map} +1 -1
- package/cjs/translationBundle.js +1 -1
- package/cjs/{tslib.es6-d7adde1f.js → tslib.es6-3b91e53b.js} +2 -2
- package/cjs/{tslib.es6-d7adde1f.js.map → tslib.es6-3b91e53b.js.map} +1 -1
- package/cjs/{useAnimation-9e794d84.js → useAnimation-6dfdd6ce.js} +3 -3
- package/cjs/{useAnimation-9e794d84.js.map → useAnimation-6dfdd6ce.js.map} +1 -1
- package/cjs/{useFocusWithin-e524661e.js → useFocusWithin-3b77d624.js} +2 -2
- package/cjs/{useFocusWithin-e524661e.js.map → useFocusWithin-3b77d624.js.map} +1 -1
- package/cjs/{useSingleSelection-46afe62c.js → useSingleSelection-f8dfc912.js} +2 -2
- package/cjs/{useSingleSelection-46afe62c.js.map → useSingleSelection-f8dfc912.js.map} +1 -1
- package/cjs/utils/PRIVATE_clientHints.js +2 -2
- package/cjs/utils/PRIVATE_collectionUtils.js +1 -1
- package/cjs/utils/PRIVATE_dvtTestUtils.js +1 -1
- package/cjs/utils/PRIVATE_floatingUtils.js +1 -1
- package/cjs/utils/PRIVATE_meterUtils.js +1 -1
- package/cjs/utils/PRIVATE_refUtils.js +1 -1
- package/cjs/utils/PRIVATE_tabbableUtils.js +4 -4
- package/cjs/utils/PRIVATE_timer.js +1 -1
- package/cjs/utils/UNSAFE_arrayUtils.js +1 -1
- package/cjs/utils/UNSAFE_attributeUtils.js +1 -1
- package/cjs/utils/UNSAFE_classNames.js +2 -2
- package/cjs/utils/UNSAFE_componentUtils.js +1 -1
- package/cjs/utils/UNSAFE_dataProvider.js +1 -1
- package/cjs/utils/UNSAFE_filePickerUtils.js +1 -1
- package/cjs/utils/UNSAFE_getLocale.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/aria.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/borders.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/boxalignment.js +19 -19
- package/cjs/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
- package/cjs/utils/UNSAFE_interpolations/colors.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/dimensions.js +2 -2
- package/cjs/utils/UNSAFE_interpolations/flexbox.js +5 -5
- package/cjs/utils/UNSAFE_interpolations/flexitem.js +5 -5
- package/cjs/utils/UNSAFE_interpolations/grid.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/griditem.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/padding.js +1 -1
- package/cjs/utils/UNSAFE_interpolations/text.js +7 -7
- package/cjs/utils/UNSAFE_interpolations/text.js.map +1 -1
- package/cjs/utils/UNSAFE_keys.js +1 -1
- package/cjs/utils/UNSAFE_lengthFilter.js +1 -1
- package/cjs/utils/UNSAFE_logger.js +3 -3
- package/cjs/utils/UNSAFE_matchTranslationBundle.js +1 -1
- package/cjs/utils/UNSAFE_mergeInterpolations.js +6 -6
- package/cjs/utils/UNSAFE_mergeProps.js +1 -1
- package/cjs/utils/UNSAFE_meterTypes.js +1 -1
- package/cjs/utils/UNSAFE_roles.js +1 -1
- package/cjs/utils/UNSAFE_selectUtils.js +1 -1
- package/cjs/utils/UNSAFE_size.js +1 -1
- package/cjs/utils/UNSAFE_soundUtils.js +1 -1
- package/cjs/utils/UNSAFE_stringUtils.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-93076ca9.js → ClearIcon-e85386d6.js} +3 -3
- package/es/{ClearIcon-93076ca9.js.map → ClearIcon-e85386d6.js.map} +1 -1
- package/es/{LoadMoreCollection-5d3b319f.js → LoadMoreCollection-51bad74d.js} +2 -2
- package/es/{LoadMoreCollection-5d3b319f.js.map → LoadMoreCollection-51bad74d.js.map} +1 -1
- package/es/PRIVATE_Collection.js +1 -1
- package/es/PRIVATE_List.css +15 -15
- package/es/PRIVATE_List.js +24 -24
- package/es/PRIVATE_List.js.map +1 -1
- package/es/PRIVATE_Message.css +27 -27
- package/es/PRIVATE_Message.js +41 -37
- package/es/PRIVATE_Message.js.map +1 -1
- package/es/PRIVATE_MessageLayer.css +7 -7
- package/es/PRIVATE_MessageLayer.js +14 -14
- package/es/PRIVATE_MessageLayer.js.map +1 -1
- package/es/PRIVATE_Meter.js +2 -2
- package/es/PRIVATE_SelectCommon.css +13 -13
- package/es/PRIVATE_SelectCommon.js +22 -22
- package/es/PRIVATE_SelectCommon.js.map +1 -1
- package/es/PRIVATE_TransitionGroup.js +1 -1
- package/es/PRIVATE_VirtualizedCollection.js +1 -1
- package/es/UNSAFE_AspectRatio.css +1 -1
- package/es/UNSAFE_AspectRatio.js +7 -7
- package/es/UNSAFE_Avatar.css +8 -8
- package/es/UNSAFE_Avatar.js +10 -10
- package/es/UNSAFE_Avatar.js.map +1 -1
- package/es/UNSAFE_Badge.css +13 -13
- package/es/UNSAFE_Badge.js +14 -14
- package/es/UNSAFE_Badge.js.map +1 -1
- package/es/UNSAFE_BaseButton.css +15 -15
- package/es/UNSAFE_BaseButton.js +21 -21
- package/es/UNSAFE_BaseButton.js.map +1 -1
- package/es/UNSAFE_Button.css +8 -8
- package/es/UNSAFE_Button.js +14 -14
- package/es/UNSAFE_Button.js.map +1 -1
- package/es/UNSAFE_Center.js +7 -7
- package/es/UNSAFE_Chip.css +7 -7
- package/es/UNSAFE_Chip.js +8 -8
- package/es/UNSAFE_Chip.js.map +1 -1
- package/es/UNSAFE_Collapsible.css +8 -8
- package/es/UNSAFE_Collapsible.js +16 -16
- package/es/UNSAFE_Collapsible.js.map +1 -1
- package/es/UNSAFE_Collection.js +1 -1
- package/es/UNSAFE_ComponentMessage.css +2 -2
- package/es/UNSAFE_ComponentMessage.js +10 -10
- package/es/UNSAFE_ComponentMessage.js.map +1 -1
- package/es/UNSAFE_Divider.css +1 -1
- package/es/UNSAFE_Divider.js +6 -6
- package/es/UNSAFE_EmptyList.js +1 -1
- package/es/UNSAFE_Environment.js +1 -1
- package/es/UNSAFE_FilePicker.css +6 -6
- package/es/UNSAFE_FilePicker.js +13 -13
- package/es/UNSAFE_FilePicker.js.map +1 -1
- package/es/UNSAFE_Flex.css +2 -2
- package/es/UNSAFE_Flex.js +9 -9
- package/es/UNSAFE_Flex.js.map +1 -1
- package/es/UNSAFE_Floating.js +2 -2
- package/es/UNSAFE_FocusTrap.css +2 -2
- package/es/UNSAFE_FocusTrap.js +6 -6
- package/es/UNSAFE_FocusTrap.js.map +1 -1
- package/es/UNSAFE_Grid.css +1 -1
- package/es/UNSAFE_Grid.js +8 -8
- package/es/UNSAFE_Grid.js.map +1 -1
- package/es/UNSAFE_Heading.css +9 -9
- package/es/UNSAFE_Heading.js +16 -16
- package/es/UNSAFE_Heading.js.map +1 -1
- package/es/UNSAFE_HiddenAccessible.css +1 -1
- package/es/UNSAFE_HiddenAccessible.js +2 -2
- package/es/UNSAFE_HighlightText.css +1 -1
- package/es/UNSAFE_HighlightText.js +2 -2
- package/es/UNSAFE_HighlightText.js.map +1 -1
- package/es/UNSAFE_Icon.css +21 -21
- package/es/UNSAFE_Icon.js +24 -24
- package/es/UNSAFE_Icon.js.map +1 -1
- package/es/UNSAFE_Icons.js +3 -3
- package/es/UNSAFE_Indexer.css +7 -7
- package/es/UNSAFE_Indexer.js +15 -15
- package/es/UNSAFE_Indexer.js.map +1 -1
- package/es/UNSAFE_InputPassword.css +1 -1
- package/es/UNSAFE_InputPassword.js +10 -10
- package/es/UNSAFE_InputText.css +1 -1
- package/es/UNSAFE_InputText.js +9 -9
- package/es/UNSAFE_Label.css +13 -13
- package/es/UNSAFE_Label.js +15 -15
- package/es/UNSAFE_Label.js.map +1 -1
- package/es/UNSAFE_LabelValueLayout.css +9 -9
- package/es/UNSAFE_LabelValueLayout.js +16 -16
- package/es/UNSAFE_LabelValueLayout.js.map +1 -1
- package/es/UNSAFE_Layer.js +1 -1
- package/es/UNSAFE_Link.css +5 -5
- package/es/UNSAFE_Link.js +6 -6
- package/es/UNSAFE_Link.js.map +1 -1
- package/es/UNSAFE_ListItemLayout.css +9 -9
- package/es/UNSAFE_ListItemLayout.js +16 -16
- package/es/UNSAFE_ListItemLayout.js.map +1 -1
- package/es/UNSAFE_ListView.js +9 -9
- package/es/UNSAFE_LiveRegion.css +1 -1
- package/es/UNSAFE_LiveRegion.js +2 -2
- package/es/UNSAFE_LoadMoreCollection.js +2 -2
- package/es/UNSAFE_Menu.css +17 -17
- package/es/UNSAFE_Menu.js +24 -24
- 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 +43 -43
- package/es/UNSAFE_MeterBar.js +46 -46
- package/es/UNSAFE_MeterBar.js.map +1 -1
- package/es/UNSAFE_MeterCircle.css +46 -46
- package/es/UNSAFE_MeterCircle.js +49 -49
- package/es/UNSAFE_MeterCircle.js.map +1 -1
- package/es/UNSAFE_Modal.css +3 -3
- package/es/UNSAFE_Modal.js +7 -7
- package/es/UNSAFE_NumberInputText.js +8 -8
- package/es/UNSAFE_PrefixSuffix.css +8 -8
- package/es/UNSAFE_PrefixSuffix.js +9 -9
- package/es/UNSAFE_PrefixSuffix.js.map +1 -1
- package/es/UNSAFE_ProgressBar.css +6 -6
- package/es/UNSAFE_ProgressBar.js +8 -8
- package/es/UNSAFE_ProgressBar.js.map +1 -1
- package/es/UNSAFE_ProgressCircle.css +6 -6
- package/es/UNSAFE_ProgressCircle.js +8 -8
- package/es/UNSAFE_ProgressCircle.js.map +1 -1
- package/es/UNSAFE_RatingGauge.css +20 -20
- package/es/UNSAFE_RatingGauge.js +23 -23
- package/es/UNSAFE_RatingGauge.js.map +1 -1
- package/es/UNSAFE_SelectMultiple.css +1 -1
- package/es/UNSAFE_SelectMultiple.js +10 -10
- package/es/UNSAFE_SelectSingle.js +9 -9
- package/es/UNSAFE_Selector.css +5 -5
- package/es/UNSAFE_Selector.js +13 -13
- package/es/UNSAFE_Selector.js.map +1 -1
- package/es/UNSAFE_Skeleton.css +1 -1
- package/es/UNSAFE_Skeleton.js +7 -7
- package/es/UNSAFE_Spacer.js +7 -7
- package/es/UNSAFE_SplitMenuButton.css +5 -5
- package/es/UNSAFE_SplitMenuButton.js +12 -12
- package/es/UNSAFE_SplitMenuButton.js.map +1 -1
- package/es/UNSAFE_Text.css +25 -25
- package/es/UNSAFE_Text.js +31 -31
- package/es/UNSAFE_Text.js.map +1 -1
- package/es/UNSAFE_TextArea.css +3 -3
- package/es/UNSAFE_TextArea.js +11 -11
- package/es/UNSAFE_TextArea.js.map +1 -1
- package/es/UNSAFE_TextAreaAutosize.js +8 -8
- package/es/UNSAFE_TextField.css +58 -58
- package/es/UNSAFE_TextField.js +65 -65
- package/es/UNSAFE_TextField.js.map +1 -1
- package/es/UNSAFE_ThemedIcons.js +3 -3
- package/es/UNSAFE_UserAssistance.css +8 -8
- package/es/UNSAFE_UserAssistance.js +16 -16
- package/es/UNSAFE_UserAssistance.js.map +1 -1
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +9 -9
- package/es/UNSAFE_WindowOverlay.js +1 -1
- package/es/{_curry1-d822c6e1.js → _curry1-6e40788a.js} +2 -2
- package/es/{_curry1-d822c6e1.js.map → _curry1-6e40788a.js.map} +1 -1
- package/es/{_curry2-50442f66.js → _curry2-30046da0.js} +3 -3
- package/es/{_curry2-50442f66.js.map → _curry2-30046da0.js.map} +1 -1
- package/es/{_curry3-ddab9fe1.js → _curry3-448ce55b.js} +4 -4
- package/es/{_curry3-ddab9fe1.js.map → _curry3-448ce55b.js.map} +1 -1
- package/es/{_has-c4aaaf43.js → _has-9fe18fdc.js} +3 -3
- package/es/{_has-c4aaaf43.js.map → _has-9fe18fdc.js.map} +1 -1
- package/es/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
- package/es/hooks/PRIVATE_useCurrentKey.js +1 -1
- package/es/hooks/PRIVATE_useDvtMeterEvents.js +3 -3
- package/es/hooks/PRIVATE_useItemAction.js +1 -1
- package/es/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
- package/es/hooks/PRIVATE_useSelection.js +1 -1
- package/es/hooks/PRIVATE_useSingleSelection.js +2 -2
- package/es/hooks/PRIVATE_useTabbableModeSet.js +1 -1
- package/es/hooks/UNSAFE_useActionable.js +1 -1
- package/es/hooks/UNSAFE_useActive.js +1 -1
- package/es/hooks/UNSAFE_useAnimation.js +2 -2
- package/es/hooks/UNSAFE_useBreakpointValues.js +1 -1
- package/es/hooks/UNSAFE_useBreakpoints.js +1 -1
- package/es/hooks/UNSAFE_useClearIcon.js +1 -1
- package/es/hooks/UNSAFE_useColorScheme.js +1 -1
- package/es/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
- package/es/hooks/UNSAFE_useContainerBreakpoints.js +1 -1
- package/es/hooks/UNSAFE_useCurrentValueReducer.js +1 -1
- package/es/hooks/UNSAFE_useDebounce.js +1 -1
- package/es/hooks/UNSAFE_useFloating.js +2 -2
- package/es/hooks/UNSAFE_useFocus.js +1 -1
- package/es/hooks/UNSAFE_useFocusWithin.js +1 -1
- package/es/hooks/UNSAFE_useFocusableTextField.js +2 -2
- package/es/hooks/UNSAFE_useFormContext.js +1 -1
- package/es/hooks/UNSAFE_useFormFieldContext.js +1 -1
- package/es/hooks/UNSAFE_useFormVariantContext.js +1 -1
- package/es/hooks/UNSAFE_useHover.js +1 -1
- package/es/hooks/UNSAFE_useId.js +1 -1
- package/es/hooks/UNSAFE_useLengthFilter.js +1 -1
- package/es/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
- package/es/hooks/UNSAFE_useLongPress.js +1 -1
- package/es/hooks/UNSAFE_useMessagesContext.js +1 -1
- package/es/hooks/UNSAFE_useOutsideClick.js +1 -1
- package/es/hooks/UNSAFE_usePan.js +1 -1
- package/es/hooks/UNSAFE_usePrefixSuffix.js +1 -1
- package/es/hooks/UNSAFE_usePress.js +1 -1
- package/es/hooks/UNSAFE_useScale.js +1 -1
- package/es/hooks/UNSAFE_useSwipe.js +1 -1
- package/es/hooks/UNSAFE_useTabbableMode.js +1 -1
- package/es/hooks/UNSAFE_useTap.js +1 -1
- package/es/hooks/UNSAFE_useTextField.js +1 -1
- package/es/hooks/UNSAFE_useTextFieldInputHandlers.js +1 -1
- package/es/hooks/UNSAFE_useTheme.js +1 -1
- package/es/hooks/UNSAFE_useTimer.js +1 -1
- package/es/hooks/UNSAFE_useToggle.js +1 -1
- package/es/hooks/UNSAFE_useTooltip.css +4 -4
- package/es/hooks/UNSAFE_useTooltip.js +7 -7
- package/es/hooks/UNSAFE_useTooltip.js.map +1 -1
- package/es/hooks/UNSAFE_useTouch.js +1 -1
- package/es/hooks/UNSAFE_useTranslationBundle.js +1 -1
- package/es/hooks/UNSAFE_useUncontrolledState.js +1 -1
- package/es/hooks/UNSAFE_useUser.js +1 -1
- package/es/hooks/UNSAFE_useViewportIntersect.js +1 -1
- package/es/{index-14bba6f7.js → index-feaf4469.js} +2 -2
- package/es/{index-14bba6f7.js.map → index-feaf4469.js.map} +1 -1
- package/es/{keys-fed67954.js → keys-03d660ed.js} +4 -4
- package/es/{keys-fed67954.js.map → keys-03d660ed.js.map} +1 -1
- package/es/resources/nls/ar/bundle.js +1 -1
- package/es/resources/nls/ar-XB/bundle.js +1 -1
- package/es/resources/nls/bg/bundle.js +1 -1
- package/es/resources/nls/bs/bundle.js +1 -1
- package/es/resources/nls/bs-Cyrl/bundle.js +1 -1
- package/es/resources/nls/bundle.js +1 -1
- package/es/resources/nls/cs/bundle.js +1 -1
- package/es/resources/nls/da/bundle.js +1 -1
- package/es/resources/nls/de/bundle.js +1 -1
- package/es/resources/nls/el/bundle.js +1 -1
- package/es/resources/nls/en/bundle.js +1 -1
- package/es/resources/nls/en-XA/bundle.js +1 -1
- package/es/resources/nls/en-XC/bundle.js +1 -1
- package/es/resources/nls/es/bundle.js +1 -1
- package/es/resources/nls/et/bundle.js +1 -1
- package/es/resources/nls/fi/bundle.js +1 -1
- package/es/resources/nls/fr/bundle.js +1 -1
- package/es/resources/nls/fr-CA/bundle.js +1 -1
- package/es/resources/nls/he/bundle.js +1 -1
- package/es/resources/nls/hr/bundle.js +1 -1
- package/es/resources/nls/hu/bundle.js +1 -1
- package/es/resources/nls/is/bundle.js +1 -1
- package/es/resources/nls/it/bundle.js +1 -1
- package/es/resources/nls/ja/bundle.js +1 -1
- package/es/resources/nls/ko/bundle.js +1 -1
- package/es/resources/nls/lt/bundle.js +1 -1
- package/es/resources/nls/lv/bundle.js +1 -1
- package/es/resources/nls/ms/bundle.js +1 -1
- package/es/resources/nls/nl/bundle.js +1 -1
- package/es/resources/nls/no/bundle.js +1 -1
- package/es/resources/nls/pl/bundle.js +1 -1
- package/es/resources/nls/pt/bundle.js +1 -1
- package/es/resources/nls/pt-PT/bundle.js +1 -1
- package/es/resources/nls/ro/bundle.js +1 -1
- package/es/resources/nls/ru/bundle.js +1 -1
- package/es/resources/nls/sk/bundle.js +1 -1
- package/es/resources/nls/sl/bundle.js +1 -1
- package/es/resources/nls/sr/bundle.js +1 -1
- package/es/resources/nls/sr-Latn/bundle.js +1 -1
- package/es/resources/nls/supportedLocales.js +1 -1
- package/es/resources/nls/sv/bundle.js +1 -1
- package/es/resources/nls/th/bundle.js +1 -1
- package/es/resources/nls/tr/bundle.js +1 -1
- package/es/resources/nls/uk/bundle.js +1 -1
- package/es/resources/nls/vi/bundle.js +1 -1
- package/es/resources/nls/zh-Hans/bundle.js +1 -1
- package/es/resources/nls/zh-Hant/bundle.js +1 -1
- package/es/translationBundle.js +1 -1
- package/es/{tslib.es6-8b94ba02.js → tslib.es6-6e986fbd.js} +2 -2
- package/es/{tslib.es6-8b94ba02.js.map → tslib.es6-6e986fbd.js.map} +1 -1
- package/es/{useSingleSelection-1e6a4315.js → useSingleSelection-dd0400e3.js} +2 -2
- package/es/{useSingleSelection-1e6a4315.js.map → useSingleSelection-dd0400e3.js.map} +1 -1
- package/es/utils/PRIVATE_clientHints.js +1 -1
- package/es/utils/PRIVATE_collectionUtils.js +1 -1
- package/es/utils/PRIVATE_dvtTestUtils.js +1 -1
- package/es/utils/PRIVATE_floatingUtils.js +1 -1
- package/es/utils/PRIVATE_meterUtils.js +1 -1
- package/es/utils/PRIVATE_refUtils.js +1 -1
- package/es/utils/PRIVATE_tabbableUtils.js +4 -4
- package/es/utils/PRIVATE_timer.js +1 -1
- package/es/utils/UNSAFE_arrayUtils.js +1 -1
- package/es/utils/UNSAFE_attributeUtils.js +1 -1
- package/es/utils/UNSAFE_classNames.js +1 -1
- package/es/utils/UNSAFE_componentUtils.js +1 -1
- package/es/utils/UNSAFE_dataProvider.js +1 -1
- package/es/utils/UNSAFE_filePickerUtils.js +1 -1
- package/es/utils/UNSAFE_getLocale.js +1 -1
- package/es/utils/UNSAFE_interpolations/aria.js +1 -1
- package/es/utils/UNSAFE_interpolations/borders.js +1 -1
- package/es/utils/UNSAFE_interpolations/boxalignment.css +15 -15
- package/es/utils/UNSAFE_interpolations/boxalignment.js +19 -19
- package/es/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
- package/es/utils/UNSAFE_interpolations/colors.js +1 -1
- package/es/utils/UNSAFE_interpolations/dimensions.js +2 -2
- package/es/utils/UNSAFE_interpolations/flexbox.css +7 -7
- package/es/utils/UNSAFE_interpolations/flexbox.js +11 -11
- package/es/utils/UNSAFE_interpolations/flexbox.js.map +1 -1
- package/es/utils/UNSAFE_interpolations/flexitem.css +7 -7
- package/es/utils/UNSAFE_interpolations/flexitem.js +11 -11
- package/es/utils/UNSAFE_interpolations/flexitem.js.map +1 -1
- package/es/utils/UNSAFE_interpolations/grid.js +1 -1
- package/es/utils/UNSAFE_interpolations/griditem.js +1 -1
- package/es/utils/UNSAFE_interpolations/padding.js +1 -1
- package/es/utils/UNSAFE_interpolations/text.css +3 -3
- package/es/utils/UNSAFE_interpolations/text.js +7 -7
- package/es/utils/UNSAFE_interpolations/text.js.map +1 -1
- package/es/utils/UNSAFE_keys.js +1 -1
- package/es/utils/UNSAFE_lengthFilter.js +1 -1
- package/es/utils/UNSAFE_logger.js +3 -3
- package/es/utils/UNSAFE_matchTranslationBundle.js +1 -1
- package/es/utils/UNSAFE_mergeInterpolations.js +5 -5
- package/es/utils/UNSAFE_mergeProps.js +1 -1
- package/es/utils/UNSAFE_meterTypes.js +1 -1
- package/es/utils/UNSAFE_roles.js +1 -1
- package/es/utils/UNSAFE_selectUtils.js +1 -1
- package/es/utils/UNSAFE_size.js +1 -1
- package/es/utils/UNSAFE_soundUtils.js +1 -1
- package/es/utils/UNSAFE_stringUtils.js +1 -1
- package/es/utils/UNSAFE_typeUtils.js +1 -1
- package/es/utils/UNSAFE_units.js +1 -1
- package/es/utils/UNSAFE_valueUpdateDetail.js +1 -1
- package/package.json +1 -1
- package/amd/Badge-0881d386.js +0 -2
- package/amd/BaseButton-c6deca8c.js +0 -2
- package/amd/Button-18083439.js +0 -2
- package/amd/Chip-d8fcbe0a.js +0 -2
- package/amd/ClearIcon-7e5374d7.js +0 -2
- package/amd/Collection-0cd076bf.js +0 -2
- package/amd/ComponentMessage-3a247b9a.js +0 -2
- package/amd/ComponentMessageContainer-eaa98f45.js +0 -2
- package/amd/Divider-6855675c.js +0 -2
- package/amd/FilePicker-22dcb644.js +0 -2
- package/amd/Floating-a320db48.js +0 -2
- package/amd/FocusTrap-444cf340.js +0 -2
- package/amd/FormControlUtils-d6f8680e.js +0 -2
- package/amd/Heading-b2b87148.js +0 -2
- package/amd/HiddenAccessible-061a4f41.js +0 -2
- package/amd/HighlightText-a2b5f4e4.js +0 -2
- package/amd/Icon-87f4ca0b.js +0 -2
- package/amd/Indexer-2b266287.js +0 -2
- package/amd/InlineHelpSource-7fec4994.js +0 -2
- package/amd/Link-4a365734.js +0 -2
- package/amd/List-56a1055e.js +0 -2
- package/amd/ListItemTextLayout-fb9952bb.js +0 -2
- package/amd/ListView-6a3088e3.js +0 -2
- package/amd/LoadMoreCollection-60a7b2a5.js +0 -2
- package/amd/Menu-7882480e.js +0 -2
- package/amd/MenuDivider-eafa71e0.js +0 -2
- package/amd/MenuItem-c03348c5.js +0 -2
- package/amd/Message.types-2209616d.js +0 -2
- package/amd/MessageCloseButton-c76a52a8.js +0 -2
- package/amd/MessageDetail-43b9aea2.js +0 -2
- package/amd/MessageFormattingUtils-b6297ef3.js +0 -2
- package/amd/MessageLayer-75166056.js +0 -2
- package/amd/MessageStartIcon-6ef050cb.js +0 -2
- package/amd/MessageSummary-6829e689.js +0 -2
- package/amd/MessageTimestamp-663c8997.js +0 -2
- package/amd/MessageToast-104da69d.js +0 -2
- package/amd/MessageUtils-d33dd1be.js +0 -2
- package/amd/MessagesManager-d5b3671c.js +0 -2
- package/amd/MessagesManager-d5b3671c.js.map +0 -1
- package/amd/MeterCircle-da06e4f7.js +0 -2
- package/amd/Modal-b06cc4b4.js +0 -2
- package/amd/NumberInputText-bf17d6e8.js +0 -2
- package/amd/ReadonlyTextFieldInput-575ef738.js +0 -2
- package/amd/SelectMultiple-b841e678.js +0 -2
- package/amd/SelectSingle-b6a88f0f.js +0 -2
- package/amd/Spacer-e92cba7a.js +0 -2
- package/amd/SplitMenuButton-238f2539.js +0 -2
- package/amd/Text-4fcf43f2.js +0 -2
- package/amd/TextArea-6a820048.js +0 -2
- package/amd/TextAreaAutosize-f84225fb.js +0 -2
- package/amd/TextFieldInput-e0759ad6.js +0 -2
- package/amd/VirtualizedCollection-45f2c32e.js +0 -2
- package/amd/VirtualizedListView-22a5c6af.js +0 -2
- package/amd/_curry1-b9493cf6.js +0 -2
- package/amd/_curry2-b02f6247.js +0 -2
- package/amd/_curry3-8ffdde1d.js +0 -2
- package/amd/_has-fad415e9.js +0 -2
- package/amd/classNames-3c307969.js +0 -2
- package/amd/clientHints-7d8b1c52.js +0 -2
- package/amd/flexbox-b8de8bb4.js +0 -2
- package/amd/flexitem-d8628091.js +0 -2
- package/amd/index-2f5333e8.js +0 -2
- package/amd/index-55b2db15.js +0 -2
- package/amd/index-bd92b0b3.js +0 -2
- package/amd/keys-9d7cdf1f.js +0 -2
- package/amd/listViewSelectionTests-b85b7850.js +0 -2
- package/amd/listViewTabbableModeTests-7c0d5a88.js +0 -2
- package/amd/listViewTestFixtures-027f1a07.js +0 -2
- package/amd/menuTestsUtils-6cfb2d03.js +0 -2
- package/amd/stringUtils-48915fb5.js +0 -2
- package/amd/testHelpers-327fc97e.js +0 -2
- package/amd/tslib.es6-d070fafc.js +0 -2
- package/amd/useAnimation-8e4e9999.js +0 -2
- package/amd/useFocusWithin-7378d9c7.js +0 -2
- package/amd/useSingleSelection-089373da.js +0 -2
- package/cjs/MessagesManager-ae82966c.js.map +0 -1
package/amd/UNSAFE_FocusTrap.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./FocusTrap-
|
|
1
|
+
define(["exports","./FocusTrap-b42970ea","preact/jsx-runtime","preact","preact/compat","./utils/UNSAFE_classNames","./classNames-e842f86a","css!./UNSAFE_FocusTrap.css","./utils/PRIVATE_tabbableUtils","./_curry1-a2227576","./_curry2-a4242d52","./_curry3-3a3ba6d5"],function(a,e,r,s,c,t,u,i,l,p,o,_){"use strict";a.FocusTrap=e.FocusTrap,Object.defineProperty(a,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_FocusTrap.js.map
|
package/amd/UNSAFE_Grid.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.hqnhcz{display:grid;}
|
package/amd/UNSAFE_Grid.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){if(r){if("string"==typeof r)return _arrayLikeToArray(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,e):void 0}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function _arrayLikeToArray(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,a=new Array(e);t<e;t++)a[t]=r[t];return a}define(["exports","./tslib.es6-
|
|
1
|
+
function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){if(r){if("string"==typeof r)return _arrayLikeToArray(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,e):void 0}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function _arrayLikeToArray(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,a=new Array(e);t<e;t++)a[t]=r[t];return a}define(["exports","./tslib.es6-42e4f430","preact/jsx-runtime","css!./UNSAFE_Grid.css","./utils/UNSAFE_interpolations/grid","./utils/UNSAFE_interpolations/boxalignment","./utils/UNSAFE_mergeInterpolations","./keys-08720ea5","./_curry1-a2227576","./_has-db711dd4","./utils/UNSAFE_size","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_classNames","./classNames-e842f86a","./_curry3-3a3ba6d5","./_curry2-a4242d52"],function(r,e,t,a,n,o,i,s,l,u,c,y,_,b,d,A){"use strict";const p=[].concat(_toConsumableArray(Object.values(n.gridInterpolations)),_toConsumableArray(Object.values(o.boxAlignmentInterpolations))),f=i.mergeInterpolations(p);r.Grid=r=>{var{children:a}=r,n=e.__rest(r,["children"]);const o=f(n),{class:i}=o,s=e.__rest(o,["class"]),l=Object.assign({},s);return t.jsx("div",Object.assign({class:`hqnhcz ${i}`,style:l},{children:a}))},Object.defineProperty(r,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_Grid.js.map
|
package/amd/UNSAFE_Grid.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UNSAFE_Grid.js","sources":["../../src/UNSAFE_Grid/Grid.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 { ComponentChildren } from 'preact';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { gridInterpolations } from '../utils/UNSAFE_interpolations/grid';\nimport type { GridProps } from '../utils/UNSAFE_interpolations/grid';\nimport { boxAlignmentInterpolations } from '../utils/UNSAFE_interpolations/boxalignment';\nimport type { BoxAlignmentProps } from '../utils/UNSAFE_interpolations/boxalignment';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\ntype Props = GridProps &\n BoxAlignmentProps & {\n /**\n * The children to put in the grid.\n */\n children?: ComponentChildren;\n };\n\nconst baseStyles = cssProps`${{ display: 'grid' }}`;\n\nconst interpolations = [\n ...Object.values(gridInterpolations),\n ...Object.values(boxAlignmentInterpolations)\n];\n\nconst styleInterpolations = mergeInterpolations<Props>(interpolations);\n\n/**\n * An implicit grid. Resize your browser to see how items reflow.\n */\nexport const Grid = ({ children, ...props }: Props) => {\n const { class: cls, ...styles } = styleInterpolations(props);\n const allStyles = { ...styles };\n return (\n <div class={`${baseStyles} ${cls}`} style={allStyles}>\n {children}\n </div>\n );\n};\n"],"names":["interpolations","Object","values","gridInterpolations","boxAlignmentInterpolations","styleInterpolations","mergeInterpolations","_a","children","props","__rest","_b","class","cls","styles","allStyles","assign","_jsx","style"],"mappings":"
|
|
1
|
+
{"version":3,"file":"UNSAFE_Grid.js","sources":["../../src/UNSAFE_Grid/Grid.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 { ComponentChildren } from 'preact';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { gridInterpolations } from '../utils/UNSAFE_interpolations/grid';\nimport type { GridProps } from '../utils/UNSAFE_interpolations/grid';\nimport { boxAlignmentInterpolations } from '../utils/UNSAFE_interpolations/boxalignment';\nimport type { BoxAlignmentProps } from '../utils/UNSAFE_interpolations/boxalignment';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\ntype Props = GridProps &\n BoxAlignmentProps & {\n /**\n * The children to put in the grid.\n */\n children?: ComponentChildren;\n };\n\nconst baseStyles = cssProps`${{ display: 'grid' }}`;\n\nconst interpolations = [\n ...Object.values(gridInterpolations),\n ...Object.values(boxAlignmentInterpolations)\n];\n\nconst styleInterpolations = mergeInterpolations<Props>(interpolations);\n\n/**\n * An implicit grid. Resize your browser to see how items reflow.\n */\nexport const Grid = ({ children, ...props }: Props) => {\n const { class: cls, ...styles } = styleInterpolations(props);\n const allStyles = { ...styles };\n return (\n <div class={`${baseStyles} ${cls}`} style={allStyles}>\n {children}\n </div>\n );\n};\n"],"names":["interpolations","Object","values","gridInterpolations","boxAlignmentInterpolations","styleInterpolations","mergeInterpolations","_a","children","props","__rest","_b","class","cls","styles","allStyles","assign","_jsx","style"],"mappings":"m6CAuBA,MAEAA,EACEC,GAAAA,OAAAA,mBAAAA,OAAAC,OAAAC,EAAAA,qBACAF,mBAAAA,OAAAC,OAAAE,EAAAA,8BAGFC,EAAAC,EAAAA,oBAAAN,UAKAO,IAAqB,IAAAC,SAAAA,GAAAD,EAAAE,EAAAC,EAAAA,OAAAH,EAAA,CAAA,aACnB,MAAAI,EAAAN,EAAAI,IAAAG,MAAAC,GAAAF,EAAAG,EAAAJ,EAAAA,OAAAC,EAAA,CAAA,UACAI,EAAAd,OAAAe,OAAA,GAAAF,GACA,OAAAG,MAAA,MAAAhB,OAAAe,OAAA,CAAAJ,MAAA,UAAAC,IAAAK,MAAAH,GAAA,CAAAP,SAAAA"}
|
package/amd/UNSAFE_Heading.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
5
|
-
.
|
|
6
|
-
.
|
|
7
|
-
.
|
|
8
|
-
.
|
|
9
|
-
.
|
|
1
|
+
._3h8ei7{margin:0;}
|
|
2
|
+
._1gby3xv{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xs-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xs-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xs-line-height);}
|
|
3
|
+
._1pop8x5{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-sm-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-sm-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-sm-line-height);}
|
|
4
|
+
.an0k54{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-md-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-md-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-md-line-height);}
|
|
5
|
+
._1xy90j2{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-lg-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-lg-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-lg-line-height);}
|
|
6
|
+
._1imkysa{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xl-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xl-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xl-line-height);}
|
|
7
|
+
.a2pwit{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-2xl-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-2xl-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-2xl-line-height);}
|
|
8
|
+
._136e9y{font-size:inherit;font-weight:inherit;line-height:inherit;}
|
|
9
|
+
.javhx > *{margin-top:0 !important;margin-bottom:0 !important;margin-left:0 !important;margin-right:0 !important;}
|
package/amd/UNSAFE_Heading.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./Heading-
|
|
1
|
+
define(["exports","./Heading-d4d44963","./tslib.es6-42e4f430","preact/jsx-runtime","./keys-08720ea5","./_curry1-a2227576","./_has-db711dd4","./utils/UNSAFE_arrayUtils","css!./UNSAFE_Heading.css","./utils/UNSAFE_mergeInterpolations","./utils/UNSAFE_classNames","./classNames-e842f86a","./_curry3-3a3ba6d5","./_curry2-a4242d52"],function(e,s,a,i,t,n,r,d,l,u,c,_,o,p){"use strict";e.Heading=s.Heading,e.headingElementTypes=s.headingElementTypes,e.sizeOptions=s.sizeOptions,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_Heading.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.prsl0i{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow-x:hidden;overflow-y:hidden;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;width:1px;position:absolute;}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./HiddenAccessible-
|
|
1
|
+
define(["exports","./HiddenAccessible-f22f6877","preact/jsx-runtime","css!./UNSAFE_HiddenAccessible.css"],function(e,i,s,c){"use strict";e.HiddenAccessible=i.HiddenAccessible,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_HiddenAccessible.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._1b858xl{font-weight:700;}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./HighlightText-
|
|
1
|
+
define(["exports","./HighlightText-44f9023f","preact/jsx-runtime","preact","css!./UNSAFE_HighlightText.css"],function(e,t,i,r,g){"use strict";e.HighlightText=t.HighlightText,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_HighlightText.js.map
|
package/amd/UNSAFE_Icon.css
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
5
|
-
.
|
|
6
|
-
.
|
|
7
|
-
.
|
|
8
|
-
.
|
|
9
|
-
.
|
|
10
|
-
.
|
|
11
|
-
.
|
|
12
|
-
.
|
|
13
|
-
.
|
|
14
|
-
.
|
|
15
|
-
.
|
|
16
|
-
.
|
|
17
|
-
.
|
|
18
|
-
.
|
|
19
|
-
.
|
|
20
|
-
.
|
|
21
|
-
.
|
|
1
|
+
.i4pjt0{font-size:1em;}
|
|
2
|
+
._1tcprbr{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-1x);}
|
|
3
|
+
.eqbeo9{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);}
|
|
4
|
+
._1v7o470{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);}
|
|
5
|
+
._1hqnsh9{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);}
|
|
6
|
+
.lkddsm{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x);}
|
|
7
|
+
.x14acq{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-6x);}
|
|
8
|
+
._164zpwb{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-7x);}
|
|
9
|
+
._1cygrod{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-8x);}
|
|
10
|
+
.mz4twe{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-9x);}
|
|
11
|
+
._1ic8w7n{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-10x);}
|
|
12
|
+
._11nex94{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-11x);}
|
|
13
|
+
.pv14nw{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-12x);}
|
|
14
|
+
.uu05g8{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);}
|
|
15
|
+
._9993yx{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-secondary);}
|
|
16
|
+
.qsjtph{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-disabled);}
|
|
17
|
+
._1weozcs{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-danger-3);}
|
|
18
|
+
._1utwvuq{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-warning-3);}
|
|
19
|
+
.o5sfy1{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-success-3);}
|
|
20
|
+
.urzhon{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-info-3);}
|
|
21
|
+
._1i4e369{color:currentColor;}
|
package/amd/UNSAFE_Icon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./Icon-
|
|
1
|
+
define(["exports","./Icon-3f9a8f0d","preact/jsx-runtime","./hooks/UNSAFE_useUser","./hooks/UNSAFE_useTheme","./tslib.es6-42e4f430","preact","css!./UNSAFE_Icon.css","./utils/UNSAFE_classNames","./classNames-e842f86a","./hooks/UNSAFE_useTooltip","preact/hooks","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-44114750","preact/compat","./index-e6354839","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./utils/UNSAFE_arrayUtils","./UNSAFE_Environment","./UNSAFE_Layer","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./utils/UNSAFE_mergeProps","./hooks/UNSAFE_useAnimation","./useAnimation-1a52f0c4"],function(s,e,o,t,i,n,u,a,r,c,l,U,A,_,E,F,N,h,S,k,m,f,g,p,d,j,I,T,x,b){"use strict";s.Icon=e.Icon,s.withDirectionIcon=(s,e)=>i=>{const{direction:n}=t.useUser();return"ltr"===n?o.jsx(s,Object.assign({},i)):o.jsx(e,Object.assign({},i))},s.withThemeIcon=s=>e=>{const{name:t}=i.useTheme(),n=s[t];return o.jsx(n,Object.assign({},e))},Object.defineProperty(s,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_Icon.js.map
|
package/amd/UNSAFE_Icon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UNSAFE_Icon.js","sources":["../../src/UNSAFE_Icon/withDirectionIcon.tsx","../../src/UNSAFE_Icon/withThemeIcon.tsx"],"sourcesContent":["import { ComponentProps } from 'preact';\nimport { Icon } from './Icon';\nimport { useUser } from '../hooks/UNSAFE_useUser';\n\ntype Props = Omit<ComponentProps<typeof Icon>, 'viewBox'>;\n\n// Returns a component that renders one of the given icon components based on reading direction\nexport const withDirectionIcon = (LtrIcon: typeof Icon, RtlIcon: typeof Icon) => {\n return (props: Props) => {\n const { direction } = useUser();\n return direction === 'ltr' ? <LtrIcon {...props} /> : <RtlIcon {...props} />;\n };\n};\n","import { ComponentProps } from 'preact';\nimport { Icon } from './Icon';\nimport { useTheme } from '../hooks/UNSAFE_useTheme';\n\ntype Props = Omit<ComponentProps<typeof Icon>, 'viewBox'>;\n\ntype ThemeType = ReturnType<typeof useTheme>;\n\ntype ThemeIcons = Record<ThemeType['name'], typeof Icon>;\n\n// Returns a component that renders one of the given icon components based on theme\nexport const withThemeIcon = (themeIcons: ThemeIcons) => {\n return (props: Props) => {\n const { name } = useTheme();\n const Component = themeIcons[name];\n return <Component {...props} />;\n };\n};\n"],"names":["LtrIcon","RtlIcon","props","direction","useUser","_jsx","Object","assign","themeIcons","name","useTheme","Component"],"mappings":"
|
|
1
|
+
{"version":3,"file":"UNSAFE_Icon.js","sources":["../../src/UNSAFE_Icon/withDirectionIcon.tsx","../../src/UNSAFE_Icon/withThemeIcon.tsx"],"sourcesContent":["import { ComponentProps } from 'preact';\nimport { Icon } from './Icon';\nimport { useUser } from '../hooks/UNSAFE_useUser';\n\ntype Props = Omit<ComponentProps<typeof Icon>, 'viewBox'>;\n\n// Returns a component that renders one of the given icon components based on reading direction\nexport const withDirectionIcon = (LtrIcon: typeof Icon, RtlIcon: typeof Icon) => {\n return (props: Props) => {\n const { direction } = useUser();\n return direction === 'ltr' ? <LtrIcon {...props} /> : <RtlIcon {...props} />;\n };\n};\n","import { ComponentProps } from 'preact';\nimport { Icon } from './Icon';\nimport { useTheme } from '../hooks/UNSAFE_useTheme';\n\ntype Props = Omit<ComponentProps<typeof Icon>, 'viewBox'>;\n\ntype ThemeType = ReturnType<typeof useTheme>;\n\ntype ThemeIcons = Record<ThemeType['name'], typeof Icon>;\n\n// Returns a component that renders one of the given icon components based on theme\nexport const withThemeIcon = (themeIcons: ThemeIcons) => {\n return (props: Props) => {\n const { name } = useTheme();\n const Component = themeIcons[name];\n return <Component {...props} />;\n };\n};\n"],"names":["LtrIcon","RtlIcon","props","direction","useUser","_jsx","Object","assign","themeIcons","name","useTheme","Component"],"mappings":"4yBAOiC,CAACA,EAAsBC,IAC9CC,IACN,MAAMC,UAAEA,GAAcC,EAAAA,UACtB,MAAqB,QAAdD,EAAsBE,MAACL,EAAOM,OAAAC,OAAA,GAAKL,IAAYG,EAAAA,IAACJ,EAAYK,OAAAC,OAAA,GAAAL,qBCCzCM,GACpBN,IACN,MAAMO,KAAEA,GAASC,EAAAA,WACXC,EAAYH,EAAWC,GAC7B,OAAOJ,EAAAA,IAACM,EAAcL,OAAAC,OAAA,GAAAL"}
|
package/amd/UNSAFE_Icons.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./index-
|
|
1
|
+
define(["exports","./index-696f9e7b","preact/jsx-runtime","./UNSAFE_Icon","./Icon-3f9a8f0d","./tslib.es6-42e4f430","preact",'module',"./utils/UNSAFE_classNames","./classNames-e842f86a","./hooks/UNSAFE_useTooltip","preact/hooks","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-44114750","preact/compat","./index-e6354839","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./utils/UNSAFE_arrayUtils","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./utils/UNSAFE_mergeProps","./hooks/UNSAFE_useAnimation","./useAnimation-1a52f0c4","./hooks/UNSAFE_useTheme"],function(o,e,c,s,n,S,i,r,t,I,a,h,v,g,u,U,l,E,A,N,_,F,f,C,k,m,p,d,w,x,b,D){"use strict";o.CheckboxOff=e.SvgCheckboxOff,o.CheckboxOn=e.SvgCheckboxOn,o.IcoCaretDown=e.SvgIcoCaretDown,o.IcoCheck=e.SvgIcoCheck,o.IcoChevronDown=e.SvgIcoChevronDown,o.IcoChevronLeft=e.SvgIcoChevronLeft,o.IcoChevronRight=e.SvgIcoChevronRight,o.IcoChevronUp=e.SvgIcoChevronUp,o.IcoClose=e.SvgIcoClose,o.IcoErrorS=e.SvgIcoErrorS,o.IcoInformationS=e.SvgIcoInformationS,o.IcoNavDown=e.SvgIcoNavDown,o.IcoSuccessS=e.SvgIcoSuccessS,o.IcoView=e.SvgIcoView,o.IcoViewHide=e.SvgIcoViewHide,o.IcoWarningS=e.SvgIcoWarningS,Object.defineProperty(o,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_Icons.js.map
|
package/amd/UNSAFE_Indexer.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
.unmnq4{height:100%;}
|
|
2
|
+
._5hkky2{list-style-type:none;margin:0px;margin-top:auto;margin-bottom:auto;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;outline-style:none;}
|
|
3
3
|
|
|
4
|
-
.
|
|
5
|
-
.
|
|
6
|
-
.
|
|
7
|
-
.
|
|
8
|
-
.
|
|
4
|
+
._1lik198{text-align:center;height:1rem;width:1.5rem;color:var(--oj-c-PRIVATE-DO-NOT-USE-indexer-text-color);font-size:var(--oj-c-PRIVATE-DO-NOT-USE-indexer-font-size);line-height:1rem;}
|
|
5
|
+
._1zapuw{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-disabled);}
|
|
6
|
+
._1e2y3d8{outline-style:dotted;outline-width:1px;outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-offset:-1px;}
|
|
7
|
+
._1l00oox{font-weight:bold;}
|
|
8
|
+
._1yit391::after{content:"●";}
|
package/amd/UNSAFE_Indexer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","./Indexer-
|
|
1
|
+
define(["exports","./Indexer-4fe4d55d","preact/jsx-runtime","preact","preact/hooks","./UNSAFE_Flex","./Flex-348d5a41","./tslib.es6-42e4f430","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-a2227576","./utils/UNSAFE_mergeInterpolations","./utils/UNSAFE_classNames","./classNames-e842f86a","./_curry3-3a3ba6d5","./_curry2-a4242d52","./_has-db711dd4","css!./UNSAFE_Indexer.css","./utils/UNSAFE_interpolations/boxalignment","./keys-08720ea5","./utils/UNSAFE_interpolations/flexbox","./flexbox-d23eebb7","./utils/UNSAFE_interpolations/flexitem","./flexitem-6045133a","./utils/UNSAFE_mergeProps","./useSingleSelection-0ffc7fc8","./hooks/PRIVATE_useCurrentKey","./utils/UNSAFE_keys","./hooks/PRIVATE_useCollectionFocusRing","./utils/PRIVATE_collectionUtils","./utils/PRIVATE_clientHints","./clientHints-45edd40b","./hooks/UNSAFE_useId","./hooks/UNSAFE_useTranslationBundle","./UNSAFE_Environment","./UNSAFE_Layer","preact/compat","./UNSAFE_HiddenAccessible","./HiddenAccessible-f22f6877","./PRIVATE_Collection","./Collection-a29e53a2"],function(e,s,i,t,l,n,o,a,r,_,c,u,E,d,A,S,N,F,U,f,x,p,b,I,m,T,y,R,k,P,h,C,H,g,O,V,j,v,z,B,K,L){"use strict";e.Indexer=s.Indexer,e.SECTION_OTHERS=s.SECTION_OTHERS,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_Indexer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._1e8ywap{display:inline-flex;align-items:center;justify-content:center;cursor:var(--oj-c-PRIVATE-DO-NOT-USE-core-cursor-clickable);padding-inline:0;padding-block:0;border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-md);color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);border-color:transparent;background-color:transparent;width:2.75rem;height:2.75rem;line-height:2.75rem;font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-icon-size-lg);}._1e8ywap:hover{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover);border-color:transparent;}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","preact/jsx-runtime","preact/compat","preact/hooks","./hooks/UNSAFE_useFocusableTextField","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useTextField","./hooks/UNSAFE_useHover","./UNSAFE_Label","./UNSAFE_TextField","./UNSAFE_UserAssistance","css!./UNSAFE_InputPassword.css","./hooks/UNSAFE_useTranslationBundle","./hooks/UNSAFE_usePress","./index-
|
|
1
|
+
define(["exports","preact/jsx-runtime","preact/compat","preact/hooks","./hooks/UNSAFE_useFocusableTextField","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useTextField","./hooks/UNSAFE_useHover","./UNSAFE_Label","./UNSAFE_TextField","./UNSAFE_UserAssistance","css!./UNSAFE_InputPassword.css","./hooks/UNSAFE_useTranslationBundle","./hooks/UNSAFE_usePress","./index-173030cd","./index-696f9e7b","./hooks/UNSAFE_useClearIcon","./utils/UNSAFE_componentUtils","./ClearIcon-9a621af3","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useCurrentValueReducer","./ReadonlyTextFieldInput-8040cb97","./TextFieldInput-428b8905","./tslib.es6-42e4f430","./hooks/UNSAFE_useFocusWithin","./useFocusWithin-2efc86a8","preact","./hooks/UNSAFE_useId","./utils/UNSAFE_classNames","./classNames-e842f86a","./UNSAFE_LabelValueLayout","./UNSAFE_Flex","./Flex-348d5a41","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-a2227576","./utils/UNSAFE_mergeInterpolations","./_curry3-3a3ba6d5","./_curry2-a4242d52","./_has-db711dd4","./utils/UNSAFE_interpolations/boxalignment","./keys-08720ea5","./utils/UNSAFE_interpolations/flexbox","./flexbox-d23eebb7","./utils/UNSAFE_interpolations/flexitem","./flexitem-6045133a","./FormControlUtils-b6d5ae69","./hooks/UNSAFE_useDebounce","./UNSAFE_LiveRegion","./InlineHelpSource-7270d6c0","./hooks/UNSAFE_useTabbableMode","./UNSAFE_ComponentMessage","./ComponentMessage-28fa60d9","./PRIVATE_Message","./utils/PRIVATE_timer","./MessageCloseButton-26d2a151","./UNSAFE_Button","./Button-097e23fc","./UNSAFE_BaseButton","./BaseButton-979c5061","./hooks/UNSAFE_useActive","./utils/PRIVATE_clientHints","./clientHints-45edd40b","./utils/UNSAFE_mergeProps","./MessageDetail-d34864b4","./MessageFormattingUtils-bf5de0fd","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-7012261b","./Message.types-23350d23","./MessageStartIcon-66feb809","./MessageSummary-c8e827f6","./MessageTimestamp-839e805a","./MessageUtils-66bef1fe","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./MessagesManager-0c0f108c","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useAnimation","./useAnimation-1a52f0c4","./hooks/UNSAFE_useMessagesContext","./UNSAFE_Icon","./Icon-3f9a8f0d","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-44114750","./index-e6354839","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useTheme","./UNSAFE_HiddenAccessible","./HiddenAccessible-f22f6877","./ComponentMessageContainer-82d94819","./utils/UNSAFE_interpolations/text","./hooks/UNSAFE_useTextFieldInputHandlers"],function(e,s,o,t,i,l,a,n,u,r,d,c,F,A,b,U,E,S,_,p,x,h,g,N,m,f,v,y,k,C,T,I,R,j,P,V,M,B,D,L,w,H,O,W,q,z,G,J,K,Q,X,Y,Z,$,ee,se,oe,te,ie,le,ae,ne,ue,re,de,ce,Fe,Ae,be,Ue,Ee,Se,_e,pe,xe,he,ge,Ne,me,fe,ve,ye,ke,Ce,Te,Ie,Re,je,Pe,Ve,Me,Be,De,Le,we,He,Oe,We,qe,ze,Ge,Je,Ke){"use strict";const Qe="_1e8ywap";function Xe({isRevealed:e,onPress:o}){const{pressProps:t}=b.usePress(o),i=A.useTranslationBundle("@oracle/oraclejet-preact").inputPassword_hidden();return s.jsx("button",Object.assign({"aria-label":i,role:"switch","aria-checked":!e,class:Qe,tabIndex:0},t,{children:e?s.jsx(E.SvgIcoViewHide,{}):s.jsx(E.SvgIcoView,{})}))}const Ye=o.forwardRef(({ariaDescribedBy:e,assistiveText:o,autoComplete:F="off",autoFocus:A=!1,hasClearIcon:b,hasRevealToggle:U="always",helpSourceLink:E,helpSourceText:m,isDisabled:f,isReadonly:v,isRequired:y=!1,isRequiredShown:k,label:C,labelEdge:T,labelStartWidth:I,messages:R,placeholder:j,textAlign:P,userAssistanceDensity:V,value:M,variant:B="default",onInput:D,onCommit:L},w)=>{const{currentCommitValue:H,dispatch:O}=h.useCurrentValueReducer({value:M}),W=t.useCallback(e=>{O({type:"input",payload:e.value}),null==D||D(e)},[D,O]),q=t.useCallback(e=>{O({type:"commit",payload:e.value}),null==L||L(e)},[L,O]),{isDisabled:z,isReadonly:G,labelEdge:J,labelStartWidth:K,textAlign:Q,userAssistanceDensity:X}=l.useFormContext(),Y=null!=f?f:z,Z=null!=v?v:G,$=null!=T?T:J,ee=null!=I?I:K,se=null!=P?P:Q,oe=null!=V?V:X,{bool:te,setFalse:ie,setTrue:le}=x.useToggle(!1),{enabledElementRef:ae,focusProps:ne,isFocused:ue,readonlyElementRef:re}=i.useFocusableTextField({isDisabled:Y,isReadonly:Z,ref:w,onBlurWithin:ie}),{hoverProps:de,isHover:ce}=u.useHover({isDisabled:Z||Y||!1}),{formFieldContext:Fe,inputProps:Ae,labelProps:be,textFieldProps:Ue,userAssistanceProps:Ee}=n.useTextField({ariaDescribedBy:e,isDisabled:Y,isFocused:ue,isReadonly:Z,labelEdge:$,messages:R,styleVariant:B,value:M}),Se=t.useCallback(()=>{te?ie():le()},[te]),_e=Y||"always"!==U?null:s.jsx(Xe,{onPress:Se,isRevealed:te}),pe=t.useCallback(()=>{var e;null===(e=ae.current)||void 0===e||e.focus(),null==W||W({previousValue:M,value:""})},[D,M]),xe=S.useClearIcon({clearIcon:s.jsx(p.ClearIcon,{onClick:pe}),display:b,hasValue:Fe.hasValue,isFocused:ue,isEnabled:!Z&&!Y,isHover:ce}),he=_.beforeVNode(_e,xe),ge="none"!==$?s.jsx(r.Label,Object.assign({},be,{children:C})):void 0,Ne={label:"none"!==$?ge:void 0,labelEdge:"none"!==$?$:void 0,labelStartWidth:"none"!==$?ee:void 0},me="none"===$?C:void 0,fe=Y||Z?"efficient"!==oe?void 0:s.jsx(c.InlineUserAssistance,Object.assign({userAssistanceDensity:oe},Ee)):s.jsx(c.InlineUserAssistance,Object.assign({assistiveText:o,helpSourceLink:E,helpSourceText:m,messages:R,isRequiredShown:k,userAssistanceDensity:oe},Ee));if(Z)return s.jsx(a.FormFieldContext.Provider,Object.assign({value:Fe},{children:s.jsx(d.ReadonlyTextField,Object.assign({role:"presentation",inlineUserAssistance:fe},Ne,{children:s.jsx(g.ReadonlyTextFieldInput,{ariaDescribedBy:e,ariaLabel:me,ariaLabelledBy:be.id,as:"input",autoFocus:A,elementRef:re,textAlign:se,type:"password",value:M,hasInsideLabel:void 0!==C&&"inside"===$})}))}));const ve=s.jsx(N.TextFieldInput,Object.assign({ariaLabel:me,autoComplete:F,autoFocus:A,currentCommitValue:H,hasInsideLabel:void 0!==ge&&"inside"===$,inputRef:ae,isRequired:y,onInput:W,onCommit:q,placeholder:j,textAlign:se,value:M,type:te?"text":"password"},Ae));return s.jsx(a.FormFieldContext.Provider,Object.assign({value:Fe},{children:s.jsx(d.TextField,Object.assign({endContent:he,inlineUserAssistance:fe,mainContent:ve,onBlur:ne.onfocusout,onFocus:ne.onfocusin},Ue,Ne,de))}))});e.InputPassword=Ye,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_InputPassword.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UNSAFE_InputPassword.js","sources":["../../src/UNSAFE_InputPassword/RevealToggleIcon.tsx","../../src/UNSAFE_InputPassword/InputPassword.tsx"],"sourcesContent":["import { cssProps } from '@oracle/oraclejet-cssprops';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '../resources/nls/bundle';\nimport { usePress } from '../hooks/UNSAFE_usePress';\nimport { ViewHideIcon, ViewIcon } from '../UNSAFE_ThemedIcons';\n\ntype RevealToogleIconProps = {\n onPress: (event: Event) => void;\n isRevealed?: boolean;\n};\n\n// TODO: This was copied from ClearIcon. When we have a preact <Button> component we\n// will need to refactor to use that.\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-height) once it is available\nconst ojButtonHeight = '2.75rem';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-border-radius) once it is available\nconst ojButtonBorderRadius = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-md)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-text-color) once it is available\nconst ojButtonBorderlessChromeTextColor = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-text-color-hover) once it is available\nconst ojButtonBorderlessChromeTextColorHover =\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-bg-color-hover) once it is available\nconst ojButtonBorderlessChromeBgColorHover = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-border-color-hover) once it is available\nconst ojButtonBorderlessChromeBorderColorHover = 'transparent';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-icon-size) once it is available\nconst ojButtonIconSize = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-icon-size-lg)';\n\nconst revealToggleIconStyles = {\n base: cssProps`${{\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n cursor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-cursor-clickable)',\n\n paddingInline: 0,\n paddingBlock: 0,\n borderRadius: ojButtonBorderRadius,\n color: ojButtonBorderlessChromeTextColor,\n borderColor: 'transparent',\n backgroundColor: 'transparent',\n\n width: ojButtonHeight,\n height: ojButtonHeight,\n lineHeight: ojButtonHeight,\n fontSize: ojButtonIconSize,\n\n '&:hover': {\n color: ojButtonBorderlessChromeTextColorHover,\n backgroundColor: ojButtonBorderlessChromeBgColorHover,\n borderColor: ojButtonBorderlessChromeBorderColorHover\n }\n }}`\n};\n\nexport function RevealToggleIcon({ isRevealed, onPress }: RevealToogleIconProps) {\n const { pressProps } = usePress(onPress);\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n // title attribute. We removed these because title is taking precedence over aria-label and this\n // is messing up the screen readers. To be accessible we are removing title and will implement\n // this as a <Tooltip> component when we have one.\n // TODO JET-51517 implement reveal icon title as a Tooltip\n // const hidePasswordStr = translations.inputPassword_hide();\n // const showPasswordStr = translations.inputPassword_show();\n const passwordMaskedStr = translations.inputPassword_hidden();\n // TODO: Use toggle <Button> when that is available, JET-49207\n return (\n <button\n aria-label={passwordMaskedStr}\n role=\"switch\"\n aria-checked={isRevealed ? false : true}\n class={revealToggleIconStyles.base}\n tabIndex={0}\n {...pressProps}>\n {isRevealed ? <ViewHideIcon /> : <ViewIcon />}\n </button>\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, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useCallback } from 'preact/hooks';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport { useHover } from '../hooks/UNSAFE_useHover';\nimport { Label } from '../UNSAFE_Label';\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { InlineUserAssistance } from '../UNSAFE_UserAssistance';\nimport { RevealToggleIcon } from './RevealToggleIcon';\nimport { useClearIcon } from '../hooks/UNSAFE_useClearIcon';\nimport { beforeVNode } from '../utils/UNSAFE_componentUtils';\nimport { ClearIcon } from '../UNSAFE_InputText/ClearIcon';\nimport { Size } from '../utils/UNSAFE_size';\nimport { useToggle } from '../hooks/UNSAFE_useToggle';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\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 /**\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 * Specifies whether the clear icon should be shown.\n * <ul>\n * <li><code>'always'</code>: The clear icon is always visible.</li>\n * <li><code>'conditionally'</code>: The clear icon is visible under the following conditions:\n * if the component has a non-empty value, and it either has focus or the mouse is over the field.</li>\n * <li><code>'never'</code>: The clear icon is never visible.</li>\n * </ul>\n */\n hasClearIcon?: 'always' | 'conditionally' | 'never';\n /**\n * Specifies whether the reveal toggle should be shown.\n * <ul>\n * <li><code>'always'</code>: The reveal toggle is always visible and the user can click on it to reveal the password in plain text.\n * When the user leaves the field, the password is automatically masked.</li>\n * <li><code>'never'</code>: The reveal toggle is never visible and the user can never reveal the password in plain text.</li>\n * </ul>\n */\n hasRevealToggle?: 'always' | 'never';\n\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. If the labelEdge is 'none',\n * the labelHint is hidden from the user but is still accessible.\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 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 * 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 either blurring or pressing Enter.\n *\n */\n onCommit?: TextFieldInputProps['onCommit'];\n\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\n// One way InputPassword differs from InputText is InputPassword's readonly\n// is implemented with an <input> and not a <div>.\nexport const InputPassword = forwardRef(\n (\n {\n ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n hasClearIcon,\n hasRevealToggle = 'always',\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n messages,\n placeholder,\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, dispatch]\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, dispatch]\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 const {\n bool: isRevealed,\n setFalse: setRevealedFalse,\n setTrue: setRevealedTrue\n } = useToggle(false);\n const { enabledElementRef, focusProps, isFocused, readonlyElementRef } = useFocusableTextField<\n HTMLInputElement,\n HTMLInputElement\n >({ isDisabled, isReadonly, ref, onBlurWithin: setRevealedFalse });\n const { hoverProps, isHover } = useHover({ isDisabled: isReadonly || isDisabled || false });\n const { formFieldContext, inputProps, labelProps, textFieldProps, userAssistanceProps } =\n useTextField({\n ariaDescribedBy,\n isDisabled,\n isFocused,\n isReadonly,\n labelEdge,\n messages,\n styleVariant: variant,\n value\n });\n\n // Callback on the RevealToggleButton.\n // When the user clicks on the reveal buttton,\n // toggle revealing/masking password\n const onRevealIconPress = useCallback(() => {\n isRevealed ? setRevealedFalse() : setRevealedTrue();\n }, [isRevealed]);\n\n const revealToggleIcon =\n !isDisabled && hasRevealToggle === 'always' ? (\n <RevealToggleIcon onPress={onRevealIconPress} isRevealed={isRevealed} />\n ) : null;\n const onClickClearIcon = useCallback(() => {\n // Clicking the clear icon should put the focus on the input field\n enabledElementRef.current?.focus();\n // Send an event to clear the field's value\n onInputAndDispatch?.({ previousValue: value, value: '' });\n }, [onInput, value]);\n\n const maybeClearIcon = useClearIcon({\n clearIcon: <ClearIcon onClick={onClickClearIcon} />,\n display: hasClearIcon,\n hasValue: formFieldContext.hasValue,\n isFocused,\n isEnabled: !isReadonly && !isDisabled,\n isHover\n });\n const endContentCombined = beforeVNode(revealToggleIcon, maybeClearIcon);\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 helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n messages={messages}\n isRequiredShown={isRequiredShown}\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n );\n\n if (isReadonly) {\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n inlineUserAssistance={inlineUserAssistance}\n {...fieldLabelProps}>\n <ReadonlyTextFieldInput\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={labelProps.id}\n as=\"input\"\n autoFocus={autoFocus}\n elementRef={readonlyElementRef}\n textAlign={textAlign}\n type=\"password\"\n value={value}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n </ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n const mainContent = (\n <TextFieldInput\n ariaLabel={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n inputRef={enabledElementRef}\n isRequired={isRequired}\n onInput={onInputAndDispatch}\n onCommit={onCommitAndDispatch}\n placeholder={placeholder}\n textAlign={textAlign}\n value={value}\n type={isRevealed ? 'text' : 'password'}\n {...inputProps}\n />\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n endContent={endContentCombined}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n {...textFieldProps}\n {...fieldLabelProps}\n {...hoverProps}></TextField>\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["revealToggleIconStyles","RevealToggleIcon","isRevealed","onPress","passwordMaskedStr","useTranslationBundle","inputPassword_hidden","InputPassword","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","hasClearIcon","hasRevealToggle","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","messages","placeholder","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","value","variant","onInput","onCommit","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","bool","setFalse","setRevealedFalse","setTrue","setRevealedTrue","useToggle","enabledElementRef","focusProps","isFocused","readonlyElementRef","useFocusableTextField","onBlurWithin","hoverProps","isHover","useHover","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","onRevealIconPress","revealToggleIcon","_jsx","onClickClearIcon","_a","current","focus","previousValue","maybeClearIcon","useClearIcon","clearIcon","ClearIcon","onClick","display","hasValue","isEnabled","endContentCombined","beforeVNode","labelComp","Label","Object","assign","undefined","fieldLabelProps","ariaLabel","inlineUserAssistance","jsx","InlineUserAssistance","FormFieldContext","Provider","children","ReadonlyTextField","role","ReadonlyTextFieldInput","ariaLabelledBy","id","as","elementRef","hasInsideLabel","mainContent","TextFieldInput","inputRef","TextField","endContent","onBlur","onfocusout","onFocus","onfocusin"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"UNSAFE_InputPassword.js","sources":["../../src/UNSAFE_InputPassword/RevealToggleIcon.tsx","../../src/UNSAFE_InputPassword/InputPassword.tsx"],"sourcesContent":["import { cssProps } from '@oracle/oraclejet-cssprops';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '../resources/nls/bundle';\nimport { usePress } from '../hooks/UNSAFE_usePress';\nimport { ViewHideIcon, ViewIcon } from '../UNSAFE_ThemedIcons';\n\ntype RevealToogleIconProps = {\n onPress: (event: Event) => void;\n isRevealed?: boolean;\n};\n\n// TODO: This was copied from ClearIcon. When we have a preact <Button> component we\n// will need to refactor to use that.\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-height) once it is available\nconst ojButtonHeight = '2.75rem';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-border-radius) once it is available\nconst ojButtonBorderRadius = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-md)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-text-color) once it is available\nconst ojButtonBorderlessChromeTextColor = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-text-color-hover) once it is available\nconst ojButtonBorderlessChromeTextColorHover =\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-bg-color-hover) once it is available\nconst ojButtonBorderlessChromeBgColorHover = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-border-color-hover) once it is available\nconst ojButtonBorderlessChromeBorderColorHover = 'transparent';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-icon-size) once it is available\nconst ojButtonIconSize = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-icon-size-lg)';\n\nconst revealToggleIconStyles = {\n base: cssProps`${{\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n cursor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-cursor-clickable)',\n\n paddingInline: 0,\n paddingBlock: 0,\n borderRadius: ojButtonBorderRadius,\n color: ojButtonBorderlessChromeTextColor,\n borderColor: 'transparent',\n backgroundColor: 'transparent',\n\n width: ojButtonHeight,\n height: ojButtonHeight,\n lineHeight: ojButtonHeight,\n fontSize: ojButtonIconSize,\n\n '&:hover': {\n color: ojButtonBorderlessChromeTextColorHover,\n backgroundColor: ojButtonBorderlessChromeBgColorHover,\n borderColor: ojButtonBorderlessChromeBorderColorHover\n }\n }}`\n};\n\nexport function RevealToggleIcon({ isRevealed, onPress }: RevealToogleIconProps) {\n const { pressProps } = usePress(onPress);\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n // title attribute. We removed these because title is taking precedence over aria-label and this\n // is messing up the screen readers. To be accessible we are removing title and will implement\n // this as a <Tooltip> component when we have one.\n // TODO JET-51517 implement reveal icon title as a Tooltip\n // const hidePasswordStr = translations.inputPassword_hide();\n // const showPasswordStr = translations.inputPassword_show();\n const passwordMaskedStr = translations.inputPassword_hidden();\n // TODO: Use toggle <Button> when that is available, JET-49207\n return (\n <button\n aria-label={passwordMaskedStr}\n role=\"switch\"\n aria-checked={isRevealed ? false : true}\n class={revealToggleIconStyles.base}\n tabIndex={0}\n {...pressProps}>\n {isRevealed ? <ViewHideIcon /> : <ViewIcon />}\n </button>\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, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useCallback } from 'preact/hooks';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport { useHover } from '../hooks/UNSAFE_useHover';\nimport { Label } from '../UNSAFE_Label';\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { InlineUserAssistance } from '../UNSAFE_UserAssistance';\nimport { RevealToggleIcon } from './RevealToggleIcon';\nimport { useClearIcon } from '../hooks/UNSAFE_useClearIcon';\nimport { beforeVNode } from '../utils/UNSAFE_componentUtils';\nimport { ClearIcon } from '../UNSAFE_InputText/ClearIcon';\nimport { Size } from '../utils/UNSAFE_size';\nimport { useToggle } from '../hooks/UNSAFE_useToggle';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\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 /**\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 * Specifies whether the clear icon should be shown.\n * <ul>\n * <li><code>'always'</code>: The clear icon is always visible.</li>\n * <li><code>'conditionally'</code>: The clear icon is visible under the following conditions:\n * if the component has a non-empty value, and it either has focus or the mouse is over the field.</li>\n * <li><code>'never'</code>: The clear icon is never visible.</li>\n * </ul>\n */\n hasClearIcon?: 'always' | 'conditionally' | 'never';\n /**\n * Specifies whether the reveal toggle should be shown.\n * <ul>\n * <li><code>'always'</code>: The reveal toggle is always visible and the user can click on it to reveal the password in plain text.\n * When the user leaves the field, the password is automatically masked.</li>\n * <li><code>'never'</code>: The reveal toggle is never visible and the user can never reveal the password in plain text.</li>\n * </ul>\n */\n hasRevealToggle?: 'always' | 'never';\n\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. If the labelEdge is 'none',\n * the labelHint is hidden from the user but is still accessible.\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 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 * 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 either blurring or pressing Enter.\n *\n */\n onCommit?: TextFieldInputProps['onCommit'];\n\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\n// One way InputPassword differs from InputText is InputPassword's readonly\n// is implemented with an <input> and not a <div>.\nexport const InputPassword = forwardRef(\n (\n {\n ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n hasClearIcon,\n hasRevealToggle = 'always',\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n messages,\n placeholder,\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, dispatch]\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, dispatch]\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 const {\n bool: isRevealed,\n setFalse: setRevealedFalse,\n setTrue: setRevealedTrue\n } = useToggle(false);\n const { enabledElementRef, focusProps, isFocused, readonlyElementRef } = useFocusableTextField<\n HTMLInputElement,\n HTMLInputElement\n >({ isDisabled, isReadonly, ref, onBlurWithin: setRevealedFalse });\n const { hoverProps, isHover } = useHover({ isDisabled: isReadonly || isDisabled || false });\n const { formFieldContext, inputProps, labelProps, textFieldProps, userAssistanceProps } =\n useTextField({\n ariaDescribedBy,\n isDisabled,\n isFocused,\n isReadonly,\n labelEdge,\n messages,\n styleVariant: variant,\n value\n });\n\n // Callback on the RevealToggleButton.\n // When the user clicks on the reveal buttton,\n // toggle revealing/masking password\n const onRevealIconPress = useCallback(() => {\n isRevealed ? setRevealedFalse() : setRevealedTrue();\n }, [isRevealed]);\n\n const revealToggleIcon =\n !isDisabled && hasRevealToggle === 'always' ? (\n <RevealToggleIcon onPress={onRevealIconPress} isRevealed={isRevealed} />\n ) : null;\n const onClickClearIcon = useCallback(() => {\n // Clicking the clear icon should put the focus on the input field\n enabledElementRef.current?.focus();\n // Send an event to clear the field's value\n onInputAndDispatch?.({ previousValue: value, value: '' });\n }, [onInput, value]);\n\n const maybeClearIcon = useClearIcon({\n clearIcon: <ClearIcon onClick={onClickClearIcon} />,\n display: hasClearIcon,\n hasValue: formFieldContext.hasValue,\n isFocused,\n isEnabled: !isReadonly && !isDisabled,\n isHover\n });\n const endContentCombined = beforeVNode(revealToggleIcon, maybeClearIcon);\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 helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n messages={messages}\n isRequiredShown={isRequiredShown}\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n );\n\n if (isReadonly) {\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n inlineUserAssistance={inlineUserAssistance}\n {...fieldLabelProps}>\n <ReadonlyTextFieldInput\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={labelProps.id}\n as=\"input\"\n autoFocus={autoFocus}\n elementRef={readonlyElementRef}\n textAlign={textAlign}\n type=\"password\"\n value={value}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n </ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n const mainContent = (\n <TextFieldInput\n ariaLabel={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n inputRef={enabledElementRef}\n isRequired={isRequired}\n onInput={onInputAndDispatch}\n onCommit={onCommitAndDispatch}\n placeholder={placeholder}\n textAlign={textAlign}\n value={value}\n type={isRevealed ? 'text' : 'password'}\n {...inputProps}\n />\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n endContent={endContentCombined}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n {...textFieldProps}\n {...fieldLabelProps}\n {...hoverProps}></TextField>\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["revealToggleIconStyles","RevealToggleIcon","isRevealed","onPress","passwordMaskedStr","useTranslationBundle","inputPassword_hidden","InputPassword","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","hasClearIcon","hasRevealToggle","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","messages","placeholder","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","value","variant","onInput","onCommit","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","bool","setFalse","setRevealedFalse","setTrue","setRevealedTrue","useToggle","enabledElementRef","focusProps","isFocused","readonlyElementRef","useFocusableTextField","onBlurWithin","hoverProps","isHover","useHover","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","onRevealIconPress","revealToggleIcon","_jsx","onClickClearIcon","_a","current","focus","previousValue","maybeClearIcon","useClearIcon","clearIcon","ClearIcon","onClick","display","hasValue","isEnabled","endContentCombined","beforeVNode","labelComp","Label","Object","assign","undefined","fieldLabelProps","ariaLabel","inlineUserAssistance","jsx","InlineUserAssistance","FormFieldContext","Provider","children","ReadonlyTextField","role","ReadonlyTextFieldInput","ariaLabelledBy","id","as","elementRef","hasInsideLabel","mainContent","TextFieldInput","inputRef","TextField","endContent","onBlur","onfocusout","onFocus","onfocusin"],"mappings":"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"}
|
package/amd/UNSAFE_InputText.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.mpt7n0{display:inline-flex;align-items:center;justify-content:center;cursor:var(--oj-c-PRIVATE-DO-NOT-USE-core-cursor-clickable);padding-inline:0;padding-block:0;border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-md);color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);width:2.75rem;height:2.75rem;line-height:2.75rem;}.mpt7n0:hover{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover);border-color:transparent;}
|
package/amd/UNSAFE_InputText.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["exports","preact/jsx-runtime","preact","preact/compat","preact/hooks","./hooks/UNSAFE_useClearIcon","./hooks/UNSAFE_useFocusableTextField","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useLengthFilter","./hooks/UNSAFE_useTextField","./UNSAFE_Label","./hooks/UNSAFE_usePrefixSuffix","./UNSAFE_TextField","./UNSAFE_UserAssistance","./utils/PRIVATE_clientHints","./utils/UNSAFE_componentUtils","./ClearIcon-
|
|
1
|
+
define(["exports","preact/jsx-runtime","preact","preact/compat","preact/hooks","./hooks/UNSAFE_useClearIcon","./hooks/UNSAFE_useFocusableTextField","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useLengthFilter","./hooks/UNSAFE_useTextField","./UNSAFE_Label","./hooks/UNSAFE_usePrefixSuffix","./UNSAFE_TextField","./UNSAFE_UserAssistance","./utils/PRIVATE_clientHints","./utils/UNSAFE_componentUtils","./ClearIcon-9a621af3","./hooks/UNSAFE_useCurrentValueReducer","./ReadonlyTextFieldInput-8040cb97","./TextFieldInput-428b8905","./clientHints-45edd40b","./hooks/UNSAFE_useToggle","./tslib.es6-42e4f430","./hooks/UNSAFE_useFocusWithin","./useFocusWithin-2efc86a8","./utils/UNSAFE_lengthFilter","./hooks/UNSAFE_useId","./utils/UNSAFE_classNames","./classNames-e842f86a","css!./UNSAFE_InputText.css","./UNSAFE_PrefixSuffix","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./UNSAFE_LabelValueLayout","./UNSAFE_Flex","./Flex-348d5a41","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-a2227576","./utils/UNSAFE_mergeInterpolations","./_curry3-3a3ba6d5","./_curry2-a4242d52","./_has-db711dd4","./utils/UNSAFE_interpolations/boxalignment","./keys-08720ea5","./utils/UNSAFE_interpolations/flexbox","./flexbox-d23eebb7","./utils/UNSAFE_interpolations/flexitem","./flexitem-6045133a","./FormControlUtils-b6d5ae69","./hooks/UNSAFE_useTranslationBundle","./hooks/UNSAFE_useDebounce","./UNSAFE_LiveRegion","./hooks/UNSAFE_useTabbableMode","./utils/UNSAFE_interpolations/text","./hooks/UNSAFE_useTextFieldInputHandlers","./InlineHelpSource-7270d6c0","./UNSAFE_ComponentMessage","./ComponentMessage-28fa60d9","./PRIVATE_Message","./utils/PRIVATE_timer","./MessageCloseButton-26d2a151","./UNSAFE_Button","./Button-097e23fc","./UNSAFE_BaseButton","./BaseButton-979c5061","./hooks/UNSAFE_usePress","./hooks/UNSAFE_useActive","./utils/UNSAFE_mergeProps","./index-173030cd","./index-696f9e7b","./UNSAFE_Icon","./Icon-3f9a8f0d","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-44114750","./index-e6354839","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-1a52f0c4","./hooks/UNSAFE_useTheme","./MessageDetail-d34864b4","./MessageFormattingUtils-bf5de0fd","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-7012261b","./Message.types-23350d23","./MessageStartIcon-66feb809","./MessageSummary-c8e827f6","./MessageTimestamp-839e805a","./MessageUtils-66bef1fe","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./MessagesManager-0c0f108c","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useMessagesContext","./UNSAFE_HiddenAccessible","./HiddenAccessible-f22f6877","./ComponentMessageContainer-82d94819"],function(e,s,t,i,n,o,a,l,u,r,d,c,F,A,x,b,h,S,E,U,f,_,g,p,N,m,v,C,y,I,k,T,L,R,j,P,M,V,B,D,H,O,W,q,w,z,G,K,J,Q,X,Y,Z,$,ee,se,te,ie,ne,oe,ae,le,ue,re,de,ce,Fe,Ae,xe,be,he,Se,Ee,Ue,fe,_e,ge,pe,Ne,me,ve,Ce,ye,Ie,ke,Te,Le,Re,je,Pe,Me,Ve,Be,De,He,Oe,We,qe,we,ze,Ge,Ke,Je,Qe,Xe,Ye,Ze){"use strict";const $e=i.forwardRef(({ariaDescribedBy:e,assistiveText:i,autoComplete:h="off",autoFocus:g=!1,hasClearIcon:p="never",endContent:N,helpSourceLink:m,helpSourceText:v,isDisabled:C,isReadonly:y,isRequired:I=!1,isRequiredShown:k,label:T,labelEdge:L,labelStartWidth:R,maxLength:j,maxLengthUnit:P,messages:M,placeholder:V,prefix:B,role:D,startContent:H,suffix:O,textAlign:W,userAssistanceDensity:q,value:w,variant:z="default",virtualKeyboard:G,onInput:K,onCommit:J},Q)=>{const{currentCommitValue:X,dispatch:Y}=U.useCurrentValueReducer({value:w}),Z=n.useCallback(e=>{Y({type:"input",payload:e.value}),null==K||K(e)},[K,Y]),$=n.useCallback(e=>{Y({type:"commit",payload:e.value}),null==J||J(e)},[J,Y]),{isDisabled:ee,isReadonly:se,labelEdge:te,labelStartWidth:ie,textAlign:ne,userAssistanceDensity:oe}=l.useFormContext(),ae=null!=C?C:ee,le=null!=y?y:se,ue=null!=L?L:te,re=null!=R?R:ie,de=null!=W?W:ne,ce=null!=q?q:oe,{enabledElementRef:Fe,focusProps:Ae,isFocused:xe,readonlyElementRef:be}=a.useFocusableTextField({isDisabled:ae,isReadonly:le,ref:Q}),{hoverProps:he,isHover:Se}=r.useHover({isDisabled:le||ae||!1}),{baseId:Ee,formFieldContext:Ue,inputProps:fe,labelProps:_e,textFieldProps:ge,userAssistanceProps:pe}=c.useTextField({ariaDescribedBy:e,isDisabled:ae,isFocused:xe,isReadonly:le,labelEdge:ue,messages:M,styleVariant:z,value:w}),Ne=n.useCallback(()=>{var e;null===(e=Fe.current)||void 0===e||e.focus(),null==Z||Z({previousValue:w,value:""})},[Z,w]),me=o.useClearIcon({clearIcon:s.jsx(E.ClearIcon,{onClick:Ne}),display:p,hasValue:Ue.hasValue,isFocused:xe,isEnabled:!le&&!ae,isHover:Se}),ve=S.beforeVNode(N,me),{renderedPrefix:Ce,renderedSuffix:ye,text:Ie,ariaLabelledBy:ke}=A.usePrefixSuffix({baseId:Ee,hasEndContent:void 0!==N,hasInsideLabel:void 0!==T&&"inside"===ue,hasStartContent:void 0!==H,hasValue:Ue.hasValue,isDisabled:ae,isFocused:xe,labelId:_e.id,prefix:B,suffix:O,value:w}),{isMaxLengthExceeded:Te,valueLength:Le,onFilteredInput:Re}=d.useLengthFilter({maxLength:j,maxLengthUnit:P,value:w,onInput:Z,onCommit:$}),je="none"!==ue?s.jsx(F.Label,Object.assign({},_e,{children:T})):void 0,Pe={label:"none"!==ue?je:void 0,labelEdge:"none"!==ue?ue:void 0,labelStartWidth:"none"!==ue?re:void 0},Me="none"===ue?T:void 0,Ve=ae||le?"efficient"!==ce?void 0:s.jsx(b.InlineUserAssistance,Object.assign({userAssistanceDensity:ce},pe)):s.jsx(b.InlineUserAssistance,Object.assign({assistiveText:i,fieldLabel:T,helpSourceLink:m,helpSourceText:v,messages:M,isRequiredShown:k,userAssistanceDensity:ce},pe));if(le)return s.jsx(u.FormFieldContext.Provider,Object.assign({value:Ue},{children:s.jsx(x.ReadonlyTextField,Object.assign({role:"presentation",inlineUserAssistance:Ve,onBlur:Ae.onfocusout,onFocus:Ae.onfocusin},Pe,{children:s.jsx(f.ReadonlyTextFieldInput,{ariaDescribedBy:e,ariaLabel:Me,ariaLabelledBy:_e.id,as:"div",autoFocus:g,elementRef:be,textAlign:de,value:Ie,hasInsideLabel:void 0!==T&&"inside"===ue})}))}));const Be=s.jsxs(t.Fragment,{children:[Ce,s.jsx(_.TextFieldInput,Object.assign({ariaLabelledBy:ke,ariaLabel:Me,autoComplete:h,autoFocus:g,currentCommitValue:X,hasEndContent:void 0!==N,hasInsideLabel:void 0!==je&&"inside"===ue,hasPrefix:void 0!==Ce,hasStartContent:void 0!==H,hasSuffix:void 0!==ye,inputRef:Fe,isRequired:I,placeholder:V,role:D,textAlign:de,type:es()?G:void 0,value:ae?Ie:w,onCommit:$,onInput:Re},fe)),ye,void 0!==j&&s.jsx(x.MaxLengthLiveRegion,Object.assign({},{isMaxLengthExceeded:Te,maxLength:j,valueLength:Le}))]});return s.jsx(u.FormFieldContext.Provider,Object.assign({value:Ue},{children:s.jsx(x.TextField,Object.assign({endContent:ve,inlineUserAssistance:Ve,mainContent:Be,onBlur:Ae.onfocusout,onFocus:Ae.onfocusin,startContent:H},ge,Pe,he))}))});function es(){const e=g.getClientHints().deviceType;return"phone"===e||"tablet"===e}e.InputText=$e,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
2
2
|
//# sourceMappingURL=UNSAFE_InputText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UNSAFE_InputText.js","sources":["../../src/UNSAFE_InputText/InputText.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps, Fragment, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useCallback } from 'preact/hooks';\nimport { useClearIcon } from '../hooks/UNSAFE_useClearIcon';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { useHover } from '../hooks/UNSAFE_useHover';\nimport { CountUnit, useLengthFilter } from '../hooks/UNSAFE_useLengthFilter';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport { Label } from '../UNSAFE_Label';\nimport { usePrefixSuffix } from '../hooks/UNSAFE_usePrefixSuffix';\n\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { InlineUserAssistance } from '../UNSAFE_UserAssistance';\nimport { getClientHints } from '../utils/PRIVATE_clientHints';\nimport { beforeVNode } from '../utils/UNSAFE_componentUtils';\nimport { ClearIcon } from './ClearIcon';\nimport { MaxLengthLiveRegion } from '../UNSAFE_TextField';\nimport { Size } from '../utils/UNSAFE_size';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\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 data to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n\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 /**\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 /**\n * The content to be rendered after the input field, typically a button.\n */\n endContent?: TextFieldProps['endContent'];\n\n /**\n * Specifies whether the clear icon should be shown.\n * <ul>\n * <li><code>'always'</code>: The clear icon is always visible.</li>\n * <li><code>'conditionally'</code>: The clear icon is visible under the following conditions:\n * if the component has a non-empty value, and it either has focus or the mouse is over the field.</li>\n * <li><code>'never'</code>: The clear icon is never visible.</li>\n * </ul>\n */\n hasClearIcon?: 'always' | 'conditionally' | 'never';\n\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n\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 /**\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 /**\n * Specifies the label associated with the field.\n */\n label: string;\n\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>.\n */\n labelStartWidth?: Size;\n\n /**\n * Specifies the maximum number of characters that can be entered in the input field.\n */\n maxLength?: number;\n\n /**\n * Specifies how the input text characters are to be counted when `maxLength` is specified.\n */\n maxLengthUnit?: CountUnit;\n\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n\n /**\n * The prefix displays as regular text before the input text.\n * The prefix is not editable or focusable.\n */\n prefix?: string;\n\n /**\n * Specifies the role attribute for the input field.\n */\n role?: TextFieldInputProps['role'];\n\n /**\n * The content to be rendered before the input field, typically an icon.\n */\n startContent?: TextFieldProps['startContent'];\n\n /**\n * The suffix displays as regular text after the input text.\n * The suffix is not editable or focusable.\n */\n suffix?: string;\n\n /**\n * Specifies how to align text within the field.\n */\n textAlign?: TextFieldInputProps['textAlign'];\n\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 /**\n * The current display value of the component.\n */\n value?: TextFieldInputProps['value'];\n\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n\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 /**\n * Callback invoked when the user commits the entered value by either blurring or pressing Enter.\n */\n onCommit?: TextFieldInputProps['onCommit'];\n\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 InputText = forwardRef(\n (\n {\n ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n hasClearIcon = 'never',\n endContent,\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 maxLengthUnit,\n messages,\n placeholder,\n prefix,\n role,\n startContent,\n suffix,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n virtualKeyboard,\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, dispatch]\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, dispatch]\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, focusProps, isFocused, readonlyElementRef } = useFocusableTextField<\n HTMLInputElement,\n HTMLDivElement\n >({ isDisabled, isReadonly, ref });\n const { hoverProps, isHover } = useHover({ isDisabled: isReadonly || isDisabled || false });\n const {\n baseId,\n formFieldContext,\n inputProps,\n labelProps,\n textFieldProps,\n userAssistanceProps\n } = useTextField({\n ariaDescribedBy,\n isDisabled,\n isFocused,\n isReadonly,\n labelEdge,\n messages,\n styleVariant: variant,\n value\n });\n\n const onClickClearIcon = useCallback(() => {\n // Clicking the clear icon should put the focus on the input field\n enabledElementRef.current?.focus();\n // Send an event to clear the field's value\n onInputAndDispatch?.({ previousValue: value, value: '' });\n }, [onInputAndDispatch, value]);\n\n const maybeClearIcon = useClearIcon({\n clearIcon: <ClearIcon onClick={onClickClearIcon} />,\n display: hasClearIcon,\n hasValue: formFieldContext.hasValue,\n isFocused,\n isEnabled: !isReadonly && !isDisabled,\n isHover\n });\n const endContentCombined = beforeVNode(endContent, maybeClearIcon);\n\n const {\n renderedPrefix,\n renderedSuffix,\n text: valuePrefixSuffix,\n ariaLabelledBy\n } = usePrefixSuffix({\n baseId,\n hasEndContent: endContent !== undefined,\n hasInsideLabel: label !== undefined && labelEdge === 'inside',\n hasStartContent: startContent !== undefined,\n hasValue: formFieldContext.hasValue,\n isDisabled,\n isFocused,\n labelId: labelProps.id,\n prefix,\n suffix,\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: 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 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 autoFocus={autoFocus}\n elementRef={readonlyElementRef}\n textAlign={textAlign}\n value={valuePrefixSuffix}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n </ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n const mainContent = (\n <Fragment>\n {renderedPrefix}\n <TextFieldInput\n ariaLabelledBy={ariaLabelledBy}\n ariaLabel={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEndContent={endContent !== undefined}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n hasPrefix={renderedPrefix !== undefined}\n hasStartContent={startContent !== undefined}\n hasSuffix={renderedSuffix !== undefined}\n inputRef={enabledElementRef}\n isRequired={isRequired}\n placeholder={placeholder}\n role={role}\n textAlign={textAlign}\n type={isMobile() ? virtualKeyboard : undefined}\n value={isDisabled ? valuePrefixSuffix : value}\n onCommit={onCommitAndDispatch}\n onInput={onFilteredInput}\n {...inputProps}\n />\n {renderedSuffix}\n {maxLength !== undefined && (\n <MaxLengthLiveRegion {...{ isMaxLengthExceeded, maxLength, valueLength }} />\n )}\n </Fragment>\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n endContent={endContentCombined}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n startContent={startContent}\n {...textFieldProps}\n {...fieldLabelProps}\n {...hoverProps}\n />\n </FormFieldContext.Provider>\n );\n }\n);\n\n/**\n * Helper function to determine whether the current device is a mobile device\n * @returns true if runnning on a mobile device, false otherwise\n */\nfunction isMobile() {\n const deviceType = getClientHints().deviceType;\n return deviceType === 'phone' || deviceType === 'tablet';\n}\n"],"names":["InputText","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","hasClearIcon","endContent","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","maxLength","maxLengthUnit","messages","placeholder","prefix","role","startContent","suffix","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","value","variant","virtualKeyboard","onInput","onCommit","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","enabledElementRef","focusProps","isFocused","readonlyElementRef","useFocusableTextField","hoverProps","isHover","useHover","baseId","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","onClickClearIcon","_a","current","focus","previousValue","maybeClearIcon","useClearIcon","clearIcon","_jsx","ClearIcon","onClick","display","hasValue","isEnabled","endContentCombined","beforeVNode","renderedPrefix","renderedSuffix","text","valuePrefixSuffix","ariaLabelledBy","usePrefixSuffix","hasEndContent","undefined","hasInsideLabel","hasStartContent","labelId","id","isMaxLengthExceeded","valueLength","onFilteredInput","useLengthFilter","labelComp","Label","Object","assign","fieldLabelProps","ariaLabel","inlineUserAssistance","jsx","InlineUserAssistance","fieldLabel","FormFieldContext","Provider","children","ReadonlyTextField","onBlur","onfocusout","onFocus","onfocusin","ReadonlyTextFieldInput","as","elementRef","mainContent","_jsxs","jsxs","Fragment","TextFieldInput","hasPrefix","hasSuffix","inputRef","isMobile","MaxLengthLiveRegion","TextField","deviceType","getClientHints"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"UNSAFE_InputText.js","sources":["../../src/UNSAFE_InputText/InputText.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps, Fragment, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useCallback } from 'preact/hooks';\nimport { useClearIcon } from '../hooks/UNSAFE_useClearIcon';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { useHover } from '../hooks/UNSAFE_useHover';\nimport { CountUnit, useLengthFilter } from '../hooks/UNSAFE_useLengthFilter';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport { Label } from '../UNSAFE_Label';\nimport { usePrefixSuffix } from '../hooks/UNSAFE_usePrefixSuffix';\n\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { InlineUserAssistance } from '../UNSAFE_UserAssistance';\nimport { getClientHints } from '../utils/PRIVATE_clientHints';\nimport { beforeVNode } from '../utils/UNSAFE_componentUtils';\nimport { ClearIcon } from './ClearIcon';\nimport { MaxLengthLiveRegion } from '../UNSAFE_TextField';\nimport { Size } from '../utils/UNSAFE_size';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\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 data to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n\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 /**\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 /**\n * The content to be rendered after the input field, typically a button.\n */\n endContent?: TextFieldProps['endContent'];\n\n /**\n * Specifies whether the clear icon should be shown.\n * <ul>\n * <li><code>'always'</code>: The clear icon is always visible.</li>\n * <li><code>'conditionally'</code>: The clear icon is visible under the following conditions:\n * if the component has a non-empty value, and it either has focus or the mouse is over the field.</li>\n * <li><code>'never'</code>: The clear icon is never visible.</li>\n * </ul>\n */\n hasClearIcon?: 'always' | 'conditionally' | 'never';\n\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n\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 /**\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 /**\n * Specifies the label associated with the field.\n */\n label: string;\n\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>.\n */\n labelStartWidth?: Size;\n\n /**\n * Specifies the maximum number of characters that can be entered in the input field.\n */\n maxLength?: number;\n\n /**\n * Specifies how the input text characters are to be counted when `maxLength` is specified.\n */\n maxLengthUnit?: CountUnit;\n\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n\n /**\n * The prefix displays as regular text before the input text.\n * The prefix is not editable or focusable.\n */\n prefix?: string;\n\n /**\n * Specifies the role attribute for the input field.\n */\n role?: TextFieldInputProps['role'];\n\n /**\n * The content to be rendered before the input field, typically an icon.\n */\n startContent?: TextFieldProps['startContent'];\n\n /**\n * The suffix displays as regular text after the input text.\n * The suffix is not editable or focusable.\n */\n suffix?: string;\n\n /**\n * Specifies how to align text within the field.\n */\n textAlign?: TextFieldInputProps['textAlign'];\n\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 /**\n * The current display value of the component.\n */\n value?: TextFieldInputProps['value'];\n\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n\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 /**\n * Callback invoked when the user commits the entered value by either blurring or pressing Enter.\n */\n onCommit?: TextFieldInputProps['onCommit'];\n\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 InputText = forwardRef(\n (\n {\n ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n hasClearIcon = 'never',\n endContent,\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 maxLengthUnit,\n messages,\n placeholder,\n prefix,\n role,\n startContent,\n suffix,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n virtualKeyboard,\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, dispatch]\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, dispatch]\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, focusProps, isFocused, readonlyElementRef } = useFocusableTextField<\n HTMLInputElement,\n HTMLDivElement\n >({ isDisabled, isReadonly, ref });\n const { hoverProps, isHover } = useHover({ isDisabled: isReadonly || isDisabled || false });\n const {\n baseId,\n formFieldContext,\n inputProps,\n labelProps,\n textFieldProps,\n userAssistanceProps\n } = useTextField({\n ariaDescribedBy,\n isDisabled,\n isFocused,\n isReadonly,\n labelEdge,\n messages,\n styleVariant: variant,\n value\n });\n\n const onClickClearIcon = useCallback(() => {\n // Clicking the clear icon should put the focus on the input field\n enabledElementRef.current?.focus();\n // Send an event to clear the field's value\n onInputAndDispatch?.({ previousValue: value, value: '' });\n }, [onInputAndDispatch, value]);\n\n const maybeClearIcon = useClearIcon({\n clearIcon: <ClearIcon onClick={onClickClearIcon} />,\n display: hasClearIcon,\n hasValue: formFieldContext.hasValue,\n isFocused,\n isEnabled: !isReadonly && !isDisabled,\n isHover\n });\n const endContentCombined = beforeVNode(endContent, maybeClearIcon);\n\n const {\n renderedPrefix,\n renderedSuffix,\n text: valuePrefixSuffix,\n ariaLabelledBy\n } = usePrefixSuffix({\n baseId,\n hasEndContent: endContent !== undefined,\n hasInsideLabel: label !== undefined && labelEdge === 'inside',\n hasStartContent: startContent !== undefined,\n hasValue: formFieldContext.hasValue,\n isDisabled,\n isFocused,\n labelId: labelProps.id,\n prefix,\n suffix,\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: 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 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 autoFocus={autoFocus}\n elementRef={readonlyElementRef}\n textAlign={textAlign}\n value={valuePrefixSuffix}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n </ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n const mainContent = (\n <Fragment>\n {renderedPrefix}\n <TextFieldInput\n ariaLabelledBy={ariaLabelledBy}\n ariaLabel={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEndContent={endContent !== undefined}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n hasPrefix={renderedPrefix !== undefined}\n hasStartContent={startContent !== undefined}\n hasSuffix={renderedSuffix !== undefined}\n inputRef={enabledElementRef}\n isRequired={isRequired}\n placeholder={placeholder}\n role={role}\n textAlign={textAlign}\n type={isMobile() ? virtualKeyboard : undefined}\n value={isDisabled ? valuePrefixSuffix : value}\n onCommit={onCommitAndDispatch}\n onInput={onFilteredInput}\n {...inputProps}\n />\n {renderedSuffix}\n {maxLength !== undefined && (\n <MaxLengthLiveRegion {...{ isMaxLengthExceeded, maxLength, valueLength }} />\n )}\n </Fragment>\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n endContent={endContentCombined}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n startContent={startContent}\n {...textFieldProps}\n {...fieldLabelProps}\n {...hoverProps}\n />\n </FormFieldContext.Provider>\n );\n }\n);\n\n/**\n * Helper function to determine whether the current device is a mobile device\n * @returns true if runnning on a mobile device, false otherwise\n */\nfunction isMobile() {\n const deviceType = getClientHints().deviceType;\n return deviceType === 'phone' || deviceType === 'tablet';\n}\n"],"names":["InputText","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","hasClearIcon","endContent","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","maxLength","maxLengthUnit","messages","placeholder","prefix","role","startContent","suffix","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","value","variant","virtualKeyboard","onInput","onCommit","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","enabledElementRef","focusProps","isFocused","readonlyElementRef","useFocusableTextField","hoverProps","isHover","useHover","baseId","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","onClickClearIcon","_a","current","focus","previousValue","maybeClearIcon","useClearIcon","clearIcon","_jsx","ClearIcon","onClick","display","hasValue","isEnabled","endContentCombined","beforeVNode","renderedPrefix","renderedSuffix","text","valuePrefixSuffix","ariaLabelledBy","usePrefixSuffix","hasEndContent","undefined","hasInsideLabel","hasStartContent","labelId","id","isMaxLengthExceeded","valueLength","onFilteredInput","useLengthFilter","labelComp","Label","Object","assign","fieldLabelProps","ariaLabel","inlineUserAssistance","jsx","InlineUserAssistance","fieldLabel","FormFieldContext","Provider","children","ReadonlyTextField","onBlur","onfocusout","onFocus","onfocusin","ReadonlyTextFieldInput","as","elementRef","mainContent","_jsxs","jsxs","Fragment","TextFieldInput","hasPrefix","hasSuffix","inputRef","isMobile","MaxLengthLiveRegion","TextField","deviceType","getClientHints"],"mappings":"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"}
|