@mindlogic-ai/logician-ui 4.0.0 → 5.0.0-alpha.0
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 +233 -0
- package/codemods/5.0/card-gradient.js +72 -0
- package/codemods/5.0/codemods.test.ts +440 -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 +130 -0
- package/dist/components/Button/Button.legacy.js.map +1 -0
- package/dist/components/Button/Button.legacy.mjs +126 -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 +126 -380
- package/dist/components/Button/Button.styles.js.map +1 -1
- package/dist/components/Button/Button.styles.mjs +125 -381
- package/dist/components/Button/Button.styles.mjs.map +1 -1
- package/dist/components/Button/Button.types.d.ts +43 -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 +180 -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 +122 -352
- package/src/components/Button/Button.styles.ts +145 -397
- package/src/components/Button/Button.tsx +49 -17
- package/src/components/Button/Button.types.ts +50 -37
- package/src/components/Button/Button.variants.test.tsx +149 -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 +343 -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
|
@@ -167,7 +167,7 @@ export function GraphErrorBanner({
|
|
|
167
167
|
maxW="md"
|
|
168
168
|
bg="bg.surface"
|
|
169
169
|
borderWidth="1px"
|
|
170
|
-
borderColor={errorCount > 0 ? 'danger.
|
|
170
|
+
borderColor={errorCount > 0 ? 'danger.border' : 'warning.border'}
|
|
171
171
|
borderRadius="md"
|
|
172
172
|
boxShadow="sm"
|
|
173
173
|
overflow="hidden"
|
|
@@ -178,12 +178,12 @@ export function GraphErrorBanner({
|
|
|
178
178
|
gap={2}
|
|
179
179
|
px={3}
|
|
180
180
|
py={2}
|
|
181
|
-
bg="
|
|
181
|
+
bg="bg.subtle"
|
|
182
182
|
borderBottomWidth="1px"
|
|
183
|
-
borderColor="
|
|
183
|
+
borderColor="border.default"
|
|
184
184
|
>
|
|
185
185
|
<Spinner size="xs" />
|
|
186
|
-
<Subtext fontWeight="semibold" color="
|
|
186
|
+
<Subtext fontWeight="semibold" color="fg.default">
|
|
187
187
|
{translate('workflow_issues_validating') as string}
|
|
188
188
|
</Subtext>
|
|
189
189
|
</Flex>
|
|
@@ -205,12 +205,12 @@ export function GraphErrorBanner({
|
|
|
205
205
|
transitionProperty="opacity"
|
|
206
206
|
onClick={() => setOpen((o) => !o)}
|
|
207
207
|
>
|
|
208
|
-
<Text fontSize="sm" fontWeight="semibold" color="
|
|
208
|
+
<Text fontSize="sm" fontWeight="semibold" color="fg.default">
|
|
209
209
|
{summarize(errorCount, warningCount)}
|
|
210
210
|
</Text>
|
|
211
211
|
<ChevronDownIcon
|
|
212
212
|
boxSize="xs"
|
|
213
|
-
color="
|
|
213
|
+
color="fg.icon"
|
|
214
214
|
transform={open ? 'rotate(180deg)' : 'none'}
|
|
215
215
|
animationStyle="feedback"
|
|
216
216
|
transitionProperty="transform"
|
|
@@ -226,27 +226,27 @@ export function GraphErrorBanner({
|
|
|
226
226
|
animationStyle="feedback"
|
|
227
227
|
transitionProperty="opacity"
|
|
228
228
|
borderTopWidth="1px"
|
|
229
|
-
borderColor="
|
|
229
|
+
borderColor="border.default"
|
|
230
230
|
>
|
|
231
231
|
{groups.map((group, gi) => (
|
|
232
232
|
<Box
|
|
233
233
|
key={group.key}
|
|
234
234
|
borderTopWidth={gi === 0 ? 0 : '1px'}
|
|
235
|
-
borderColor="
|
|
235
|
+
borderColor="border.default"
|
|
236
236
|
>
|
|
237
237
|
<Flex
|
|
238
238
|
align="center"
|
|
239
239
|
gap={2}
|
|
240
240
|
px={3}
|
|
241
241
|
py={1.5}
|
|
242
|
-
bg="
|
|
242
|
+
bg="bg.subtle"
|
|
243
243
|
cursor={group.node ? 'pointer' : 'default'}
|
|
244
|
-
_hover={group.node ? { bg: '
|
|
244
|
+
_hover={group.node ? { bg: 'primary.wash' } : undefined}
|
|
245
245
|
onClick={group.node ? () => jumpToNode(group.key) : undefined}
|
|
246
246
|
>
|
|
247
247
|
{group.def?.icon ? (
|
|
248
248
|
<Box
|
|
249
|
-
color="
|
|
249
|
+
color="fg.default"
|
|
250
250
|
display="flex"
|
|
251
251
|
alignItems="center"
|
|
252
252
|
flexShrink={0}
|
|
@@ -254,7 +254,7 @@ export function GraphErrorBanner({
|
|
|
254
254
|
<group.def.icon boxSize="xs" />
|
|
255
255
|
</Box>
|
|
256
256
|
) : null}
|
|
257
|
-
<Subtext fontWeight="semibold" color="
|
|
257
|
+
<Subtext fontWeight="semibold" color="fg.default" truncate>
|
|
258
258
|
{group.node
|
|
259
259
|
? getNodeTitle(group.node, group.def)
|
|
260
260
|
: translate('workflow_drawer_graph_group_title')}
|
|
@@ -3,29 +3,45 @@ import type { CategoryTokenMap, CategoryTokens } from './IconTile.types';
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Default mapping from the six categories to logician-ui semantic color
|
|
6
|
-
* tokens. "fg" tints the icon, "bg" fills the tile background.
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* tokens. "fg" tints the icon, "bg" fills the tile background.
|
|
7
|
+
*
|
|
8
|
+
* 5.0: category tiles are decorative, not status — so five of the six pick a
|
|
9
|
+
* `category.*` hue (purely for visual grouping, swap-able via `categoryTokens`
|
|
10
|
+
* without implying anything is wrong/warning/safe) instead of borrowing
|
|
11
|
+
* `success`/`danger`/`secondary`, which are status/brand families with their
|
|
12
|
+
* own meaning elsewhere in the same canvas. `output` has no obvious hue, so
|
|
13
|
+
* it gets the documented neutral pair (`primary.wash` + `fg.default`) instead
|
|
14
|
+
* of inventing a 13th hue. `note` keeps a real `warning.*` triple — unlike the
|
|
15
|
+
* others it already reads as "a note needs your attention", which IS a status
|
|
16
|
+
* meaning, so it stays on the status family rather than moving to a hue.
|
|
9
17
|
*
|
|
10
18
|
* Host apps that want to retheme can override the map via the
|
|
11
19
|
* `categoryTokens` prop on `<Workflow>` — see WorkflowContext.
|
|
12
20
|
*/
|
|
13
21
|
export const DEFAULT_CATEGORY_TOKENS: CategoryTokenMap = {
|
|
14
22
|
trigger: {
|
|
15
|
-
bg: '
|
|
16
|
-
fg: '
|
|
17
|
-
border: '
|
|
23
|
+
bg: 'category.green.surface',
|
|
24
|
+
fg: 'category.green.fg',
|
|
25
|
+
border: 'border.default',
|
|
26
|
+
},
|
|
27
|
+
ai: {
|
|
28
|
+
bg: 'category.purple.surface',
|
|
29
|
+
fg: 'category.purple.fg',
|
|
30
|
+
border: 'border.default',
|
|
18
31
|
},
|
|
19
|
-
ai: { bg: 'primary.lightest', fg: 'primary.main', border: 'slate.300' },
|
|
20
32
|
logic: {
|
|
21
|
-
bg: '
|
|
22
|
-
fg: '
|
|
23
|
-
border: '
|
|
33
|
+
bg: 'category.brown.surface',
|
|
34
|
+
fg: 'category.brown.fg',
|
|
35
|
+
border: 'border.default',
|
|
36
|
+
},
|
|
37
|
+
safety: {
|
|
38
|
+
bg: 'category.red.surface',
|
|
39
|
+
fg: 'category.red.fg',
|
|
40
|
+
border: 'border.default',
|
|
24
41
|
},
|
|
25
|
-
|
|
26
|
-
output: { bg: 'slate.50', fg: 'slate.1200', border: 'slate.300' },
|
|
42
|
+
output: { bg: 'primary.wash', fg: 'fg.default', border: 'border.default' },
|
|
27
43
|
// Note's `border` doubles as the body border so it reads as warm, not gray.
|
|
28
|
-
note: { bg: 'warning.
|
|
44
|
+
note: { bg: 'warning.bg', fg: 'warning.fg', border: 'warning.border' },
|
|
29
45
|
};
|
|
30
46
|
|
|
31
47
|
/**
|
|
@@ -58,7 +58,7 @@ export function IssueList({
|
|
|
58
58
|
py={1.5}
|
|
59
59
|
align="center"
|
|
60
60
|
cursor={onIssueClick ? 'pointer' : undefined}
|
|
61
|
-
_hover={onIssueClick ? { bg: '
|
|
61
|
+
_hover={onIssueClick ? { bg: 'primary.wash' } : undefined}
|
|
62
62
|
onClick={
|
|
63
63
|
onIssueClick
|
|
64
64
|
? (e) => {
|
|
@@ -72,9 +72,9 @@ export function IssueList({
|
|
|
72
72
|
w="3px"
|
|
73
73
|
flexShrink={0}
|
|
74
74
|
borderRadius="full"
|
|
75
|
-
bg={severityColorToken(issue.severity)}
|
|
75
|
+
bg={severityColorToken(issue.severity, 'solid')}
|
|
76
76
|
/>
|
|
77
|
-
<Text fontSize="sm" color="
|
|
77
|
+
<Text fontSize="sm" color="fg.default">
|
|
78
78
|
{resolveMessage ? resolveMessage(issue) : issue.message}
|
|
79
79
|
</Text>
|
|
80
80
|
</Flex>
|
|
@@ -70,16 +70,16 @@ function PaletteItem({ def }: { def: NodeTypeDef }) {
|
|
|
70
70
|
tokens={categoryTokens}
|
|
71
71
|
/>
|
|
72
72
|
<Stack gap={0} flex={1} minWidth={0}>
|
|
73
|
-
<Subtext fontWeight="semibold" color="
|
|
73
|
+
<Subtext fontWeight="semibold" color="fg.default" lineClamp={1}>
|
|
74
74
|
{def.label}
|
|
75
75
|
</Subtext>
|
|
76
76
|
{description ? (
|
|
77
|
-
<Subtext color="
|
|
77
|
+
<Subtext color="fg.muted" lineClamp={1}>
|
|
78
78
|
{description}
|
|
79
79
|
</Subtext>
|
|
80
80
|
) : null}
|
|
81
81
|
</Stack>
|
|
82
|
-
<Box color="
|
|
82
|
+
<Box color="fg.icon" display="flex" alignItems="center">
|
|
83
83
|
<GripVerticalIcon boxSize="xs" />
|
|
84
84
|
</Box>
|
|
85
85
|
</HStack>
|
|
@@ -148,16 +148,15 @@ export function NodePalette({ onClose }: { onClose: () => void }) {
|
|
|
148
148
|
px={4}
|
|
149
149
|
py={3}
|
|
150
150
|
borderBottom="1px solid"
|
|
151
|
-
borderColor="
|
|
151
|
+
borderColor="border.default"
|
|
152
152
|
>
|
|
153
|
-
<Subtitle id={titleId} color="
|
|
153
|
+
<Subtitle id={titleId} color="fg.default">
|
|
154
154
|
{translate('workflow_palette_title')}
|
|
155
155
|
</Subtitle>
|
|
156
156
|
<IconButton
|
|
157
157
|
aria-label={translate('workflow_palette_close') as string}
|
|
158
158
|
size="xs"
|
|
159
159
|
variant="ghost"
|
|
160
|
-
colorPalette="neutral"
|
|
161
160
|
onClick={onClose}
|
|
162
161
|
>
|
|
163
162
|
<CloseIcon boxSize="xs" aria-hidden />
|
|
@@ -169,7 +168,7 @@ export function NodePalette({ onClose }: { onClose: () => void }) {
|
|
|
169
168
|
<Stack key={category} gap={2}>
|
|
170
169
|
<Subtext
|
|
171
170
|
fontWeight="bold"
|
|
172
|
-
color="
|
|
171
|
+
color="fg.muted"
|
|
173
172
|
textTransform="uppercase"
|
|
174
173
|
letterSpacing="wider"
|
|
175
174
|
pl={1}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CANVAS_STROKE_TOKEN, colorVar } from '../colorVar';
|
|
1
2
|
import type { PortStyle } from './NodeShell.types';
|
|
2
3
|
|
|
3
4
|
export const CARD_WIDTH = '174px';
|
|
@@ -44,17 +45,14 @@ export const MAX_META_CHIPS = 4;
|
|
|
44
45
|
|
|
45
46
|
/**
|
|
46
47
|
* React Flow `<Handle>` takes inline SVG-style props rather than Chakra
|
|
47
|
-
* tokens, so port colors are spelled as CSS vars from the theme.
|
|
48
|
+
* tokens, so port colors are spelled as CSS vars from the theme (`colorVar`).
|
|
49
|
+
* The ring uses the same stroke token as the edges it terminates.
|
|
48
50
|
*/
|
|
49
|
-
function colorVar(token: string): string {
|
|
50
|
-
return `var(--chakra-colors-${token.replace(/\./g, '-')})`;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
51
|
export const PORT_STYLE: PortStyle = {
|
|
54
52
|
width: 8,
|
|
55
53
|
height: 8,
|
|
56
54
|
background: colorVar('bg.surface'),
|
|
57
|
-
border: `1.5px solid ${colorVar(
|
|
55
|
+
border: `1.5px solid ${colorVar(CANVAS_STROKE_TOKEN)}`,
|
|
58
56
|
};
|
|
59
57
|
|
|
60
58
|
/**
|
|
@@ -79,6 +77,6 @@ export const metaChipStyles = {
|
|
|
79
77
|
*/
|
|
80
78
|
export const metaChipToneStyles = {
|
|
81
79
|
default: {},
|
|
82
|
-
danger: { bg: 'danger.
|
|
83
|
-
warning: { bg: 'warning.
|
|
80
|
+
danger: { bg: 'danger.bg', color: 'danger.fg' },
|
|
81
|
+
warning: { bg: 'warning.bg', color: 'warning.fg' },
|
|
84
82
|
} as const;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ChakraProvider } from '@chakra-ui/react';
|
|
2
|
+
import { render } from '@testing-library/react';
|
|
3
|
+
import { ReactFlowProvider } from '@xyflow/react';
|
|
4
|
+
import { describe, expect, it } from 'vitest';
|
|
5
|
+
|
|
6
|
+
import type { CreatedIcon } from '@/components/Icon';
|
|
7
|
+
|
|
8
|
+
import { system } from '../../../../theme';
|
|
9
|
+
import type { RunState } from '../../Workflow.types';
|
|
10
|
+
import { NodeShell } from './NodeShell';
|
|
11
|
+
import type { NodeShellProps } from './NodeShell.types';
|
|
12
|
+
|
|
13
|
+
// SVG icons resolve to data URLs under vitest; the shell only needs something
|
|
14
|
+
// renderable.
|
|
15
|
+
const StubIcon = (() => null) as unknown as CreatedIcon;
|
|
16
|
+
|
|
17
|
+
function renderShell(props: Partial<NodeShellProps>) {
|
|
18
|
+
const { container } = render(
|
|
19
|
+
<ChakraProvider value={system}>
|
|
20
|
+
<ReactFlowProvider>
|
|
21
|
+
<NodeShell
|
|
22
|
+
label="Agent"
|
|
23
|
+
category="ai"
|
|
24
|
+
icon={StubIcon}
|
|
25
|
+
selected={false}
|
|
26
|
+
runState="idle"
|
|
27
|
+
issues={[]}
|
|
28
|
+
inputs={[]}
|
|
29
|
+
outputs={[]}
|
|
30
|
+
{...props}
|
|
31
|
+
/>
|
|
32
|
+
</ReactFlowProvider>
|
|
33
|
+
</ChakraProvider>
|
|
34
|
+
);
|
|
35
|
+
return container.firstElementChild as HTMLElement;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/** jsdom keeps the `outline` shorthand as written and does not expand it. */
|
|
39
|
+
const ringOf = (el: HTMLElement) => {
|
|
40
|
+
const cs = getComputedStyle(el);
|
|
41
|
+
return { outline: cs.outline, outlineColor: cs.outlineColor };
|
|
42
|
+
};
|
|
43
|
+
const SELECTION_RING = {
|
|
44
|
+
outline: '1px solid',
|
|
45
|
+
outlineColor: 'var(--chakra-colors-primary-main)',
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Selection must stay visible on top of the run-result chrome: after a run
|
|
50
|
+
* every node is done or failed, and a clicked node with no ring gives the
|
|
51
|
+
* reader no cue for which node the inspector is showing.
|
|
52
|
+
*/
|
|
53
|
+
describe('NodeShell selection ring', () => {
|
|
54
|
+
it.each<RunState>(['idle', 'done', 'error'])(
|
|
55
|
+
'a selected node in runState %s has an outline',
|
|
56
|
+
(runState) => {
|
|
57
|
+
expect(ringOf(renderShell({ selected: true, runState }))).toEqual(
|
|
58
|
+
SELECTION_RING
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
it('a selected node with a validation error has an outline', () => {
|
|
64
|
+
const card = renderShell({
|
|
65
|
+
selected: true,
|
|
66
|
+
issues: [{ severity: 'error', code: 'invalid', message: 'bad' }],
|
|
67
|
+
});
|
|
68
|
+
expect(ringOf(card)).toEqual(SELECTION_RING);
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
it.each<RunState>(['idle', 'done', 'error'])(
|
|
72
|
+
'an unselected node in runState %s has no outline',
|
|
73
|
+
(runState) => {
|
|
74
|
+
expect(ringOf(renderShell({ selected: false, runState })).outline).toBe(
|
|
75
|
+
''
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
});
|
|
@@ -60,12 +60,25 @@ function normalizeChip(spec: MetaChipSpec): {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* Ring + body
|
|
64
|
-
*
|
|
63
|
+
* Ring + body treatment per state. Notes keep their warm border in all
|
|
64
|
+
* states but still surface the primary ring when selected so the active
|
|
65
65
|
* annotation is visible.
|
|
66
66
|
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
67
|
+
* Two independent layers:
|
|
68
|
+
*
|
|
69
|
+
* - Status chrome (border + body), by precedence running > failed (run error
|
|
70
|
+
* or a validation issue) > completed > warning > default. Failed and
|
|
71
|
+
* completed tint the whole card with the status colour
|
|
72
|
+
* (`danger.bg`/`success.bg`) so the result still reads at a glance once the
|
|
73
|
+
* selection moves on. A node's own validation issues (`hasError`) get the
|
|
74
|
+
* same failed treatment as a runtime error (`runState === 'error'`) — both
|
|
75
|
+
* mean "something is wrong with this node". The default border is
|
|
76
|
+
* `border.default`.
|
|
77
|
+
* - Selection: a 1px `primary.main` outline, added on top of whatever status
|
|
78
|
+
* chrome the node has. After a run every node is done or failed, so if
|
|
79
|
+
* status replaced selection a clicked node would show no cue at all. Running
|
|
80
|
+
* wears the same outline — both mean "this is the node in focus". On a
|
|
81
|
+
* plain or warning node selection also takes the border, as before.
|
|
69
82
|
*/
|
|
70
83
|
function getRingChrome(
|
|
71
84
|
category: NodeCategory,
|
|
@@ -75,45 +88,38 @@ function getRingChrome(
|
|
|
75
88
|
runState: RunState,
|
|
76
89
|
noteBorder: string
|
|
77
90
|
): RingChrome {
|
|
91
|
+
const selectionRing = selected
|
|
92
|
+
? { outline: '1px solid', outlineColor: 'primary.main' }
|
|
93
|
+
: {};
|
|
78
94
|
if (category === 'note') {
|
|
79
|
-
|
|
80
|
-
return {
|
|
81
|
-
borderColor: noteBorder,
|
|
82
|
-
outline: '3px solid',
|
|
83
|
-
outlineColor: 'primary.lighter',
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
return { borderColor: noteBorder };
|
|
95
|
+
return { borderColor: noteBorder, ...selectionRing };
|
|
87
96
|
}
|
|
88
97
|
if (runState === 'running') {
|
|
89
98
|
return {
|
|
90
99
|
borderColor: 'primary.main',
|
|
91
|
-
outline: '
|
|
92
|
-
outlineColor: 'primary.
|
|
100
|
+
outline: '1px solid',
|
|
101
|
+
outlineColor: 'primary.main',
|
|
93
102
|
};
|
|
94
103
|
}
|
|
95
|
-
if (hasError) {
|
|
96
|
-
return {
|
|
97
|
-
borderColor: 'danger.main',
|
|
98
|
-
outline: '3px solid',
|
|
99
|
-
outlineColor: 'danger.lighter',
|
|
100
|
-
};
|
|
104
|
+
if (runState === 'error' || hasError) {
|
|
105
|
+
return { borderColor: 'danger.border', bg: 'danger.bg', ...selectionRing };
|
|
101
106
|
}
|
|
102
|
-
if (
|
|
107
|
+
if (runState === 'done') {
|
|
103
108
|
return {
|
|
104
|
-
borderColor: '
|
|
105
|
-
|
|
106
|
-
|
|
109
|
+
borderColor: 'success.border',
|
|
110
|
+
bg: 'success.bg',
|
|
111
|
+
...selectionRing,
|
|
107
112
|
};
|
|
108
113
|
}
|
|
109
|
-
if (
|
|
110
|
-
return { borderColor: '
|
|
114
|
+
if (selected) return { borderColor: 'primary.main', ...selectionRing };
|
|
115
|
+
if (hasWarning) return { borderColor: 'warning.border' };
|
|
116
|
+
return { borderColor: 'border.default' };
|
|
111
117
|
}
|
|
112
118
|
|
|
113
119
|
/**
|
|
114
120
|
* Header glyph independently selected from the ring. Error wins over
|
|
115
121
|
* warning wins over running's status dot — so an error inside a running
|
|
116
|
-
* node still surfaces the alert, instead of being hidden by the
|
|
122
|
+
* node still surfaces the alert, instead of being hidden by the primary
|
|
117
123
|
* dot.
|
|
118
124
|
*/
|
|
119
125
|
function getHeaderBadge(
|
|
@@ -123,26 +129,29 @@ function getHeaderBadge(
|
|
|
123
129
|
): ReactNode {
|
|
124
130
|
if (hasError) {
|
|
125
131
|
return (
|
|
126
|
-
<Box color="danger.
|
|
132
|
+
<Box color="danger.fg" display="flex" alignItems="center">
|
|
127
133
|
<AlertTriangleIcon boxSize="xs" />
|
|
128
134
|
</Box>
|
|
129
135
|
);
|
|
130
136
|
}
|
|
131
137
|
if (hasWarning) {
|
|
132
138
|
return (
|
|
133
|
-
<Box color="warning.
|
|
139
|
+
<Box color="warning.fg" display="flex" alignItems="center">
|
|
134
140
|
<AlertTriangleIcon boxSize="xs" />
|
|
135
141
|
</Box>
|
|
136
142
|
);
|
|
137
143
|
}
|
|
138
144
|
if (runState === 'running') {
|
|
145
|
+
// Matches the ring colour (`primary.main`) rather than `success.*` — a
|
|
146
|
+
// green "running" dot read as a false "done" signal sitting right next
|
|
147
|
+
// to the real completed state's green card fill.
|
|
139
148
|
return (
|
|
140
149
|
<Box
|
|
141
150
|
boxSize="2.5"
|
|
142
151
|
borderRadius="full"
|
|
143
|
-
bg="
|
|
152
|
+
bg="primary.main"
|
|
144
153
|
outline="3px solid"
|
|
145
|
-
outlineColor="
|
|
154
|
+
outlineColor="primary.wash"
|
|
146
155
|
/>
|
|
147
156
|
);
|
|
148
157
|
}
|
|
@@ -205,7 +214,7 @@ export function NodeShell({
|
|
|
205
214
|
outline={ring.outline}
|
|
206
215
|
outlineColor={ring.outlineColor}
|
|
207
216
|
boxShadow="sm"
|
|
208
|
-
bg={isNote ? tokens.bg : 'bg.surface'}
|
|
217
|
+
bg={isNote ? tokens.bg : (ring.bg ?? 'bg.surface')}
|
|
209
218
|
position="relative"
|
|
210
219
|
// Center the body within the port-driven min-height so a content-light
|
|
211
220
|
// node (e.g. Start) sits mid-card rather than pinned to the top edge.
|
|
@@ -217,18 +226,18 @@ export function NodeShell({
|
|
|
217
226
|
<Stack gap={1} px={3} py={2}>
|
|
218
227
|
<HStack
|
|
219
228
|
gap={1}
|
|
220
|
-
color="warning.
|
|
229
|
+
color="warning.fg"
|
|
221
230
|
fontWeight="bold"
|
|
222
231
|
letterSpacing="wider"
|
|
223
232
|
textTransform="uppercase"
|
|
224
233
|
>
|
|
225
234
|
<StickyNoteIcon boxSize="xs" />
|
|
226
|
-
<Subtext color="warning.
|
|
235
|
+
<Subtext color="warning.fg" fontWeight="bold">
|
|
227
236
|
Note
|
|
228
237
|
</Subtext>
|
|
229
238
|
</HStack>
|
|
230
239
|
{customBody ?? (
|
|
231
|
-
<Subtext color="
|
|
240
|
+
<Subtext color="fg.default" lineHeight={1.45}>
|
|
232
241
|
{instanceTitle ?? label}
|
|
233
242
|
</Subtext>
|
|
234
243
|
)}
|
|
@@ -248,11 +257,11 @@ export function NodeShell({
|
|
|
248
257
|
tokens={categoryTokens}
|
|
249
258
|
/>
|
|
250
259
|
<Stack gap={0} flex={1} minWidth={0}>
|
|
251
|
-
<Subtext fontWeight="semibold" color="
|
|
260
|
+
<Subtext fontWeight="semibold" color="fg.default" lineClamp={1}>
|
|
252
261
|
{label}
|
|
253
262
|
</Subtext>
|
|
254
263
|
{instanceTitle ? (
|
|
255
|
-
<Subtext color="
|
|
264
|
+
<Subtext color="fg.muted" lineClamp={1}>
|
|
256
265
|
{instanceTitle}
|
|
257
266
|
</Subtext>
|
|
258
267
|
) : null}
|
|
@@ -8,17 +8,18 @@ import { severityColorToken } from '../issueSeverity';
|
|
|
8
8
|
interface SeverityDotProps extends BoxProps {
|
|
9
9
|
severity: IssueSeverity;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
* tinted callout background
|
|
13
|
-
* `
|
|
11
|
+
* Which half of the status family fills the dot. `fg` reads better as a
|
|
12
|
+
* small marker on a tinted callout background (it's tuned to work on
|
|
13
|
+
* `.bg` too); `solid` suits a header dot on a plain surface. Defaults to
|
|
14
|
+
* `solid`.
|
|
14
15
|
*/
|
|
15
|
-
tone?: '
|
|
16
|
+
tone?: 'solid' | 'fg';
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
/** Small round severity marker shared by the issue callout and the issue list. */
|
|
19
20
|
export function SeverityDot({
|
|
20
21
|
severity,
|
|
21
|
-
tone = '
|
|
22
|
+
tone = 'solid',
|
|
22
23
|
...rest
|
|
23
24
|
}: SeverityDotProps) {
|
|
24
25
|
return (
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import { SCHEMES } from '../../../theme/palette.generated';
|
|
4
|
+
import { defaultEdgeOptions } from './Canvas/Canvas.styles';
|
|
5
|
+
import { colorVar } from './colorVar';
|
|
6
|
+
import { PORT_STYLE } from './NodeShell/NodeShell.styles';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Edges, arrowheads and port rings are non-text marks: they need ≥ 3:1
|
|
10
|
+
* (≥ 4.5:1 in high contrast, as in src/theme/contrast.test.ts) against every
|
|
11
|
+
* surface they sit on. The colour is read back out of the shipped styles, so
|
|
12
|
+
* the test follows whatever token the canvas actually paints.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
type Mode = 'light' | 'dark' | 'hcLight' | 'hcDark';
|
|
16
|
+
const MODES: Mode[] = ['light', 'dark', 'hcLight', 'hcDark'];
|
|
17
|
+
const SURFACES = ['bg-canvas', 'bg-surface', 'bg-subtle', 'primary-wash'];
|
|
18
|
+
|
|
19
|
+
const lum = (h: string) => {
|
|
20
|
+
const c = [1, 3, 5]
|
|
21
|
+
.map((i) => parseInt(h.slice(i, i + 2), 16) / 255)
|
|
22
|
+
.map((x) => (x <= 0.03928 ? x / 12.92 : ((x + 0.055) / 1.055) ** 2.4));
|
|
23
|
+
return 0.2126 * c[0] + 0.7152 * c[1] + 0.0722 * c[2];
|
|
24
|
+
};
|
|
25
|
+
const ratio = (a: string, b: string) => {
|
|
26
|
+
const x = lum(a);
|
|
27
|
+
const y = lum(b);
|
|
28
|
+
return (Math.max(x, y) + 0.05) / (Math.min(x, y) + 0.05);
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
const kebab = (flat: string) =>
|
|
32
|
+
flat.replace(/[A-Z]/g, (c) => `-${c.toLowerCase()}`);
|
|
33
|
+
|
|
34
|
+
/** `var(--chakra-colors-fg-icon)` → the SCHEMES value for that role. */
|
|
35
|
+
function resolveVar(
|
|
36
|
+
css: string,
|
|
37
|
+
table: Record<string, string>
|
|
38
|
+
): string | undefined {
|
|
39
|
+
const name = /var\(--chakra-colors-([a-z0-9-]+)\)/.exec(css)?.[1];
|
|
40
|
+
const key = Object.keys(table).find((k) => kebab(k) === name);
|
|
41
|
+
return key ? table[key] : undefined;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const STROKES: [string, string][] = [
|
|
45
|
+
['edge stroke', String(defaultEdgeOptions.style?.stroke)],
|
|
46
|
+
[
|
|
47
|
+
'arrowhead',
|
|
48
|
+
String(
|
|
49
|
+
(defaultEdgeOptions.markerEnd as { color?: string } | undefined)?.color
|
|
50
|
+
),
|
|
51
|
+
],
|
|
52
|
+
['port ring', String(PORT_STYLE.border)],
|
|
53
|
+
];
|
|
54
|
+
|
|
55
|
+
describe('colorVar', () => {
|
|
56
|
+
it('kebab-cases camelCase segments the way Chakra emits them', () => {
|
|
57
|
+
expect(colorVar('fg.onPrimary')).toBe('var(--chakra-colors-fg-on-primary)');
|
|
58
|
+
expect(colorVar('primary.washActive')).toBe(
|
|
59
|
+
'var(--chakra-colors-primary-wash-active)'
|
|
60
|
+
);
|
|
61
|
+
expect(colorVar('bg.surface')).toBe('var(--chakra-colors-bg-surface)');
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
describe.each(Object.keys(SCHEMES) as (keyof typeof SCHEMES)[])(
|
|
66
|
+
'canvas strokes — %s scheme',
|
|
67
|
+
(scheme) => {
|
|
68
|
+
it.each(MODES)('clear non-text contrast on every surface in %s', (mode) => {
|
|
69
|
+
const table = SCHEMES[scheme][mode] as Record<string, string>;
|
|
70
|
+
const need = mode.startsWith('hc') ? 4.5 : 3;
|
|
71
|
+
const failures = STROKES.flatMap(([what, css]) => {
|
|
72
|
+
const fg = resolveVar(css, table);
|
|
73
|
+
if (!fg) return [`${what}: ${css} names no role token`];
|
|
74
|
+
return SURFACES.flatMap((bg) => {
|
|
75
|
+
const c = ratio(fg, table[bg]);
|
|
76
|
+
return c >= need - 1e-9
|
|
77
|
+
? []
|
|
78
|
+
: [`${what} (${css}) on ${bg}: ${c.toFixed(2)} < ${need}`];
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
expect(failures).toEqual([]);
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token path → the CSS variable Chakra emits for it, for the React Flow props
|
|
3
|
+
* (`<Handle style>`, edge `style` / `markerEnd`) that take raw CSS rather than
|
|
4
|
+
* Chakra tokens. Chakra kebab-cases every segment, so `fg.onPrimary` is
|
|
5
|
+
* `--chakra-colors-fg-on-primary`; swapping only the dots would name a
|
|
6
|
+
* variable that never exists and the declaration would silently fall back.
|
|
7
|
+
*/
|
|
8
|
+
export function colorVar(token: string): string {
|
|
9
|
+
const name = token
|
|
10
|
+
.split('.')
|
|
11
|
+
.map((segment) => segment.replace(/[A-Z]/g, (c) => `-${c.toLowerCase()}`))
|
|
12
|
+
.join('-');
|
|
13
|
+
return `var(--chakra-colors-${name})`;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Colour of the canvas's structural strokes — edges, arrowheads and port
|
|
18
|
+
* rings. These are the only marks that say what connects to what, so they are
|
|
19
|
+
* non-text graphics and need ≥ 3:1 against every surface they sit on
|
|
20
|
+
* (`primary.wash` canvas, `bg.subtle` read-only canvas, `bg.canvas` in dark,
|
|
21
|
+
* `bg.surface` behind a port). `border.strong` is a separator (~1.7:1 on the
|
|
22
|
+
* wash) and fails that; `fg.icon` is the role for non-text marks and clears it
|
|
23
|
+
* in every mode (see `canvasStroke.test.ts`). 4.x drew these in `slate.700`,
|
|
24
|
+
* which deprecatedColorTokens.json maps to `neutral.8` — the same job.
|
|
25
|
+
*/
|
|
26
|
+
export const CANVAS_STROKE_TOKEN = 'fg.icon';
|