@audira/carbon-react-native 0.0.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/lib/commonjs/_carbon-react-native/index.js +25 -0
- package/lib/commonjs/_carbon-react-native/index.js.map +1 -0
- package/lib/commonjs/_style-sheet/create.js +59 -0
- package/lib/commonjs/_style-sheet/create.js.map +1 -0
- package/lib/commonjs/_style-sheet/index.js +12 -0
- package/lib/commonjs/_style-sheet/index.js.map +1 -0
- package/lib/commonjs/components/accordion/_context.js +9 -0
- package/lib/commonjs/components/accordion/_context.js.map +1 -0
- package/lib/commonjs/components/accordion/_header-border.js +33 -0
- package/lib/commonjs/components/accordion/_header-border.js.map +1 -0
- package/lib/commonjs/components/accordion/_header.js +156 -0
- package/lib/commonjs/components/accordion/_header.js.map +1 -0
- package/lib/commonjs/components/accordion/_item.js +91 -0
- package/lib/commonjs/components/accordion/_item.js.map +1 -0
- package/lib/commonjs/components/accordion/_motion.js +18 -0
- package/lib/commonjs/components/accordion/_motion.js.map +1 -0
- package/lib/commonjs/components/accordion/_styles.js +24 -0
- package/lib/commonjs/components/accordion/_styles.js.map +1 -0
- package/lib/commonjs/components/accordion/index.js +74 -0
- package/lib/commonjs/components/accordion/index.js.map +1 -0
- package/lib/commonjs/components/accordion/types.js +2 -0
- package/lib/commonjs/components/accordion/types.js.map +1 -0
- package/lib/commonjs/components/button/base/index.js +153 -0
- package/lib/commonjs/components/button/base/index.js.map +1 -0
- package/lib/commonjs/components/button/base-color/index.js +155 -0
- package/lib/commonjs/components/button/base-color/index.js.map +1 -0
- package/lib/commonjs/components/button/ghost/index.js +92 -0
- package/lib/commonjs/components/button/ghost/index.js.map +1 -0
- package/lib/commonjs/components/button/ghost-danger/index.js +92 -0
- package/lib/commonjs/components/button/ghost-danger/index.js.map +1 -0
- package/lib/commonjs/components/button/ghost-icon/index.js +81 -0
- package/lib/commonjs/components/button/ghost-icon/index.js.map +1 -0
- package/lib/commonjs/components/button/index.js +127 -0
- package/lib/commonjs/components/button/index.js.map +1 -0
- package/lib/commonjs/components/button/primary/index.js +74 -0
- package/lib/commonjs/components/button/primary/index.js.map +1 -0
- package/lib/commonjs/components/button/primary-danger/index.js +74 -0
- package/lib/commonjs/components/button/primary-danger/index.js.map +1 -0
- package/lib/commonjs/components/button/secondary/index.js +74 -0
- package/lib/commonjs/components/button/secondary/index.js.map +1 -0
- package/lib/commonjs/components/button/size.js +2 -0
- package/lib/commonjs/components/button/size.js.map +1 -0
- package/lib/commonjs/components/button/tertiary/index.js +89 -0
- package/lib/commonjs/components/button/tertiary/index.js.map +1 -0
- package/lib/commonjs/components/button/tertiary-danger/index.js +89 -0
- package/lib/commonjs/components/button/tertiary-danger/index.js.map +1 -0
- package/lib/commonjs/components/checkbox/index.js +117 -0
- package/lib/commonjs/components/checkbox/index.js.map +1 -0
- package/lib/commonjs/components/checkbox-group/index.js +98 -0
- package/lib/commonjs/components/checkbox-group/index.js.map +1 -0
- package/lib/commonjs/components/checkbox-input/index.js +208 -0
- package/lib/commonjs/components/checkbox-input/index.js.map +1 -0
- package/lib/commonjs/components/collapsible/index.js +134 -0
- package/lib/commonjs/components/collapsible/index.js.map +1 -0
- package/lib/commonjs/components/form-helper-text/index.js +41 -0
- package/lib/commonjs/components/form-helper-text/index.js.map +1 -0
- package/lib/commonjs/components/form-label/index.js +35 -0
- package/lib/commonjs/components/form-label/index.js.map +1 -0
- package/lib/commonjs/components/icon/index.js +42 -0
- package/lib/commonjs/components/icon/index.js.map +1 -0
- package/lib/commonjs/components/index.js +176 -0
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/components/notification/_status-hooks/_base.js +52 -0
- package/lib/commonjs/components/notification/_status-hooks/_base.js.map +1 -0
- package/lib/commonjs/components/notification/_status-hooks/error/index.js +47 -0
- package/lib/commonjs/components/notification/_status-hooks/error/index.js.map +1 -0
- package/lib/commonjs/components/notification/_status-hooks/index.js +50 -0
- package/lib/commonjs/components/notification/_status-hooks/index.js.map +1 -0
- package/lib/commonjs/components/notification/_status-hooks/informational/index.js +47 -0
- package/lib/commonjs/components/notification/_status-hooks/informational/index.js.map +1 -0
- package/lib/commonjs/components/notification/_status-hooks/success/index.js +47 -0
- package/lib/commonjs/components/notification/_status-hooks/success/index.js.map +1 -0
- package/lib/commonjs/components/notification/_status-hooks/warning/index.js +47 -0
- package/lib/commonjs/components/notification/_status-hooks/warning/index.js.map +1 -0
- package/lib/commonjs/components/notification/_variant-context.js +24 -0
- package/lib/commonjs/components/notification/_variant-context.js.map +1 -0
- package/lib/commonjs/components/notification/_variants/_button-ghost.js +43 -0
- package/lib/commonjs/components/notification/_variants/_button-ghost.js.map +1 -0
- package/lib/commonjs/components/notification/_variants/_button-tertiary.js +43 -0
- package/lib/commonjs/components/notification/_variants/_button-tertiary.js.map +1 -0
- package/lib/commonjs/components/notification/_variants/actionable/index.js +42 -0
- package/lib/commonjs/components/notification/_variants/actionable/index.js.map +1 -0
- package/lib/commonjs/components/notification/_variants/actionable-inline/index.js +42 -0
- package/lib/commonjs/components/notification/_variants/actionable-inline/index.js.map +1 -0
- package/lib/commonjs/components/notification/_variants/callout/index.js +35 -0
- package/lib/commonjs/components/notification/_variants/callout/index.js.map +1 -0
- package/lib/commonjs/components/notification/_variants/callout-inline/index.js +35 -0
- package/lib/commonjs/components/notification/_variants/callout-inline/index.js.map +1 -0
- package/lib/commonjs/components/notification/_variants/index.js +61 -0
- package/lib/commonjs/components/notification/_variants/index.js.map +1 -0
- package/lib/commonjs/components/notification/_variants/toast/index.js +63 -0
- package/lib/commonjs/components/notification/_variants/toast/index.js.map +1 -0
- package/lib/commonjs/components/notification/actionable/error/index.js +49 -0
- package/lib/commonjs/components/notification/actionable/error/index.js.map +1 -0
- package/lib/commonjs/components/notification/actionable/index.js +50 -0
- package/lib/commonjs/components/notification/actionable/index.js.map +1 -0
- package/lib/commonjs/components/notification/actionable/informational/index.js +49 -0
- package/lib/commonjs/components/notification/actionable/informational/index.js.map +1 -0
- package/lib/commonjs/components/notification/actionable/success/index.js +49 -0
- package/lib/commonjs/components/notification/actionable/success/index.js.map +1 -0
- package/lib/commonjs/components/notification/actionable/warning/index.js +49 -0
- package/lib/commonjs/components/notification/actionable/warning/index.js.map +1 -0
- package/lib/commonjs/components/notification/actionable-inline/error/index.js +48 -0
- package/lib/commonjs/components/notification/actionable-inline/error/index.js.map +1 -0
- package/lib/commonjs/components/notification/actionable-inline/index.js +50 -0
- package/lib/commonjs/components/notification/actionable-inline/index.js.map +1 -0
- package/lib/commonjs/components/notification/actionable-inline/informational/index.js +48 -0
- package/lib/commonjs/components/notification/actionable-inline/informational/index.js.map +1 -0
- package/lib/commonjs/components/notification/actionable-inline/success/index.js +48 -0
- package/lib/commonjs/components/notification/actionable-inline/success/index.js.map +1 -0
- package/lib/commonjs/components/notification/actionable-inline/warning/index.js +48 -0
- package/lib/commonjs/components/notification/actionable-inline/warning/index.js.map +1 -0
- package/lib/commonjs/components/notification/base/index.js +170 -0
- package/lib/commonjs/components/notification/base/index.js.map +1 -0
- package/lib/commonjs/components/notification/callout/error/index.js +49 -0
- package/lib/commonjs/components/notification/callout/error/index.js.map +1 -0
- package/lib/commonjs/components/notification/callout/index.js +50 -0
- package/lib/commonjs/components/notification/callout/index.js.map +1 -0
- package/lib/commonjs/components/notification/callout/informational/index.js +49 -0
- package/lib/commonjs/components/notification/callout/informational/index.js.map +1 -0
- package/lib/commonjs/components/notification/callout/success/index.js +49 -0
- package/lib/commonjs/components/notification/callout/success/index.js.map +1 -0
- package/lib/commonjs/components/notification/callout/warning/index.js +49 -0
- package/lib/commonjs/components/notification/callout/warning/index.js.map +1 -0
- package/lib/commonjs/components/notification/callout-inline/error/index.js +48 -0
- package/lib/commonjs/components/notification/callout-inline/error/index.js.map +1 -0
- package/lib/commonjs/components/notification/callout-inline/index.js +50 -0
- package/lib/commonjs/components/notification/callout-inline/index.js.map +1 -0
- package/lib/commonjs/components/notification/callout-inline/informational/index.js +48 -0
- package/lib/commonjs/components/notification/callout-inline/informational/index.js.map +1 -0
- package/lib/commonjs/components/notification/callout-inline/success/index.js +48 -0
- package/lib/commonjs/components/notification/callout-inline/success/index.js.map +1 -0
- package/lib/commonjs/components/notification/callout-inline/warning/index.js +48 -0
- package/lib/commonjs/components/notification/callout-inline/warning/index.js.map +1 -0
- package/lib/commonjs/components/notification/index.js +62 -0
- package/lib/commonjs/components/notification/index.js.map +1 -0
- package/lib/commonjs/components/notification/subtitle/index.js +30 -0
- package/lib/commonjs/components/notification/subtitle/index.js.map +1 -0
- package/lib/commonjs/components/notification/subtitle-link/index.js +29 -0
- package/lib/commonjs/components/notification/subtitle-link/index.js.map +1 -0
- package/lib/commonjs/components/notification/toast/error/index.js +49 -0
- package/lib/commonjs/components/notification/toast/error/index.js.map +1 -0
- package/lib/commonjs/components/notification/toast/index.js +50 -0
- package/lib/commonjs/components/notification/toast/index.js.map +1 -0
- package/lib/commonjs/components/notification/toast/informational/index.js +49 -0
- package/lib/commonjs/components/notification/toast/informational/index.js.map +1 -0
- package/lib/commonjs/components/notification/toast/success/index.js +49 -0
- package/lib/commonjs/components/notification/toast/success/index.js.map +1 -0
- package/lib/commonjs/components/notification/toast/warning/index.js +49 -0
- package/lib/commonjs/components/notification/toast/warning/index.js.map +1 -0
- package/lib/commonjs/components/notification/types.js +2 -0
- package/lib/commonjs/components/notification/types.js.map +1 -0
- package/lib/commonjs/components/radio-button/index.js +106 -0
- package/lib/commonjs/components/radio-button/index.js.map +1 -0
- package/lib/commonjs/components/radio-button-group/_item-context.js +9 -0
- package/lib/commonjs/components/radio-button-group/_item-context.js.map +1 -0
- package/lib/commonjs/components/radio-button-group/_item.js +52 -0
- package/lib/commonjs/components/radio-button-group/_item.js.map +1 -0
- package/lib/commonjs/components/radio-button-group/_types/index.js +6 -0
- package/lib/commonjs/components/radio-button-group/_types/index.js.map +1 -0
- package/lib/commonjs/components/radio-button-group/_types/ref-base.js +6 -0
- package/lib/commonjs/components/radio-button-group/_types/ref-base.js.map +1 -0
- package/lib/commonjs/components/radio-button-group/index.js +141 -0
- package/lib/commonjs/components/radio-button-group/index.js.map +1 -0
- package/lib/commonjs/components/radio-button-input/index.js +200 -0
- package/lib/commonjs/components/radio-button-input/index.js.map +1 -0
- package/lib/commonjs/components/switch/index.js +245 -0
- package/lib/commonjs/components/switch/index.js.map +1 -0
- package/lib/commonjs/components/text/index.js +70 -0
- package/lib/commonjs/components/text/index.js.map +1 -0
- package/lib/commonjs/components/toggle/base/index.js +115 -0
- package/lib/commonjs/components/toggle/base/index.js.map +1 -0
- package/lib/commonjs/components/toggle/default/index.js +23 -0
- package/lib/commonjs/components/toggle/default/index.js.map +1 -0
- package/lib/commonjs/components/toggle/index.js +50 -0
- package/lib/commonjs/components/toggle/index.js.map +1 -0
- package/lib/commonjs/components/toggle/small/index.js +23 -0
- package/lib/commonjs/components/toggle/small/index.js.map +1 -0
- package/lib/commonjs/components/toggle/state.js +2 -0
- package/lib/commonjs/components/toggle/state.js.map +1 -0
- package/lib/commonjs/constants/color/code.json +273 -0
- package/lib/commonjs/constants/color/index.js +19 -0
- package/lib/commonjs/constants/color/index.js.map +1 -0
- package/lib/commonjs/constants/color/tokens/gray-10.js +181 -0
- package/lib/commonjs/constants/color/tokens/gray-10.js.map +1 -0
- package/lib/commonjs/constants/color/tokens/gray-100.js +181 -0
- package/lib/commonjs/constants/color/tokens/gray-100.js.map +1 -0
- package/lib/commonjs/constants/color/tokens/index.js +28 -0
- package/lib/commonjs/constants/color/tokens/index.js.map +1 -0
- package/lib/commonjs/constants/index.js +24 -0
- package/lib/commonjs/constants/index.js.map +1 -0
- package/lib/commonjs/constants/motion/index.js +71 -0
- package/lib/commonjs/constants/motion/index.js.map +1 -0
- package/lib/commonjs/constants/spacing.js +22 -0
- package/lib/commonjs/constants/spacing.js.map +1 -0
- package/lib/commonjs/constants/typography/font-family.js +23 -0
- package/lib/commonjs/constants/typography/font-family.js.map +1 -0
- package/lib/commonjs/constants/typography/index.js +28 -0
- package/lib/commonjs/constants/typography/index.js.map +1 -0
- package/lib/commonjs/constants/typography/type-sets.js +141 -0
- package/lib/commonjs/constants/typography/type-sets.js.map +1 -0
- package/lib/commonjs/contexts/global-config/context.js +12 -0
- package/lib/commonjs/contexts/global-config/context.js.map +1 -0
- package/lib/commonjs/contexts/global-config/provider.js +22 -0
- package/lib/commonjs/contexts/global-config/provider.js.map +1 -0
- package/lib/commonjs/contexts/index.js +28 -0
- package/lib/commonjs/contexts/index.js.map +1 -0
- package/lib/commonjs/contexts/theme/context.js +14 -0
- package/lib/commonjs/contexts/theme/context.js.map +1 -0
- package/lib/commonjs/contexts/theme/index.js +17 -0
- package/lib/commonjs/contexts/theme/index.js.map +1 -0
- package/lib/commonjs/contexts/theme/provider.js +31 -0
- package/lib/commonjs/contexts/theme/provider.js.map +1 -0
- package/lib/commonjs/globals/color-scheme/index.js +16 -0
- package/lib/commonjs/globals/color-scheme/index.js.map +1 -0
- package/lib/commonjs/globals/index.js +11 -0
- package/lib/commonjs/globals/index.js.map +1 -0
- package/lib/commonjs/helpers/color/get-color-scheme.js +15 -0
- package/lib/commonjs/helpers/color/get-color-scheme.js.map +1 -0
- package/lib/commonjs/helpers/color/get-color-token.js +14 -0
- package/lib/commonjs/helpers/color/get-color-token.js.map +1 -0
- package/lib/commonjs/helpers/color/hex-to-rgba.js +11 -0
- package/lib/commonjs/helpers/color/hex-to-rgba.js.map +1 -0
- package/lib/commonjs/helpers/color/index.js +39 -0
- package/lib/commonjs/helpers/color/index.js.map +1 -0
- package/lib/commonjs/helpers/index.js +11 -0
- package/lib/commonjs/helpers/index.js.map +1 -0
- package/lib/commonjs/index.js +94 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/styles/common.js +25 -0
- package/lib/commonjs/styles/common.js.map +1 -0
- package/lib/commonjs/styles/flex.js +82 -0
- package/lib/commonjs/styles/flex.js.map +1 -0
- package/lib/commonjs/styles/index.js +39 -0
- package/lib/commonjs/styles/index.js.map +1 -0
- package/lib/commonjs/styles/text.js +67 -0
- package/lib/commonjs/styles/text.js.map +1 -0
- package/lib/commonjs/types/@carbon/icons/index.d.js +2 -0
- package/lib/commonjs/types/@carbon/icons/index.d.js.map +1 -0
- package/lib/commonjs/types/index.js +6 -0
- package/lib/commonjs/types/index.js.map +1 -0
- package/lib/commonjs/types/shared.js +2 -0
- package/lib/commonjs/types/shared.js.map +1 -0
- package/lib/commonjs/types/theme/color-scheme.js +2 -0
- package/lib/commonjs/types/theme/color-scheme.js.map +1 -0
- package/lib/commonjs/types/theme/color-token.js +2 -0
- package/lib/commonjs/types/theme/color-token.js.map +1 -0
- package/lib/commonjs/types/theme/index.js +2 -0
- package/lib/commonjs/types/theme/index.js.map +1 -0
- package/lib/commonjs/types/typography.js +6 -0
- package/lib/commonjs/types/typography.js.map +1 -0
- package/lib/module/_carbon-react-native/index.js +21 -0
- package/lib/module/_carbon-react-native/index.js.map +1 -0
- package/lib/module/_style-sheet/create.js +55 -0
- package/lib/module/_style-sheet/create.js.map +1 -0
- package/lib/module/_style-sheet/index.js +8 -0
- package/lib/module/_style-sheet/index.js.map +1 -0
- package/lib/module/components/accordion/_context.js +5 -0
- package/lib/module/components/accordion/_context.js.map +1 -0
- package/lib/module/components/accordion/_header-border.js +29 -0
- package/lib/module/components/accordion/_header-border.js.map +1 -0
- package/lib/module/components/accordion/_header.js +149 -0
- package/lib/module/components/accordion/_header.js.map +1 -0
- package/lib/module/components/accordion/_item.js +87 -0
- package/lib/module/components/accordion/_item.js.map +1 -0
- package/lib/module/components/accordion/_motion.js +14 -0
- package/lib/module/components/accordion/_motion.js.map +1 -0
- package/lib/module/components/accordion/_styles.js +21 -0
- package/lib/module/components/accordion/_styles.js.map +1 -0
- package/lib/module/components/accordion/index.js +70 -0
- package/lib/module/components/accordion/index.js.map +1 -0
- package/lib/module/components/accordion/types.js +2 -0
- package/lib/module/components/accordion/types.js.map +1 -0
- package/lib/module/components/button/base/index.js +149 -0
- package/lib/module/components/button/base/index.js.map +1 -0
- package/lib/module/components/button/base-color/index.js +151 -0
- package/lib/module/components/button/base-color/index.js.map +1 -0
- package/lib/module/components/button/ghost/index.js +88 -0
- package/lib/module/components/button/ghost/index.js.map +1 -0
- package/lib/module/components/button/ghost-danger/index.js +88 -0
- package/lib/module/components/button/ghost-danger/index.js.map +1 -0
- package/lib/module/components/button/ghost-icon/index.js +77 -0
- package/lib/module/components/button/ghost-icon/index.js.map +1 -0
- package/lib/module/components/button/index.js +14 -0
- package/lib/module/components/button/index.js.map +1 -0
- package/lib/module/components/button/primary/index.js +70 -0
- package/lib/module/components/button/primary/index.js.map +1 -0
- package/lib/module/components/button/primary-danger/index.js +70 -0
- package/lib/module/components/button/primary-danger/index.js.map +1 -0
- package/lib/module/components/button/secondary/index.js +70 -0
- package/lib/module/components/button/secondary/index.js.map +1 -0
- package/lib/module/components/button/size.js +2 -0
- package/lib/module/components/button/size.js.map +1 -0
- package/lib/module/components/button/tertiary/index.js +85 -0
- package/lib/module/components/button/tertiary/index.js.map +1 -0
- package/lib/module/components/button/tertiary-danger/index.js +85 -0
- package/lib/module/components/button/tertiary-danger/index.js.map +1 -0
- package/lib/module/components/checkbox/index.js +113 -0
- package/lib/module/components/checkbox/index.js.map +1 -0
- package/lib/module/components/checkbox-group/index.js +93 -0
- package/lib/module/components/checkbox-group/index.js.map +1 -0
- package/lib/module/components/checkbox-input/index.js +203 -0
- package/lib/module/components/checkbox-input/index.js.map +1 -0
- package/lib/module/components/collapsible/index.js +128 -0
- package/lib/module/components/collapsible/index.js.map +1 -0
- package/lib/module/components/form-helper-text/index.js +37 -0
- package/lib/module/components/form-helper-text/index.js.map +1 -0
- package/lib/module/components/form-label/index.js +31 -0
- package/lib/module/components/form-label/index.js.map +1 -0
- package/lib/module/components/icon/index.js +35 -0
- package/lib/module/components/icon/index.js.map +1 -0
- package/lib/module/components/index.js +20 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/components/notification/_status-hooks/_base.js +48 -0
- package/lib/module/components/notification/_status-hooks/_base.js.map +1 -0
- package/lib/module/components/notification/_status-hooks/error/index.js +42 -0
- package/lib/module/components/notification/_status-hooks/error/index.js.map +1 -0
- package/lib/module/components/notification/_status-hooks/index.js +7 -0
- package/lib/module/components/notification/_status-hooks/index.js.map +1 -0
- package/lib/module/components/notification/_status-hooks/informational/index.js +42 -0
- package/lib/module/components/notification/_status-hooks/informational/index.js.map +1 -0
- package/lib/module/components/notification/_status-hooks/success/index.js +42 -0
- package/lib/module/components/notification/_status-hooks/success/index.js.map +1 -0
- package/lib/module/components/notification/_status-hooks/warning/index.js +42 -0
- package/lib/module/components/notification/_status-hooks/warning/index.js.map +1 -0
- package/lib/module/components/notification/_variant-context.js +19 -0
- package/lib/module/components/notification/_variant-context.js.map +1 -0
- package/lib/module/components/notification/_variants/_button-ghost.js +39 -0
- package/lib/module/components/notification/_variants/_button-ghost.js.map +1 -0
- package/lib/module/components/notification/_variants/_button-tertiary.js +39 -0
- package/lib/module/components/notification/_variants/_button-tertiary.js.map +1 -0
- package/lib/module/components/notification/_variants/actionable/index.js +38 -0
- package/lib/module/components/notification/_variants/actionable/index.js.map +1 -0
- package/lib/module/components/notification/_variants/actionable-inline/index.js +38 -0
- package/lib/module/components/notification/_variants/actionable-inline/index.js.map +1 -0
- package/lib/module/components/notification/_variants/callout/index.js +31 -0
- package/lib/module/components/notification/_variants/callout/index.js.map +1 -0
- package/lib/module/components/notification/_variants/callout-inline/index.js +31 -0
- package/lib/module/components/notification/_variants/callout-inline/index.js.map +1 -0
- package/lib/module/components/notification/_variants/index.js +8 -0
- package/lib/module/components/notification/_variants/index.js.map +1 -0
- package/lib/module/components/notification/_variants/toast/index.js +59 -0
- package/lib/module/components/notification/_variants/toast/index.js.map +1 -0
- package/lib/module/components/notification/actionable/error/index.js +45 -0
- package/lib/module/components/notification/actionable/error/index.js.map +1 -0
- package/lib/module/components/notification/actionable/index.js +7 -0
- package/lib/module/components/notification/actionable/index.js.map +1 -0
- package/lib/module/components/notification/actionable/informational/index.js +45 -0
- package/lib/module/components/notification/actionable/informational/index.js.map +1 -0
- package/lib/module/components/notification/actionable/success/index.js +45 -0
- package/lib/module/components/notification/actionable/success/index.js.map +1 -0
- package/lib/module/components/notification/actionable/warning/index.js +45 -0
- package/lib/module/components/notification/actionable/warning/index.js.map +1 -0
- package/lib/module/components/notification/actionable-inline/error/index.js +44 -0
- package/lib/module/components/notification/actionable-inline/error/index.js.map +1 -0
- package/lib/module/components/notification/actionable-inline/index.js +7 -0
- package/lib/module/components/notification/actionable-inline/index.js.map +1 -0
- package/lib/module/components/notification/actionable-inline/informational/index.js +44 -0
- package/lib/module/components/notification/actionable-inline/informational/index.js.map +1 -0
- package/lib/module/components/notification/actionable-inline/success/index.js +44 -0
- package/lib/module/components/notification/actionable-inline/success/index.js.map +1 -0
- package/lib/module/components/notification/actionable-inline/warning/index.js +44 -0
- package/lib/module/components/notification/actionable-inline/warning/index.js.map +1 -0
- package/lib/module/components/notification/base/index.js +165 -0
- package/lib/module/components/notification/base/index.js.map +1 -0
- package/lib/module/components/notification/callout/error/index.js +45 -0
- package/lib/module/components/notification/callout/error/index.js.map +1 -0
- package/lib/module/components/notification/callout/index.js +7 -0
- package/lib/module/components/notification/callout/index.js.map +1 -0
- package/lib/module/components/notification/callout/informational/index.js +45 -0
- package/lib/module/components/notification/callout/informational/index.js.map +1 -0
- package/lib/module/components/notification/callout/success/index.js +45 -0
- package/lib/module/components/notification/callout/success/index.js.map +1 -0
- package/lib/module/components/notification/callout/warning/index.js +45 -0
- package/lib/module/components/notification/callout/warning/index.js.map +1 -0
- package/lib/module/components/notification/callout-inline/error/index.js +44 -0
- package/lib/module/components/notification/callout-inline/error/index.js.map +1 -0
- package/lib/module/components/notification/callout-inline/index.js +7 -0
- package/lib/module/components/notification/callout-inline/index.js.map +1 -0
- package/lib/module/components/notification/callout-inline/informational/index.js +44 -0
- package/lib/module/components/notification/callout-inline/informational/index.js.map +1 -0
- package/lib/module/components/notification/callout-inline/success/index.js +44 -0
- package/lib/module/components/notification/callout-inline/success/index.js.map +1 -0
- package/lib/module/components/notification/callout-inline/warning/index.js +44 -0
- package/lib/module/components/notification/callout-inline/warning/index.js.map +1 -0
- package/lib/module/components/notification/index.js +12 -0
- package/lib/module/components/notification/index.js.map +1 -0
- package/lib/module/components/notification/subtitle/index.js +26 -0
- package/lib/module/components/notification/subtitle/index.js.map +1 -0
- package/lib/module/components/notification/subtitle-link/index.js +25 -0
- package/lib/module/components/notification/subtitle-link/index.js.map +1 -0
- package/lib/module/components/notification/toast/error/index.js +45 -0
- package/lib/module/components/notification/toast/error/index.js.map +1 -0
- package/lib/module/components/notification/toast/index.js +7 -0
- package/lib/module/components/notification/toast/index.js.map +1 -0
- package/lib/module/components/notification/toast/informational/index.js +45 -0
- package/lib/module/components/notification/toast/informational/index.js.map +1 -0
- package/lib/module/components/notification/toast/success/index.js +45 -0
- package/lib/module/components/notification/toast/success/index.js.map +1 -0
- package/lib/module/components/notification/toast/warning/index.js +45 -0
- package/lib/module/components/notification/toast/warning/index.js.map +1 -0
- package/lib/module/components/notification/types.js +2 -0
- package/lib/module/components/notification/types.js.map +1 -0
- package/lib/module/components/radio-button/index.js +102 -0
- package/lib/module/components/radio-button/index.js.map +1 -0
- package/lib/module/components/radio-button-group/_item-context.js +5 -0
- package/lib/module/components/radio-button-group/_item-context.js.map +1 -0
- package/lib/module/components/radio-button-group/_item.js +48 -0
- package/lib/module/components/radio-button-group/_item.js.map +1 -0
- package/lib/module/components/radio-button-group/_types/index.js +4 -0
- package/lib/module/components/radio-button-group/_types/index.js.map +1 -0
- package/lib/module/components/radio-button-group/_types/ref-base.js +4 -0
- package/lib/module/components/radio-button-group/_types/ref-base.js.map +1 -0
- package/lib/module/components/radio-button-group/index.js +136 -0
- package/lib/module/components/radio-button-group/index.js.map +1 -0
- package/lib/module/components/radio-button-input/index.js +196 -0
- package/lib/module/components/radio-button-input/index.js.map +1 -0
- package/lib/module/components/switch/index.js +238 -0
- package/lib/module/components/switch/index.js.map +1 -0
- package/lib/module/components/text/index.js +66 -0
- package/lib/module/components/text/index.js.map +1 -0
- package/lib/module/components/toggle/base/index.js +111 -0
- package/lib/module/components/toggle/base/index.js.map +1 -0
- package/lib/module/components/toggle/default/index.js +19 -0
- package/lib/module/components/toggle/default/index.js.map +1 -0
- package/lib/module/components/toggle/index.js +7 -0
- package/lib/module/components/toggle/index.js.map +1 -0
- package/lib/module/components/toggle/small/index.js +19 -0
- package/lib/module/components/toggle/small/index.js.map +1 -0
- package/lib/module/components/toggle/state.js +2 -0
- package/lib/module/components/toggle/state.js.map +1 -0
- package/lib/module/constants/color/code.json +273 -0
- package/lib/module/constants/color/index.js +6 -0
- package/lib/module/constants/color/index.js.map +1 -0
- package/lib/module/constants/color/tokens/gray-10.js +176 -0
- package/lib/module/constants/color/tokens/gray-10.js.map +1 -0
- package/lib/module/constants/color/tokens/gray-100.js +176 -0
- package/lib/module/constants/color/tokens/gray-100.js.map +1 -0
- package/lib/module/constants/color/tokens/index.js +5 -0
- package/lib/module/constants/color/tokens/index.js.map +1 -0
- package/lib/module/constants/index.js +8 -0
- package/lib/module/constants/index.js.map +1 -0
- package/lib/module/constants/motion/index.js +67 -0
- package/lib/module/constants/motion/index.js.map +1 -0
- package/lib/module/constants/spacing.js +18 -0
- package/lib/module/constants/spacing.js.map +1 -0
- package/lib/module/constants/typography/font-family.js +19 -0
- package/lib/module/constants/typography/font-family.js.map +1 -0
- package/lib/module/constants/typography/index.js +5 -0
- package/lib/module/constants/typography/index.js.map +1 -0
- package/lib/module/constants/typography/type-sets.js +137 -0
- package/lib/module/constants/typography/type-sets.js.map +1 -0
- package/lib/module/contexts/global-config/context.js +8 -0
- package/lib/module/contexts/global-config/context.js.map +1 -0
- package/lib/module/contexts/global-config/provider.js +18 -0
- package/lib/module/contexts/global-config/provider.js.map +1 -0
- package/lib/module/contexts/index.js +5 -0
- package/lib/module/contexts/index.js.map +1 -0
- package/lib/module/contexts/theme/context.js +10 -0
- package/lib/module/contexts/theme/context.js.map +1 -0
- package/lib/module/contexts/theme/index.js +4 -0
- package/lib/module/contexts/theme/index.js.map +1 -0
- package/lib/module/contexts/theme/provider.js +27 -0
- package/lib/module/contexts/theme/provider.js.map +1 -0
- package/lib/module/globals/color-scheme/index.js +11 -0
- package/lib/module/globals/color-scheme/index.js.map +1 -0
- package/lib/module/globals/index.js +5 -0
- package/lib/module/globals/index.js.map +1 -0
- package/lib/module/helpers/color/get-color-scheme.js +11 -0
- package/lib/module/helpers/color/get-color-scheme.js.map +1 -0
- package/lib/module/helpers/color/get-color-token.js +10 -0
- package/lib/module/helpers/color/get-color-token.js.map +1 -0
- package/lib/module/helpers/color/hex-to-rgba.js +7 -0
- package/lib/module/helpers/color/hex-to-rgba.js.map +1 -0
- package/lib/module/helpers/color/index.js +6 -0
- package/lib/module/helpers/color/index.js.map +1 -0
- package/lib/module/helpers/index.js +5 -0
- package/lib/module/helpers/index.js.map +1 -0
- package/lib/module/index.js +11 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/styles/common.js +21 -0
- package/lib/module/styles/common.js.map +1 -0
- package/lib/module/styles/flex.js +78 -0
- package/lib/module/styles/flex.js.map +1 -0
- package/lib/module/styles/index.js +6 -0
- package/lib/module/styles/index.js.map +1 -0
- package/lib/module/styles/text.js +63 -0
- package/lib/module/styles/text.js.map +1 -0
- package/lib/module/types/@carbon/icons/index.d.js +2 -0
- package/lib/module/types/@carbon/icons/index.d.js.map +1 -0
- package/lib/module/types/index.js +4 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/module/types/shared.js +2 -0
- package/lib/module/types/shared.js.map +1 -0
- package/lib/module/types/theme/color-scheme.js +2 -0
- package/lib/module/types/theme/color-scheme.js.map +1 -0
- package/lib/module/types/theme/color-token.js +2 -0
- package/lib/module/types/theme/color-token.js.map +1 -0
- package/lib/module/types/theme/index.js +2 -0
- package/lib/module/types/theme/index.js.map +1 -0
- package/lib/module/types/typography.js +4 -0
- package/lib/module/types/typography.js.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/_carbon-react-native/index.d.ts +7 -0
- package/lib/typescript/commonjs/src/_carbon-react-native/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/_style-sheet/create.d.ts +6 -0
- package/lib/typescript/commonjs/src/_style-sheet/create.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/_style-sheet/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/_style-sheet/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/accordion/_context.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/accordion/_context.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/accordion/_header-border.d.ts +10 -0
- package/lib/typescript/commonjs/src/components/accordion/_header-border.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/accordion/_header.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/accordion/_header.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/accordion/_item.d.ts +23 -0
- package/lib/typescript/commonjs/src/components/accordion/_item.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/accordion/_motion.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/accordion/_motion.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/accordion/_styles.d.ts +16 -0
- package/lib/typescript/commonjs/src/components/accordion/_styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/accordion/index.d.ts +16 -0
- package/lib/typescript/commonjs/src/components/accordion/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/accordion/types.d.ts +2 -0
- package/lib/typescript/commonjs/src/components/accordion/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/base/index.d.ts +37 -0
- package/lib/typescript/commonjs/src/components/button/base/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/base-color/index.d.ts +21 -0
- package/lib/typescript/commonjs/src/components/button/base-color/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/ghost/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/button/ghost/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/ghost-danger/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/button/ghost-danger/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/ghost-icon/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/button/ghost-icon/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/index.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/button/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/primary/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/button/primary/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/primary-danger/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/button/primary-danger/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/secondary/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/button/secondary/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/size.d.ts +2 -0
- package/lib/typescript/commonjs/src/components/button/size.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/tertiary/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/button/tertiary/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/tertiary-danger/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/button/tertiary-danger/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/checkbox/index.d.ts +32 -0
- package/lib/typescript/commonjs/src/components/checkbox/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/checkbox-group/index.d.ts +21 -0
- package/lib/typescript/commonjs/src/components/checkbox-group/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/checkbox-input/index.d.ts +25 -0
- package/lib/typescript/commonjs/src/components/checkbox-input/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/collapsible/index.d.ts +26 -0
- package/lib/typescript/commonjs/src/components/collapsible/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/form-helper-text/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/form-helper-text/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/form-label/index.d.ts +10 -0
- package/lib/typescript/commonjs/src/components/form-label/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/icon/index.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/icon/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/index.d.ts +18 -0
- package/lib/typescript/commonjs/src/components/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_status-hooks/_base.d.ts +28 -0
- package/lib/typescript/commonjs/src/components/notification/_status-hooks/_base.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_status-hooks/error/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/notification/_status-hooks/error/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_status-hooks/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/notification/_status-hooks/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_status-hooks/informational/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/notification/_status-hooks/informational/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_status-hooks/success/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/notification/_status-hooks/success/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_status-hooks/warning/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/notification/_status-hooks/warning/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_variant-context.d.ts +10 -0
- package/lib/typescript/commonjs/src/components/notification/_variant-context.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/_button-ghost.d.ts +7 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/_button-ghost.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/_button-tertiary.d.ts +7 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/_button-tertiary.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/actionable/index.d.ts +30 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/actionable/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/actionable-inline/index.d.ts +30 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/actionable-inline/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/callout/index.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/callout/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/callout-inline/index.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/callout-inline/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/index.d.ts +6 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/toast/index.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/notification/_variants/toast/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/actionable/error/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/actionable/error/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/actionable/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/notification/actionable/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/actionable/informational/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/actionable/informational/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/actionable/success/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/actionable/success/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/actionable/warning/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/actionable/warning/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/actionable-inline/error/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/actionable-inline/error/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/actionable-inline/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/notification/actionable-inline/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/actionable-inline/informational/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/actionable-inline/informational/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/actionable-inline/success/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/actionable-inline/success/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/actionable-inline/warning/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/actionable-inline/warning/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/base/index.d.ts +29 -0
- package/lib/typescript/commonjs/src/components/notification/base/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/callout/error/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/callout/error/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/callout/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/notification/callout/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/callout/informational/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/callout/informational/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/callout/success/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/callout/success/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/callout/warning/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/callout/warning/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/callout-inline/error/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/callout-inline/error/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/callout-inline/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/notification/callout-inline/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/callout-inline/informational/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/callout-inline/informational/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/callout-inline/success/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/callout-inline/success/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/callout-inline/warning/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/callout-inline/warning/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/index.d.ts +10 -0
- package/lib/typescript/commonjs/src/components/notification/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/subtitle/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/notification/subtitle/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/subtitle-link/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/notification/subtitle-link/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/toast/error/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/toast/error/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/toast/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/notification/toast/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/toast/informational/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/toast/informational/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/toast/success/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/toast/success/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/toast/warning/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/notification/toast/warning/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/notification/types.d.ts +2 -0
- package/lib/typescript/commonjs/src/components/notification/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/radio-button/index.d.ts +32 -0
- package/lib/typescript/commonjs/src/components/radio-button/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/radio-button-group/_item-context.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/radio-button-group/_item-context.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/radio-button-group/_item.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/radio-button-group/_item.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/radio-button-group/_types/index.d.ts +27 -0
- package/lib/typescript/commonjs/src/components/radio-button-group/_types/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/radio-button-group/_types/ref-base.d.ts +9 -0
- package/lib/typescript/commonjs/src/components/radio-button-group/_types/ref-base.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/radio-button-group/index.d.ts +6 -0
- package/lib/typescript/commonjs/src/components/radio-button-group/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/radio-button-input/index.d.ts +22 -0
- package/lib/typescript/commonjs/src/components/radio-button-input/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/switch/index.d.ts +33 -0
- package/lib/typescript/commonjs/src/components/switch/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/text/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/text/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/toggle/base/index.d.ts +33 -0
- package/lib/typescript/commonjs/src/components/toggle/base/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/toggle/default/index.d.ts +10 -0
- package/lib/typescript/commonjs/src/components/toggle/default/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/toggle/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/toggle/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/toggle/small/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/toggle/small/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/toggle/state.d.ts +2 -0
- package/lib/typescript/commonjs/src/components/toggle/state.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/constants/color/index.d.ts +4 -0
- package/lib/typescript/commonjs/src/constants/color/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/constants/color/tokens/gray-10.d.ts +172 -0
- package/lib/typescript/commonjs/src/constants/color/tokens/gray-10.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/constants/color/tokens/gray-100.d.ts +172 -0
- package/lib/typescript/commonjs/src/constants/color/tokens/gray-100.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/constants/color/tokens/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/constants/color/tokens/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/constants/index.d.ts +6 -0
- package/lib/typescript/commonjs/src/constants/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/constants/motion/index.d.ts +63 -0
- package/lib/typescript/commonjs/src/constants/motion/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/constants/spacing.d.ts +17 -0
- package/lib/typescript/commonjs/src/constants/spacing.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/constants/typography/font-family.d.ts +17 -0
- package/lib/typescript/commonjs/src/constants/typography/font-family.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/constants/typography/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/constants/typography/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/constants/typography/type-sets.d.ts +3 -0
- package/lib/typescript/commonjs/src/constants/typography/type-sets.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/global-config/context.d.ts +10 -0
- package/lib/typescript/commonjs/src/contexts/global-config/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/global-config/provider.d.ts +6 -0
- package/lib/typescript/commonjs/src/contexts/global-config/provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/contexts/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/theme/context.d.ts +7 -0
- package/lib/typescript/commonjs/src/contexts/theme/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/theme/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/contexts/theme/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/contexts/theme/provider.d.ts +11 -0
- package/lib/typescript/commonjs/src/contexts/theme/provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/globals/color-scheme/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/globals/color-scheme/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/globals/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/globals/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/helpers/color/get-color-scheme.d.ts +4 -0
- package/lib/typescript/commonjs/src/helpers/color/get-color-scheme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/helpers/color/get-color-token.d.ts +3 -0
- package/lib/typescript/commonjs/src/helpers/color/get-color-token.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/helpers/color/hex-to-rgba.d.ts +2 -0
- package/lib/typescript/commonjs/src/helpers/color/hex-to-rgba.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/helpers/color/index.d.ts +4 -0
- package/lib/typescript/commonjs/src/helpers/color/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/helpers/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/helpers/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/styles/common.d.ts +18 -0
- package/lib/typescript/commonjs/src/styles/common.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/styles/flex.d.ts +75 -0
- package/lib/typescript/commonjs/src/styles/flex.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/styles/index.d.ts +4 -0
- package/lib/typescript/commonjs/src/styles/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/styles/text.d.ts +59 -0
- package/lib/typescript/commonjs/src/styles/text.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/types/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/shared.d.ts +2 -0
- package/lib/typescript/commonjs/src/types/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/theme/color-scheme.d.ts +2 -0
- package/lib/typescript/commonjs/src/types/theme/color-scheme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/theme/color-token.d.ts +2 -0
- package/lib/typescript/commonjs/src/types/theme/color-token.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/theme/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/types/theme/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/typography.d.ts +11 -0
- package/lib/typescript/commonjs/src/types/typography.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/_carbon-react-native/index.d.ts +7 -0
- package/lib/typescript/module/src/_carbon-react-native/index.d.ts.map +1 -0
- package/lib/typescript/module/src/_style-sheet/create.d.ts +6 -0
- package/lib/typescript/module/src/_style-sheet/create.d.ts.map +1 -0
- package/lib/typescript/module/src/_style-sheet/index.d.ts +5 -0
- package/lib/typescript/module/src/_style-sheet/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/accordion/_context.d.ts +9 -0
- package/lib/typescript/module/src/components/accordion/_context.d.ts.map +1 -0
- package/lib/typescript/module/src/components/accordion/_header-border.d.ts +10 -0
- package/lib/typescript/module/src/components/accordion/_header-border.d.ts.map +1 -0
- package/lib/typescript/module/src/components/accordion/_header.d.ts +13 -0
- package/lib/typescript/module/src/components/accordion/_header.d.ts.map +1 -0
- package/lib/typescript/module/src/components/accordion/_item.d.ts +23 -0
- package/lib/typescript/module/src/components/accordion/_item.d.ts.map +1 -0
- package/lib/typescript/module/src/components/accordion/_motion.d.ts +3 -0
- package/lib/typescript/module/src/components/accordion/_motion.d.ts.map +1 -0
- package/lib/typescript/module/src/components/accordion/_styles.d.ts +16 -0
- package/lib/typescript/module/src/components/accordion/_styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/accordion/index.d.ts +16 -0
- package/lib/typescript/module/src/components/accordion/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/accordion/types.d.ts +2 -0
- package/lib/typescript/module/src/components/accordion/types.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/base/index.d.ts +37 -0
- package/lib/typescript/module/src/components/button/base/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/base-color/index.d.ts +21 -0
- package/lib/typescript/module/src/components/button/base-color/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/ghost/index.d.ts +5 -0
- package/lib/typescript/module/src/components/button/ghost/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/ghost-danger/index.d.ts +5 -0
- package/lib/typescript/module/src/components/button/ghost-danger/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/ghost-icon/index.d.ts +8 -0
- package/lib/typescript/module/src/components/button/ghost-icon/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/index.d.ts +12 -0
- package/lib/typescript/module/src/components/button/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/primary/index.d.ts +5 -0
- package/lib/typescript/module/src/components/button/primary/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/primary-danger/index.d.ts +5 -0
- package/lib/typescript/module/src/components/button/primary-danger/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/secondary/index.d.ts +5 -0
- package/lib/typescript/module/src/components/button/secondary/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/size.d.ts +2 -0
- package/lib/typescript/module/src/components/button/size.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/tertiary/index.d.ts +5 -0
- package/lib/typescript/module/src/components/button/tertiary/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/tertiary-danger/index.d.ts +5 -0
- package/lib/typescript/module/src/components/button/tertiary-danger/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/checkbox/index.d.ts +32 -0
- package/lib/typescript/module/src/components/checkbox/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/checkbox-group/index.d.ts +21 -0
- package/lib/typescript/module/src/components/checkbox-group/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/checkbox-input/index.d.ts +25 -0
- package/lib/typescript/module/src/components/checkbox-input/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/collapsible/index.d.ts +26 -0
- package/lib/typescript/module/src/components/collapsible/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/form-helper-text/index.d.ts +11 -0
- package/lib/typescript/module/src/components/form-helper-text/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/form-label/index.d.ts +10 -0
- package/lib/typescript/module/src/components/form-label/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/icon/index.d.ts +13 -0
- package/lib/typescript/module/src/components/icon/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/index.d.ts +18 -0
- package/lib/typescript/module/src/components/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_status-hooks/_base.d.ts +28 -0
- package/lib/typescript/module/src/components/notification/_status-hooks/_base.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_status-hooks/error/index.d.ts +11 -0
- package/lib/typescript/module/src/components/notification/_status-hooks/error/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_status-hooks/index.d.ts +5 -0
- package/lib/typescript/module/src/components/notification/_status-hooks/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_status-hooks/informational/index.d.ts +11 -0
- package/lib/typescript/module/src/components/notification/_status-hooks/informational/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_status-hooks/success/index.d.ts +11 -0
- package/lib/typescript/module/src/components/notification/_status-hooks/success/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_status-hooks/warning/index.d.ts +11 -0
- package/lib/typescript/module/src/components/notification/_status-hooks/warning/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_variant-context.d.ts +10 -0
- package/lib/typescript/module/src/components/notification/_variant-context.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_variants/_button-ghost.d.ts +7 -0
- package/lib/typescript/module/src/components/notification/_variants/_button-ghost.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_variants/_button-tertiary.d.ts +7 -0
- package/lib/typescript/module/src/components/notification/_variants/_button-tertiary.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_variants/actionable/index.d.ts +30 -0
- package/lib/typescript/module/src/components/notification/_variants/actionable/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_variants/actionable-inline/index.d.ts +30 -0
- package/lib/typescript/module/src/components/notification/_variants/actionable-inline/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_variants/callout/index.d.ts +13 -0
- package/lib/typescript/module/src/components/notification/_variants/callout/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_variants/callout-inline/index.d.ts +13 -0
- package/lib/typescript/module/src/components/notification/_variants/callout-inline/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_variants/index.d.ts +6 -0
- package/lib/typescript/module/src/components/notification/_variants/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/_variants/toast/index.d.ts +17 -0
- package/lib/typescript/module/src/components/notification/_variants/toast/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/actionable/error/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/actionable/error/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/actionable/index.d.ts +5 -0
- package/lib/typescript/module/src/components/notification/actionable/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/actionable/informational/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/actionable/informational/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/actionable/success/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/actionable/success/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/actionable/warning/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/actionable/warning/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/actionable-inline/error/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/actionable-inline/error/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/actionable-inline/index.d.ts +5 -0
- package/lib/typescript/module/src/components/notification/actionable-inline/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/actionable-inline/informational/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/actionable-inline/informational/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/actionable-inline/success/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/actionable-inline/success/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/actionable-inline/warning/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/actionable-inline/warning/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/base/index.d.ts +29 -0
- package/lib/typescript/module/src/components/notification/base/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/callout/error/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/callout/error/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/callout/index.d.ts +5 -0
- package/lib/typescript/module/src/components/notification/callout/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/callout/informational/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/callout/informational/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/callout/success/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/callout/success/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/callout/warning/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/callout/warning/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/callout-inline/error/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/callout-inline/error/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/callout-inline/index.d.ts +5 -0
- package/lib/typescript/module/src/components/notification/callout-inline/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/callout-inline/informational/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/callout-inline/informational/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/callout-inline/success/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/callout-inline/success/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/callout-inline/warning/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/callout-inline/warning/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/index.d.ts +10 -0
- package/lib/typescript/module/src/components/notification/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/subtitle/index.d.ts +5 -0
- package/lib/typescript/module/src/components/notification/subtitle/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/subtitle-link/index.d.ts +5 -0
- package/lib/typescript/module/src/components/notification/subtitle-link/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/toast/error/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/toast/error/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/toast/index.d.ts +5 -0
- package/lib/typescript/module/src/components/notification/toast/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/toast/informational/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/toast/informational/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/toast/success/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/toast/success/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/toast/warning/index.d.ts +9 -0
- package/lib/typescript/module/src/components/notification/toast/warning/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/notification/types.d.ts +2 -0
- package/lib/typescript/module/src/components/notification/types.d.ts.map +1 -0
- package/lib/typescript/module/src/components/radio-button/index.d.ts +32 -0
- package/lib/typescript/module/src/components/radio-button/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/radio-button-group/_item-context.d.ts +8 -0
- package/lib/typescript/module/src/components/radio-button-group/_item-context.d.ts.map +1 -0
- package/lib/typescript/module/src/components/radio-button-group/_item.d.ts +3 -0
- package/lib/typescript/module/src/components/radio-button-group/_item.d.ts.map +1 -0
- package/lib/typescript/module/src/components/radio-button-group/_types/index.d.ts +27 -0
- package/lib/typescript/module/src/components/radio-button-group/_types/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/radio-button-group/_types/ref-base.d.ts +9 -0
- package/lib/typescript/module/src/components/radio-button-group/_types/ref-base.d.ts.map +1 -0
- package/lib/typescript/module/src/components/radio-button-group/index.d.ts +6 -0
- package/lib/typescript/module/src/components/radio-button-group/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/radio-button-input/index.d.ts +22 -0
- package/lib/typescript/module/src/components/radio-button-input/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/switch/index.d.ts +33 -0
- package/lib/typescript/module/src/components/switch/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/text/index.d.ts +8 -0
- package/lib/typescript/module/src/components/text/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/toggle/base/index.d.ts +33 -0
- package/lib/typescript/module/src/components/toggle/base/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/toggle/default/index.d.ts +10 -0
- package/lib/typescript/module/src/components/toggle/default/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/toggle/index.d.ts +5 -0
- package/lib/typescript/module/src/components/toggle/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/toggle/small/index.d.ts +8 -0
- package/lib/typescript/module/src/components/toggle/small/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/toggle/state.d.ts +2 -0
- package/lib/typescript/module/src/components/toggle/state.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/color/index.d.ts +4 -0
- package/lib/typescript/module/src/constants/color/index.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/color/tokens/gray-10.d.ts +172 -0
- package/lib/typescript/module/src/constants/color/tokens/gray-10.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/color/tokens/gray-100.d.ts +172 -0
- package/lib/typescript/module/src/constants/color/tokens/gray-100.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/color/tokens/index.d.ts +3 -0
- package/lib/typescript/module/src/constants/color/tokens/index.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/index.d.ts +6 -0
- package/lib/typescript/module/src/constants/index.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/motion/index.d.ts +63 -0
- package/lib/typescript/module/src/constants/motion/index.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/spacing.d.ts +17 -0
- package/lib/typescript/module/src/constants/spacing.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/typography/font-family.d.ts +17 -0
- package/lib/typescript/module/src/constants/typography/font-family.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/typography/index.d.ts +3 -0
- package/lib/typescript/module/src/constants/typography/index.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/typography/type-sets.d.ts +3 -0
- package/lib/typescript/module/src/constants/typography/type-sets.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/global-config/context.d.ts +10 -0
- package/lib/typescript/module/src/contexts/global-config/context.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/global-config/provider.d.ts +6 -0
- package/lib/typescript/module/src/contexts/global-config/provider.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/index.d.ts +3 -0
- package/lib/typescript/module/src/contexts/index.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/theme/context.d.ts +7 -0
- package/lib/typescript/module/src/contexts/theme/context.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/theme/index.d.ts +3 -0
- package/lib/typescript/module/src/contexts/theme/index.d.ts.map +1 -0
- package/lib/typescript/module/src/contexts/theme/provider.d.ts +11 -0
- package/lib/typescript/module/src/contexts/theme/provider.d.ts.map +1 -0
- package/lib/typescript/module/src/globals/color-scheme/index.d.ts +5 -0
- package/lib/typescript/module/src/globals/color-scheme/index.d.ts.map +1 -0
- package/lib/typescript/module/src/globals/index.d.ts +3 -0
- package/lib/typescript/module/src/globals/index.d.ts.map +1 -0
- package/lib/typescript/module/src/helpers/color/get-color-scheme.d.ts +4 -0
- package/lib/typescript/module/src/helpers/color/get-color-scheme.d.ts.map +1 -0
- package/lib/typescript/module/src/helpers/color/get-color-token.d.ts +3 -0
- package/lib/typescript/module/src/helpers/color/get-color-token.d.ts.map +1 -0
- package/lib/typescript/module/src/helpers/color/hex-to-rgba.d.ts +2 -0
- package/lib/typescript/module/src/helpers/color/hex-to-rgba.d.ts.map +1 -0
- package/lib/typescript/module/src/helpers/color/index.d.ts +4 -0
- package/lib/typescript/module/src/helpers/color/index.d.ts.map +1 -0
- package/lib/typescript/module/src/helpers/index.d.ts +3 -0
- package/lib/typescript/module/src/helpers/index.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +9 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/styles/common.d.ts +18 -0
- package/lib/typescript/module/src/styles/common.d.ts.map +1 -0
- package/lib/typescript/module/src/styles/flex.d.ts +75 -0
- package/lib/typescript/module/src/styles/flex.d.ts.map +1 -0
- package/lib/typescript/module/src/styles/index.d.ts +4 -0
- package/lib/typescript/module/src/styles/index.d.ts.map +1 -0
- package/lib/typescript/module/src/styles/text.d.ts +59 -0
- package/lib/typescript/module/src/styles/text.d.ts.map +1 -0
- package/lib/typescript/module/src/types/index.d.ts +5 -0
- package/lib/typescript/module/src/types/index.d.ts.map +1 -0
- package/lib/typescript/module/src/types/shared.d.ts +2 -0
- package/lib/typescript/module/src/types/shared.d.ts.map +1 -0
- package/lib/typescript/module/src/types/theme/color-scheme.d.ts +2 -0
- package/lib/typescript/module/src/types/theme/color-scheme.d.ts.map +1 -0
- package/lib/typescript/module/src/types/theme/color-token.d.ts +2 -0
- package/lib/typescript/module/src/types/theme/color-token.d.ts.map +1 -0
- package/lib/typescript/module/src/types/theme/index.d.ts +3 -0
- package/lib/typescript/module/src/types/theme/index.d.ts.map +1 -0
- package/lib/typescript/module/src/types/typography.d.ts +11 -0
- package/lib/typescript/module/src/types/typography.d.ts.map +1 -0
- package/package.json +73 -0
- package/src/_carbon-react-native/index.tsx +37 -0
- package/src/_style-sheet/create.ts +145 -0
- package/src/_style-sheet/index.ts +9 -0
- package/src/components/accordion/_context.tsx +19 -0
- package/src/components/accordion/_header-border.tsx +68 -0
- package/src/components/accordion/_header.tsx +269 -0
- package/src/components/accordion/_item.tsx +186 -0
- package/src/components/accordion/_motion.ts +27 -0
- package/src/components/accordion/_styles.ts +24 -0
- package/src/components/accordion/index.tsx +152 -0
- package/src/components/accordion/types.ts +4 -0
- package/src/components/button/base/index.tsx +270 -0
- package/src/components/button/base-color/index.tsx +277 -0
- package/src/components/button/ghost/index.tsx +132 -0
- package/src/components/button/ghost-danger/index.tsx +132 -0
- package/src/components/button/ghost-icon/index.tsx +125 -0
- package/src/components/button/index.tsx +11 -0
- package/src/components/button/primary/index.tsx +108 -0
- package/src/components/button/primary-danger/index.tsx +108 -0
- package/src/components/button/secondary/index.tsx +108 -0
- package/src/components/button/size.ts +7 -0
- package/src/components/button/tertiary/index.tsx +125 -0
- package/src/components/button/tertiary-danger/index.tsx +125 -0
- package/src/components/checkbox/index.tsx +239 -0
- package/src/components/checkbox-group/index.tsx +197 -0
- package/src/components/checkbox-input/index.tsx +368 -0
- package/src/components/collapsible/index.tsx +289 -0
- package/src/components/form-helper-text/index.tsx +84 -0
- package/src/components/form-label/index.tsx +66 -0
- package/src/components/icon/index.tsx +53 -0
- package/src/components/index.tsx +23 -0
- package/src/components/notification/_status-hooks/_base.tsx +97 -0
- package/src/components/notification/_status-hooks/error/index.tsx +61 -0
- package/src/components/notification/_status-hooks/index.tsx +4 -0
- package/src/components/notification/_status-hooks/informational/index.tsx +61 -0
- package/src/components/notification/_status-hooks/success/index.tsx +61 -0
- package/src/components/notification/_status-hooks/warning/index.tsx +61 -0
- package/src/components/notification/_variant-context.tsx +35 -0
- package/src/components/notification/_variants/_button-ghost.tsx +65 -0
- package/src/components/notification/_variants/_button-tertiary.tsx +65 -0
- package/src/components/notification/_variants/actionable/index.tsx +105 -0
- package/src/components/notification/_variants/actionable-inline/index.tsx +105 -0
- package/src/components/notification/_variants/callout/index.tsx +76 -0
- package/src/components/notification/_variants/callout-inline/index.tsx +76 -0
- package/src/components/notification/_variants/index.tsx +5 -0
- package/src/components/notification/_variants/toast/index.tsx +135 -0
- package/src/components/notification/actionable/error/index.tsx +86 -0
- package/src/components/notification/actionable/index.tsx +4 -0
- package/src/components/notification/actionable/informational/index.tsx +86 -0
- package/src/components/notification/actionable/success/index.tsx +86 -0
- package/src/components/notification/actionable/warning/index.tsx +86 -0
- package/src/components/notification/actionable-inline/error/index.tsx +85 -0
- package/src/components/notification/actionable-inline/index.tsx +4 -0
- package/src/components/notification/actionable-inline/informational/index.tsx +85 -0
- package/src/components/notification/actionable-inline/success/index.tsx +85 -0
- package/src/components/notification/actionable-inline/warning/index.tsx +85 -0
- package/src/components/notification/base/index.tsx +319 -0
- package/src/components/notification/callout/error/index.tsx +86 -0
- package/src/components/notification/callout/index.tsx +4 -0
- package/src/components/notification/callout/informational/index.tsx +86 -0
- package/src/components/notification/callout/success/index.tsx +86 -0
- package/src/components/notification/callout/warning/index.tsx +86 -0
- package/src/components/notification/callout-inline/error/index.tsx +85 -0
- package/src/components/notification/callout-inline/index.tsx +4 -0
- package/src/components/notification/callout-inline/informational/index.tsx +85 -0
- package/src/components/notification/callout-inline/success/index.tsx +85 -0
- package/src/components/notification/callout-inline/warning/index.tsx +85 -0
- package/src/components/notification/index.tsx +17 -0
- package/src/components/notification/subtitle/index.tsx +58 -0
- package/src/components/notification/subtitle-link/index.tsx +57 -0
- package/src/components/notification/toast/error/index.tsx +86 -0
- package/src/components/notification/toast/index.tsx +4 -0
- package/src/components/notification/toast/informational/index.tsx +86 -0
- package/src/components/notification/toast/success/index.tsx +86 -0
- package/src/components/notification/toast/warning/index.tsx +86 -0
- package/src/components/notification/types.ts +3 -0
- package/src/components/radio-button/index.tsx +238 -0
- package/src/components/radio-button-group/_item-context.tsx +15 -0
- package/src/components/radio-button-group/_item.tsx +91 -0
- package/src/components/radio-button-group/_types/index.ts +55 -0
- package/src/components/radio-button-group/_types/ref-base.ts +11 -0
- package/src/components/radio-button-group/index.tsx +251 -0
- package/src/components/radio-button-input/index.tsx +366 -0
- package/src/components/switch/index.tsx +448 -0
- package/src/components/text/index.tsx +135 -0
- package/src/components/toggle/base/index.tsx +254 -0
- package/src/components/toggle/default/index.tsx +41 -0
- package/src/components/toggle/index.tsx +4 -0
- package/src/components/toggle/small/index.tsx +39 -0
- package/src/components/toggle/state.ts +4 -0
- package/src/constants/color/code.json +273 -0
- package/src/constants/color/index.ts +7 -0
- package/src/constants/color/tokens/gray-10.ts +197 -0
- package/src/constants/color/tokens/gray-100.ts +197 -0
- package/src/constants/color/tokens/index.ts +2 -0
- package/src/constants/index.ts +11 -0
- package/src/constants/motion/index.ts +34 -0
- package/src/constants/spacing.ts +17 -0
- package/src/constants/typography/font-family.ts +16 -0
- package/src/constants/typography/index.ts +2 -0
- package/src/constants/typography/type-sets.ts +151 -0
- package/src/contexts/global-config/context.ts +20 -0
- package/src/contexts/global-config/provider.tsx +26 -0
- package/src/contexts/index.tsx +2 -0
- package/src/contexts/theme/context.ts +26 -0
- package/src/contexts/theme/index.tsx +5 -0
- package/src/contexts/theme/provider.tsx +55 -0
- package/src/globals/color-scheme/index.ts +13 -0
- package/src/globals/index.ts +5 -0
- package/src/helpers/color/get-color-scheme.ts +19 -0
- package/src/helpers/color/get-color-token.ts +14 -0
- package/src/helpers/color/hex-to-rgba.ts +11 -0
- package/src/helpers/color/index.ts +3 -0
- package/src/helpers/index.ts +5 -0
- package/src/index.tsx +9 -0
- package/src/styles/common.ts +21 -0
- package/src/styles/flex.ts +78 -0
- package/src/styles/index.ts +3 -0
- package/src/styles/text.ts +66 -0
- package/src/types/@carbon/icons/index.d.ts +1 -0
- package/src/types/index.ts +9 -0
- package/src/types/shared.ts +1 -0
- package/src/types/theme/color-scheme.ts +1 -0
- package/src/types/theme/color-token.ts +170 -0
- package/src/types/theme/index.ts +2 -0
- package/src/types/typography.ts +36 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useBase } from "../_base.js";
|
|
4
|
+
import Icon from '@carbon/icons/es/information--filled/20';
|
|
5
|
+
export function useInformational({
|
|
6
|
+
color,
|
|
7
|
+
transparentBorderColor
|
|
8
|
+
}) {
|
|
9
|
+
const data = useBase({
|
|
10
|
+
color,
|
|
11
|
+
transparentBorderColor,
|
|
12
|
+
titleColor: {
|
|
13
|
+
low_contrast: 'text_primary',
|
|
14
|
+
high_contrast: 'text_inverse'
|
|
15
|
+
},
|
|
16
|
+
backgroundColor: {
|
|
17
|
+
low_contrast: 'notification_info_background',
|
|
18
|
+
high_contrast: 'background_inverse'
|
|
19
|
+
},
|
|
20
|
+
borderColor: {
|
|
21
|
+
low_contrast: 'notification_info_border',
|
|
22
|
+
high_contrast: 'background_inverse'
|
|
23
|
+
},
|
|
24
|
+
leftBarColor: {
|
|
25
|
+
low_contrast: 'support_info',
|
|
26
|
+
high_contrast: 'support_info_inverse'
|
|
27
|
+
},
|
|
28
|
+
iconColor: {
|
|
29
|
+
low_contrast: 'support_info',
|
|
30
|
+
high_contrast: 'support_info_inverse'
|
|
31
|
+
},
|
|
32
|
+
iconCloseColor: {
|
|
33
|
+
low_contrast: 'icon_primary',
|
|
34
|
+
high_contrast: 'icon_inverse'
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
return {
|
|
38
|
+
...data,
|
|
39
|
+
icon: Icon
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useBase","Icon","useInformational","color","transparentBorderColor","data","titleColor","low_contrast","high_contrast","backgroundColor","borderColor","leftBarColor","iconColor","iconCloseColor","icon"],"sourceRoot":"../../../../../../src","sources":["components/notification/_status-hooks/informational/index.tsx"],"mappings":";;AAIA,SACCA,OAAO,QAGD,aAAU;AAEjB,OAAOC,IAAI,MAAM,yCAAyC;AAW1D,OAAO,SAASC,gBAAgBA,CAAC;EAChCC,KAAK;EACLC;AACsB,CAAC,EAAwB;EAE/C,MAAMC,IAAI,GAAGL,OAAO,CAAC;IACpBG,KAAK;IACLC,sBAAsB;IACtBE,UAAU,EAAE;MACXC,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB,CAAC;IACDC,eAAe,EAAE;MAChBF,YAAY,EAAE,8BAA8B;MAC5CC,aAAa,EAAE;IAChB,CAAC;IACDE,WAAW,EAAE;MACZH,YAAY,EAAE,0BAA0B;MACxCC,aAAa,EAAE;IAChB,CAAC;IACDG,YAAY,EAAE;MACbJ,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB,CAAC;IACDI,SAAS,EAAE;MACVL,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB,CAAC;IACDK,cAAc,EAAE;MACfN,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB;EACD,CAAC,CAAC;EAEF,OAAO;IACN,GAAGH,IAAI;IACPS,IAAI,EAAEb;EACP,CAAC;AAEF","ignoreList":[]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useBase } from "../_base.js";
|
|
4
|
+
import Icon from '@carbon/icons/es/checkmark--filled/20';
|
|
5
|
+
export function useSuccess({
|
|
6
|
+
color,
|
|
7
|
+
transparentBorderColor
|
|
8
|
+
}) {
|
|
9
|
+
const data = useBase({
|
|
10
|
+
color,
|
|
11
|
+
transparentBorderColor,
|
|
12
|
+
titleColor: {
|
|
13
|
+
low_contrast: 'text_primary',
|
|
14
|
+
high_contrast: 'text_inverse'
|
|
15
|
+
},
|
|
16
|
+
backgroundColor: {
|
|
17
|
+
low_contrast: 'notification_success_background',
|
|
18
|
+
high_contrast: 'background_inverse'
|
|
19
|
+
},
|
|
20
|
+
borderColor: {
|
|
21
|
+
low_contrast: 'notification_success_border',
|
|
22
|
+
high_contrast: 'background_inverse'
|
|
23
|
+
},
|
|
24
|
+
leftBarColor: {
|
|
25
|
+
low_contrast: 'support_success',
|
|
26
|
+
high_contrast: 'support_success_inverse'
|
|
27
|
+
},
|
|
28
|
+
iconColor: {
|
|
29
|
+
low_contrast: 'support_success',
|
|
30
|
+
high_contrast: 'support_success_inverse'
|
|
31
|
+
},
|
|
32
|
+
iconCloseColor: {
|
|
33
|
+
low_contrast: 'icon_primary',
|
|
34
|
+
high_contrast: 'icon_inverse'
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
return {
|
|
38
|
+
...data,
|
|
39
|
+
icon: Icon
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useBase","Icon","useSuccess","color","transparentBorderColor","data","titleColor","low_contrast","high_contrast","backgroundColor","borderColor","leftBarColor","iconColor","iconCloseColor","icon"],"sourceRoot":"../../../../../../src","sources":["components/notification/_status-hooks/success/index.tsx"],"mappings":";;AAIA,SACCA,OAAO,QAGD,aAAU;AAEjB,OAAOC,IAAI,MAAM,uCAAuC;AAWxD,OAAO,SAASC,UAAUA,CAAC;EAC1BC,KAAK;EACLC;AACgB,CAAC,EAAkB;EAEnC,MAAMC,IAAI,GAAGL,OAAO,CAAC;IACpBG,KAAK;IACLC,sBAAsB;IACtBE,UAAU,EAAE;MACXC,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB,CAAC;IACDC,eAAe,EAAE;MAChBF,YAAY,EAAE,iCAAiC;MAC/CC,aAAa,EAAE;IAChB,CAAC;IACDE,WAAW,EAAE;MACZH,YAAY,EAAE,6BAA6B;MAC3CC,aAAa,EAAE;IAChB,CAAC;IACDG,YAAY,EAAE;MACbJ,YAAY,EAAE,iBAAiB;MAC/BC,aAAa,EAAE;IAChB,CAAC;IACDI,SAAS,EAAE;MACVL,YAAY,EAAE,iBAAiB;MAC/BC,aAAa,EAAE;IAChB,CAAC;IACDK,cAAc,EAAE;MACfN,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB;EACD,CAAC,CAAC;EAEF,OAAO;IACN,GAAGH,IAAI;IACPS,IAAI,EAAEb;EACP,CAAC;AAEF","ignoreList":[]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useBase } from "../_base.js";
|
|
4
|
+
import Icon from '@carbon/icons/es/warning--filled/20';
|
|
5
|
+
export function useWarning({
|
|
6
|
+
color,
|
|
7
|
+
transparentBorderColor
|
|
8
|
+
}) {
|
|
9
|
+
const data = useBase({
|
|
10
|
+
color,
|
|
11
|
+
transparentBorderColor,
|
|
12
|
+
titleColor: {
|
|
13
|
+
low_contrast: 'text_primary',
|
|
14
|
+
high_contrast: 'text_inverse'
|
|
15
|
+
},
|
|
16
|
+
backgroundColor: {
|
|
17
|
+
low_contrast: 'notification_warning_background',
|
|
18
|
+
high_contrast: 'background_inverse'
|
|
19
|
+
},
|
|
20
|
+
borderColor: {
|
|
21
|
+
low_contrast: 'notification_warning_border',
|
|
22
|
+
high_contrast: 'background_inverse'
|
|
23
|
+
},
|
|
24
|
+
leftBarColor: {
|
|
25
|
+
low_contrast: 'support_warning',
|
|
26
|
+
high_contrast: 'support_warning_inverse'
|
|
27
|
+
},
|
|
28
|
+
iconColor: {
|
|
29
|
+
low_contrast: 'support_warning',
|
|
30
|
+
high_contrast: 'support_warning_inverse'
|
|
31
|
+
},
|
|
32
|
+
iconCloseColor: {
|
|
33
|
+
low_contrast: 'icon_primary',
|
|
34
|
+
high_contrast: 'icon_inverse'
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
return {
|
|
38
|
+
...data,
|
|
39
|
+
icon: Icon
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useBase","Icon","useWarning","color","transparentBorderColor","data","titleColor","low_contrast","high_contrast","backgroundColor","borderColor","leftBarColor","iconColor","iconCloseColor","icon"],"sourceRoot":"../../../../../../src","sources":["components/notification/_status-hooks/warning/index.tsx"],"mappings":";;AAIA,SACCA,OAAO,QAGD,aAAU;AAEjB,OAAOC,IAAI,MAAM,qCAAqC;AAWtD,OAAO,SAASC,UAAUA,CAAC;EAC1BC,KAAK;EACLC;AACgB,CAAC,EAAkB;EAEnC,MAAMC,IAAI,GAAGL,OAAO,CAAC;IACpBG,KAAK;IACLC,sBAAsB;IACtBE,UAAU,EAAE;MACXC,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB,CAAC;IACDC,eAAe,EAAE;MAChBF,YAAY,EAAE,iCAAiC;MAC/CC,aAAa,EAAE;IAChB,CAAC;IACDE,WAAW,EAAE;MACZH,YAAY,EAAE,6BAA6B;MAC3CC,aAAa,EAAE;IAChB,CAAC;IACDG,YAAY,EAAE;MACbJ,YAAY,EAAE,iBAAiB;MAC/BC,aAAa,EAAE;IAChB,CAAC;IACDI,SAAS,EAAE;MACVL,YAAY,EAAE,iBAAiB;MAC/BC,aAAa,EAAE;IAChB,CAAC;IACDK,cAAc,EAAE;MACfN,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB;EACD,CAAC,CAAC;EAEF,OAAO;IACN,GAAGH,IAAI;IACPS,IAAI,EAAEb;EACP,CAAC;AAEF","ignoreList":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { createContext } from 'react';
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
export const VariantContext = /*#__PURE__*/createContext({
|
|
6
|
+
color: 'high_contrast'
|
|
7
|
+
});
|
|
8
|
+
export function VariantContextProvider({
|
|
9
|
+
color,
|
|
10
|
+
children
|
|
11
|
+
}) {
|
|
12
|
+
return /*#__PURE__*/_jsx(VariantContext.Provider, {
|
|
13
|
+
value: {
|
|
14
|
+
color
|
|
15
|
+
},
|
|
16
|
+
children: children
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=_variant-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createContext","jsx","_jsx","VariantContext","color","VariantContextProvider","children","Provider","value"],"sourceRoot":"../../../../src","sources":["components/notification/_variant-context.tsx"],"mappings":";;AAAA,SACCA,aAAa,QACP,OAAO;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAUd,OAAO,MAAMC,cAAc,gBAAGH,aAAa,CAAiB;EAC3DI,KAAK,EAAE;AACR,CAAC,CAAC;AAEF,OAAO,SAASC,sBAAsBA,CAAC;EACtCD,KAAK;EACLE;AAID,CAAC,EAAE;EAEF,oBACCJ,IAAA,CAACC,cAAc,CAACI,QAAQ;IACvBC,KAAK,EAAE;MACNJ;IACD,CAAE;IAAAE,QAAA,EAEAA;EAAQ,CACc,CAAC;AAG5B","ignoreList":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
import { SpacingConstant } from "../../../constants/index.js";
|
|
5
|
+
import { ThemeContextProvider } from "../../../contexts/theme/provider.js";
|
|
6
|
+
import { Ghost } from "../../button/ghost/index.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
export function ButtonGhost({
|
|
9
|
+
color,
|
|
10
|
+
size = 'small',
|
|
11
|
+
style,
|
|
12
|
+
...props
|
|
13
|
+
}) {
|
|
14
|
+
return (
|
|
15
|
+
/*#__PURE__*/
|
|
16
|
+
/**
|
|
17
|
+
* I don't know, is this a bad idea to nest the provider?
|
|
18
|
+
*/
|
|
19
|
+
_jsx(ThemeContextProvider, {
|
|
20
|
+
colorScheme: mapColorScheme[color],
|
|
21
|
+
children: /*#__PURE__*/_jsx(Ghost, {
|
|
22
|
+
...props,
|
|
23
|
+
size: size,
|
|
24
|
+
style: [baseStyle.buttonGhost, style]
|
|
25
|
+
})
|
|
26
|
+
})
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
const baseStyle = StyleSheet.create({
|
|
30
|
+
buttonGhost: {
|
|
31
|
+
marginTop: SpacingConstant.spacing_03,
|
|
32
|
+
paddingRight: SpacingConstant.spacing_05
|
|
33
|
+
}
|
|
34
|
+
}),
|
|
35
|
+
mapColorScheme = {
|
|
36
|
+
low_contrast: 'gray_10',
|
|
37
|
+
high_contrast: 'gray_100'
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=_button-ghost.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","SpacingConstant","ThemeContextProvider","Ghost","jsx","_jsx","ButtonGhost","color","size","style","props","colorScheme","mapColorScheme","children","baseStyle","buttonGhost","create","marginTop","spacing_03","paddingRight","spacing_05","low_contrast","high_contrast"],"sourceRoot":"../../../../../src","sources":["components/notification/_variants/_button-ghost.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,cAAc;AAErB,SACCC,eAAe,QACT,6BAAoB;AAE3B,SACCC,oBAAoB,QAEd,qCAAkC;AAEzC,SACCC,KAAK,QAEC,6BAAoB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAU3B,OAAO,SAASC,WAAWA,CAAC;EAC3BC,KAAK;EACLC,IAAI,GAAG,OAAO;EACdC,KAAK;EACL,GAAGC;AACc,CAAC,EAAE;EAEpB;IAAA;IACC;AACF;AACA;IACEL,IAAA,CAACH,oBAAoB;MAACS,WAAW,EAAGC,cAAc,CAACL,KAAK,CAAG;MAAAM,QAAA,eAC1DR,IAAA,CAACF,KAAK;QAAA,GACAO,KAAK;QACVF,IAAI,EAAGA,IAAM;QACbC,KAAK,EAAG,CACPK,SAAS,CAACC,WAAW,EACrBN,KAAK;MACH,CACH;IAAC,CACmB;EAAC;AAGzB;AAEA,MACCK,SAAS,GACRd,UAAU,CAACgB,MAAM,CAAC;IACjBD,WAAW,EAAE;MACZE,SAAS,EAAEhB,eAAe,CAACiB,UAAU;MACrCC,YAAY,EAAElB,eAAe,CAACmB;IAC/B;EACD,CAAC,CAAC;EAEHR,cAAmF,GAClF;IACCS,YAAY,EAAE,SAAS;IACvBC,aAAa,EAAE;EAChB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
import { SpacingConstant } from "../../../constants/index.js";
|
|
5
|
+
import { ThemeContextProvider } from "../../../contexts/theme/provider.js";
|
|
6
|
+
import { Tertiary } from "../../button/tertiary/index.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
export function ButtonTertiary({
|
|
9
|
+
color,
|
|
10
|
+
size = 'small',
|
|
11
|
+
style,
|
|
12
|
+
...props
|
|
13
|
+
}) {
|
|
14
|
+
return (
|
|
15
|
+
/*#__PURE__*/
|
|
16
|
+
/**
|
|
17
|
+
* I don't know, is this a bad idea to nest the provider?
|
|
18
|
+
*/
|
|
19
|
+
_jsx(ThemeContextProvider, {
|
|
20
|
+
colorScheme: mapColorScheme[color],
|
|
21
|
+
children: /*#__PURE__*/_jsx(Tertiary, {
|
|
22
|
+
...props,
|
|
23
|
+
size: size,
|
|
24
|
+
style: [baseStyle.buttonTertiary, style]
|
|
25
|
+
})
|
|
26
|
+
})
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
const baseStyle = StyleSheet.create({
|
|
30
|
+
buttonTertiary: {
|
|
31
|
+
marginTop: SpacingConstant.spacing_06,
|
|
32
|
+
paddingRight: SpacingConstant.spacing_05
|
|
33
|
+
}
|
|
34
|
+
}),
|
|
35
|
+
mapColorScheme = {
|
|
36
|
+
low_contrast: 'gray_10',
|
|
37
|
+
high_contrast: 'gray_100'
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=_button-tertiary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","SpacingConstant","ThemeContextProvider","Tertiary","jsx","_jsx","ButtonTertiary","color","size","style","props","colorScheme","mapColorScheme","children","baseStyle","buttonTertiary","create","marginTop","spacing_06","paddingRight","spacing_05","low_contrast","high_contrast"],"sourceRoot":"../../../../../src","sources":["components/notification/_variants/_button-tertiary.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,cAAc;AAErB,SACCC,eAAe,QACT,6BAAoB;AAE3B,SACCC,oBAAoB,QAEd,qCAAkC;AAEzC,SACCC,QAAQ,QAEF,gCAAuB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAU9B,OAAO,SAASC,cAAcA,CAAC;EAC9BC,KAAK;EACLC,IAAI,GAAG,OAAO;EACdC,KAAK;EACL,GAAGC;AACiB,CAAC,EAAE;EAEvB;IAAA;IACC;AACF;AACA;IACEL,IAAA,CAACH,oBAAoB;MAACS,WAAW,EAAGC,cAAc,CAACL,KAAK,CAAG;MAAAM,QAAA,eAC1DR,IAAA,CAACF,QAAQ;QAAA,GACHO,KAAK;QACVF,IAAI,EAAGA,IAAM;QACbC,KAAK,EAAG,CACPK,SAAS,CAACC,cAAc,EACxBN,KAAK;MACH,CACH;IAAC,CACmB;EAAC;AAGzB;AAEA,MACCK,SAAS,GACRd,UAAU,CAACgB,MAAM,CAAC;IACjBD,cAAc,EAAE;MACfE,SAAS,EAAEhB,eAAe,CAACiB,UAAU;MACrCC,YAAY,EAAElB,eAAe,CAACmB;IAC/B;EACD,CAAC,CAAC;EAEHR,cAAmF,GAClF;IACCS,YAAY,EAAE,SAAS;IACvBC,aAAa,EAAE;EAChB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { Base } from "../../base/index.js";
|
|
5
|
+
import { Subtitle } from "../../subtitle/index.js";
|
|
6
|
+
import { VariantContextProvider } from "../../_variant-context.js";
|
|
7
|
+
import { ButtonTertiary } from "../_button-tertiary.js";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
export const ActionableVariant = /*#__PURE__*/forwardRef(function ActionableVariant({
|
|
10
|
+
color = 'high_contrast',
|
|
11
|
+
icon,
|
|
12
|
+
subtitle,
|
|
13
|
+
subtitleStyle,
|
|
14
|
+
buttonProps,
|
|
15
|
+
...props
|
|
16
|
+
}, ref) {
|
|
17
|
+
return /*#__PURE__*/_jsx(VariantContextProvider, {
|
|
18
|
+
color: color,
|
|
19
|
+
children: /*#__PURE__*/_jsx(Base, {
|
|
20
|
+
...props,
|
|
21
|
+
inline: false,
|
|
22
|
+
icon: icon,
|
|
23
|
+
iconClose: true,
|
|
24
|
+
body: subtitle && (typeof subtitle === 'string' || typeof subtitle === 'number') ? /*#__PURE__*/_jsx(Subtitle, {
|
|
25
|
+
style: subtitleStyle,
|
|
26
|
+
children: subtitle
|
|
27
|
+
}) : subtitle,
|
|
28
|
+
nodes: {
|
|
29
|
+
beforeContentContainerEnd: buttonProps ? /*#__PURE__*/_jsx(ButtonTertiary, {
|
|
30
|
+
...buttonProps,
|
|
31
|
+
color: color
|
|
32
|
+
}) : undefined
|
|
33
|
+
},
|
|
34
|
+
ref: ref
|
|
35
|
+
})
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","Base","Subtitle","VariantContextProvider","ButtonTertiary","jsx","_jsx","ActionableVariant","color","icon","subtitle","subtitleStyle","buttonProps","props","ref","children","inline","iconClose","body","style","nodes","beforeContentContainerEnd","undefined"],"sourceRoot":"../../../../../../src","sources":["components/notification/_variants/actionable/index.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAEd,SACCC,IAAI,QAGE,qBAAY;AAEnB,SACCC,QAAQ,QAEF,yBAAgB;AAMvB,SACCC,sBAAsB,QAChB,2BAAwB;AAE/B,SACCC,cAAc,QAER,wBAAqB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAoC5B,OAAO,MAAMC,iBAAiB,gBAAGP,UAAU,CAC1C,SAASO,iBAAiBA,CACzB;EACCC,KAAK,GAAG,eAAe;EACvBC,IAAI;EACJC,QAAQ;EACRC,aAAa;EACbC,WAAW;EACX,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,oBACCR,IAAA,CAACH,sBAAsB;IAACK,KAAK,EAAGA,KAAO;IAAAO,QAAA,eACtCT,IAAA,CAACL,IAAI;MAAA,GACCY,KAAK;MACVG,MAAM,EAAG,KAAO;MAChBP,IAAI,EAAGA,IAAM;MACbQ,SAAS;MACTC,IAAI,EACHR,QAAQ,KAAK,OAAOA,QAAQ,KAAK,QAAQ,IAAI,OAAOA,QAAQ,KAAK,QAAQ,CAAC,gBACzEJ,IAAA,CAACJ,QAAQ;QAACiB,KAAK,EAAGR,aAAe;QAAAI,QAAA,EAC9BL;MAAQ,CACD,CAAC,GACRA,QACJ;MACDU,KAAK,EAAE;QACNC,yBAAyB,EAAET,WAAW,gBACrCN,IAAA,CAACF,cAAc;UAAA,GACTQ,WAAW;UAChBJ,KAAK,EAAGA;QAAO,CACf,CAAC,GACCc;MACL,CAAE;MACFR,GAAG,EAAGA;IAAK,CACX;EAAC,CACqB,CAAC;AAG3B,CAED,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { Base } from "../../base/index.js";
|
|
5
|
+
import { Subtitle } from "../../subtitle/index.js";
|
|
6
|
+
import { VariantContextProvider } from "../../_variant-context.js";
|
|
7
|
+
import { ButtonGhost } from "../_button-ghost.js";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
export const ActionableInlineVariant = /*#__PURE__*/forwardRef(function ActionableInlineVariant({
|
|
10
|
+
color = 'high_contrast',
|
|
11
|
+
icon,
|
|
12
|
+
subtitle,
|
|
13
|
+
subtitleStyle,
|
|
14
|
+
buttonProps,
|
|
15
|
+
...props
|
|
16
|
+
}, ref) {
|
|
17
|
+
return /*#__PURE__*/_jsx(VariantContextProvider, {
|
|
18
|
+
color: color,
|
|
19
|
+
children: /*#__PURE__*/_jsx(Base, {
|
|
20
|
+
...props,
|
|
21
|
+
inline: true,
|
|
22
|
+
icon: icon,
|
|
23
|
+
iconClose: true,
|
|
24
|
+
body: subtitle && (typeof subtitle === 'string' || typeof subtitle === 'number') ? /*#__PURE__*/_jsx(Subtitle, {
|
|
25
|
+
style: subtitleStyle,
|
|
26
|
+
children: subtitle
|
|
27
|
+
}) : subtitle,
|
|
28
|
+
nodes: {
|
|
29
|
+
beforeButtonClose: buttonProps ? /*#__PURE__*/_jsx(ButtonGhost, {
|
|
30
|
+
...buttonProps,
|
|
31
|
+
color: color
|
|
32
|
+
}) : undefined
|
|
33
|
+
},
|
|
34
|
+
ref: ref
|
|
35
|
+
})
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","Base","Subtitle","VariantContextProvider","ButtonGhost","jsx","_jsx","ActionableInlineVariant","color","icon","subtitle","subtitleStyle","buttonProps","props","ref","children","inline","iconClose","body","style","nodes","beforeButtonClose","undefined"],"sourceRoot":"../../../../../../src","sources":["components/notification/_variants/actionable-inline/index.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAEd,SACCC,IAAI,QAGE,qBAAY;AAEnB,SACCC,QAAQ,QAEF,yBAAgB;AAMvB,SACCC,sBAAsB,QAChB,2BAAwB;AAE/B,SACCC,WAAW,QAEL,qBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAoCzB,OAAO,MAAMC,uBAAuB,gBAAGP,UAAU,CAChD,SAASO,uBAAuBA,CAC/B;EACCC,KAAK,GAAG,eAAe;EACvBC,IAAI;EACJC,QAAQ;EACRC,aAAa;EACbC,WAAW;EACX,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,oBACCR,IAAA,CAACH,sBAAsB;IAACK,KAAK,EAAGA,KAAO;IAAAO,QAAA,eACtCT,IAAA,CAACL,IAAI;MAAA,GACCY,KAAK;MACVG,MAAM;MACNP,IAAI,EAAGA,IAAM;MACbQ,SAAS;MACTC,IAAI,EACHR,QAAQ,KAAK,OAAOA,QAAQ,KAAK,QAAQ,IAAI,OAAOA,QAAQ,KAAK,QAAQ,CAAC,gBACzEJ,IAAA,CAACJ,QAAQ;QAACiB,KAAK,EAAGR,aAAe;QAAAI,QAAA,EAC9BL;MAAQ,CACD,CAAC,GACRA,QACJ;MACDU,KAAK,EAAE;QACNC,iBAAiB,EAAET,WAAW,gBAC7BN,IAAA,CAACF,WAAW;UAAA,GACNQ,WAAW;UAChBJ,KAAK,EAAGA;QAAO,CACf,CAAC,GACCc;MACL,CAAE;MACFR,GAAG,EAAGA;IAAK,CACX;EAAC,CACqB,CAAC;AAG3B,CAED,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { Base } from "../../base/index.js";
|
|
5
|
+
import { Subtitle } from "../../subtitle/index.js";
|
|
6
|
+
import { VariantContextProvider } from "../../_variant-context.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
export const CalloutVariant = /*#__PURE__*/forwardRef(function CalloutVariant({
|
|
9
|
+
color = 'high_contrast',
|
|
10
|
+
icon,
|
|
11
|
+
subtitle,
|
|
12
|
+
subtitleStyle,
|
|
13
|
+
...props
|
|
14
|
+
}, ref) {
|
|
15
|
+
return /*#__PURE__*/_jsx(VariantContextProvider, {
|
|
16
|
+
color: color,
|
|
17
|
+
children: /*#__PURE__*/_jsx(Base, {
|
|
18
|
+
...props,
|
|
19
|
+
inline: false,
|
|
20
|
+
icon: icon,
|
|
21
|
+
iconClose: false,
|
|
22
|
+
body: subtitle && (typeof subtitle === 'string' || typeof subtitle === 'number') ? /*#__PURE__*/_jsx(Subtitle, {
|
|
23
|
+
style: subtitleStyle,
|
|
24
|
+
children: subtitle
|
|
25
|
+
}) : subtitle,
|
|
26
|
+
nodes: undefined,
|
|
27
|
+
ref: ref
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","Base","Subtitle","VariantContextProvider","jsx","_jsx","CalloutVariant","color","icon","subtitle","subtitleStyle","props","ref","children","inline","iconClose","body","style","nodes","undefined"],"sourceRoot":"../../../../../../src","sources":["components/notification/_variants/callout/index.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAEd,SACCC,IAAI,QAGE,qBAAY;AAEnB,SACCC,QAAQ,QAEF,yBAAgB;AAMvB,SACCC,sBAAsB,QAChB,2BAAwB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAoB/B,OAAO,MAAMC,cAAc,gBAAGN,UAAU,CACvC,SAASM,cAAcA,CACtB;EACCC,KAAK,GAAG,eAAe;EACvBC,IAAI;EACJC,QAAQ;EACRC,aAAa;EACb,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,oBACCP,IAAA,CAACF,sBAAsB;IAACI,KAAK,EAAGA,KAAO;IAAAM,QAAA,eACtCR,IAAA,CAACJ,IAAI;MAAA,GACCU,KAAK;MACVG,MAAM,EAAG,KAAO;MAChBN,IAAI,EAAGA,IAAM;MACbO,SAAS,EAAG,KAAO;MACnBC,IAAI,EACHP,QAAQ,KAAK,OAAOA,QAAQ,KAAK,QAAQ,IAAI,OAAOA,QAAQ,KAAK,QAAQ,CAAC,gBACzEJ,IAAA,CAACH,QAAQ;QAACe,KAAK,EAAGP,aAAe;QAAAG,QAAA,EAC9BJ;MAAQ,CACD,CAAC,GACRA,QACJ;MACDS,KAAK,EAAGC,SAAW;MACnBP,GAAG,EAAGA;IAAK,CACX;EAAC,CACqB,CAAC;AAG3B,CAED,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { Base } from "../../base/index.js";
|
|
5
|
+
import { Subtitle } from "../../subtitle/index.js";
|
|
6
|
+
import { VariantContextProvider } from "../../_variant-context.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
export const CalloutInlineVariant = /*#__PURE__*/forwardRef(function CalloutInlineVariant({
|
|
9
|
+
color = 'high_contrast',
|
|
10
|
+
icon,
|
|
11
|
+
subtitle,
|
|
12
|
+
subtitleStyle,
|
|
13
|
+
...props
|
|
14
|
+
}, ref) {
|
|
15
|
+
return /*#__PURE__*/_jsx(VariantContextProvider, {
|
|
16
|
+
color: color,
|
|
17
|
+
children: /*#__PURE__*/_jsx(Base, {
|
|
18
|
+
...props,
|
|
19
|
+
inline: true,
|
|
20
|
+
icon: icon,
|
|
21
|
+
iconClose: false,
|
|
22
|
+
body: subtitle && (typeof subtitle === 'string' || typeof subtitle === 'number') ? /*#__PURE__*/_jsx(Subtitle, {
|
|
23
|
+
style: subtitleStyle,
|
|
24
|
+
children: subtitle
|
|
25
|
+
}) : subtitle,
|
|
26
|
+
nodes: undefined,
|
|
27
|
+
ref: ref
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","Base","Subtitle","VariantContextProvider","jsx","_jsx","CalloutInlineVariant","color","icon","subtitle","subtitleStyle","props","ref","children","inline","iconClose","body","style","nodes","undefined"],"sourceRoot":"../../../../../../src","sources":["components/notification/_variants/callout-inline/index.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAEd,SACCC,IAAI,QAGE,qBAAY;AAEnB,SACCC,QAAQ,QAEF,yBAAgB;AAMvB,SACCC,sBAAsB,QAChB,2BAAwB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAoB/B,OAAO,MAAMC,oBAAoB,gBAAGN,UAAU,CAC7C,SAASM,oBAAoBA,CAC5B;EACCC,KAAK,GAAG,eAAe;EACvBC,IAAI;EACJC,QAAQ;EACRC,aAAa;EACb,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,oBACCP,IAAA,CAACF,sBAAsB;IAACI,KAAK,EAAGA,KAAO;IAAAM,QAAA,eACtCR,IAAA,CAACJ,IAAI;MAAA,GACCU,KAAK;MACVG,MAAM;MACNN,IAAI,EAAGA,IAAM;MACbO,SAAS,EAAG,KAAO;MACnBC,IAAI,EACHP,QAAQ,KAAK,OAAOA,QAAQ,KAAK,QAAQ,IAAI,OAAOA,QAAQ,KAAK,QAAQ,CAAC,gBACzEJ,IAAA,CAACH,QAAQ;QAACe,KAAK,EAAGP,aAAe;QAAAG,QAAA,EAC9BJ;MAAQ,CACD,CAAC,GACRA,QACJ;MACDS,KAAK,EAAGC,SAAW;MACnBP,GAAG,EAAGA;IAAK,CACX;EAAC,CACqB,CAAC;AAG3B,CAED,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/notification/_variants/index.tsx"],"mappings":";;AAAA,cAAc,uBAAc;AAC5B,cAAc,8BAAqB;AACnC,cAAc,oBAAW;AACzB,cAAc,2BAAkB;AAChC,cAAc,kBAAS","ignoreList":[]}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { StyleSheet } from 'react-native';
|
|
5
|
+
import { SpacingConstant } from "../../../../constants/index.js";
|
|
6
|
+
import { Base } from "../../base/index.js";
|
|
7
|
+
import { Subtitle } from "../../subtitle/index.js";
|
|
8
|
+
import { VariantContextProvider } from "../../_variant-context.js";
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
export const ToastVariant = /*#__PURE__*/forwardRef(function ToastVariant({
|
|
11
|
+
color = 'high_contrast',
|
|
12
|
+
icon,
|
|
13
|
+
timestamp,
|
|
14
|
+
subtitle,
|
|
15
|
+
subtitleStyle,
|
|
16
|
+
...props
|
|
17
|
+
}, ref) {
|
|
18
|
+
return /*#__PURE__*/_jsx(VariantContextProvider, {
|
|
19
|
+
color: color,
|
|
20
|
+
children: /*#__PURE__*/_jsx(Base, {
|
|
21
|
+
...props,
|
|
22
|
+
inline: false,
|
|
23
|
+
icon: icon,
|
|
24
|
+
iconClose: true,
|
|
25
|
+
body: subtitle && (typeof subtitle === 'string' || typeof subtitle === 'number') ? /*#__PURE__*/_jsx(Subtitle, {
|
|
26
|
+
style: subtitleStyle,
|
|
27
|
+
children: subtitle
|
|
28
|
+
}) : subtitle,
|
|
29
|
+
nodes: {
|
|
30
|
+
beforeContentContainerEnd: timestamp ? /*#__PURE__*/_jsx(Subtitle, {
|
|
31
|
+
style: baseStyle.timestamp,
|
|
32
|
+
children: timestamp
|
|
33
|
+
}) : /*#__PURE__*/_jsx(Timestamp, {})
|
|
34
|
+
},
|
|
35
|
+
ref: ref
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
const baseStyle = StyleSheet.create({
|
|
40
|
+
timestamp: {
|
|
41
|
+
marginTop: SpacingConstant.spacing_06
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
function Timestamp({
|
|
45
|
+
style,
|
|
46
|
+
...props
|
|
47
|
+
}) {
|
|
48
|
+
return /*#__PURE__*/_jsx(Subtitle, {
|
|
49
|
+
...props,
|
|
50
|
+
style: [baseStyle.timestamp, style],
|
|
51
|
+
children: new Date().toLocaleString('en-US', {
|
|
52
|
+
hour: '2-digit',
|
|
53
|
+
minute: '2-digit',
|
|
54
|
+
second: '2-digit',
|
|
55
|
+
hour12: true
|
|
56
|
+
})
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","StyleSheet","SpacingConstant","Base","Subtitle","VariantContextProvider","jsx","_jsx","ToastVariant","color","icon","timestamp","subtitle","subtitleStyle","props","ref","children","inline","iconClose","body","style","nodes","beforeContentContainerEnd","baseStyle","Timestamp","create","marginTop","spacing_06","Date","toLocaleString","hour","minute","second","hour12"],"sourceRoot":"../../../../../../src","sources":["components/notification/_variants/toast/index.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAEd,SACCC,UAAU,QACJ,cAAc;AAErB,SACCC,eAAe,QACT,gCAAuB;AAE9B,SACCC,IAAI,QAGE,qBAAY;AAEnB,SACCC,QAAQ,QAEF,yBAAgB;AAMvB,SACCC,sBAAsB,QAChB,2BAAwB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAwB/B,OAAO,MAAMC,YAAY,gBAAGR,UAAU,CACrC,SAASQ,YAAYA,CACpB;EACCC,KAAK,GAAG,eAAe;EACvBC,IAAI;EACJC,SAAS;EACTC,QAAQ;EACRC,aAAa;EACb,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,oBACCR,IAAA,CAACF,sBAAsB;IAACI,KAAK,EAAGA,KAAO;IAAAO,QAAA,eACtCT,IAAA,CAACJ,IAAI;MAAA,GACCW,KAAK;MACVG,MAAM,EAAG,KAAO;MAChBP,IAAI,EAAGA,IAAM;MACbQ,SAAS;MACTC,IAAI,EACHP,QAAQ,KAAK,OAAOA,QAAQ,KAAK,QAAQ,IAAI,OAAOA,QAAQ,KAAK,QAAQ,CAAC,gBACzEL,IAAA,CAACH,QAAQ;QAACgB,KAAK,EAAGP,aAAe;QAAAG,QAAA,EAC9BJ;MAAQ,CACD,CAAC,GACRA,QACJ;MACDS,KAAK,EAAE;QACNC,yBAAyB,EAAEX,SAAS,gBACnCJ,IAAA,CAACH,QAAQ;UAACgB,KAAK,EAAGG,SAAS,CAACZ,SAAW;UAAAK,QAAA,EACpCL;QAAS,CACF,CAAC,gBAEXJ,IAAA,CAACiB,SAAS,IAAC;MAEb,CAAE;MACFT,GAAG,EAAGA;IAAK,CACX;EAAC,CACqB,CAAC;AAG3B,CAED,CAAC;AAED,MACCQ,SAAS,GACRtB,UAAU,CAACwB,MAAM,CAAC;EACjBd,SAAS,EAAE;IACVe,SAAS,EAAExB,eAAe,CAACyB;EAC5B;AACD,CAAC,CAAC;AAKJ,SAASH,SAASA,CAAC;EAClBJ,KAAK;EACL,GAAGN;AACY,CAAC,EAAE;EAElB,oBACCP,IAAA,CAACH,QAAQ;IAAA,GACHU,KAAK;IACVM,KAAK,EAAG,CACPG,SAAS,CAACZ,SAAS,EACnBS,KAAK,CACH;IAAAJ,QAAA,EAED,IAAIY,IAAI,CAAC,CAAC,CAACC,cAAc,CAC1B,OAAO,EACP;MACCC,IAAI,EAAE,SAAS;MACfC,MAAM,EAAE,SAAS;MACjBC,MAAM,EAAE,SAAS;MACjBC,MAAM,EAAE;IACT,CACD;EAAC,CACQ,CAAC;AAGb","ignoreList":[]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { useError } from "../../_status-hooks/index.js";
|
|
5
|
+
import { ActionableVariant } from "../../_variants/index.js";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
export const Error = /*#__PURE__*/forwardRef(function Error({
|
|
8
|
+
color,
|
|
9
|
+
iconProps,
|
|
10
|
+
iconCloseProps,
|
|
11
|
+
titleStyle: titleStyleProp,
|
|
12
|
+
leftBarStyle: leftBarStyleProp,
|
|
13
|
+
style: styleProp,
|
|
14
|
+
...props
|
|
15
|
+
}, ref) {
|
|
16
|
+
const {
|
|
17
|
+
icon,
|
|
18
|
+
iconProps: iconPropsData,
|
|
19
|
+
iconCloseProps: iconClosePropsData,
|
|
20
|
+
titleStyle,
|
|
21
|
+
leftBarStyle,
|
|
22
|
+
style
|
|
23
|
+
} = useError({
|
|
24
|
+
color,
|
|
25
|
+
transparentBorderColor: true
|
|
26
|
+
});
|
|
27
|
+
return /*#__PURE__*/_jsx(ActionableVariant, {
|
|
28
|
+
...props,
|
|
29
|
+
color: color,
|
|
30
|
+
icon: icon,
|
|
31
|
+
iconProps: {
|
|
32
|
+
...iconProps,
|
|
33
|
+
...iconPropsData
|
|
34
|
+
},
|
|
35
|
+
iconCloseProps: {
|
|
36
|
+
...iconCloseProps,
|
|
37
|
+
...iconClosePropsData
|
|
38
|
+
},
|
|
39
|
+
titleStyle: [titleStyle, titleStyleProp],
|
|
40
|
+
leftBarStyle: [leftBarStyle, leftBarStyleProp],
|
|
41
|
+
style: [style, styleProp],
|
|
42
|
+
ref: ref
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","useError","ActionableVariant","jsx","_jsx","Error","color","iconProps","iconCloseProps","titleStyle","titleStyleProp","leftBarStyle","leftBarStyleProp","style","styleProp","props","ref","icon","iconPropsData","iconClosePropsData","transparentBorderColor"],"sourceRoot":"../../../../../../src","sources":["components/notification/actionable/error/index.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAEd,SACCC,QAAQ,QACF,8BAAqB;AAE5B,SACCC,iBAAiB,QAGX,0BAAiB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAgBxB,OAAO,MAAMC,KAAK,gBAAGL,UAAU,CAC9B,SAASK,KAAKA,CACb;EACCC,KAAK;EACLC,SAAS;EACTC,cAAc;EACdC,UAAU,EAAEC,cAAc;EAC1BC,YAAY,EAAEC,gBAAgB;EAC9BC,KAAK,EAAEC,SAAS;EAChB,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MAAM;IACLC,IAAI;IACJV,SAAS,EAAEW,aAAa;IACxBV,cAAc,EAAEW,kBAAkB;IAClCV,UAAU;IACVE,YAAY;IACZE;EACD,CAAC,GACAZ,QAAQ,CAAC;IACRK,KAAK;IACLc,sBAAsB,EAAE;EACzB,CAAC,CAAC;EAEH,oBACChB,IAAA,CAACF,iBAAiB;IAAA,GACZa,KAAK;IACVT,KAAK,EAAGA,KAAO;IACfW,IAAI,EAAGA,IAAM;IACbV,SAAS,EAAE;MACV,GAAGA,SAAS;MACZ,GAAGW;IACJ,CAAE;IACFV,cAAc,EAAE;MACf,GAAGA,cAAc;MACjB,GAAGW;IACJ,CAAE;IACFV,UAAU,EAAG,CACZA,UAAU,EACVC,cAAc,CACZ;IACHC,YAAY,EAAG,CACdA,YAAY,EACZC,gBAAgB,CACd;IACHC,KAAK,EAAG,CACPA,KAAK,EACLC,SAAS,CACP;IACHE,GAAG,EAAGA;EAAK,CACX,CAAC;AAGJ,CACD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/notification/actionable/index.tsx"],"mappings":";;AAAA,cAAc,kBAAS;AACvB,cAAc,0BAAiB;AAC/B,cAAc,oBAAW;AACzB,cAAc,oBAAW","ignoreList":[]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { useInformational } from "../../_status-hooks/index.js";
|
|
5
|
+
import { ActionableVariant } from "../../_variants/index.js";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
export const Informational = /*#__PURE__*/forwardRef(function Informational({
|
|
8
|
+
color,
|
|
9
|
+
iconProps,
|
|
10
|
+
iconCloseProps,
|
|
11
|
+
titleStyle: titleStyleProp,
|
|
12
|
+
leftBarStyle: leftBarStyleProp,
|
|
13
|
+
style: styleProp,
|
|
14
|
+
...props
|
|
15
|
+
}, ref) {
|
|
16
|
+
const {
|
|
17
|
+
icon,
|
|
18
|
+
iconProps: iconPropsData,
|
|
19
|
+
iconCloseProps: iconClosePropsData,
|
|
20
|
+
titleStyle,
|
|
21
|
+
leftBarStyle,
|
|
22
|
+
style
|
|
23
|
+
} = useInformational({
|
|
24
|
+
color,
|
|
25
|
+
transparentBorderColor: true
|
|
26
|
+
});
|
|
27
|
+
return /*#__PURE__*/_jsx(ActionableVariant, {
|
|
28
|
+
...props,
|
|
29
|
+
color: color,
|
|
30
|
+
icon: icon,
|
|
31
|
+
iconProps: {
|
|
32
|
+
...iconProps,
|
|
33
|
+
...iconPropsData
|
|
34
|
+
},
|
|
35
|
+
iconCloseProps: {
|
|
36
|
+
...iconCloseProps,
|
|
37
|
+
...iconClosePropsData
|
|
38
|
+
},
|
|
39
|
+
titleStyle: [titleStyle, titleStyleProp],
|
|
40
|
+
leftBarStyle: [leftBarStyle, leftBarStyleProp],
|
|
41
|
+
style: [style, styleProp],
|
|
42
|
+
ref: ref
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","useInformational","ActionableVariant","jsx","_jsx","Informational","color","iconProps","iconCloseProps","titleStyle","titleStyleProp","leftBarStyle","leftBarStyleProp","style","styleProp","props","ref","icon","iconPropsData","iconClosePropsData","transparentBorderColor"],"sourceRoot":"../../../../../../src","sources":["components/notification/actionable/informational/index.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAEd,SACCC,gBAAgB,QACV,8BAAqB;AAE5B,SACCC,iBAAiB,QAGX,0BAAiB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAgBxB,OAAO,MAAMC,aAAa,gBAAGL,UAAU,CACtC,SAASK,aAAaA,CACrB;EACCC,KAAK;EACLC,SAAS;EACTC,cAAc;EACdC,UAAU,EAAEC,cAAc;EAC1BC,YAAY,EAAEC,gBAAgB;EAC9BC,KAAK,EAAEC,SAAS;EAChB,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MAAM;IACLC,IAAI;IACJV,SAAS,EAAEW,aAAa;IACxBV,cAAc,EAAEW,kBAAkB;IAClCV,UAAU;IACVE,YAAY;IACZE;EACD,CAAC,GACAZ,gBAAgB,CAAC;IAChBK,KAAK;IACLc,sBAAsB,EAAE;EACzB,CAAC,CAAC;EAEH,oBACChB,IAAA,CAACF,iBAAiB;IAAA,GACZa,KAAK;IACVT,KAAK,EAAGA,KAAO;IACfW,IAAI,EAAGA,IAAM;IACbV,SAAS,EAAE;MACV,GAAGA,SAAS;MACZ,GAAGW;IACJ,CAAE;IACFV,cAAc,EAAE;MACf,GAAGA,cAAc;MACjB,GAAGW;IACJ,CAAE;IACFV,UAAU,EAAG,CACZA,UAAU,EACVC,cAAc,CACZ;IACHC,YAAY,EAAG,CACdA,YAAY,EACZC,gBAAgB,CACd;IACHC,KAAK,EAAG,CACPA,KAAK,EACLC,SAAS,CACP;IACHE,GAAG,EAAGA;EAAK,CACX,CAAC;AAGJ,CACD,CAAC","ignoreList":[]}
|