@audira/carbon-react-native 1.0.0-beta.4 → 1.0.0-beta.6
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/lib/commonjs/_internal/contexts/button-group/ButtonGroupContext.js +1 -1
- package/lib/commonjs/_internal/contexts/global-config/GlobalConfigContext.js +1 -1
- package/lib/commonjs/_internal/contexts/modal/ModalContext.js +1 -1
- package/lib/commonjs/_internal/style-sheets/common-style-sheet.js +6 -6
- package/lib/commonjs/_internal/style-sheets/flex-style-sheet.js +23 -23
- package/lib/commonjs/_internal/style-sheets/text-style-sheet.js +14 -14
- package/lib/commonjs/carbon-react-native/CarbonReactNative.js +1 -1
- package/lib/commonjs/carbon-style-sheet/breakpoint.js +5 -5
- package/lib/commonjs/carbon-style-sheet/create.js +5 -5
- package/lib/commonjs/components/accordion/Accordion.js +6 -6
- package/lib/commonjs/components/accordion/_Header.js +7 -7
- package/lib/commonjs/components/accordion/_Item.js +3 -3
- package/lib/commonjs/components/accordion/_chevron/Chevron.js +1 -1
- package/lib/commonjs/components/accordion/_styles.js +1 -1
- package/lib/commonjs/components/button/base/Base.js +16 -16
- package/lib/commonjs/components/button/base-color/BaseColor.js +5 -5
- package/lib/commonjs/components/button/ghost/Ghost.js +2 -2
- package/lib/commonjs/components/button/ghost-danger/GhostDanger.js +1 -1
- package/lib/commonjs/components/button/ghost-icon/GhostIcon.js +3 -3
- package/lib/commonjs/components/button/tertiary/Tertiary.js +2 -2
- package/lib/commonjs/components/button/tertiary-danger/TertiaryDanger.js +3 -3
- package/lib/commonjs/components/button-group/ButtonGroup.js +4 -4
- package/lib/commonjs/components/checkbox/Checkbox.js +7 -7
- package/lib/commonjs/components/checkbox-group/CheckboxGroup.js +6 -6
- package/lib/commonjs/components/checkbox-input/CheckboxInput.js +11 -11
- package/lib/commonjs/components/checkbox-input/CheckboxInput.js.map +1 -1
- package/lib/commonjs/components/collapsible/Collapsible.js +7 -7
- package/lib/commonjs/components/form-helper-text/FormHelperText.js +2 -2
- package/lib/commonjs/components/form-label/FormLabel.js +2 -2
- package/lib/commonjs/components/icon/Icon.js +5 -5
- package/lib/commonjs/components/icon/Icon.js.map +1 -1
- package/lib/commonjs/components/inline-loading/InlineLoading.js +6 -6
- package/lib/commonjs/components/loading/Loading.js +2 -2
- package/lib/commonjs/components/loading/_circular-progress/CircularProgress.js +3 -3
- package/lib/commonjs/components/modal/Modal.js +39 -39
- package/lib/commonjs/components/modal-content/ModalContent.js +11 -11
- package/lib/commonjs/components/notification/_status-hooks/_base/useBase.js +3 -3
- package/lib/commonjs/components/notification/_variant-context.js +1 -1
- package/lib/commonjs/components/notification/_variants/_ButtonGhost.js +3 -3
- package/lib/commonjs/components/notification/_variants/_ButtonTertiary.js +3 -3
- package/lib/commonjs/components/notification/_variants/actionable/ActionableVariant.js +1 -1
- package/lib/commonjs/components/notification/_variants/actionable-inline/ActionableInlineVariant.js +1 -1
- package/lib/commonjs/components/notification/_variants/callout/CalloutVariant.js +1 -1
- package/lib/commonjs/components/notification/_variants/callout-inline/CalloutInlineVariant.js +1 -1
- package/lib/commonjs/components/notification/_variants/toast/ToastVariant.js +5 -5
- package/lib/commonjs/components/notification/base/Base.js +12 -12
- package/lib/commonjs/components/radio-button/RadioButton.js +7 -7
- package/lib/commonjs/components/radio-button-group/RadioButtonGroup.js +10 -10
- package/lib/commonjs/components/radio-button-group/_Item.js +1 -1
- package/lib/commonjs/components/radio-button-input/RadioButtonInput.js +8 -8
- package/lib/commonjs/components/radio-button-input/RadioButtonInput.js.map +1 -1
- package/lib/commonjs/components/switch/Switch.js +11 -11
- package/lib/commonjs/components/switch/Switch.js.map +1 -1
- package/lib/commonjs/components/text/Text.js +4 -1
- package/lib/commonjs/components/text/Text.js.map +1 -1
- package/lib/commonjs/components/text-area/TextArea.js +2 -2
- package/lib/commonjs/components/text-area-field/TextAreaField.js +3 -3
- package/lib/commonjs/components/text-area-fluid/TextAreaFluid.js +3 -3
- package/lib/commonjs/components/text-input/TextInput.js +3 -3
- package/lib/commonjs/components/text-input-field/TextInputField.js +10 -10
- package/lib/commonjs/components/text-input-field/_rn-text-input/RNTextInput.js +8 -8
- package/lib/commonjs/components/text-input-fluid/TextInputFluid.js +3 -3
- package/lib/commonjs/components/toggle/base/Base.js +9 -9
- package/lib/commonjs/components/toggle/default/Default.js +1 -1
- package/lib/commonjs/components/toggle/small/Small.js +1 -1
- package/lib/commonjs/contexts/breakpoint/BreakpointContext.js +1 -1
- package/lib/commonjs/contexts/dialog/DialogContext.js +1 -1
- package/lib/commonjs/contexts/toast/ToastContext.js +2 -2
- package/lib/commonjs/helpers/breakpoint/get-token.js +1 -1
- package/lib/commonjs/helpers/color/get-color-scheme.js +3 -3
- package/lib/commonjs/helpers/color/get-color-token.js +2 -2
- package/lib/commonjs/providers/dialog/_controller/Controller.js +1 -1
- package/lib/commonjs/providers/dialog/_controller/_overlay/Overlay.js +2 -2
- package/lib/commonjs/providers/toast/_overlay/Overlay.js +2 -3
- package/lib/commonjs/providers/toast/_overlay/Overlay.js.map +1 -1
- package/lib/commonjs/providers/toast/_overlay/_component-wrapper/ComponentWrapper.js +4 -4
- package/lib/module/_internal/contexts/button-group/ButtonGroupContext.js +2 -2
- package/lib/module/_internal/contexts/global-config/GlobalConfigContext.js +2 -2
- package/lib/module/_internal/contexts/modal/ModalContext.js +2 -2
- package/lib/module/_internal/providers/breakpoint/BreakpointProvider.js +1 -1
- package/lib/module/_internal/providers/theme/ThemeProvider.js +1 -1
- package/lib/module/_internal/style-sheets/common-style-sheet.js +7 -7
- package/lib/module/_internal/style-sheets/flex-style-sheet.js +24 -24
- package/lib/module/_internal/style-sheets/text-style-sheet.js +15 -15
- package/lib/module/carbon-react-native/CarbonReactNative.js +1 -1
- package/lib/module/carbon-style-sheet/breakpoint.js +5 -5
- package/lib/module/carbon-style-sheet/color.js +1 -1
- package/lib/module/carbon-style-sheet/create.js +7 -7
- package/lib/module/carbon-style-sheet/index.js +1 -1
- package/lib/module/carbon-style-sheet/use.js +1 -1
- package/lib/module/components/accordion/Accordion.js +8 -8
- package/lib/module/components/accordion/_Header.js +10 -10
- package/lib/module/components/accordion/_HeaderBorder.js +3 -3
- package/lib/module/components/accordion/_Item.js +6 -6
- package/lib/module/components/accordion/_chevron/Chevron.js +4 -4
- package/lib/module/components/accordion/_context.js +1 -1
- package/lib/module/components/accordion/_motion.js +2 -2
- package/lib/module/components/accordion/_styles.js +3 -3
- package/lib/module/components/button/base/Base.js +19 -19
- package/lib/module/components/button/base-color/BaseColor.js +8 -8
- package/lib/module/components/button/ghost/Ghost.js +5 -5
- package/lib/module/components/button/ghost-danger/GhostDanger.js +4 -4
- package/lib/module/components/button/ghost-icon/GhostIcon.js +6 -6
- package/lib/module/components/button/primary/Primary.js +2 -2
- package/lib/module/components/button/primary-danger/PrimaryDanger.js +2 -2
- package/lib/module/components/button/secondary/Secondary.js +2 -2
- package/lib/module/components/button/tertiary/Tertiary.js +5 -5
- package/lib/module/components/button/tertiary-danger/TertiaryDanger.js +6 -6
- package/lib/module/components/button-group/ButtonGroup.js +7 -7
- package/lib/module/components/checkbox/Checkbox.js +10 -10
- package/lib/module/components/checkbox-group/CheckboxGroup.js +11 -11
- package/lib/module/components/checkbox-input/CheckboxInput.js +16 -16
- package/lib/module/components/checkbox-input/CheckboxInput.js.map +1 -1
- package/lib/module/components/collapsible/Collapsible.js +10 -10
- package/lib/module/components/form-helper-text/FormHelperText.js +4 -4
- package/lib/module/components/form-label/FormLabel.js +4 -4
- package/lib/module/components/icon/Icon.js +8 -8
- package/lib/module/components/icon/Icon.js.map +1 -1
- package/lib/module/components/inline-loading/InlineLoading.js +11 -11
- package/lib/module/components/layer/Layer.js +3 -3
- package/lib/module/components/layer/LayerContext.js +1 -1
- package/lib/module/components/loading/Loading.js +5 -5
- package/lib/module/components/loading/_circular-progress/CircularProgress.js +5 -5
- package/lib/module/components/loading/_map-circle-background-color.js +1 -1
- package/lib/module/components/loading/_map-circle-stroke-color.js +1 -1
- package/lib/module/components/modal/Modal.js +43 -43
- package/lib/module/components/modal-content/ModalContent.js +14 -14
- package/lib/module/components/notification/_VariantContextProvider.js +1 -1
- package/lib/module/components/notification/_status-hooks/_base/useBase.js +5 -5
- package/lib/module/components/notification/_status-hooks/error/useError.js +3 -3
- package/lib/module/components/notification/_status-hooks/informational/useInformational.js +3 -3
- package/lib/module/components/notification/_status-hooks/success/useSuccess.js +3 -3
- package/lib/module/components/notification/_status-hooks/warning/useWarning.js +3 -3
- package/lib/module/components/notification/_variant-context.js +2 -2
- package/lib/module/components/notification/_variants/_ButtonGhost.js +6 -6
- package/lib/module/components/notification/_variants/_ButtonTertiary.js +6 -6
- package/lib/module/components/notification/_variants/actionable/ActionableVariant.js +2 -2
- package/lib/module/components/notification/_variants/actionable-inline/ActionableInlineVariant.js +2 -2
- package/lib/module/components/notification/_variants/callout/CalloutVariant.js +2 -2
- package/lib/module/components/notification/_variants/callout-inline/CalloutInlineVariant.js +2 -2
- package/lib/module/components/notification/_variants/toast/ToastVariant.js +8 -8
- package/lib/module/components/notification/actionable/error/Error.js +1 -1
- package/lib/module/components/notification/actionable/informational/Informational.js +1 -1
- package/lib/module/components/notification/actionable/success/Success.js +1 -1
- package/lib/module/components/notification/actionable/warning/Warning.js +1 -1
- package/lib/module/components/notification/actionable-inline/error/Error.js +1 -1
- package/lib/module/components/notification/actionable-inline/informational/Informational.js +1 -1
- package/lib/module/components/notification/actionable-inline/success/Success.js +1 -1
- package/lib/module/components/notification/actionable-inline/warning/Warning.js +1 -1
- package/lib/module/components/notification/base/Base.js +16 -16
- package/lib/module/components/notification/callout/error/Error.js +1 -1
- package/lib/module/components/notification/callout/informational/Informational.js +1 -1
- package/lib/module/components/notification/callout/success/Success.js +1 -1
- package/lib/module/components/notification/callout/warning/Warning.js +1 -1
- package/lib/module/components/notification/callout-inline/error/Error.js +1 -1
- package/lib/module/components/notification/callout-inline/informational/Informational.js +1 -1
- package/lib/module/components/notification/callout-inline/success/Success.js +1 -1
- package/lib/module/components/notification/callout-inline/warning/Warning.js +1 -1
- package/lib/module/components/notification/subtitle/Subtitle.js +1 -1
- package/lib/module/components/notification/subtitle-link/SubtitleLink.js +1 -1
- package/lib/module/components/notification/toast/error/Error.js +1 -1
- package/lib/module/components/notification/toast/informational/Informational.js +1 -1
- package/lib/module/components/notification/toast/success/Success.js +1 -1
- package/lib/module/components/notification/toast/warning/Warning.js +1 -1
- package/lib/module/components/radio-button/RadioButton.js +10 -10
- package/lib/module/components/radio-button-group/RadioButtonGroup.js +15 -15
- package/lib/module/components/radio-button-group/_Item.js +2 -2
- package/lib/module/components/radio-button-group/_item-context.js +1 -1
- package/lib/module/components/radio-button-input/RadioButtonInput.js +10 -10
- package/lib/module/components/radio-button-input/RadioButtonInput.js.map +1 -1
- package/lib/module/components/switch/Switch.js +15 -15
- package/lib/module/components/switch/Switch.js.map +1 -1
- package/lib/module/components/text/Text.js +7 -4
- package/lib/module/components/text/Text.js.map +1 -1
- package/lib/module/components/text-area/TextArea.js +5 -5
- package/lib/module/components/text-area-field/TextAreaField.js +6 -6
- package/lib/module/components/text-area-fluid/TextAreaFluid.js +8 -8
- package/lib/module/components/text-input/TextInput.js +6 -6
- package/lib/module/components/text-input-field/TextInputField.js +15 -15
- package/lib/module/components/text-input-field/_rn-text-input/RNTextInput.js +11 -11
- package/lib/module/components/text-input-fluid/TextInputFluid.js +8 -8
- package/lib/module/components/toggle/base/Base.js +12 -12
- package/lib/module/components/toggle/default/Default.js +2 -2
- package/lib/module/components/toggle/small/Small.js +2 -2
- package/lib/module/const/dialog-animation-configs/carbon-react.js +2 -2
- package/lib/module/const/dialog-animation-configs/fade-bottom-up-2.js +2 -2
- package/lib/module/const/dialog-animation-configs/fade-bottom-up.js +2 -2
- package/lib/module/contexts/breakpoint/BreakpointContext.js +3 -3
- package/lib/module/contexts/dialog/DialogContext.js +2 -2
- package/lib/module/contexts/theme/ThemeContext.js +1 -1
- package/lib/module/contexts/toast/ToastContext.js +3 -3
- package/lib/module/helpers/breakpoint/get-token.js +2 -2
- package/lib/module/helpers/color/get-color-scheme.js +4 -4
- package/lib/module/helpers/color/get-color-token.js +2 -2
- package/lib/module/hooks/breakpoint/use.js +2 -2
- package/lib/module/providers/dialog/DialogProvider.js +1 -1
- package/lib/module/providers/dialog/_controller/Controller.js +3 -3
- package/lib/module/providers/dialog/_controller/_modal/Modal.js +2 -2
- package/lib/module/providers/dialog/_controller/_overlay/Overlay.js +4 -4
- package/lib/module/providers/toast/ToastProvider.js +1 -1
- package/lib/module/providers/toast/_overlay/Overlay.js +5 -6
- package/lib/module/providers/toast/_overlay/Overlay.js.map +1 -1
- package/lib/module/providers/toast/_overlay/_component-wrapper/ComponentWrapper.js +7 -7
- package/lib/typescript/commonjs/_internal/contexts/button-group/ButtonGroupContext.d.ts +4 -4
- package/lib/typescript/commonjs/_internal/contexts/button-group/index.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/contexts/global-config/GlobalConfigContext.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/contexts/global-config/index.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/contexts/index.d.ts +3 -3
- package/lib/typescript/commonjs/_internal/contexts/modal/ModalContext.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/contexts/modal/index.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/globals/breakpoint/index.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/globals/index.d.ts +2 -2
- package/lib/typescript/commonjs/_internal/helpers/index.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/helpers/math/index.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/providers/breakpoint/BreakpointProvider.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/providers/breakpoint/index.d.ts +2 -2
- package/lib/typescript/commonjs/_internal/providers/global-config/GlobalConfigProvider.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/providers/global-config/GlobalConfigProviderProps.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/providers/global-config/index.d.ts +2 -2
- package/lib/typescript/commonjs/_internal/providers/index.d.ts +3 -3
- package/lib/typescript/commonjs/_internal/providers/theme/ThemeProvider.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/providers/theme/ThemeProviderProps.d.ts +2 -2
- package/lib/typescript/commonjs/_internal/providers/theme/index.d.ts +2 -2
- package/lib/typescript/commonjs/_internal/style-sheets/index.d.ts +3 -3
- package/lib/typescript/commonjs/carbon-react-native/CarbonReactNative.d.ts +1 -1
- package/lib/typescript/commonjs/carbon-react-native/CarbonReactNativeProps.d.ts +1 -1
- package/lib/typescript/commonjs/carbon-react-native/index.d.ts +2 -2
- package/lib/typescript/commonjs/carbon-style-sheet/color.d.ts +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/create.d.ts +2 -2
- package/lib/typescript/commonjs/carbon-style-sheet/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/accordion/Accordion.d.ts +2 -2
- package/lib/typescript/commonjs/components/accordion/AccordionHeaderProps.d.ts +3 -3
- package/lib/typescript/commonjs/components/accordion/AccordionItemProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/accordion/AccordionItemRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/accordion/AccordionProps.d.ts +3 -3
- package/lib/typescript/commonjs/components/accordion/AccordionRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/accordion/AccordionSize.d.ts +1 -1
- package/lib/typescript/commonjs/components/accordion/_Header.d.ts +1 -1
- package/lib/typescript/commonjs/components/accordion/_HeaderBorder.d.ts +2 -2
- package/lib/typescript/commonjs/components/accordion/_Item.d.ts +2 -2
- package/lib/typescript/commonjs/components/accordion/_chevron/Chevron.d.ts +1 -1
- package/lib/typescript/commonjs/components/accordion/_chevron/ChevronProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/accordion/_chevron/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/accordion/_context.d.ts +5 -5
- package/lib/typescript/commonjs/components/accordion/_motion.d.ts +2 -2
- package/lib/typescript/commonjs/components/accordion/index.d.ts +7 -7
- package/lib/typescript/commonjs/components/button/Size.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/base/Base.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/base/BaseProps.d.ts +11 -11
- package/lib/typescript/commonjs/components/button/base/BaseRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/base/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/button/base-color/BaseColor.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/base-color/BaseColorProps.d.ts +5 -5
- package/lib/typescript/commonjs/components/button/base-color/BaseColorRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/base-color/BaseColorState.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/base-color/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/button/ghost/Ghost.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/ghost/GhostProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/ghost/GhostRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/ghost/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/button/ghost-danger/GhostDanger.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/ghost-danger/GhostDangerProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/ghost-danger/GhostDangerRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/ghost-danger/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/button/ghost-icon/GhostIcon.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/ghost-icon/GhostIconProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/button/ghost-icon/GhostIconRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/ghost-icon/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/button/index.d.ts +11 -11
- package/lib/typescript/commonjs/components/button/primary/Primary.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/primary/PrimaryProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/primary/PrimaryRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/primary/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/button/primary-danger/PrimaryDanger.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/primary-danger/PrimaryDangerProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/primary-danger/PrimaryDangerRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/primary-danger/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/button/secondary/Secondary.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/secondary/SecondaryProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/secondary/SecondaryRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/secondary/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/button/tertiary/Tertiary.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/tertiary/TertiaryProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/tertiary/TertiaryRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/tertiary/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/button/tertiary-danger/TertiaryDanger.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/tertiary-danger/TertiaryDangerProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/button/tertiary-danger/TertiaryDangerRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/button/tertiary-danger/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/button-group/ButtonGroup.d.ts +2 -2
- package/lib/typescript/commonjs/components/button-group/ButtonGroupProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/button-group/ButtonGroupRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/button-group/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/checkbox/Checkbox.d.ts +2 -2
- package/lib/typescript/commonjs/components/checkbox/CheckboxProps.d.ts +13 -13
- package/lib/typescript/commonjs/components/checkbox/CheckboxRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/checkbox/_RefBase.d.ts +3 -3
- package/lib/typescript/commonjs/components/checkbox/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/checkbox-group/CheckboxGroup.d.ts +2 -2
- package/lib/typescript/commonjs/components/checkbox-group/CheckboxGroupHelperTextMode.d.ts +1 -1
- package/lib/typescript/commonjs/components/checkbox-group/CheckboxGroupProps.d.ts +5 -5
- package/lib/typescript/commonjs/components/checkbox-group/CheckboxGroupRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/checkbox-group/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/checkbox-input/CheckboxInput.d.ts +2 -2
- package/lib/typescript/commonjs/components/checkbox-input/CheckboxInputInteractiveState.d.ts +1 -1
- package/lib/typescript/commonjs/components/checkbox-input/CheckboxInputProps.d.ts +5 -5
- package/lib/typescript/commonjs/components/checkbox-input/CheckboxInputRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/checkbox-input/_RefBase.d.ts +1 -1
- package/lib/typescript/commonjs/components/checkbox-input/index.d.ts +5 -5
- package/lib/typescript/commonjs/components/collapsible/Collapsible.d.ts +2 -2
- package/lib/typescript/commonjs/components/collapsible/CollapsibleProps.d.ts +3 -3
- package/lib/typescript/commonjs/components/collapsible/CollapsibleRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/collapsible/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/form-helper-text/FormHelperText.d.ts +2 -2
- package/lib/typescript/commonjs/components/form-helper-text/FormHelperTextProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/form-helper-text/FormHelperTextRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/form-helper-text/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/form-label/FormLabel.d.ts +2 -2
- package/lib/typescript/commonjs/components/form-label/FormLabelProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/form-label/FormLabelRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/form-label/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/icon/Icon.d.ts +2 -2
- package/lib/typescript/commonjs/components/icon/IconProps.d.ts +3 -3
- package/lib/typescript/commonjs/components/icon/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/index.d.ts +28 -28
- package/lib/typescript/commonjs/components/inline-loading/InlineLoading.d.ts +2 -2
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingProps.d.ts +5 -5
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/inline-loading/InlineLoadingState.d.ts +1 -1
- package/lib/typescript/commonjs/components/inline-loading/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/layer/Layer.d.ts +2 -2
- package/lib/typescript/commonjs/components/layer/LayerProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/layer/LayerRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/layer/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/loading/Loading.d.ts +2 -2
- package/lib/typescript/commonjs/components/loading/LoadingProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/loading/LoadingRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/loading/LoadingType.d.ts +1 -1
- package/lib/typescript/commonjs/components/loading/_circular-progress/CircularProgress.d.ts +2 -2
- package/lib/typescript/commonjs/components/loading/_circular-progress/CircularProgressProps.d.ts +3 -3
- package/lib/typescript/commonjs/components/loading/_circular-progress/index.d.ts +2 -2
- package/lib/typescript/commonjs/components/loading/_map-circle-background-color.d.ts +3 -3
- package/lib/typescript/commonjs/components/loading/_map-circle-stroke-color.d.ts +2 -2
- package/lib/typescript/commonjs/components/loading/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/modal/Modal.d.ts +2 -2
- package/lib/typescript/commonjs/components/modal/ModalProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/modal/ModalRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/modal/ModalSize.d.ts +1 -1
- package/lib/typescript/commonjs/components/modal/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/modal-content/ModalContent.d.ts +2 -2
- package/lib/typescript/commonjs/components/modal-content/ModalContentProps.d.ts +1 -1
- package/lib/typescript/commonjs/components/modal-content/ModalContentRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/modal-content/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/NotificationColor.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/_VariantContextProvider.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/_status-hooks/_base/UseBaseData.d.ts +6 -6
- package/lib/typescript/commonjs/components/notification/_status-hooks/_base/UseBaseProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/_status-hooks/_base/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/_base/useBase.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/_status-hooks/error/UseErrorData.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/error/UseErrorProps.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/error/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/error/useError.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/_status-hooks/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/_status-hooks/informational/UseInformationalData.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/informational/UseInformationalProps.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/informational/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/informational/useInformational.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/_status-hooks/success/UseSuccessData.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/success/UseSuccessProps.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/success/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/success/useSuccess.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/_status-hooks/warning/UseWarningData.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/warning/UseWarningProps.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/warning/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_status-hooks/warning/useWarning.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/_variant-context.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/_variants/_ButtonGhost.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/_variants/_ButtonTertiary.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/_variants/actionable/ActionableVariant.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/_variants/actionable/ActionableVariantProps.d.ts +8 -8
- package/lib/typescript/commonjs/components/notification/_variants/actionable/ActionableVariantRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/_variants/actionable/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_variants/actionable-inline/ActionableInlineVariant.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/_variants/actionable-inline/ActionableInlineVariantProps.d.ts +8 -8
- package/lib/typescript/commonjs/components/notification/_variants/actionable-inline/ActionableInlineVariantRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/_variants/actionable-inline/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_variants/callout/CalloutVariant.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/_variants/callout/CalloutVariantProps.d.ts +6 -6
- package/lib/typescript/commonjs/components/notification/_variants/callout/CalloutVariantRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/_variants/callout/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_variants/callout-inline/CalloutInlineVariant.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/_variants/callout-inline/CalloutInlineVariantProps.d.ts +6 -6
- package/lib/typescript/commonjs/components/notification/_variants/callout-inline/CalloutInlineVariantRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/_variants/callout-inline/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/_variants/index.d.ts +5 -5
- package/lib/typescript/commonjs/components/notification/_variants/toast/ToastVariant.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/_variants/toast/ToastVariantProps.d.ts +6 -6
- package/lib/typescript/commonjs/components/notification/_variants/toast/ToastVariantRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/_variants/toast/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/actionable/error/Error.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/actionable/error/ErrorProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/actionable/error/ErrorRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/actionable/error/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/actionable/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/actionable/informational/Informational.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/actionable/informational/InformationalProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/actionable/informational/InformationalRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/actionable/informational/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/actionable/success/Success.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/actionable/success/SuccessProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/actionable/success/SuccessRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/actionable/success/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/actionable/warning/Warning.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/actionable/warning/WarningProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/actionable/warning/WarningRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/actionable/warning/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/actionable-inline/error/Error.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/actionable-inline/error/ErrorProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/actionable-inline/error/ErrorRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/actionable-inline/error/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/actionable-inline/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/actionable-inline/informational/Informational.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/actionable-inline/informational/InformationalProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/actionable-inline/informational/InformationalRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/actionable-inline/informational/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/actionable-inline/success/Success.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/actionable-inline/success/SuccessProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/actionable-inline/success/SuccessRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/actionable-inline/success/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/actionable-inline/warning/Warning.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/actionable-inline/warning/WarningProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/actionable-inline/warning/WarningRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/actionable-inline/warning/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/base/Base.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/base/BaseProps.d.ts +16 -16
- package/lib/typescript/commonjs/components/notification/base/BaseRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/base/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/callout/error/Error.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/callout/error/ErrorProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/callout/error/ErrorRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/callout/error/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/callout/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/callout/informational/Informational.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/callout/informational/InformationalProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/callout/informational/InformationalRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/callout/informational/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/callout/success/Success.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/callout/success/SuccessProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/callout/success/SuccessRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/callout/success/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/callout/warning/Warning.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/callout/warning/WarningProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/callout/warning/WarningRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/callout/warning/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/callout-inline/error/Error.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/callout-inline/error/ErrorProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/callout-inline/error/ErrorRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/callout-inline/error/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/callout-inline/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/callout-inline/informational/Informational.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/callout-inline/informational/InformationalProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/callout-inline/informational/InformationalRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/callout-inline/informational/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/callout-inline/success/Success.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/callout-inline/success/SuccessProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/callout-inline/success/SuccessRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/callout-inline/success/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/callout-inline/warning/Warning.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/callout-inline/warning/WarningProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/callout-inline/warning/WarningRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/callout-inline/warning/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/index.d.ts +9 -9
- package/lib/typescript/commonjs/components/notification/subtitle/Subtitle.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/subtitle/SubtitleProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/subtitle/SubtitleRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/subtitle/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/subtitle-link/SubtitleLink.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/subtitle-link/SubtitleLinkProps.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/subtitle-link/SubtitleLinkRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/subtitle-link/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/toast/error/Error.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/toast/error/ErrorProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/toast/error/ErrorRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/toast/error/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/toast/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/toast/informational/Informational.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/toast/informational/InformationalProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/toast/informational/InformationalRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/toast/informational/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/toast/success/Success.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/toast/success/SuccessProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/toast/success/SuccessRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/toast/success/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/notification/toast/warning/Warning.d.ts +2 -2
- package/lib/typescript/commonjs/components/notification/toast/warning/WarningProps.d.ts +4 -4
- package/lib/typescript/commonjs/components/notification/toast/warning/WarningRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/notification/toast/warning/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/radio-button/RadioButton.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button/RadioButtonProps.d.ts +12 -12
- package/lib/typescript/commonjs/components/radio-button/RadioButtonRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button/_RefBase.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroup.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroupHelperTextMode.d.ts +1 -1
- package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroupItemProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroupItemRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroupProps.d.ts +9 -9
- package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroupRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button-group/_Item.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button-group/_RefBase.d.ts +3 -3
- package/lib/typescript/commonjs/components/radio-button-group/_item-context.d.ts +4 -4
- package/lib/typescript/commonjs/components/radio-button-group/index.d.ts +6 -6
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInput.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputInteractiveState.d.ts +1 -1
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputProps.d.ts +5 -5
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button-input/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/switch/Switch.d.ts +2 -2
- package/lib/typescript/commonjs/components/switch/SwitchProps.d.ts +7 -7
- package/lib/typescript/commonjs/components/switch/SwitchRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/switch/SwitchSize.d.ts +1 -1
- package/lib/typescript/commonjs/components/switch/SwitchState.d.ts +1 -1
- package/lib/typescript/commonjs/components/switch/index.d.ts +5 -5
- package/lib/typescript/commonjs/components/text/Text.d.ts +2 -2
- package/lib/typescript/commonjs/components/text/TextProps.d.ts +3 -3
- package/lib/typescript/commonjs/components/text/TextRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/text/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/text-area/TextArea.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-area/TextAreaProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-area/TextAreaRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-area/_TextAreaRefBase.d.ts +1 -1
- package/lib/typescript/commonjs/components/text-area/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/text-area-field/TextAreaField.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-area-field/TextAreaFieldInteractiveState.d.ts +1 -1
- package/lib/typescript/commonjs/components/text-area-field/TextAreaFieldProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-area-field/TextAreaFieldRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/text-area-field/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/text-area-fluid/TextAreaFluid.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-area-fluid/TextAreaFluidProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-area-fluid/TextAreaFluidRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/text-area-fluid/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/text-input/TextInput.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-input/TextInputProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-input/TextInputRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-input/TextInputSize.d.ts +1 -1
- package/lib/typescript/commonjs/components/text-input/_TextInputRefBase.d.ts +1 -1
- package/lib/typescript/commonjs/components/text-input/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/text-input-field/TextInputField.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-input-field/TextInputFieldInteractiveState.d.ts +1 -1
- package/lib/typescript/commonjs/components/text-input-field/TextInputFieldProps.d.ts +6 -6
- package/lib/typescript/commonjs/components/text-input-field/TextInputFieldRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/text-input-field/TextInputFieldSize.d.ts +1 -1
- package/lib/typescript/commonjs/components/text-input-field/_rn-text-input/RNTextInput.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-input-field/_rn-text-input/RNTextInputProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-input-field/_rn-text-input/RNTextInputRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/text-input-field/_rn-text-input/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/text-input-field/index.d.ts +5 -5
- package/lib/typescript/commonjs/components/text-input-fluid/TextInputFluid.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-input-fluid/TextInputFluidProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/text-input-fluid/TextInputFluidRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/text-input-fluid/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/toggle/State.d.ts +1 -1
- package/lib/typescript/commonjs/components/toggle/base/Base.d.ts +2 -2
- package/lib/typescript/commonjs/components/toggle/base/BaseProps.d.ts +12 -12
- package/lib/typescript/commonjs/components/toggle/base/BaseRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/toggle/base/_RefBase.d.ts +3 -3
- package/lib/typescript/commonjs/components/toggle/base/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/toggle/default/Default.d.ts +2 -2
- package/lib/typescript/commonjs/components/toggle/default/DefaultProps.d.ts +3 -3
- package/lib/typescript/commonjs/components/toggle/default/DefaultRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/toggle/default/index.d.ts +3 -3
- package/lib/typescript/commonjs/components/toggle/index.d.ts +4 -4
- package/lib/typescript/commonjs/components/toggle/small/Small.d.ts +2 -2
- package/lib/typescript/commonjs/components/toggle/small/SmallProps.d.ts +3 -3
- package/lib/typescript/commonjs/components/toggle/small/SmallRef.d.ts +1 -1
- package/lib/typescript/commonjs/components/toggle/small/index.d.ts +3 -3
- package/lib/typescript/commonjs/const/dialog-animation-configs/index.d.ts +3 -3
- package/lib/typescript/commonjs/const/index.d.ts +1 -1
- package/lib/typescript/commonjs/contexts/breakpoint/BreakpointContext.d.ts +1 -1
- package/lib/typescript/commonjs/contexts/breakpoint/index.d.ts +1 -1
- package/lib/typescript/commonjs/contexts/dialog/DialogContext.d.ts +1 -1
- package/lib/typescript/commonjs/contexts/dialog/DialogType.d.ts +1 -0
- package/lib/typescript/commonjs/contexts/dialog/DialogType.d.ts.map +1 -1
- package/lib/typescript/commonjs/contexts/dialog/index.d.ts +2 -2
- package/lib/typescript/commonjs/contexts/index.d.ts +4 -4
- package/lib/typescript/commonjs/contexts/theme/ThemeContext.d.ts +1 -1
- package/lib/typescript/commonjs/contexts/theme/index.d.ts +1 -1
- package/lib/typescript/commonjs/contexts/toast/ToastContext.d.ts +1 -1
- package/lib/typescript/commonjs/contexts/toast/index.d.ts +2 -2
- package/lib/typescript/commonjs/helpers/breakpoint/get-token.d.ts +1 -1
- package/lib/typescript/commonjs/helpers/breakpoint/index.d.ts +1 -1
- package/lib/typescript/commonjs/helpers/color/get-color-scheme.d.ts +2 -2
- package/lib/typescript/commonjs/helpers/color/get-color-token.d.ts +2 -2
- package/lib/typescript/commonjs/helpers/color/index.d.ts +3 -3
- package/lib/typescript/commonjs/helpers/index.d.ts +2 -2
- package/lib/typescript/commonjs/hooks/breakpoint/index.d.ts +1 -1
- package/lib/typescript/commonjs/hooks/breakpoint/use.d.ts +1 -1
- package/lib/typescript/commonjs/hooks/index.d.ts +2 -2
- package/lib/typescript/commonjs/index.d.ts +9 -9
- package/lib/typescript/commonjs/providers/dialog/DialogProvider.d.ts +2 -2
- package/lib/typescript/commonjs/providers/dialog/DialogProviderAnimationConfig.d.ts +1 -1
- package/lib/typescript/commonjs/providers/dialog/DialogProviderProps.d.ts +5 -5
- package/lib/typescript/commonjs/providers/dialog/DialogProviderRef.d.ts +1 -1
- package/lib/typescript/commonjs/providers/dialog/_controller/Controller.d.ts +2 -2
- package/lib/typescript/commonjs/providers/dialog/_controller/ControllerProps.d.ts +2 -2
- package/lib/typescript/commonjs/providers/dialog/_controller/ControllerRef.d.ts +1 -1
- package/lib/typescript/commonjs/providers/dialog/_controller/_modal/Modal.d.ts +2 -2
- package/lib/typescript/commonjs/providers/dialog/_controller/_modal/ModalProps.d.ts +2 -2
- package/lib/typescript/commonjs/providers/dialog/_controller/_modal/ModalRef.d.ts +1 -1
- package/lib/typescript/commonjs/providers/dialog/_controller/_modal/index.d.ts +3 -3
- package/lib/typescript/commonjs/providers/dialog/_controller/_overlay/Overlay.d.ts +2 -2
- package/lib/typescript/commonjs/providers/dialog/_controller/_overlay/OverlayProps.d.ts +1 -1
- package/lib/typescript/commonjs/providers/dialog/_controller/_overlay/OverlayRef.d.ts +2 -2
- package/lib/typescript/commonjs/providers/dialog/_controller/_overlay/index.d.ts +3 -3
- package/lib/typescript/commonjs/providers/dialog/_controller/index.d.ts +3 -3
- package/lib/typescript/commonjs/providers/dialog/index.d.ts +4 -4
- package/lib/typescript/commonjs/providers/index.d.ts +2 -2
- package/lib/typescript/commonjs/providers/toast/ToastProvider.d.ts +2 -2
- package/lib/typescript/commonjs/providers/toast/ToastRef.d.ts +1 -1
- package/lib/typescript/commonjs/providers/toast/_overlay/Overlay.d.ts +1 -1
- package/lib/typescript/commonjs/providers/toast/_overlay/OverlayRef.d.ts +1 -1
- package/lib/typescript/commonjs/providers/toast/_overlay/_component-wrapper/ComponentWrapper.d.ts +2 -2
- package/lib/typescript/commonjs/providers/toast/_overlay/_component-wrapper/ComponentWrapperProps.d.ts +1 -1
- package/lib/typescript/commonjs/providers/toast/_overlay/_component-wrapper/index.d.ts +3 -3
- package/lib/typescript/commonjs/providers/toast/_overlay/index.d.ts +2 -2
- package/lib/typescript/commonjs/providers/toast/index.d.ts +3 -3
- package/lib/typescript/commonjs/types/index.d.ts +2 -2
- package/lib/typescript/commonjs/types/theme/ColorScheme.d.ts +1 -1
- package/lib/typescript/commonjs/types/theme/index.d.ts +1 -1
- package/lib/typescript/module/_internal/contexts/button-group/ButtonGroupContext.d.ts +4 -4
- package/lib/typescript/module/_internal/contexts/button-group/index.d.ts +1 -1
- package/lib/typescript/module/_internal/contexts/global-config/GlobalConfigContext.d.ts +1 -1
- package/lib/typescript/module/_internal/contexts/global-config/index.d.ts +1 -1
- package/lib/typescript/module/_internal/contexts/index.d.ts +3 -3
- package/lib/typescript/module/_internal/contexts/modal/ModalContext.d.ts +1 -1
- package/lib/typescript/module/_internal/contexts/modal/index.d.ts +1 -1
- package/lib/typescript/module/_internal/globals/breakpoint/index.d.ts +1 -1
- package/lib/typescript/module/_internal/globals/index.d.ts +2 -2
- package/lib/typescript/module/_internal/helpers/index.d.ts +1 -1
- package/lib/typescript/module/_internal/helpers/math/index.d.ts +1 -1
- package/lib/typescript/module/_internal/providers/breakpoint/BreakpointProvider.d.ts +1 -1
- package/lib/typescript/module/_internal/providers/breakpoint/index.d.ts +2 -2
- package/lib/typescript/module/_internal/providers/global-config/GlobalConfigProvider.d.ts +1 -1
- package/lib/typescript/module/_internal/providers/global-config/GlobalConfigProviderProps.d.ts +1 -1
- package/lib/typescript/module/_internal/providers/global-config/index.d.ts +2 -2
- package/lib/typescript/module/_internal/providers/index.d.ts +3 -3
- package/lib/typescript/module/_internal/providers/theme/ThemeProvider.d.ts +1 -1
- package/lib/typescript/module/_internal/providers/theme/ThemeProviderProps.d.ts +2 -2
- package/lib/typescript/module/_internal/providers/theme/index.d.ts +2 -2
- package/lib/typescript/module/_internal/style-sheets/index.d.ts +3 -3
- package/lib/typescript/module/carbon-react-native/CarbonReactNative.d.ts +1 -1
- package/lib/typescript/module/carbon-react-native/CarbonReactNativeProps.d.ts +1 -1
- package/lib/typescript/module/carbon-react-native/index.d.ts +2 -2
- package/lib/typescript/module/carbon-style-sheet/color.d.ts +1 -1
- package/lib/typescript/module/carbon-style-sheet/create.d.ts +2 -2
- package/lib/typescript/module/carbon-style-sheet/index.d.ts +3 -3
- package/lib/typescript/module/components/accordion/Accordion.d.ts +2 -2
- package/lib/typescript/module/components/accordion/AccordionHeaderProps.d.ts +3 -3
- package/lib/typescript/module/components/accordion/AccordionItemProps.d.ts +4 -4
- package/lib/typescript/module/components/accordion/AccordionItemRef.d.ts +2 -2
- package/lib/typescript/module/components/accordion/AccordionProps.d.ts +3 -3
- package/lib/typescript/module/components/accordion/AccordionRef.d.ts +1 -1
- package/lib/typescript/module/components/accordion/AccordionSize.d.ts +1 -1
- package/lib/typescript/module/components/accordion/_Header.d.ts +1 -1
- package/lib/typescript/module/components/accordion/_HeaderBorder.d.ts +2 -2
- package/lib/typescript/module/components/accordion/_Item.d.ts +2 -2
- package/lib/typescript/module/components/accordion/_chevron/Chevron.d.ts +1 -1
- package/lib/typescript/module/components/accordion/_chevron/ChevronProps.d.ts +2 -2
- package/lib/typescript/module/components/accordion/_chevron/index.d.ts +2 -2
- package/lib/typescript/module/components/accordion/_context.d.ts +5 -5
- package/lib/typescript/module/components/accordion/_motion.d.ts +2 -2
- package/lib/typescript/module/components/accordion/index.d.ts +7 -7
- package/lib/typescript/module/components/button/Size.d.ts +1 -1
- package/lib/typescript/module/components/button/base/Base.d.ts +2 -2
- package/lib/typescript/module/components/button/base/BaseProps.d.ts +11 -11
- package/lib/typescript/module/components/button/base/BaseRef.d.ts +1 -1
- package/lib/typescript/module/components/button/base/index.d.ts +3 -3
- package/lib/typescript/module/components/button/base-color/BaseColor.d.ts +2 -2
- package/lib/typescript/module/components/button/base-color/BaseColorProps.d.ts +5 -5
- package/lib/typescript/module/components/button/base-color/BaseColorRef.d.ts +1 -1
- package/lib/typescript/module/components/button/base-color/BaseColorState.d.ts +1 -1
- package/lib/typescript/module/components/button/base-color/index.d.ts +4 -4
- package/lib/typescript/module/components/button/ghost/Ghost.d.ts +2 -2
- package/lib/typescript/module/components/button/ghost/GhostProps.d.ts +2 -2
- package/lib/typescript/module/components/button/ghost/GhostRef.d.ts +1 -1
- package/lib/typescript/module/components/button/ghost/index.d.ts +3 -3
- package/lib/typescript/module/components/button/ghost-danger/GhostDanger.d.ts +2 -2
- package/lib/typescript/module/components/button/ghost-danger/GhostDangerProps.d.ts +2 -2
- package/lib/typescript/module/components/button/ghost-danger/GhostDangerRef.d.ts +1 -1
- package/lib/typescript/module/components/button/ghost-danger/index.d.ts +3 -3
- package/lib/typescript/module/components/button/ghost-icon/GhostIcon.d.ts +2 -2
- package/lib/typescript/module/components/button/ghost-icon/GhostIconProps.d.ts +4 -4
- package/lib/typescript/module/components/button/ghost-icon/GhostIconRef.d.ts +1 -1
- package/lib/typescript/module/components/button/ghost-icon/index.d.ts +3 -3
- package/lib/typescript/module/components/button/index.d.ts +11 -11
- package/lib/typescript/module/components/button/primary/Primary.d.ts +2 -2
- package/lib/typescript/module/components/button/primary/PrimaryProps.d.ts +2 -2
- package/lib/typescript/module/components/button/primary/PrimaryRef.d.ts +1 -1
- package/lib/typescript/module/components/button/primary/index.d.ts +3 -3
- package/lib/typescript/module/components/button/primary-danger/PrimaryDanger.d.ts +2 -2
- package/lib/typescript/module/components/button/primary-danger/PrimaryDangerProps.d.ts +2 -2
- package/lib/typescript/module/components/button/primary-danger/PrimaryDangerRef.d.ts +1 -1
- package/lib/typescript/module/components/button/primary-danger/index.d.ts +3 -3
- package/lib/typescript/module/components/button/secondary/Secondary.d.ts +2 -2
- package/lib/typescript/module/components/button/secondary/SecondaryProps.d.ts +2 -2
- package/lib/typescript/module/components/button/secondary/SecondaryRef.d.ts +1 -1
- package/lib/typescript/module/components/button/secondary/index.d.ts +3 -3
- package/lib/typescript/module/components/button/tertiary/Tertiary.d.ts +2 -2
- package/lib/typescript/module/components/button/tertiary/TertiaryProps.d.ts +2 -2
- package/lib/typescript/module/components/button/tertiary/TertiaryRef.d.ts +1 -1
- package/lib/typescript/module/components/button/tertiary/index.d.ts +3 -3
- package/lib/typescript/module/components/button/tertiary-danger/TertiaryDanger.d.ts +2 -2
- package/lib/typescript/module/components/button/tertiary-danger/TertiaryDangerProps.d.ts +2 -2
- package/lib/typescript/module/components/button/tertiary-danger/TertiaryDangerRef.d.ts +1 -1
- package/lib/typescript/module/components/button/tertiary-danger/index.d.ts +3 -3
- package/lib/typescript/module/components/button-group/ButtonGroup.d.ts +2 -2
- package/lib/typescript/module/components/button-group/ButtonGroupProps.d.ts +4 -4
- package/lib/typescript/module/components/button-group/ButtonGroupRef.d.ts +1 -1
- package/lib/typescript/module/components/button-group/index.d.ts +3 -3
- package/lib/typescript/module/components/checkbox/Checkbox.d.ts +2 -2
- package/lib/typescript/module/components/checkbox/CheckboxProps.d.ts +13 -13
- package/lib/typescript/module/components/checkbox/CheckboxRef.d.ts +2 -2
- package/lib/typescript/module/components/checkbox/_RefBase.d.ts +3 -3
- package/lib/typescript/module/components/checkbox/index.d.ts +3 -3
- package/lib/typescript/module/components/checkbox-group/CheckboxGroup.d.ts +2 -2
- package/lib/typescript/module/components/checkbox-group/CheckboxGroupHelperTextMode.d.ts +1 -1
- package/lib/typescript/module/components/checkbox-group/CheckboxGroupProps.d.ts +5 -5
- package/lib/typescript/module/components/checkbox-group/CheckboxGroupRef.d.ts +1 -1
- package/lib/typescript/module/components/checkbox-group/index.d.ts +4 -4
- package/lib/typescript/module/components/checkbox-input/CheckboxInput.d.ts +2 -2
- package/lib/typescript/module/components/checkbox-input/CheckboxInputInteractiveState.d.ts +1 -1
- package/lib/typescript/module/components/checkbox-input/CheckboxInputProps.d.ts +5 -5
- package/lib/typescript/module/components/checkbox-input/CheckboxInputRef.d.ts +2 -2
- package/lib/typescript/module/components/checkbox-input/_RefBase.d.ts +1 -1
- package/lib/typescript/module/components/checkbox-input/index.d.ts +5 -5
- package/lib/typescript/module/components/collapsible/Collapsible.d.ts +2 -2
- package/lib/typescript/module/components/collapsible/CollapsibleProps.d.ts +3 -3
- package/lib/typescript/module/components/collapsible/CollapsibleRef.d.ts +2 -2
- package/lib/typescript/module/components/collapsible/index.d.ts +3 -3
- package/lib/typescript/module/components/form-helper-text/FormHelperText.d.ts +2 -2
- package/lib/typescript/module/components/form-helper-text/FormHelperTextProps.d.ts +4 -4
- package/lib/typescript/module/components/form-helper-text/FormHelperTextRef.d.ts +1 -1
- package/lib/typescript/module/components/form-helper-text/index.d.ts +3 -3
- package/lib/typescript/module/components/form-label/FormLabel.d.ts +2 -2
- package/lib/typescript/module/components/form-label/FormLabelProps.d.ts +4 -4
- package/lib/typescript/module/components/form-label/FormLabelRef.d.ts +1 -1
- package/lib/typescript/module/components/form-label/index.d.ts +3 -3
- package/lib/typescript/module/components/icon/Icon.d.ts +2 -2
- package/lib/typescript/module/components/icon/IconProps.d.ts +3 -3
- package/lib/typescript/module/components/icon/index.d.ts +2 -2
- package/lib/typescript/module/components/index.d.ts +28 -28
- package/lib/typescript/module/components/inline-loading/InlineLoading.d.ts +2 -2
- package/lib/typescript/module/components/inline-loading/InlineLoadingProps.d.ts +5 -5
- package/lib/typescript/module/components/inline-loading/InlineLoadingRef.d.ts +1 -1
- package/lib/typescript/module/components/inline-loading/InlineLoadingState.d.ts +1 -1
- package/lib/typescript/module/components/inline-loading/index.d.ts +4 -4
- package/lib/typescript/module/components/layer/Layer.d.ts +2 -2
- package/lib/typescript/module/components/layer/LayerProps.d.ts +2 -2
- package/lib/typescript/module/components/layer/LayerRef.d.ts +1 -1
- package/lib/typescript/module/components/layer/index.d.ts +4 -4
- package/lib/typescript/module/components/loading/Loading.d.ts +2 -2
- package/lib/typescript/module/components/loading/LoadingProps.d.ts +2 -2
- package/lib/typescript/module/components/loading/LoadingRef.d.ts +1 -1
- package/lib/typescript/module/components/loading/LoadingType.d.ts +1 -1
- package/lib/typescript/module/components/loading/_circular-progress/CircularProgress.d.ts +2 -2
- package/lib/typescript/module/components/loading/_circular-progress/CircularProgressProps.d.ts +3 -3
- package/lib/typescript/module/components/loading/_circular-progress/index.d.ts +2 -2
- package/lib/typescript/module/components/loading/_map-circle-background-color.d.ts +3 -3
- package/lib/typescript/module/components/loading/_map-circle-stroke-color.d.ts +2 -2
- package/lib/typescript/module/components/loading/index.d.ts +4 -4
- package/lib/typescript/module/components/modal/Modal.d.ts +2 -2
- package/lib/typescript/module/components/modal/ModalProps.d.ts +4 -4
- package/lib/typescript/module/components/modal/ModalRef.d.ts +1 -1
- package/lib/typescript/module/components/modal/ModalSize.d.ts +1 -1
- package/lib/typescript/module/components/modal/index.d.ts +4 -4
- package/lib/typescript/module/components/modal-content/ModalContent.d.ts +2 -2
- package/lib/typescript/module/components/modal-content/ModalContentProps.d.ts +1 -1
- package/lib/typescript/module/components/modal-content/ModalContentRef.d.ts +1 -1
- package/lib/typescript/module/components/modal-content/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/NotificationColor.d.ts +1 -1
- package/lib/typescript/module/components/notification/_VariantContextProvider.d.ts +1 -1
- package/lib/typescript/module/components/notification/_status-hooks/_base/UseBaseData.d.ts +6 -6
- package/lib/typescript/module/components/notification/_status-hooks/_base/UseBaseProps.d.ts +2 -2
- package/lib/typescript/module/components/notification/_status-hooks/_base/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/_base/useBase.d.ts +2 -2
- package/lib/typescript/module/components/notification/_status-hooks/error/UseErrorData.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/error/UseErrorProps.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/error/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/error/useError.d.ts +2 -2
- package/lib/typescript/module/components/notification/_status-hooks/index.d.ts +4 -4
- package/lib/typescript/module/components/notification/_status-hooks/informational/UseInformationalData.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/informational/UseInformationalProps.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/informational/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/informational/useInformational.d.ts +2 -2
- package/lib/typescript/module/components/notification/_status-hooks/success/UseSuccessData.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/success/UseSuccessProps.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/success/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/success/useSuccess.d.ts +2 -2
- package/lib/typescript/module/components/notification/_status-hooks/warning/UseWarningData.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/warning/UseWarningProps.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/warning/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/_status-hooks/warning/useWarning.d.ts +2 -2
- package/lib/typescript/module/components/notification/_variant-context.d.ts +1 -1
- package/lib/typescript/module/components/notification/_variants/_ButtonGhost.d.ts +1 -1
- package/lib/typescript/module/components/notification/_variants/_ButtonTertiary.d.ts +1 -1
- package/lib/typescript/module/components/notification/_variants/actionable/ActionableVariant.d.ts +2 -2
- package/lib/typescript/module/components/notification/_variants/actionable/ActionableVariantProps.d.ts +8 -8
- package/lib/typescript/module/components/notification/_variants/actionable/ActionableVariantRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/_variants/actionable/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/_variants/actionable-inline/ActionableInlineVariant.d.ts +2 -2
- package/lib/typescript/module/components/notification/_variants/actionable-inline/ActionableInlineVariantProps.d.ts +8 -8
- package/lib/typescript/module/components/notification/_variants/actionable-inline/ActionableInlineVariantRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/_variants/actionable-inline/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/_variants/callout/CalloutVariant.d.ts +2 -2
- package/lib/typescript/module/components/notification/_variants/callout/CalloutVariantProps.d.ts +6 -6
- package/lib/typescript/module/components/notification/_variants/callout/CalloutVariantRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/_variants/callout/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/_variants/callout-inline/CalloutInlineVariant.d.ts +2 -2
- package/lib/typescript/module/components/notification/_variants/callout-inline/CalloutInlineVariantProps.d.ts +6 -6
- package/lib/typescript/module/components/notification/_variants/callout-inline/CalloutInlineVariantRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/_variants/callout-inline/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/_variants/index.d.ts +5 -5
- package/lib/typescript/module/components/notification/_variants/toast/ToastVariant.d.ts +2 -2
- package/lib/typescript/module/components/notification/_variants/toast/ToastVariantProps.d.ts +6 -6
- package/lib/typescript/module/components/notification/_variants/toast/ToastVariantRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/_variants/toast/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/actionable/error/Error.d.ts +2 -2
- package/lib/typescript/module/components/notification/actionable/error/ErrorProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/actionable/error/ErrorRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/actionable/error/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/actionable/index.d.ts +4 -4
- package/lib/typescript/module/components/notification/actionable/informational/Informational.d.ts +2 -2
- package/lib/typescript/module/components/notification/actionable/informational/InformationalProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/actionable/informational/InformationalRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/actionable/informational/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/actionable/success/Success.d.ts +2 -2
- package/lib/typescript/module/components/notification/actionable/success/SuccessProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/actionable/success/SuccessRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/actionable/success/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/actionable/warning/Warning.d.ts +2 -2
- package/lib/typescript/module/components/notification/actionable/warning/WarningProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/actionable/warning/WarningRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/actionable/warning/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/actionable-inline/error/Error.d.ts +2 -2
- package/lib/typescript/module/components/notification/actionable-inline/error/ErrorProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/actionable-inline/error/ErrorRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/actionable-inline/error/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/actionable-inline/index.d.ts +4 -4
- package/lib/typescript/module/components/notification/actionable-inline/informational/Informational.d.ts +2 -2
- package/lib/typescript/module/components/notification/actionable-inline/informational/InformationalProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/actionable-inline/informational/InformationalRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/actionable-inline/informational/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/actionable-inline/success/Success.d.ts +2 -2
- package/lib/typescript/module/components/notification/actionable-inline/success/SuccessProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/actionable-inline/success/SuccessRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/actionable-inline/success/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/actionable-inline/warning/Warning.d.ts +2 -2
- package/lib/typescript/module/components/notification/actionable-inline/warning/WarningProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/actionable-inline/warning/WarningRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/actionable-inline/warning/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/base/Base.d.ts +2 -2
- package/lib/typescript/module/components/notification/base/BaseProps.d.ts +16 -16
- package/lib/typescript/module/components/notification/base/BaseRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/base/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/callout/error/Error.d.ts +2 -2
- package/lib/typescript/module/components/notification/callout/error/ErrorProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/callout/error/ErrorRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/callout/error/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/callout/index.d.ts +4 -4
- package/lib/typescript/module/components/notification/callout/informational/Informational.d.ts +2 -2
- package/lib/typescript/module/components/notification/callout/informational/InformationalProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/callout/informational/InformationalRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/callout/informational/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/callout/success/Success.d.ts +2 -2
- package/lib/typescript/module/components/notification/callout/success/SuccessProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/callout/success/SuccessRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/callout/success/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/callout/warning/Warning.d.ts +2 -2
- package/lib/typescript/module/components/notification/callout/warning/WarningProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/callout/warning/WarningRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/callout/warning/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/callout-inline/error/Error.d.ts +2 -2
- package/lib/typescript/module/components/notification/callout-inline/error/ErrorProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/callout-inline/error/ErrorRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/callout-inline/error/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/callout-inline/index.d.ts +4 -4
- package/lib/typescript/module/components/notification/callout-inline/informational/Informational.d.ts +2 -2
- package/lib/typescript/module/components/notification/callout-inline/informational/InformationalProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/callout-inline/informational/InformationalRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/callout-inline/informational/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/callout-inline/success/Success.d.ts +2 -2
- package/lib/typescript/module/components/notification/callout-inline/success/SuccessProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/callout-inline/success/SuccessRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/callout-inline/success/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/callout-inline/warning/Warning.d.ts +2 -2
- package/lib/typescript/module/components/notification/callout-inline/warning/WarningProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/callout-inline/warning/WarningRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/callout-inline/warning/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/index.d.ts +9 -9
- package/lib/typescript/module/components/notification/subtitle/Subtitle.d.ts +2 -2
- package/lib/typescript/module/components/notification/subtitle/SubtitleProps.d.ts +2 -2
- package/lib/typescript/module/components/notification/subtitle/SubtitleRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/subtitle/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/subtitle-link/SubtitleLink.d.ts +2 -2
- package/lib/typescript/module/components/notification/subtitle-link/SubtitleLinkProps.d.ts +1 -1
- package/lib/typescript/module/components/notification/subtitle-link/SubtitleLinkRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/subtitle-link/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/toast/error/Error.d.ts +2 -2
- package/lib/typescript/module/components/notification/toast/error/ErrorProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/toast/error/ErrorRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/toast/error/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/toast/index.d.ts +4 -4
- package/lib/typescript/module/components/notification/toast/informational/Informational.d.ts +2 -2
- package/lib/typescript/module/components/notification/toast/informational/InformationalProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/toast/informational/InformationalRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/toast/informational/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/toast/success/Success.d.ts +2 -2
- package/lib/typescript/module/components/notification/toast/success/SuccessProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/toast/success/SuccessRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/toast/success/index.d.ts +3 -3
- package/lib/typescript/module/components/notification/toast/warning/Warning.d.ts +2 -2
- package/lib/typescript/module/components/notification/toast/warning/WarningProps.d.ts +4 -4
- package/lib/typescript/module/components/notification/toast/warning/WarningRef.d.ts +1 -1
- package/lib/typescript/module/components/notification/toast/warning/index.d.ts +3 -3
- package/lib/typescript/module/components/radio-button/RadioButton.d.ts +2 -2
- package/lib/typescript/module/components/radio-button/RadioButtonProps.d.ts +12 -12
- package/lib/typescript/module/components/radio-button/RadioButtonRef.d.ts +2 -2
- package/lib/typescript/module/components/radio-button/_RefBase.d.ts +2 -2
- package/lib/typescript/module/components/radio-button/index.d.ts +3 -3
- package/lib/typescript/module/components/radio-button-group/RadioButtonGroup.d.ts +2 -2
- package/lib/typescript/module/components/radio-button-group/RadioButtonGroupHelperTextMode.d.ts +1 -1
- package/lib/typescript/module/components/radio-button-group/RadioButtonGroupItemProps.d.ts +2 -2
- package/lib/typescript/module/components/radio-button-group/RadioButtonGroupItemRef.d.ts +1 -1
- package/lib/typescript/module/components/radio-button-group/RadioButtonGroupProps.d.ts +9 -9
- package/lib/typescript/module/components/radio-button-group/RadioButtonGroupRef.d.ts +2 -2
- package/lib/typescript/module/components/radio-button-group/_Item.d.ts +2 -2
- package/lib/typescript/module/components/radio-button-group/_RefBase.d.ts +3 -3
- package/lib/typescript/module/components/radio-button-group/_item-context.d.ts +4 -4
- package/lib/typescript/module/components/radio-button-group/index.d.ts +6 -6
- package/lib/typescript/module/components/radio-button-input/RadioButtonInput.d.ts +2 -2
- package/lib/typescript/module/components/radio-button-input/RadioButtonInputInteractiveState.d.ts +1 -1
- package/lib/typescript/module/components/radio-button-input/RadioButtonInputProps.d.ts +5 -5
- package/lib/typescript/module/components/radio-button-input/RadioButtonInputRef.d.ts +2 -2
- package/lib/typescript/module/components/radio-button-input/index.d.ts +4 -4
- package/lib/typescript/module/components/switch/Switch.d.ts +2 -2
- package/lib/typescript/module/components/switch/SwitchProps.d.ts +7 -7
- package/lib/typescript/module/components/switch/SwitchRef.d.ts +2 -2
- package/lib/typescript/module/components/switch/SwitchSize.d.ts +1 -1
- package/lib/typescript/module/components/switch/SwitchState.d.ts +1 -1
- package/lib/typescript/module/components/switch/index.d.ts +5 -5
- package/lib/typescript/module/components/text/Text.d.ts +2 -2
- package/lib/typescript/module/components/text/TextProps.d.ts +3 -3
- package/lib/typescript/module/components/text/TextRef.d.ts +1 -1
- package/lib/typescript/module/components/text/index.d.ts +3 -3
- package/lib/typescript/module/components/text-area/TextArea.d.ts +2 -2
- package/lib/typescript/module/components/text-area/TextAreaProps.d.ts +2 -2
- package/lib/typescript/module/components/text-area/TextAreaRef.d.ts +2 -2
- package/lib/typescript/module/components/text-area/_TextAreaRefBase.d.ts +1 -1
- package/lib/typescript/module/components/text-area/index.d.ts +3 -3
- package/lib/typescript/module/components/text-area-field/TextAreaField.d.ts +2 -2
- package/lib/typescript/module/components/text-area-field/TextAreaFieldInteractiveState.d.ts +1 -1
- package/lib/typescript/module/components/text-area-field/TextAreaFieldProps.d.ts +2 -2
- package/lib/typescript/module/components/text-area-field/TextAreaFieldRef.d.ts +1 -1
- package/lib/typescript/module/components/text-area-field/index.d.ts +4 -4
- package/lib/typescript/module/components/text-area-fluid/TextAreaFluid.d.ts +2 -2
- package/lib/typescript/module/components/text-area-fluid/TextAreaFluidProps.d.ts +2 -2
- package/lib/typescript/module/components/text-area-fluid/TextAreaFluidRef.d.ts +1 -1
- package/lib/typescript/module/components/text-area-fluid/index.d.ts +3 -3
- package/lib/typescript/module/components/text-input/TextInput.d.ts +2 -2
- package/lib/typescript/module/components/text-input/TextInputProps.d.ts +2 -2
- package/lib/typescript/module/components/text-input/TextInputRef.d.ts +2 -2
- package/lib/typescript/module/components/text-input/TextInputSize.d.ts +1 -1
- package/lib/typescript/module/components/text-input/_TextInputRefBase.d.ts +1 -1
- package/lib/typescript/module/components/text-input/index.d.ts +4 -4
- package/lib/typescript/module/components/text-input-field/TextInputField.d.ts +2 -2
- package/lib/typescript/module/components/text-input-field/TextInputFieldInteractiveState.d.ts +1 -1
- package/lib/typescript/module/components/text-input-field/TextInputFieldProps.d.ts +6 -6
- package/lib/typescript/module/components/text-input-field/TextInputFieldRef.d.ts +1 -1
- package/lib/typescript/module/components/text-input-field/TextInputFieldSize.d.ts +1 -1
- package/lib/typescript/module/components/text-input-field/_rn-text-input/RNTextInput.d.ts +2 -2
- package/lib/typescript/module/components/text-input-field/_rn-text-input/RNTextInputProps.d.ts +2 -2
- package/lib/typescript/module/components/text-input-field/_rn-text-input/RNTextInputRef.d.ts +1 -1
- package/lib/typescript/module/components/text-input-field/_rn-text-input/index.d.ts +3 -3
- package/lib/typescript/module/components/text-input-field/index.d.ts +5 -5
- package/lib/typescript/module/components/text-input-fluid/TextInputFluid.d.ts +2 -2
- package/lib/typescript/module/components/text-input-fluid/TextInputFluidProps.d.ts +2 -2
- package/lib/typescript/module/components/text-input-fluid/TextInputFluidRef.d.ts +1 -1
- package/lib/typescript/module/components/text-input-fluid/index.d.ts +3 -3
- package/lib/typescript/module/components/toggle/State.d.ts +1 -1
- package/lib/typescript/module/components/toggle/base/Base.d.ts +2 -2
- package/lib/typescript/module/components/toggle/base/BaseProps.d.ts +12 -12
- package/lib/typescript/module/components/toggle/base/BaseRef.d.ts +2 -2
- package/lib/typescript/module/components/toggle/base/_RefBase.d.ts +3 -3
- package/lib/typescript/module/components/toggle/base/index.d.ts +3 -3
- package/lib/typescript/module/components/toggle/default/Default.d.ts +2 -2
- package/lib/typescript/module/components/toggle/default/DefaultProps.d.ts +3 -3
- package/lib/typescript/module/components/toggle/default/DefaultRef.d.ts +1 -1
- package/lib/typescript/module/components/toggle/default/index.d.ts +3 -3
- package/lib/typescript/module/components/toggle/index.d.ts +4 -4
- package/lib/typescript/module/components/toggle/small/Small.d.ts +2 -2
- package/lib/typescript/module/components/toggle/small/SmallProps.d.ts +3 -3
- package/lib/typescript/module/components/toggle/small/SmallRef.d.ts +1 -1
- package/lib/typescript/module/components/toggle/small/index.d.ts +3 -3
- package/lib/typescript/module/const/dialog-animation-configs/index.d.ts +3 -3
- package/lib/typescript/module/const/index.d.ts +1 -1
- package/lib/typescript/module/contexts/breakpoint/BreakpointContext.d.ts +1 -1
- package/lib/typescript/module/contexts/breakpoint/index.d.ts +1 -1
- package/lib/typescript/module/contexts/dialog/DialogContext.d.ts +1 -1
- package/lib/typescript/module/contexts/dialog/DialogType.d.ts +1 -0
- package/lib/typescript/module/contexts/dialog/DialogType.d.ts.map +1 -1
- package/lib/typescript/module/contexts/dialog/index.d.ts +2 -2
- package/lib/typescript/module/contexts/index.d.ts +4 -4
- package/lib/typescript/module/contexts/theme/ThemeContext.d.ts +1 -1
- package/lib/typescript/module/contexts/theme/index.d.ts +1 -1
- package/lib/typescript/module/contexts/toast/ToastContext.d.ts +1 -1
- package/lib/typescript/module/contexts/toast/index.d.ts +2 -2
- package/lib/typescript/module/helpers/breakpoint/get-token.d.ts +1 -1
- package/lib/typescript/module/helpers/breakpoint/index.d.ts +1 -1
- package/lib/typescript/module/helpers/color/get-color-scheme.d.ts +2 -2
- package/lib/typescript/module/helpers/color/get-color-token.d.ts +2 -2
- package/lib/typescript/module/helpers/color/index.d.ts +3 -3
- package/lib/typescript/module/helpers/index.d.ts +2 -2
- package/lib/typescript/module/hooks/breakpoint/index.d.ts +1 -1
- package/lib/typescript/module/hooks/breakpoint/use.d.ts +1 -1
- package/lib/typescript/module/hooks/index.d.ts +2 -2
- package/lib/typescript/module/index.d.ts +9 -9
- package/lib/typescript/module/providers/dialog/DialogProvider.d.ts +2 -2
- package/lib/typescript/module/providers/dialog/DialogProviderAnimationConfig.d.ts +1 -1
- package/lib/typescript/module/providers/dialog/DialogProviderProps.d.ts +5 -5
- package/lib/typescript/module/providers/dialog/DialogProviderRef.d.ts +1 -1
- package/lib/typescript/module/providers/dialog/_controller/Controller.d.ts +2 -2
- package/lib/typescript/module/providers/dialog/_controller/ControllerProps.d.ts +2 -2
- package/lib/typescript/module/providers/dialog/_controller/ControllerRef.d.ts +1 -1
- package/lib/typescript/module/providers/dialog/_controller/_modal/Modal.d.ts +2 -2
- package/lib/typescript/module/providers/dialog/_controller/_modal/ModalProps.d.ts +2 -2
- package/lib/typescript/module/providers/dialog/_controller/_modal/ModalRef.d.ts +1 -1
- package/lib/typescript/module/providers/dialog/_controller/_modal/index.d.ts +3 -3
- package/lib/typescript/module/providers/dialog/_controller/_overlay/Overlay.d.ts +2 -2
- package/lib/typescript/module/providers/dialog/_controller/_overlay/OverlayProps.d.ts +1 -1
- package/lib/typescript/module/providers/dialog/_controller/_overlay/OverlayRef.d.ts +2 -2
- package/lib/typescript/module/providers/dialog/_controller/_overlay/index.d.ts +3 -3
- package/lib/typescript/module/providers/dialog/_controller/index.d.ts +3 -3
- package/lib/typescript/module/providers/dialog/index.d.ts +4 -4
- package/lib/typescript/module/providers/index.d.ts +2 -2
- package/lib/typescript/module/providers/toast/ToastProvider.d.ts +2 -2
- package/lib/typescript/module/providers/toast/ToastRef.d.ts +1 -1
- package/lib/typescript/module/providers/toast/_overlay/Overlay.d.ts +1 -1
- package/lib/typescript/module/providers/toast/_overlay/OverlayRef.d.ts +1 -1
- package/lib/typescript/module/providers/toast/_overlay/_component-wrapper/ComponentWrapper.d.ts +2 -2
- package/lib/typescript/module/providers/toast/_overlay/_component-wrapper/ComponentWrapperProps.d.ts +1 -1
- package/lib/typescript/module/providers/toast/_overlay/_component-wrapper/index.d.ts +3 -3
- package/lib/typescript/module/providers/toast/_overlay/index.d.ts +2 -2
- package/lib/typescript/module/providers/toast/index.d.ts +3 -3
- package/lib/typescript/module/types/index.d.ts +2 -2
- package/lib/typescript/module/types/theme/ColorScheme.d.ts +1 -1
- package/lib/typescript/module/types/theme/index.d.ts +1 -1
- package/lib/typescript/tsconfig.tsbuildinfo +1 -0
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef, useCallback, useContext, useEffect, useImperativeHandle, useRef, useState } from
|
|
4
|
-
import { Pressable, StyleSheet, View } from
|
|
5
|
-
import { Color } from
|
|
6
|
-
import IconCheckmark from
|
|
7
|
-
import IconSubtract from
|
|
3
|
+
import { forwardRef, useCallback, useContext, useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
4
|
+
import { Pressable, StyleSheet, View } from "react-native";
|
|
5
|
+
import { Color } from "@audira/carbon-react-native-elements";
|
|
6
|
+
import IconCheckmark from "@carbon/icons/svg/32/checkmark.svg";
|
|
7
|
+
import IconSubtract from "@carbon/icons/svg/32/subtract.svg";
|
|
8
8
|
import { CommonStyleSheet, FlexStyleSheet } from "../../_internal/style-sheets/index.js";
|
|
9
9
|
import { CarbonStyleSheet } from "../../carbon-style-sheet/index.js";
|
|
10
10
|
import { ThemeContext } from "../../contexts/index.js";
|
|
@@ -12,9 +12,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
12
12
|
export const CheckboxInput = /*#__PURE__*/forwardRef(function CheckboxInput({
|
|
13
13
|
defaultValue,
|
|
14
14
|
value: valueProp,
|
|
15
|
-
interactiveState =
|
|
15
|
+
interactiveState = "normal",
|
|
16
16
|
style,
|
|
17
|
-
role =
|
|
17
|
+
role = "checkbox",
|
|
18
18
|
onBlur,
|
|
19
19
|
onChange,
|
|
20
20
|
onFocus,
|
|
@@ -25,16 +25,16 @@ export const CheckboxInput = /*#__PURE__*/forwardRef(function CheckboxInput({
|
|
|
25
25
|
viewRef = useRef(null),
|
|
26
26
|
ref = useRef({
|
|
27
27
|
onChangeEffect: false,
|
|
28
|
-
value: typeof valueProp ==
|
|
28
|
+
value: typeof valueProp == "boolean" || typeof valueProp == "object" ? valueProp : typeof defaultValue == "boolean" || typeof defaultValue == "object" ? defaultValue : false
|
|
29
29
|
}),
|
|
30
30
|
[isFocused, setIsFocused] = useState(false),
|
|
31
31
|
[valueSelf, setValueSelf] = useState(() => {
|
|
32
|
-
if (typeof defaultValue ==
|
|
32
|
+
if (typeof defaultValue == "boolean" || typeof defaultValue == "object") {
|
|
33
33
|
return defaultValue;
|
|
34
34
|
}
|
|
35
35
|
return false;
|
|
36
36
|
}),
|
|
37
|
-
controlled = typeof valueProp !==
|
|
37
|
+
controlled = typeof valueProp !== "undefined",
|
|
38
38
|
value = controlled ? valueProp : valueSelf,
|
|
39
39
|
indeterminate = value === null,
|
|
40
40
|
blurHandler = useCallback(event => {
|
|
@@ -47,7 +47,7 @@ export const CheckboxInput = /*#__PURE__*/forwardRef(function CheckboxInput({
|
|
|
47
47
|
}, [onFocus]),
|
|
48
48
|
pressHandler = useCallback(event => {
|
|
49
49
|
onPress?.(event);
|
|
50
|
-
if (interactiveState !==
|
|
50
|
+
if (interactiveState !== "read_only") {
|
|
51
51
|
if (!controlled) {
|
|
52
52
|
ref.current.onChangeEffect = true;
|
|
53
53
|
setValueSelf(self => self === null ? true : !self);
|
|
@@ -58,9 +58,9 @@ export const CheckboxInput = /*#__PURE__*/forwardRef(function CheckboxInput({
|
|
|
58
58
|
}, [controlled, interactiveState, onPress, onChange]),
|
|
59
59
|
iconColor = mapIconColor[interactiveState][themeContext.colorScheme];
|
|
60
60
|
useEffect(() => {
|
|
61
|
+
ref.current.value = value;
|
|
61
62
|
if (ref.current.onChangeEffect) {
|
|
62
63
|
ref.current.onChangeEffect = false;
|
|
63
|
-
ref.current.value = value;
|
|
64
64
|
onChange?.(value);
|
|
65
65
|
}
|
|
66
66
|
}, [value, onChange]);
|
|
@@ -70,10 +70,10 @@ export const CheckboxInput = /*#__PURE__*/forwardRef(function CheckboxInput({
|
|
|
70
70
|
return value;
|
|
71
71
|
},
|
|
72
72
|
setValue(value_) {
|
|
73
|
-
if (!controlled && interactiveState !==
|
|
73
|
+
if (!controlled && interactiveState !== "read_only") {
|
|
74
74
|
ref.current.onChangeEffect = true;
|
|
75
75
|
setValueSelf(self => {
|
|
76
|
-
if (typeof value_ ===
|
|
76
|
+
if (typeof value_ === "function") {
|
|
77
77
|
ref.current.value = value_(self);
|
|
78
78
|
} else {
|
|
79
79
|
ref.current.value = value_;
|
|
@@ -86,7 +86,7 @@ export const CheckboxInput = /*#__PURE__*/forwardRef(function CheckboxInput({
|
|
|
86
86
|
}, [value, controlled, interactiveState]);
|
|
87
87
|
return /*#__PURE__*/_jsxs(Pressable, {
|
|
88
88
|
...props,
|
|
89
|
-
disabled: interactiveState ===
|
|
89
|
+
disabled: interactiveState === "disabled",
|
|
90
90
|
role: role,
|
|
91
91
|
onBlur: blurHandler,
|
|
92
92
|
onFocus: focusHandler,
|
|
@@ -120,7 +120,7 @@ const size = 18,
|
|
|
120
120
|
height: size + 6,
|
|
121
121
|
borderRadius: 4,
|
|
122
122
|
borderWidth: 2,
|
|
123
|
-
borderColor:
|
|
123
|
+
borderColor: "transparent"
|
|
124
124
|
},
|
|
125
125
|
checkmarkHidden: {
|
|
126
126
|
opacity: 0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["forwardRef","useCallback","useContext","useEffect","useImperativeHandle","useRef","useState","Pressable","StyleSheet","View","Color","IconCheckmark","IconSubtract","CommonStyleSheet","FlexStyleSheet","CarbonStyleSheet","ThemeContext","jsx","_jsx","jsxs","_jsxs","CheckboxInput","defaultValue","value","valueProp","interactiveState","style","role","onBlur","onChange","onFocus","onPress","props","forwardedRef","themeContext","viewRef","ref","onChangeEffect","isFocused","setIsFocused","valueSelf","setValueSelf","controlled","indeterminate","blurHandler","event","focusHandler","pressHandler","current","self","iconColor","mapIconColor","colorScheme","Object","assign","setValue","value_","disabled","items_center","justify_center","relative","baseStyle","checkbox","getInteractiveStateStyle","children","absolute","overflow_hidden","focusBox","carbonStyle","width","iconSize","height","fill","checkmarkHidden","size","create","borderWidth","borderRadius","borderColor","opacity","interactiveStyle","normal_false","color","icon_primary","normal_true","backgroundColor","disabled_false","icon_disabled","disabled_true","error_false","support_error","error_true","read_only_false","read_only_true","warning_false","warning_true","focus","normal","gray_10","Token","icon_inverse","gray_100","error","read_only","warning"],"sourceRoot":"../../../../src","sources":["components/checkbox-input/CheckboxInput.tsx"],"mappings":";;AAAA,SACCA,UAAU,EACVC,WAAW,EACXC,UAAU,EACVC,S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pB;MACA,OAAO,KAAK;IACb,CAAC,CAAC;IAEHoB,UAAU,GACT,OAAOlB,SAAS,KAAK,WAAW;IAEjCD,KAAK,GACJmB,UAAU,GAAGlB,SAAS,GAAGgB,SAAS;IAEnCG,aAAa,GACZpB,KAAK,KAAK,IAAI;IAEfqB,WAAkD,GACjD3C,WAAW,CAAC4C,KAAK,IAAI;MACpBjB,MAAM,GAAGiB,KAAK,CAAC;MACfN,YAAY,CAAC,KAAK,CAAC;IACpB,CAAC,EAAE,CACFX,MAAM,CACN,CAAC;IAEHkB,YAAoD,GACnD7C,WAAW,CAAC4C,KAAK,IAAI;MACpBf,OAAO,GAAGe,KAAK,CAAC;MAChBN,YAAY,CAAC,IAAI,CAAC;IACnB,CAAC,EAAE,CACFT,OAAO,CACP,CAAC;IAEHiB,YAAoD,GACnD9C,WAAW,CAAC4C,KAAK,IAAI;MACpBd,OAAO,GAAGc,KAAK,CAAC;MAChB,IAAGpB,gBAAgB,KAAK,WAAW,EAAE;QACpC,IAAG,CAACiB,UAAU,EAAE;UACfN,GAAG,CAACY,OAAO,CAACX,cAAc,GAAG,IAAI;UACjCI,YAAY,CAACQ,IAAI,IAAIA,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,CAACA,IAAI,CAAC;QACnD,CAAC,MAAM;UACNpB,QAAQ,GAAGO,GAAG,CAACY,OAAO,CAACzB,KAAK,KAAK,IAAI,GAAG,IAAI,GAAG,CAACa,GAAG,CAACY,OAAO,CAACzB,KAAK,CAAC;QACnE;MACD;IACD,CAAC,EAAE,CACFmB,UAAU,EACVjB,gBAAgB,EAChBM,OAAO,EACPF,QAAQ,CACR,CAAC;IAEHqB,SAAS,GACRC,YAAY,CAAC1B,gBAAgB,CAAC,CAACS,YAAY,CAACkB,WAAW,CAAC;EAE1DjD,SAAS,CAAC,MAAM;
|
|
1
|
+
{"version":3,"names":["forwardRef","useCallback","useContext","useEffect","useImperativeHandle","useRef","useState","Pressable","StyleSheet","View","Color","IconCheckmark","IconSubtract","CommonStyleSheet","FlexStyleSheet","CarbonStyleSheet","ThemeContext","jsx","_jsx","jsxs","_jsxs","CheckboxInput","defaultValue","value","valueProp","interactiveState","style","role","onBlur","onChange","onFocus","onPress","props","forwardedRef","themeContext","viewRef","ref","onChangeEffect","isFocused","setIsFocused","valueSelf","setValueSelf","controlled","indeterminate","blurHandler","event","focusHandler","pressHandler","current","self","iconColor","mapIconColor","colorScheme","Object","assign","setValue","value_","disabled","items_center","justify_center","relative","baseStyle","checkbox","getInteractiveStateStyle","children","absolute","overflow_hidden","focusBox","carbonStyle","width","iconSize","height","fill","checkmarkHidden","size","create","borderWidth","borderRadius","borderColor","opacity","interactiveStyle","normal_false","color","icon_primary","normal_true","backgroundColor","disabled_false","icon_disabled","disabled_true","error_false","support_error","error_true","read_only_false","read_only_true","warning_false","warning_true","focus","normal","gray_10","Token","icon_inverse","gray_100","error","read_only","warning"],"sourceRoot":"../../../../src","sources":["components/checkbox-input/CheckboxInput.tsx"],"mappings":";;AAAA,SACCA,UAAU,EACVC,WAAW,EACXC,UAAU,EACVC,SAAS,EACTC,mBAAmB,EACnBC,MAAM,EACNC,QAAQ,QACF,OAAO;AAEd,SACCC,SAAS,EACTC,UAAU,EACVC,IAAI,QAGE,cAAc;AAErB,SACCC,KAAK,QACC,sCAAsC;AAE7C,OAAOC,aAAa,MAAM,oCAAoC;AAC9D,OAAOC,YAAY,MAAM,mCAAmC;AAE5D,SACCC,gBAAgB,EAChBC,cAAc,QACR,uCAA8B;AAErC,SACCC,gBAAgB,QACV,mCAA0B;AAEjC,SACCC,YAAY,QACN,yBAAgB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAsBvB,OAAO,MAAMC,aAAa,gBAAGrB,UAAU,CACtC,SAASqB,aAAaA,CACrB;EACCC,YAAY;EACZC,KAAK,EAAEC,SAAS;EAChBC,gBAAgB,GAAG,QAAQ;EAC3BC,KAAK;EACLC,IAAI,GAAG,UAAU;EACjBC,M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AK,CAACyF,KAAK,CAACE,QAAQ,CAACD;IAChC;EACD,CAAC;AAEH,SAASrC,wBAAwBA,CAChCtC,gBAA+C,EAC/CF,KAAyB,EACxB;EACD,OAAOyD,gBAAgB,CAAC,GAAGvD,gBAAgB,IAAI,CAAC,CAACF,KAAK,EAAE,CAAC;AAC1D","ignoreList":[]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from
|
|
4
|
-
import { Animated, Easing, View } from
|
|
5
|
-
import { Motion } from
|
|
3
|
+
import { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
4
|
+
import { Animated, Easing, View } from "react-native";
|
|
5
|
+
import { Motion } from "@audira/carbon-react-native-elements";
|
|
6
6
|
import { CommonStyleSheet, FlexStyleSheet } from "../../_internal/style-sheets/index.js";
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
export const Collapsible = /*#__PURE__*/forwardRef(function ({
|
|
@@ -28,7 +28,7 @@ export const Collapsible = /*#__PURE__*/forwardRef(function ({
|
|
|
28
28
|
}, forwardedRef) {
|
|
29
29
|
const viewRef = useRef(null),
|
|
30
30
|
ref = useRef({
|
|
31
|
-
positionView: defaultOpen ?? openProp ?
|
|
31
|
+
positionView: defaultOpen ?? openProp ? "relative" : "absolute",
|
|
32
32
|
contentHeight: 0,
|
|
33
33
|
openSelf: !!defaultOpen
|
|
34
34
|
}),
|
|
@@ -47,12 +47,12 @@ export const Collapsible = /*#__PURE__*/forwardRef(function ({
|
|
|
47
47
|
* - 1 -> Opened
|
|
48
48
|
*/
|
|
49
49
|
contentContainerAnimated = useRef(new Animated.Value(0)),
|
|
50
|
-
controlled = typeof openProp ===
|
|
50
|
+
controlled = typeof openProp === "boolean",
|
|
51
51
|
open = controlled ? !!openProp : openSelf,
|
|
52
52
|
setPositionViewToAbsolute = useCallback(() => {
|
|
53
|
-
if (ref.current.positionView ===
|
|
54
|
-
ref.current.positionView =
|
|
55
|
-
setPositionView(
|
|
53
|
+
if (ref.current.positionView === "relative") {
|
|
54
|
+
ref.current.positionView = "absolute";
|
|
55
|
+
setPositionView("absolute");
|
|
56
56
|
}
|
|
57
57
|
}, []),
|
|
58
58
|
onLayoutContent = useCallback(({
|
|
@@ -105,7 +105,7 @@ export const Collapsible = /*#__PURE__*/forwardRef(function ({
|
|
|
105
105
|
return Object.assign(viewRef.current, {
|
|
106
106
|
setOpen(value) {
|
|
107
107
|
if (!controlled) {
|
|
108
|
-
if (typeof value ===
|
|
108
|
+
if (typeof value === "boolean") {
|
|
109
109
|
ref.current.openSelf = value;
|
|
110
110
|
} else {
|
|
111
111
|
ref.current.openSelf = value(ref.current.openSelf);
|
|
@@ -117,7 +117,7 @@ export const Collapsible = /*#__PURE__*/forwardRef(function ({
|
|
|
117
117
|
}, [controlled]);
|
|
118
118
|
return /*#__PURE__*/_jsx(Animated.View, {
|
|
119
119
|
...props,
|
|
120
|
-
style: [CommonStyleSheet.overflow_hidden, positionView ===
|
|
120
|
+
style: [CommonStyleSheet.overflow_hidden, positionView === "absolute" ? {
|
|
121
121
|
height: heightAnimated.current
|
|
122
122
|
} : null, style],
|
|
123
123
|
ref: viewRef,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef, useContext } from
|
|
4
|
-
import { StyleSheet, View } from
|
|
3
|
+
import { forwardRef, useContext } from "react";
|
|
4
|
+
import { StyleSheet, View } from "react-native";
|
|
5
5
|
import { GlobalConfigContext } from "../../_internal/contexts/index.js";
|
|
6
6
|
import { CommonStyleSheet, FlexStyleSheet } from "../../_internal/style-sheets/index.js";
|
|
7
7
|
import { CarbonStyleSheet } from "../../carbon-style-sheet/index.js";
|
|
@@ -23,11 +23,11 @@ export const FormHelperText = /*#__PURE__*/forwardRef(function FormHelperText({
|
|
|
23
23
|
return /*#__PURE__*/_jsxs(View, {
|
|
24
24
|
...props,
|
|
25
25
|
ref: ref,
|
|
26
|
-
dir: dir ?? globalConfigContext.rtl ?
|
|
26
|
+
dir: dir ?? globalConfigContext.rtl ? "rtl" : undefined,
|
|
27
27
|
style: [FlexStyleSheet.flex_row, baseStyle.container, globalConfigContext.rtl ? CommonStyleSheet.rtl : undefined, style],
|
|
28
28
|
children: [textLeading, /*#__PURE__*/_jsx(Text, {
|
|
29
29
|
...textProps,
|
|
30
|
-
type: textProps?.type ||
|
|
30
|
+
type: textProps?.type || "helper_text_01",
|
|
31
31
|
style: [error ? carbonStyle.textError : carbonStyle.text, textProps?.style],
|
|
32
32
|
children: text
|
|
33
33
|
}), textTrailing]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef, useContext } from
|
|
4
|
-
import { StyleSheet, View } from
|
|
3
|
+
import { forwardRef, useContext } from "react";
|
|
4
|
+
import { StyleSheet, View } from "react-native";
|
|
5
5
|
import { GlobalConfigContext } from "../../_internal/contexts/index.js";
|
|
6
6
|
import { CommonStyleSheet, FlexStyleSheet } from "../../_internal/style-sheets/index.js";
|
|
7
7
|
import { Text } from "../text/index.js";
|
|
@@ -19,11 +19,11 @@ export const FormLabel = /*#__PURE__*/forwardRef(function FormLabel({
|
|
|
19
19
|
return /*#__PURE__*/_jsxs(View, {
|
|
20
20
|
...props,
|
|
21
21
|
ref: ref,
|
|
22
|
-
dir: dir ?? globalConfigContext.rtl ?
|
|
22
|
+
dir: dir ?? globalConfigContext.rtl ? "rtl" : undefined,
|
|
23
23
|
style: [FlexStyleSheet.flex_row, baseStyle.gap, globalConfigContext.rtl ? CommonStyleSheet.rtl : undefined, style],
|
|
24
24
|
children: [labelLeading, /*#__PURE__*/_jsx(Text, {
|
|
25
25
|
...textProps,
|
|
26
|
-
type: textProps?.type ||
|
|
26
|
+
type: textProps?.type || "label_01",
|
|
27
27
|
"aria-label": label,
|
|
28
28
|
children: label
|
|
29
29
|
}), labelTrailing]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { Component } from
|
|
4
|
-
import * as IconHelper from
|
|
5
|
-
import { SvgXml } from
|
|
3
|
+
import { Component } from "react";
|
|
4
|
+
import * as IconHelper from "@carbon/icon-helpers";
|
|
5
|
+
import { SvgXml } from "react-native-svg";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
/**
|
|
8
8
|
* Icon component is intentionally written in the form of React Class Component to support `Animated.createAnimatedComponent` API from React Native Reanimated
|
|
@@ -13,15 +13,15 @@ export class Icon extends Component {
|
|
|
13
13
|
return /*#__PURE__*/_jsx(SvgXml, {
|
|
14
14
|
...this.props,
|
|
15
15
|
xml: IconHelper.toString(this.props.src),
|
|
16
|
-
width: this.props.width ||
|
|
17
|
-
height: this.props.height ||
|
|
16
|
+
width: this.props.width || "100%",
|
|
17
|
+
height: this.props.height || "100%"
|
|
18
18
|
});
|
|
19
19
|
} catch {
|
|
20
20
|
return /*#__PURE__*/_jsx(SvgXml, {
|
|
21
21
|
...this.props,
|
|
22
22
|
xml: backupIcon,
|
|
23
|
-
width: this.props.width ||
|
|
24
|
-
height: this.props.height ||
|
|
23
|
+
width: this.props.width || "100%",
|
|
24
|
+
height: this.props.height || "100%"
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -31,5 +31,5 @@ export class Icon extends Component {
|
|
|
31
31
|
* Copied from
|
|
32
32
|
* https://github.com/carbon-design-system/carbon-react-native/blob/main/src/helpers/index.tsx
|
|
33
33
|
*/
|
|
34
|
-
const backupIcon =
|
|
34
|
+
const backupIcon = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 13.17 13.69\"><line x1=\"0.71\" y1=\"0.97\" x2=\"12.46\" y2=\"12.72\" fill=\"currentColor\" stroke=\"currentColor\" stroke-miterlimit=\"10\" stroke-width=\"2\"/><line x1=\"1.02\" y1=\"13.02\" x2=\"12.15\" y2=\"0.67\" fill=\"currentColor\" stroke=\"currentColor\" stroke-miterlimit=\"10\" stroke-width=\"2\"/></svg>";
|
|
35
35
|
//# sourceMappingURL=Icon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Component","IconHelper","SvgXml","jsx","_jsx","Icon","render","props","xml","toString","src","width","height","backupIcon"],"sourceRoot":"../../../../src","sources":["components/icon/Icon.tsx"],"mappings":";;AAAA,SACCA,SAAS,QACH,OAAO;AAEd,OAAO,KAAKC,UAAU,MAAM,sBAAsB;AAElD,SACCC,MAAM,QACA,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAMzB;AACA;AACA;AACA,OAAO,MAAMC,IAAI,SAASL,SAAS,CAAY;EAErCM,MAAMA,CAAA,EAAG;IACjB,IAAI;MACH,oBACCF,IAAA,CAACF,MAAM;QAAA,GACD,IAAI,CAACK,KAAK;QACfC,GAAG,EAAGP,UAAU,CAACQ,QAAQ,CAAC,IAAI,CAACF,KAAK,CAACG,GAAY,CAAG;QACpDC,KAAK,EAAG,IAAI,CAACJ,KAAK,CAACI,KAAK,IAAI,MAAQ;QACpCC,MAAM,EAAG,IAAI,CAACL,KAAK,CAACK,MAAM,IAAI;MAAQ,CACtC,CAAC;IAEJ,CAAC,CAAC,MAAM;MACP,oBACCR,IAAA,CAACF,MAAM;QAAA,GACD,IAAI,CAACK,KAAK;QACfC,GAAG,EAAGK,UAAY;QAClBF,KAAK,EAAG,IAAI,CAACJ,KAAK,CAACI,KAAK,IAAI,MAAQ;QACpCC,MAAM,EAAG,IAAI,CAACL,KAAK,CAACK,MAAM,IAAI;MAAQ,CACtC,CAAC;IAEJ;EACD;AAED;;AAEA;AACA;AACA;AACA;AACA,MAAMC,UAAU,GAAG,
|
|
1
|
+
{"version":3,"names":["Component","IconHelper","SvgXml","jsx","_jsx","Icon","render","props","xml","toString","src","width","height","backupIcon"],"sourceRoot":"../../../../src","sources":["components/icon/Icon.tsx"],"mappings":";;AAAA,SACCA,SAAS,QACH,OAAO;AAEd,OAAO,KAAKC,UAAU,MAAM,sBAAsB;AAElD,SACCC,MAAM,QACA,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAMzB;AACA;AACA;AACA,OAAO,MAAMC,IAAI,SAASL,SAAS,CAAY;EAErCM,MAAMA,CAAA,EAAG;IACjB,IAAI;MACH,oBACCF,IAAA,CAACF,MAAM;QAAA,GACD,IAAI,CAACK,KAAK;QACfC,GAAG,EAAGP,UAAU,CAACQ,QAAQ,CAAC,IAAI,CAACF,KAAK,CAACG,GAAY,CAAG;QACpDC,KAAK,EAAG,IAAI,CAACJ,KAAK,CAACI,KAAK,IAAI,MAAQ;QACpCC,MAAM,EAAG,IAAI,CAACL,KAAK,CAACK,MAAM,IAAI;MAAQ,CACtC,CAAC;IAEJ,CAAC,CAAC,MAAM;MACP,oBACCR,IAAA,CAACF,MAAM;QAAA,GACD,IAAI,CAACK,KAAK;QACfC,GAAG,EAAGK,UAAY;QAClBF,KAAK,EAAG,IAAI,CAACJ,KAAK,CAACI,KAAK,IAAI,MAAQ;QACpCC,MAAM,EAAG,IAAI,CAACL,KAAK,CAACK,MAAM,IAAI;MAAQ,CACtC,CAAC;IAEJ;EACD;AAED;;AAEA;AACA;AACA;AACA;AACA,MAAMC,UAAU,GAAG,oXAAoX","ignoreList":[]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef, useContext } from
|
|
4
|
-
import { StyleSheet, View } from
|
|
5
|
-
import { Color } from
|
|
6
|
-
import IconCheckmarkFilled from
|
|
7
|
-
import IconErrorFilled from
|
|
3
|
+
import { forwardRef, useContext } from "react";
|
|
4
|
+
import { StyleSheet, View } from "react-native";
|
|
5
|
+
import { Color } from "@audira/carbon-react-native-elements";
|
|
6
|
+
import IconCheckmarkFilled from "@carbon/icons/svg/32/checkmark--filled.svg";
|
|
7
|
+
import IconErrorFilled from "@carbon/icons/svg/32/error--filled.svg";
|
|
8
8
|
import { GlobalConfigContext } from "../../_internal/contexts/index.js";
|
|
9
9
|
import { CommonStyleSheet, FlexStyleSheet } from "../../_internal/style-sheets/index.js";
|
|
10
10
|
import { CarbonStyleSheet } from "../../carbon-style-sheet/index.js";
|
|
@@ -13,10 +13,10 @@ import { Loading } from "../loading/index.js";
|
|
|
13
13
|
import { Text } from "../text/index.js";
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
export const InlineLoading = /*#__PURE__*/forwardRef(function InlineLoading({
|
|
16
|
-
state =
|
|
16
|
+
state = "active",
|
|
17
17
|
text,
|
|
18
18
|
style,
|
|
19
|
-
|
|
19
|
+
"aria-label": ariaLabel,
|
|
20
20
|
textProps,
|
|
21
21
|
dir,
|
|
22
22
|
...props
|
|
@@ -27,15 +27,15 @@ export const InlineLoading = /*#__PURE__*/forwardRef(function InlineLoading({
|
|
|
27
27
|
ref: ref,
|
|
28
28
|
...props,
|
|
29
29
|
"aria-label": ariaLabel ?? text,
|
|
30
|
-
dir: dir ?? globalConfigContext.rtl ?
|
|
30
|
+
dir: dir ?? globalConfigContext.rtl ? "rtl" : undefined,
|
|
31
31
|
style: [FlexStyleSheet.flex_row, FlexStyleSheet.items_center, styleSheet.inlineLoading, globalConfigContext.rtl ? CommonStyleSheet.rtl : undefined, style],
|
|
32
|
-
children: [state ==
|
|
32
|
+
children: [state == "active" ? /*#__PURE__*/_jsx(Loading, {
|
|
33
33
|
type: "small"
|
|
34
|
-
}) : state ==
|
|
34
|
+
}) : state == "error" ? /*#__PURE__*/_jsx(IconErrorFilled, {
|
|
35
35
|
width: 16,
|
|
36
36
|
height: 16,
|
|
37
37
|
fill: mapIconErrorColor[themeContext.colorScheme]
|
|
38
|
-
}) : state ==
|
|
38
|
+
}) : state == "finished" ? /*#__PURE__*/_jsx(IconCheckmarkFilled, {
|
|
39
39
|
width: 16,
|
|
40
40
|
height: 16,
|
|
41
41
|
fill: mapIconCheckmarkColor[themeContext.colorScheme]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef, useContext } from
|
|
4
|
-
import { View } from
|
|
5
|
-
import { Color } from
|
|
3
|
+
import { forwardRef, useContext } from "react";
|
|
4
|
+
import { View } from "react-native";
|
|
5
|
+
import { Color } from "@audira/carbon-react-native-elements";
|
|
6
6
|
import { MathHelper } from "../../_internal/helpers/index.js";
|
|
7
7
|
import { CarbonStyleSheet } from "../../carbon-style-sheet/index.js";
|
|
8
8
|
import { LayerContext } from "./LayerContext.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { forwardRef, useContext, useEffect, useRef } from
|
|
4
|
-
import { Animated, Easing } from
|
|
5
|
-
import { Motion } from
|
|
3
|
+
import { forwardRef, useContext, useEffect, useRef } from "react";
|
|
4
|
+
import { Animated, Easing } from "react-native";
|
|
5
|
+
import { Motion } from "@audira/carbon-react-native-elements";
|
|
6
6
|
import { ThemeContext } from "../../contexts/index.js";
|
|
7
7
|
import { LayerContext } from "../layer/index.js";
|
|
8
8
|
import { CircularProgress } from "./_circular-progress/index.js";
|
|
@@ -10,7 +10,7 @@ import { MapCircleBackgroundColor } from "./_map-circle-background-color.js";
|
|
|
10
10
|
import { MapCircleStrokeColor } from "./_map-circle-stroke-color.js";
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
export const Loading = /*#__PURE__*/forwardRef(function ({
|
|
13
|
-
type =
|
|
13
|
+
type = "large",
|
|
14
14
|
style,
|
|
15
15
|
...props
|
|
16
16
|
}, ref) {
|
|
@@ -45,7 +45,7 @@ export const Loading = /*#__PURE__*/forwardRef(function ({
|
|
|
45
45
|
transform: [{
|
|
46
46
|
rotateZ: rotationValue.current.interpolate({
|
|
47
47
|
inputRange: [0, 1],
|
|
48
|
-
outputRange: [
|
|
48
|
+
outputRange: ["0deg", "360deg"]
|
|
49
49
|
})
|
|
50
50
|
}]
|
|
51
51
|
}, style]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { Component } from
|
|
4
|
-
import Svg, { Circle } from
|
|
3
|
+
import { Component } from "react";
|
|
4
|
+
import Svg, { Circle } from "react-native-svg";
|
|
5
5
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
6
|
export class CircularProgress extends Component {
|
|
7
7
|
render() {
|
|
@@ -10,8 +10,8 @@ export class CircularProgress extends Component {
|
|
|
10
10
|
circleBackgroundColor,
|
|
11
11
|
type,
|
|
12
12
|
forwardedRef,
|
|
13
|
-
fill =
|
|
14
|
-
viewBox =
|
|
13
|
+
fill = "transparent",
|
|
14
|
+
viewBox = "0 0 100 100",
|
|
15
15
|
...props
|
|
16
16
|
} = this.props,
|
|
17
17
|
size = mapSize[type];
|
|
@@ -22,7 +22,7 @@ export class CircularProgress extends Component {
|
|
|
22
22
|
height: size,
|
|
23
23
|
viewBox: viewBox,
|
|
24
24
|
fill: fill,
|
|
25
|
-
children: [type ==
|
|
25
|
+
children: [type == "small" &&
|
|
26
26
|
/*#__PURE__*/
|
|
27
27
|
// Background
|
|
28
28
|
_jsx(Circle, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { Color } from
|
|
3
|
+
import { Color } from "@audira/carbon-react-native-elements";
|
|
4
4
|
export const MapCircleStrokeColor = {
|
|
5
5
|
gray_10: Color.Token.gray_10.interactive,
|
|
6
6
|
gray_100: Color.Token.gray_100.interactive
|