@mindlogic-ai/logician-ui 4.0.0 → 5.0.0-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/MIGRATION-5.0.md +155 -0
- package/USAGE.md +1 -1
- package/codemods/5.0/README.md +244 -0
- package/codemods/5.0/__testfixtures__/badge-variants.input.tsx +20 -0
- package/codemods/5.0/__testfixtures__/badge-variants.output.tsx +21 -0
- package/codemods/5.0/__testfixtures__/button-variants.input.tsx +124 -0
- package/codemods/5.0/__testfixtures__/button-variants.output.tsx +116 -0
- package/codemods/5.0/__testfixtures__/card-gradient.input.tsx +12 -0
- package/codemods/5.0/__testfixtures__/card-gradient.output.tsx +16 -0
- package/codemods/5.0/__testfixtures__/index.input.tsx +43 -0
- package/codemods/5.0/__testfixtures__/index.output.tsx +53 -0
- package/codemods/5.0/__testfixtures__/tag-chip-conflict.input.tsx +10 -0
- package/codemods/5.0/__testfixtures__/tag-chip-conflict.output.tsx +12 -0
- package/codemods/5.0/__testfixtures__/tag-chip-merge.input.tsx +42 -0
- package/codemods/5.0/__testfixtures__/tag-chip-merge.output.tsx +44 -0
- package/codemods/5.0/__testfixtures__/tag-chip.input.tsx +67 -0
- package/codemods/5.0/__testfixtures__/tag-chip.output.tsx +99 -0
- package/codemods/5.0/__testfixtures__/token-renames.input.tsx +88 -0
- package/codemods/5.0/__testfixtures__/token-renames.output.tsx +88 -0
- package/codemods/5.0/badge-variants.js +91 -0
- package/codemods/5.0/button-variants.js +234 -0
- package/codemods/5.0/card-gradient.js +72 -0
- package/codemods/5.0/codemods.test.ts +441 -0
- package/codemods/5.0/index.js +220 -0
- package/codemods/5.0/lib/shared.js +273 -0
- package/codemods/5.0/tag-chip.js +436 -0
- package/codemods/5.0/token-renames.js +231 -0
- package/codemods/vitest.config.ts +22 -0
- package/dist/components/Avatar/Avatar.d.ts +37 -0
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.js +31 -2
- package/dist/components/Avatar/Avatar.js.map +1 -1
- package/dist/components/Avatar/Avatar.mjs +30 -3
- package/dist/components/Avatar/Avatar.mjs.map +1 -1
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Badge/Badge.js +10 -6
- package/dist/components/Badge/Badge.js.map +1 -1
- package/dist/components/Badge/Badge.mjs +11 -7
- package/dist/components/Badge/Badge.mjs.map +1 -1
- package/dist/components/Badge/Badge.styles.d.ts +17 -3
- package/dist/components/Badge/Badge.styles.d.ts.map +1 -1
- package/dist/components/Badge/Badge.styles.js +51 -45
- package/dist/components/Badge/Badge.styles.js.map +1 -1
- package/dist/components/Badge/Badge.styles.mjs +50 -46
- package/dist/components/Badge/Badge.styles.mjs.map +1 -1
- package/dist/components/Badge/Badge.types.d.ts +16 -12
- package/dist/components/Badge/Badge.types.d.ts.map +1 -1
- package/dist/components/Badge/index.d.ts +2 -2
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Banner/Banner.styles.d.ts +7 -3
- package/dist/components/Banner/Banner.styles.d.ts.map +1 -1
- package/dist/components/Banner/Banner.styles.js +43 -27
- package/dist/components/Banner/Banner.styles.js.map +1 -1
- package/dist/components/Banner/Banner.styles.mjs +44 -28
- package/dist/components/Banner/Banner.styles.mjs.map +1 -1
- package/dist/components/Banner/Banner.types.d.ts +1 -1
- package/dist/components/Banner/Banner.types.d.ts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetCloseButton.d.ts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetCloseButton.js +1 -1
- package/dist/components/BottomSheet/BottomSheetCloseButton.js.map +1 -1
- package/dist/components/BottomSheet/BottomSheetCloseButton.mjs +1 -1
- package/dist/components/BottomSheet/BottomSheetCloseButton.mjs.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.js +1 -1
- package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.js.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.mjs +1 -1
- package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.mjs.map +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +33 -14
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Button/Button.legacy.d.ts +53 -0
- package/dist/components/Button/Button.legacy.d.ts.map +1 -0
- package/dist/components/Button/Button.legacy.js +131 -0
- package/dist/components/Button/Button.legacy.js.map +1 -0
- package/dist/components/Button/Button.legacy.mjs +127 -0
- package/dist/components/Button/Button.legacy.mjs.map +1 -0
- package/dist/components/Button/Button.mjs +33 -14
- package/dist/components/Button/Button.mjs.map +1 -1
- package/dist/components/Button/Button.styles.d.ts +38 -26
- package/dist/components/Button/Button.styles.d.ts.map +1 -1
- package/dist/components/Button/Button.styles.js +142 -378
- package/dist/components/Button/Button.styles.js.map +1 -1
- package/dist/components/Button/Button.styles.mjs +141 -379
- package/dist/components/Button/Button.styles.mjs.map +1 -1
- package/dist/components/Button/Button.types.d.ts +45 -37
- package/dist/components/Button/Button.types.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/Card.js +1 -7
- package/dist/components/Card/Card.js.map +1 -1
- package/dist/components/Card/Card.mjs +1 -7
- package/dist/components/Card/Card.mjs.map +1 -1
- package/dist/components/Card/Card.styles.d.ts +1 -12
- package/dist/components/Card/Card.styles.d.ts.map +1 -1
- package/dist/components/Card/Card.styles.js +6 -13
- package/dist/components/Card/Card.styles.js.map +1 -1
- package/dist/components/Card/Card.styles.mjs +6 -13
- package/dist/components/Card/Card.styles.mjs.map +1 -1
- package/dist/components/Card/Card.types.d.ts +1 -5
- package/dist/components/Card/Card.types.d.ts.map +1 -1
- package/dist/components/Checkbox/CheckboxControl.d.ts.map +1 -1
- package/dist/components/Checkbox/CheckboxControl.js +14 -8
- package/dist/components/Checkbox/CheckboxControl.js.map +1 -1
- package/dist/components/Checkbox/CheckboxControl.mjs +14 -8
- package/dist/components/Checkbox/CheckboxControl.mjs.map +1 -1
- package/dist/components/Chip/Chip.d.ts +5 -1
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Chip/Chip.js +24 -18
- package/dist/components/Chip/Chip.js.map +1 -1
- package/dist/components/Chip/Chip.mjs +24 -18
- package/dist/components/Chip/Chip.mjs.map +1 -1
- package/dist/components/Chip/Chip.types.d.ts +38 -23
- package/dist/components/Chip/Chip.types.d.ts.map +1 -1
- package/dist/components/Chip/index.d.ts +0 -1
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/Code/Code.d.ts.map +1 -1
- package/dist/components/Code/Code.js +2 -2
- package/dist/components/Code/Code.js.map +1 -1
- package/dist/components/Code/Code.mjs +2 -2
- package/dist/components/Code/Code.mjs.map +1 -1
- package/dist/components/CodeTabs/CodeTabs.d.ts.map +1 -1
- package/dist/components/CodeTabs/CodeTabs.js +16 -2
- package/dist/components/CodeTabs/CodeTabs.js.map +1 -1
- package/dist/components/CodeTabs/CodeTabs.mjs +16 -2
- package/dist/components/CodeTabs/CodeTabs.mjs.map +1 -1
- package/dist/components/CodeTabs/CodeTabs.styles.d.ts +27 -0
- package/dist/components/CodeTabs/CodeTabs.styles.d.ts.map +1 -0
- package/dist/components/CodeTabs/CodeTabs.styles.js +32 -0
- package/dist/components/CodeTabs/CodeTabs.styles.js.map +1 -0
- package/dist/components/CodeTabs/CodeTabs.styles.mjs +30 -0
- package/dist/components/CodeTabs/CodeTabs.styles.mjs.map +1 -0
- package/dist/components/CodeTabs/CopyButton.d.ts.map +1 -1
- package/dist/components/CodeTabs/CopyButton.js +6 -3
- package/dist/components/CodeTabs/CopyButton.js.map +1 -1
- package/dist/components/CodeTabs/CopyButton.mjs +6 -3
- package/dist/components/CodeTabs/CopyButton.mjs.map +1 -1
- package/dist/components/Confetti/Confetti.d.ts +6 -9
- package/dist/components/Confetti/Confetti.d.ts.map +1 -1
- package/dist/components/Confetti/Confetti.js +8 -42
- package/dist/components/Confetti/Confetti.js.map +1 -1
- package/dist/components/Confetti/Confetti.mjs +8 -42
- package/dist/components/Confetti/Confetti.mjs.map +1 -1
- package/dist/components/Confetti/confettiColors.d.ts +25 -0
- package/dist/components/Confetti/confettiColors.d.ts.map +1 -0
- package/dist/components/Confetti/confettiColors.js +43 -0
- package/dist/components/Confetti/confettiColors.js.map +1 -0
- package/dist/components/Confetti/confettiColors.mjs +40 -0
- package/dist/components/Confetti/confettiColors.mjs.map +1 -0
- package/dist/components/CopyableCode/CopyableCode.d.ts.map +1 -1
- package/dist/components/CopyableCode/CopyableCode.js +2 -1
- package/dist/components/CopyableCode/CopyableCode.js.map +1 -1
- package/dist/components/CopyableCode/CopyableCode.mjs +2 -1
- package/dist/components/CopyableCode/CopyableCode.mjs.map +1 -1
- package/dist/components/CountBadge/CountBadge.d.ts +41 -0
- package/dist/components/CountBadge/CountBadge.d.ts.map +1 -0
- package/dist/components/CountBadge/CountBadge.js +60 -0
- package/dist/components/CountBadge/CountBadge.js.map +1 -0
- package/dist/components/CountBadge/CountBadge.mjs +58 -0
- package/dist/components/CountBadge/CountBadge.mjs.map +1 -0
- package/dist/components/CountBadge/CountBadge.styles.d.ts +13 -0
- package/dist/components/CountBadge/CountBadge.styles.d.ts.map +1 -0
- package/dist/components/CountBadge/CountBadge.styles.js +42 -0
- package/dist/components/CountBadge/CountBadge.styles.js.map +1 -0
- package/dist/components/CountBadge/CountBadge.styles.mjs +37 -0
- package/dist/components/CountBadge/CountBadge.styles.mjs.map +1 -0
- package/dist/components/CountBadge/CountBadge.types.d.ts +33 -0
- package/dist/components/CountBadge/CountBadge.types.d.ts.map +1 -0
- package/dist/components/CountBadge/index.d.ts +3 -0
- package/dist/components/CountBadge/index.d.ts.map +1 -0
- package/dist/components/DatePicker/RangeDatePicker.js +9 -7
- package/dist/components/DatePicker/RangeDatePicker.js.map +1 -1
- package/dist/components/DatePicker/RangeDatePicker.mjs +9 -7
- package/dist/components/DatePicker/RangeDatePicker.mjs.map +1 -1
- package/dist/components/DatePicker/SingleDatePicker.js +6 -4
- package/dist/components/DatePicker/SingleDatePicker.js.map +1 -1
- package/dist/components/DatePicker/SingleDatePicker.mjs +6 -4
- package/dist/components/DatePicker/SingleDatePicker.mjs.map +1 -1
- package/dist/components/ErrorFallback/ErrorFallback.d.ts.map +1 -1
- package/dist/components/ErrorFallback/ErrorFallback.js +5 -4
- package/dist/components/ErrorFallback/ErrorFallback.js.map +1 -1
- package/dist/components/ErrorFallback/ErrorFallback.mjs +5 -4
- package/dist/components/ErrorFallback/ErrorFallback.mjs.map +1 -1
- package/dist/components/ExpandableText/ExpandableText.js +1 -1
- package/dist/components/ExpandableText/ExpandableText.js.map +1 -1
- package/dist/components/ExpandableText/ExpandableText.mjs +1 -1
- package/dist/components/ExpandableText/ExpandableText.mjs.map +1 -1
- package/dist/components/FileItem/FileItem.d.ts.map +1 -1
- package/dist/components/FileItem/FileItem.js +2 -2
- package/dist/components/FileItem/FileItem.js.map +1 -1
- package/dist/components/FileItem/FileItem.mjs +2 -2
- package/dist/components/FileItem/FileItem.mjs.map +1 -1
- package/dist/components/Form/FieldError/FieldError.d.ts +1 -1
- package/dist/components/Form/FieldError/FieldError.js +2 -2
- package/dist/components/Form/FieldError/FieldError.js.map +1 -1
- package/dist/components/Form/FieldError/FieldError.mjs +2 -2
- package/dist/components/Form/FieldError/FieldError.mjs.map +1 -1
- package/dist/components/Form/FormModalFooter/FormModalFooter.d.ts.map +1 -1
- package/dist/components/Form/FormModalFooter/FormModalFooter.js +19 -1
- package/dist/components/Form/FormModalFooter/FormModalFooter.js.map +1 -1
- package/dist/components/Form/FormModalFooter/FormModalFooter.mjs +19 -1
- package/dist/components/Form/FormModalFooter/FormModalFooter.mjs.map +1 -1
- package/dist/components/Form/FormSection/CollapsibleFormSection.js +1 -0
- package/dist/components/Form/FormSection/CollapsibleFormSection.js.map +1 -1
- package/dist/components/Form/FormSection/CollapsibleFormSection.mjs +1 -0
- package/dist/components/Form/FormSection/CollapsibleFormSection.mjs.map +1 -1
- package/dist/components/FormLabel/FormLabel.js +1 -1
- package/dist/components/FormLabel/FormLabel.js.map +1 -1
- package/dist/components/FormLabel/FormLabel.mjs +1 -1
- package/dist/components/FormLabel/FormLabel.mjs.map +1 -1
- package/dist/components/Icon/_utils/createIcon.d.ts +2 -2
- package/dist/components/Icon/_utils/createIcon.js +2 -2
- package/dist/components/Icon/_utils/createIcon.mjs +2 -2
- package/dist/components/Icon/_utils/createIconGroup.d.ts +1 -1
- package/dist/components/Icon/_utils/createIconGroup.js +1 -1
- package/dist/components/Icon/_utils/createIconGroup.mjs +1 -1
- package/dist/components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/IconButton/IconButton.js +20 -10
- package/dist/components/IconButton/IconButton.js.map +1 -1
- package/dist/components/IconButton/IconButton.mjs +20 -10
- package/dist/components/IconButton/IconButton.mjs.map +1 -1
- package/dist/components/IconButton/IconButton.styles.d.ts +24 -8
- package/dist/components/IconButton/IconButton.styles.d.ts.map +1 -1
- package/dist/components/IconButton/IconButton.styles.js +77 -11
- package/dist/components/IconButton/IconButton.styles.js.map +1 -1
- package/dist/components/IconButton/IconButton.styles.mjs +77 -13
- package/dist/components/IconButton/IconButton.styles.mjs.map +1 -1
- package/dist/components/IconButton/IconButton.types.d.ts +25 -20
- package/dist/components/IconButton/IconButton.types.d.ts.map +1 -1
- package/dist/components/IconButton/index.d.ts +1 -1
- package/dist/components/IconButton/index.d.ts.map +1 -1
- package/dist/components/InlineCode/InlineCode.js +6 -6
- package/dist/components/InlineCode/InlineCode.js.map +1 -1
- package/dist/components/InlineCode/InlineCode.mjs +6 -6
- package/dist/components/InlineCode/InlineCode.mjs.map +1 -1
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/Input.js +12 -10
- package/dist/components/Input/Input.js.map +1 -1
- package/dist/components/Input/Input.mjs +12 -10
- package/dist/components/Input/Input.mjs.map +1 -1
- package/dist/components/LineGraph/LineGraph.d.ts.map +1 -1
- package/dist/components/LineGraph/LineGraph.js +28 -8
- package/dist/components/LineGraph/LineGraph.js.map +1 -1
- package/dist/components/LineGraph/LineGraph.mjs +28 -8
- package/dist/components/LineGraph/LineGraph.mjs.map +1 -1
- package/dist/components/LineGraph/seriesColors.d.ts +22 -0
- package/dist/components/LineGraph/seriesColors.d.ts.map +1 -0
- package/dist/components/LineGraph/seriesColors.js +26 -0
- package/dist/components/LineGraph/seriesColors.js.map +1 -0
- package/dist/components/LineGraph/seriesColors.mjs +23 -0
- package/dist/components/LineGraph/seriesColors.mjs.map +1 -0
- package/dist/components/Loaders/LoaderStatus.d.ts +21 -0
- package/dist/components/Loaders/LoaderStatus.d.ts.map +1 -0
- package/dist/components/Loaders/LoaderStatus.js +29 -0
- package/dist/components/Loaders/LoaderStatus.js.map +1 -0
- package/dist/components/Loaders/LoaderStatus.mjs +27 -0
- package/dist/components/Loaders/LoaderStatus.mjs.map +1 -0
- package/dist/components/Loaders/Loaders.styles.d.ts +21 -0
- package/dist/components/Loaders/Loaders.styles.d.ts.map +1 -0
- package/dist/components/Loaders/Loaders.styles.js +33 -0
- package/dist/components/Loaders/Loaders.styles.js.map +1 -0
- package/dist/components/Loaders/Loaders.styles.mjs +29 -0
- package/dist/components/Loaders/Loaders.styles.mjs.map +1 -0
- package/dist/components/Loaders/Loaders.translations.json.js +19 -0
- package/dist/components/Loaders/Loaders.translations.json.js.map +1 -0
- package/dist/components/Loaders/Loaders.translations.json.mjs +14 -0
- package/dist/components/Loaders/Loaders.translations.json.mjs.map +1 -0
- package/dist/components/Loaders/PageLoader.d.ts +10 -2
- package/dist/components/Loaders/PageLoader.d.ts.map +1 -1
- package/dist/components/Loaders/PageLoader.js +6 -3
- package/dist/components/Loaders/PageLoader.js.map +1 -1
- package/dist/components/Loaders/PageLoader.mjs +7 -4
- package/dist/components/Loaders/PageLoader.mjs.map +1 -1
- package/dist/components/Loaders/SectionLoader.d.ts +2 -4
- package/dist/components/Loaders/SectionLoader.d.ts.map +1 -1
- package/dist/components/Loaders/SectionLoader.js +5 -2
- package/dist/components/Loaders/SectionLoader.js.map +1 -1
- package/dist/components/Loaders/SectionLoader.mjs +6 -3
- package/dist/components/Loaders/SectionLoader.mjs.map +1 -1
- package/dist/components/Loaders/ThinkingDots.d.ts +10 -0
- package/dist/components/Loaders/ThinkingDots.d.ts.map +1 -0
- package/dist/components/Loaders/ThinkingDots.js +20 -0
- package/dist/components/Loaders/ThinkingDots.js.map +1 -0
- package/dist/components/Loaders/ThinkingDots.mjs +18 -0
- package/dist/components/Loaders/ThinkingDots.mjs.map +1 -0
- package/dist/components/Loaders/index.d.ts +2 -1
- package/dist/components/Loaders/index.d.ts.map +1 -1
- package/dist/components/LogicianProvider/LogicianProvider.d.ts +12 -0
- package/dist/components/LogicianProvider/LogicianProvider.d.ts.map +1 -1
- package/dist/components/LogicianProvider/LogicianProvider.js +15 -5
- package/dist/components/LogicianProvider/LogicianProvider.js.map +1 -1
- package/dist/components/LogicianProvider/LogicianProvider.mjs +16 -6
- package/dist/components/LogicianProvider/LogicianProvider.mjs.map +1 -1
- package/dist/components/Menu/MenuItem.d.ts.map +1 -1
- package/dist/components/Menu/MenuItem.js +10 -6
- package/dist/components/Menu/MenuItem.js.map +1 -1
- package/dist/components/Menu/MenuItem.mjs +10 -6
- package/dist/components/Menu/MenuItem.mjs.map +1 -1
- package/dist/components/Menu/MenuList.js +1 -1
- package/dist/components/Menu/MenuList.js.map +1 -1
- package/dist/components/Menu/MenuList.mjs +1 -1
- package/dist/components/Menu/MenuList.mjs.map +1 -1
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/Modal.js.map +1 -1
- package/dist/components/Modal/Modal.mjs +2 -2
- package/dist/components/Modal/Modal.mjs.map +1 -1
- package/dist/components/Modal/Modal.types.d.ts +12 -0
- package/dist/components/Modal/Modal.types.d.ts.map +1 -1
- package/dist/components/Modal/ModalContext.d.ts +2 -0
- package/dist/components/Modal/ModalContext.d.ts.map +1 -1
- package/dist/components/Modal/ModalContext.js +1 -0
- package/dist/components/Modal/ModalContext.js.map +1 -1
- package/dist/components/Modal/ModalContext.mjs +1 -0
- package/dist/components/Modal/ModalContext.mjs.map +1 -1
- package/dist/components/Modal/ModalHeader.d.ts +20 -1
- package/dist/components/Modal/ModalHeader.d.ts.map +1 -1
- package/dist/components/Modal/ModalHeader.js +46 -2
- package/dist/components/Modal/ModalHeader.js.map +1 -1
- package/dist/components/Modal/ModalHeader.mjs +47 -3
- package/dist/components/Modal/ModalHeader.mjs.map +1 -1
- package/dist/components/Modal/index.d.ts +2 -2
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/MonthPicker/MonthButton/MonthButton.d.ts.map +1 -1
- package/dist/components/MonthPicker/MonthButton/MonthButton.js +10 -9
- package/dist/components/MonthPicker/MonthButton/MonthButton.js.map +1 -1
- package/dist/components/MonthPicker/MonthButton/MonthButton.mjs +10 -9
- package/dist/components/MonthPicker/MonthButton/MonthButton.mjs.map +1 -1
- package/dist/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/Pagination/Pagination.js.map +1 -1
- package/dist/components/Pagination/Pagination.mjs +1 -1
- package/dist/components/Pagination/Pagination.mjs.map +1 -1
- package/dist/components/PinInput/PinInput.d.ts.map +1 -1
- package/dist/components/PinInput/PinInput.js +5 -1
- package/dist/components/PinInput/PinInput.js.map +1 -1
- package/dist/components/PinInput/PinInput.mjs +5 -1
- package/dist/components/PinInput/PinInput.mjs.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.mjs +1 -1
- package/dist/components/RadialProgress/RadialProgress.d.ts.map +1 -1
- package/dist/components/RadialProgress/RadialProgress.js +4 -7
- package/dist/components/RadialProgress/RadialProgress.js.map +1 -1
- package/dist/components/RadialProgress/RadialProgress.mjs +4 -7
- package/dist/components/RadialProgress/RadialProgress.mjs.map +1 -1
- package/dist/components/RadialProgress/RadialProgress.types.d.ts +1 -1
- package/dist/components/RadialProgress/RadialProgress.types.d.ts.map +1 -1
- package/dist/components/Radio/RadioControl.d.ts.map +1 -1
- package/dist/components/Radio/RadioControl.js +26 -5
- package/dist/components/Radio/RadioControl.js.map +1 -1
- package/dist/components/Radio/RadioControl.mjs +26 -5
- package/dist/components/Radio/RadioControl.mjs.map +1 -1
- package/dist/components/Radio/RadioGroup.js +1 -1
- package/dist/components/Radio/RadioGroup.js.map +1 -1
- package/dist/components/Radio/RadioGroup.mjs +1 -1
- package/dist/components/Radio/RadioGroup.mjs.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.d.ts.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.js +8 -3
- package/dist/components/SeeMoreButton/SeeMoreButton.js.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.mjs +8 -3
- package/dist/components/SeeMoreButton/SeeMoreButton.mjs.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.styles.d.ts +20 -10
- package/dist/components/SeeMoreButton/SeeMoreButton.styles.d.ts.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.styles.js +13 -5
- package/dist/components/SeeMoreButton/SeeMoreButton.styles.js.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.styles.mjs +13 -5
- package/dist/components/SeeMoreButton/SeeMoreButton.styles.mjs.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.types.d.ts +6 -2
- package/dist/components/SeeMoreButton/SeeMoreButton.types.d.ts.map +1 -1
- package/dist/components/Select/Select.styles.d.ts +13 -12
- package/dist/components/Select/Select.styles.d.ts.map +1 -1
- package/dist/components/Select/Select.styles.js +20 -14
- package/dist/components/Select/Select.styles.js.map +1 -1
- package/dist/components/Select/Select.styles.mjs +20 -14
- package/dist/components/Select/Select.styles.mjs.map +1 -1
- package/dist/components/Slider/SliderThumb/SliderThumb.js +1 -1
- package/dist/components/Slider/SliderThumb/SliderThumb.js.map +1 -1
- package/dist/components/Slider/SliderThumb/SliderThumb.mjs +1 -1
- package/dist/components/Slider/SliderThumb/SliderThumb.mjs.map +1 -1
- package/dist/components/Slider/SliderThumbs/SliderThumbs.js +1 -1
- package/dist/components/Slider/SliderThumbs/SliderThumbs.js.map +1 -1
- package/dist/components/Slider/SliderThumbs/SliderThumbs.mjs +1 -1
- package/dist/components/Slider/SliderThumbs/SliderThumbs.mjs.map +1 -1
- package/dist/components/Switch/SwitchControl.d.ts.map +1 -1
- package/dist/components/Switch/SwitchControl.js +8 -2
- package/dist/components/Switch/SwitchControl.js.map +1 -1
- package/dist/components/Switch/SwitchControl.mjs +8 -2
- package/dist/components/Switch/SwitchControl.mjs.map +1 -1
- package/dist/components/Table/Table.types.d.ts +1 -1
- package/dist/components/Tabs/Tab/Tab.d.ts.map +1 -1
- package/dist/components/Tabs/Tab/Tab.js +1 -1
- package/dist/components/Tabs/Tab/Tab.js.map +1 -1
- package/dist/components/Tabs/Tab/Tab.mjs +1 -1
- package/dist/components/Tabs/Tab/Tab.mjs.map +1 -1
- package/dist/components/Tabs/Tab/Tab.styles.d.ts +10 -12
- package/dist/components/Tabs/Tab/Tab.styles.d.ts.map +1 -1
- package/dist/components/Tabs/Tab/Tab.styles.js +8 -10
- package/dist/components/Tabs/Tab/Tab.styles.js.map +1 -1
- package/dist/components/Tabs/Tab/Tab.styles.mjs +8 -10
- package/dist/components/Tabs/Tab/Tab.styles.mjs.map +1 -1
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/Tag.js +41 -14
- package/dist/components/Tag/Tag.js.map +1 -1
- package/dist/components/Tag/Tag.mjs +43 -16
- package/dist/components/Tag/Tag.mjs.map +1 -1
- package/dist/components/Tag/Tag.styles.d.ts +55 -17
- package/dist/components/Tag/Tag.styles.d.ts.map +1 -1
- package/dist/components/Tag/Tag.styles.js +148 -128
- package/dist/components/Tag/Tag.styles.js.map +1 -1
- package/dist/components/Tag/Tag.styles.mjs +145 -126
- package/dist/components/Tag/Tag.styles.mjs.map +1 -1
- package/dist/components/Tag/Tag.types.d.ts +50 -29
- package/dist/components/Tag/Tag.types.d.ts.map +1 -1
- package/dist/components/Tag/TagCloseButton/TagCloseButton.d.ts +5 -0
- package/dist/components/Tag/TagCloseButton/TagCloseButton.d.ts.map +1 -1
- package/dist/components/Tag/TagCloseButton/TagCloseButton.js +7 -1
- package/dist/components/Tag/TagCloseButton/TagCloseButton.js.map +1 -1
- package/dist/components/Tag/TagCloseButton/TagCloseButton.mjs +7 -1
- package/dist/components/Tag/TagCloseButton/TagCloseButton.mjs.map +1 -1
- package/dist/components/Tag/index.d.ts +3 -2
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.js +12 -10
- package/dist/components/Textarea/Textarea.js.map +1 -1
- package/dist/components/Textarea/Textarea.mjs +12 -10
- package/dist/components/Textarea/Textarea.mjs.map +1 -1
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/Toast/Toast.mjs +1 -1
- package/dist/components/Toast/Toast.styles.d.ts +5 -3
- package/dist/components/Toast/Toast.styles.d.ts.map +1 -1
- package/dist/components/Toast/Toast.styles.js +54 -35
- package/dist/components/Toast/Toast.styles.js.map +1 -1
- package/dist/components/Toast/Toast.styles.mjs +54 -35
- package/dist/components/Toast/Toast.styles.mjs.map +1 -1
- package/dist/components/Toast/Toast.types.d.ts +8 -1
- package/dist/components/Toast/Toast.types.d.ts.map +1 -1
- package/dist/components/Toast/ToastIcon/ToastIcon.d.ts.map +1 -1
- package/dist/components/Toast/ToastIcon/ToastIcon.js +6 -4
- package/dist/components/Toast/ToastIcon/ToastIcon.js.map +1 -1
- package/dist/components/Toast/ToastIcon/ToastIcon.mjs +6 -4
- package/dist/components/Toast/ToastIcon/ToastIcon.mjs.map +1 -1
- package/dist/components/Toast/Toaster.d.ts.map +1 -1
- package/dist/components/Toast/Toaster.js +12 -1
- package/dist/components/Toast/Toaster.js.map +1 -1
- package/dist/components/Toast/Toaster.mjs +12 -1
- package/dist/components/Toast/Toaster.mjs.map +1 -1
- package/dist/components/Toast/useToast.d.ts +2 -2
- package/dist/components/Toast/useToast.d.ts.map +1 -1
- package/dist/components/Toast/useToast.js +42 -8
- package/dist/components/Toast/useToast.js.map +1 -1
- package/dist/components/Toast/useToast.mjs +43 -9
- package/dist/components/Toast/useToast.mjs.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +2 -2
- package/dist/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.mjs +2 -2
- package/dist/components/Tooltip/Tooltip.mjs.map +1 -1
- package/dist/components/Tree/TreeBranchControl.js +1 -1
- package/dist/components/Tree/TreeBranchControl.js.map +1 -1
- package/dist/components/Tree/TreeBranchControl.mjs +1 -1
- package/dist/components/Tree/TreeBranchControl.mjs.map +1 -1
- package/dist/components/Tree/TreeItem.js +1 -1
- package/dist/components/Tree/TreeItem.js.map +1 -1
- package/dist/components/Tree/TreeItem.mjs +1 -1
- package/dist/components/Tree/TreeItem.mjs.map +1 -1
- package/dist/components/Typography/Caption.js +5 -5
- package/dist/components/Typography/Caption.js.map +1 -1
- package/dist/components/Typography/Caption.mjs +5 -5
- package/dist/components/Typography/Caption.mjs.map +1 -1
- package/dist/components/Typography/Link.d.ts +10 -16
- package/dist/components/Typography/Link.d.ts.map +1 -1
- package/dist/components/Typography/Link.js +24 -29
- package/dist/components/Typography/Link.js.map +1 -1
- package/dist/components/Typography/Link.mjs +24 -29
- package/dist/components/Typography/Link.mjs.map +1 -1
- package/dist/components/Typography/Overline.js +2 -2
- package/dist/components/Typography/Overline.js.map +1 -1
- package/dist/components/Typography/Overline.mjs +2 -2
- package/dist/components/Typography/Overline.mjs.map +1 -1
- package/dist/components/Workflow/Workflow.js +1 -1
- package/dist/components/Workflow/Workflow.js.map +1 -1
- package/dist/components/Workflow/Workflow.mjs +1 -1
- package/dist/components/Workflow/Workflow.mjs.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.d.ts.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.js +7 -6
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.js.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.mjs +7 -6
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.mjs.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/Canvas.js +8 -8
- package/dist/components/Workflow/canvas/Canvas/Canvas.js.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/Canvas.mjs +8 -8
- package/dist/components/Workflow/canvas/Canvas/Canvas.mjs.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/Canvas.styles.d.ts +2 -2
- package/dist/components/Workflow/canvas/Canvas/Canvas.styles.d.ts.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/Canvas.styles.js +13 -12
- package/dist/components/Workflow/canvas/Canvas/Canvas.styles.js.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/Canvas.styles.mjs +13 -12
- package/dist/components/Workflow/canvas/Canvas/Canvas.styles.mjs.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.js +1 -1
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.js.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.mjs +1 -1
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.mjs.map +1 -1
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.js +1 -1
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.js.map +1 -1
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.mjs +1 -1
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.mjs.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.d.ts.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.js +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.js.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.mjs +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.mjs.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.js +2 -2
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.js.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.mjs +2 -2
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.mjs.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.js +5 -4
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.js.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.mjs +5 -4
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.mjs.map +1 -1
- package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.js +2 -2
- package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.js.map +1 -1
- package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.mjs +2 -2
- package/dist/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.mjs.map +1 -1
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.js.map +1 -1
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.mjs +1 -1
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.mjs.map +1 -1
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.js +1 -1
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.js.map +1 -1
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.mjs +1 -1
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.mjs.map +1 -1
- package/dist/components/Workflow/canvas/IconTile/IconTile.styles.d.ts +11 -3
- package/dist/components/Workflow/canvas/IconTile/IconTile.styles.d.ts.map +1 -1
- package/dist/components/Workflow/canvas/IconTile/IconTile.styles.js +29 -13
- package/dist/components/Workflow/canvas/IconTile/IconTile.styles.js.map +1 -1
- package/dist/components/Workflow/canvas/IconTile/IconTile.styles.mjs +29 -13
- package/dist/components/Workflow/canvas/IconTile/IconTile.styles.mjs.map +1 -1
- package/dist/components/Workflow/canvas/IssueList/IssueList.js +2 -2
- package/dist/components/Workflow/canvas/IssueList/IssueList.js.map +1 -1
- package/dist/components/Workflow/canvas/IssueList/IssueList.mjs +2 -2
- package/dist/components/Workflow/canvas/IssueList/IssueList.mjs.map +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.d.ts.map +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.js +2 -2
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.js.map +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.mjs +2 -2
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.mjs.map +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.d.ts.map +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.js +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.js.map +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.mjs +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.mjs.map +1 -1
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.d.ts.map +1 -1
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.js +42 -32
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.js.map +1 -1
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.mjs +42 -32
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.mjs.map +1 -1
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.d.ts +9 -4
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.d.ts.map +1 -1
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.js +8 -8
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.js.map +1 -1
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.mjs +7 -7
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.styles.mjs.map +1 -1
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.types.d.ts +2 -0
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.types.d.ts.map +1 -1
- package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.d.ts +5 -4
- package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.d.ts.map +1 -1
- package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.js +1 -1
- package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.js.map +1 -1
- package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.mjs +1 -1
- package/dist/components/Workflow/canvas/SeverityDot/SeverityDot.mjs.map +1 -1
- package/dist/components/Workflow/canvas/colorVar.d.ts +20 -0
- package/dist/components/Workflow/canvas/colorVar.d.ts.map +1 -0
- package/dist/components/Workflow/canvas/colorVar.js +32 -0
- package/dist/components/Workflow/canvas/colorVar.js.map +1 -0
- package/dist/components/Workflow/canvas/colorVar.mjs +29 -0
- package/dist/components/Workflow/canvas/colorVar.mjs.map +1 -0
- package/dist/components/Workflow/canvas/issueSeverity.d.ts +6 -4
- package/dist/components/Workflow/canvas/issueSeverity.d.ts.map +1 -1
- package/dist/components/Workflow/canvas/issueSeverity.js +6 -4
- package/dist/components/Workflow/canvas/issueSeverity.js.map +1 -1
- package/dist/components/Workflow/canvas/issueSeverity.mjs +6 -4
- package/dist/components/Workflow/canvas/issueSeverity.mjs.map +1 -1
- package/dist/components/Workflow/canvas/workflowLabelProps.d.ts +1 -1
- package/dist/components/Workflow/canvas/workflowLabelProps.js +1 -1
- package/dist/components/Workflow/canvas/workflowLabelProps.mjs +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -8
- package/dist/index.mjs.map +1 -1
- package/dist/theme/colors.d.ts +43 -1139
- package/dist/theme/colors.d.ts.map +1 -1
- package/dist/theme/colors.js +336 -760
- package/dist/theme/colors.js.map +1 -1
- package/dist/theme/colors.mjs +334 -761
- package/dist/theme/colors.mjs.map +1 -1
- package/dist/theme/deprecatedColorTokens.json.js +69 -0
- package/dist/theme/deprecatedColorTokens.json.js.map +1 -0
- package/dist/theme/deprecatedColorTokens.json.mjs +64 -0
- package/dist/theme/deprecatedColorTokens.json.mjs.map +1 -0
- package/dist/theme/global.d.ts +3 -2
- package/dist/theme/global.d.ts.map +1 -1
- package/dist/theme/global.js +12 -18
- package/dist/theme/global.js.map +1 -1
- package/dist/theme/global.mjs +12 -18
- package/dist/theme/global.mjs.map +1 -1
- package/dist/theme/index.d.ts +34 -1
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.js +143 -81
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/index.mjs +144 -84
- package/dist/theme/index.mjs.map +1 -1
- package/dist/theme/palette.generated.d.ts +887 -0
- package/dist/theme/palette.generated.d.ts.map +1 -0
- package/dist/theme/palette.generated.js +898 -0
- package/dist/theme/palette.generated.js.map +1 -0
- package/dist/theme/palette.generated.mjs +893 -0
- package/dist/theme/palette.generated.mjs.map +1 -0
- package/dist/theme/paletteSwatches.d.ts +22 -0
- package/dist/theme/paletteSwatches.d.ts.map +1 -0
- package/dist/theme/recipes/table.js +2 -2
- package/dist/theme/recipes/table.js.map +1 -1
- package/dist/theme/recipes/table.mjs +2 -2
- package/dist/theme/recipes/table.mjs.map +1 -1
- package/dist/utils/disabledControl.d.ts +27 -0
- package/dist/utils/disabledControl.d.ts.map +1 -0
- package/dist/utils/disabledControl.js +33 -0
- package/dist/utils/disabledControl.js.map +1 -0
- package/dist/utils/disabledControl.mjs +30 -0
- package/dist/utils/disabledControl.mjs.map +1 -0
- package/dist/utils/focusRing.d.ts +7 -1
- package/dist/utils/focusRing.d.ts.map +1 -1
- package/dist/utils/focusRing.js +8 -1
- package/dist/utils/focusRing.js.map +1 -1
- package/dist/utils/focusRing.mjs +8 -2
- package/dist/utils/focusRing.mjs.map +1 -1
- package/dist/utils/isDev.d.ts +22 -0
- package/dist/utils/isDev.d.ts.map +1 -0
- package/dist/utils/isDev.js +34 -0
- package/dist/utils/isDev.js.map +1 -0
- package/dist/utils/isDev.mjs +32 -0
- package/dist/utils/isDev.mjs.map +1 -0
- package/eslint/index.js +28 -0
- package/eslint/rules/no-deprecated-tokens.js +128 -0
- package/eslint/rules/no-deprecated-tokens.test.ts +130 -0
- package/package.json +16 -7
- package/src/components/Accordion/Accordion.stories.tsx +20 -12
- package/src/components/Appear/Appear.stories.tsx +6 -13
- package/src/components/Avatar/Avatar.hue.test.ts +67 -0
- package/src/components/Avatar/Avatar.stories.tsx +79 -23
- package/src/components/Avatar/Avatar.tsx +56 -2
- package/src/components/Avatar/index.tsx +1 -1
- package/src/components/Badge/Badge.stories.tsx +24 -50
- package/src/components/Badge/Badge.styles.ts +56 -50
- package/src/components/Badge/Badge.tsx +11 -7
- package/src/components/Badge/Badge.types.ts +18 -14
- package/src/components/Badge/index.ts +7 -1
- package/src/components/Banner/Banner.stories.tsx +10 -3
- package/src/components/Banner/Banner.styles.ts +43 -27
- package/src/components/Banner/Banner.types.ts +1 -1
- package/src/components/BottomSheet/BottomSheet.stories.tsx +3 -4
- package/src/components/BottomSheet/BottomSheetCloseButton.tsx +0 -1
- package/src/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.tsx +1 -1
- package/src/components/Button/Button.legacy.ts +181 -0
- package/src/components/Button/Button.lift.test.tsx +6 -14
- package/src/components/Button/Button.press.test.tsx +20 -15
- package/src/components/Button/Button.stories.tsx +140 -346
- package/src/components/Button/Button.styles.ts +158 -392
- package/src/components/Button/Button.tsx +49 -17
- package/src/components/Button/Button.types.ts +53 -37
- package/src/components/Button/Button.variants.test.tsx +158 -0
- package/src/components/Button/index.tsx +2 -0
- package/src/components/Card/Card.styles.ts +6 -13
- package/src/components/Card/Card.tsx +1 -6
- package/src/components/Card/Card.types.ts +1 -5
- package/src/components/Checkbox/CheckboxControl.tsx +17 -10
- package/src/components/Chip/Chip.stories.tsx +17 -230
- package/src/components/Chip/Chip.tsx +40 -24
- package/src/components/Chip/Chip.types.ts +38 -26
- package/src/components/Chip/index.ts +0 -6
- package/src/components/Code/Code.tsx +2 -3
- package/src/components/CodeTabs/CodeTabs.contrast.test.tsx +109 -0
- package/src/components/CodeTabs/CodeTabs.styles.ts +26 -0
- package/src/components/CodeTabs/CodeTabs.tsx +16 -4
- package/src/components/CodeTabs/CopyButton.tsx +6 -4
- package/src/components/Confetti/Confetti.stories.tsx +1 -1
- package/src/components/Confetti/Confetti.tsx +8 -43
- package/src/components/Confetti/confettiColors.test.ts +47 -0
- package/src/components/Confetti/confettiColors.ts +41 -0
- package/src/components/Container/Container.stories.tsx +1 -1
- package/src/components/CopyableCode/CopyableCode.tsx +1 -2
- package/src/components/CountBadge/CountBadge.stories.tsx +109 -0
- package/src/components/CountBadge/CountBadge.styles.ts +40 -0
- package/src/components/CountBadge/CountBadge.test.tsx +57 -0
- package/src/components/CountBadge/CountBadge.tsx +112 -0
- package/src/components/CountBadge/CountBadge.types.ts +34 -0
- package/src/components/CountBadge/index.ts +2 -0
- package/src/components/DatePicker/RangeDatePicker.tsx +8 -8
- package/src/components/DatePicker/SingleDatePicker.tsx +5 -5
- package/src/components/ErrorFallback/ErrorFallback.lift.test.tsx +45 -0
- package/src/components/ErrorFallback/ErrorFallback.tsx +16 -31
- package/src/components/ExpandableText/ExpandableText.tsx +1 -1
- package/src/components/FileItem/FileItem.tsx +1 -4
- package/src/components/FlyTo/FlyTo.stories.tsx +6 -1
- package/src/components/Form/FieldError/FieldError.tsx +2 -2
- package/src/components/Form/FormFooter/FormFooter.stories.tsx +4 -4
- package/src/components/Form/FormModalFooter/FormModalFooter.tsx +5 -6
- package/src/components/Form/FormSection/FormSection.stories.tsx +1 -1
- package/src/components/FormIntegration/FormIntegration.stories.tsx +4 -4
- package/src/components/FormLabel/FormLabel.tsx +1 -1
- package/src/components/Icon/ICON_MANAGEMENT.md +7 -7
- package/src/components/Icon/Icon.stories.tsx +220 -116
- package/src/components/Icon/_utils/createIcon.tsx +2 -2
- package/src/components/Icon/_utils/createIconGroup.tsx +1 -1
- package/src/components/IconButton/IconButton.stories.tsx +63 -216
- package/src/components/IconButton/IconButton.styles.ts +104 -27
- package/src/components/IconButton/IconButton.tsx +39 -12
- package/src/components/IconButton/IconButton.types.ts +30 -20
- package/src/components/IconButton/index.tsx +1 -0
- package/src/components/InlineCode/InlineCode.tsx +6 -6
- package/src/components/Input/Input.stories.tsx +10 -10
- package/src/components/Input/Input.tsx +12 -10
- package/src/components/LineGraph/LineGraph.tsx +24 -6
- package/src/components/LineGraph/seriesColors.test.ts +40 -0
- package/src/components/LineGraph/seriesColors.ts +42 -0
- package/src/components/Loaders/LoaderStatus.tsx +25 -0
- package/src/components/Loaders/Loaders.styles.ts +28 -0
- package/src/components/Loaders/Loaders.test.tsx +63 -0
- package/src/components/Loaders/Loaders.translations.json +9 -0
- package/src/components/Loaders/PageLoader.stories.tsx +15 -1
- package/src/components/Loaders/PageLoader.tsx +28 -4
- package/src/components/Loaders/SectionLoader.stories.tsx +10 -3
- package/src/components/Loaders/SectionLoader.tsx +16 -3
- package/src/components/Loaders/ThinkingDots.tsx +27 -0
- package/src/components/Loaders/index.ts +2 -1
- package/src/components/LogicianProvider/LogicianProvider.stories.tsx +28 -43
- package/src/components/LogicianProvider/LogicianProvider.tsx +35 -5
- package/src/components/Masonry/Masonry.stories.tsx +17 -5
- package/src/components/Menu/Menu.stories.tsx +58 -20
- package/src/components/Menu/MenuItem.highlight.test.tsx +72 -0
- package/src/components/Menu/MenuItem.tsx +9 -6
- package/src/components/Menu/MenuList.tsx +1 -1
- package/src/components/Modal/Modal.stories.tsx +76 -25
- package/src/components/Modal/Modal.tsx +5 -1
- package/src/components/Modal/Modal.types.ts +13 -0
- package/src/components/Modal/ModalContext.ts +4 -0
- package/src/components/Modal/ModalHeader.a11y.test.tsx +51 -0
- package/src/components/Modal/ModalHeader.tsx +73 -3
- package/src/components/Modal/index.tsx +2 -2
- package/src/components/MonthPicker/MonthButton/MonthButton.tsx +9 -14
- package/src/components/MonthPicker/MonthPicker.stories.tsx +13 -9
- package/src/components/Pagination/Pagination.stories.tsx +5 -6
- package/src/components/Pagination/Pagination.tsx +0 -2
- package/src/components/PinInput/PinInput.tsx +9 -5
- package/src/components/Popover/Popover.stories.tsx +5 -5
- package/src/components/ProgressBar/ProgressBar.tsx +1 -1
- package/src/components/Pulse/Pulse.stories.tsx +1 -1
- package/src/components/RadialProgress/RadialProgress.tsx +4 -7
- package/src/components/RadialProgress/RadialProgress.types.ts +1 -1
- package/src/components/Radio/Radio.stories.tsx +1 -1
- package/src/components/Radio/RadioControl.indicator.test.tsx +72 -0
- package/src/components/Radio/RadioControl.tsx +34 -6
- package/src/components/Radio/RadioGroup.tsx +1 -1
- package/src/components/Reveal/Reveal.stories.tsx +5 -1
- package/src/components/ScaledContext/ScaledContext.stories.tsx +21 -14
- package/src/components/SeeMoreButton/SeeMoreButton.border.test.tsx +51 -0
- package/src/components/SeeMoreButton/SeeMoreButton.stories.tsx +8 -0
- package/src/components/SeeMoreButton/SeeMoreButton.styles.ts +14 -6
- package/src/components/SeeMoreButton/SeeMoreButton.tsx +11 -2
- package/src/components/SeeMoreButton/SeeMoreButton.types.ts +9 -2
- package/src/components/SegmentedProgressBar/SegmentedProgressBar.stories.tsx +48 -31
- package/src/components/Select/Combobox.stories.tsx +1 -1
- package/src/components/Select/Comparison.stories.tsx +1 -1
- package/src/components/Select/Select.stories.tsx +22 -22
- package/src/components/Select/Select.styles.ts +20 -14
- package/src/components/Shake/Shake.stories.tsx +10 -12
- package/src/components/Slider/Slider.stories.tsx +43 -9
- package/src/components/Slider/SliderThumb/SliderThumb.tsx +1 -1
- package/src/components/Slider/SliderThumbs/SliderThumbs.tsx +1 -1
- package/src/components/SwapTransition/SwapTransition.stories.tsx +3 -4
- package/src/components/Switch/SwitchControl.tsx +8 -0
- package/src/components/Table/Table.stories.tsx +36 -20
- package/src/components/Table/Table.types.ts +1 -1
- package/src/components/Tabs/Tab/Tab.styles.ts +8 -10
- package/src/components/Tabs/Tab/Tab.tsx +1 -0
- package/src/components/Tabs/Tabs.stories.tsx +38 -26
- package/src/components/Tag/Tag.legacy.test.tsx +179 -0
- package/src/components/Tag/Tag.stories.tsx +107 -148
- package/src/components/Tag/Tag.styles.ts +186 -135
- package/src/components/Tag/Tag.test.tsx +115 -0
- package/src/components/Tag/Tag.tsx +103 -21
- package/src/components/Tag/Tag.types.ts +52 -29
- package/src/components/Tag/TagCloseButton/TagCloseButton.tsx +19 -1
- package/src/components/Tag/index.ts +5 -3
- package/src/components/Textarea/Textarea.stories.tsx +6 -1
- package/src/components/Textarea/Textarea.tsx +13 -11
- package/src/components/Toast/Toast.action.test.tsx +13 -0
- package/src/components/Toast/Toast.stories.tsx +17 -7
- package/src/components/Toast/Toast.styles.ts +54 -35
- package/src/components/Toast/Toast.tsx +1 -1
- package/src/components/Toast/Toast.types.ts +9 -1
- package/src/components/Toast/Toast.update.test.tsx +124 -0
- package/src/components/Toast/ToastIcon/ToastIcon.tsx +6 -4
- package/src/components/Toast/Toaster.tsx +14 -2
- package/src/components/Toast/useToast.tsx +54 -14
- package/src/components/Tooltip/Tooltip.stories.tsx +12 -12
- package/src/components/Tooltip/Tooltip.tsx +2 -2
- package/src/components/Tree/Tree.GuideElbow.stories.tsx +2 -2
- package/src/components/Tree/TreeBranchControl.tsx +1 -1
- package/src/components/Tree/TreeBranchIndentGuide.test.tsx +2 -2
- package/src/components/Tree/TreeItem.tsx +1 -1
- package/src/components/Typography/Caption.tsx +5 -5
- package/src/components/Typography/Link.tsx +27 -29
- package/src/components/Typography/Overline.tsx +2 -2
- package/src/components/Workflow/README.md +58 -52
- package/src/components/Workflow/Workflow.translations.json +1 -1
- package/src/components/Workflow/Workflow.tsx +1 -1
- package/src/components/Workflow/canvas/Canvas/BranchLabelBadge.tsx +7 -6
- package/src/components/Workflow/canvas/Canvas/Canvas.styles.ts +14 -12
- package/src/components/Workflow/canvas/Canvas/Canvas.tsx +9 -9
- package/src/components/Workflow/canvas/Canvas/LabeledEdge.tsx +2 -2
- package/src/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.tsx +4 -4
- package/src/components/Workflow/canvas/DrawerShell/DrawerHeader.tsx +2 -4
- package/src/components/Workflow/canvas/DrawerShell/DrawerIssues.tsx +2 -2
- package/src/components/Workflow/canvas/DrawerShell/DrawerShell.tsx +6 -6
- package/src/components/Workflow/canvas/EdgeInspector/BuiltInEdgeInspector.tsx +4 -4
- package/src/components/Workflow/canvas/FieldWrapper/FieldWrapper.tsx +2 -2
- package/src/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.tsx +12 -12
- package/src/components/Workflow/canvas/IconTile/IconTile.styles.ts +29 -13
- package/src/components/Workflow/canvas/IssueList/IssueList.tsx +3 -3
- package/src/components/Workflow/canvas/NodePalette/NodePalette.tsx +6 -7
- package/src/components/Workflow/canvas/NodePalette/NodePaletteToggle.tsx +1 -2
- package/src/components/Workflow/canvas/NodeShell/NodeShell.styles.ts +6 -8
- package/src/components/Workflow/canvas/NodeShell/NodeShell.test.tsx +79 -0
- package/src/components/Workflow/canvas/NodeShell/NodeShell.tsx +46 -37
- package/src/components/Workflow/canvas/NodeShell/NodeShell.types.ts +2 -0
- package/src/components/Workflow/canvas/SeverityDot/SeverityDot.tsx +6 -5
- package/src/components/Workflow/canvas/canvasStroke.test.ts +84 -0
- package/src/components/Workflow/canvas/colorVar.ts +26 -0
- package/src/components/Workflow/canvas/issueSeverity.ts +7 -5
- package/src/components/Workflow/canvas/workflowLabelProps.ts +1 -1
- package/src/components/Workflow/stories/Workflow.stories.tsx +4 -5
- package/src/components/a11y.kwcag.test.tsx +64 -83
- package/src/components/claude.md +40 -58
- package/src/components/noRawScales.test.ts +152 -0
- package/src/components/noSandBackground.test.ts +282 -0
- package/src/index.ts +18 -1
- package/src/stories/SizeComparison.stories.tsx +1 -1
- package/src/theme/BazePalette.stories.tsx +202 -0
- package/src/theme/Borders.stories.tsx +9 -9
- package/src/theme/Motion.stories.tsx +19 -19
- package/src/theme/MotionCases.stories.tsx +1 -1
- package/src/theme/Palette.stories.tsx +101 -515
- package/src/theme/SemanticTokens.mdx +61 -242
- package/src/theme/Surfaces.stories.tsx +3 -3
- package/src/theme/chakraTokens.test.ts +115 -0
- package/src/theme/claude.md +111 -502
- package/src/theme/colors.ts +403 -822
- package/src/theme/contrast.test.ts +344 -0
- package/src/theme/cssVarNames.test.ts +36 -0
- package/src/theme/deprecatedColorTokens.json +95 -0
- package/src/theme/global.ts +12 -19
- package/src/theme/index.ts +154 -82
- package/src/theme/palette.generated.ts +893 -0
- package/src/theme/paletteSwatches.test.ts +42 -0
- package/src/theme/paletteSwatches.ts +80 -0
- package/src/theme/recipes/table.ts +2 -2
- package/src/utils/disabledControl.ts +27 -0
- package/src/utils/focusRing.ts +9 -2
- package/src/utils/isDev.test.ts +41 -0
- package/src/utils/isDev.ts +27 -0
- package/dist/components/Chip/Chip.styles.d.ts +0 -20
- package/dist/components/Chip/Chip.styles.d.ts.map +0 -1
- package/dist/components/Chip/Chip.styles.js +0 -143
- package/dist/components/Chip/Chip.styles.js.map +0 -1
- package/dist/components/Chip/Chip.styles.mjs +0 -137
- package/dist/components/Chip/Chip.styles.mjs.map +0 -1
- package/src/components/Chip/Chip.styles.ts +0 -147
package/dist/theme/colors.d.ts
CHANGED
|
@@ -1,1151 +1,55 @@
|
|
|
1
|
+
/** Raw scale that fills `neutral.1–12` and every neutral role. */
|
|
2
|
+
export type NeutralScale = 'ink' | 'slate';
|
|
3
|
+
/** Raw scale that fills `secondary.1–12` and the secondary roles. */
|
|
4
|
+
export type SecondaryScale = 'sand';
|
|
5
|
+
export interface LogicianColorOptions {
|
|
6
|
+
/** @default 'ink' (BAZE warm black). `'slate'` is the cool 4.x temperature. */
|
|
7
|
+
neutral?: NeutralScale;
|
|
8
|
+
/** @default 'sand' (BAZE beige-brown). */
|
|
9
|
+
secondary?: SecondaryScale;
|
|
10
|
+
}
|
|
11
|
+
export declare const SYSTEM_HUE_NAMES: readonly ["red", "orange", "yellow", "green", "mint", "teal", "cyan", "blue", "indigo", "purple", "pink", "brown"];
|
|
12
|
+
export type SystemHue = (typeof SYSTEM_HUE_NAMES)[number];
|
|
13
|
+
declare const STEPS: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
|
14
|
+
type Step = (typeof STEPS)[number];
|
|
15
|
+
type TokenValue = {
|
|
16
|
+
value: string;
|
|
17
|
+
};
|
|
18
|
+
type TokenTree = {
|
|
19
|
+
[key: string]: TokenValue | TokenTree;
|
|
20
|
+
};
|
|
1
21
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* A mathematically harmonious color palette designed using the golden ratio (φ ≈ 1.618)
|
|
5
|
-
* to create visually balanced color relationships. Each color scale follows a consistent
|
|
6
|
-
* lightness progression from 50 (lightest) to 900 (darkest).
|
|
7
|
-
*
|
|
8
|
-
* ## Palette Structure
|
|
9
|
-
*
|
|
10
|
-
* ### Primitive Colors
|
|
11
|
-
* - `blue`: Primary brand color - trustworthy, professional
|
|
12
|
-
* - `rose`: Danger/error states - attention, urgency
|
|
13
|
-
* - `green`: Success states - growth, confirmation
|
|
14
|
-
* - `violet`: Secondary/accent - creative, distinctive
|
|
15
|
-
* - `gold`: Warning states - caution, attention
|
|
16
|
-
* - `gray`: Neutral tones with cool blue undertone (slate-based)
|
|
17
|
-
*
|
|
18
|
-
* ### Semantic Tokens
|
|
19
|
-
* Map primitive colors to meaningful UI states:
|
|
20
|
-
* - `primary`: Main brand interactions (blue-based)
|
|
21
|
-
* - `secondary`: Supporting accent (violet-based)
|
|
22
|
-
* - `success`: Positive feedback (green-based)
|
|
23
|
-
* - `warning`: Cautionary feedback (gold-based)
|
|
24
|
-
* - `danger`: Error/destructive feedback (rose-based)
|
|
25
|
-
*
|
|
26
|
-
* ## Design Principles
|
|
27
|
-
*
|
|
28
|
-
* 1. **Accessibility First**: All semantic color combinations meet WCAG 2.1 AA standards
|
|
29
|
-
* 2. **Cool Gray Foundation**: Slate-based grays with blue undertone for modern feel
|
|
30
|
-
* 3. **Consistent Scale**: Each color has 25/50/100/200/300/500/600/700/800/900 steps
|
|
31
|
-
* 4. **Light Mode Optimized**: Designed for light mode with semantic token flexibility
|
|
32
|
-
*
|
|
33
|
-
* @see https://www.w3.org/TR/WCAG21/#contrast-minimum
|
|
34
|
-
* @version 3.0.0
|
|
22
|
+
* Raw palette. Components never read these; the semantic layer below does.
|
|
23
|
+
* Override a raw step (e.g. `ink.11`) to retint everything built on it.
|
|
35
24
|
*/
|
|
25
|
+
export declare const colors: Record<string, Record<string, TokenValue> | TokenValue>;
|
|
26
|
+
/** Exposed for tests and docs: every role token generated from the scheme table. */
|
|
27
|
+
export declare const ROLE_TOKEN_PATHS: Record<"track" | "bg-canvas" | "layer-1" | "layer-1-hover" | "layer-1-active" | "layer-2" | "layer-2-hover" | "layer-2-active" | "layer-3" | "layer-3-hover" | "layer-3-active" | "bg-subtle" | "bg-surface" | "bg-muted" | "border-subtle" | "border-default" | "border-strong" | "fg-default" | "fg-muted" | "fg-subtle" | "fg-icon" | "fg-placeholder" | "fg-onPrimary" | "primary-main" | "primary-hover" | "primary-active" | "primary-wash" | "primary-washActive" | "primary-selected" | "secondary-surface" | "secondary-surfaceStrong" | "secondary-border" | "secondary-fg" | "secondary-fgStrong" | "action-mark" | "action-iconOnSolid" | "action-bg" | "action-bgHover" | "action-bgActive" | "action-fg" | "action-border" | "send-bg" | "send-bgHover" | "send-bgActive" | "send-fg" | "count-bg" | "count-fg" | "disabled-bg" | "disabled-fg" | "fg-link" | "fg-linkHover" | "focus" | "danger-bg" | "danger-border" | "danger-fg" | "danger-solid" | "danger-solidHover" | "danger-solidActive" | "danger-onSolid" | "success-bg" | "success-border" | "success-fg" | "success-solid" | "success-onSolid" | "warning-bg" | "warning-border" | "warning-fg" | "warning-solid" | "warning-onSolid" | "info-bg" | "info-border" | "info-fg" | "info-solid" | "info-onSolid" | "tooltip-bg" | "tooltip-fg" | "border-control", string>;
|
|
36
28
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* Use these tokens in components instead of raw color values:
|
|
40
|
-
* - `primary.*`: Buttons, links, focus states
|
|
41
|
-
* - `secondary.*`: Accent elements, highlights
|
|
42
|
-
* - `success.*`: Success messages, confirmations
|
|
43
|
-
* - `warning.*`: Warning messages, caution states
|
|
44
|
-
* - `danger.*`: Error messages, destructive actions
|
|
45
|
-
*
|
|
46
|
-
* Each category includes:
|
|
47
|
-
* - `lightest`: Lightest backgrounds (ghost states, very subtle fills)
|
|
48
|
-
* - `extralight`: Extra-light backgrounds (badges, subtle fills)
|
|
49
|
-
* - `lighter`: Light backgrounds (toast backgrounds, subtle fills)
|
|
50
|
-
* - `light`: Medium backgrounds (hover states, medium fills)
|
|
51
|
-
* - `main`: Primary color (buttons, text, icons)
|
|
52
|
-
* - `dark`: Dark variant (text on light backgrounds)
|
|
53
|
-
* - `darker`: Darkest variant (high-contrast text)
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```tsx
|
|
57
|
-
* <Button bgColor="primary.main" />
|
|
58
|
-
* <Alert bgColor="danger.lighter" color="danger.dark" />
|
|
59
|
-
* <Badge bgColor="success.lightest" color="success.dark" />
|
|
60
|
-
* ```
|
|
29
|
+
* Build the semantic colour tokens for one neutral/secondary choice.
|
|
30
|
+
* `createLogicianTheme` calls this; the default export below is BAZE.
|
|
61
31
|
*/
|
|
32
|
+
export declare function createSemanticColors({ neutral, secondary, }?: LogicianColorOptions): TokenTree;
|
|
33
|
+
/** BAZE semantic tokens (ink + sand). */
|
|
62
34
|
export declare const semanticTokens: {
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Primary colors (Blue-based)
|
|
66
|
-
* Use for: Primary buttons, links, focus rings, brand elements
|
|
67
|
-
*
|
|
68
|
-
* Light contrast ratios (on white):
|
|
69
|
-
* - main (#1751D0): 5.9:1 ✓ AA
|
|
70
|
-
* - dark (#0D317D): 9.4:1 ✓ AAA
|
|
71
|
-
*
|
|
72
|
-
* `_dark` lightens brand steps ~2 stops so interactive/text tokens keep
|
|
73
|
-
* AA contrast on dark surfaces (bg.canvas → gray.1500). Background tints
|
|
74
|
-
* (lightest/extralight/lighter/light) map to the deep end of the scale so
|
|
75
|
-
* brand-tinted fills read as subtle on dark, not as glare.
|
|
76
|
-
*/
|
|
77
|
-
readonly primary: {
|
|
78
|
-
readonly lightest: {
|
|
79
|
-
readonly value: {
|
|
80
|
-
readonly base: "{colors.blue.25}";
|
|
81
|
-
readonly _dark: "{colors.blue.900}";
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
readonly extralight: {
|
|
85
|
-
readonly value: {
|
|
86
|
-
readonly base: "{colors.blue.50}";
|
|
87
|
-
readonly _dark: "{colors.blue.800}";
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
readonly lighter: {
|
|
91
|
-
readonly value: {
|
|
92
|
-
readonly base: "{colors.blue.100}";
|
|
93
|
-
readonly _dark: "{colors.blue.700}";
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
readonly light: {
|
|
97
|
-
readonly value: {
|
|
98
|
-
readonly base: "{colors.blue.200}";
|
|
99
|
-
readonly _dark: "{colors.blue.600}";
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
readonly main: {
|
|
103
|
-
readonly value: {
|
|
104
|
-
readonly base: "{colors.blue.500}";
|
|
105
|
-
readonly _dark: "{colors.blue.300}";
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
readonly dark: {
|
|
109
|
-
readonly value: {
|
|
110
|
-
readonly base: "{colors.blue.700}";
|
|
111
|
-
readonly _dark: "{colors.blue.200}";
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
readonly darker: {
|
|
115
|
-
readonly value: {
|
|
116
|
-
readonly base: "{colors.blue.900}";
|
|
117
|
-
readonly _dark: "{colors.blue.100}";
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
readonly fill: {
|
|
121
|
-
readonly value: {
|
|
122
|
-
readonly base: "{colors.blue.500}";
|
|
123
|
-
readonly _dark: "{colors.blue.700}";
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
readonly fillStrong: {
|
|
127
|
-
readonly value: {
|
|
128
|
-
readonly base: "{colors.blue.700}";
|
|
129
|
-
readonly _dark: "{colors.blue.800}";
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
/**
|
|
134
|
-
* Secondary colors (Violet-based)
|
|
135
|
-
* Use for: Accent elements, highlights, tags
|
|
136
|
-
*
|
|
137
|
-
* Light contrast ratios (on white):
|
|
138
|
-
* - main (#9117D0): 5.1:1 ✓ AA
|
|
139
|
-
* - dark (#570D7D): 9.2:1 ✓ AAA
|
|
140
|
-
*/
|
|
141
|
-
readonly secondary: {
|
|
142
|
-
readonly lightest: {
|
|
143
|
-
readonly value: {
|
|
144
|
-
readonly base: "{colors.violet.25}";
|
|
145
|
-
readonly _dark: "{colors.violet.900}";
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
readonly extralight: {
|
|
149
|
-
readonly value: {
|
|
150
|
-
readonly base: "{colors.violet.50}";
|
|
151
|
-
readonly _dark: "{colors.violet.800}";
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
readonly lighter: {
|
|
155
|
-
readonly value: {
|
|
156
|
-
readonly base: "{colors.violet.100}";
|
|
157
|
-
readonly _dark: "{colors.violet.700}";
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
readonly light: {
|
|
161
|
-
readonly value: {
|
|
162
|
-
readonly base: "{colors.violet.200}";
|
|
163
|
-
readonly _dark: "{colors.violet.600}";
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
readonly main: {
|
|
167
|
-
readonly value: {
|
|
168
|
-
readonly base: "{colors.violet.500}";
|
|
169
|
-
readonly _dark: "{colors.violet.200}";
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
readonly dark: {
|
|
173
|
-
readonly value: {
|
|
174
|
-
readonly base: "{colors.violet.700}";
|
|
175
|
-
readonly _dark: "{colors.violet.200}";
|
|
176
|
-
};
|
|
177
|
-
};
|
|
178
|
-
readonly darker: {
|
|
179
|
-
readonly value: {
|
|
180
|
-
readonly base: "{colors.violet.900}";
|
|
181
|
-
readonly _dark: "{colors.violet.100}";
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
/**
|
|
186
|
-
* Danger colors (Rose-based)
|
|
187
|
-
* Use for: Error states, destructive actions, validation errors
|
|
188
|
-
*
|
|
189
|
-
* Light contrast ratios (on white):
|
|
190
|
-
* - main (#C1232C): 5.9:1 ✓ AA
|
|
191
|
-
* - dark (#7D0D14): 9.6:1 ✓ AAA
|
|
192
|
-
*/
|
|
193
|
-
readonly danger: {
|
|
194
|
-
readonly lightest: {
|
|
195
|
-
readonly value: {
|
|
196
|
-
readonly base: "{colors.rose.25}";
|
|
197
|
-
readonly _dark: "{colors.rose.900}";
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
readonly extralight: {
|
|
201
|
-
readonly value: {
|
|
202
|
-
readonly base: "{colors.rose.50}";
|
|
203
|
-
readonly _dark: "{colors.rose.800}";
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
readonly lighter: {
|
|
207
|
-
readonly value: {
|
|
208
|
-
readonly base: "{colors.rose.100}";
|
|
209
|
-
readonly _dark: "{colors.rose.700}";
|
|
210
|
-
};
|
|
211
|
-
};
|
|
212
|
-
readonly light: {
|
|
213
|
-
readonly value: {
|
|
214
|
-
readonly base: "{colors.rose.200}";
|
|
215
|
-
readonly _dark: "{colors.rose.600}";
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
readonly main: {
|
|
219
|
-
readonly value: {
|
|
220
|
-
readonly base: "{colors.rose.500}";
|
|
221
|
-
readonly _dark: "{colors.rose.300}";
|
|
222
|
-
};
|
|
223
|
-
};
|
|
224
|
-
readonly dark: {
|
|
225
|
-
readonly value: {
|
|
226
|
-
readonly base: "{colors.rose.700}";
|
|
227
|
-
readonly _dark: "{colors.rose.200}";
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
|
-
readonly darker: {
|
|
231
|
-
readonly value: {
|
|
232
|
-
readonly base: "{colors.rose.900}";
|
|
233
|
-
readonly _dark: "{colors.rose.100}";
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
/**
|
|
238
|
-
* Success colors (Green-based)
|
|
239
|
-
* Use for: Success messages, confirmations, positive feedback
|
|
240
|
-
*
|
|
241
|
-
* Light contrast ratios (on white):
|
|
242
|
-
* - main (#1AA612): 4.5:1 ✓ AA (large text)
|
|
243
|
-
* - dark (#147D0D): 6.1:1 ✓ AA
|
|
244
|
-
*/
|
|
245
|
-
readonly success: {
|
|
246
|
-
readonly lightest: {
|
|
247
|
-
readonly value: {
|
|
248
|
-
readonly base: "{colors.green.25}";
|
|
249
|
-
readonly _dark: "{colors.green.900}";
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
readonly extralight: {
|
|
253
|
-
readonly value: {
|
|
254
|
-
readonly base: "{colors.green.50}";
|
|
255
|
-
readonly _dark: "{colors.green.800}";
|
|
256
|
-
};
|
|
257
|
-
};
|
|
258
|
-
readonly lighter: {
|
|
259
|
-
readonly value: {
|
|
260
|
-
readonly base: "{colors.green.100}";
|
|
261
|
-
readonly _dark: "{colors.green.700}";
|
|
262
|
-
};
|
|
263
|
-
};
|
|
264
|
-
readonly light: {
|
|
265
|
-
readonly value: {
|
|
266
|
-
readonly base: "{colors.green.200}";
|
|
267
|
-
readonly _dark: "{colors.green.600}";
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
|
-
readonly main: {
|
|
271
|
-
readonly value: {
|
|
272
|
-
readonly base: "{colors.green.600}";
|
|
273
|
-
readonly _dark: "{colors.green.300}";
|
|
274
|
-
};
|
|
275
|
-
};
|
|
276
|
-
readonly dark: {
|
|
277
|
-
readonly value: {
|
|
278
|
-
readonly base: "{colors.green.700}";
|
|
279
|
-
readonly _dark: "{colors.green.200}";
|
|
280
|
-
};
|
|
281
|
-
};
|
|
282
|
-
readonly darker: {
|
|
283
|
-
readonly value: {
|
|
284
|
-
readonly base: "{colors.green.900}";
|
|
285
|
-
readonly _dark: "{colors.green.100}";
|
|
286
|
-
};
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
/**
|
|
290
|
-
* Warning colors (Gold-based)
|
|
291
|
-
* Use for: Warning messages, caution states, attention needed
|
|
292
|
-
*
|
|
293
|
-
* Light contrast ratios (on white):
|
|
294
|
-
* - main (#D0A117): 3.0:1 (use dark on light backgrounds)
|
|
295
|
-
* - dark (#7D610D): 5.8:1 ✓ AA
|
|
296
|
-
*
|
|
297
|
-
* NOTE: gold is the AA risk in both modes — verify per-pair contrast in the
|
|
298
|
-
* Storybook palette before relying on `warning.main` for text.
|
|
299
|
-
*/
|
|
300
|
-
readonly warning: {
|
|
301
|
-
readonly lightest: {
|
|
302
|
-
readonly value: {
|
|
303
|
-
readonly base: "{colors.gold.25}";
|
|
304
|
-
readonly _dark: "{colors.gold.900}";
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
readonly extralight: {
|
|
308
|
-
readonly value: {
|
|
309
|
-
readonly base: "{colors.gold.50}";
|
|
310
|
-
readonly _dark: "{colors.gold.800}";
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
readonly lighter: {
|
|
314
|
-
readonly value: {
|
|
315
|
-
readonly base: "{colors.gold.100}";
|
|
316
|
-
readonly _dark: "{colors.gold.700}";
|
|
317
|
-
};
|
|
318
|
-
};
|
|
319
|
-
readonly light: {
|
|
320
|
-
readonly value: {
|
|
321
|
-
readonly base: "{colors.gold.200}";
|
|
322
|
-
readonly _dark: "{colors.gold.600}";
|
|
323
|
-
};
|
|
324
|
-
};
|
|
325
|
-
readonly main: {
|
|
326
|
-
readonly value: {
|
|
327
|
-
readonly base: "{colors.gold.500}";
|
|
328
|
-
readonly _dark: "{colors.gold.300}";
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
readonly dark: {
|
|
332
|
-
readonly value: {
|
|
333
|
-
readonly base: "{colors.gold.700}";
|
|
334
|
-
readonly _dark: "{colors.gold.200}";
|
|
335
|
-
};
|
|
336
|
-
};
|
|
337
|
-
readonly darker: {
|
|
338
|
-
readonly value: {
|
|
339
|
-
readonly base: "{colors.gold.900}";
|
|
340
|
-
readonly _dark: "{colors.gold.100}";
|
|
341
|
-
};
|
|
342
|
-
};
|
|
343
|
-
};
|
|
344
|
-
/**
|
|
345
|
-
* `slate.*` — the foundational **mode-aware neutral family**.
|
|
346
|
-
*
|
|
347
|
-
* A first-class neutral palette alongside the raw `gray.*` primitives, but
|
|
348
|
-
* mode-aware: each `slate.N` resolves to `gray.N` in light and to the
|
|
349
|
-
* desaturated counterpart of the *mirrored* step in dark, so a single token
|
|
350
|
-
* carries the same tonal level in both modes (e.g. `slate.300` is a light
|
|
351
|
-
* divider in light and the equivalent dark divider in dark — no `_dark={{…}}`
|
|
352
|
-
* at the call site). It lives under `semanticTokens` only because Chakra
|
|
353
|
-
* requires that for the `_dark` flip; conceptually it is a *foundation*
|
|
354
|
-
* (a tonal scale), not a *role*.
|
|
355
|
-
*
|
|
356
|
-
* When to use which:
|
|
357
|
-
* - Prefer the **role tokens** (`fg`/`bg`/`border`) when one matches the
|
|
358
|
-
* intent — they carry semantics and AA-tuned dark values.
|
|
359
|
-
* - Reach for **`slate.N`** when you need a specific neutral tonal step that
|
|
360
|
-
* no role names (mirroring how you'd otherwise drop to a raw `gray.N`, but
|
|
361
|
-
* keeping the dark flip). `slate` and the role tokens are *distinct* ramps
|
|
362
|
-
* (slate is a mechanical mirror; roles are hand-tuned), so they are not
|
|
363
|
-
* interchangeable in dark mode.
|
|
364
|
-
*
|
|
365
|
-
* `600`/`700` are lifted off the straight mirror (#8E939F/#7C818D) so the
|
|
366
|
-
* secondary/muted text they most often carry clears WCAG AA 4.5:1 on the
|
|
367
|
-
* dark canvas/surface — the straight mirrors measured ~3.0–3.9 there.
|
|
368
|
-
*/
|
|
369
|
-
readonly slate: {
|
|
370
|
-
readonly 0: {
|
|
371
|
-
readonly value: {
|
|
372
|
-
readonly base: "{colors.gray.0}";
|
|
373
|
-
readonly _dark: "{colors.grayDark.1500}";
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
|
-
readonly 50: {
|
|
377
|
-
readonly value: {
|
|
378
|
-
readonly base: "{colors.gray.50}";
|
|
379
|
-
readonly _dark: "{colors.grayDark.1400}";
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
readonly 100: {
|
|
383
|
-
readonly value: {
|
|
384
|
-
readonly base: "{colors.gray.100}";
|
|
385
|
-
readonly _dark: "{colors.grayDark.1300}";
|
|
386
|
-
};
|
|
387
|
-
};
|
|
388
|
-
readonly 200: {
|
|
389
|
-
readonly value: {
|
|
390
|
-
readonly base: "{colors.gray.200}";
|
|
391
|
-
readonly _dark: "{colors.grayDark.1200}";
|
|
392
|
-
};
|
|
393
|
-
};
|
|
394
|
-
readonly 300: {
|
|
395
|
-
readonly value: {
|
|
396
|
-
readonly base: "{colors.gray.300}";
|
|
397
|
-
readonly _dark: "{colors.grayDark.1100}";
|
|
398
|
-
};
|
|
399
|
-
};
|
|
400
|
-
readonly 400: {
|
|
401
|
-
readonly value: {
|
|
402
|
-
readonly base: "{colors.gray.400}";
|
|
403
|
-
readonly _dark: "{colors.grayDark.1000}";
|
|
404
|
-
};
|
|
405
|
-
};
|
|
406
|
-
readonly 500: {
|
|
407
|
-
readonly value: {
|
|
408
|
-
readonly base: "{colors.gray.500}";
|
|
409
|
-
readonly _dark: "{colors.grayDark.900}";
|
|
410
|
-
};
|
|
411
|
-
};
|
|
412
|
-
readonly 600: {
|
|
413
|
-
readonly value: {
|
|
414
|
-
readonly base: "{colors.gray.600}";
|
|
415
|
-
readonly _dark: "{colors.grayDark.fg600}";
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
readonly 700: {
|
|
419
|
-
readonly value: {
|
|
420
|
-
readonly base: "{colors.gray.700}";
|
|
421
|
-
readonly _dark: "{colors.grayDark.fg700}";
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
|
-
readonly 800: {
|
|
425
|
-
readonly value: {
|
|
426
|
-
readonly base: "{colors.gray.800}";
|
|
427
|
-
readonly _dark: "{colors.grayDark.600}";
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
readonly 900: {
|
|
431
|
-
readonly value: {
|
|
432
|
-
readonly base: "{colors.gray.900}";
|
|
433
|
-
readonly _dark: "{colors.grayDark.500}";
|
|
434
|
-
};
|
|
435
|
-
};
|
|
436
|
-
readonly 1000: {
|
|
437
|
-
readonly value: {
|
|
438
|
-
readonly base: "{colors.gray.1000}";
|
|
439
|
-
readonly _dark: "{colors.grayDark.400}";
|
|
440
|
-
};
|
|
441
|
-
};
|
|
442
|
-
readonly 1100: {
|
|
443
|
-
readonly value: {
|
|
444
|
-
readonly base: "{colors.gray.1100}";
|
|
445
|
-
readonly _dark: "{colors.grayDark.300}";
|
|
446
|
-
};
|
|
447
|
-
};
|
|
448
|
-
readonly 1200: {
|
|
449
|
-
readonly value: {
|
|
450
|
-
readonly base: "{colors.gray.1200}";
|
|
451
|
-
readonly _dark: "{colors.grayDark.200}";
|
|
452
|
-
};
|
|
453
|
-
};
|
|
454
|
-
readonly 1300: {
|
|
455
|
-
readonly value: {
|
|
456
|
-
readonly base: "{colors.gray.1300}";
|
|
457
|
-
readonly _dark: "{colors.grayDark.100}";
|
|
458
|
-
};
|
|
459
|
-
};
|
|
460
|
-
readonly 1400: {
|
|
461
|
-
readonly value: {
|
|
462
|
-
readonly base: "{colors.gray.1400}";
|
|
463
|
-
readonly _dark: "{colors.grayDark.50}";
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
readonly 1500: {
|
|
467
|
-
readonly value: {
|
|
468
|
-
readonly base: "{colors.gray.1500}";
|
|
469
|
-
readonly _dark: "{colors.grayDark.0}";
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
};
|
|
473
|
-
/**
|
|
474
|
-
* Neutral background tokens — map onto the gray.0–1500 scale.
|
|
475
|
-
* Use for: page/canvas, raised surfaces (cards, menus), subtle/muted fills,
|
|
476
|
-
* and inverse surfaces (tooltips, contrast banners).
|
|
477
|
-
*
|
|
478
|
-
* - canvas: app background
|
|
479
|
-
* - surface: raised surface (card, popover, menu)
|
|
480
|
-
* - subtle: subtle fill / secondary surface
|
|
481
|
-
* - muted: muted fill / tertiary surface, hover
|
|
482
|
-
* - inverse: high-contrast surface (flips to light in dark mode)
|
|
483
|
-
*/
|
|
484
|
-
readonly bg: {
|
|
485
|
-
readonly DEFAULT: {
|
|
486
|
-
readonly value: {
|
|
487
|
-
readonly _light: "{colors.white}";
|
|
488
|
-
readonly _dark: "{colors.grayDark.1500}";
|
|
489
|
-
};
|
|
490
|
-
};
|
|
491
|
-
readonly canvas: {
|
|
492
|
-
readonly value: {
|
|
493
|
-
readonly base: "{colors.gray.0}";
|
|
494
|
-
readonly _dark: "{colors.grayDark.1500}";
|
|
495
|
-
};
|
|
496
|
-
};
|
|
497
|
-
readonly surface: {
|
|
498
|
-
readonly value: {
|
|
499
|
-
readonly base: "{colors.white}";
|
|
500
|
-
readonly _dark: "{colors.grayDark.1400}";
|
|
501
|
-
};
|
|
502
|
-
};
|
|
503
|
-
readonly raised: {
|
|
504
|
-
readonly value: {
|
|
505
|
-
readonly base: "{colors.white}";
|
|
506
|
-
readonly _dark: "{colors.grayDark.1100}";
|
|
507
|
-
};
|
|
508
|
-
};
|
|
509
|
-
readonly subtle: {
|
|
510
|
-
readonly value: {
|
|
511
|
-
readonly _light: "{colors.gray.50}";
|
|
512
|
-
readonly _dark: "{colors.grayDark.1300}";
|
|
513
|
-
};
|
|
514
|
-
};
|
|
515
|
-
readonly muted: {
|
|
516
|
-
readonly value: {
|
|
517
|
-
readonly _light: "{colors.gray.100}";
|
|
518
|
-
readonly _dark: "{colors.grayDark.1200}";
|
|
519
|
-
};
|
|
520
|
-
};
|
|
521
|
-
readonly inverse: {
|
|
522
|
-
readonly value: {
|
|
523
|
-
readonly base: "{colors.gray.1300}";
|
|
524
|
-
readonly _dark: "{colors.grayDark.50}";
|
|
525
|
-
};
|
|
526
|
-
};
|
|
527
|
-
readonly sunken: {
|
|
528
|
-
readonly value: {
|
|
529
|
-
readonly base: "{colors.gray.50}";
|
|
530
|
-
readonly _dark: "{colors.grayDark.1500}";
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
|
-
readonly track: {
|
|
534
|
-
readonly value: {
|
|
535
|
-
readonly base: "{colors.gray.300}";
|
|
536
|
-
readonly _dark: "{colors.grayDark.1200}";
|
|
537
|
-
};
|
|
538
|
-
};
|
|
539
|
-
readonly panel: {
|
|
540
|
-
readonly value: {
|
|
541
|
-
readonly _light: "{colors.white}";
|
|
542
|
-
readonly _dark: "{colors.grayDark.1400}";
|
|
543
|
-
};
|
|
544
|
-
};
|
|
545
|
-
/**
|
|
546
|
-
* Row/selection state tints. Use these for selected rows,
|
|
547
|
-
* validation-error rows, and transient highlights instead of
|
|
548
|
-
* hand-picking `primary.*`/`danger.*` tints at the call site.
|
|
549
|
-
*
|
|
550
|
-
* Light mirrors `primary.lightest` / `danger.lightest` /
|
|
551
|
-
* `warning.lightest` (this Chakra version doesn't resolve
|
|
552
|
-
* semantic→semantic token references, so the primitive is repeated
|
|
553
|
-
* here — keep it in sync with the brand ramps above).
|
|
554
|
-
*
|
|
555
|
-
* Dark does NOT mirror `*.lightest`. There the "lightest" hue step is the
|
|
556
|
-
* `900` of the ramp, which is darker than `bg.surface` (`grayDark.1400`),
|
|
557
|
-
* so a selected row rendered as a block sunk *below* its neighbours
|
|
558
|
-
* instead of a tint lifted above them. Instead the hue's `200` step (the
|
|
559
|
-
* dark-mode `main`/hover step of each family) is mixed 20% into the row
|
|
560
|
-
* surface. That keeps the tint one step lighter than the surface
|
|
561
|
-
* (~1.4:1, the same separation the old value had, in the right
|
|
562
|
-
* direction), keeps `fg.default` on it above 8:1, and stays
|
|
563
|
-
* tenant-restageable because it reads the ramp rather than a literal.
|
|
564
|
-
* Primitives only inside the mix — see the note above on references.
|
|
565
|
-
*/
|
|
566
|
-
readonly selected: {
|
|
567
|
-
readonly value: {
|
|
568
|
-
readonly base: "{colors.blue.25}";
|
|
569
|
-
readonly _dark: "color-mix(in oklab, {colors.blue.200} 20%, {colors.grayDark.1400})";
|
|
570
|
-
};
|
|
571
|
-
};
|
|
572
|
-
readonly invalid: {
|
|
573
|
-
readonly subtle: {
|
|
574
|
-
readonly value: {
|
|
575
|
-
readonly base: "{colors.rose.25}";
|
|
576
|
-
readonly _dark: "color-mix(in oklab, {colors.rose.200} 20%, {colors.grayDark.1400})";
|
|
577
|
-
};
|
|
578
|
-
};
|
|
579
|
-
};
|
|
580
|
-
readonly highlighted: {
|
|
581
|
-
readonly value: {
|
|
582
|
-
readonly base: "{colors.gold.25}";
|
|
583
|
-
readonly _dark: "color-mix(in oklab, {colors.gold.200} 20%, {colors.grayDark.1400})";
|
|
584
|
-
};
|
|
585
|
-
};
|
|
586
|
-
};
|
|
587
|
-
/**
|
|
588
|
-
* Neutral foreground (text/icon) tokens — map onto the gray.0–1500 scale.
|
|
589
|
-
*
|
|
590
|
-
* - default: primary text/icons
|
|
591
|
-
* - muted: secondary text
|
|
592
|
-
* - subtle: tertiary / placeholder text
|
|
593
|
-
* - inverse: text on inverse surfaces (flips with mode)
|
|
594
|
-
*/
|
|
595
|
-
readonly fg: {
|
|
596
|
-
readonly DEFAULT: {
|
|
597
|
-
readonly value: {
|
|
598
|
-
readonly _light: "{colors.black}";
|
|
599
|
-
readonly _dark: "{colors.grayDark.50}";
|
|
600
|
-
};
|
|
601
|
-
};
|
|
602
|
-
readonly emphasized: {
|
|
603
|
-
readonly value: {
|
|
604
|
-
readonly base: "{colors.gray.1300}";
|
|
605
|
-
readonly _dark: "{colors.grayDark.200}";
|
|
606
|
-
};
|
|
607
|
-
};
|
|
608
|
-
readonly default: {
|
|
609
|
-
readonly value: {
|
|
610
|
-
readonly base: "{colors.gray.1000}";
|
|
611
|
-
readonly _dark: "{colors.grayDark.300}";
|
|
612
|
-
};
|
|
613
|
-
};
|
|
614
|
-
readonly muted: {
|
|
615
|
-
readonly value: {
|
|
616
|
-
readonly _light: "{colors.gray.900}";
|
|
617
|
-
readonly _dark: "{colors.grayDark.400}";
|
|
618
|
-
};
|
|
619
|
-
};
|
|
620
|
-
readonly subtle: {
|
|
621
|
-
readonly value: {
|
|
622
|
-
readonly _light: "{colors.gray.700}";
|
|
623
|
-
readonly _dark: "{colors.grayDark.fgSubtle}";
|
|
624
|
-
};
|
|
625
|
-
};
|
|
626
|
-
readonly inverse: {
|
|
627
|
-
readonly value: {
|
|
628
|
-
readonly base: "{colors.gray.0}";
|
|
629
|
-
readonly _dark: "{colors.grayDark.1400}";
|
|
630
|
-
};
|
|
631
|
-
};
|
|
632
|
-
};
|
|
633
|
-
/**
|
|
634
|
-
* Neutral border tokens — map onto the gray.0–1500 scale.
|
|
635
|
-
*
|
|
636
|
-
* - default: standard borders, dividers
|
|
637
|
-
* - subtle: low-emphasis dividers
|
|
638
|
-
* - strong: high-emphasis borders, focus outlines on neutral
|
|
639
|
-
*/
|
|
640
|
-
readonly border: {
|
|
641
|
-
readonly DEFAULT: {
|
|
642
|
-
readonly value: {
|
|
643
|
-
readonly _light: "{colors.gray.200}";
|
|
644
|
-
readonly _dark: "{colors.grayDark.800}";
|
|
645
|
-
};
|
|
646
|
-
};
|
|
647
|
-
readonly default: {
|
|
648
|
-
readonly value: {
|
|
649
|
-
readonly base: "{colors.gray.300}";
|
|
650
|
-
readonly _dark: "{colors.grayDark.1100}";
|
|
651
|
-
};
|
|
652
|
-
};
|
|
653
|
-
readonly subtle: {
|
|
654
|
-
readonly value: {
|
|
655
|
-
readonly _light: "{colors.gray.200}";
|
|
656
|
-
readonly _dark: "{colors.grayDark.1300}";
|
|
657
|
-
};
|
|
658
|
-
};
|
|
659
|
-
readonly strong: {
|
|
660
|
-
readonly value: {
|
|
661
|
-
readonly base: "{colors.gray.500}";
|
|
662
|
-
readonly _dark: "{colors.grayDark.900}";
|
|
663
|
-
};
|
|
664
|
-
};
|
|
665
|
-
};
|
|
666
|
-
};
|
|
35
|
+
colors: TokenTree;
|
|
667
36
|
};
|
|
37
|
+
/** Deprecated 4.x semantic name → 5.0 replacement. */
|
|
38
|
+
export declare const DEPRECATED_COLOR_TOKENS: Readonly<Record<string, string>>;
|
|
39
|
+
type Hue = SystemHue;
|
|
40
|
+
type StatusFamily = 'danger' | 'success' | 'warning' | 'info';
|
|
668
41
|
/**
|
|
669
|
-
*
|
|
670
|
-
* in Chakra dotted-path form (e.g. `fg.default`, `bg.surface`, `primary.main`).
|
|
671
|
-
*
|
|
672
|
-
* This is the contract consumed by the factchat primitive→semantic codemod and
|
|
673
|
-
* by reviewers. It is intentionally hand-maintained alongside `semanticTokens`
|
|
674
|
-
* so a rename here is a visible, reviewable diff.
|
|
42
|
+
* Every public semantic colour token, in Chakra dotted-path form.
|
|
675
43
|
*
|
|
676
|
-
*
|
|
677
|
-
*
|
|
678
|
-
*
|
|
679
|
-
* contract. App code should use `bg.surface`/`bg.canvas`, `fg.default`, etc.
|
|
44
|
+
* The contract consumed by the factchat codemod and by reviewers; hand-kept
|
|
45
|
+
* beside `PATHS` so a rename is a visible diff. Internal `scheme.*` helpers and
|
|
46
|
+
* the bare `bg`/`fg`/`border` DEFAULTs are deliberately absent.
|
|
680
47
|
*/
|
|
681
|
-
export type SemanticColorToken = `bg.${'canvas' | 'surface' | 'raised' | 'subtle' | 'muted' | 'sunken' | 'track' | 'inverse' | '
|
|
48
|
+
export type SemanticColorToken = `neutral.${Step}` | `secondary.${Step}` | `bg.${'canvas' | 'surface' | 'raised' | 'subtle' | 'muted' | 'sunken' | 'track' | 'inverse' | 'panel' | 'highlighted'}` | 'bg.invalid.subtle' | `layer.${1 | 2 | 3}` | `layer.${1 | 2 | 3}.${'hover' | 'active'}` | `fg.${'default' | 'emphasized' | 'muted' | 'subtle' | 'icon' | 'placeholder' | 'onPrimary' | 'link' | 'linkHover' | 'inverse'}` | `border.${'subtle' | 'default' | 'strong' | 'control'}` | `primary.${'main' | 'hover' | 'active' | 'wash' | 'washActive' | 'selected'}` | `secondary.${'surface' | 'surfaceStrong' | 'border' | 'fg' | 'fgStrong'}` | `action.${'mark' | 'iconOnSolid' | 'bg' | 'bgHover' | 'bgActive' | 'fg' | 'border'}` | `send.${'bg' | 'bgHover' | 'bgActive' | 'fg'}` | `count.${'bg' | 'fg'}` | `disabled.${'bg' | 'fg'}` | 'focus.ring' | `${StatusFamily}.${'bg' | 'border' | 'fg' | 'solid' | 'onSolid'}` | `danger.${'solidHover' | 'solidActive'}` | `tooltip.${'bg' | 'fg'}` | `category.${Hue}.${'surface' | 'fg'}` | DeprecatedSemanticColorToken;
|
|
682
49
|
/**
|
|
683
|
-
*
|
|
684
|
-
*
|
|
685
|
-
* These are the raw color values organized by hue. In most cases,
|
|
686
|
-
* you should use semantic tokens (`primary`, `danger`, etc.) instead
|
|
687
|
-
* of these primitive values directly.
|
|
688
|
-
*
|
|
689
|
-
* ### Scale explanation:
|
|
690
|
-
* - **25**: Lightest backgrounds, ghost states
|
|
691
|
-
* - **50-200**: Light shades for backgrounds, subtle fills
|
|
692
|
-
* - **300**: Medium shade for borders, hover states
|
|
693
|
-
* - **500**: Base color, primary usage
|
|
694
|
-
* - **600-700**: Dark shades for text, emphasis
|
|
695
|
-
* - **800-900**: Darkest shades for high-contrast text
|
|
696
|
-
*
|
|
697
|
-
* ### Gray scale (Slate-based):
|
|
698
|
-
* Extended from 0-1500 for fine-grained control:
|
|
699
|
-
* - **0**: Pure background (near-white with blue tint)
|
|
700
|
-
* - **50-200**: Light backgrounds, subtle borders
|
|
701
|
-
* - **300-500**: Borders, disabled states
|
|
702
|
-
* - **600-800**: Secondary text, icons
|
|
703
|
-
* - **900-1200**: Primary text
|
|
704
|
-
* - **1300-1500**: Darkest backgrounds, high-contrast text
|
|
705
|
-
*
|
|
706
|
-
* @example
|
|
707
|
-
* ```tsx
|
|
708
|
-
* // Prefer semantic tokens
|
|
709
|
-
* <Button bgColor="primary.main" />
|
|
710
|
-
*
|
|
711
|
-
* // Use primitives only when semantic tokens don't apply
|
|
712
|
-
* <Box borderColor="gray.300" />
|
|
713
|
-
* ```
|
|
50
|
+
* @deprecated 4.x names kept as aliases in 5.0 — see `DEPRECATED_COLOR_TOKENS`
|
|
51
|
+
* for the replacement. Removed in 6.0.
|
|
714
52
|
*/
|
|
715
|
-
export
|
|
716
|
-
|
|
717
|
-
* Blue palette - Primary brand color
|
|
718
|
-
* Used for: primary semantic tokens, interactive elements
|
|
719
|
-
*/
|
|
720
|
-
blue: {
|
|
721
|
-
25: {
|
|
722
|
-
value: string;
|
|
723
|
-
};
|
|
724
|
-
50: {
|
|
725
|
-
value: string;
|
|
726
|
-
};
|
|
727
|
-
100: {
|
|
728
|
-
value: string;
|
|
729
|
-
};
|
|
730
|
-
200: {
|
|
731
|
-
value: string;
|
|
732
|
-
};
|
|
733
|
-
300: {
|
|
734
|
-
value: string;
|
|
735
|
-
};
|
|
736
|
-
500: {
|
|
737
|
-
value: string;
|
|
738
|
-
};
|
|
739
|
-
600: {
|
|
740
|
-
value: string;
|
|
741
|
-
};
|
|
742
|
-
700: {
|
|
743
|
-
value: string;
|
|
744
|
-
};
|
|
745
|
-
800: {
|
|
746
|
-
value: string;
|
|
747
|
-
};
|
|
748
|
-
900: {
|
|
749
|
-
value: string;
|
|
750
|
-
};
|
|
751
|
-
};
|
|
752
|
-
/**
|
|
753
|
-
* Rose palette - Danger/error color
|
|
754
|
-
* Used for: danger semantic tokens, error states, destructive actions
|
|
755
|
-
*/
|
|
756
|
-
rose: {
|
|
757
|
-
25: {
|
|
758
|
-
value: string;
|
|
759
|
-
};
|
|
760
|
-
50: {
|
|
761
|
-
value: string;
|
|
762
|
-
};
|
|
763
|
-
100: {
|
|
764
|
-
value: string;
|
|
765
|
-
};
|
|
766
|
-
200: {
|
|
767
|
-
value: string;
|
|
768
|
-
};
|
|
769
|
-
300: {
|
|
770
|
-
value: string;
|
|
771
|
-
};
|
|
772
|
-
500: {
|
|
773
|
-
value: string;
|
|
774
|
-
};
|
|
775
|
-
600: {
|
|
776
|
-
value: string;
|
|
777
|
-
};
|
|
778
|
-
700: {
|
|
779
|
-
value: string;
|
|
780
|
-
};
|
|
781
|
-
800: {
|
|
782
|
-
value: string;
|
|
783
|
-
};
|
|
784
|
-
900: {
|
|
785
|
-
value: string;
|
|
786
|
-
};
|
|
787
|
-
};
|
|
788
|
-
/**
|
|
789
|
-
* Green palette - Success color
|
|
790
|
-
* Used for: success semantic tokens, confirmations, positive feedback
|
|
791
|
-
*/
|
|
792
|
-
green: {
|
|
793
|
-
25: {
|
|
794
|
-
value: string;
|
|
795
|
-
};
|
|
796
|
-
50: {
|
|
797
|
-
value: string;
|
|
798
|
-
};
|
|
799
|
-
100: {
|
|
800
|
-
value: string;
|
|
801
|
-
};
|
|
802
|
-
200: {
|
|
803
|
-
value: string;
|
|
804
|
-
};
|
|
805
|
-
300: {
|
|
806
|
-
value: string;
|
|
807
|
-
};
|
|
808
|
-
500: {
|
|
809
|
-
value: string;
|
|
810
|
-
};
|
|
811
|
-
600: {
|
|
812
|
-
value: string;
|
|
813
|
-
};
|
|
814
|
-
700: {
|
|
815
|
-
value: string;
|
|
816
|
-
};
|
|
817
|
-
800: {
|
|
818
|
-
value: string;
|
|
819
|
-
};
|
|
820
|
-
900: {
|
|
821
|
-
value: string;
|
|
822
|
-
};
|
|
823
|
-
};
|
|
824
|
-
/**
|
|
825
|
-
* Violet palette - Secondary/accent color
|
|
826
|
-
* Used for: secondary semantic tokens, highlights, tags
|
|
827
|
-
*/
|
|
828
|
-
violet: {
|
|
829
|
-
25: {
|
|
830
|
-
value: string;
|
|
831
|
-
};
|
|
832
|
-
50: {
|
|
833
|
-
value: string;
|
|
834
|
-
};
|
|
835
|
-
100: {
|
|
836
|
-
value: string;
|
|
837
|
-
};
|
|
838
|
-
200: {
|
|
839
|
-
value: string;
|
|
840
|
-
};
|
|
841
|
-
300: {
|
|
842
|
-
value: string;
|
|
843
|
-
};
|
|
844
|
-
500: {
|
|
845
|
-
value: string;
|
|
846
|
-
};
|
|
847
|
-
600: {
|
|
848
|
-
value: string;
|
|
849
|
-
};
|
|
850
|
-
700: {
|
|
851
|
-
value: string;
|
|
852
|
-
};
|
|
853
|
-
800: {
|
|
854
|
-
value: string;
|
|
855
|
-
};
|
|
856
|
-
900: {
|
|
857
|
-
value: string;
|
|
858
|
-
};
|
|
859
|
-
};
|
|
860
|
-
/**
|
|
861
|
-
* Gold palette - Warning color
|
|
862
|
-
* Used for: warning semantic tokens, caution states
|
|
863
|
-
*/
|
|
864
|
-
gold: {
|
|
865
|
-
25: {
|
|
866
|
-
value: string;
|
|
867
|
-
};
|
|
868
|
-
50: {
|
|
869
|
-
value: string;
|
|
870
|
-
};
|
|
871
|
-
100: {
|
|
872
|
-
value: string;
|
|
873
|
-
};
|
|
874
|
-
200: {
|
|
875
|
-
value: string;
|
|
876
|
-
};
|
|
877
|
-
300: {
|
|
878
|
-
value: string;
|
|
879
|
-
};
|
|
880
|
-
500: {
|
|
881
|
-
value: string;
|
|
882
|
-
};
|
|
883
|
-
600: {
|
|
884
|
-
value: string;
|
|
885
|
-
};
|
|
886
|
-
700: {
|
|
887
|
-
value: string;
|
|
888
|
-
};
|
|
889
|
-
800: {
|
|
890
|
-
value: string;
|
|
891
|
-
};
|
|
892
|
-
900: {
|
|
893
|
-
value: string;
|
|
894
|
-
};
|
|
895
|
-
};
|
|
896
|
-
/**
|
|
897
|
-
* Gray palette (Slate-based with cool blue undertone)
|
|
898
|
-
* Extended scale from 0-1500 for fine-grained control
|
|
899
|
-
*
|
|
900
|
-
* Used for: backgrounds, borders, text, disabled states
|
|
901
|
-
*
|
|
902
|
-
* Contrast ratios against gray.0 (#FDFDFF):
|
|
903
|
-
* - gray.700: 4.6:1 ✓ AA (large text)
|
|
904
|
-
* - gray.900: 6.2:1 ✓ AA
|
|
905
|
-
* - gray.1300: 11.2:1 ✓ AAA
|
|
906
|
-
*/
|
|
907
|
-
gray: {
|
|
908
|
-
0: {
|
|
909
|
-
value: string;
|
|
910
|
-
};
|
|
911
|
-
50: {
|
|
912
|
-
value: string;
|
|
913
|
-
};
|
|
914
|
-
100: {
|
|
915
|
-
value: string;
|
|
916
|
-
};
|
|
917
|
-
200: {
|
|
918
|
-
value: string;
|
|
919
|
-
};
|
|
920
|
-
300: {
|
|
921
|
-
value: string;
|
|
922
|
-
};
|
|
923
|
-
400: {
|
|
924
|
-
value: string;
|
|
925
|
-
};
|
|
926
|
-
500: {
|
|
927
|
-
value: string;
|
|
928
|
-
};
|
|
929
|
-
600: {
|
|
930
|
-
value: string;
|
|
931
|
-
};
|
|
932
|
-
700: {
|
|
933
|
-
value: string;
|
|
934
|
-
};
|
|
935
|
-
800: {
|
|
936
|
-
value: string;
|
|
937
|
-
};
|
|
938
|
-
900: {
|
|
939
|
-
value: string;
|
|
940
|
-
};
|
|
941
|
-
1000: {
|
|
942
|
-
value: string;
|
|
943
|
-
};
|
|
944
|
-
1100: {
|
|
945
|
-
value: string;
|
|
946
|
-
};
|
|
947
|
-
1200: {
|
|
948
|
-
value: string;
|
|
949
|
-
};
|
|
950
|
-
1300: {
|
|
951
|
-
value: string;
|
|
952
|
-
};
|
|
953
|
-
1400: {
|
|
954
|
-
value: string;
|
|
955
|
-
};
|
|
956
|
-
1500: {
|
|
957
|
-
value: string;
|
|
958
|
-
};
|
|
959
|
-
};
|
|
960
|
-
/**
|
|
961
|
-
* Dark-mode neutral palette — the halved-saturation counterpart of each
|
|
962
|
-
* primitive `gray.N` (same hue and lightness, HSL saturation cut by ~50%,
|
|
963
|
-
* e.g. `gray.1300` #1E2433 @ 26% → #23262E @ 13%). The blue-tinted `gray`
|
|
964
|
-
* ramp reads as the right neutral in light mode but turns muddy/
|
|
965
|
-
* over-chromatic as a dark surface, so every dark-mode neutral in the
|
|
966
|
-
* semantic layer (`slate.*`, and the `_dark` of `bg`/`fg`/`border`) resolves
|
|
967
|
-
* to a step of this scale instead of a raw `gray` step. Light mode is
|
|
968
|
-
* untouched — it keeps referencing `{colors.gray.*}` verbatim.
|
|
969
|
-
*
|
|
970
|
-
* Exposed as a primitive scale (rather than the previous inlined hex
|
|
971
|
-
* literals) so a consumer theme — e.g. FactChat's per-tenant
|
|
972
|
-
* `theme_color_overrides` — can rebrand dark mode by overriding these
|
|
973
|
-
* tokens, the same way overriding `blue.*` retints the `primary.*` ramp.
|
|
974
|
-
*
|
|
975
|
-
* The three `fg*` steps are the hand-tuned a11y lifts documented at their
|
|
976
|
-
* consuming tokens (`slate.600`/`slate.700`/`fg.subtle` in dark mode): the
|
|
977
|
-
* straight mirrors measured under WCAG AA 4.5:1 on the dark canvas/surface,
|
|
978
|
-
* so these sit slightly lighter than their scale neighbours.
|
|
979
|
-
*/
|
|
980
|
-
grayDark: {
|
|
981
|
-
0: {
|
|
982
|
-
value: string;
|
|
983
|
-
};
|
|
984
|
-
50: {
|
|
985
|
-
value: string;
|
|
986
|
-
};
|
|
987
|
-
100: {
|
|
988
|
-
value: string;
|
|
989
|
-
};
|
|
990
|
-
200: {
|
|
991
|
-
value: string;
|
|
992
|
-
};
|
|
993
|
-
300: {
|
|
994
|
-
value: string;
|
|
995
|
-
};
|
|
996
|
-
400: {
|
|
997
|
-
value: string;
|
|
998
|
-
};
|
|
999
|
-
500: {
|
|
1000
|
-
value: string;
|
|
1001
|
-
};
|
|
1002
|
-
600: {
|
|
1003
|
-
value: string;
|
|
1004
|
-
};
|
|
1005
|
-
700: {
|
|
1006
|
-
value: string;
|
|
1007
|
-
};
|
|
1008
|
-
800: {
|
|
1009
|
-
value: string;
|
|
1010
|
-
};
|
|
1011
|
-
900: {
|
|
1012
|
-
value: string;
|
|
1013
|
-
};
|
|
1014
|
-
1000: {
|
|
1015
|
-
value: string;
|
|
1016
|
-
};
|
|
1017
|
-
1100: {
|
|
1018
|
-
value: string;
|
|
1019
|
-
};
|
|
1020
|
-
1200: {
|
|
1021
|
-
value: string;
|
|
1022
|
-
};
|
|
1023
|
-
1300: {
|
|
1024
|
-
value: string;
|
|
1025
|
-
};
|
|
1026
|
-
1400: {
|
|
1027
|
-
value: string;
|
|
1028
|
-
};
|
|
1029
|
-
1500: {
|
|
1030
|
-
value: string;
|
|
1031
|
-
};
|
|
1032
|
-
fg600: {
|
|
1033
|
-
value: string;
|
|
1034
|
-
};
|
|
1035
|
-
fg700: {
|
|
1036
|
-
value: string;
|
|
1037
|
-
};
|
|
1038
|
-
fgSubtle: {
|
|
1039
|
-
value: string;
|
|
1040
|
-
};
|
|
1041
|
-
};
|
|
1042
|
-
/**
|
|
1043
|
-
* Legacy purple palette (aliased to violet for backwards compatibility)
|
|
1044
|
-
* @deprecated Use `violet` instead
|
|
1045
|
-
*/
|
|
1046
|
-
purple: {
|
|
1047
|
-
50: {
|
|
1048
|
-
value: string;
|
|
1049
|
-
};
|
|
1050
|
-
100: {
|
|
1051
|
-
value: string;
|
|
1052
|
-
};
|
|
1053
|
-
200: {
|
|
1054
|
-
value: string;
|
|
1055
|
-
};
|
|
1056
|
-
300: {
|
|
1057
|
-
value: string;
|
|
1058
|
-
};
|
|
1059
|
-
500: {
|
|
1060
|
-
value: string;
|
|
1061
|
-
};
|
|
1062
|
-
600: {
|
|
1063
|
-
value: string;
|
|
1064
|
-
};
|
|
1065
|
-
700: {
|
|
1066
|
-
value: string;
|
|
1067
|
-
};
|
|
1068
|
-
800: {
|
|
1069
|
-
value: string;
|
|
1070
|
-
};
|
|
1071
|
-
900: {
|
|
1072
|
-
value: string;
|
|
1073
|
-
};
|
|
1074
|
-
};
|
|
1075
|
-
/**
|
|
1076
|
-
* Legacy red palette (aliased to rose for backwards compatibility)
|
|
1077
|
-
* @deprecated Use `rose` instead
|
|
1078
|
-
*/
|
|
1079
|
-
red: {
|
|
1080
|
-
50: {
|
|
1081
|
-
value: string;
|
|
1082
|
-
};
|
|
1083
|
-
100: {
|
|
1084
|
-
value: string;
|
|
1085
|
-
};
|
|
1086
|
-
200: {
|
|
1087
|
-
value: string;
|
|
1088
|
-
};
|
|
1089
|
-
300: {
|
|
1090
|
-
value: string;
|
|
1091
|
-
};
|
|
1092
|
-
500: {
|
|
1093
|
-
value: string;
|
|
1094
|
-
};
|
|
1095
|
-
600: {
|
|
1096
|
-
value: string;
|
|
1097
|
-
};
|
|
1098
|
-
700: {
|
|
1099
|
-
value: string;
|
|
1100
|
-
};
|
|
1101
|
-
800: {
|
|
1102
|
-
value: string;
|
|
1103
|
-
};
|
|
1104
|
-
900: {
|
|
1105
|
-
value: string;
|
|
1106
|
-
};
|
|
1107
|
-
};
|
|
1108
|
-
/**
|
|
1109
|
-
* Legacy yellow palette (aliased to gold for backwards compatibility)
|
|
1110
|
-
* @deprecated Use `gold` instead
|
|
1111
|
-
*/
|
|
1112
|
-
yellow: {
|
|
1113
|
-
50: {
|
|
1114
|
-
value: string;
|
|
1115
|
-
};
|
|
1116
|
-
100: {
|
|
1117
|
-
value: string;
|
|
1118
|
-
};
|
|
1119
|
-
200: {
|
|
1120
|
-
value: string;
|
|
1121
|
-
};
|
|
1122
|
-
300: {
|
|
1123
|
-
value: string;
|
|
1124
|
-
};
|
|
1125
|
-
400: {
|
|
1126
|
-
value: string;
|
|
1127
|
-
};
|
|
1128
|
-
500: {
|
|
1129
|
-
value: string;
|
|
1130
|
-
};
|
|
1131
|
-
600: {
|
|
1132
|
-
value: string;
|
|
1133
|
-
};
|
|
1134
|
-
700: {
|
|
1135
|
-
value: string;
|
|
1136
|
-
};
|
|
1137
|
-
800: {
|
|
1138
|
-
value: string;
|
|
1139
|
-
};
|
|
1140
|
-
900: {
|
|
1141
|
-
value: string;
|
|
1142
|
-
};
|
|
1143
|
-
};
|
|
1144
|
-
white: {
|
|
1145
|
-
value: string;
|
|
1146
|
-
};
|
|
1147
|
-
black: {
|
|
1148
|
-
value: string;
|
|
1149
|
-
};
|
|
1150
|
-
};
|
|
53
|
+
export type DeprecatedSemanticColorToken = `primary.${'lightest' | 'extralight' | 'lighter' | 'light' | 'dark' | 'darker' | 'fill' | 'fillStrong'}` | `${'secondary' | 'danger' | 'success' | 'warning'}.${'lightest' | 'extralight' | 'lighter' | 'light' | 'main' | 'dark' | 'darker'}` | 'warning.fill' | 'bg.selected' | 'fg.accent' | `slate.${0 | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | 1100 | 1200 | 1300 | 1400 | 1500}`;
|
|
54
|
+
export {};
|
|
1151
55
|
//# sourceMappingURL=colors.d.ts.map
|