@clickhouse/click-ui 0.0.1 → 0.0.3
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/.eslintrc.cjs +1 -0
- package/.prettierrc +14 -0
- package/.storybook/main.ts +1 -0
- package/.storybook/manager.ts +11 -0
- package/.storybook/preview-head.html +2 -4
- package/.storybook/preview.tsx +13 -4
- package/.storybook/theme.ts +16 -0
- package/build-tokens.js +6 -6
- package/dist/App.d.ts +2 -0
- package/dist/assets/RightArrow/RightArrow.d.ts +1 -0
- package/dist/assets/S3Logo/S3Logo.d.ts +1 -0
- package/dist/components/Accordion/Accordion.d.ts +27 -0
- package/dist/components/Accordion/Accordion.stories.d.ts +21 -0
- package/dist/components/Accordion/Accordion.test.d.ts +1 -0
- package/dist/components/Alert/Alert.d.ts +16 -0
- package/dist/components/Alert/Alert.stories.d.ts +12 -0
- package/dist/components/Alert/Alert.test.d.ts +1 -0
- package/dist/components/Avatar/Avatar.d.ts +7 -0
- package/dist/components/Avatar/Avatar.stories.d.ts +11 -0
- package/dist/components/Badge/Badge.d.ts +16 -0
- package/dist/components/Badge/Badge.stories.d.ts +34 -0
- package/dist/components/Badge/Badge.test.d.ts +1 -0
- package/dist/components/BigStat/BigStat.d.ts +10 -0
- package/dist/components/BigStat/BigStat.stories.d.ts +20 -0
- package/dist/components/Button/Button.d.ts +23 -0
- package/dist/components/Button/Button.stories.d.ts +28 -0
- package/dist/components/Button/Button.test.d.ts +1 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +6 -0
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +12 -0
- package/dist/components/Card/Card.d.ts +10 -0
- package/dist/components/Card/Card.stories.d.ts +16 -0
- package/dist/components/Checkbox/Checkbox.d.ts +5 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +29 -0
- package/dist/components/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts +38 -0
- package/dist/components/ContextMenu/ContextMenu.stories.d.ts +30 -0
- package/dist/components/ContextMenu/ContextMenu.test.d.ts +1 -0
- package/dist/components/Dropdown/Dropdown.d.ts +38 -0
- package/dist/components/Dropdown/Dropdown.stories.d.ts +36 -0
- package/dist/components/Dropdown/Dropdown.test.d.ts +1 -0
- package/dist/components/FormField/Label.d.ts +7 -0
- package/dist/components/FormField/Label.stories.d.ts +28 -0
- package/dist/components/FormField/Select.d.ts +43 -0
- package/dist/components/FormField/Select.stories.d.ts +54 -0
- package/dist/components/FormField/Select.test.d.ts +0 -0
- package/dist/components/FormField/SelectContext.d.ts +24 -0
- package/dist/components/FormField/commonElement.d.ts +1100 -0
- package/dist/components/GenericMenu.d.ts +764 -0
- package/dist/components/HoverCard/HoverCard.d.ts +20 -0
- package/dist/components/HoverCard/HoverCard.stories.d.ts +36 -0
- package/dist/components/HoverCard/HoverCard.test.d.ts +0 -0
- package/dist/components/Icon/Icon.d.ts +571 -0
- package/dist/components/Icon/Icon.stories.d.ts +495 -0
- package/dist/components/Icon/types.d.ts +8 -0
- package/dist/components/IconButton/IconButton.d.ts +15 -0
- package/dist/components/IconButton/IconButton.stories.d.ts +30 -0
- package/dist/components/IconButton/IconButton.test.d.ts +1 -0
- package/dist/components/Panel/Panel.d.ts +11 -0
- package/dist/components/Panel/Panel.stories.d.ts +23 -0
- package/dist/components/Popover/Popover.d.ts +23 -0
- package/dist/components/Popover/Popover.stories.d.ts +43 -0
- package/dist/components/Popover/Popover.test.d.ts +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +17 -0
- package/dist/components/RadioGroup/RadioGroup.stories.d.ts +39 -0
- package/dist/components/RadioGroup/RadioGroup.test.d.ts +1 -0
- package/dist/components/Separator/Separator.d.ts +6 -0
- package/dist/components/SidebarNavigationItem/SidebarNavigationItem.d.ts +17 -0
- package/dist/components/SidebarNavigationItem/SidebarNavigationItem.stories.d.ts +20 -0
- package/dist/components/Spacer/Spacer.d.ts +4 -0
- package/dist/components/Spacer/Spacer.stories.d.ts +19 -0
- package/dist/components/Switch/Switch.d.ts +7 -0
- package/dist/components/Switch/Switch.stories.d.ts +13 -0
- package/dist/components/Table/Table.d.ts +568 -0
- package/dist/components/Table/Table.stories.d.ts +575 -0
- package/dist/components/Tabs/Tabs.d.ts +848 -0
- package/dist/components/Tabs/Tabs.stories.d.ts +845 -0
- package/dist/components/Tabs/Tabs.test.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +17 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +45 -0
- package/dist/components/Tooltip/Tooltip.test.d.ts +1 -0
- package/dist/components/Typography/Text/Text.d.ts +12 -0
- package/dist/components/Typography/Text/Text.stories.d.ts +22 -0
- package/dist/components/Typography/Text/Text.test.d.ts +1 -0
- package/dist/components/Typography/Title/Title.d.ts +14 -0
- package/dist/components/Typography/Title/Title.stories.d.ts +35 -0
- package/dist/components/Typography/Title/Title.test.d.ts +1 -0
- package/dist/components/icons/Activity.d.ts +3 -0
- package/dist/components/icons/ArrowDown.d.ts +3 -0
- package/dist/components/icons/ArrowRight.d.ts +3 -0
- package/dist/components/icons/ArrowTriangle.d.ts +3 -0
- package/dist/components/icons/ArrowUp.d.ts +3 -0
- package/dist/components/icons/Backups.d.ts +3 -0
- package/dist/components/icons/Blog.d.ts +3 -0
- package/dist/components/icons/Book.d.ts +3 -0
- package/dist/components/icons/Brackets.d.ts +3 -0
- package/dist/components/icons/Briefcase.d.ts +3 -0
- package/dist/components/icons/Building.d.ts +3 -0
- package/dist/components/icons/BurgerMenu.d.ts +3 -0
- package/dist/components/icons/Cards.d.ts +3 -0
- package/dist/components/icons/CellTower.d.ts +3 -0
- package/dist/components/icons/ChatIcon.d.ts +3 -0
- package/dist/components/icons/CheckIcon.d.ts +3 -0
- package/dist/components/icons/CheckInCircle.d.ts +3 -0
- package/dist/components/icons/ChevronDown.d.ts +2 -0
- package/dist/components/icons/ChevronLeft.d.ts +3 -0
- package/dist/components/icons/ChevronRight.d.ts +2 -0
- package/dist/components/icons/ChevronUp.d.ts +3 -0
- package/dist/components/icons/Clock.d.ts +3 -0
- package/dist/components/icons/Cloud.d.ts +3 -0
- package/dist/components/icons/Code.d.ts +3 -0
- package/dist/components/icons/CodeInSquare.d.ts +3 -0
- package/dist/components/icons/Connect.d.ts +3 -0
- package/dist/components/icons/ConnectAlt.d.ts +3 -0
- package/dist/components/icons/Console.d.ts +3 -0
- package/dist/components/icons/Copy.d.ts +3 -0
- package/dist/components/icons/CrossIcon.d.ts +3 -0
- package/dist/components/icons/Data.d.ts +3 -0
- package/dist/components/icons/DatabaseIcon.d.ts +3 -0
- package/dist/components/icons/Disk.d.ts +3 -0
- package/dist/components/icons/Display.d.ts +3 -0
- package/dist/components/icons/Document.d.ts +3 -0
- package/dist/components/icons/DotsHorizontal.d.ts +3 -0
- package/dist/components/icons/DotsVertical.d.ts +3 -0
- package/dist/components/icons/Email.d.ts +3 -0
- package/dist/components/icons/Empty.d.ts +3 -0
- package/dist/components/icons/FilterIcon.d.ts +3 -0
- package/dist/components/icons/Fire.d.ts +3 -0
- package/dist/components/icons/Flags/EuropeanUnion.d.ts +3 -0
- package/dist/components/icons/Flags/Germany.d.ts +3 -0
- package/dist/components/icons/Flags/India.d.ts +3 -0
- package/dist/components/icons/Flags/Ireland.d.ts +3 -0
- package/dist/components/icons/Flags/Netherlands.d.ts +3 -0
- package/dist/components/icons/Flags/Singapore.d.ts +2 -0
- package/dist/components/icons/Flags/UnitedKingdom.d.ts +3 -0
- package/dist/components/icons/Flags/UnitedStates.d.ts +3 -0
- package/dist/components/icons/Flags/index.d.ts +6 -0
- package/dist/components/icons/Folder.d.ts +3 -0
- package/dist/components/icons/Gift.d.ts +3 -0
- package/dist/components/icons/HistoryIcon.d.ts +3 -0
- package/dist/components/icons/Home.d.ts +3 -0
- package/dist/components/icons/Http.d.ts +3 -0
- package/dist/components/icons/InfoInCircleIcon.d.ts +3 -0
- package/dist/components/icons/InformationIcon.d.ts +3 -0
- package/dist/components/icons/InsertRowIcon.d.ts +3 -0
- package/dist/components/icons/Integrations.d.ts +3 -0
- package/dist/components/icons/LightBulb.d.ts +3 -0
- package/dist/components/icons/Lightening.d.ts +3 -0
- package/dist/components/icons/Loading.d.ts +3 -0
- package/dist/components/icons/Metrics.d.ts +3 -0
- package/dist/components/icons/MetricsAlt.d.ts +3 -0
- package/dist/components/icons/Payment.d.ts +3 -0
- package/dist/components/icons/Payments/Amex.d.ts +3 -0
- package/dist/components/icons/Payments/MasterCard.d.ts +3 -0
- package/dist/components/icons/Payments/Paypal.d.ts +3 -0
- package/dist/components/icons/Payments/Visa.d.ts +3 -0
- package/dist/components/icons/Payments/index.d.ts +6 -0
- package/dist/components/icons/Pencil.d.ts +3 -0
- package/dist/components/icons/PieChart.d.ts +3 -0
- package/dist/components/icons/Play.d.ts +3 -0
- package/dist/components/icons/Plus.d.ts +3 -0
- package/dist/components/icons/Popout.d.ts +3 -0
- package/dist/components/icons/PopoverArrow.d.ts +3 -0
- package/dist/components/icons/Question.d.ts +3 -0
- package/dist/components/icons/Refresh.d.ts +3 -0
- package/dist/components/icons/Search.d.ts +3 -0
- package/dist/components/icons/Secure.d.ts +3 -0
- package/dist/components/icons/Services.d.ts +3 -0
- package/dist/components/icons/Settings.d.ts +3 -0
- package/dist/components/icons/Share.d.ts +3 -0
- package/dist/components/icons/SlideIn.d.ts +3 -0
- package/dist/components/icons/SlideOut.d.ts +3 -0
- package/dist/components/icons/SortAltIcon.d.ts +3 -0
- package/dist/components/icons/SortIcon.d.ts +3 -0
- package/dist/components/icons/Sparkle.d.ts +3 -0
- package/dist/components/icons/Speaker.d.ts +3 -0
- package/dist/components/icons/Speed.d.ts +3 -0
- package/dist/components/icons/Star.d.ts +3 -0
- package/dist/components/icons/Support.d.ts +3 -0
- package/dist/components/icons/Table.d.ts +3 -0
- package/dist/components/icons/Taxi.d.ts +3 -0
- package/dist/components/icons/Trash.d.ts +3 -0
- package/dist/components/icons/Upload.d.ts +3 -0
- package/dist/components/icons/Url.d.ts +3 -0
- package/dist/components/icons/UserIcon.d.ts +2 -0
- package/dist/components/icons/UsersIcon.d.ts +2 -0
- package/dist/components/icons/WarningIcon.d.ts +3 -0
- package/dist/components/index.d.ts +24 -0
- package/dist/components/types.d.ts +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.cjs +442 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +16474 -0
- package/dist/logo.svg +17 -0
- package/dist/main.d.ts +0 -0
- package/dist/styles/types.d.ts +2087 -0
- package/dist/styles/variables.classic.json.d.ts +204 -0
- package/dist/styles/variables.dark.json.d.ts +896 -0
- package/dist/styles/variables.json.d.ts +2089 -0
- package/dist/styles/variables.light.json.d.ts +951 -0
- package/dist/theme/index.d.ts +10 -0
- package/dist/theme/theme.d.ts +6 -0
- package/dist/vite.svg +1 -0
- package/package.json +24 -5
- package/public/favicon.ico +0 -0
- package/public/logo.svg +17 -0
- package/src/App.tsx +102 -39
- package/src/components/Accordion/Accordion.stories.tsx +4 -54
- package/src/components/Accordion/Accordion.tsx +1 -0
- package/src/components/Alert/Alert.stories.tsx +14 -0
- package/src/components/Alert/Alert.test.tsx +27 -0
- package/src/components/Alert/Alert.tsx +130 -0
- package/src/components/Avatar/Avatar.stories.tsx +13 -0
- package/src/components/Avatar/Avatar.tsx +64 -0
- package/src/components/Badge/Badge.stories.ts +19 -3
- package/src/components/Badge/Badge.test.tsx +6 -1
- package/src/components/Badge/Badge.tsx +67 -13
- package/src/components/BigStat/BigStat.stories.ts +10 -5
- package/src/components/BigStat/BigStat.tsx +36 -24
- package/src/components/Button/Button.stories.ts +12 -68
- package/src/components/Button/Button.test.tsx +2 -2
- package/src/components/Button/Button.tsx +59 -41
- package/src/components/ButtonGroup/ButtonGroup.stories.ts +3 -3
- package/src/components/Card/Card.stories.ts +3 -3
- package/src/components/Checkbox/Checkbox.stories.tsx +35 -0
- package/src/components/Checkbox/Checkbox.test.tsx +41 -0
- package/src/components/Checkbox/Checkbox.tsx +89 -0
- package/src/components/ContextMenu/ContextMenu.stories.tsx +73 -0
- package/src/components/ContextMenu/ContextMenu.test.tsx +152 -0
- package/src/components/ContextMenu/ContextMenu.tsx +155 -0
- package/src/components/Dropdown/Dropdown.stories.tsx +64 -0
- package/src/components/Dropdown/Dropdown.test.tsx +141 -0
- package/src/components/Dropdown/Dropdown.tsx +149 -0
- package/src/components/FormField/Label.stories.tsx +39 -0
- package/src/components/FormField/Label.tsx +47 -0
- package/src/components/FormField/Select.stories.tsx +48 -0
- package/src/components/FormField/Select.test.tsx +216 -0
- package/src/components/FormField/Select.tsx +574 -0
- package/src/components/FormField/SelectContext.tsx +101 -0
- package/src/components/FormField/commonElement.tsx +42 -0
- package/src/components/GenericMenu.tsx +114 -0
- package/src/components/HoverCard/HoverCard.stories.tsx +64 -0
- package/src/components/HoverCard/HoverCard.test.tsx +85 -0
- package/src/components/HoverCard/HoverCard.tsx +65 -0
- package/src/components/Icon/Icon.stories.ts +4 -35
- package/src/components/Icon/Icon.tsx +166 -18
- package/src/components/Icon/types.ts +78 -1
- package/src/components/IconButton/IconButton.stories.ts +25 -7
- package/src/components/IconButton/IconButton.test.tsx +32 -0
- package/src/components/IconButton/IconButton.tsx +60 -71
- package/src/components/Panel/Panel.stories.tsx +25 -0
- package/src/components/Panel/Panel.tsx +33 -0
- package/src/components/Popover/Popover.stories.tsx +67 -0
- package/src/components/Popover/Popover.test.tsx +46 -0
- package/src/components/Popover/Popover.tsx +115 -0
- package/src/components/RadioGroup/RadioGroup.stories.tsx +43 -0
- package/src/components/RadioGroup/RadioGroup.test.tsx +59 -0
- package/src/components/RadioGroup/RadioGroup.tsx +149 -0
- package/src/components/Separator/Separator.stories.tsx +24 -0
- package/src/components/Separator/Separator.tsx +29 -0
- package/src/components/SidebarNavigationItem/SidebarNavigationItem.stories.tsx +2 -2
- package/src/components/Spacer/Spacer.stories.tsx +20 -0
- package/src/components/Spacer/Spacer.tsx +15 -0
- package/src/components/Switch/Switch.stories.ts +3 -3
- package/src/components/Switch/Switch.tsx +3 -2
- package/src/components/Table/Table.stories.tsx +29 -0
- package/src/components/Table/Table.tsx +109 -0
- package/src/components/Tabs/Tabs.stories.tsx +2 -37
- package/src/components/Tooltip/Tooltip.stories.tsx +68 -0
- package/src/components/Tooltip/Tooltip.test.tsx +44 -0
- package/src/components/Tooltip/Tooltip.tsx +67 -0
- package/src/components/Typography/Text/Text.stories.tsx +22 -0
- package/src/components/Typography/Text/Text.test.tsx +16 -0
- package/src/components/Typography/Text/Text.tsx +30 -0
- package/src/components/Typography/Title/Title.stories.tsx +31 -0
- package/src/components/Typography/Title/Title.test.tsx +16 -0
- package/src/components/Typography/Title/Title.tsx +36 -0
- package/src/components/icons/Activity.tsx +30 -0
- package/src/components/icons/ArrowDown.tsx +22 -0
- package/src/components/icons/ArrowRight.tsx +22 -0
- package/src/components/icons/ArrowTriangle.tsx +36 -0
- package/src/components/icons/ArrowUp.tsx +22 -0
- package/src/components/icons/Backups.tsx +29 -0
- package/src/components/icons/Blog.tsx +38 -0
- package/src/components/icons/Book.tsx +30 -0
- package/src/components/icons/Brackets.tsx +22 -0
- package/src/components/icons/Briefcase.tsx +30 -0
- package/src/components/icons/Building.tsx +30 -0
- package/src/components/icons/BurgerMenu.tsx +22 -0
- package/src/components/icons/Cards.tsx +30 -0
- package/src/components/icons/CellTower.tsx +21 -0
- package/src/components/icons/CheckIcon.tsx +21 -0
- package/src/components/icons/CheckInCircle.tsx +39 -0
- package/src/components/icons/ChevronDown.tsx +19 -5
- package/src/components/icons/ChevronLeft.tsx +22 -0
- package/src/components/icons/ChevronRight.tsx +3 -3
- package/src/components/icons/ChevronUp.tsx +22 -0
- package/src/components/icons/Clock.tsx +37 -0
- package/src/components/icons/Cloud.tsx +23 -0
- package/src/components/icons/Code.tsx +22 -0
- package/src/components/icons/CodeInSquare.tsx +30 -0
- package/src/components/icons/Connect.tsx +22 -0
- package/src/components/icons/ConnectAlt.tsx +30 -0
- package/src/components/icons/Console.tsx +30 -0
- package/src/components/icons/Copy.tsx +33 -0
- package/src/components/icons/CrossIcon.tsx +29 -0
- package/src/components/icons/Data.tsx +36 -0
- package/src/components/icons/DatabaseIcon.tsx +27 -29
- package/src/components/icons/Disk.tsx +30 -0
- package/src/components/icons/Display.tsx +30 -0
- package/src/components/icons/Document.tsx +30 -0
- package/src/components/icons/DotsHorizontal.tsx +36 -0
- package/src/components/icons/DotsVertical.tsx +33 -0
- package/src/components/icons/Email.tsx +33 -0
- package/src/components/icons/Empty.tsx +14 -0
- package/src/components/icons/FilterIcon.tsx +29 -16
- package/src/components/icons/Fire.tsx +23 -0
- package/src/components/icons/Folder.tsx +20 -0
- package/src/components/icons/Gift.tsx +21 -0
- package/src/components/icons/HistoryIcon.tsx +13 -13
- package/src/components/icons/Home.tsx +29 -0
- package/src/components/icons/Http.tsx +22 -0
- package/src/components/icons/Icons.mdx +31 -28
- package/src/components/icons/InfoInCircleIcon.tsx +37 -0
- package/src/components/icons/InformationIcon.tsx +34 -0
- package/src/components/icons/InsertRowIcon.tsx +30 -32
- package/src/components/icons/Integrations.tsx +29 -0
- package/src/components/icons/LightBulb.tsx +40 -0
- package/src/components/icons/Lightening.tsx +30 -0
- package/src/components/icons/Loading.tsx +57 -0
- package/src/components/icons/Metrics.tsx +38 -0
- package/src/components/icons/MetricsAlt.tsx +30 -0
- package/src/components/icons/Payment.tsx +23 -0
- package/src/components/icons/Payments/Amex.tsx +44 -0
- package/src/components/icons/Payments/MasterCard.tsx +48 -0
- package/src/components/icons/Payments/Paypal.tsx +41 -0
- package/src/components/icons/Payments/Visa.tsx +36 -0
- package/src/components/icons/Payments/index.tsx +30 -0
- package/src/components/icons/Pencil.tsx +30 -0
- package/src/components/icons/PieChart.tsx +30 -0
- package/src/components/icons/Play.tsx +30 -0
- package/src/components/icons/Plus.tsx +22 -0
- package/src/components/icons/Popout.tsx +22 -0
- package/src/components/icons/PopoverArrow.tsx +22 -0
- package/src/components/icons/Question.tsx +30 -0
- package/src/components/icons/Refresh.tsx +29 -0
- package/src/components/icons/Search.tsx +22 -0
- package/src/components/icons/Secure.tsx +30 -0
- package/src/components/icons/Services.tsx +23 -0
- package/src/components/icons/Settings.tsx +22 -0
- package/src/components/icons/Share.tsx +29 -0
- package/src/components/icons/SlideIn.tsx +28 -0
- package/src/components/icons/SlideOut.tsx +28 -0
- package/src/components/icons/SortAltIcon.tsx +18 -20
- package/src/components/icons/SortIcon.tsx +24 -0
- package/src/components/icons/Sparkle.tsx +23 -0
- package/src/components/icons/Speaker.tsx +30 -0
- package/src/components/icons/Speed.tsx +29 -0
- package/src/components/icons/Star.tsx +23 -0
- package/src/components/icons/Support.tsx +37 -0
- package/src/components/icons/Table.tsx +30 -0
- package/src/components/icons/Taxi.tsx +120 -0
- package/src/components/icons/Trash.tsx +22 -0
- package/src/components/icons/Upload.tsx +29 -0
- package/src/components/icons/Url.tsx +22 -0
- package/src/components/icons/UsersIcon.tsx +27 -27
- package/src/components/icons/WarningIcon.tsx +30 -0
- package/src/components/index.ts +31 -10
- package/src/index.ts +2 -2
- package/src/styles/types.ts +715 -295
- package/src/styles/variables.classic.json +171 -0
- package/src/styles/variables.dark.json +447 -129
- package/src/styles/variables.json +830 -410
- package/src/styles/variables.light.json +339 -179
- package/tokens/themes/$themes.json +3657 -1
- package/tokens/themes/classic.json +492 -0
- package/tokens/themes/component.json +1126 -441
- package/tokens/themes/dark.json +1871 -758
- package/tokens/themes/light.json +852 -266
- package/tokens/themes/primitives.json +294 -210
- package/vite.config.ts +6 -4
- package/app/.babelrc +0 -27
- package/app/.eslintrc.json +0 -6
- package/app/.storybook/main.ts +0 -17
- package/app/.storybook/preview.tsx +0 -26
- package/app/README.md +0 -38
- package/app/next.config.js +0 -6
- package/app/package-lock.json +0 -28711
- package/app/package.json +0 -44
- package/app/public/favicon.ico +0 -0
- package/app/public/next.svg +0 -1
- package/app/public/vercel.svg +0 -1
- package/app/src/assets/RightArrow/right-arrow.tsx +0 -17
- package/app/src/assets/S3Logo/s3-logo.tsx +0 -31
- package/app/src/assets/amazon_s3.svg +0 -9
- package/app/src/assets/arrow.svg +0 -3
- package/app/src/globals.d.ts +0 -4
- package/app/src/pages/_app.tsx +0 -8
- package/app/src/pages/_document.tsx +0 -17
- package/app/src/pages/api/hello.ts +0 -13
- package/app/src/pages/index.tsx +0 -141
- package/app/src/pages/label.tsx +0 -27
- package/app/src/stories/assets/code-brackets.svg +0 -1
- package/app/src/stories/assets/colors.svg +0 -1
- package/app/src/stories/assets/comments.svg +0 -1
- package/app/src/stories/assets/direction.svg +0 -1
- package/app/src/stories/assets/flow.svg +0 -1
- package/app/src/stories/assets/plugin.svg +0 -1
- package/app/src/stories/assets/repo.svg +0 -1
- package/app/src/stories/assets/stackalt.svg +0 -1
- package/app/src/styles/Home.module.css +0 -235
- package/app/src/styles/globals.css +0 -111
- package/app/src/styles/types.ts +0 -1031
- package/app/src/styles/variables.classic.css +0 -16
- package/app/src/styles/variables.classic.json +0 -31
- package/app/src/styles/variables.css +0 -763
- package/app/src/styles/variables.dark.css +0 -135
- package/app/src/styles/variables.dark.json +0 -339
- package/app/src/styles/variables.json +0 -1029
- package/app/src/styles/variables.light.css +0 -203
- package/app/src/styles/variables.light.json +0 -478
- package/app/tokens/themes/$metadata.json +0 -9
- package/app/tokens/themes/$themes.json +0 -1
- package/app/tokens/themes/classic.json +0 -58
- package/app/tokens/themes/component.json +0 -868
- package/app/tokens/themes/dark.json +0 -937
- package/app/tokens/themes/light.json +0 -1380
- package/app/tokens/themes/primitives.json +0 -859
- package/app/tsconfig.json +0 -23
- package/src/components/FormField/FormField.stories.ts +0 -14
- package/src/components/FormField/FormField.tsx +0 -22
|
@@ -53,6 +53,498 @@
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
+
},
|
|
57
|
+
"button": {
|
|
58
|
+
"basic": {
|
|
59
|
+
"color": {
|
|
60
|
+
"primary": {
|
|
61
|
+
"background": {
|
|
62
|
+
"default": {
|
|
63
|
+
"value": "{palette.warning.500}",
|
|
64
|
+
"type": "color"
|
|
65
|
+
},
|
|
66
|
+
"hover": {
|
|
67
|
+
"value": "{palette.slate.700}",
|
|
68
|
+
"type": "color"
|
|
69
|
+
},
|
|
70
|
+
"active": {
|
|
71
|
+
"value": "{palette.slate.900}",
|
|
72
|
+
"type": "color"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"stroke": {
|
|
76
|
+
"default": {
|
|
77
|
+
"value": "{click.button.basic.color.primary.background.default}",
|
|
78
|
+
"type": "color"
|
|
79
|
+
},
|
|
80
|
+
"hover": {
|
|
81
|
+
"value": "{click.button.basic.color.primary.background.hover}",
|
|
82
|
+
"type": "color"
|
|
83
|
+
},
|
|
84
|
+
"active": {
|
|
85
|
+
"value": "{click.button.basic.color.primary.background.active}",
|
|
86
|
+
"type": "color"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"text": {
|
|
90
|
+
"default": {
|
|
91
|
+
"value": "{palette.neutral.900}",
|
|
92
|
+
"type": "color"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"secondary": {
|
|
97
|
+
"background": {
|
|
98
|
+
"default": {
|
|
99
|
+
"value": "{palette.utility.transparent}",
|
|
100
|
+
"type": "color"
|
|
101
|
+
},
|
|
102
|
+
"hover": {
|
|
103
|
+
"value": "{click.global.color.background.muted}",
|
|
104
|
+
"type": "color"
|
|
105
|
+
},
|
|
106
|
+
"active": {
|
|
107
|
+
"value": "{click.button.basic.color.secondary.background.hover}",
|
|
108
|
+
"type": "color",
|
|
109
|
+
"$extensions": {
|
|
110
|
+
"studio.tokens": {
|
|
111
|
+
"modify": {
|
|
112
|
+
"type": "darken",
|
|
113
|
+
"value": "0.02",
|
|
114
|
+
"space": "lch"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"stroke": {
|
|
121
|
+
"default": {
|
|
122
|
+
"value": "{click.global.color.stroke.default}",
|
|
123
|
+
"type": "color"
|
|
124
|
+
},
|
|
125
|
+
"hover": {
|
|
126
|
+
"value": "{palette.slate.100}",
|
|
127
|
+
"type": "color"
|
|
128
|
+
},
|
|
129
|
+
"active": {
|
|
130
|
+
"value": "{palette.slate.200}",
|
|
131
|
+
"type": "color"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"text": {
|
|
135
|
+
"default": {
|
|
136
|
+
"value": "{click.global.color.text.default}",
|
|
137
|
+
"type": "color"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"disabled": {
|
|
142
|
+
"background": {
|
|
143
|
+
"default": {
|
|
144
|
+
"value": "{palette.neutral.200}",
|
|
145
|
+
"type": "color"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"text": {
|
|
149
|
+
"default": {
|
|
150
|
+
"value": "{palette.neutral.400}",
|
|
151
|
+
"type": "color"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"danger": {
|
|
156
|
+
"background": {
|
|
157
|
+
"default": {
|
|
158
|
+
"value": "{click.feedback.color.danger.background}",
|
|
159
|
+
"type": "color"
|
|
160
|
+
},
|
|
161
|
+
"hover": {
|
|
162
|
+
"value": "{palette.danger.200}",
|
|
163
|
+
"type": "color"
|
|
164
|
+
},
|
|
165
|
+
"active": {
|
|
166
|
+
"value": "{palette.danger.100}",
|
|
167
|
+
"type": "color"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"text": {
|
|
171
|
+
"default": {
|
|
172
|
+
"value": "{click.feedback.color.danger.foreground}",
|
|
173
|
+
"type": "color"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"group": {
|
|
180
|
+
"color": {
|
|
181
|
+
"background": {
|
|
182
|
+
"default": {
|
|
183
|
+
"value": "{palette.neutral.0}",
|
|
184
|
+
"type": "color"
|
|
185
|
+
},
|
|
186
|
+
"hover": {
|
|
187
|
+
"value": "{click.button.basic.color.secondary.background.hover}",
|
|
188
|
+
"type": "color"
|
|
189
|
+
},
|
|
190
|
+
"active": {
|
|
191
|
+
"value": "{click.button.basic.color.secondary.background.active}",
|
|
192
|
+
"type": "color"
|
|
193
|
+
},
|
|
194
|
+
"panel": {
|
|
195
|
+
"value": "{click.button.group.color.background.default}",
|
|
196
|
+
"type": "color"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"text": {
|
|
200
|
+
"default": {
|
|
201
|
+
"value": "{palette.slate.900}",
|
|
202
|
+
"type": "color"
|
|
203
|
+
},
|
|
204
|
+
"hover": {
|
|
205
|
+
"value": "{click.button.group.color.text.default}",
|
|
206
|
+
"type": "color"
|
|
207
|
+
},
|
|
208
|
+
"active": {
|
|
209
|
+
"value": "{palette.neutral.900}",
|
|
210
|
+
"type": "color"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"stroke": {
|
|
214
|
+
"panel": {
|
|
215
|
+
"value": "{click.global.color.stroke.default}",
|
|
216
|
+
"type": "color"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"split": {
|
|
222
|
+
"primary": {
|
|
223
|
+
"stroke": {
|
|
224
|
+
"default": {
|
|
225
|
+
"value": "{click.button.basic.color.primary.background.default}",
|
|
226
|
+
"type": "color",
|
|
227
|
+
"$extensions": {
|
|
228
|
+
"studio.tokens": {
|
|
229
|
+
"modify": {
|
|
230
|
+
"type": "lighten",
|
|
231
|
+
"value": "0.05",
|
|
232
|
+
"space": "lch"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"active": {
|
|
238
|
+
"value": "{click.button.basic.color.primary.background.default}",
|
|
239
|
+
"type": "color",
|
|
240
|
+
"$extensions": {
|
|
241
|
+
"studio.tokens": {
|
|
242
|
+
"modify": {
|
|
243
|
+
"type": "darken",
|
|
244
|
+
"value": "0.15",
|
|
245
|
+
"space": "lch"
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"hover": {
|
|
251
|
+
"value": "{click.button.split.primary.background.action.hover}",
|
|
252
|
+
"type": "color",
|
|
253
|
+
"$extensions": {
|
|
254
|
+
"studio.tokens": {
|
|
255
|
+
"modify": {
|
|
256
|
+
"type": "lighten",
|
|
257
|
+
"value": "0.1",
|
|
258
|
+
"space": "lch"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"background": {
|
|
265
|
+
"main": {
|
|
266
|
+
"default": {
|
|
267
|
+
"value": "{click.button.basic.color.primary.background.default}",
|
|
268
|
+
"type": "color",
|
|
269
|
+
"$extensions": {
|
|
270
|
+
"studio.tokens": {
|
|
271
|
+
"modify": {
|
|
272
|
+
"type": "darken",
|
|
273
|
+
"value": "0.085",
|
|
274
|
+
"space": "lch"
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"hover": {
|
|
280
|
+
"value": "{click.button.basic.color.primary.background.hover}",
|
|
281
|
+
"type": "color",
|
|
282
|
+
"$extensions": {
|
|
283
|
+
"studio.tokens": {
|
|
284
|
+
"modify": {
|
|
285
|
+
"type": "darken",
|
|
286
|
+
"value": "0.085",
|
|
287
|
+
"space": "lch"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"active": {
|
|
293
|
+
"value": "{click.button.basic.color.primary.background.active}",
|
|
294
|
+
"type": "color",
|
|
295
|
+
"$extensions": {
|
|
296
|
+
"studio.tokens": {
|
|
297
|
+
"modify": {
|
|
298
|
+
"type": "darken",
|
|
299
|
+
"value": "0.085",
|
|
300
|
+
"space": "lch"
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"action": {
|
|
307
|
+
"default": {
|
|
308
|
+
"value": "{palette.slate.900}",
|
|
309
|
+
"type": "color"
|
|
310
|
+
},
|
|
311
|
+
"hover": {
|
|
312
|
+
"value": "{click.button.split.primary.background.main.hover}",
|
|
313
|
+
"type": "color",
|
|
314
|
+
"$extensions": {
|
|
315
|
+
"studio.tokens": {
|
|
316
|
+
"modify": {
|
|
317
|
+
"type": "darken",
|
|
318
|
+
"value": "0.05",
|
|
319
|
+
"space": "lch"
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"active": {
|
|
325
|
+
"value": "{palette.slate.900}",
|
|
326
|
+
"type": "color",
|
|
327
|
+
"$extensions": {
|
|
328
|
+
"studio.tokens": {
|
|
329
|
+
"modify": {
|
|
330
|
+
"type": "darken",
|
|
331
|
+
"value": "0.5",
|
|
332
|
+
"space": "lch"
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"text": {
|
|
340
|
+
"default": {
|
|
341
|
+
"value": "{click.button.basic.color.primary.text.default}",
|
|
342
|
+
"type": "color"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
"iconButton": {
|
|
348
|
+
"color": {
|
|
349
|
+
"primary": {
|
|
350
|
+
"background": {
|
|
351
|
+
"default": {
|
|
352
|
+
"value": "{palette.utility.transparent}",
|
|
353
|
+
"type": "color"
|
|
354
|
+
},
|
|
355
|
+
"hover": {
|
|
356
|
+
"value": "{click.global.color.background.muted}",
|
|
357
|
+
"type": "color"
|
|
358
|
+
},
|
|
359
|
+
"active": {
|
|
360
|
+
"value": "{click.global.color.background.muted}",
|
|
361
|
+
"type": "color",
|
|
362
|
+
"$extensions": {
|
|
363
|
+
"studio.tokens": {
|
|
364
|
+
"modify": {
|
|
365
|
+
"type": "darken",
|
|
366
|
+
"value": "0.1",
|
|
367
|
+
"space": "srgb"
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"stroke": {
|
|
374
|
+
"default": {
|
|
375
|
+
"value": "{click.button.iconButton.color.primary.background.default}",
|
|
376
|
+
"type": "color"
|
|
377
|
+
},
|
|
378
|
+
"hover": {
|
|
379
|
+
"value": "{click.button.iconButton.color.primary.background.hover}",
|
|
380
|
+
"type": "color"
|
|
381
|
+
},
|
|
382
|
+
"active": {
|
|
383
|
+
"value": "{click.button.iconButton.color.primary.background.active}",
|
|
384
|
+
"type": "color"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"text": {
|
|
388
|
+
"default": {
|
|
389
|
+
"value": "{click.global.color.text.default}",
|
|
390
|
+
"type": "color"
|
|
391
|
+
},
|
|
392
|
+
"hover": {
|
|
393
|
+
"value": "{click.global.color.text.default}",
|
|
394
|
+
"type": "color"
|
|
395
|
+
},
|
|
396
|
+
"active": {
|
|
397
|
+
"value": "{click.global.color.text.default}",
|
|
398
|
+
"type": "color"
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
"secondary": {
|
|
403
|
+
"background": {
|
|
404
|
+
"default": {
|
|
405
|
+
"value": "{click.button.basic.color.primary.background.default}",
|
|
406
|
+
"type": "color"
|
|
407
|
+
},
|
|
408
|
+
"hover": {
|
|
409
|
+
"value": "{click.button.basic.color.primary.background.hover}",
|
|
410
|
+
"type": "color"
|
|
411
|
+
},
|
|
412
|
+
"active": {
|
|
413
|
+
"value": "{click.button.basic.color.primary.background.active}",
|
|
414
|
+
"type": "color",
|
|
415
|
+
"$extensions": {
|
|
416
|
+
"studio.tokens": {
|
|
417
|
+
"modify": {
|
|
418
|
+
"type": "darken",
|
|
419
|
+
"value": "0.05",
|
|
420
|
+
"space": "lch"
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"stroke": {
|
|
427
|
+
"default": {
|
|
428
|
+
"value": "{click.button.iconButton.color.primary.background.default}",
|
|
429
|
+
"type": "color"
|
|
430
|
+
},
|
|
431
|
+
"hover": {
|
|
432
|
+
"value": "{click.button.iconButton.color.secondary.background.hover}",
|
|
433
|
+
"type": "color"
|
|
434
|
+
},
|
|
435
|
+
"active": {
|
|
436
|
+
"value": "{click.button.iconButton.color.secondary.background.active}",
|
|
437
|
+
"type": "color"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"text": {
|
|
441
|
+
"default": {
|
|
442
|
+
"value": "{click.button.basic.color.primary.text.default}",
|
|
443
|
+
"type": "color"
|
|
444
|
+
},
|
|
445
|
+
"hover": {
|
|
446
|
+
"value": "{click.button.basic.color.primary.text.default}",
|
|
447
|
+
"type": "color"
|
|
448
|
+
},
|
|
449
|
+
"active": {
|
|
450
|
+
"value": "{click.button.basic.color.primary.text.default}",
|
|
451
|
+
"type": "color"
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"disabled": {
|
|
456
|
+
"background": {
|
|
457
|
+
"default": {
|
|
458
|
+
"value": "{palette.neutral.200}",
|
|
459
|
+
"type": "color"
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
"text": {
|
|
463
|
+
"default": {
|
|
464
|
+
"value": "{palette.neutral.400}",
|
|
465
|
+
"type": "color"
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"danger": {
|
|
470
|
+
"background": {
|
|
471
|
+
"default": {
|
|
472
|
+
"value": "{click.feedback.color.danger.background}",
|
|
473
|
+
"type": "color"
|
|
474
|
+
},
|
|
475
|
+
"hover": {
|
|
476
|
+
"value": "{palette.danger.200}",
|
|
477
|
+
"type": "color"
|
|
478
|
+
},
|
|
479
|
+
"active": {
|
|
480
|
+
"value": "{palette.danger.100}",
|
|
481
|
+
"type": "color"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"text": {
|
|
485
|
+
"default": {
|
|
486
|
+
"value": "{click.feedback.color.danger.foreground}",
|
|
487
|
+
"type": "color"
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"alignedLeft": {
|
|
494
|
+
"color": {
|
|
495
|
+
"background": {
|
|
496
|
+
"default": {
|
|
497
|
+
"value": "{palette.utility.transparent}",
|
|
498
|
+
"type": "color"
|
|
499
|
+
},
|
|
500
|
+
"hover": {
|
|
501
|
+
"value": "{click.global.color.background.muted}",
|
|
502
|
+
"type": "color"
|
|
503
|
+
},
|
|
504
|
+
"active": {
|
|
505
|
+
"value": "{click.button.basic.color.secondary.background.hover}",
|
|
506
|
+
"type": "color",
|
|
507
|
+
"$extensions": {
|
|
508
|
+
"studio.tokens": {
|
|
509
|
+
"modify": {
|
|
510
|
+
"type": "darken",
|
|
511
|
+
"value": "0.02",
|
|
512
|
+
"space": "lch"
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
"stroke": {
|
|
519
|
+
"default": {
|
|
520
|
+
"value": "{click.global.color.stroke.default}",
|
|
521
|
+
"type": "color"
|
|
522
|
+
},
|
|
523
|
+
"hover": {
|
|
524
|
+
"value": "{palette.slate.100}",
|
|
525
|
+
"type": "color"
|
|
526
|
+
},
|
|
527
|
+
"active": {
|
|
528
|
+
"value": "{palette.slate.200}",
|
|
529
|
+
"type": "color"
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
"text": {
|
|
533
|
+
"default": {
|
|
534
|
+
"value": "{click.global.color.text.default}",
|
|
535
|
+
"type": "color"
|
|
536
|
+
},
|
|
537
|
+
"hover": {
|
|
538
|
+
"value": "{click.button.alignedLeft.color.text.default}",
|
|
539
|
+
"type": "color"
|
|
540
|
+
},
|
|
541
|
+
"active": {
|
|
542
|
+
"value": "{click.button.alignedLeft.color.text.default}",
|
|
543
|
+
"type": "color"
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
}
|
|
56
548
|
}
|
|
57
549
|
}
|
|
58
550
|
}
|