@iress-oss/ids-components 5.20.8 → 5.20.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AutocompleteNoResults-B9WjoXJo.js +10 -0
- package/dist/Badge-BqaFutTZ.js +40 -0
- package/dist/CheckboxGroup-WLxp9nIX.js +79 -0
- package/dist/CheckboxMark.types-CW7xyywE.js +17 -0
- package/dist/ClearButton-s0_b3pvJ.js +25 -0
- package/dist/ComboboxHiddenInput-DH3V3Dyg.js +27 -0
- package/dist/Expander-B3_k6HJq.js +55 -0
- package/dist/InputBase-BnBuTYZm.js +48 -0
- package/dist/LabelBase-CV1O4V_d.js +51 -0
- package/dist/Loading.module-DdUL1FMv.js +16 -0
- package/dist/LogoFromSrc-7oPJTvAO.js +50 -0
- package/dist/LongLoading-Dw8sUYlh.js +117 -0
- package/dist/MenuItem.module-guf-3YyL.js +24 -0
- package/dist/Placeholder-C1YrHg4w.js +35 -0
- package/dist/Popover.module-6flgSLob.js +10 -0
- package/dist/PopoverProvider-DgUOscvy.js +109 -0
- package/dist/Progress-BypnLSGF.js +35 -0
- package/dist/RadioGroup-DtA0WE3l.js +78 -0
- package/dist/SelectControl-D8Y9Up2f.js +28 -0
- package/dist/Skeleton-D_iuo6Xw.js +34 -0
- package/dist/SkipLink-rElTLeMe.js +15 -0
- package/dist/SlideoutProvider-DnaE67W-.js +125 -0
- package/dist/SliderTicks-BqTI-XhQ.js +47 -0
- package/dist/StartUpLoading-DFAMmjg3.js +68 -0
- package/dist/Tab-C08D4jxr.js +68 -0
- package/dist/TabSet.module-q8a7ksiF.js +13 -0
- package/dist/Table.module-DnaTe51E.js +32 -0
- package/dist/Toggle-CF22OY-P.js +66 -0
- package/dist/Tooltip-BxM_1Wtq.js +60 -0
- package/dist/ValidationBase-A2Ed7iem.js +29 -0
- package/dist/ValidationSummary-D6Wa4vOf.js +38 -0
- package/dist/chunk-efA98nb6.js +13 -0
- package/dist/classnames-BTnCYmAN.js +31 -0
- package/dist/components/Alert/Alert.js +2 -11
- package/dist/components/Alert/Alert.types.js +8 -8
- package/dist/components/Alert/index.js +3 -6
- package/dist/components/Autocomplete/Autocomplete.js +2 -45
- package/dist/components/Autocomplete/Autocomplete.types.js +0 -1
- package/dist/components/Autocomplete/components/AutocompleteInstructions.js +10 -10
- package/dist/components/Autocomplete/components/AutocompleteNoResults.js +2 -5
- package/dist/components/Autocomplete/hooks/useAutocompleteSearch.js +2 -191
- package/dist/components/Autocomplete/index.js +3 -6
- package/dist/components/Badge/Badge.js +2 -49
- package/dist/components/Badge/Badge.types.js +14 -14
- package/dist/components/Badge/index.js +3 -7
- package/dist/components/Button/Button.js +2 -10
- package/dist/components/Button/Button.types.js +22 -20
- package/dist/components/Button/CloseButton/CloseButton.js +2 -7
- package/dist/components/Button/CloseButton/CloseButton.types.js +0 -1
- package/dist/components/Button/index.js +3 -11
- package/dist/components/ButtonGroup/ButtonGroup.js +2 -72
- package/dist/components/ButtonGroup/ButtonGroup.types.js +0 -1
- package/dist/components/ButtonGroup/ButtonGroupProvider.js +26 -33
- package/dist/components/ButtonGroup/hooks/useButtonGroup.js +6 -6
- package/dist/components/ButtonGroup/hooks/useIDSButtonGroupItem.js +2 -6
- package/dist/components/ButtonGroup/index.js +3 -6
- package/dist/components/Card/Card.js +34 -48
- package/dist/components/Card/Card.types.js +8 -5
- package/dist/components/Card/components/ButtonCard.js +29 -37
- package/dist/components/Card/components/LinkCard.js +28 -36
- package/dist/components/Card/helpers/composeIDSCard.js +18 -26
- package/dist/components/Card/helpers/composeIDSCardSlots.js +47 -32
- package/dist/components/Card/index.js +7 -15
- package/dist/components/Checkbox/Checkbox.js +2 -15
- package/dist/components/Checkbox/Checkbox.types.js +0 -1
- package/dist/components/Checkbox/helpers/mapCheckboxGroupOptions.js +12 -19
- package/dist/components/Checkbox/index.js +2 -4
- package/dist/components/CheckboxGroup/CheckboxGroup.js +2 -99
- package/dist/components/CheckboxGroup/CheckboxGroup.types.js +10 -10
- package/dist/components/CheckboxGroup/CheckboxGroupContext.js +5 -5
- package/dist/components/CheckboxGroup/index.js +3 -7
- package/dist/components/CheckboxMark/CheckboxMark.js +29 -40
- package/dist/components/CheckboxMark/CheckboxMark.types.js +2 -16
- package/dist/components/CheckboxMark/index.js +3 -6
- package/dist/components/Col/Col.js +14 -33
- package/dist/components/Col/Col.types.js +67 -65
- package/dist/components/Col/index.js +3 -12
- package/dist/components/Combobox/Combobox.js +2 -48
- package/dist/components/Combobox/Combobox.types.js +0 -1
- package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +2 -46
- package/dist/components/Combobox/MultiCombobox/MultiCombobox.types.js +0 -1
- package/dist/components/Combobox/components/ComboboxHiddenInput.js +2 -8
- package/dist/components/Combobox/components/ComboboxResults.js +2 -41
- package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +2 -40
- package/dist/components/Combobox/hooks/useComboboxFlags.js +11 -14
- package/dist/components/Combobox/hooks/useComboboxInlineCompletion.js +39 -59
- package/dist/components/Combobox/index.js +2 -5
- package/dist/components/Container/Container.js +12 -21
- package/dist/components/Container/Container.types.js +6 -4
- package/dist/components/Container/index.js +3 -6
- package/dist/components/Divider/Divider.js +14 -21
- package/dist/components/Divider/Divider.types.js +6 -4
- package/dist/components/Divider/index.js +2 -5
- package/dist/components/Expander/Expander.js +2 -80
- package/dist/components/Expander/Expander.types.js +10 -6
- package/dist/components/Expander/index.js +3 -7
- package/dist/components/Field/Field.js +2 -71
- package/dist/components/Field/Field.types.js +0 -1
- package/dist/components/Field/FieldGroup/FieldGroup.js +2 -77
- package/dist/components/Field/FieldGroup/FieldGroup.types.js +0 -1
- package/dist/components/Field/components/FieldAppendToLabel.js +2 -43
- package/dist/components/Field/components/FieldLegend.js +9 -6
- package/dist/components/Field/helpers/getUniqueItemsByKey.js +4 -8
- package/dist/components/Field/index.js +2 -6
- package/dist/components/Filter/Filter.js +2 -45
- package/dist/components/Filter/Filter.types.js +0 -1
- package/dist/components/Filter/components/FilterLabel.js +6 -10
- package/dist/components/Filter/components/FilterResetButton.js +2 -39
- package/dist/components/Filter/components/FilterSearch.js +2 -39
- package/dist/components/Filter/hooks/useFilterFlags.js +15 -24
- package/dist/components/Filter/index.js +2 -4
- package/dist/components/Form/Form.js +2 -6
- package/dist/components/Form/Form.types.js +6 -4
- package/dist/components/Form/FormContext.js +5 -7
- package/dist/components/Form/FormField/FormField.js +2 -91
- package/dist/components/Form/FormField/FormField.types.js +6 -4
- package/dist/components/Form/FormField/FormFieldset.js +2 -81
- package/dist/components/Form/FormField/helpers/getErrorTypeMessage.js +9 -19
- package/dist/components/Form/FormField/helpers/transformCustomRulesToValidateRule.js +23 -33
- package/dist/components/Form/HookForm/HookForm.js +2 -12
- package/dist/components/Form/components/FormValidationSummary.js +22 -22
- package/dist/components/Form/hooks/useNoDefaultValueInForms.js +6 -13
- package/dist/components/Form/index.js +4 -13
- package/dist/components/HeadingWithDeprecatedFallback/HeadingWithDeprecatedFallback.js +12 -14
- package/dist/components/Hide/Hide.js +2 -7
- package/dist/components/Hide/Hide.types.js +8 -5
- package/dist/components/Hide/helpers/composeHideClasses.js +2 -40
- package/dist/components/Hide/index.js +3 -7
- package/dist/components/Icon/Icon.js +2 -40
- package/dist/components/Icon/Icon.types.js +35 -30
- package/dist/components/Icon/index.js +3 -15
- package/dist/components/Inline/Inline.js +2 -41
- package/dist/components/Inline/Inline.types.js +6 -4
- package/dist/components/Inline/index.js +3 -6
- package/dist/components/Input/ClearButton/ClearButton.js +2 -20
- package/dist/components/Input/Input.js +2 -14
- package/dist/components/Input/Input.types.js +15 -15
- package/dist/components/Input/InputBase/InputBase.js +2 -9
- package/dist/components/Input/InputBase/InputBase.types.js +0 -1
- package/dist/components/Input/index.js +3 -7
- package/dist/components/InputCurrency/InputCurrency.js +2 -8
- package/dist/components/InputCurrency/InputCurrency.types.js +0 -1
- package/dist/components/InputCurrency/index.js +2 -4
- package/dist/components/Label/Label.js +9 -6
- package/dist/components/Label/Label.types.js +0 -1
- package/dist/components/Label/LabelBase/LabelBase.js +2 -70
- package/dist/components/Label/LabelBase/LabelBase.types.js +0 -1
- package/dist/components/Label/index.js +2 -4
- package/dist/components/Menu/Menu.js +49 -63
- package/dist/components/Menu/Menu.types.js +17 -10
- package/dist/components/Menu/MenuDivider/MenuDivider.js +2 -39
- package/dist/components/Menu/MenuHeading/MenuHeading.js +2 -8
- package/dist/components/Menu/MenuItem/MenuItem.js +2 -11
- package/dist/components/Menu/MenuItem/MenuItem.types.js +10 -6
- package/dist/components/Menu/MenuItem/hooks/useMenuItemAria.js +11 -16
- package/dist/components/Menu/MenuItem/hooks/useMenuItemButtonProps.js +44 -46
- package/dist/components/Menu/MenuItem/hooks/useMenuItemComposite.js +17 -14
- package/dist/components/Menu/MenuItem/hooks/useMenuItemInteractions.js +53 -64
- package/dist/components/Menu/MenuItem/hooks/useMenuItemRole.js +8 -8
- package/dist/components/Menu/MenuProvider.js +45 -66
- package/dist/components/Menu/MenuText/MenuText.js +2 -40
- package/dist/components/Menu/helpers/mapMenuItems.js +2 -47
- package/dist/components/Menu/hooks/useMenu.js +6 -6
- package/dist/components/Menu/hooks/useMenuAria.js +13 -18
- package/dist/components/Menu/hooks/useMenuComposite.js +7 -7
- package/dist/components/Menu/hooks/useMenuRole.js +11 -12
- package/dist/components/Menu/hooks/useMenuStyles.js +2 -26
- package/dist/components/Menu/index.js +10 -29
- package/dist/components/Modal/Modal.js +2 -16
- package/dist/components/Modal/Modal.types.js +9 -4
- package/dist/components/Modal/ModalProvider.js +26 -31
- package/dist/components/Modal/hooks/useIDSProvidedModal.js +12 -12
- package/dist/components/Modal/hooks/useModal.js +11 -19
- package/dist/components/Modal/index.js +5 -11
- package/dist/components/Navbar/Navbar.js +2 -13
- package/dist/components/Navbar/Navbar.types.js +6 -4
- package/dist/components/Navbar/components/HomeLinkContent.js +2 -6
- package/dist/components/Navbar/components/LogoFromSrc.js +2 -6
- package/dist/components/Navbar/components/NavbarLogo.js +2 -8
- package/dist/components/Navbar/index.js +3 -6
- package/dist/components/Panel/Panel.js +21 -35
- package/dist/components/Panel/Panel.types.js +12 -11
- package/dist/components/Panel/index.js +3 -8
- package/dist/components/Placeholder/Placeholder.js +2 -42
- package/dist/components/Placeholder/Placeholder.types.js +0 -1
- package/dist/components/Placeholder/index.js +2 -4
- package/dist/components/Popover/InputPopover/InputPopover.js +51 -87
- package/dist/components/Popover/InputPopover/InputPopover.types.js +0 -1
- package/dist/components/Popover/InputPopover/InputPopoverActivator.js +50 -58
- package/dist/components/Popover/InputPopover/InputPopoverProvider.js +86 -107
- package/dist/components/Popover/Popover.js +59 -97
- package/dist/components/Popover/Popover.types.js +14 -15
- package/dist/components/Popover/PopoverProvider.js +2 -15
- package/dist/components/Popover/components/NestedPopoverActivator.js +9 -9
- package/dist/components/Popover/components/PopoverActivator.js +63 -81
- package/dist/components/Popover/components/PopoverContent.js +51 -58
- package/dist/components/Popover/helpers/composeFloatingProps.js +42 -33
- package/dist/components/Popover/helpers/composePopoverWidth.js +7 -4
- package/dist/components/Popover/helpers/handlePopoverTabKey.js +23 -29
- package/dist/components/Popover/helpers/hasFocus.js +7 -7
- package/dist/components/Popover/helpers/waitUntilTrue.js +11 -11
- package/dist/components/Popover/hooks/usePopover.js +6 -6
- package/dist/components/Popover/hooks/usePopoverActivatorInteractions.js +23 -32
- package/dist/components/Popover/hooks/usePopoverAria.js +12 -17
- package/dist/components/Popover/hooks/usePopoverImperativeHandle.js +20 -24
- package/dist/components/Popover/hooks/usePopoverItem.js +20 -16
- package/dist/components/Popover/hooks/usePopoverNavigation.js +32 -31
- package/dist/components/Popover/hooks/usePopoverState.js +21 -28
- package/dist/components/Popover/index.js +5 -13
- package/dist/components/Progress/Progress.js +2 -48
- package/dist/components/Progress/Progress.types.js +0 -1
- package/dist/components/Progress/index.js +2 -4
- package/dist/components/Provider/Provider.js +2 -38
- package/dist/components/Provider/index.js +2 -4
- package/dist/components/Radio/Radio.js +2 -11
- package/dist/components/Radio/Radio.types.js +0 -1
- package/dist/components/Radio/helpers/mapRadioGroupOptions.js +12 -19
- package/dist/components/Radio/index.js +2 -4
- package/dist/components/RadioGroup/RadioGroup.js +2 -98
- package/dist/components/RadioGroup/RadioGroup.types.js +11 -11
- package/dist/components/RadioGroup/RadioGroupContext.js +5 -5
- package/dist/components/RadioGroup/index.js +3 -8
- package/dist/components/Readonly/Readonly.js +2 -43
- package/dist/components/Readonly/Readonly.types.js +0 -1
- package/dist/components/Readonly/index.js +2 -4
- package/dist/components/RichSelect/RichSelect.js +2 -42
- package/dist/components/RichSelect/RichSelect.types.js +0 -1
- package/dist/components/RichSelect/SelectBody/SelectBody.js +2 -56
- package/dist/components/RichSelect/SelectBody/SelectBody.types.js +0 -1
- package/dist/components/RichSelect/SelectCreate/SelectCreate.js +2 -63
- package/dist/components/RichSelect/SelectCreate/SelectCreate.types.js +0 -1
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +2 -40
- package/dist/components/RichSelect/SelectHeading/SelectHeading.types.js +0 -1
- package/dist/components/RichSelect/SelectLabel/SelectLabel.js +2 -12
- package/dist/components/RichSelect/SelectLabel/SelectLabel.types.js +0 -1
- package/dist/components/RichSelect/SelectMenu/SelectMenu.js +2 -44
- package/dist/components/RichSelect/SelectMenu/SelectMenu.types.js +0 -1
- package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +2 -39
- package/dist/components/RichSelect/SelectSearch/SelectSearch.js +2 -39
- package/dist/components/RichSelect/SelectSearch/SelectSearch.types.js +0 -1
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +2 -8
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.types.js +0 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.js +2 -45
- package/dist/components/RichSelect/SelectTags/SelectTags.types.js +0 -1
- package/dist/components/RichSelect/components/SelectActivator.js +2 -7
- package/dist/components/RichSelect/components/SelectHiddenInput.js +18 -29
- package/dist/components/RichSelect/components/SelectOptions.js +2 -40
- package/dist/components/RichSelect/hooks/useRichSelectState.js +15 -17
- package/dist/components/RichSelect/index.js +3 -16
- package/dist/components/Row/Row.js +2 -41
- package/dist/components/Row/Row.types.js +6 -4
- package/dist/components/Row/index.js +3 -6
- package/dist/components/Select/Select.js +2 -14
- package/dist/components/Select/Select.types.js +0 -1
- package/dist/components/Select/SelectOption/SelectOption.js +8 -8
- package/dist/components/Select/components/SelectControl.js +2 -9
- package/dist/components/Select/components/SelectReadonly.js +2 -40
- package/dist/components/Select/helpers/mapSelectOptions.js +2 -21
- package/dist/components/Select/helpers/nodesToSelectOptions.js +2 -9
- package/dist/components/Select/index.js +3 -9
- package/dist/components/Skeleton/Skeleton.js +2 -44
- package/dist/components/Skeleton/Skeleton.types.js +10 -6
- package/dist/components/Skeleton/index.js +3 -7
- package/dist/components/SkipLink/SkipLink.js +2 -30
- package/dist/components/SkipLink/SkipLink.types.js +0 -1
- package/dist/components/SkipLink/index.js +2 -4
- package/dist/components/Slideout/Slideout.js +2 -18
- package/dist/components/Slideout/Slideout.types.js +14 -14
- package/dist/components/Slideout/SlideoutProvider.js +2 -8
- package/dist/components/Slideout/components/SlideoutInner.js +2 -8
- package/dist/components/Slideout/hooks/useIDSProvidedSlideout.js +12 -12
- package/dist/components/Slideout/hooks/useSlideout.js +11 -19
- package/dist/components/Slideout/index.js +5 -16
- package/dist/components/Slider/Slider.js +2 -12
- package/dist/components/Slider/Slider.types.js +0 -1
- package/dist/components/Slider/components/SliderTicks.js +2 -10
- package/dist/components/Slider/index.js +2 -4
- package/dist/components/Spinner/Spinner.js +2 -6
- package/dist/components/Spinner/Spinner.types.js +0 -1
- package/dist/components/Spinner/index.js +2 -4
- package/dist/components/Stack/Stack.js +15 -26
- package/dist/components/Stack/Stack.types.js +6 -4
- package/dist/components/Stack/index.js +3 -6
- package/dist/components/TabSet/Tab/Tab.js +2 -100
- package/dist/components/TabSet/Tab/Tab.types.js +0 -1
- package/dist/components/TabSet/TabSet.js +37 -58
- package/dist/components/TabSet/TabSet.types.js +10 -6
- package/dist/components/TabSet/TabSetProvider.js +45 -49
- package/dist/components/TabSet/components/TabSetItem.js +24 -44
- package/dist/components/TabSet/helpers/mapTabs.js +2 -33
- package/dist/components/TabSet/hooks/useTabSetItems.js +5 -5
- package/dist/components/TabSet/index.js +21 -11
- package/dist/components/Table/Table.js +2 -18
- package/dist/components/Table/Table.types.js +22 -22
- package/dist/components/Table/TableBody/TableBody.js +2 -125
- package/dist/components/Table/TableBody/TableBody.types.js +0 -1
- package/dist/components/Table/TableContext.js +9 -9
- package/dist/components/Table/TableFormattedValue/TableFormattedValue.js +11 -17
- package/dist/components/Table/TableFormattedValue/TableFormattedValue.types.js +0 -1
- package/dist/components/Table/TableProvider.js +31 -38
- package/dist/components/Table/components/TableBodyCell.js +16 -30
- package/dist/components/Table/components/TableEmpty.js +15 -11
- package/dist/components/Table/components/TableHeader.js +2 -8
- package/dist/components/Table/components/TableHeaderCell.js +2 -8
- package/dist/components/Table/components/TableRows.js +29 -48
- package/dist/components/Table/components/TableSortButton.js +2 -7
- package/dist/components/Table/helpers/composeIDSTableColumnDefs.js +29 -41
- package/dist/components/Table/helpers/composeIDSTableInitialSorting.js +6 -9
- package/dist/components/Table/helpers/findColumnByKey.js +4 -4
- package/dist/components/Table/helpers/getFormatFromValue.js +7 -10
- package/dist/components/Table/helpers/hasColumns.js +4 -4
- package/dist/components/Table/hooks/useIDSTableColumnSort.js +18 -23
- package/dist/components/Table/hooks/useIDSTableColumnStyles.js +21 -23
- package/dist/components/Table/hooks/useTable.js +5 -5
- package/dist/components/Table/index.js +4 -15
- package/dist/components/Tag/Tag.js +2 -8
- package/dist/components/Tag/Tag.types.js +0 -1
- package/dist/components/Tag/TagInput/TagInput.js +2 -8
- package/dist/components/Tag/TagInput/TagInput.types.js +0 -1
- package/dist/components/Tag/components/TagListInput/TagListInput.js +2 -8
- package/dist/components/Tag/components/TagListInput/TagListInput.types.js +0 -1
- package/dist/components/Tag/index.js +2 -5
- package/dist/components/Text/Text.js +19 -34
- package/dist/components/Text/Text.types.js +18 -18
- package/dist/components/Text/index.js +3 -6
- package/dist/components/Toaster/Toast/Toast.js +2 -13
- package/dist/components/Toaster/Toast/Toast.types.js +12 -9
- package/dist/components/Toaster/Toast/ToastAnimated.js +2 -9
- package/dist/components/Toaster/Toast/ToastIcon.js +2 -6
- package/dist/components/Toaster/Toaster.js +2 -11
- package/dist/components/Toaster/Toaster.types.js +23 -25
- package/dist/components/Toaster/ToasterProvider.js +2 -7
- package/dist/components/Toaster/hooks/useToaster.js +2 -26
- package/dist/components/Toaster/index.js +4 -17
- package/dist/components/Toggle/Toggle.js +2 -102
- package/dist/components/Toggle/Toggle.types.js +10 -10
- package/dist/components/Toggle/index.js +3 -7
- package/dist/components/Tooltip/Tooltip.js +2 -77
- package/dist/components/Tooltip/Tooltip.types.js +0 -1
- package/dist/components/Tooltip/index.js +2 -4
- package/dist/components/ValidationMessage/ValidationBase/ValidationBase.js +2 -51
- package/dist/components/ValidationMessage/ValidationBase/ValidationBase.types.js +0 -1
- package/dist/components/ValidationMessage/ValidationLink/ValidationLink.js +15 -21
- package/dist/components/ValidationMessage/ValidationLink/ValidationLink.types.js +0 -1
- package/dist/components/ValidationMessage/ValidationMessage.js +11 -8
- package/dist/components/ValidationMessage/ValidationMessage.types.js +0 -1
- package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +2 -69
- package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.types.js +0 -1
- package/dist/components/ValidationMessage/index.js +4 -8
- package/dist/constants-C4s0aMXs.js +161 -0
- package/dist/constants.js +2 -193
- package/dist/enums.js +42 -22
- package/dist/floating-ui.react-Dj2ev6bJ.js +3098 -0
- package/dist/fuzzysort-BZ6Yv-YR.js +377 -0
- package/dist/helpers/dom/closestCrossShadow.js +19 -24
- package/dist/helpers/dom/domUtils.js +10 -11
- package/dist/helpers/dom/focusableElements.js +7 -9
- package/dist/helpers/dom/getActiveElement.js +7 -7
- package/dist/helpers/dom/hasShadowDom.js +4 -4
- package/dist/helpers/form/getFormControlValueAsString.js +4 -4
- package/dist/helpers/form/getFormControlValueAsStringIfDefined.js +6 -7
- package/dist/helpers/form/getValueAsEvent.js +6 -6
- package/dist/helpers/form/isValidFormInputElement.js +4 -4
- package/dist/helpers/formatting/capitalizeFirstLetter.js +4 -4
- package/dist/helpers/formatting/formatCurrency.js +14 -21
- package/dist/helpers/formatting/formatDate.js +16 -22
- package/dist/helpers/formatting/formatDateTime.js +49 -54
- package/dist/helpers/formatting/formatObjectKey.js +4 -4
- package/dist/helpers/formatting/formatPercentage.js +6 -6
- package/dist/helpers/formatting/stringReplacer.js +8 -8
- package/dist/helpers/formatting/toArray.js +4 -4
- package/dist/helpers/formatting/toCSSLengthValue.js +6 -6
- package/dist/helpers/label-value/composeLabelValueDescriptor.js +9 -12
- package/dist/helpers/label-value/getQueryRangeExclusive.js +10 -13
- package/dist/helpers/label-value/getValueFromLabelValues.js +7 -7
- package/dist/helpers/label-value/highlightQueryInLabel.js +7 -6
- package/dist/helpers/label-value/highlightQueryInLabelValue.js +8 -8
- package/dist/helpers/label-value/searchLabelValues.js +12 -11
- package/dist/helpers/responsive/getResponsiveLayoutModifiers.js +8 -10
- package/dist/helpers/responsive/getResponsivePaddingClasses.js +6 -10
- package/dist/helpers/transition/getTransitionDuration.js +5 -7
- package/dist/helpers/transition/timeStringToNumber.js +4 -4
- package/dist/helpers/utility/generateScopedName.js +8 -9
- package/dist/helpers/utility/idsLogger.js +5 -9
- package/dist/helpers/utility/propagateTestid.js +4 -4
- package/dist/hooks/index.js +5 -11
- package/dist/hooks/useAriaRelationship.js +20 -35
- package/dist/hooks/useBreakpoint.js +16 -16
- package/dist/hooks/useControlledState.js +35 -53
- package/dist/hooks/useIdIfNeeded.js +7 -7
- package/dist/hooks/useResponsiveProps.js +25 -25
- package/dist/index.esm-BCkAygZA.js +169 -0
- package/dist/interfaces.js +0 -1
- package/dist/lib-CUMSFn3v.js +1415 -0
- package/dist/main-CTy1XcUn.js +4604 -0
- package/dist/main.js +88 -336
- package/dist/patterns/Loading/Loading.js +2 -8
- package/dist/patterns/Loading/LoadingSuspense.js +2 -7
- package/dist/patterns/Loading/components/ComponentLoading.js +2 -10
- package/dist/patterns/Loading/components/DefaultLoading.js +2 -9
- package/dist/patterns/Loading/components/LongLoading.js +2 -132
- package/dist/patterns/Loading/components/PageLoading.js +2 -14
- package/dist/patterns/Loading/components/StartUpLoading.js +2 -107
- package/dist/patterns/Loading/components/ValidateLoading.js +2 -9
- package/dist/patterns/Loading/hooks/useEstimatedProgressValue.js +25 -25
- package/dist/patterns/Loading/hooks/useShouldRenderLoading.js +26 -23
- package/dist/patterns/Loading/hooks/useShowIndicator.js +18 -19
- package/dist/patterns/Loading/hooks/useSuspenseResource.js +19 -26
- package/dist/patterns/Loading/index.js +2 -5
- package/dist/style.css +2 -1
- package/dist/types.js +0 -1
- package/dist/useAutocompleteSearch-CBgqGiKn.js +179 -0
- package/dist/useIDSButtonGroupItem-BkzYQzAi.js +21 -0
- package/dist/useMenuStyles-cry3mes_.js +20 -0
- package/package.json +15 -15
- package/dist/AutocompleteNoResults-B60rzwfa.js +0 -12
- package/dist/ComboboxHiddenInput-BUswpU00.js +0 -32
- package/dist/FieldAppendToLabel-BK8cAMZT.js +0 -77
- package/dist/InputBase-B6gEHXZ7.js +0 -56
- package/dist/Loading.module-BXP_0EH0.js +0 -13
- package/dist/LoadingSuspense-CuQm3zqO.js +0 -5740
- package/dist/LogoFromSrc-BvialtyP.js +0 -59
- package/dist/MenuItem.module-BFPHZtJl.js +0 -24
- package/dist/Popover.module-oIsv6lht.js +0 -11
- package/dist/PopoverProvider-BMBTLkRr.js +0 -142
- package/dist/SelectControl-Bf6qXlwP.js +0 -47
- package/dist/SlideoutProvider-CQh140HM.js +0 -200
- package/dist/SliderTicks-DRFLh0Rw.js +0 -74
- package/dist/TabSet.module-Dks7jQfN.js +0 -13
- package/dist/Table.module-BARl9Jy6.js +0 -32
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/floating-ui.react-DfIjfJIq.js +0 -3503
- package/dist/fuzzysort-BNka47rs.js +0 -395
- package/dist/index-BaVtNOfa.js +0 -1693
- package/dist/index-DLnR8XTt.js +0 -47
- package/dist/index-cbHCAGLB.js +0 -40
- package/dist/index.esm-CL8gh5wr.js +0 -192
- package/dist/useIDSButtonGroupItem-DXJpvTGd.js +0 -29
package/dist/index-DLnR8XTt.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as r from "react";
|
|
2
|
-
import { b as c } from "./index-BaVtNOfa.js";
|
|
3
|
-
function p(t, e) {
|
|
4
|
-
return t ? f(t) ? /* @__PURE__ */ r.createElement(t, e) : t : null;
|
|
5
|
-
}
|
|
6
|
-
function f(t) {
|
|
7
|
-
return l(t) || typeof t == "function" || i(t);
|
|
8
|
-
}
|
|
9
|
-
function l(t) {
|
|
10
|
-
return typeof t == "function" && (() => {
|
|
11
|
-
const e = Object.getPrototypeOf(t);
|
|
12
|
-
return e.prototype && e.prototype.isReactComponent;
|
|
13
|
-
})();
|
|
14
|
-
}
|
|
15
|
-
function i(t) {
|
|
16
|
-
return typeof t == "object" && typeof t.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(t.$$typeof.description);
|
|
17
|
-
}
|
|
18
|
-
function b(t) {
|
|
19
|
-
const e = {
|
|
20
|
-
state: {},
|
|
21
|
-
// Dummy state
|
|
22
|
-
onStateChange: () => {
|
|
23
|
-
},
|
|
24
|
-
// noop
|
|
25
|
-
renderFallbackValue: null,
|
|
26
|
-
...t
|
|
27
|
-
}, [n] = r.useState(() => ({
|
|
28
|
-
current: c(e)
|
|
29
|
-
})), [o, s] = r.useState(() => n.current.initialState);
|
|
30
|
-
return n.current.setOptions((u) => ({
|
|
31
|
-
...u,
|
|
32
|
-
...t,
|
|
33
|
-
state: {
|
|
34
|
-
...o,
|
|
35
|
-
...t.state
|
|
36
|
-
},
|
|
37
|
-
// Similarly, we'll maintain both our internal state and any user-provided
|
|
38
|
-
// state.
|
|
39
|
-
onStateChange: (a) => {
|
|
40
|
-
s(a), t.onStateChange == null || t.onStateChange(a);
|
|
41
|
-
}
|
|
42
|
-
})), n.current;
|
|
43
|
-
}
|
|
44
|
-
export {
|
|
45
|
-
p as f,
|
|
46
|
-
b as u
|
|
47
|
-
};
|
package/dist/index-cbHCAGLB.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { g as c } from "./_commonjsHelpers-C6fGbg64.js";
|
|
2
|
-
var n = { exports: {} };
|
|
3
|
-
var a;
|
|
4
|
-
function p() {
|
|
5
|
-
return a || (a = 1, (function(o) {
|
|
6
|
-
(function() {
|
|
7
|
-
var f = {}.hasOwnProperty;
|
|
8
|
-
function e() {
|
|
9
|
-
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
10
|
-
var s = arguments[r];
|
|
11
|
-
s && (t = i(t, u(s)));
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
}
|
|
15
|
-
function u(t) {
|
|
16
|
-
if (typeof t == "string" || typeof t == "number")
|
|
17
|
-
return t;
|
|
18
|
-
if (typeof t != "object")
|
|
19
|
-
return "";
|
|
20
|
-
if (Array.isArray(t))
|
|
21
|
-
return e.apply(null, t);
|
|
22
|
-
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
23
|
-
return t.toString();
|
|
24
|
-
var r = "";
|
|
25
|
-
for (var s in t)
|
|
26
|
-
f.call(t, s) && t[s] && (r = i(r, s));
|
|
27
|
-
return r;
|
|
28
|
-
}
|
|
29
|
-
function i(t, r) {
|
|
30
|
-
return r ? t ? t + " " + r : t + r : t;
|
|
31
|
-
}
|
|
32
|
-
o.exports ? (e.default = e, o.exports = e) : window.classNames = e;
|
|
33
|
-
})();
|
|
34
|
-
})(n)), n.exports;
|
|
35
|
-
}
|
|
36
|
-
var l = p();
|
|
37
|
-
const x = /* @__PURE__ */ c(l);
|
|
38
|
-
export {
|
|
39
|
-
x as c
|
|
40
|
-
};
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
var E = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], v = /* @__PURE__ */ E.join(","), w = typeof Element > "u", o = w ? function() {
|
|
2
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, b = !w && Element.prototype.getRootNode ? function(i) {
|
|
3
|
-
var t;
|
|
4
|
-
return i == null || (t = i.getRootNode) === null || t === void 0 ? void 0 : t.call(i);
|
|
5
|
-
} : function(i) {
|
|
6
|
-
return i?.ownerDocument;
|
|
7
|
-
}, h = function i(t, e) {
|
|
8
|
-
var r;
|
|
9
|
-
e === void 0 && (e = !0);
|
|
10
|
-
var a = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), l = a === "" || a === "true", n = l || e && t && i(t.parentNode);
|
|
11
|
-
return n;
|
|
12
|
-
}, A = function(t) {
|
|
13
|
-
var e, r = t == null || (e = t.getAttribute) === null || e === void 0 ? void 0 : e.call(t, "contenteditable");
|
|
14
|
-
return r === "" || r === "true";
|
|
15
|
-
}, T = function(t, e, r) {
|
|
16
|
-
if (h(t))
|
|
17
|
-
return [];
|
|
18
|
-
var a = Array.prototype.slice.apply(t.querySelectorAll(v));
|
|
19
|
-
return e && o.call(t, v) && a.unshift(t), a = a.filter(r), a;
|
|
20
|
-
}, I = function i(t, e, r) {
|
|
21
|
-
for (var a = [], l = Array.from(t); l.length; ) {
|
|
22
|
-
var n = l.shift();
|
|
23
|
-
if (!h(n, !1))
|
|
24
|
-
if (n.tagName === "SLOT") {
|
|
25
|
-
var u = n.assignedElements(), c = u.length ? u : n.children, s = i(c, !0, r);
|
|
26
|
-
r.flatten ? a.push.apply(a, s) : a.push({
|
|
27
|
-
scopeParent: n,
|
|
28
|
-
candidates: s
|
|
29
|
-
});
|
|
30
|
-
} else {
|
|
31
|
-
var f = o.call(n, v);
|
|
32
|
-
f && r.filter(n) && (e || !t.includes(n)) && a.push(n);
|
|
33
|
-
var d = n.shadowRoot || // check for an undisclosed shadow
|
|
34
|
-
typeof r.getShadowRoot == "function" && r.getShadowRoot(n), C = !h(d, !1) && (!r.shadowRootFilter || r.shadowRootFilter(n));
|
|
35
|
-
if (d && C) {
|
|
36
|
-
var y = i(d === !0 ? n.children : d.children, !0, r);
|
|
37
|
-
r.flatten ? a.push.apply(a, y) : a.push({
|
|
38
|
-
scopeParent: n,
|
|
39
|
-
candidates: y
|
|
40
|
-
});
|
|
41
|
-
} else
|
|
42
|
-
l.unshift.apply(l, n.children);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
return a;
|
|
46
|
-
}, m = function(t) {
|
|
47
|
-
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
|
48
|
-
}, R = function(t) {
|
|
49
|
-
if (!t)
|
|
50
|
-
throw new Error("No node provided");
|
|
51
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || A(t)) && !m(t) ? 0 : t.tabIndex;
|
|
52
|
-
}, x = function(t, e) {
|
|
53
|
-
var r = R(t);
|
|
54
|
-
return r < 0 && e && !m(t) ? 0 : r;
|
|
55
|
-
}, O = function(t, e) {
|
|
56
|
-
return t.tabIndex === e.tabIndex ? t.documentOrder - e.documentOrder : t.tabIndex - e.tabIndex;
|
|
57
|
-
}, N = function(t) {
|
|
58
|
-
return t.tagName === "INPUT";
|
|
59
|
-
}, D = function(t) {
|
|
60
|
-
return N(t) && t.type === "hidden";
|
|
61
|
-
}, F = function(t) {
|
|
62
|
-
var e = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
|
|
63
|
-
return r.tagName === "SUMMARY";
|
|
64
|
-
});
|
|
65
|
-
return e;
|
|
66
|
-
}, k = function(t, e) {
|
|
67
|
-
for (var r = 0; r < t.length; r++)
|
|
68
|
-
if (t[r].checked && t[r].form === e)
|
|
69
|
-
return t[r];
|
|
70
|
-
}, M = function(t) {
|
|
71
|
-
if (!t.name)
|
|
72
|
-
return !0;
|
|
73
|
-
var e = t.form || b(t), r = function(u) {
|
|
74
|
-
return e.querySelectorAll('input[type="radio"][name="' + u + '"]');
|
|
75
|
-
}, a;
|
|
76
|
-
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
77
|
-
a = r(window.CSS.escape(t.name));
|
|
78
|
-
else
|
|
79
|
-
try {
|
|
80
|
-
a = r(t.name);
|
|
81
|
-
} catch (n) {
|
|
82
|
-
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", n.message), !1;
|
|
83
|
-
}
|
|
84
|
-
var l = k(a, t.form);
|
|
85
|
-
return !l || l === t;
|
|
86
|
-
}, L = function(t) {
|
|
87
|
-
return N(t) && t.type === "radio";
|
|
88
|
-
}, P = function(t) {
|
|
89
|
-
return L(t) && !M(t);
|
|
90
|
-
}, B = function(t) {
|
|
91
|
-
var e, r = t && b(t), a = (e = r) === null || e === void 0 ? void 0 : e.host, l = !1;
|
|
92
|
-
if (r && r !== t) {
|
|
93
|
-
var n, u, c;
|
|
94
|
-
for (l = !!((n = a) !== null && n !== void 0 && (u = n.ownerDocument) !== null && u !== void 0 && u.contains(a) || t != null && (c = t.ownerDocument) !== null && c !== void 0 && c.contains(t)); !l && a; ) {
|
|
95
|
-
var s, f, d;
|
|
96
|
-
r = b(a), a = (s = r) === null || s === void 0 ? void 0 : s.host, l = !!((f = a) !== null && f !== void 0 && (d = f.ownerDocument) !== null && d !== void 0 && d.contains(a));
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
return l;
|
|
100
|
-
}, p = function(t) {
|
|
101
|
-
var e = t.getBoundingClientRect(), r = e.width, a = e.height;
|
|
102
|
-
return r === 0 && a === 0;
|
|
103
|
-
}, q = function(t, e) {
|
|
104
|
-
var r = e.displayCheck, a = e.getShadowRoot;
|
|
105
|
-
if (getComputedStyle(t).visibility === "hidden")
|
|
106
|
-
return !0;
|
|
107
|
-
var l = o.call(t, "details>summary:first-of-type"), n = l ? t.parentElement : t;
|
|
108
|
-
if (o.call(n, "details:not([open]) *"))
|
|
109
|
-
return !0;
|
|
110
|
-
if (!r || r === "full" || r === "legacy-full") {
|
|
111
|
-
if (typeof a == "function") {
|
|
112
|
-
for (var u = t; t; ) {
|
|
113
|
-
var c = t.parentElement, s = b(t);
|
|
114
|
-
if (c && !c.shadowRoot && a(c) === !0)
|
|
115
|
-
return p(t);
|
|
116
|
-
t.assignedSlot ? t = t.assignedSlot : !c && s !== t.ownerDocument ? t = s.host : t = c;
|
|
117
|
-
}
|
|
118
|
-
t = u;
|
|
119
|
-
}
|
|
120
|
-
if (B(t))
|
|
121
|
-
return !t.getClientRects().length;
|
|
122
|
-
if (r !== "legacy-full")
|
|
123
|
-
return !0;
|
|
124
|
-
} else if (r === "non-zero-area")
|
|
125
|
-
return p(t);
|
|
126
|
-
return !1;
|
|
127
|
-
}, U = function(t) {
|
|
128
|
-
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
129
|
-
for (var e = t.parentElement; e; ) {
|
|
130
|
-
if (e.tagName === "FIELDSET" && e.disabled) {
|
|
131
|
-
for (var r = 0; r < e.children.length; r++) {
|
|
132
|
-
var a = e.children.item(r);
|
|
133
|
-
if (a.tagName === "LEGEND")
|
|
134
|
-
return o.call(e, "fieldset[disabled] *") ? !0 : !a.contains(t);
|
|
135
|
-
}
|
|
136
|
-
return !0;
|
|
137
|
-
}
|
|
138
|
-
e = e.parentElement;
|
|
139
|
-
}
|
|
140
|
-
return !1;
|
|
141
|
-
}, g = function(t, e) {
|
|
142
|
-
return !(e.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
143
|
-
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
144
|
-
// note related to `candidateSelectors`)
|
|
145
|
-
h(e) || D(e) || q(e, t) || // For a details element with a summary, the summary element gets the focus
|
|
146
|
-
F(e) || U(e));
|
|
147
|
-
}, S = function(t, e) {
|
|
148
|
-
return !(P(e) || R(e) < 0 || !g(t, e));
|
|
149
|
-
}, V = function(t) {
|
|
150
|
-
var e = parseInt(t.getAttribute("tabindex"), 10);
|
|
151
|
-
return !!(isNaN(e) || e >= 0);
|
|
152
|
-
}, W = function i(t) {
|
|
153
|
-
var e = [], r = [];
|
|
154
|
-
return t.forEach(function(a, l) {
|
|
155
|
-
var n = !!a.scopeParent, u = n ? a.scopeParent : a, c = x(u, n), s = n ? i(a.candidates) : u;
|
|
156
|
-
c === 0 ? n ? e.push.apply(e, s) : e.push(u) : r.push({
|
|
157
|
-
documentOrder: l,
|
|
158
|
-
tabIndex: c,
|
|
159
|
-
item: a,
|
|
160
|
-
isScope: n,
|
|
161
|
-
content: s
|
|
162
|
-
});
|
|
163
|
-
}), r.sort(O).reduce(function(a, l) {
|
|
164
|
-
return l.isScope ? a.push.apply(a, l.content) : a.push(l.content), a;
|
|
165
|
-
}, []).concat(e);
|
|
166
|
-
}, Z = function(t, e) {
|
|
167
|
-
e = e || {};
|
|
168
|
-
var r;
|
|
169
|
-
return e.getShadowRoot ? r = I([t], e.includeContainer, {
|
|
170
|
-
filter: S.bind(null, e),
|
|
171
|
-
flatten: !1,
|
|
172
|
-
getShadowRoot: e.getShadowRoot,
|
|
173
|
-
shadowRootFilter: V
|
|
174
|
-
}) : r = T(t, e.includeContainer, S.bind(null, e)), W(r);
|
|
175
|
-
}, j = function(t, e) {
|
|
176
|
-
e = e || {};
|
|
177
|
-
var r;
|
|
178
|
-
return e.getShadowRoot ? r = I([t], e.includeContainer, {
|
|
179
|
-
filter: g.bind(null, e),
|
|
180
|
-
flatten: !0,
|
|
181
|
-
getShadowRoot: e.getShadowRoot
|
|
182
|
-
}) : r = T(t, e.includeContainer, g.bind(null, e)), r;
|
|
183
|
-
}, z = function(t, e) {
|
|
184
|
-
if (e = e || {}, !t)
|
|
185
|
-
throw new Error("No node provided");
|
|
186
|
-
return o.call(t, v) === !1 ? !1 : S(e, t);
|
|
187
|
-
};
|
|
188
|
-
export {
|
|
189
|
-
j as f,
|
|
190
|
-
z as i,
|
|
191
|
-
Z as t
|
|
192
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { useButtonGroup as e } from "./components/ButtonGroup/hooks/useButtonGroup.js";
|
|
2
|
-
import { c as i } from "./index-cbHCAGLB.js";
|
|
3
|
-
const u = "ids-button-group-v5208", r = "ids-button-group--values-v5208", n = "ids-button-group--label-v5208", c = "ids-button-group--item-v5208", p = "ids-button-group--active-v5208", s = {
|
|
4
|
-
buttonGroup: u,
|
|
5
|
-
values: r,
|
|
6
|
-
label: n,
|
|
7
|
-
item: c,
|
|
8
|
-
active: p
|
|
9
|
-
}, b = ({
|
|
10
|
-
value: t
|
|
11
|
-
}) => {
|
|
12
|
-
const o = e();
|
|
13
|
-
if (o)
|
|
14
|
-
return {
|
|
15
|
-
className: i(s.item, {
|
|
16
|
-
[s.active]: o.isActive(t)
|
|
17
|
-
}),
|
|
18
|
-
props: {
|
|
19
|
-
"aria-pressed": o.isActive(t)
|
|
20
|
-
},
|
|
21
|
-
toggle() {
|
|
22
|
-
t !== void 0 && o?.toggle?.(t, !o.isActive(t));
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export {
|
|
27
|
-
s,
|
|
28
|
-
b as u
|
|
29
|
-
};
|