@iress-oss/ids-components 5.20.2 → 5.20.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AutocompleteNoResults-D_052VQ9.js → AutocompleteNoResults-B7El1R2l.js} +1 -1
- package/dist/{ComboboxHiddenInput-BcqYDu3M.js → ComboboxHiddenInput-CWfIj-Zz.js} +5 -5
- package/dist/{FieldAppendToLabel-CWIO4lAR.js → FieldAppendToLabel-BTdzhQ7Z.js} +3 -3
- package/dist/{InputBase-C0zGNQy5.js → InputBase-Hc9D8St6.js} +1 -1
- package/dist/Loading.module-BjceG0Wh.js +13 -0
- package/dist/{LoadingSuspense-BtzikVZk.js → LoadingSuspense-Bwd232Nt.js} +114 -114
- package/dist/LogoFromSrc-CAdoYYud.js +59 -0
- package/dist/MenuItem.module-BQw_K5D4.js +24 -0
- package/dist/Popover.module-ZU-08mVQ.js +11 -0
- package/dist/{PopoverProvider-DZ92QV8I.js → PopoverProvider-Cvg6ObBO.js} +4 -4
- package/dist/{SelectControl-B5BG5_Pl.js → SelectControl-WoixPfwh.js} +1 -1
- package/dist/{SliderTicks-jPoPzYf3.js → SliderTicks-D-B1uIdS.js} +1 -1
- package/dist/TabSet.module-4ohNBuQS.js +13 -0
- package/dist/Table.module-BYwGboft.js +32 -0
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +3 -3
- package/dist/components/Autocomplete/components/AutocompleteNoResults.js +1 -1
- package/dist/components/Autocomplete/index.js +1 -1
- package/dist/components/Badge/Badge.js +4 -4
- package/dist/components/Button/Button.js +2 -2
- package/dist/components/Button/CloseButton/CloseButton.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/components/ButtonGroup/hooks/useIDSButtonGroupItem.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checkbox/helpers/mapCheckboxGroupOptions.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.js +6 -6
- package/dist/components/CheckboxMark/CheckboxMark.types.js +2 -2
- package/dist/components/Combobox/Combobox.js +3 -3
- package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +3 -3
- package/dist/components/Combobox/components/ComboboxHiddenInput.js +1 -1
- package/dist/components/Combobox/components/ComboboxResults.js +4 -4
- package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +2 -2
- package/dist/components/Combobox/index.js +1 -1
- package/dist/components/Expander/Expander.js +1 -1
- package/dist/components/Field/Field.js +1 -1
- package/dist/components/Field/FieldGroup/FieldGroup.js +2 -2
- package/dist/components/Field/components/FieldAppendToLabel.js +3 -3
- package/dist/components/Filter/Filter.js +3 -3
- package/dist/components/Filter/components/FilterResetButton.js +2 -2
- package/dist/components/Filter/components/FilterSearch.js +2 -2
- package/dist/components/Filter/index.js +1 -1
- package/dist/components/Form/Form.js +1 -1
- package/dist/components/Form/FormField/FormField.js +2 -2
- package/dist/components/Form/FormField/FormFieldset.js +2 -2
- package/dist/components/Form/HookForm/HookForm.js +1 -1
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Hide/Hide.js +1 -1
- package/dist/components/Hide/helpers/composeHideClasses.js +2 -2
- package/dist/components/Hide/index.js +1 -1
- package/dist/components/Icon/Icon.js +2 -2
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/Inline/Inline.js +2 -2
- package/dist/components/Inline/index.js +1 -1
- package/dist/components/Input/ClearButton/ClearButton.js +1 -1
- package/dist/components/Input/Input.js +2 -2
- package/dist/components/Input/InputBase/InputBase.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/InputCurrency/InputCurrency.js +1 -1
- package/dist/components/InputCurrency/index.js +1 -1
- package/dist/components/Label/LabelBase/LabelBase.js +1 -1
- package/dist/components/Menu/MenuDivider/MenuDivider.js +2 -2
- package/dist/components/Menu/MenuHeading/MenuHeading.js +2 -2
- package/dist/components/Menu/MenuItem/MenuItem.js +1 -1
- package/dist/components/Menu/MenuItem/hooks/useMenuItemButtonProps.js +1 -1
- package/dist/components/Menu/MenuItem/hooks/useMenuItemComposite.js +1 -1
- package/dist/components/Menu/MenuText/MenuText.js +3 -3
- package/dist/components/Menu/helpers/mapMenuItems.js +1 -1
- package/dist/components/Menu/hooks/useMenuStyles.js +3 -3
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Navbar/Navbar.js +2 -2
- package/dist/components/Navbar/components/HomeLinkContent.js +2 -2
- package/dist/components/Navbar/components/LogoFromSrc.js +1 -1
- package/dist/components/Navbar/components/NavbarLogo.js +2 -2
- package/dist/components/Navbar/index.js +1 -1
- package/dist/components/Placeholder/Placeholder.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopover.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopoverActivator.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopoverProvider.js +1 -1
- package/dist/components/Popover/Popover.js +2 -2
- package/dist/components/Popover/PopoverProvider.js +1 -1
- package/dist/components/Popover/components/PopoverActivator.js +1 -1
- package/dist/components/Popover/components/PopoverContent.js +1 -1
- package/dist/components/Popover/helpers/handlePopoverTabKey.js +1 -1
- package/dist/components/Popover/hooks/usePopover.js +1 -1
- package/dist/components/Progress/Progress.js +1 -1
- package/dist/components/Provider/Provider.js +1 -1
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/Radio/helpers/mapRadioGroupOptions.js +1 -1
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +3 -3
- package/dist/components/Readonly/Readonly.js +3 -3
- package/dist/components/Readonly/index.js +1 -1
- package/dist/components/RichSelect/RichSelect.js +2 -2
- package/dist/components/RichSelect/SelectBody/SelectBody.js +2 -2
- package/dist/components/RichSelect/SelectCreate/SelectCreate.js +2 -2
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +2 -2
- package/dist/components/RichSelect/SelectLabel/SelectLabel.js +1 -1
- package/dist/components/RichSelect/SelectMenu/SelectMenu.js +2 -2
- package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +2 -2
- package/dist/components/RichSelect/SelectSearch/SelectSearch.js +1 -1
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +1 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.js +1 -1
- package/dist/components/RichSelect/components/SelectActivator.js +1 -1
- package/dist/components/RichSelect/components/SelectOptions.js +2 -2
- package/dist/components/RichSelect/index.js +1 -1
- package/dist/components/Row/Row.js +2 -2
- package/dist/components/Row/index.js +1 -1
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/Select/components/SelectControl.js +1 -1
- package/dist/components/Select/components/SelectReadonly.js +2 -2
- package/dist/components/Select/helpers/mapSelectOptions.js +1 -1
- package/dist/components/Select/helpers/nodesToSelectOptions.js +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Skeleton/Skeleton.js +2 -2
- package/dist/components/SkipLink/SkipLink.js +1 -1
- package/dist/components/Slideout/Slideout.js +2 -2
- package/dist/components/Slideout/components/SlideoutInner.js +2 -2
- package/dist/components/Slideout/index.js +1 -1
- package/dist/components/Slider/Slider.js +2 -2
- package/dist/components/Slider/components/SliderTicks.js +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/TabSet/Tab/Tab.js +1 -1
- package/dist/components/TabSet/TabSet.js +1 -1
- package/dist/components/TabSet/components/TabSetItem.js +1 -1
- package/dist/components/Table/Table.js +2 -2
- package/dist/components/Table/TableBody/TableBody.js +2 -2
- package/dist/components/Table/components/TableEmpty.js +1 -1
- package/dist/components/Table/components/TableHeader.js +1 -1
- package/dist/components/Table/components/TableHeaderCell.js +1 -1
- package/dist/components/Table/components/TableSortButton.js +2 -2
- package/dist/components/Table/hooks/useIDSTableColumnStyles.js +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Tag/TagInput/TagInput.js +1 -1
- package/dist/components/Tag/components/TagListInput/TagListInput.js +1 -1
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/Toaster/Toast/Toast.js +1 -1
- package/dist/components/Toaster/Toast/ToastAnimated.js +1 -1
- package/dist/components/Toaster/Toast/ToastIcon.js +1 -1
- package/dist/components/Toaster/Toaster.js +1 -1
- package/dist/components/Toaster/ToasterProvider.js +1 -1
- package/dist/components/Toaster/hooks/useToaster.js +1 -1
- package/dist/components/Toaster/index.js +1 -1
- package/dist/components/Toggle/Toggle.js +3 -3
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/ValidationMessage/ValidationBase/ValidationBase.js +1 -1
- package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +1 -1
- package/dist/constants.js +1 -1
- package/dist/main.js +2 -2
- package/dist/patterns/Loading/Loading.js +1 -1
- package/dist/patterns/Loading/LoadingSuspense.js +1 -1
- package/dist/patterns/Loading/components/ComponentLoading.js +2 -2
- package/dist/patterns/Loading/components/DefaultLoading.js +2 -2
- package/dist/patterns/Loading/components/LongLoading.js +2 -2
- package/dist/patterns/Loading/components/PageLoading.js +2 -2
- package/dist/patterns/Loading/components/StartUpLoading.js +2 -2
- package/dist/patterns/Loading/components/ValidateLoading.js +2 -2
- package/dist/patterns/Loading/index.js +1 -1
- package/dist/src/components/Alert/Alert.d.ts +9 -0
- package/dist/src/components/Alert/Alert.types.d.ts +41 -0
- package/dist/src/components/Alert/index.d.ts +2 -0
- package/dist/src/components/Autocomplete/Autocomplete.d.ts +3 -0
- package/dist/src/components/Autocomplete/Autocomplete.types.d.ts +144 -0
- package/dist/src/components/Autocomplete/components/AutocompleteInstructions.d.ts +2 -0
- package/dist/src/components/Autocomplete/components/AutocompleteNoResults.d.ts +2 -0
- package/dist/src/components/Autocomplete/hooks/useAutocompleteSearch.d.ts +6 -0
- package/dist/src/components/Autocomplete/index.d.ts +3 -0
- package/dist/src/components/Badge/Badge.d.ts +2 -0
- package/dist/src/components/Badge/Badge.types.d.ts +37 -0
- package/dist/src/components/Badge/index.d.ts +2 -0
- package/dist/src/components/Button/Button.d.ts +2 -0
- package/dist/src/components/Button/Button.types.d.ts +106 -0
- package/dist/src/components/Button/CloseButton/CloseButton.d.ts +3 -0
- package/dist/src/components/Button/CloseButton/CloseButton.types.d.ts +8 -0
- package/dist/src/components/Button/index.d.ts +4 -0
- package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +2 -0
- package/dist/src/components/ButtonGroup/ButtonGroup.types.d.ts +63 -0
- package/dist/src/components/ButtonGroup/ButtonGroupProvider.d.ts +3 -0
- package/dist/src/components/ButtonGroup/hooks/useButtonGroup.d.ts +1 -0
- package/dist/src/components/ButtonGroup/hooks/useIDSButtonGroupItem.d.ts +2 -0
- package/dist/src/components/ButtonGroup/index.d.ts +3 -0
- package/dist/src/components/Card/Card.d.ts +2 -0
- package/dist/src/components/Card/Card.types.d.ts +91 -0
- package/dist/src/components/Card/components/ButtonCard.d.ts +2 -0
- package/dist/src/components/Card/components/LinkCard.d.ts +2 -0
- package/dist/src/components/Card/helpers/composeIDSCard.d.ts +3 -0
- package/dist/src/components/Card/helpers/composeIDSCardSlots.d.ts +2 -0
- package/dist/src/components/Card/index.d.ts +6 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +2 -0
- package/dist/src/components/Checkbox/Checkbox.types.d.ts +65 -0
- package/dist/src/components/Checkbox/helpers/mapCheckboxGroupOptions.d.ts +5 -0
- package/dist/src/components/Checkbox/index.d.ts +2 -0
- package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +2 -0
- package/dist/src/components/CheckboxGroup/CheckboxGroup.types.d.ts +70 -0
- package/dist/src/components/CheckboxGroup/CheckboxGroupContext.d.ts +2 -0
- package/dist/src/components/CheckboxGroup/index.d.ts +2 -0
- package/dist/src/components/CheckboxMark/CheckboxMark.d.ts +2 -0
- package/dist/src/components/CheckboxMark/CheckboxMark.types.d.ts +11 -0
- package/dist/src/components/CheckboxMark/index.d.ts +2 -0
- package/dist/src/components/Col/Col.d.ts +2 -0
- package/dist/src/components/Col/Col.types.d.ts +78 -0
- package/dist/src/components/Col/index.d.ts +2 -0
- package/dist/src/components/Combobox/Combobox.d.ts +6 -0
- package/dist/src/components/Combobox/Combobox.types.d.ts +55 -0
- package/dist/src/components/Combobox/MultiCombobox/MultiCombobox.d.ts +6 -0
- package/dist/src/components/Combobox/MultiCombobox/MultiCombobox.types.d.ts +27 -0
- package/dist/src/components/Combobox/components/ComboboxHiddenInput.d.ts +2 -0
- package/dist/src/components/Combobox/components/ComboboxResults.d.ts +2 -0
- package/dist/src/components/Combobox/components/ComboboxResultsDescriptor.d.ts +2 -0
- package/dist/src/components/Combobox/hooks/useComboboxFlags.d.ts +5 -0
- package/dist/src/components/Combobox/hooks/useComboboxInlineCompletion.d.ts +2 -0
- package/dist/src/components/Combobox/index.d.ts +4 -0
- package/dist/src/components/Container/Container.d.ts +2 -0
- package/dist/src/components/Container/Container.types.d.ts +15 -0
- package/dist/src/components/Container/index.d.ts +2 -0
- package/dist/src/components/Divider/Divider.d.ts +2 -0
- package/dist/src/components/Divider/Divider.types.d.ts +17 -0
- package/dist/src/components/Divider/index.d.ts +2 -0
- package/dist/src/components/Expander/Expander.d.ts +2 -0
- package/dist/src/components/Expander/Expander.types.d.ts +39 -0
- package/dist/src/components/Expander/index.d.ts +2 -0
- package/dist/src/components/Field/Field.d.ts +2 -0
- package/dist/src/components/Field/Field.types.d.ts +34 -0
- package/dist/src/components/Field/FieldGroup/FieldGroup.d.ts +2 -0
- package/dist/src/components/Field/FieldGroup/FieldGroup.types.d.ts +15 -0
- package/dist/src/components/Field/components/FieldAppendToLabel.d.ts +2 -0
- package/dist/src/components/Field/components/FieldLegend.d.ts +2 -0
- package/dist/src/components/Field/helpers/getUniqueItemsByKey.d.ts +1 -0
- package/dist/src/components/Field/index.d.ts +4 -0
- package/dist/src/components/Filter/Filter.d.ts +2 -0
- package/dist/src/components/Filter/Filter.types.d.ts +71 -0
- package/dist/src/components/Filter/components/FilterLabel.d.ts +2 -0
- package/dist/src/components/Filter/components/FilterResetButton.d.ts +2 -0
- package/dist/src/components/Filter/components/FilterSearch.d.ts +3 -0
- package/dist/src/components/Filter/hooks/useFilterFlags.d.ts +7 -0
- package/dist/src/components/Filter/index.d.ts +2 -0
- package/dist/src/components/Form/Form.d.ts +11 -0
- package/dist/src/components/Form/Form.types.d.ts +188 -0
- package/dist/src/components/Form/FormContext.d.ts +8 -0
- package/dist/src/components/Form/FormField/FormField.d.ts +7 -0
- package/dist/src/components/Form/FormField/FormField.types.d.ts +111 -0
- package/dist/src/components/Form/FormField/FormFieldset.d.ts +7 -0
- package/dist/src/components/Form/FormField/helpers/getErrorTypeMessage.d.ts +2 -0
- package/dist/src/components/Form/FormField/helpers/transformCustomRulesToValidateRule.d.ts +3 -0
- package/dist/src/components/Form/HookForm/HookForm.d.ts +5 -0
- package/dist/src/components/Form/components/FormValidationSummary.d.ts +5 -0
- package/dist/src/components/Form/hooks/useNoDefaultValueInForms.d.ts +8 -0
- package/dist/src/components/Form/index.d.ts +6 -0
- package/dist/src/components/HeadingWithDeprecatedFallback/HeadingWithDeprecatedFallback.d.ts +10 -0
- package/dist/src/components/Hide/Hide.d.ts +2 -0
- package/dist/src/components/Hide/Hide.types.d.ts +24 -0
- package/dist/src/components/Hide/helpers/composeHideClasses.d.ts +4 -0
- package/dist/src/components/Hide/index.d.ts +2 -0
- package/dist/src/components/Icon/Icon.d.ts +2 -0
- package/dist/src/components/Icon/Icon.types.d.ts +99 -0
- package/dist/src/components/Icon/index.d.ts +2 -0
- package/dist/src/components/Inline/Inline.d.ts +2 -0
- package/dist/src/components/Inline/Inline.types.d.ts +41 -0
- package/dist/src/components/Inline/index.d.ts +2 -0
- package/dist/src/components/Input/ClearButton/ClearButton.d.ts +4 -0
- package/dist/src/components/Input/Input.d.ts +14 -0
- package/dist/src/components/Input/Input.types.d.ts +73 -0
- package/dist/src/components/Input/InputBase/InputBase.d.ts +9 -0
- package/dist/src/components/Input/InputBase/InputBase.types.d.ts +15 -0
- package/dist/src/components/Input/index.d.ts +3 -0
- package/dist/src/components/InputCurrency/InputCurrency.d.ts +3 -0
- package/dist/src/components/InputCurrency/InputCurrency.types.d.ts +23 -0
- package/dist/src/components/InputCurrency/index.d.ts +2 -0
- package/dist/src/components/Label/Label.d.ts +2 -0
- package/dist/src/components/Label/Label.types.d.ts +15 -0
- package/dist/src/components/Label/LabelBase/LabelBase.d.ts +2 -0
- package/dist/src/components/Label/LabelBase/LabelBase.types.d.ts +35 -0
- package/dist/src/components/Label/index.d.ts +2 -0
- package/dist/src/components/Menu/Menu.d.ts +2 -0
- package/dist/src/components/Menu/Menu.types.d.ts +130 -0
- package/dist/src/components/Menu/MenuDivider/MenuDivider.d.ts +2 -0
- package/dist/src/components/Menu/MenuHeading/MenuHeading.d.ts +2 -0
- package/dist/src/components/Menu/MenuItem/MenuItem.d.ts +2 -0
- package/dist/src/components/Menu/MenuItem/MenuItem.types.d.ts +122 -0
- package/dist/src/components/Menu/MenuItem/hooks/useMenuItemAria.d.ts +11 -0
- package/dist/src/components/Menu/MenuItem/hooks/useMenuItemButtonProps.d.ts +14 -0
- package/dist/src/components/Menu/MenuItem/hooks/useMenuItemComposite.d.ts +20 -0
- package/dist/src/components/Menu/MenuItem/hooks/useMenuItemInteractions.d.ts +11 -0
- package/dist/src/components/Menu/MenuItem/hooks/useMenuItemRole.d.ts +9 -0
- package/dist/src/components/Menu/MenuProvider.d.ts +3 -0
- package/dist/src/components/Menu/MenuText/MenuText.d.ts +2 -0
- package/dist/src/components/Menu/helpers/mapMenuItems.d.ts +6 -0
- package/dist/src/components/Menu/hooks/useMenu.d.ts +1 -0
- package/dist/src/components/Menu/hooks/useMenuAria.d.ts +11 -0
- package/dist/src/components/Menu/hooks/useMenuComposite.d.ts +18 -0
- package/dist/src/components/Menu/hooks/useMenuRole.d.ts +12 -0
- package/dist/src/components/Menu/hooks/useMenuStyles.d.ts +11 -0
- package/dist/src/components/Menu/index.d.ts +13 -0
- package/dist/src/components/Modal/Modal.d.ts +2 -0
- package/dist/src/components/Modal/Modal.types.d.ts +105 -0
- package/dist/src/components/Modal/ModalProvider.d.ts +3 -0
- package/dist/src/components/Modal/hooks/useIDSProvidedModal.d.ts +5 -0
- package/dist/src/components/Modal/hooks/useModal.d.ts +3 -0
- package/dist/src/components/Modal/index.d.ts +4 -0
- package/dist/src/components/Navbar/Navbar.d.ts +2 -0
- package/dist/src/components/Navbar/Navbar.types.d.ts +65 -0
- package/dist/src/components/Navbar/components/HomeLinkContent.d.ts +7 -0
- package/dist/src/components/Navbar/components/LogoFromSrc.d.ts +6 -0
- package/dist/src/components/Navbar/components/NavbarLogo.d.ts +8 -0
- package/dist/src/components/Navbar/index.d.ts +2 -0
- package/dist/src/components/Panel/Panel.d.ts +2 -0
- package/dist/src/components/Panel/Panel.types.d.ts +59 -0
- package/dist/src/components/Panel/index.d.ts +2 -0
- package/dist/src/components/Placeholder/Placeholder.d.ts +2 -0
- package/dist/src/components/Placeholder/Placeholder.types.d.ts +24 -0
- package/dist/src/components/Placeholder/index.d.ts +2 -0
- package/dist/src/components/Popover/InputPopover/InputPopover.d.ts +3 -0
- package/dist/src/components/Popover/InputPopover/InputPopover.types.d.ts +26 -0
- package/dist/src/components/Popover/InputPopover/InputPopoverActivator.d.ts +2 -0
- package/dist/src/components/Popover/InputPopover/InputPopoverProvider.d.ts +2 -0
- package/dist/src/components/Popover/Popover.d.ts +2 -0
- package/dist/src/components/Popover/Popover.types.d.ts +178 -0
- package/dist/src/components/Popover/PopoverProvider.d.ts +3 -0
- package/dist/src/components/Popover/components/NestedPopoverActivator.d.ts +5 -0
- package/dist/src/components/Popover/components/PopoverActivator.d.ts +2 -0
- package/dist/src/components/Popover/components/PopoverContent.d.ts +2 -0
- package/dist/src/components/Popover/helpers/composeFloatingProps.d.ts +15 -0
- package/dist/src/components/Popover/helpers/composePopoverWidth.d.ts +2 -0
- package/dist/src/components/Popover/helpers/handlePopoverTabKey.d.ts +8 -0
- package/dist/src/components/Popover/helpers/hasFocus.d.ts +1 -0
- package/dist/src/components/Popover/helpers/waitUntilTrue.d.ts +1 -0
- package/dist/src/components/Popover/hooks/usePopover.d.ts +1 -0
- package/dist/src/components/Popover/hooks/usePopoverActivatorInteractions.d.ts +15 -0
- package/dist/src/components/Popover/hooks/usePopoverAria.d.ts +6 -0
- package/dist/src/components/Popover/hooks/usePopoverImperativeHandle.d.ts +4 -0
- package/dist/src/components/Popover/hooks/usePopoverItem.d.ts +12 -0
- package/dist/src/components/Popover/hooks/usePopoverNavigation.d.ts +16 -0
- package/dist/src/components/Popover/hooks/usePopoverState.d.ts +10 -0
- package/dist/src/components/Popover/index.d.ts +5 -0
- package/dist/src/components/Progress/Progress.d.ts +2 -0
- package/dist/src/components/Progress/Progress.types.d.ts +23 -0
- package/dist/src/components/Progress/index.d.ts +1 -0
- package/dist/src/components/Provider/Provider.d.ts +20 -0
- package/dist/src/components/Provider/index.d.ts +1 -0
- package/dist/src/components/Radio/Radio.d.ts +2 -0
- package/dist/src/components/Radio/Radio.types.d.ts +45 -0
- package/dist/src/components/Radio/helpers/mapRadioGroupOptions.d.ts +5 -0
- package/dist/src/components/Radio/index.d.ts +2 -0
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +7 -0
- package/dist/src/components/RadioGroup/RadioGroup.types.d.ts +70 -0
- package/dist/src/components/RadioGroup/RadioGroupContext.d.ts +2 -0
- package/dist/src/components/RadioGroup/index.d.ts +2 -0
- package/dist/src/components/Readonly/Readonly.d.ts +3 -0
- package/dist/src/components/Readonly/Readonly.types.d.ts +10 -0
- package/dist/src/components/Readonly/index.d.ts +2 -0
- package/dist/src/components/RichSelect/RichSelect.d.ts +2 -0
- package/dist/src/components/RichSelect/RichSelect.types.d.ts +193 -0
- package/dist/src/components/RichSelect/SelectBody/SelectBody.d.ts +2 -0
- package/dist/src/components/RichSelect/SelectBody/SelectBody.types.d.ts +12 -0
- package/dist/src/components/RichSelect/SelectCreate/SelectCreate.d.ts +2 -0
- package/dist/src/components/RichSelect/SelectCreate/SelectCreate.types.d.ts +29 -0
- package/dist/src/components/RichSelect/SelectHeading/SelectHeading.d.ts +2 -0
- package/dist/src/components/RichSelect/SelectHeading/SelectHeading.types.d.ts +17 -0
- package/dist/src/components/RichSelect/SelectLabel/SelectLabel.d.ts +2 -0
- package/dist/src/components/RichSelect/SelectLabel/SelectLabel.types.d.ts +3 -0
- package/dist/src/components/RichSelect/SelectMenu/SelectMenu.d.ts +2 -0
- package/dist/src/components/RichSelect/SelectMenu/SelectMenu.types.d.ts +49 -0
- package/dist/src/components/RichSelect/SelectMenu/SelectMenuItem.d.ts +2 -0
- package/dist/src/components/RichSelect/SelectSearch/SelectSearch.d.ts +2 -0
- package/dist/src/components/RichSelect/SelectSearch/SelectSearch.types.d.ts +2 -0
- package/dist/src/components/RichSelect/SelectSearchInput/SelectSearchInput.d.ts +3 -0
- package/dist/src/components/RichSelect/SelectSearchInput/SelectSearchInput.types.d.ts +18 -0
- package/dist/src/components/RichSelect/SelectTags/SelectTags.d.ts +2 -0
- package/dist/src/components/RichSelect/SelectTags/SelectTags.types.d.ts +27 -0
- package/dist/src/components/RichSelect/components/SelectActivator.d.ts +7 -0
- package/dist/src/components/RichSelect/components/SelectHiddenInput.d.ts +4 -0
- package/dist/src/components/RichSelect/components/SelectOptions.d.ts +8 -0
- package/dist/src/components/RichSelect/hooks/useRichSelectState.d.ts +17 -0
- package/dist/src/components/RichSelect/index.d.ts +19 -0
- package/dist/src/components/Row/Row.d.ts +2 -0
- package/dist/src/components/Row/Row.types.d.ts +42 -0
- package/dist/src/components/Row/index.d.ts +2 -0
- package/dist/src/components/Select/Select.d.ts +2 -0
- package/dist/src/components/Select/Select.types.d.ts +89 -0
- package/dist/src/components/Select/SelectOption/SelectOption.d.ts +2 -0
- package/dist/src/components/Select/components/SelectControl.d.ts +2 -0
- package/dist/src/components/Select/components/SelectReadonly.d.ts +2 -0
- package/dist/src/components/Select/helpers/mapSelectOptions.d.ts +3 -0
- package/dist/src/components/Select/helpers/nodesToSelectOptions.d.ts +11 -0
- package/dist/src/components/Select/index.d.ts +4 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts +2 -0
- package/dist/src/components/Skeleton/Skeleton.types.d.ts +36 -0
- package/dist/src/components/Skeleton/index.d.ts +2 -0
- package/dist/src/components/SkipLink/SkipLink.d.ts +2 -0
- package/dist/src/components/SkipLink/SkipLink.types.d.ts +22 -0
- package/dist/src/components/SkipLink/index.d.ts +2 -0
- package/dist/src/components/Slideout/Slideout.d.ts +2 -0
- package/dist/src/components/Slideout/Slideout.types.d.ts +150 -0
- package/dist/src/components/Slideout/SlideoutProvider.d.ts +3 -0
- package/dist/src/components/Slideout/components/SlideoutInner.d.ts +2 -0
- package/dist/src/components/Slideout/hooks/useIDSProvidedSlideout.d.ts +5 -0
- package/dist/src/components/Slideout/hooks/useSlideout.d.ts +3 -0
- package/dist/src/components/Slideout/index.d.ts +4 -0
- package/dist/src/components/Slider/Slider.d.ts +2 -0
- package/dist/src/components/Slider/Slider.types.d.ts +94 -0
- package/dist/src/components/Slider/components/SliderTicks.d.ts +2 -0
- package/dist/src/components/Slider/index.d.ts +2 -0
- package/dist/src/components/Spinner/Spinner.d.ts +2 -0
- package/dist/src/components/Spinner/Spinner.types.d.ts +13 -0
- package/dist/src/components/Spinner/index.d.ts +2 -0
- package/dist/src/components/Stack/Stack.d.ts +2 -0
- package/dist/src/components/Stack/Stack.types.d.ts +22 -0
- package/dist/src/components/Stack/index.d.ts +2 -0
- package/dist/src/components/TabSet/Tab/Tab.d.ts +2 -0
- package/dist/src/components/TabSet/Tab/Tab.types.d.ts +21 -0
- package/dist/src/components/TabSet/TabSet.d.ts +2 -0
- package/dist/src/components/TabSet/TabSet.types.d.ts +84 -0
- package/dist/src/components/TabSet/TabSetProvider.d.ts +3 -0
- package/dist/src/components/TabSet/components/TabSetItem.d.ts +2 -0
- package/dist/src/components/TabSet/helpers/mapTabs.d.ts +3 -0
- package/dist/src/components/TabSet/hooks/useTabSetItems.d.ts +1 -0
- package/dist/src/components/TabSet/index.d.ts +5 -0
- package/dist/src/components/Table/Table.d.ts +7 -0
- package/dist/src/components/Table/Table.types.d.ts +208 -0
- package/dist/src/components/Table/TableBody/TableBody.d.ts +2 -0
- package/dist/src/components/Table/TableBody/TableBody.types.d.ts +29 -0
- package/dist/src/components/Table/TableContext.d.ts +2 -0
- package/dist/src/components/Table/TableFormattedValue/TableFormattedValue.d.ts +2 -0
- package/dist/src/components/Table/TableFormattedValue/TableFormattedValue.types.d.ts +30 -0
- package/dist/src/components/Table/TableProvider.d.ts +5 -0
- package/dist/src/components/Table/components/TableBodyCell.d.ts +2 -0
- package/dist/src/components/Table/components/TableEmpty.d.ts +2 -0
- package/dist/src/components/Table/components/TableHeader.d.ts +2 -0
- package/dist/src/components/Table/components/TableHeaderCell.d.ts +2 -0
- package/dist/src/components/Table/components/TableRows.d.ts +2 -0
- package/dist/src/components/Table/components/TableSortButton.d.ts +2 -0
- package/dist/src/components/Table/helpers/composeIDSTableColumnDefs.d.ts +2 -0
- package/dist/src/components/Table/helpers/composeIDSTableInitialSorting.d.ts +3 -0
- package/dist/src/components/Table/helpers/findColumnByKey.d.ts +2 -0
- package/dist/src/components/Table/helpers/getFormatFromValue.d.ts +2 -0
- package/dist/src/components/Table/helpers/hasColumns.d.ts +2 -0
- package/dist/src/components/Table/hooks/useIDSTableColumnSort.d.ts +2 -0
- package/dist/src/components/Table/hooks/useIDSTableColumnStyles.d.ts +2 -0
- package/dist/src/components/Table/hooks/useTable.d.ts +1 -0
- package/dist/src/components/Table/index.d.ts +6 -0
- package/dist/src/components/Tag/Tag.d.ts +2 -0
- package/dist/src/components/Tag/Tag.types.d.ts +25 -0
- package/dist/src/components/Tag/TagInput/TagInput.d.ts +3 -0
- package/dist/src/components/Tag/TagInput/TagInput.types.d.ts +21 -0
- package/dist/src/components/Tag/components/TagListInput/TagListInput.d.ts +3 -0
- package/dist/src/components/Tag/components/TagListInput/TagListInput.types.d.ts +45 -0
- package/dist/src/components/Tag/index.d.ts +4 -0
- package/dist/src/components/Text/Text.d.ts +2 -0
- package/dist/src/components/Text/Text.types.d.ts +45 -0
- package/dist/src/components/Text/index.d.ts +2 -0
- package/dist/src/components/Toaster/Toast/Toast.d.ts +3 -0
- package/dist/src/components/Toaster/Toast/Toast.types.d.ts +95 -0
- package/dist/src/components/Toaster/Toast/ToastAnimated.d.ts +2 -0
- package/dist/src/components/Toaster/Toast/ToastIcon.d.ts +6 -0
- package/dist/src/components/Toaster/Toaster.d.ts +2 -0
- package/dist/src/components/Toaster/Toaster.types.d.ts +37 -0
- package/dist/src/components/Toaster/ToasterProvider.d.ts +14 -0
- package/dist/src/components/Toaster/hooks/useToaster.d.ts +9 -0
- package/dist/src/components/Toaster/index.d.ts +5 -0
- package/dist/src/components/Toggle/Toggle.d.ts +2 -0
- package/dist/src/components/Toggle/Toggle.types.d.ts +45 -0
- package/dist/src/components/Toggle/index.d.ts +2 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +2 -0
- package/dist/src/components/Tooltip/Tooltip.types.d.ts +33 -0
- package/dist/src/components/Tooltip/index.d.ts +2 -0
- package/dist/src/components/ValidationMessage/ValidationBase/ValidationBase.d.ts +2 -0
- package/dist/src/components/ValidationMessage/ValidationBase/ValidationBase.types.d.ts +27 -0
- package/dist/src/components/ValidationMessage/ValidationLink/ValidationLink.d.ts +2 -0
- package/dist/src/components/ValidationMessage/ValidationLink/ValidationLink.types.d.ts +12 -0
- package/dist/src/components/ValidationMessage/ValidationMessage.d.ts +2 -0
- package/dist/src/components/ValidationMessage/ValidationMessage.types.d.ts +13 -0
- package/dist/src/components/ValidationMessage/ValidationSummary/ValidationSummary.d.ts +2 -0
- package/dist/src/components/ValidationMessage/ValidationSummary/ValidationSummary.types.d.ts +27 -0
- package/dist/src/components/ValidationMessage/index.d.ts +6 -0
- package/dist/src/constants.d.ts +123 -0
- package/dist/src/enums.d.ts +215 -0
- package/dist/src/helpers/dom/closestCrossShadow.d.ts +9 -0
- package/dist/src/helpers/dom/domUtils.d.ts +5 -0
- package/dist/src/helpers/dom/focusableElements.d.ts +1 -0
- package/dist/src/helpers/dom/getActiveElement.d.ts +1 -0
- package/dist/src/helpers/dom/hasShadowDom.d.ts +1 -0
- package/dist/src/helpers/form/getFormControlValueAsString.d.ts +2 -0
- package/dist/src/helpers/form/getFormControlValueAsStringIfDefined.d.ts +2 -0
- package/dist/src/helpers/form/getValueAsEvent.d.ts +15 -0
- package/dist/src/helpers/form/isValidFormInputElement.d.ts +1 -0
- package/dist/src/helpers/formatting/capitalizeFirstLetter.d.ts +1 -0
- package/dist/src/helpers/formatting/formatCurrency.d.ts +25 -0
- package/dist/src/helpers/formatting/formatDate.d.ts +5 -0
- package/dist/src/helpers/formatting/formatDateTime.d.ts +3 -0
- package/dist/src/helpers/formatting/formatObjectKey.d.ts +1 -0
- package/dist/src/helpers/formatting/formatPercentage.d.ts +1 -0
- package/dist/src/helpers/formatting/stringReplacer.d.ts +2 -0
- package/dist/src/helpers/formatting/toArray.d.ts +1 -0
- package/dist/src/helpers/formatting/toCSSLengthValue.d.ts +1 -0
- package/dist/src/helpers/label-value/composeLabelValueDescriptor.d.ts +9 -0
- package/dist/src/helpers/label-value/getQueryRangeExclusive.d.ts +8 -0
- package/dist/src/helpers/label-value/getValueFromLabelValues.d.ts +2 -0
- package/dist/src/helpers/label-value/highlightQueryInLabel.d.ts +2 -0
- package/dist/src/helpers/label-value/highlightQueryInLabelValue.d.ts +3 -0
- package/dist/src/helpers/label-value/searchLabelValues.d.ts +2 -0
- package/dist/src/helpers/responsive/getResponsiveLayoutModifiers.d.ts +2 -0
- package/dist/src/helpers/responsive/getResponsivePaddingClasses.d.ts +2 -0
- package/dist/src/helpers/transition/getTransitionDuration.d.ts +1 -0
- package/dist/src/helpers/transition/timeStringToNumber.d.ts +1 -0
- package/dist/src/helpers/utility/generateScopedName.d.ts +8 -0
- package/dist/src/helpers/utility/idsLogger.d.ts +3 -0
- package/dist/src/helpers/utility/propagateTestid.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +4 -0
- package/dist/src/hooks/useAriaRelationship.d.ts +11 -0
- package/dist/src/hooks/useBreakpoint.d.ts +11 -0
- package/dist/src/hooks/useControlledState.d.ts +22 -0
- package/dist/src/hooks/useIdIfNeeded.d.ts +2 -0
- package/dist/src/hooks/useResponsiveProps.d.ts +19 -0
- package/dist/src/interfaces.d.ts +68 -0
- package/dist/src/main.d.ts +58 -0
- package/dist/src/patterns/Loading/Loading.d.ts +47 -0
- package/dist/src/patterns/Loading/LoadingSuspense.d.ts +73 -0
- package/dist/src/patterns/Loading/components/ComponentLoading.d.ts +53 -0
- package/dist/src/patterns/Loading/components/DefaultLoading.d.ts +27 -0
- package/dist/src/patterns/Loading/components/LongLoading.d.ts +60 -0
- package/dist/src/patterns/Loading/components/PageLoading.d.ts +41 -0
- package/dist/src/patterns/Loading/components/StartUpLoading.d.ts +67 -0
- package/dist/src/patterns/Loading/components/ValidateLoading.d.ts +38 -0
- package/dist/src/patterns/Loading/hooks/useEstimatedProgressValue.d.ts +11 -0
- package/dist/src/patterns/Loading/hooks/useShouldRenderLoading.d.ts +10 -0
- package/dist/src/patterns/Loading/hooks/useShowIndicator.d.ts +9 -0
- package/dist/src/patterns/Loading/hooks/useSuspenseResource.d.ts +17 -0
- package/dist/src/patterns/Loading/index.d.ts +2 -0
- package/dist/src/types.d.ts +21 -0
- package/dist/style.css +1 -1
- package/dist/{useIDSButtonGroupItem-YYpF5FzH.js → useIDSButtonGroupItem-BB7Moa3N.js} +1 -1
- package/package.json +11 -11
- package/dist/Loading.module-Bpupt31Y.js +0 -13
- package/dist/LogoFromSrc-DIJbLzdF.js +0 -59
- package/dist/MenuItem.module-B77HFe8G.js +0 -24
- package/dist/Popover.module-DsySRqqg.js +0 -11
- package/dist/TabSet.module-D1hz6nN2.js +0 -13
- package/dist/Table.module-DotXvwJq.js +0 -32
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { ReactElement, MutableRefObject, PropsWithChildren } from 'react';
|
|
2
|
+
import { DisplayMode, FloatingUIAlign } from '../../enums';
|
|
3
|
+
import { IressHTMLAttributes } from '../../interfaces';
|
|
4
|
+
import { ElementProps, OpenChangeReason, UseFloatingReturn, useInteractions } from '@floating-ui/react';
|
|
5
|
+
import { DisplayModes, FloatingUIAligns, FloatingUIContainer } from '../../types';
|
|
6
|
+
export interface IressPopoverProps extends IressHTMLAttributes {
|
|
7
|
+
/**
|
|
8
|
+
* Content for an activator element, usually an `IressButton`.
|
|
9
|
+
*/
|
|
10
|
+
activator: PopoverActivatorProps['children'];
|
|
11
|
+
/**
|
|
12
|
+
* Sets the alignment of the popover relative to the activator element.
|
|
13
|
+
* @default auto
|
|
14
|
+
*/
|
|
15
|
+
align?: FloatingUIAlign | FloatingUIAligns;
|
|
16
|
+
/**
|
|
17
|
+
* The content to render within the popover.
|
|
18
|
+
*/
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* The container element to render the popover into.
|
|
22
|
+
* By default, the popover will render where its parent is rendered.
|
|
23
|
+
*
|
|
24
|
+
* **Note:** If the `container` doesn’t exist when the popover is mounted, ensure you pass an element directly (not a ref) and specify null as the default value before it is set. This lets it wait for the root to be available. For example, if you reference the parent element of a popover.
|
|
25
|
+
*/
|
|
26
|
+
container?: FloatingUIContainer;
|
|
27
|
+
/**
|
|
28
|
+
* Class name of the popover content
|
|
29
|
+
*/
|
|
30
|
+
contentClassName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* When set to `true` the popover will be visible by default. Use for uncontrolled popovers.
|
|
33
|
+
*/
|
|
34
|
+
defaultShow?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* When set to `true`, popover toggling can only be done through the toggle method on the `ref`.
|
|
37
|
+
* @deprecated Use a controlled `show` prop instead.
|
|
38
|
+
*/
|
|
39
|
+
disabledAutoToggle?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Sets the display mode of popover.
|
|
42
|
+
* @default overlay
|
|
43
|
+
*/
|
|
44
|
+
displayMode?: DisplayMode | DisplayModes;
|
|
45
|
+
/**
|
|
46
|
+
* Which index to start the focus on when the popover is opened. Only works with `type` listbox and menu.
|
|
47
|
+
* Note: The index must exist in the list of items, otherwise it will not work.
|
|
48
|
+
* @default 0
|
|
49
|
+
*/
|
|
50
|
+
focusStartIndex?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Sets the popover to match the width of the activator.
|
|
53
|
+
* Note: This only works when `displayMode="overlay"`.
|
|
54
|
+
*/
|
|
55
|
+
matchActivatorWidth?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Is called when popover is activated.
|
|
58
|
+
*/
|
|
59
|
+
onActivated?: (e?: Event, reason?: OpenChangeReason, activeIndex?: number | null) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Is called when popover is deactivated.
|
|
62
|
+
*/
|
|
63
|
+
onDeactivated?: (e?: Event, reason?: OpenChangeReason, activeIndex?: number | null) => void;
|
|
64
|
+
/**
|
|
65
|
+
* Is called when registered popover items are navigated using arrow keys. Only works with `type` listbox and menu.
|
|
66
|
+
*/
|
|
67
|
+
onNavigate?: (activeIndex: number | null) => void;
|
|
68
|
+
/**
|
|
69
|
+
* When set to `true` the modal will be visible. Use for controlled popovers.
|
|
70
|
+
*/
|
|
71
|
+
show?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Describes the type of content contained in the popover.
|
|
74
|
+
*/
|
|
75
|
+
type?: PopoverType | PopoverTypes;
|
|
76
|
+
/**
|
|
77
|
+
* Sets the width of the popover
|
|
78
|
+
* @deprecated use the `--iress-max-width` design token instead.
|
|
79
|
+
*/
|
|
80
|
+
width?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Whether the focus is virtual (using `aria-activedescendant`).
|
|
83
|
+
* Use this if you need focus to remain on the reference element (such as an input), but allow arrow keys to navigate items.
|
|
84
|
+
* Note: This is only applicable when type is set to: `listbox` or `menu`, and only works out of the box with `IressMenu` and its subcomponents.
|
|
85
|
+
* @default false
|
|
86
|
+
*/
|
|
87
|
+
virtualFocus?: boolean;
|
|
88
|
+
}
|
|
89
|
+
export interface PopoverActivatorProps extends IressHTMLAttributes {
|
|
90
|
+
children?: ReactElement;
|
|
91
|
+
}
|
|
92
|
+
export interface PopoverContentProps extends IressHTMLAttributes {
|
|
93
|
+
container?: FloatingUIContainer;
|
|
94
|
+
displayMode?: DisplayModes;
|
|
95
|
+
virtualFocus?: boolean;
|
|
96
|
+
}
|
|
97
|
+
export interface PopoverStateHookProps {
|
|
98
|
+
defaultShow?: boolean;
|
|
99
|
+
show?: boolean;
|
|
100
|
+
}
|
|
101
|
+
export interface PopoverStateHookReturn {
|
|
102
|
+
hasInnerRole: () => boolean;
|
|
103
|
+
isControlled: boolean;
|
|
104
|
+
setShow: (flag?: boolean) => void;
|
|
105
|
+
setHasInnerRole: (flag: boolean) => void;
|
|
106
|
+
show: boolean;
|
|
107
|
+
}
|
|
108
|
+
export interface PopoverAriaHookReturn {
|
|
109
|
+
getAriaControls: () => string[];
|
|
110
|
+
toggleAriaControls: (id: string, addOrRemove?: boolean) => void;
|
|
111
|
+
}
|
|
112
|
+
export interface PopoverItemHookReturn {
|
|
113
|
+
isActiveInPopover?: boolean;
|
|
114
|
+
id: string;
|
|
115
|
+
ref?: (node: HTMLElement | null) => void;
|
|
116
|
+
tabIndex?: number;
|
|
117
|
+
}
|
|
118
|
+
export interface PopoverNavigationHookReturn {
|
|
119
|
+
activeIndex: number | null;
|
|
120
|
+
list: React.MutableRefObject<(HTMLElement | null)[]>;
|
|
121
|
+
listNav: ElementProps;
|
|
122
|
+
setActiveIndex: (value: number | null) => void;
|
|
123
|
+
}
|
|
124
|
+
export interface PopoverProviderProps extends PropsWithChildren, PopoverStateHookProps {
|
|
125
|
+
align: FloatingUIAligns;
|
|
126
|
+
autoHighlight?: boolean;
|
|
127
|
+
disabledAutoToggle?: boolean;
|
|
128
|
+
focusStartIndex?: number;
|
|
129
|
+
matchActivatorWidth?: boolean;
|
|
130
|
+
onActivated?: (e?: Event, reason?: OpenChangeReason, activeIndex?: number | null) => void;
|
|
131
|
+
onDeactivated?: (e?: Event, reason?: OpenChangeReason, activeIndex?: number | null) => void;
|
|
132
|
+
onNavigate?: (activeIndex: number | null) => void;
|
|
133
|
+
type?: PopoverTypes;
|
|
134
|
+
virtualFocus?: boolean;
|
|
135
|
+
}
|
|
136
|
+
export interface PopoverContextValue extends PopoverStateHookReturn, PopoverAriaHookReturn {
|
|
137
|
+
activeIndex: number | null;
|
|
138
|
+
api: UseFloatingReturn;
|
|
139
|
+
disabledAutoToggle?: boolean;
|
|
140
|
+
getVirtualFocus?: () => PopoverVirtualNode | null;
|
|
141
|
+
getFocusableActivator: () => HTMLElement | undefined;
|
|
142
|
+
interactions: ReturnType<typeof useInteractions>;
|
|
143
|
+
list: MutableRefObject<(HTMLElement | null)[]>;
|
|
144
|
+
type?: PopoverTypes;
|
|
145
|
+
resetActiveIndex: () => void;
|
|
146
|
+
setActiveIndex: (value: number | null) => void;
|
|
147
|
+
setShowWithReason: (flag: boolean, e?: Event, reason?: OpenChangeReason) => void;
|
|
148
|
+
setVirtualFocus?: (node: PopoverVirtualNode | null) => void;
|
|
149
|
+
}
|
|
150
|
+
export interface PopoverRef extends Pick<PopoverContextValue, 'setShow' | 'show'>, Pick<PopoverAriaHookReturn, 'toggleAriaControls'> {
|
|
151
|
+
getActivator: () => HTMLElement | null;
|
|
152
|
+
getFocusableActivator?: () => HTMLElement | undefined;
|
|
153
|
+
getContent: () => HTMLElement | null;
|
|
154
|
+
}
|
|
155
|
+
export interface PopoverVirtualNode {
|
|
156
|
+
onBlur?: React.KeyboardEventHandler<HTMLElement>;
|
|
157
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLElement>, popover?: PopoverContextValue) => void;
|
|
158
|
+
}
|
|
159
|
+
/** @deprecated PopoverType enum is now deprecated and will be removed in a future version. Please use the PopoverTypes type instead. **/
|
|
160
|
+
export declare enum PopoverType {
|
|
161
|
+
Menu = "menu",
|
|
162
|
+
Listbox = "listbox",
|
|
163
|
+
Tree = "tree",
|
|
164
|
+
Grid = "grid",
|
|
165
|
+
Dialog = "dialog"
|
|
166
|
+
}
|
|
167
|
+
export declare const POPOVER_TYPES: readonly ["menu", "listbox", "tree", "grid", "dialog"];
|
|
168
|
+
export type PopoverTypes = (typeof POPOVER_TYPES)[number];
|
|
169
|
+
export declare const POPOVER_USE_MAX_HEIGHT = 200;
|
|
170
|
+
export declare enum PopoverCssClass {
|
|
171
|
+
Active = "iress--popover-active"
|
|
172
|
+
}
|
|
173
|
+
export interface PopoverWithEnums extends React.ForwardRefExoticComponent<IressPopoverProps & React.RefAttributes<PopoverRef>> {
|
|
174
|
+
/** @deprecated IressPopover.Align is now deprecated and will be removed in a future version. Please use the value directly instead. **/
|
|
175
|
+
Align: typeof FloatingUIAlign;
|
|
176
|
+
/** @deprecated IressPopover.Type is now deprecated and will be removed in a future version. Please use the value directly instead. **/
|
|
177
|
+
Type: typeof PopoverType;
|
|
178
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PopoverContextValue, PopoverProviderProps, PopoverRef } from './Popover.types';
|
|
2
|
+
export declare const PopoverContext: import('react').Context<PopoverContextValue | undefined>;
|
|
3
|
+
export declare const PopoverProvider: import('react').ForwardRefExoticComponent<PopoverProviderProps & import('react').RefAttributes<PopoverRef>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { PopoverContextValue } from '../Popover.types';
|
|
3
|
+
export declare const NestedPopoverActivator: ({ children, parentPopover, }: PropsWithChildren & {
|
|
4
|
+
parentPopover?: PopoverContextValue;
|
|
5
|
+
}) => string | number | boolean | Iterable<import('react').ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PopoverContextValue } from '../Popover.types';
|
|
3
|
+
import { DisplayModes, IressHTMLAttributes } from '../../../main';
|
|
4
|
+
/**
|
|
5
|
+
* This adds additional props to the Floating UI floatingProps to better suit the requirements of IressPopover.
|
|
6
|
+
* Some are slight tweaks to the UX to ensure it behaves according to IDS standards, as well as fix some issues found when using Floating UI.
|
|
7
|
+
*
|
|
8
|
+
* See: https://floating-ui.com/docs/useFloating#floatingstyles
|
|
9
|
+
*
|
|
10
|
+
* @param {PopoverContextValue} popover the popover context
|
|
11
|
+
* @param {DisplayModes} displayMode how the content is to be displayed, whether inline (static, underneath activator) or overlay (floating, anchored to the activator)
|
|
12
|
+
* @param {React.CSSProperties} style any custom styles for the popover, it will be appended to the Floating UI styles
|
|
13
|
+
* @returns {IressHTMLAttributes} the props to be passed to the floating content
|
|
14
|
+
*/
|
|
15
|
+
export declare const composePopoverFloatingProps: (popover: PopoverContextValue, displayMode?: DisplayModes, style?: React.CSSProperties) => IressHTMLAttributes;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PopoverContextValue } from '../Popover.types';
|
|
2
|
+
import { KeyboardEvent } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* This helper function is used to handle the tab key press event when the popover is open, as Floating UI sometimes does not focus on the next element when the user tabs from the popover contents.
|
|
5
|
+
* @param popover {PopoverContextValue} The popover context value, usually retrieved from the usePopover hook.
|
|
6
|
+
* @param e {KeyboardEvent} The keyboard event object that triggered the tab key press.
|
|
7
|
+
*/
|
|
8
|
+
export declare const handlePopoverTabKey: (popover: PopoverContextValue, e: KeyboardEvent) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const hasFocus: (el: HTMLElement) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const waitUntilTrue: (condition: () => boolean, timeout?: number, interval?: number) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const usePopover: () => import('..').PopoverContextValue | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HTMLAttributes, KeyboardEvent, FocusEvent } from 'react';
|
|
2
|
+
import { PopoverContextValue } from '../Popover.types';
|
|
3
|
+
import { IressHTMLAttributes } from '../../../main';
|
|
4
|
+
/**
|
|
5
|
+
* This adds additional props to the activator to handle keyboard interactions with a virtually focused item.
|
|
6
|
+
*
|
|
7
|
+
* @param {PopoverContextValue} popover the popover context
|
|
8
|
+
* @param {HTMLAttributes<HTMLElement>} referenceProps the props of the activator, allowing them to be drilled down to the virtual reference
|
|
9
|
+
*
|
|
10
|
+
* @returns {IressHTMLAttributes} the props to be passed to the floating content
|
|
11
|
+
*/
|
|
12
|
+
export declare const usePopoverActivatorInteractions: <TElement extends HTMLElement = HTMLElement, TProps extends HTMLAttributes<TElement> = IressHTMLAttributes<TElement>>(popover?: PopoverContextValue, referenceProps?: TProps) => {
|
|
13
|
+
onBlur: (e: FocusEvent<TElement>) => void;
|
|
14
|
+
onKeyDown: (e: KeyboardEvent<TElement>) => void;
|
|
15
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PopoverAriaHookReturn } from '../Popover.types';
|
|
2
|
+
/**
|
|
3
|
+
* This is a hook that manages the aria controls for the popover, allowing the popover activator to control multiple items.
|
|
4
|
+
* @returns getAriaControls and toggleAriaControls functions
|
|
5
|
+
*/
|
|
6
|
+
export declare function usePopoverAria(): PopoverAriaHookReturn;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ForwardedRef } from 'react';
|
|
2
|
+
import { PopoverAriaHookReturn, PopoverContextValue, PopoverRef, PopoverStateHookReturn } from '../Popover.types';
|
|
3
|
+
import { UseFloatingReturn } from '@floating-ui/react';
|
|
4
|
+
export declare const usePopoverImperativeHandle: (ref: ForwardedRef<PopoverRef>, api: UseFloatingReturn, aria: PopoverAriaHookReturn, state: PopoverStateHookReturn, context?: PopoverContextValue) => void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PopoverItemHookReturn, PopoverVirtualNode } from '../Popover.types';
|
|
2
|
+
/**
|
|
3
|
+
* This is a wrapper around the useListItem hook from Floating UI, which is used to manage the focus state of the popover items.
|
|
4
|
+
* It provides the necessary props to the popover items to manage their focus state, and sets virtual focus if required.
|
|
5
|
+
*
|
|
6
|
+
* See: https://floating-ui.com/docs/FloatingList#uselistitem
|
|
7
|
+
*
|
|
8
|
+
* @param {string} typeAheadLabel the label to be used when the user is typing to navigate the activator (currently unused in IDS)
|
|
9
|
+
* @param {PopoverVirtualNode | null} virtualNode the virtual node to use when the item is focused. This contains some interactions to emulate keydown and blur on the popover item.
|
|
10
|
+
* @returns {IressHTMLAttributes} the props to be passed to the floating content
|
|
11
|
+
*/
|
|
12
|
+
export declare const usePopoverItem: (typeAheadLabel?: string, virtualNode?: PopoverVirtualNode | null) => PopoverItemHookReturn;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FloatingContext, UseListNavigationProps, VirtualElement } from '@floating-ui/react';
|
|
2
|
+
import { PopoverNavigationHookReturn, PopoverTypes } from '../Popover.types';
|
|
3
|
+
/**
|
|
4
|
+
* This is a wrapper around the useListNavigation hook from Floating UI, which is used to manage the keyboard navigation of popover items.
|
|
5
|
+
* It stores the active index of the popover items, and provides the necessary props to the popover context to manage the focus state of the popover items.
|
|
6
|
+
*
|
|
7
|
+
* See: https://floating-ui.com/docs/useListNavigation
|
|
8
|
+
*
|
|
9
|
+
* @param {FloatingContext<RT>} context the popover context
|
|
10
|
+
* @param {PopoverTypes} type the type of popover, whether it is a menu, listbox, etc.
|
|
11
|
+
* @param {Partial<UseListNavigationProps>} props props that are passed to the useListNavigation hook
|
|
12
|
+
* @param {(activeIndex: number | null) => void} onNavigate called when the useListNavigation onNavigate is called
|
|
13
|
+
* @param {number} startIndex Which index to start the focus on when the popover is opened. The index must exist in the list of items, otherwise it will not work.
|
|
14
|
+
* @returns {PopoverNavigationHookReturn} activeIndex setters, and the list and listProps passed to other Floating UI hooks
|
|
15
|
+
*/
|
|
16
|
+
export declare const usePopoverNavigation: <RT extends VirtualElement = HTMLButtonElement>(context: FloatingContext<RT>, type?: PopoverTypes, props?: Partial<UseListNavigationProps>, onNavigate?: (activeIndex: number | null) => void, startIndex?: number) => PopoverNavigationHookReturn;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PopoverStateHookProps, PopoverStateHookReturn } from '../Popover.types';
|
|
2
|
+
/**
|
|
3
|
+
* This stores the popover states into its own hook, and manages the controlled state of the popover.
|
|
4
|
+
* - hasInnerRole: whether the popover has an inner role. If there is an inner role that matches popover, the popover itself will render with no role.
|
|
5
|
+
* - show: whether the popover is open or not. this can be controlled/uncontrolled.
|
|
6
|
+
*
|
|
7
|
+
* @param {PopoverStateHookProps} props initial props passed by the consumer. This will set whether the popover is controlled or not.
|
|
8
|
+
* @returns hasInnerRole, isControlled, setShow, setHasInnerRole, show
|
|
9
|
+
*/
|
|
10
|
+
export declare const usePopoverState: ({ defaultShow, show: showProp, }: PopoverStateHookProps) => PopoverStateHookReturn;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IressHTMLAttributes } from '../../interfaces';
|
|
2
|
+
export interface IressProgressProps extends IressHTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* The maximum value of the progress indicator.
|
|
5
|
+
* @default 100
|
|
6
|
+
**/
|
|
7
|
+
max?: number;
|
|
8
|
+
/**
|
|
9
|
+
* The minimum value of the progress indicator.
|
|
10
|
+
* @default 0
|
|
11
|
+
**/
|
|
12
|
+
min?: number;
|
|
13
|
+
/**
|
|
14
|
+
* The text that is announced by the screen reader. Should contain a description of the section the progress is being measured for. You can use {{current}} and {{max}} as string replacers for the current value and maximum value respectively..
|
|
15
|
+
* @default "Progress is {{current}} of {{max}}"
|
|
16
|
+
*/
|
|
17
|
+
sectionTitle?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The current value of the progress indicator.
|
|
20
|
+
* @default 0
|
|
21
|
+
**/
|
|
22
|
+
value?: number;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IressProgress } from './Progress';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FloatingUIContainer } from '../../types';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { IressToasterProviderProps } from '../Toaster';
|
|
4
|
+
import { IressSlideoutProviderProps } from '../Slideout';
|
|
5
|
+
export interface IressProviderProps extends Pick<IressSlideoutProviderProps, 'injectPushStyles'>, Pick<IressToasterProviderProps, 'position'> {
|
|
6
|
+
/**
|
|
7
|
+
* The contents of your application, and/or the components which will be calling slideouts, modals and toasts.
|
|
8
|
+
*/
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* Container to render modal, slideouts and toasts into.
|
|
12
|
+
* If not provided, will render into the body of the document.
|
|
13
|
+
*/
|
|
14
|
+
container?: FloatingUIContainer;
|
|
15
|
+
/**
|
|
16
|
+
* If you don't want to load the Iress Icon CSS from the CDN, set this to true.
|
|
17
|
+
*/
|
|
18
|
+
noIcons?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare const IressProvider: ({ children, container, injectPushStyles, noIcons, position, ...restProps }: IressProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Provider';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IressInputHTMLAttributes } from '../../interfaces';
|
|
3
|
+
import { FormControlValue } from '../../types';
|
|
4
|
+
export interface IressRadioProps extends Omit<IressInputHTMLAttributes<HTMLInputElement>, 'defaultValue' | 'value'> {
|
|
5
|
+
/**
|
|
6
|
+
* Sets the checked state of the radio.
|
|
7
|
+
* If it is within a radio group, it will be overridden by the radio group's value
|
|
8
|
+
* and whether it matches this radio's value.
|
|
9
|
+
*/
|
|
10
|
+
checked?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Label of the radio
|
|
13
|
+
*/
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Sets whether the control is hidden. If it is within a radio group,
|
|
17
|
+
* it will be overridden with the radio group's hiddenControl setting.
|
|
18
|
+
*/
|
|
19
|
+
hiddenControl?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Sets the name attribute on the radio input. If it is within a radio group,
|
|
22
|
+
* it will be overridden with the radio group's name.
|
|
23
|
+
*/
|
|
24
|
+
name?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Handles the onChange event of the radio input.
|
|
27
|
+
* If you pass in a non-string value, you can access it using the second parameter of the function.
|
|
28
|
+
*/
|
|
29
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue) => void;
|
|
30
|
+
/**
|
|
31
|
+
* If `true`, the radio is a required field and will be validated as such.
|
|
32
|
+
* If it is within a radio group, it will be overridden with the radio group's
|
|
33
|
+
* required state.
|
|
34
|
+
*/
|
|
35
|
+
required?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The value which is submitted with the form data when this radio button is checked.
|
|
38
|
+
* To set this radio as checked by default, use the `checked` property.
|
|
39
|
+
*/
|
|
40
|
+
value?: FormControlValue;
|
|
41
|
+
/**
|
|
42
|
+
* Add the button-like border and padding to radio when `touch` is true.
|
|
43
|
+
*/
|
|
44
|
+
touch?: boolean;
|
|
45
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { LabelValue } from '../../../interfaces';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated This function has been deprecated and will be removed in a future version of IDS, please map and render the items array directly in your application instead
|
|
4
|
+
*/
|
|
5
|
+
export declare const mapRadioGroupOptions: (items: LabelValue[]) => React.ReactNode[] | null;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RadioGroupWithEnums } from './RadioGroup.types';
|
|
2
|
+
/**
|
|
3
|
+
* Determines whether the RadioGroup's onBlur handler should fire.
|
|
4
|
+
* Returns false if focus stays inside the group, true otherwise.
|
|
5
|
+
*/
|
|
6
|
+
export declare function shouldFireRadioGroupBlur(radioGroupElement: HTMLElement | null, newFocusTarget: Node | null, eventTarget: EventTarget | null): boolean;
|
|
7
|
+
export declare const IressRadioGroup: RadioGroupWithEnums;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IressHTMLAttributes } from '../../interfaces';
|
|
3
|
+
import { FormControlValue } from '../../types';
|
|
4
|
+
export interface IressRadioGroupProps extends Omit<IressHTMLAttributes, 'onChange' | 'defaultValue'> {
|
|
5
|
+
/**
|
|
6
|
+
* Content of the radio group, usually multiple `IressRadio` components.
|
|
7
|
+
*/
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Hides the radio control to allow the creation of custom radio buttons.
|
|
11
|
+
*/
|
|
12
|
+
hiddenRadio?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Sets which of the block / inline layout options apply.
|
|
15
|
+
* @default 'stack'
|
|
16
|
+
*/
|
|
17
|
+
layout?: RadioGroupLayout | RadioGroupLayouts;
|
|
18
|
+
/**
|
|
19
|
+
* Name to be applied to all radios in the group.
|
|
20
|
+
*/
|
|
21
|
+
name?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Called when a user selects one of its children radio buttons.
|
|
24
|
+
* If you pass in a non-string value, you can access it using the second parameter of the function.
|
|
25
|
+
*/
|
|
26
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue) => void;
|
|
27
|
+
/**
|
|
28
|
+
* When true, marks the field as required
|
|
29
|
+
*/
|
|
30
|
+
required?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Initial value of radio group when in uncontrolled mode.
|
|
33
|
+
*/
|
|
34
|
+
defaultValue?: FormControlValue;
|
|
35
|
+
/**
|
|
36
|
+
* Renders a readonly radio group.
|
|
37
|
+
*/
|
|
38
|
+
readonly?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Value of radio group when in controlled mode.
|
|
41
|
+
*/
|
|
42
|
+
value?: FormControlValue;
|
|
43
|
+
/**
|
|
44
|
+
* Add the button-like border and padding to radio when `touch` is true.
|
|
45
|
+
*/
|
|
46
|
+
touch?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export type RadioGroupContextValue = Pick<IressRadioGroupProps, 'name' | 'value' | 'hiddenRadio' | 'required' | 'onChange' | 'readonly' | 'touch'>;
|
|
49
|
+
export interface RadioGroupRef {
|
|
50
|
+
input?: HTMLDivElement | null;
|
|
51
|
+
reset: () => void;
|
|
52
|
+
focus: () => void;
|
|
53
|
+
blur: () => void;
|
|
54
|
+
}
|
|
55
|
+
export interface RadioGroupWithEnums extends React.ForwardRefExoticComponent<IressRadioGroupProps & React.RefAttributes<HTMLElement>> {
|
|
56
|
+
/** @deprecated IressRadioGroup.Layout will be removed in future versions of IDS. Please use the value directly. */
|
|
57
|
+
Layout: typeof RadioGroupLayout;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @deprecated The RadioGroupLayout enum will be removed in future versions of IDS. Please use the value directly.
|
|
61
|
+
*/
|
|
62
|
+
export declare enum RadioGroupLayout {
|
|
63
|
+
Stack = "stack",
|
|
64
|
+
Block = "block",
|
|
65
|
+
Inline = "inline",
|
|
66
|
+
InlineFlex = "inlineFlex",
|
|
67
|
+
InlineEqualWidth = "inlineEqualWidth"
|
|
68
|
+
}
|
|
69
|
+
export declare const RADIO_GROUP_LAYOUTS: readonly ["stack", "block", "inline", "inlineFlex", "inlineEqualWidth"];
|
|
70
|
+
export type RadioGroupLayouts = (typeof RADIO_GROUP_LAYOUTS)[number];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IressInputProps } from '../Input';
|
|
3
|
+
import { FormControlValue } from '../../types';
|
|
4
|
+
export interface IressReadonlyProps<T extends FormControlValue = FormControlValue> extends Omit<IressInputProps<T>, 'clearable' | 'onClear' | 'onChange' | 'onInput' | 'placeholder' | 'rows'> {
|
|
5
|
+
/**
|
|
6
|
+
* The formatted value. If not provided, the value will be displayed.
|
|
7
|
+
*/
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
inline?: boolean;
|
|
10
|
+
}
|