@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,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useContext } from 'react';
|
|
4
|
+
import { ThemeContext } from "../../../contexts/index.js";
|
|
5
|
+
import { StyleSheet } from "../../../_style-sheet/index.js";
|
|
6
|
+
import { BaseColor } from "../base-color/index.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
export function Primary(props) {
|
|
9
|
+
const themeContext = useContext(ThemeContext);
|
|
10
|
+
return /*#__PURE__*/_jsx(BaseColor, {
|
|
11
|
+
...props,
|
|
12
|
+
android_rippleEffectColor: themeContext.color.button_primary_active,
|
|
13
|
+
colorStateStyle: {
|
|
14
|
+
background: {
|
|
15
|
+
default: colorStyle.background_default,
|
|
16
|
+
focused: colorStyle.background_pressed,
|
|
17
|
+
hovered: colorStyle.background_hovered,
|
|
18
|
+
pressed: colorStyle.background_pressed,
|
|
19
|
+
disabled: colorStyle.background_disabled
|
|
20
|
+
},
|
|
21
|
+
text: {
|
|
22
|
+
default: colorStyle.text_default,
|
|
23
|
+
focused: colorStyle.text_focused,
|
|
24
|
+
hovered: colorStyle.text_hovered,
|
|
25
|
+
pressed: colorStyle.text_pressed,
|
|
26
|
+
disabled: colorStyle.text_disabled
|
|
27
|
+
},
|
|
28
|
+
icon: {
|
|
29
|
+
default: themeContext.color.icon_on_color,
|
|
30
|
+
focused: themeContext.color.icon_on_color,
|
|
31
|
+
hovered: themeContext.color.icon_on_color,
|
|
32
|
+
pressed: themeContext.color.icon_on_color,
|
|
33
|
+
disabled: themeContext.color.icon_on_color_disabled
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
const colorStyle = StyleSheet.create(color => ({
|
|
39
|
+
background_default: {
|
|
40
|
+
backgroundColor: color.button_primary
|
|
41
|
+
},
|
|
42
|
+
background_focused: {
|
|
43
|
+
backgroundColor: color.button_primary
|
|
44
|
+
},
|
|
45
|
+
background_hovered: {
|
|
46
|
+
backgroundColor: color.button_primary_hover
|
|
47
|
+
},
|
|
48
|
+
background_pressed: {
|
|
49
|
+
backgroundColor: color.button_primary_active
|
|
50
|
+
},
|
|
51
|
+
background_disabled: {
|
|
52
|
+
backgroundColor: color.button_disabled
|
|
53
|
+
},
|
|
54
|
+
text_default: {
|
|
55
|
+
color: color.text_on_color
|
|
56
|
+
},
|
|
57
|
+
text_focused: {
|
|
58
|
+
color: color.text_on_color
|
|
59
|
+
},
|
|
60
|
+
text_hovered: {
|
|
61
|
+
color: color.text_on_color
|
|
62
|
+
},
|
|
63
|
+
text_pressed: {
|
|
64
|
+
color: color.text_on_color
|
|
65
|
+
},
|
|
66
|
+
text_disabled: {
|
|
67
|
+
color: color.text_on_color_disabled
|
|
68
|
+
}
|
|
69
|
+
}));
|
|
70
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useContext","ThemeContext","StyleSheet","BaseColor","jsx","_jsx","Primary","props","themeContext","android_rippleEffectColor","color","button_primary_active","colorStateStyle","background","default","colorStyle","background_default","focused","background_pressed","hovered","background_hovered","pressed","disabled","background_disabled","text","text_default","text_focused","text_hovered","text_pressed","text_disabled","icon","icon_on_color","icon_on_color_disabled","create","backgroundColor","button_primary","background_focused","button_primary_hover","button_disabled","text_on_color","text_on_color_disabled"],"sourceRoot":"../../../../../src","sources":["components/button/primary/index.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAOd,SACCC,YAAY,QACN,4BAAmB;AAE1B,SACCC,UAAU,QACJ,gCAAuB;AAE9B,SACCC,SAAS,QAEH,wBAAe;AAAA,SAAAC,GAAA,I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,CAAC2B;EACxB,CAAC;EACDnB,kBAAkB,EAAE;IACnBgB,eAAe,EAAExB,KAAK,CAACC;EACxB,CAAC;EACDY,mBAAmB,EAAE;IACpBW,eAAe,EAAExB,KAAK,CAAC4B;EACxB,CAAC;EAEDb,YAAY,EAAE;IACbf,KAAK,EAAEA,KAAK,CAAC6B;EACd,CAAC;EACDb,YAAY,EAAE;IACbhB,KAAK,EAAEA,KAAK,CAAC6B;EACd,CAAC;EACDZ,YAAY,EAAE;IACbjB,KAAK,EAAEA,KAAK,CAAC6B;EACd,CAAC;EACDX,YAAY,EAAE;IACblB,KAAK,EAAEA,KAAK,CAAC6B;EACd,CAAC;EACDV,aAAa,EAAE;IACdnB,KAAK,EAAEA,KAAK,CAAC8B;EACd;AACD,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useContext } from 'react';
|
|
4
|
+
import { ThemeContext } from "../../../contexts/index.js";
|
|
5
|
+
import { StyleSheet } from "../../../_style-sheet/index.js";
|
|
6
|
+
import { BaseColor } from "../base-color/index.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
export function PrimaryDanger(props) {
|
|
9
|
+
const themeContext = useContext(ThemeContext);
|
|
10
|
+
return /*#__PURE__*/_jsx(BaseColor, {
|
|
11
|
+
...props,
|
|
12
|
+
android_rippleEffectColor: themeContext.color.button_danger_active,
|
|
13
|
+
colorStateStyle: {
|
|
14
|
+
background: {
|
|
15
|
+
default: style.background_default,
|
|
16
|
+
focused: style.background_pressed,
|
|
17
|
+
hovered: style.background_hovered,
|
|
18
|
+
pressed: style.background_pressed,
|
|
19
|
+
disabled: style.background_disabled
|
|
20
|
+
},
|
|
21
|
+
text: {
|
|
22
|
+
default: style.text_default,
|
|
23
|
+
focused: style.text_focused,
|
|
24
|
+
hovered: style.text_hovered,
|
|
25
|
+
pressed: style.text_pressed,
|
|
26
|
+
disabled: style.text_disabled
|
|
27
|
+
},
|
|
28
|
+
icon: {
|
|
29
|
+
default: themeContext.color.icon_on_color,
|
|
30
|
+
focused: themeContext.color.icon_on_color,
|
|
31
|
+
hovered: themeContext.color.icon_on_color,
|
|
32
|
+
pressed: themeContext.color.icon_on_color,
|
|
33
|
+
disabled: themeContext.color.icon_on_color_disabled
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
const style = StyleSheet.create(color => ({
|
|
39
|
+
background_default: {
|
|
40
|
+
backgroundColor: color.button_danger_primary
|
|
41
|
+
},
|
|
42
|
+
background_focused: {
|
|
43
|
+
backgroundColor: color.button_danger_primary
|
|
44
|
+
},
|
|
45
|
+
background_hovered: {
|
|
46
|
+
backgroundColor: color.button_danger_hover
|
|
47
|
+
},
|
|
48
|
+
background_pressed: {
|
|
49
|
+
backgroundColor: color.button_danger_active
|
|
50
|
+
},
|
|
51
|
+
background_disabled: {
|
|
52
|
+
backgroundColor: color.button_disabled
|
|
53
|
+
},
|
|
54
|
+
text_default: {
|
|
55
|
+
color: color.text_on_color
|
|
56
|
+
},
|
|
57
|
+
text_focused: {
|
|
58
|
+
color: color.text_on_color
|
|
59
|
+
},
|
|
60
|
+
text_hovered: {
|
|
61
|
+
color: color.text_on_color
|
|
62
|
+
},
|
|
63
|
+
text_pressed: {
|
|
64
|
+
color: color.text_on_color
|
|
65
|
+
},
|
|
66
|
+
text_disabled: {
|
|
67
|
+
color: color.text_on_color_disabled
|
|
68
|
+
}
|
|
69
|
+
}));
|
|
70
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useContext","ThemeContext","StyleSheet","BaseColor","jsx","_jsx","PrimaryDanger","props","themeContext","android_rippleEffectColor","color","button_danger_active","colorStateStyle","background","default","style","background_default","focused","background_pressed","hovered","background_hovered","pressed","disabled","background_disabled","text","text_default","text_focused","text_hovered","text_pressed","text_disabled","icon","icon_on_color","icon_on_color_disabled","create","backgroundColor","button_danger_primary","background_focused","button_danger_hover","button_disabled","text_on_color","text_on_color_disabled"],"sourceRoot":"../../../../../src","sources":["components/button/primary-danger/index.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAOd,SACCC,YAAY,QACN,4BAAmB;AAE1B,SACCC,UAAU,QACJ,gCAAuB;AAE9B,SACCC,SAAS,QAEH,wBAAe;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAUtB,OAAO,SAASC,aAAaA,CAACC,KAAyB,EAAE;EAExD,MACCC,YAAY,GACXR,UAAU,CAACC,YAAY,CAAC;EAE1B,oBACCI,IAAA,CAACF,SAAS;IAAA,GACJI,KAAK;IACVE,yBAAyB,EAAGD,YAAY,CAACE,KAAK,CAACC,oBAAsB;IACrEC,eAAe,EAAE;MAChBC,UAAU,EAAE;QACXC,OAAO,EAAEC,KAAK,CAACC,kBAAkB;QACjCC,OAAO,EAAEF,KAAK,CAACG,kBAAkB;QACjCC,OAAO,EAAEJ,KAAK,CAACK,kBAAkB;QACjCC,OAAO,EAAEN,KAAK,CAACG,kBAAkB;QACjCI,QAAQ,EAAEP,KAAK,CAACQ;MACjB,CAAC;MACDC,IAAI,EAAE;QACLV,OAAO,EAAEC,KAAK,CAACU,YAAY;QAC3BR,OAAO,EAAEF,KAAK,CAACW,YAAY;QAC3BP,OAAO,EAAEJ,KAAK,CAACY,YAAY;QAC3BN,OAAO,EAAEN,KAAK,CAACa,YAAY;QAC3BN,QAAQ,EAAEP,KAAK,CAACc;MACjB,CAAC;MACDC,IAAI,EAAE;QACLhB,OAAO,EAAEN,YAAY,CAACE,KAAK,CAACqB,aAAa;QACzCd,OAAO,EAAET,YAAY,CAACE,KAAK,CAACqB,aAAa;QACzCZ,OAAO,EAAEX,YAAY,CAACE,KAAK,CAACqB,aAAa;QACzCV,OAAO,EAAEb,YAAY,CAACE,KAAK,CAACqB,aAAa;QACzCT,QAAQ,EAAEd,YAAY,CAACE,KAAK,CAACsB;MAC9B;IACD;EAAE,CACF,CAAC;AAGJ;AAEA,MACCjB,KAAK,GACJb,UAAU,CAAC+B,MAAM,CAKfvB,KAAK,KAAK;EACXM,kBAAkB,EAAE;IACnBkB,eAAe,EAAExB,KAAK,CAACyB;EACxB,CAAC;EACDC,kBAAkB,EAAE;IACnBF,eAAe,EAAExB,KAAK,CAACyB;EACxB,CAAC;EACDf,kBAAkB,EAAE;IACnBc,eAAe,EAAExB,KAAK,CAAC2B;EACxB,CAAC;EACDnB,kBAAkB,EAAE;IACnBgB,eAAe,EAAExB,KAAK,CAACC;EACxB,CAAC;EACDY,mBAAmB,EAAE;IACpBW,eAAe,EAAExB,KAAK,CAAC4B;EACxB,CAAC;EAEDb,YAAY,EAAE;IACbf,KAAK,EAAEA,KAAK,CAAC6B;EACd,CAAC;EACDb,YAAY,EAAE;IACbhB,KAAK,EAAEA,KAAK,CAAC6B;EACd,CAAC;EACDZ,YAAY,EAAE;IACbjB,KAAK,EAAEA,KAAK,CAAC6B;EACd,CAAC;EACDX,YAAY,EAAE;IACblB,KAAK,EAAEA,KAAK,CAAC6B;EACd,CAAC;EACDV,aAAa,EAAE;IACdnB,KAAK,EAAEA,KAAK,CAAC8B;EACd;AACD,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useContext } from 'react';
|
|
4
|
+
import { ThemeContext } from "../../../contexts/index.js";
|
|
5
|
+
import { StyleSheet } from "../../../_style-sheet/index.js";
|
|
6
|
+
import { BaseColor } from "../base-color/index.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
export function Secondary(props) {
|
|
9
|
+
const themeContext = useContext(ThemeContext);
|
|
10
|
+
return /*#__PURE__*/_jsx(BaseColor, {
|
|
11
|
+
...props,
|
|
12
|
+
android_rippleEffectColor: themeContext.color.button_secondary_active,
|
|
13
|
+
colorStateStyle: {
|
|
14
|
+
background: {
|
|
15
|
+
default: style.background_default,
|
|
16
|
+
focused: style.background_pressed,
|
|
17
|
+
hovered: style.background_hovered,
|
|
18
|
+
pressed: style.background_pressed,
|
|
19
|
+
disabled: style.background_disabled
|
|
20
|
+
},
|
|
21
|
+
text: {
|
|
22
|
+
default: style.text_default,
|
|
23
|
+
focused: style.text_focused,
|
|
24
|
+
hovered: style.text_hovered,
|
|
25
|
+
pressed: style.text_pressed,
|
|
26
|
+
disabled: style.text_disabled
|
|
27
|
+
},
|
|
28
|
+
icon: {
|
|
29
|
+
default: themeContext.color.icon_on_color,
|
|
30
|
+
focused: themeContext.color.icon_on_color,
|
|
31
|
+
hovered: themeContext.color.icon_on_color,
|
|
32
|
+
pressed: themeContext.color.icon_on_color,
|
|
33
|
+
disabled: themeContext.color.icon_on_color_disabled
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
const style = StyleSheet.create(color => ({
|
|
39
|
+
background_default: {
|
|
40
|
+
backgroundColor: color.button_secondary
|
|
41
|
+
},
|
|
42
|
+
background_focused: {
|
|
43
|
+
backgroundColor: color.button_secondary
|
|
44
|
+
},
|
|
45
|
+
background_hovered: {
|
|
46
|
+
backgroundColor: color.button_secondary_hover
|
|
47
|
+
},
|
|
48
|
+
background_pressed: {
|
|
49
|
+
backgroundColor: color.button_secondary_active
|
|
50
|
+
},
|
|
51
|
+
background_disabled: {
|
|
52
|
+
backgroundColor: color.button_disabled
|
|
53
|
+
},
|
|
54
|
+
text_default: {
|
|
55
|
+
color: color.text_on_color
|
|
56
|
+
},
|
|
57
|
+
text_focused: {
|
|
58
|
+
color: color.text_on_color
|
|
59
|
+
},
|
|
60
|
+
text_hovered: {
|
|
61
|
+
color: color.text_on_color
|
|
62
|
+
},
|
|
63
|
+
text_pressed: {
|
|
64
|
+
color: color.text_on_color
|
|
65
|
+
},
|
|
66
|
+
text_disabled: {
|
|
67
|
+
color: color.text_on_color_disabled
|
|
68
|
+
}
|
|
69
|
+
}));
|
|
70
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useContext","ThemeContext","StyleSheet","BaseColor","jsx","_jsx","Secondary","props","themeContext","android_rippleEffectColor","color","button_secondary_active","colorStateStyle","background","default","style","background_default","focused","background_pressed","hovered","background_hovered","pressed","disabled","background_disabled","text","text_default","text_focused","text_hovered","text_pressed","text_disabled","icon","icon_on_color","icon_on_color_disabled","create","backgroundColor","button_secondary","background_focused","button_secondary_hover","button_disabled","text_on_color","text_on_color_disabled"],"sourceRoot":"../../../../../src","sources":["components/button/secondary/index.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAOd,SACCC,YAAY,QACN,4BAAmB;AAE1B,SACCC,UAAU,QACJ,gCAAuB;AAE9B,SACCC,SAAS,QAEH,wBAAe;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAUtB,OAAO,SAASC,SAASA,CAACC,KAAqB,EAAE;EAEhD,MACCC,YAAY,GACXR,UAAU,CAACC,YAAY,CAAC;EAE1B,oBACCI,IAAA,CAACF,SAAS;IAAA,GACJI,KAAK;IACVE,yBAAyB,EAAGD,YAAY,CAACE,KAAK,CAACC,uBAAyB;IACxEC,eAAe,EAAE;MAChBC,UAAU,EAAE;QACXC,OAAO,EAAEC,KAAK,CAACC,kBAAkB;QACjCC,OAAO,EAAEF,KAAK,CAACG,kBAAkB;QACjCC,OAAO,EAAEJ,KAAK,CAACK,kBAAkB;QACjCC,OAAO,EAAEN,KAAK,CAACG,kBAAkB;QACjCI,QAAQ,EAAEP,KAAK,CAACQ;MACjB,CAAC;MACDC,IAAI,EAAE;QACLV,OAAO,EAAEC,KAAK,CAACU,YAAY;QAC3BR,OAAO,EAAEF,KAAK,CAACW,YAAY;QAC3BP,OAAO,EAAEJ,KAAK,CAACY,YAAY;QAC3BN,OAAO,EAAEN,KAAK,CAACa,YAAY;QAC3BN,QAAQ,EAAEP,KAAK,CAACc;MACjB,CAAC;MACDC,IAAI,EAAE;QACLhB,OAAO,EAAEN,YAAY,CAACE,KAAK,CAACqB,aAAa;QACzCd,OAAO,EAAET,YAAY,CAACE,KAAK,CAACqB,aAAa;QACzCZ,OAAO,EAAEX,YAAY,CAACE,KAAK,CAACqB,aAAa;QACzCV,OAAO,EAAEb,YAAY,CAACE,KAAK,CAACqB,aAAa;QACzCT,QAAQ,EAAEd,YAAY,CAACE,KAAK,CAACsB;MAC9B;IACD;EAAE,CACF,CAAC;AAGJ;AAEA,MACCjB,KAAK,GACJb,UAAU,CAAC+B,MAAM,CAKfvB,KAAK,KAAK;EACXM,kBAAkB,EAAE;IACnBkB,eAAe,EAAExB,KAAK,CAACyB;EACxB,CAAC;EACDC,kBAAkB,EAAE;IACnBF,eAAe,EAAExB,KAAK,CAACyB;EACxB,CAAC;EACDf,kBAAkB,EAAE;IACnBc,eAAe,EAAExB,KAAK,CAAC2B;EACxB,CAAC;EACDnB,kBAAkB,EAAE;IACnBgB,eAAe,EAAExB,KAAK,CAACC;EACxB,CAAC;EACDY,mBAAmB,EAAE;IACpBW,eAAe,EAAExB,KAAK,CAAC4B;EACxB,CAAC;EAEDb,YAAY,EAAE;IACbf,KAAK,EAAEA,KAAK,CAAC6B;EACd,CAAC;EACDb,YAAY,EAAE;IACbhB,KAAK,EAAEA,KAAK,CAAC6B;EACd,CAAC;EACDZ,YAAY,EAAE;IACbjB,KAAK,EAAEA,KAAK,CAAC6B;EACd,CAAC;EACDX,YAAY,EAAE;IACblB,KAAK,EAAEA,KAAK,CAAC6B;EACd,CAAC;EACDV,aAAa,EAAE;IACdnB,KAAK,EAAEA,KAAK,CAAC8B;EACd;AACD,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/button/size.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useContext } from 'react';
|
|
4
|
+
import { StyleSheet } from 'react-native';
|
|
5
|
+
import { ThemeContext } from "../../../contexts/index.js";
|
|
6
|
+
import { StyleSheet as StyleSheetColor } from "../../../_style-sheet/index.js";
|
|
7
|
+
import { BaseColor } from "../base-color/index.js";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
export function Tertiary({
|
|
10
|
+
style,
|
|
11
|
+
...props
|
|
12
|
+
}) {
|
|
13
|
+
const themeContext = useContext(ThemeContext);
|
|
14
|
+
return /*#__PURE__*/_jsx(BaseColor, {
|
|
15
|
+
...props,
|
|
16
|
+
android_rippleEffectColor: themeContext.color.button_tertiary_active,
|
|
17
|
+
colorStateStyle: {
|
|
18
|
+
background: {
|
|
19
|
+
default: colorStyle.background_default,
|
|
20
|
+
focused: colorStyle.background_pressed,
|
|
21
|
+
hovered: colorStyle.background_hovered,
|
|
22
|
+
pressed: colorStyle.background_pressed,
|
|
23
|
+
disabled: colorStyle.background_disabled
|
|
24
|
+
},
|
|
25
|
+
text: {
|
|
26
|
+
default: colorStyle.text_default,
|
|
27
|
+
focused: colorStyle.text_focused,
|
|
28
|
+
hovered: colorStyle.text_hovered,
|
|
29
|
+
pressed: colorStyle.text_pressed,
|
|
30
|
+
disabled: colorStyle.text_disabled
|
|
31
|
+
},
|
|
32
|
+
icon: {
|
|
33
|
+
default: themeContext.color.button_tertiary,
|
|
34
|
+
focused: themeContext.color.button_tertiary,
|
|
35
|
+
hovered: themeContext.color.icon_inverse,
|
|
36
|
+
pressed: themeContext.color.icon_inverse,
|
|
37
|
+
disabled: themeContext.color.icon_disabled
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
style: [baseStyle.tertiary, style]
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
const baseStyle = StyleSheet.create({
|
|
44
|
+
tertiary: {
|
|
45
|
+
borderWidth: 1
|
|
46
|
+
}
|
|
47
|
+
}),
|
|
48
|
+
colorStyle = StyleSheetColor.create(color => ({
|
|
49
|
+
background_default: {
|
|
50
|
+
backgroundColor: 'transparent',
|
|
51
|
+
borderColor: color.button_tertiary
|
|
52
|
+
},
|
|
53
|
+
background_focused: {
|
|
54
|
+
backgroundColor: color.button_tertiary_hover,
|
|
55
|
+
borderColor: color.focus
|
|
56
|
+
},
|
|
57
|
+
background_hovered: {
|
|
58
|
+
backgroundColor: color.button_tertiary_hover,
|
|
59
|
+
borderColor: color.button_tertiary_hover
|
|
60
|
+
},
|
|
61
|
+
background_pressed: {
|
|
62
|
+
backgroundColor: color.button_tertiary_active,
|
|
63
|
+
borderColor: color.button_tertiary_active
|
|
64
|
+
},
|
|
65
|
+
background_disabled: {
|
|
66
|
+
backgroundColor: 'transparent',
|
|
67
|
+
borderColor: color.button_disabled
|
|
68
|
+
},
|
|
69
|
+
text_default: {
|
|
70
|
+
color: color.button_tertiary
|
|
71
|
+
},
|
|
72
|
+
text_focused: {
|
|
73
|
+
color: color.button_tertiary
|
|
74
|
+
},
|
|
75
|
+
text_hovered: {
|
|
76
|
+
color: color.text_inverse
|
|
77
|
+
},
|
|
78
|
+
text_pressed: {
|
|
79
|
+
color: color.text_inverse
|
|
80
|
+
},
|
|
81
|
+
text_disabled: {
|
|
82
|
+
color: color.text_disabled
|
|
83
|
+
}
|
|
84
|
+
}));
|
|
85
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useContext","StyleSheet","ThemeContext","StyleSheetColor","BaseColor","jsx","_jsx","Tertiary","style","props","themeContext","android_rippleEffectColor","color","button_tertiary_active","colorStateStyle","background","default","colorStyle","background_default","focused","background_pressed","hovered","background_hovered","pressed","disabled","background_disabled","text","text_default","text_focused","text_hovered","text_pressed","text_disabled","icon","button_tertiary","icon_inverse","icon_disabled","baseStyle","tertiary","create","borderWidth","backgroundColor","borderColor","background_focused","button_tertiary_hover","focus","button_disabled","text_inverse"],"sourceRoot":"../../../../../src","sources":["components/button/terti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CAAC4B,SAAS,CAACC,QAAQ,EAAE7B,KAAK;EAAG,CACrC,CAAC;AAGJ;AAEA,MACC4B,SAAS,GACRnC,UAAU,CAACqC,MAAM,CAAC;IACjBD,QAAQ,EAAE;MACTE,WAAW,EAAE;IACd;EACD,CAAC,CAAC;EAEHtB,UAAU,GACTd,eAAe,CAACmC,MAAM,CAKpB1B,KAAK,KAAK;IACXM,kBAAkB,EAAE;MACnBsB,eAAe,EAAE,aAAa;MAC9BC,WAAW,EAAE7B,KAAK,CAACqB;IACpB,CAAC;IACDS,kBAAkB,EAAE;MACnBF,eAAe,EAAE5B,KAAK,CAAC+B,qBAAqB;MAC5CF,WAAW,EAAE7B,KAAK,CAACgC;IACpB,CAAC;IACDtB,kBAAkB,EAAE;MACnBkB,eAAe,EAAE5B,KAAK,CAAC+B,qBAAqB;MAC5CF,WAAW,EAAE7B,KAAK,CAAC+B;IACpB,CAAC;IACDvB,kBAAkB,EAAE;MACnBoB,eAAe,EAAE5B,KAAK,CAACC,sBAAsB;MAC7C4B,WAAW,EAAE7B,KAAK,CAACC;IACpB,CAAC;IACDY,mBAAmB,EAAE;MACpBe,eAAe,EAAE,aAAa;MAC9BC,WAAW,EAAE7B,KAAK,CAACiC;IACpB,CAAC;IAEDlB,YAAY,EAAE;MACbf,KAAK,EAAEA,KAAK,CAACqB;IACd,CAAC;IACDL,YAAY,EAAE;MACbhB,KAAK,EAAEA,KAAK,CAACqB;IACd,CAAC;IACDJ,YAAY,EAAE;MACbjB,KAAK,EAAEA,KAAK,CAACkC;IACd,CAAC;IACDhB,YAAY,EAAE;MACblB,KAAK,EAAEA,KAAK,CAACkC;IACd,CAAC;IACDf,aAAa,EAAE;MACdnB,KAAK,EAAEA,KAAK,CAACmB;IACd;EACD,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useContext } from 'react';
|
|
4
|
+
import { StyleSheet } from 'react-native';
|
|
5
|
+
import { ThemeContext } from "../../../contexts/index.js";
|
|
6
|
+
import { StyleSheet as StyleSheetColor } from "../../../_style-sheet/index.js";
|
|
7
|
+
import { BaseColor } from "../base-color/index.js";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
export function TertiaryDanger({
|
|
10
|
+
style,
|
|
11
|
+
...props
|
|
12
|
+
}) {
|
|
13
|
+
const themeContext = useContext(ThemeContext);
|
|
14
|
+
return /*#__PURE__*/_jsx(BaseColor, {
|
|
15
|
+
...props,
|
|
16
|
+
android_rippleEffectColor: themeContext.color.button_danger_active,
|
|
17
|
+
colorStateStyle: {
|
|
18
|
+
background: {
|
|
19
|
+
default: colorStyle.background_default,
|
|
20
|
+
focused: colorStyle.background_pressed,
|
|
21
|
+
hovered: colorStyle.background_hovered,
|
|
22
|
+
pressed: colorStyle.background_pressed,
|
|
23
|
+
disabled: colorStyle.background_disabled
|
|
24
|
+
},
|
|
25
|
+
text: {
|
|
26
|
+
default: colorStyle.text_default,
|
|
27
|
+
focused: colorStyle.text_focused,
|
|
28
|
+
hovered: colorStyle.text_hovered,
|
|
29
|
+
pressed: colorStyle.text_pressed,
|
|
30
|
+
disabled: colorStyle.text_disabled
|
|
31
|
+
},
|
|
32
|
+
icon: {
|
|
33
|
+
default: themeContext.color.button_danger_secondary,
|
|
34
|
+
focused: themeContext.color.button_danger_secondary,
|
|
35
|
+
hovered: themeContext.color.icon_on_color,
|
|
36
|
+
pressed: themeContext.color.icon_on_color,
|
|
37
|
+
disabled: themeContext.color.icon_disabled
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
style: [baseStyle.tertiaryDanger, style]
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
const baseStyle = StyleSheet.create({
|
|
44
|
+
tertiaryDanger: {
|
|
45
|
+
borderWidth: 1
|
|
46
|
+
}
|
|
47
|
+
}),
|
|
48
|
+
colorStyle = StyleSheetColor.create(color => ({
|
|
49
|
+
background_default: {
|
|
50
|
+
backgroundColor: 'transparent',
|
|
51
|
+
borderColor: color.button_danger_secondary
|
|
52
|
+
},
|
|
53
|
+
background_focused: {
|
|
54
|
+
backgroundColor: 'transparent',
|
|
55
|
+
borderColor: color.focus
|
|
56
|
+
},
|
|
57
|
+
background_hovered: {
|
|
58
|
+
backgroundColor: color.button_danger_hover,
|
|
59
|
+
borderColor: color.button_danger_hover
|
|
60
|
+
},
|
|
61
|
+
background_pressed: {
|
|
62
|
+
backgroundColor: color.button_danger_active,
|
|
63
|
+
borderColor: color.button_danger_active
|
|
64
|
+
},
|
|
65
|
+
background_disabled: {
|
|
66
|
+
backgroundColor: 'transparent',
|
|
67
|
+
borderColor: color.button_disabled
|
|
68
|
+
},
|
|
69
|
+
text_default: {
|
|
70
|
+
color: color.button_danger_secondary
|
|
71
|
+
},
|
|
72
|
+
text_focused: {
|
|
73
|
+
color: color.button_danger_secondary
|
|
74
|
+
},
|
|
75
|
+
text_hovered: {
|
|
76
|
+
color: color.text_on_color
|
|
77
|
+
},
|
|
78
|
+
text_pressed: {
|
|
79
|
+
color: color.text_on_color
|
|
80
|
+
},
|
|
81
|
+
text_disabled: {
|
|
82
|
+
color: color.text_disabled
|
|
83
|
+
}
|
|
84
|
+
}));
|
|
85
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useContext","StyleSheet","ThemeContext","StyleSheetColor","BaseColor","jsx","_jsx","TertiaryDanger","style","props","themeContext","android_rippleEffectColor","color","button_danger_active","colorStateStyle","background","default","colorStyle","background_default","focused","background_pressed","hovered","background_hovered","pressed","disabled","background_disabled","text","text_default","text_focused","text_hovered","text_pressed","text_disabled","icon","button_danger_secondary","icon_on_color","icon_disabled","baseStyle","tertiaryDanger","create","borderWidth","backgroundColor","borderColor","background_focused","focus","button_danger_hover","button_disabled","text_on_color"],"sourceRoot":"../../../../../src","sources":["components/button/tertiary-danger/index.tsx"],"mappings":";;AAAA,SACCA,UAAU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B,KAAK;EAAG,CAC3C,CAAC;AAGJ;AAEA,MACC4B,SAAS,GACRnC,UAAU,CAACqC,MAAM,CAAC;IACjBD,cAAc,EAAE;MACfE,WAAW,EAAE;IACd;EACD,CAAC,CAAC;EAEHtB,UAAU,GACTd,eAAe,CAACmC,MAAM,CAKpB1B,KAAK,KAAK;IACXM,kBAAkB,EAAE;MACnBsB,eAAe,EAAE,aAAa;MAC9BC,WAAW,EAAE7B,KAAK,CAACqB;IACpB,CAAC;IACDS,kBAAkB,EAAE;MACnBF,eAAe,EAAE,aAAa;MAC9BC,WAAW,EAAE7B,KAAK,CAAC+B;IACpB,CAAC;IACDrB,kBAAkB,EAAE;MACnBkB,eAAe,EAAE5B,KAAK,CAACgC,mBAAmB;MAC1CH,WAAW,EAAE7B,KAAK,CAACgC;IACpB,CAAC;IACDxB,kBAAkB,EAAE;MACnBoB,eAAe,EAAE5B,KAAK,CAACC,oBAAoB;MAC3C4B,WAAW,EAAE7B,KAAK,CAACC;IACpB,CAAC;IACDY,mBAAmB,EAAE;MACpBe,eAAe,EAAE,aAAa;MAC9BC,WAAW,EAAE7B,KAAK,CAACiC;IACpB,CAAC;IAEDlB,YAAY,EAAE;MACbf,KAAK,EAAEA,KAAK,CAACqB;IACd,CAAC;IACDL,YAAY,EAAE;MACbhB,KAAK,EAAEA,KAAK,CAACqB;IACd,CAAC;IACDJ,YAAY,EAAE;MACbjB,KAAK,EAAEA,KAAK,CAACkC;IACd,CAAC;IACDhB,YAAY,EAAE;MACblB,KAAK,EAAEA,KAAK,CAACkC;IACd,CAAC;IACDf,aAAa,EAAE;MACdnB,KAAK,EAAEA,KAAK,CAACmB;IACd;EACD,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef, useCallback, useImperativeHandle, useRef } from 'react';
|
|
4
|
+
import { Pressable, StyleSheet, View } from 'react-native';
|
|
5
|
+
import { StyleSheet as StyleSheetColor } from "../../_style-sheet/index.js";
|
|
6
|
+
import { SpacingConstant } from "../../constants/index.js";
|
|
7
|
+
import { CommonStyle, FlexStyle } from "../../styles/index.js";
|
|
8
|
+
import { CheckboxInput } from "../checkbox-input/index.js";
|
|
9
|
+
import { FormLabel } from "../form-label/index.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
export const Checkbox = /*#__PURE__*/forwardRef(function Checkbox({
|
|
12
|
+
controlled,
|
|
13
|
+
value,
|
|
14
|
+
indeterminate,
|
|
15
|
+
interactiveState = 'normal',
|
|
16
|
+
label,
|
|
17
|
+
role = 'checkbox',
|
|
18
|
+
'aria-label': ariaLabel,
|
|
19
|
+
onChange,
|
|
20
|
+
onPress,
|
|
21
|
+
checkboxInputProps,
|
|
22
|
+
formLabelProps,
|
|
23
|
+
pressableProps,
|
|
24
|
+
style,
|
|
25
|
+
...props
|
|
26
|
+
}, forwardedRef) {
|
|
27
|
+
const checkboxInputRef = useRef(null),
|
|
28
|
+
viewRef = useRef(null),
|
|
29
|
+
pressHandler = useCallback(event => {
|
|
30
|
+
onPress?.(event);
|
|
31
|
+
checkboxInputRef.current?.setValue((currentValue, indeterminate_) => {
|
|
32
|
+
if (indeterminate_ && currentValue) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
return !currentValue;
|
|
36
|
+
});
|
|
37
|
+
}, [onPress]);
|
|
38
|
+
useImperativeHandle(forwardedRef, () => {
|
|
39
|
+
return Object.assign(viewRef.current ?? {}, {
|
|
40
|
+
get value() {
|
|
41
|
+
return checkboxInputRef.current.value;
|
|
42
|
+
},
|
|
43
|
+
setValue(value_) {
|
|
44
|
+
checkboxInputRef.current?.setValue(value_);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}, []);
|
|
48
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
49
|
+
...props,
|
|
50
|
+
"aria-label": ariaLabel || label,
|
|
51
|
+
style: [FlexStyle.flex_row, style],
|
|
52
|
+
ref: viewRef,
|
|
53
|
+
children: [/*#__PURE__*/_jsx(Pressable, {
|
|
54
|
+
...pressableProps,
|
|
55
|
+
role: role,
|
|
56
|
+
disabled: interactiveState === 'disabled',
|
|
57
|
+
"aria-label": pressableProps?.['aria-label'] ?? label,
|
|
58
|
+
onPress: pressHandler,
|
|
59
|
+
style: [CommonStyle.absolute, CommonStyle.w_full, CommonStyle.h_full, baseStyle.pressable, pressableProps?.style]
|
|
60
|
+
}), /*#__PURE__*/_jsx(CheckboxInput, {
|
|
61
|
+
...checkboxInputProps,
|
|
62
|
+
role: "none",
|
|
63
|
+
controlled: controlled,
|
|
64
|
+
value: value,
|
|
65
|
+
indeterminate: indeterminate,
|
|
66
|
+
interactiveState: interactiveState,
|
|
67
|
+
onChange: onChange,
|
|
68
|
+
onPress: onPress,
|
|
69
|
+
style: [baseStyle.checkboxInput, checkboxInputProps?.style],
|
|
70
|
+
ref: checkboxInputRef
|
|
71
|
+
}), /*#__PURE__*/_jsx(FormLabel, {
|
|
72
|
+
...formLabelProps,
|
|
73
|
+
label: label,
|
|
74
|
+
textProps: {
|
|
75
|
+
...formLabelProps?.textProps,
|
|
76
|
+
type: formLabelProps?.textProps?.type || 'body_compact_01',
|
|
77
|
+
style: [textColorStyle[interactiveState], formLabelProps?.textProps?.style]
|
|
78
|
+
},
|
|
79
|
+
style: [baseStyle.label, formLabelProps?.style]
|
|
80
|
+
})]
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
const baseStyle = StyleSheet.create({
|
|
84
|
+
pressable: {
|
|
85
|
+
zIndex: 1
|
|
86
|
+
},
|
|
87
|
+
checkboxInput: {
|
|
88
|
+
zIndex: 2
|
|
89
|
+
},
|
|
90
|
+
label: {
|
|
91
|
+
marginLeft: SpacingConstant.spacing_03
|
|
92
|
+
}
|
|
93
|
+
}),
|
|
94
|
+
textColorStyle = StyleSheetColor.create(color => {
|
|
95
|
+
return {
|
|
96
|
+
normal: {
|
|
97
|
+
color: color.text_primary
|
|
98
|
+
},
|
|
99
|
+
disabled: {
|
|
100
|
+
color: color.text_disabled
|
|
101
|
+
},
|
|
102
|
+
error: {
|
|
103
|
+
color: color.text_primary
|
|
104
|
+
},
|
|
105
|
+
read_only: {
|
|
106
|
+
color: color.text_primary
|
|
107
|
+
},
|
|
108
|
+
warning: {
|
|
109
|
+
color: color.text_primary
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
});
|
|
113
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","useCallback","useImperativeHandle","useRef","Pressable","StyleSheet","View","StyleSheetColor","SpacingConstant","CommonStyle","FlexStyle","CheckboxInput","FormLabel","jsx","_jsx","jsxs","_jsxs","Checkbox","controlled","value","indeterminate","interactiveState","label","role","ariaLabel","onChange","onPress","checkboxInputProps","formLabelProps","pressableProps","style","props","forwardedRef","checkboxInputRef","viewRef","pressHandler","event","current","setValue","currentValue","indeterminate_","Object","assign","value_","flex_row","ref","children","disabled","absolute","w_full","h_full","baseStyle","pressable","checkboxInput","textProps","type","textColorStyle","create","zIndex","marginLeft","spacing_03","color","normal","text_primary","text_disabled","error","read_only","warning"],"sourceRoot":"../../../../src","sources":["components/checkbox/index.tsx"],"mappings":";;AAAA,SACCA,UAAU,EACVC,WAAW,EACXC,mBAAmB,EACnBC,MAAM,QACA,OAAO;AAEd,SACCC,SAAS,EACTC,UAAU,EACVC,IAAI,QAIE,cAAc;AAErB,SACCD,UAAU,IAAIE,eAAe,QACvB,6BAAoB;AAE3B,SACCC,eAAe,QACT,0BAAiB;AAExB,SACCC,WAAW,EACXC,SAAS,QACH,uBAAc;AAErB,SACCC,aAAa,QAIP,4BAAmB;AAE1B,SACCC,SAAS,QAEH,wBAAe;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA4CtB,OAAO,MAAMC,QAAQ,gBAAGjB,UAAU,CAC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,CAAC;IACDL,aAAa,EAAE;MACdK,MAAM,EAAE;IACT,CAAC;IACDpC,KAAK,EAAE;MACNqC,UAAU,EAAEnD,eAAe,CAACoD;IAC7B;EACD,CAAC,CAAC;EAEHJ,cAAc,GACbjD,eAAe,CAACkD,MAAM,CAEpBI,KAAK,IAAI;IACV,OAAO;MACNC,MAAM,EAAE;QACPD,KAAK,EAAEA,KAAK,CAACE;MACd,CAAC;MACDhB,QAAQ,EAAE;QACTc,KAAK,EAAEA,KAAK,CAACG;MACd,CAAC;MACDC,KAAK,EAAE;QACNJ,KAAK,EAAEA,KAAK,CAACE;MACd,CAAC;MACDG,SAAS,EAAE;QACVL,KAAK,EAAEA,KAAK,CAACE;MACd,CAAC;MACDI,OAAO,EAAE;QACRN,KAAK,EAAEA,KAAK,CAACE;MACd;IACD,CAAC;EACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef, useContext } from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import IconWarningAltFilled from '@carbon/icons/es/warning--alt--filled/16';
|
|
6
|
+
import IconWarningFilled from '@carbon/icons/es/warning--filled/16';
|
|
7
|
+
import { SpacingConstant } from "../../constants/index.js";
|
|
8
|
+
import { ThemeContext } from "../../contexts/index.js";
|
|
9
|
+
import { FlexStyle } from "../../styles/index.js";
|
|
10
|
+
import { Checkbox } from "../checkbox/index.js";
|
|
11
|
+
import { FormLabel } from "../form-label/index.js";
|
|
12
|
+
import { Icon } from "../icon/index.js";
|
|
13
|
+
import { FormHelperText } from "../form-helper-text/index.js";
|
|
14
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
+
const Component = /*#__PURE__*/forwardRef(function CheckboxGroup({
|
|
16
|
+
orientation = 'vertical',
|
|
17
|
+
legend,
|
|
18
|
+
helperText,
|
|
19
|
+
helperTextMode,
|
|
20
|
+
helperTextModeIcon = true,
|
|
21
|
+
formHelperTextProps,
|
|
22
|
+
children,
|
|
23
|
+
style,
|
|
24
|
+
...props
|
|
25
|
+
}, ref) {
|
|
26
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
27
|
+
...props,
|
|
28
|
+
style: style,
|
|
29
|
+
ref: ref,
|
|
30
|
+
children: [/*#__PURE__*/_jsx(FormLabel, {
|
|
31
|
+
label: legend,
|
|
32
|
+
style: baseStyle.legend
|
|
33
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
34
|
+
style: [baseStyle.wrapper, wrapperOrientationStyle[orientation]],
|
|
35
|
+
children: children
|
|
36
|
+
}), !!helperText && /*#__PURE__*/_jsx(FormHelperText, {
|
|
37
|
+
...formHelperTextProps,
|
|
38
|
+
error: helperTextMode === 'error',
|
|
39
|
+
text: helperText,
|
|
40
|
+
textLeading: helperTextModeIcon && helperTextMode === 'error' ? /*#__PURE__*/_jsx(IconErrorRenderer, {}) : helperTextModeIcon && helperTextMode === 'warning' ? /*#__PURE__*/_jsx(IconWarningRenderer, {}) : formHelperTextProps?.textLeading,
|
|
41
|
+
style: [baseStyle.formHelperText, formHelperTextProps?.style]
|
|
42
|
+
})]
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
export const CheckboxGroup = Object.assign(Component, {
|
|
46
|
+
Item: Checkbox
|
|
47
|
+
});
|
|
48
|
+
const baseStyle = StyleSheet.create({
|
|
49
|
+
wrapper: {
|
|
50
|
+
columnGap: SpacingConstant.spacing_05,
|
|
51
|
+
rowGap: SpacingConstant.spacing_03
|
|
52
|
+
},
|
|
53
|
+
legend: {
|
|
54
|
+
marginBottom: SpacingConstant.spacing_03
|
|
55
|
+
},
|
|
56
|
+
formHelperText: {
|
|
57
|
+
marginTop: SpacingConstant.spacing_03
|
|
58
|
+
}
|
|
59
|
+
}),
|
|
60
|
+
wrapperOrientationStyle = StyleSheet.create({
|
|
61
|
+
vertical: {
|
|
62
|
+
flexDirection: 'column'
|
|
63
|
+
},
|
|
64
|
+
horizontal: {
|
|
65
|
+
...FlexStyle.flex_wrap,
|
|
66
|
+
flexDirection: 'row'
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
function IconErrorRenderer(props) {
|
|
70
|
+
const themeContext = useContext(ThemeContext);
|
|
71
|
+
return /*#__PURE__*/_jsx(Icon, {
|
|
72
|
+
...props,
|
|
73
|
+
src: IconWarningFilled,
|
|
74
|
+
fill: themeContext.color.support_error,
|
|
75
|
+
stroke: themeContext.color.background,
|
|
76
|
+
width: 18,
|
|
77
|
+
height: 18
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
82
|
+
IconWarningAltFilled.content[0].attrs.fill = 'black';
|
|
83
|
+
function IconWarningRenderer(props) {
|
|
84
|
+
const themeContext = useContext(ThemeContext);
|
|
85
|
+
return /*#__PURE__*/_jsx(Icon, {
|
|
86
|
+
...props,
|
|
87
|
+
src: IconWarningAltFilled,
|
|
88
|
+
fill: themeContext.color.support_warning,
|
|
89
|
+
width: 18,
|
|
90
|
+
height: 18
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","useContext","StyleSheet","View","IconWarningAltFilled","IconWarningFilled","SpacingConstant","ThemeContext","FlexStyle","Checkbox","FormLabel","Icon","FormHelperText","jsx","_jsx","jsxs","_jsxs","Component","CheckboxGroup","orientation","legend","helperText","helperTextMode","helperTextModeIcon","formHelperTextProps","children","style","props","ref","label","baseStyle","wrapper","wrapperOrientationStyle","error","text","textLeading","IconErrorRenderer","IconWarningRenderer","formHelperText","Object","assign","Item","create","columnGap","spacing_05","rowGap","spacing_03","marginBottom","marginTop","vertical","flexDirection","horizontal","flex_wrap","themeContext","src","fill","color","support_error","stroke","background","width","height","content","attrs","support_warning"],"sourceRoot":"../../../../src","sources":["components/check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