@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
|
@@ -26,37 +26,31 @@ export type LinkCustomProps<TElement extends ElementType = 'a'> =
|
|
|
26
26
|
* still clear the contrast bar. Asserting only the second half is a test that
|
|
27
27
|
* passes while the component points somewhere else entirely — which is how the
|
|
28
28
|
* dark hover regressed with a green suite.
|
|
29
|
+
*
|
|
30
|
+
* 5.0: every entry is a flipping semantic role — `fg.link` / `fg.linkHover` /
|
|
31
|
+
* `danger.fg` each already resolve to the right hex in light and dark — so a
|
|
32
|
+
* ramp step is one token, not the 4.x `{ base, _dark }` pair of hand-picked
|
|
33
|
+
* steps. There is no darker danger token than `danger.fg` today, so the error
|
|
34
|
+
* link does not change colour on hover (only its underline thickens).
|
|
29
35
|
*/
|
|
30
36
|
export const LINK_RAMP = {
|
|
31
|
-
default:
|
|
32
|
-
error:
|
|
33
|
-
defaultHover:
|
|
34
|
-
errorHover:
|
|
37
|
+
default: 'fg.link',
|
|
38
|
+
error: 'danger.fg',
|
|
39
|
+
defaultHover: 'fg.linkHover',
|
|
40
|
+
errorHover: 'danger.fg',
|
|
35
41
|
} as const;
|
|
36
42
|
|
|
37
43
|
const LinkImpl = forwardRef<HTMLAnchorElement, LinkOwnProps>(
|
|
38
44
|
({ color, variant, ...rest }, ref) => {
|
|
39
|
-
//
|
|
40
|
-
// canvas
|
|
41
|
-
//
|
|
42
|
-
//
|
|
43
|
-
//
|
|
44
|
-
//
|
|
45
|
+
// `fg.link` / `danger.fg` are flipping semantic roles, tuned against their
|
|
46
|
+
// own canvas in both modes — unlike the 4.x `primary.*` ramp, there is no
|
|
47
|
+
// light/dark arm to hand-pick here. KWCAG 2.1 5.1.3.3 (명도 대비) still
|
|
48
|
+
// applies to every state a user can put the link in: the default link's
|
|
49
|
+
// hover has its own token (`fg.linkHover`); the error link's hover keeps
|
|
50
|
+
// `danger.fg` (no darker danger token exists), so for it the thicker
|
|
51
|
+
// underline is the only hover cue.
|
|
45
52
|
const defaultColor = LINK_RAMP.default;
|
|
46
53
|
const errorColor = LINK_RAMP.error;
|
|
47
|
-
// The hover has to move AWAY from the page in BOTH modes, and `.main` is
|
|
48
|
-
// the wrong end of the ramp to move toward in dark. Mirroring the light
|
|
49
|
-
// step ("one darker") instead of reflecting it sent the dark hover back
|
|
50
|
-
// toward the background: resting 6.68:1 → hovering **4.19:1**, under the
|
|
51
|
-
// same 4.5:1 the resting colour above was just fixed to clear. KWCAG
|
|
52
|
-
// 5.3.3 applies to text in every state a user can put it in, and hover is
|
|
53
|
-
// a state a mouse user is IN while reading the link.
|
|
54
|
-
//
|
|
55
|
-
// `.darker` is the step past `.dark` at both ends, so one token is correct
|
|
56
|
-
// in both modes with no special-casing: light 11.98:1 (unchanged from
|
|
57
|
-
// before), dark 10.68:1. Error the same: 10.83:1 and 10.34:1.
|
|
58
|
-
//
|
|
59
|
-
// No axe rule would have caught this — it measures the resting state only.
|
|
60
54
|
const defaultHoverColor = LINK_RAMP.defaultHover;
|
|
61
55
|
const errorHoverColor = LINK_RAMP.errorHover;
|
|
62
56
|
|
|
@@ -75,16 +69,20 @@ const LinkImpl = forwardRef<HTMLAnchorElement, LinkOwnProps>(
|
|
|
75
69
|
return (
|
|
76
70
|
<ChakraLink
|
|
77
71
|
ref={ref}
|
|
78
|
-
//
|
|
79
|
-
//
|
|
80
|
-
//
|
|
81
|
-
//
|
|
82
|
-
|
|
72
|
+
// 5.0: links carry their own weight (500) instead of inheriting the
|
|
73
|
+
// surrounding text's, because colour alone (`fg.link`) no longer
|
|
74
|
+
// reads as an affordance against every body-text colour in the fg.*
|
|
75
|
+
// scale the way `primary.main` used to. `{...rest}` below still lets
|
|
76
|
+
// a call site override it.
|
|
77
|
+
fontWeight={500}
|
|
83
78
|
wordBreak="keep-all"
|
|
84
79
|
color={linkColor}
|
|
80
|
+
textDecoration="underline"
|
|
81
|
+
textDecorationThickness="1px"
|
|
82
|
+
textUnderlineOffset="3px"
|
|
85
83
|
_hover={{
|
|
86
84
|
color: hoverColor,
|
|
87
|
-
|
|
85
|
+
textDecorationThickness: '2px',
|
|
88
86
|
}}
|
|
89
87
|
{...rest}
|
|
90
88
|
/>
|
|
@@ -12,7 +12,7 @@ import { TypographyOwnProps } from './Typography.types';
|
|
|
12
12
|
* Part of the typography scale alongside `Subtext` — it shares the subtext size
|
|
13
13
|
* but adds the baked-in overline styling (`textStyle="overline"`: uppercase,
|
|
14
14
|
* wider tracking, medium weight). Every aspect stays one Chakra prop away, so
|
|
15
|
-
* brand/status variants are a single override (e.g. `color="
|
|
15
|
+
* brand/status variants are a single override (e.g. `color="fg.default"`,
|
|
16
16
|
* `fontWeight="extrabold"`).
|
|
17
17
|
*/
|
|
18
18
|
const OverlineImpl = forwardRef<HTMLParagraphElement, TypographyOwnProps>(
|
|
@@ -25,7 +25,7 @@ const OverlineImpl = forwardRef<HTMLParagraphElement, TypographyOwnProps>(
|
|
|
25
25
|
// If fontSize is provided, disable textStyle to allow the override
|
|
26
26
|
textStyle={fontSize ? undefined : 'overline'}
|
|
27
27
|
fontSize={fontSize}
|
|
28
|
-
color="
|
|
28
|
+
color="fg.muted"
|
|
29
29
|
wordBreak="keep-all"
|
|
30
30
|
{...rest}
|
|
31
31
|
/>
|
|
@@ -8,7 +8,7 @@ domain by registering node types, and you wire up the surrounding chrome
|
|
|
8
8
|
(persistence, validation, an inspector) however your app wants.
|
|
9
9
|
|
|
10
10
|
> Mental model: this is to a workflow editor what React Flow is to a canvas —
|
|
11
|
-
> batteries for the editor, but
|
|
11
|
+
> batteries for the editor, but _you bring the nodes_ (and decide what clicking
|
|
12
12
|
> one does).
|
|
13
13
|
|
|
14
14
|
- [Quick start](#quick-start)
|
|
@@ -52,7 +52,7 @@ const messageNode = defineNodeType<MessageConfig>({
|
|
|
52
52
|
icon: Sparkles,
|
|
53
53
|
defaultConfig: () => ({ text: '' }),
|
|
54
54
|
handles: () => ({ inputs: [{ id: 'in' }], outputs: [{ id: 'out' }] }),
|
|
55
|
-
getMetaChips: config => (config.text ? [config.text] : []),
|
|
55
|
+
getMetaChips: (config) => (config.text ? [config.text] : []),
|
|
56
56
|
// Optional: the body shown in the inspector drawer when this node is selected.
|
|
57
57
|
renderDrawer: ({ config, onChange, readOnly }) => (
|
|
58
58
|
<FormControl>
|
|
@@ -60,7 +60,7 @@ const messageNode = defineNodeType<MessageConfig>({
|
|
|
60
60
|
<Input
|
|
61
61
|
value={config.text}
|
|
62
62
|
disabled={readOnly}
|
|
63
|
-
onChange={e => onChange({ ...config, text: e.target.value })}
|
|
63
|
+
onChange={(e) => onChange({ ...config, text: e.target.value })}
|
|
64
64
|
/>
|
|
65
65
|
</FormControl>
|
|
66
66
|
),
|
|
@@ -92,24 +92,24 @@ A node type is a plain object created with `defineNodeType<TConfig>(...)`, where
|
|
|
92
92
|
`TConfig` is the shape of that node's `config`. The framework knows nothing about
|
|
93
93
|
your kinds — it just renders what the registry describes.
|
|
94
94
|
|
|
95
|
-
| Field
|
|
96
|
-
|
|
|
97
|
-
| `kind`
|
|
98
|
-
| `label`
|
|
99
|
-
| `category`
|
|
100
|
-
| `icon`
|
|
101
|
-
| `defaultConfig`
|
|
102
|
-
| `handles`
|
|
103
|
-
| `renderDrawer`
|
|
104
|
-
| `renderNode`
|
|
105
|
-
| `getInstanceTitle`
|
|
106
|
-
| `getMetaChips`
|
|
107
|
-
| `descriptionKey` / `description`
|
|
108
|
-
| `placement`
|
|
109
|
-
| `canConnect`
|
|
110
|
-
| `outputSchema`
|
|
111
|
-
| `getGraphIssues`
|
|
112
|
-
| `localizeDefaults` / `hostDefaults` | –
|
|
95
|
+
| Field | Required | Purpose |
|
|
96
|
+
| ----------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
97
|
+
| `kind` | ✓ | Stable id for the type (e.g. `'message'`). Used in `node.kind` and id generation. Keep it English/snake-ish. |
|
|
98
|
+
| `label` | ✓ | Short operational noun shown on the card and in the palette. Intentionally **not** translated (matches n8n/Make/Dify). |
|
|
99
|
+
| `category` | ✓ | One of `trigger` · `ai` · `logic` · `safety` · `output` · `note`. Drives the icon-tile color. Color attaches to **category**, not kind. |
|
|
100
|
+
| `icon` | ✓ | A `CreatedIcon` (wrap any icon with `createIcon` from this package, or use one of the exported icons). |
|
|
101
|
+
| `defaultConfig` | ✓ | Value or factory `() => TConfig` for a freshly-dropped node. Prefer the factory for nested/mutable defaults. |
|
|
102
|
+
| `handles` | ✓ | `(config) => ({ inputs, outputs })`. Can depend on config (e.g. a classifier emitting one output per category). |
|
|
103
|
+
| `renderDrawer` | – | The inspector body for this kind. Omit and clicking the node is a no-op for editing. |
|
|
104
|
+
| `renderNode` | – | Escape hatch to fully replace the card body (e.g. a sticky Note). Most types use `getInstanceTitle` + `getMetaChips` instead. |
|
|
105
|
+
| `getInstanceTitle` | – | `(config) => string` for the snake_case identifier line. Defaults to the node id. |
|
|
106
|
+
| `getMetaChips` | – | `(config) => (string \| { text, tone })[]` — small chips under the title. `tone: 'danger' \| 'warning'` tints a value. |
|
|
107
|
+
| `descriptionKey` / `description` | – | Palette description. Prefer `descriptionKey` (resolved through your `translate`). |
|
|
108
|
+
| `placement` | – | Declarative constraints read by the palette/canvas: `minCount`, `maxCount`, `pinned` (can't delete), `role: 'start' \| 'end'`, `mustFollow(Directly)`. |
|
|
109
|
+
| `canConnect` | – | `(ctx) => boolean \| string` to reject a connection (return a reason string to explain). |
|
|
110
|
+
| `outputSchema` | – | `(config) => JSONSchema \| undefined` for variable-resolution features. |
|
|
111
|
+
| `getGraphIssues` | – | FE, graph-aware advisories merged into the node's canvas chrome (e.g. an unconnected required exit). Pure + cheap; runs every render. |
|
|
112
|
+
| `localizeDefaults` / `hostDefaults` | – | Overlay defaults at creation time using the translator / the `hostBridge` (e.g. seed a node's model from the tenant's live list). |
|
|
113
113
|
|
|
114
114
|
`resolveDefaultConfig(def)` is exported if you need to materialize a default
|
|
115
115
|
config yourself.
|
|
@@ -138,7 +138,7 @@ each node type's `renderDrawer` — that's where domain-specific UI lives (model
|
|
|
138
138
|
pickers, validators, even modals). The framework never sees it.
|
|
139
139
|
|
|
140
140
|
**3. Fully custom — drive your own UI.** Omit `<NodeInspector>` entirely and render
|
|
141
|
-
your own panel
|
|
141
|
+
your own panel _anywhere in your app_ from the selection signal. See below.
|
|
142
142
|
|
|
143
143
|
---
|
|
144
144
|
|
|
@@ -248,7 +248,7 @@ function AddAgentButton() {
|
|
|
248
248
|
## Controlled vs uncontrolled graph
|
|
249
249
|
|
|
250
250
|
- **Controlled:** pass `graph` and `onGraphChange`. You own the source of truth.
|
|
251
|
-
Pass a
|
|
251
|
+
Pass a _stable_ reference and update it from `onGraphChange`.
|
|
252
252
|
- **Uncontrolled:** pass `defaultGraph` (or nothing) and read changes via
|
|
253
253
|
`onGraphChange` if you like. The component keeps its own state.
|
|
254
254
|
|
|
@@ -283,7 +283,7 @@ reload.
|
|
|
283
283
|
|
|
284
284
|
## Validation & issues
|
|
285
285
|
|
|
286
|
-
Validation is **not** built in — the editor
|
|
286
|
+
Validation is **not** built in — the editor _renders_ issues you supply, it does
|
|
287
287
|
not compute them. This keeps the source of truth wherever it belongs (usually
|
|
288
288
|
your backend).
|
|
289
289
|
|
|
@@ -291,7 +291,7 @@ your backend).
|
|
|
291
291
|
<Workflow
|
|
292
292
|
nodeTypes={NODE_TYPES}
|
|
293
293
|
graph={graph}
|
|
294
|
-
issues={issues}
|
|
294
|
+
issues={issues} // Issue[] you own — render-only
|
|
295
295
|
validating={isRevalidating} // show a "rechecking" affordance, keep prior issues
|
|
296
296
|
/>
|
|
297
297
|
```
|
|
@@ -300,10 +300,10 @@ your backend).
|
|
|
300
300
|
type Issue = {
|
|
301
301
|
severity: 'error' | 'warning';
|
|
302
302
|
code: string;
|
|
303
|
-
message: string;
|
|
304
|
-
nodeId?: string;
|
|
305
|
-
edgeId?: string;
|
|
306
|
-
fieldKey?: string;
|
|
303
|
+
message: string; // English fallback
|
|
304
|
+
nodeId?: string; // attaches to a node
|
|
305
|
+
edgeId?: string; // attaches to an edge
|
|
306
|
+
fieldKey?: string; // renders inline under a specific field
|
|
307
307
|
messageVars?: Record<string, string | number>;
|
|
308
308
|
};
|
|
309
309
|
```
|
|
@@ -371,7 +371,13 @@ depends on it.
|
|
|
371
371
|
|
|
372
372
|
```tsx
|
|
373
373
|
// Static, read-only thumbnail.
|
|
374
|
-
<Workflow
|
|
374
|
+
<Workflow
|
|
375
|
+
nodeTypes={NODE_TYPES}
|
|
376
|
+
graph={graph}
|
|
377
|
+
readOnly
|
|
378
|
+
showPalette={false}
|
|
379
|
+
minHeight={0}
|
|
380
|
+
/>
|
|
375
381
|
```
|
|
376
382
|
|
|
377
383
|
Advanced: `useWorkflow()` (inside the tree) exposes the graph, `dispatch`,
|
|
@@ -382,28 +388,28 @@ surfaces.
|
|
|
382
388
|
|
|
383
389
|
## Props reference
|
|
384
390
|
|
|
385
|
-
| Prop
|
|
386
|
-
|
|
|
387
|
-
| `nodeTypes`
|
|
388
|
-
| `graph`
|
|
389
|
-
| `onGraphChange`
|
|
390
|
-
| `defaultGraph`
|
|
391
|
-
| `translate`
|
|
392
|
-
| `issues`
|
|
393
|
-
| `validating`
|
|
394
|
-
| `readOnly`
|
|
395
|
-
| `showPalette`
|
|
396
|
-
| `onSelectionChange`
|
|
397
|
-
| `onNodeClick` / `onEdgeClick` | `(node) / (edge) => void`
|
|
398
|
-
| `onArrange`
|
|
399
|
-
| `onHistoryNavigate`
|
|
400
|
-
| `children`
|
|
401
|
-
| `renderSelectedNodeToolbar`
|
|
402
|
-
| `footer`
|
|
403
|
-
| `categoryTokens`
|
|
404
|
-
| `hostBridge`
|
|
405
|
-
| `minHeight`
|
|
406
|
-
| `onIssuesChange`
|
|
391
|
+
| Prop | Type | Notes |
|
|
392
|
+
| ----------------------------- | --------------------------- | --------------------------------------------------- |
|
|
393
|
+
| `nodeTypes` | `NodeTypeDef[]` | **Required.** Your registered kinds. |
|
|
394
|
+
| `graph` | `Graph` | Controlled graph (pair with `onGraphChange`). |
|
|
395
|
+
| `onGraphChange` | `(g: Graph) => void` | Fired on every edit. |
|
|
396
|
+
| `defaultGraph` | `Graph` | Uncontrolled initial graph. |
|
|
397
|
+
| `translate` | `(key, vars?) => ReactNode` | Chrome + `descriptionKey` translator. |
|
|
398
|
+
| `issues` | `Issue[]` | Render-only validation (pass a stable ref). |
|
|
399
|
+
| `validating` | `boolean` | Show "rechecking" while issues are stale/in-flight. |
|
|
400
|
+
| `readOnly` | `boolean` | Disable editing; palette hidden. |
|
|
401
|
+
| `showPalette` | `boolean` | Default `true`. |
|
|
402
|
+
| `onSelectionChange` | `(sel \| null) => void` | Selection changed (node/edge/deselect). |
|
|
403
|
+
| `onNodeClick` / `onEdgeClick` | `(node) / (edge) => void` | Raw click convenience. |
|
|
404
|
+
| `onArrange` | `(g: Graph) => void` | After one-click auto-arrange. |
|
|
405
|
+
| `onHistoryNavigate` | `(g: Graph) => void` | After undo/redo. |
|
|
406
|
+
| `children` | `ReactNode` | Canvas overlay slot (mount `<NodeInspector>` here). |
|
|
407
|
+
| `renderSelectedNodeToolbar` | `(node) => ReactNode` | Content beside the selected node (e.g. a "+"). |
|
|
408
|
+
| `footer` | `ReactNode` | Slot below the canvas. |
|
|
409
|
+
| `categoryTokens` | `CategoryTokenMap` | Override category → color tokens. |
|
|
410
|
+
| `hostBridge` | `unknown` | Opaque host data for inspectors. |
|
|
411
|
+
| `minHeight` | `string \| number` | Default `'500px'`. |
|
|
412
|
+
| `onIssuesChange` | `(issues) => void` | Notified when the issues ref changes. |
|
|
407
413
|
|
|
408
414
|
`<NodeInspector>`: `dock?: 'left' | 'right'`, `renderEdgeDrawer?: ComponentType<EdgeDrawerRenderProps>`.
|
|
409
415
|
|
|
@@ -51,12 +51,13 @@ export function BranchLabelBadge({
|
|
|
51
51
|
boxShadow="sm"
|
|
52
52
|
_dark={{
|
|
53
53
|
boxShadow: '0 0 0 1px {colors.border.strong}',
|
|
54
|
-
// slate.300, not the
|
|
55
|
-
// resolves `bg.*`
|
|
56
|
-
//
|
|
57
|
-
// the
|
|
58
|
-
//
|
|
59
|
-
|
|
54
|
+
// neutral.5 (the 5.0 step the 4.x slate.300 aliases to), not the
|
|
55
|
+
// semantically-equivalent bg.emphasized: Chakra resolves `bg.*`
|
|
56
|
+
// tokens referenced inside a nested condition to their BASE value
|
|
57
|
+
// (rendering the light-gray light-mode fill in dark mode); the step
|
|
58
|
+
// scale resolves correctly here. No upstream issue filed — verified
|
|
59
|
+
// via rendered-DOM probe, 2026-06-12.
|
|
60
|
+
bgColor: badgeVariant === 'neutral' ? 'neutral.5' : undefined,
|
|
60
61
|
}}
|
|
61
62
|
cursor={onClick ? 'pointer' : 'default'}
|
|
62
63
|
onClick={onClick}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { type DefaultEdgeOptions, MarkerType } from '@xyflow/react';
|
|
2
2
|
|
|
3
|
+
import { CANVAS_STROKE_TOKEN, colorVar } from '../colorVar';
|
|
4
|
+
|
|
3
5
|
/**
|
|
4
|
-
* Edge defaults. Stroke comes from a theme token (
|
|
5
|
-
* since React Flow takes SVG-style props, not Chakra ones. The label
|
|
6
|
+
* Edge defaults. Stroke comes from a theme token (`CANVAS_STROKE_TOKEN`,
|
|
7
|
+
* `fg.icon` — a non-text mark, so ≥ 3:1 on the canvas) via CSS var since React Flow takes SVG-style props, not Chakra ones. The label
|
|
6
8
|
* itself is rendered through the `labeled` custom edge so its
|
|
7
9
|
* typography uses the design system's semantic `Subtext` primitive —
|
|
8
10
|
* see `LabeledEdge.tsx`. The arrowhead makes each edge's direction
|
|
@@ -11,12 +13,12 @@ import { type DefaultEdgeOptions, MarkerType } from '@xyflow/react';
|
|
|
11
13
|
export const defaultEdgeOptions: DefaultEdgeOptions = {
|
|
12
14
|
type: 'labeled',
|
|
13
15
|
style: {
|
|
14
|
-
stroke:
|
|
16
|
+
stroke: colorVar(CANVAS_STROKE_TOKEN),
|
|
15
17
|
strokeWidth: 1.5,
|
|
16
18
|
},
|
|
17
19
|
markerEnd: {
|
|
18
20
|
type: MarkerType.ArrowClosed,
|
|
19
|
-
color:
|
|
21
|
+
color: colorVar(CANVAS_STROKE_TOKEN),
|
|
20
22
|
width: 18,
|
|
21
23
|
height: 18,
|
|
22
24
|
},
|
|
@@ -41,13 +43,13 @@ export const canvasSelectionCss = {
|
|
|
41
43
|
// before it's selected. Listed before the `.selected` rule (equal
|
|
42
44
|
// specificity) so selection styling wins when an edge is both.
|
|
43
45
|
'& .react-flow__edge:hover .react-flow__edge-path': {
|
|
44
|
-
stroke: 'var(--chakra-colors-
|
|
46
|
+
stroke: 'var(--chakra-colors-fg-default)',
|
|
45
47
|
strokeWidth: 2,
|
|
46
48
|
},
|
|
47
49
|
'& .react-flow__edge.selected .react-flow__edge-path': {
|
|
48
50
|
stroke: 'var(--chakra-colors-primary-main)',
|
|
49
51
|
strokeWidth: 2.5,
|
|
50
|
-
filter: 'drop-shadow(0 0 4px var(--chakra-colors-primary-
|
|
52
|
+
filter: 'drop-shadow(0 0 4px var(--chakra-colors-primary-wash-active))',
|
|
51
53
|
},
|
|
52
54
|
'& .react-flow__edge.selected .react-flow__edge-interaction': {
|
|
53
55
|
stroke: 'var(--chakra-colors-primary-main)',
|
|
@@ -57,20 +59,20 @@ export const canvasSelectionCss = {
|
|
|
57
59
|
// the stock look). A solid surface (rather than transparent buttons) keeps the
|
|
58
60
|
// icons legible as the canvas pans content beneath the cluster, and matches the
|
|
59
61
|
// minimap panel in the opposite corner. Frame it like the node cards — md
|
|
60
|
-
// radius +
|
|
62
|
+
// radius + border.default border + shadow — so it reads as a deliberate floating
|
|
61
63
|
// toolbar; the border carries the definition in dark mode where the stock
|
|
62
64
|
// shadow is invisible on the dark canvas. `overflow: hidden` clips the stacked
|
|
63
65
|
// buttons to the rounded corners (tooltips portal out, so they aren't clipped).
|
|
64
66
|
'& .react-flow__controls': {
|
|
65
67
|
'--xy-controls-button-background-color': 'var(--chakra-colors-bg-surface)',
|
|
66
68
|
'--xy-controls-button-background-color-hover':
|
|
67
|
-
'var(--chakra-colors-
|
|
68
|
-
'--xy-controls-button-color': 'var(--chakra-colors-
|
|
69
|
-
'--xy-controls-button-color-hover': 'var(--chakra-colors-
|
|
70
|
-
'--xy-controls-button-border-color': 'var(--chakra-colors-
|
|
69
|
+
'var(--chakra-colors-neutral-2)',
|
|
70
|
+
'--xy-controls-button-color': 'var(--chakra-colors-fg-icon)',
|
|
71
|
+
'--xy-controls-button-color-hover': 'var(--chakra-colors-fg-default)',
|
|
72
|
+
'--xy-controls-button-border-color': 'var(--chakra-colors-border-default)',
|
|
71
73
|
'--xy-controls-box-shadow': 'var(--chakra-shadows-sm)',
|
|
72
74
|
borderRadius: 'var(--chakra-radii-md)',
|
|
73
|
-
border: '1px solid var(--chakra-colors-
|
|
75
|
+
border: '1px solid var(--chakra-colors-border-default)',
|
|
74
76
|
overflow: 'hidden',
|
|
75
77
|
},
|
|
76
78
|
// Our control glyphs (lucide Plus/Minus + Tabler arrows/lock/maximize/sitemap)
|
|
@@ -657,14 +657,14 @@ function CanvasInner({
|
|
|
657
657
|
// Tint the whole canvas region — not just the React Flow column — so the
|
|
658
658
|
// floating palette (left) and inspector (right) read as cards over a tinted
|
|
659
659
|
// surface instead of white sidebars. Read-only (version preview) drops to a
|
|
660
|
-
// neutral gray so the mode reads as "not your live workspace".
|
|
661
|
-
// Dark mode uses bg.canvas for both:
|
|
662
|
-
//
|
|
663
|
-
//
|
|
664
|
-
//
|
|
665
|
-
//
|
|
660
|
+
// neutral gray (`bg.subtle`) so the mode reads as "not your live workspace".
|
|
661
|
+
// Dark mode uses bg.canvas for both: a saturated full-canvas tint would
|
|
662
|
+
// overpower the desaturated dark palette, and a light neutral wash would
|
|
663
|
+
// sit ABOVE bg.surface, which would invert the node cards' lift. bg.canvas
|
|
664
|
+
// keeps the cards lifted in both modes; read-only is still cued by the
|
|
665
|
+
// absent editor chrome.
|
|
666
666
|
bgColor={{
|
|
667
|
-
base: readOnly ? '
|
|
667
|
+
base: readOnly ? 'bg.subtle' : 'primary.wash',
|
|
668
668
|
_dark: 'bg.canvas',
|
|
669
669
|
}}
|
|
670
670
|
>
|
|
@@ -749,8 +749,8 @@ function CanvasInner({
|
|
|
749
749
|
pannable
|
|
750
750
|
zoomable
|
|
751
751
|
bgColor="var(--chakra-colors-bg-surface)"
|
|
752
|
-
nodeColor="var(--chakra-colors-
|
|
753
|
-
maskColor="color-mix(in srgb, var(--chakra-colors-
|
|
752
|
+
nodeColor="var(--chakra-colors-border-default)"
|
|
753
|
+
maskColor="color-mix(in srgb, var(--chakra-colors-bg-subtle) 60%, transparent)"
|
|
754
754
|
/>
|
|
755
755
|
</ReactFlow>
|
|
756
756
|
{showPalette && !isPaletteOpen ? (
|
|
@@ -181,8 +181,8 @@ export function LabeledEdge({
|
|
|
181
181
|
aria-label={translate('workflow_edge_delete') as string}
|
|
182
182
|
onClick={onDelete}
|
|
183
183
|
size="xs"
|
|
184
|
-
variant="
|
|
185
|
-
|
|
184
|
+
variant="secondary"
|
|
185
|
+
isDestructive
|
|
186
186
|
bg="bg.surface"
|
|
187
187
|
borderRadius="full"
|
|
188
188
|
>
|
|
@@ -67,11 +67,11 @@ export function CollapsibleSection({
|
|
|
67
67
|
bg="transparent"
|
|
68
68
|
border="none"
|
|
69
69
|
textAlign="left"
|
|
70
|
-
_hover={{ bg: '
|
|
70
|
+
_hover={{ bg: 'primary.wash' }}
|
|
71
71
|
>
|
|
72
72
|
<Subtext
|
|
73
73
|
fontWeight="bold"
|
|
74
|
-
color="
|
|
74
|
+
color="fg.muted"
|
|
75
75
|
textTransform="uppercase"
|
|
76
76
|
letterSpacing="wider"
|
|
77
77
|
>
|
|
@@ -79,9 +79,9 @@ export function CollapsibleSection({
|
|
|
79
79
|
</Subtext>
|
|
80
80
|
<HStack gap={1.5} onClick={(e) => e.stopPropagation()}>
|
|
81
81
|
{headerAction}
|
|
82
|
-
<Box color="
|
|
82
|
+
<Box color="fg.muted" display="flex" alignItems="center">
|
|
83
83
|
{showErrorGlyph ? (
|
|
84
|
-
<AlertCircleIcon boxSize="xs" color="danger.
|
|
84
|
+
<AlertCircleIcon boxSize="xs" color="danger.fg" />
|
|
85
85
|
) : expanded ? (
|
|
86
86
|
<ChevronUpIcon boxSize="xs" />
|
|
87
87
|
) : (
|
|
@@ -60,7 +60,7 @@ export function DrawerHeader({
|
|
|
60
60
|
px={4}
|
|
61
61
|
py={3}
|
|
62
62
|
borderBottom="1px solid"
|
|
63
|
-
borderColor="
|
|
63
|
+
borderColor="border.default"
|
|
64
64
|
>
|
|
65
65
|
<HStack gap={2} minW={0} flex="1">
|
|
66
66
|
{icon}
|
|
@@ -68,7 +68,7 @@ export function DrawerHeader({
|
|
|
68
68
|
{title}
|
|
69
69
|
</Text>
|
|
70
70
|
{subtitle ? (
|
|
71
|
-
<Subtext color="
|
|
71
|
+
<Subtext color="fg.subtle" flexShrink={0}>
|
|
72
72
|
{subtitle}
|
|
73
73
|
</Subtext>
|
|
74
74
|
) : null}
|
|
@@ -81,7 +81,6 @@ export function DrawerHeader({
|
|
|
81
81
|
aria-label={translate('workflow_node_overflow_label') as string}
|
|
82
82
|
size="xs"
|
|
83
83
|
variant="ghost"
|
|
84
|
-
colorPalette="neutral"
|
|
85
84
|
>
|
|
86
85
|
<DotsHorizontalIcon boxSize="xs" />
|
|
87
86
|
</IconButton>
|
|
@@ -93,7 +92,6 @@ export function DrawerHeader({
|
|
|
93
92
|
aria-label={translate('workflow_node_close') as string}
|
|
94
93
|
size="xs"
|
|
95
94
|
variant="ghost"
|
|
96
|
-
colorPalette="neutral"
|
|
97
95
|
onClick={onClose}
|
|
98
96
|
>
|
|
99
97
|
<CloseIcon boxSize="xs" aria-hidden />
|
|
@@ -27,7 +27,7 @@ interface DrawerIssuesProps {
|
|
|
27
27
|
* then the messages as a bulleted list beneath. Severities never mix in a box
|
|
28
28
|
* so the icon, heading and tint stay meaningful.
|
|
29
29
|
*
|
|
30
|
-
* Markers use the severity's `
|
|
30
|
+
* Markers use the severity's `fg` tone via `SeverityDot` — the CSS list
|
|
31
31
|
* `::marker` defaults to a muted grey that reads as an odd low-contrast dot on
|
|
32
32
|
* the tinted background.
|
|
33
33
|
*/
|
|
@@ -63,7 +63,7 @@ function IssueCallout({
|
|
|
63
63
|
<VStack align="stretch" gap={0.5} ps={1}>
|
|
64
64
|
{issues.map((issue, i) => (
|
|
65
65
|
<HStack key={`${issue.code}_${i}`} gap={2} align="flex-start">
|
|
66
|
-
<SeverityDot severity={severity} tone="
|
|
66
|
+
<SeverityDot severity={severity} tone="fg" mt={1.5} />
|
|
67
67
|
<Subtext color={color}>{resolveMessage(issue)}</Subtext>
|
|
68
68
|
</HStack>
|
|
69
69
|
))}
|
|
@@ -244,7 +244,7 @@ function NodeDrawer({
|
|
|
244
244
|
const header = (
|
|
245
245
|
<DrawerHeader
|
|
246
246
|
icon={
|
|
247
|
-
<Box color="
|
|
247
|
+
<Box color="fg.icon" display="flex" alignItems="center">
|
|
248
248
|
<Icon boxSize="xs" />
|
|
249
249
|
</Box>
|
|
250
250
|
}
|
|
@@ -269,7 +269,7 @@ function NodeDrawer({
|
|
|
269
269
|
</Menu.Item>
|
|
270
270
|
<Menu.Item
|
|
271
271
|
value="delete"
|
|
272
|
-
color="danger.
|
|
272
|
+
color="danger.fg"
|
|
273
273
|
onClick={() => {
|
|
274
274
|
dispatch({ type: 'deleteNode', id: node.id });
|
|
275
275
|
setDrawerTarget(null);
|
|
@@ -298,7 +298,7 @@ function NodeDrawer({
|
|
|
298
298
|
onChange={applyConfig}
|
|
299
299
|
/>
|
|
300
300
|
) : (
|
|
301
|
-
<Text color="
|
|
301
|
+
<Text color="fg.muted" fontSize="sm" px={4} py={4}>
|
|
302
302
|
{translate('workflow_drawer_empty_settings')}
|
|
303
303
|
</Text>
|
|
304
304
|
)}
|
|
@@ -390,11 +390,11 @@ function EdgeDrawer({
|
|
|
390
390
|
{/* Explicit delete affordance for the edge — outside the read-only
|
|
391
391
|
fieldset, and hidden entirely in the version-history preview. */}
|
|
392
392
|
{readOnly ? null : (
|
|
393
|
-
<Box borderTopWidth="1px" borderColor="
|
|
393
|
+
<Box borderTopWidth="1px" borderColor="border.default" px={4} py={3}>
|
|
394
394
|
<Button
|
|
395
395
|
size="sm"
|
|
396
|
-
variant="
|
|
397
|
-
|
|
396
|
+
variant="secondary"
|
|
397
|
+
isDestructive
|
|
398
398
|
width="100%"
|
|
399
399
|
onClick={onDelete}
|
|
400
400
|
>
|
|
@@ -84,7 +84,7 @@ export function BuiltInEdgeInspector({
|
|
|
84
84
|
</FieldWrapper>
|
|
85
85
|
|
|
86
86
|
<Stack gap={1.5}>
|
|
87
|
-
<Subtext fontWeight="semibold" color="
|
|
87
|
+
<Subtext fontWeight="semibold" color="fg.default">
|
|
88
88
|
{translate('workflow_edge_endpoints_heading') as string}
|
|
89
89
|
</Subtext>
|
|
90
90
|
<Stack gap={2}>
|
|
@@ -127,9 +127,9 @@ function EndpointRow({
|
|
|
127
127
|
}) {
|
|
128
128
|
return (
|
|
129
129
|
<Stack gap={0.5}>
|
|
130
|
-
<Subtext color="
|
|
131
|
-
<Subtext color="
|
|
132
|
-
{portLabel ? <Subtext color="
|
|
130
|
+
<Subtext color="fg.muted">{label}</Subtext>
|
|
131
|
+
<Subtext color="fg.default">{title}</Subtext>
|
|
132
|
+
{portLabel ? <Subtext color="fg.subtle">{portLabel}</Subtext> : null}
|
|
133
133
|
</Stack>
|
|
134
134
|
);
|
|
135
135
|
}
|
|
@@ -93,7 +93,7 @@ export function FieldWrapper({
|
|
|
93
93
|
return (
|
|
94
94
|
<Stack ref={containerRef} gap={1.5}>
|
|
95
95
|
<HStack justify="space-between" align="center" gap={2}>
|
|
96
|
-
<Subtext fontWeight="semibold" color="
|
|
96
|
+
<Subtext fontWeight="semibold" color="fg.default">
|
|
97
97
|
{label}
|
|
98
98
|
</Subtext>
|
|
99
99
|
{labelAction ?? null}
|
|
@@ -111,7 +111,7 @@ export function FieldWrapper({
|
|
|
111
111
|
<Subtext color={toneColor}>{resolveIssueMessage(issue)}</Subtext>
|
|
112
112
|
</HStack>
|
|
113
113
|
) : helperText ? (
|
|
114
|
-
<Subtext color="
|
|
114
|
+
<Subtext color="fg.muted">{helperText}</Subtext>
|
|
115
115
|
) : null}
|
|
116
116
|
</Stack>
|
|
117
117
|
);
|