@langchain/macaw-components 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +27 -0
- package/dist/_chunks/ErrorState-CmPX01HV.js +13361 -0
- package/dist/_chunks/ErrorState-CmPX01HV.js.map +1 -0
- package/dist/_chunks/LoadingIndicator-DgtU9aqD.js +80 -0
- package/dist/_chunks/LoadingIndicator-DgtU9aqD.js.map +1 -0
- package/dist/base.css +305 -0
- package/dist/catalog.json +1675 -0
- package/dist/components/Avatar/Avatar.d.ts +28 -0
- package/dist/components/Avatar/Avatar.js +47 -0
- package/dist/components/Avatar/Avatar.js.map +1 -0
- package/dist/components/Avatar/index.d.ts +2 -0
- package/dist/components/Avatar/index.js +2 -0
- package/dist/components/Badge/Badge.d.ts +25 -0
- package/dist/components/Badge/Badge.js +82 -0
- package/dist/components/Badge/Badge.js.map +1 -0
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Badge/index.js +2 -0
- package/dist/components/Banner/Banner.d.ts +15 -0
- package/dist/components/Banner/Banner.js +102 -0
- package/dist/components/Banner/Banner.js.map +1 -0
- package/dist/components/Banner/index.d.ts +2 -0
- package/dist/components/Banner/index.js +2 -0
- package/dist/components/BarChart/AnimatedBar.d.ts +20 -0
- package/dist/components/BarChart/AnimatedBar.js +65 -0
- package/dist/components/BarChart/AnimatedBar.js.map +1 -0
- package/dist/components/BarChart/BarChart.d.ts +25 -0
- package/dist/components/BarChart/BarChart.js +248 -0
- package/dist/components/BarChart/BarChart.js.map +1 -0
- package/dist/components/BarChart/BarChart.types.d.ts +239 -0
- package/dist/components/BarChart/BarChart.types.js +0 -0
- package/dist/components/BarChart/BarChart.utils.d.ts +51 -0
- package/dist/components/BarChart/BarChart.utils.js +215 -0
- package/dist/components/BarChart/BarChart.utils.js.map +1 -0
- package/dist/components/BarChart/BarChartAxes.d.ts +22 -0
- package/dist/components/BarChart/BarChartAxes.js +144 -0
- package/dist/components/BarChart/BarChartAxes.js.map +1 -0
- package/dist/components/BarChart/BarChartGuides.d.ts +22 -0
- package/dist/components/BarChart/BarChartGuides.js +83 -0
- package/dist/components/BarChart/BarChartGuides.js.map +1 -0
- package/dist/components/BarChart/BarChartPlot.d.ts +40 -0
- package/dist/components/BarChart/BarChartPlot.js +262 -0
- package/dist/components/BarChart/BarChartPlot.js.map +1 -0
- package/dist/components/BarChart/constants.d.ts +21 -0
- package/dist/components/BarChart/constants.js +26 -0
- package/dist/components/BarChart/constants.js.map +1 -0
- package/dist/components/BarChart/index.d.ts +3 -0
- package/dist/components/BarChart/index.js +3 -0
- package/dist/components/Button/Button.d.ts +36 -0
- package/dist/components/Button/Button.js +99 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Button/constants.d.ts +26 -0
- package/dist/components/Button/constants.js +31 -0
- package/dist/components/Button/constants.js.map +1 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.js +2 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +30 -0
- package/dist/components/ButtonGroup/ButtonGroup.js +26 -0
- package/dist/components/ButtonGroup/ButtonGroup.js.map +1 -0
- package/dist/components/ButtonGroup/index.d.ts +2 -0
- package/dist/components/ButtonGroup/index.js +2 -0
- package/dist/components/Card/Card.d.ts +10 -0
- package/dist/components/Card/Card.js +23 -0
- package/dist/components/Card/Card.js.map +1 -0
- package/dist/components/Card/index.d.ts +2 -0
- package/dist/components/Card/index.js +2 -0
- package/dist/components/ChartCard/ChartCard.d.ts +53 -0
- package/dist/components/ChartCard/ChartCard.js +172 -0
- package/dist/components/ChartCard/ChartCard.js.map +1 -0
- package/dist/components/ChartCard/ChartCardSkeleton.d.ts +7 -0
- package/dist/components/ChartCard/ChartCardSkeleton.js +61 -0
- package/dist/components/ChartCard/ChartCardSkeleton.js.map +1 -0
- package/dist/components/ChartCard/index.d.ts +4 -0
- package/dist/components/ChartCard/index.js +3 -0
- package/dist/components/ChartLegend/ChartLegend.d.ts +19 -0
- package/dist/components/ChartLegend/ChartLegend.js +195 -0
- package/dist/components/ChartLegend/ChartLegend.js.map +1 -0
- package/dist/components/ChartLegend/ChartLegendItemRenderer.d.ts +14 -0
- package/dist/components/ChartLegend/ChartLegendItemRenderer.js +90 -0
- package/dist/components/ChartLegend/ChartLegendItemRenderer.js.map +1 -0
- package/dist/components/ChartLegend/index.d.ts +3 -0
- package/dist/components/ChartLegend/index.js +3 -0
- package/dist/components/ChartLegend/useChartLegendActiveItem.d.ts +7 -0
- package/dist/components/ChartLegend/useChartLegendActiveItem.js +35 -0
- package/dist/components/ChartLegend/useChartLegendActiveItem.js.map +1 -0
- package/dist/components/ChartLegend/utils.d.ts +20 -0
- package/dist/components/ChartLegend/utils.js +33 -0
- package/dist/components/ChartLegend/utils.js.map +1 -0
- package/dist/components/ChartTooltip/ChartTooltip.d.ts +23 -0
- package/dist/components/ChartTooltip/ChartTooltip.js +83 -0
- package/dist/components/ChartTooltip/ChartTooltip.js.map +1 -0
- package/dist/components/ChartTooltip/index.d.ts +2 -0
- package/dist/components/ChartTooltip/index.js +2 -0
- package/dist/components/Checkbox/Checkbox.d.ts +58 -0
- package/dist/components/Checkbox/Checkbox.js +50 -0
- package/dist/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/Checkbox/constants.d.ts +28 -0
- package/dist/components/Checkbox/constants.js +57 -0
- package/dist/components/Checkbox/constants.js.map +1 -0
- package/dist/components/Checkbox/getCheckedState.d.ts +6 -0
- package/dist/components/Checkbox/getCheckedState.js +14 -0
- package/dist/components/Checkbox/getCheckedState.js.map +1 -0
- package/dist/components/Checkbox/index.d.ts +3 -0
- package/dist/components/Checkbox/index.js +3 -0
- package/dist/components/CircularProgress/CircularProgress.d.ts +54 -0
- package/dist/components/CircularProgress/CircularProgress.js +85 -0
- package/dist/components/CircularProgress/CircularProgress.js.map +1 -0
- package/dist/components/CircularProgress/index.d.ts +2 -0
- package/dist/components/CircularProgress/index.js +2 -0
- package/dist/components/Code/Code.utils.d.ts +24 -0
- package/dist/components/Code/Code.utils.js +160 -0
- package/dist/components/Code/Code.utils.js.map +1 -0
- package/dist/components/Code/CodeLite.d.ts +19 -0
- package/dist/components/Code/CodeLite.js +146 -0
- package/dist/components/Code/CodeLite.js.map +1 -0
- package/dist/components/Code/CodeLite.utils.d.ts +24 -0
- package/dist/components/Code/CodeLite.utils.js +273 -0
- package/dist/components/Code/CodeLite.utils.js.map +1 -0
- package/dist/components/Code/ImageReplacerExtension.d.ts +9 -0
- package/dist/components/Code/ImageReplacerExtension.js +227 -0
- package/dist/components/Code/ImageReplacerExtension.js.map +1 -0
- package/dist/components/Code/JsonHighlighterExtension.d.ts +4 -0
- package/dist/components/Code/JsonHighlighterExtension.js +172 -0
- package/dist/components/Code/JsonHighlighterExtension.js.map +1 -0
- package/dist/components/Code/constants.d.ts +6 -0
- package/dist/components/Code/constants.js +11 -0
- package/dist/components/Code/constants.js.map +1 -0
- package/dist/components/Code/index.d.ts +30 -0
- package/dist/components/Code/index.js +140 -0
- package/dist/components/Code/index.js.map +1 -0
- package/dist/components/Code/languages/json.d.ts +1 -0
- package/dist/components/Code/languages/json.js +7 -0
- package/dist/components/Code/languages/json.js.map +1 -0
- package/dist/components/Code/languages/languages.d.ts +7 -0
- package/dist/components/Code/languages/languages.js +12 -0
- package/dist/components/Code/languages/languages.js.map +1 -0
- package/dist/components/Code/languages/python.d.ts +1 -0
- package/dist/components/Code/languages/python.js +7 -0
- package/dist/components/Code/languages/python.js.map +1 -0
- package/dist/components/Code/languages/shell.d.ts +7 -0
- package/dist/components/Code/languages/shell.js +241 -0
- package/dist/components/Code/languages/shell.js.map +1 -0
- package/dist/components/Code/languages/typescript.d.ts +1 -0
- package/dist/components/Code/languages/typescript.js +7 -0
- package/dist/components/Code/languages/typescript.js.map +1 -0
- package/dist/components/Code/languages/yaml.d.ts +2 -0
- package/dist/components/Code/languages/yaml.js +44 -0
- package/dist/components/Code/languages/yaml.js.map +1 -0
- package/dist/components/Code/types.d.ts +8 -0
- package/dist/components/Code/types.js +0 -0
- package/dist/components/Code/utils.d.ts +4 -0
- package/dist/components/Code/utils.js +27 -0
- package/dist/components/Code/utils.js.map +1 -0
- package/dist/components/Command/Command.d.ts +78 -0
- package/dist/components/Command/Command.js +78 -0
- package/dist/components/Command/Command.js.map +1 -0
- package/dist/components/Command/CommandMenu.d.ts +65 -0
- package/dist/components/Command/CommandMenu.js +101 -0
- package/dist/components/Command/CommandMenu.js.map +1 -0
- package/dist/components/Command/index.d.ts +4 -0
- package/dist/components/Command/index.js +3 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts +9 -0
- package/dist/components/ContextMenu/ContextMenu.js +43 -0
- package/dist/components/ContextMenu/ContextMenu.js.map +1 -0
- package/dist/components/ContextMenu/index.d.ts +1 -0
- package/dist/components/ContextMenu/index.js +2 -0
- package/dist/components/CopyButton/CopyButton.d.ts +24 -0
- package/dist/components/CopyButton/CopyButton.js +121 -0
- package/dist/components/CopyButton/CopyButton.js.map +1 -0
- package/dist/components/CopyButton/copyToClipboard.d.ts +1 -0
- package/dist/components/CopyButton/copyToClipboard.js +29 -0
- package/dist/components/CopyButton/copyToClipboard.js.map +1 -0
- package/dist/components/CopyButton/index.d.ts +4 -0
- package/dist/components/CopyButton/index.js +4 -0
- package/dist/components/CopyButton/useCopy.d.ts +10 -0
- package/dist/components/CopyButton/useCopy.js +46 -0
- package/dist/components/CopyButton/useCopy.js.map +1 -0
- package/dist/components/Dialog/index.d.ts +49 -0
- package/dist/components/Dialog/index.js +130 -0
- package/dist/components/Dialog/index.js.map +1 -0
- package/dist/components/Divider/Divider.d.ts +9 -0
- package/dist/components/Divider/Divider.js +27 -0
- package/dist/components/Divider/Divider.js.map +1 -0
- package/dist/components/Divider/index.d.ts +2 -0
- package/dist/components/Divider/index.js +2 -0
- package/dist/components/DonutChart/DonutChart.d.ts +101 -0
- package/dist/components/DonutChart/DonutChart.js +197 -0
- package/dist/components/DonutChart/DonutChart.js.map +1 -0
- package/dist/components/DonutChart/DonutChart.utils.d.ts +38 -0
- package/dist/components/DonutChart/DonutChart.utils.js +93 -0
- package/dist/components/DonutChart/DonutChart.utils.js.map +1 -0
- package/dist/components/DonutChart/constants.d.ts +7 -0
- package/dist/components/DonutChart/constants.js +12 -0
- package/dist/components/DonutChart/constants.js.map +1 -0
- package/dist/components/DonutChart/index.d.ts +4 -0
- package/dist/components/DonutChart/index.js +4 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +24 -0
- package/dist/components/DropdownMenu/DropdownMenu.js +149 -0
- package/dist/components/DropdownMenu/DropdownMenu.js.map +1 -0
- package/dist/components/DropdownMenu/index.d.ts +1 -0
- package/dist/components/DropdownMenu/index.js +2 -0
- package/dist/components/EmptyState/EmptyState.d.ts +26 -0
- package/dist/components/EmptyState/EmptyState.js +85 -0
- package/dist/components/EmptyState/EmptyState.js.map +1 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/EmptyState/index.js +2 -0
- package/dist/components/ErrorBoundary.d.ts +35 -0
- package/dist/components/ErrorBoundary.js +41 -0
- package/dist/components/ErrorBoundary.js.map +1 -0
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +17 -0
- package/dist/components/ErrorMessage/ErrorMessage.js +146 -0
- package/dist/components/ErrorMessage/ErrorMessage.js.map +1 -0
- package/dist/components/ErrorMessage/index.d.ts +2 -0
- package/dist/components/ErrorMessage/index.js +2 -0
- package/dist/components/ErrorState/ErrorState.d.ts +23 -0
- package/dist/components/ErrorState/ErrorState.js +2 -0
- package/dist/components/ErrorState/index.d.ts +2 -0
- package/dist/components/ErrorState/index.js +2 -0
- package/dist/components/GroupedTabs/GroupedTabs.d.ts +31 -0
- package/dist/components/GroupedTabs/GroupedTabs.js +92 -0
- package/dist/components/GroupedTabs/GroupedTabs.js.map +1 -0
- package/dist/components/GroupedTabs/index.d.ts +2 -0
- package/dist/components/GroupedTabs/index.js +2 -0
- package/dist/components/HoverCard.d.ts +4 -0
- package/dist/components/HoverCard.js +34 -0
- package/dist/components/HoverCard.js.map +1 -0
- package/dist/components/Icon/Icon.d.ts +25 -0
- package/dist/components/Icon/Icon.js +57 -0
- package/dist/components/Icon/Icon.js.map +1 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Icon/index.js +2 -0
- package/dist/components/IconButton/IconButton.d.ts +35 -0
- package/dist/components/IconButton/IconButton.js +73 -0
- package/dist/components/IconButton/IconButton.js.map +1 -0
- package/dist/components/IconButton/index.d.ts +2 -0
- package/dist/components/IconButton/index.js +2 -0
- package/dist/components/Input/Input.d.ts +72 -0
- package/dist/components/Input/Input.js +221 -0
- package/dist/components/Input/Input.js.map +1 -0
- package/dist/components/Input/index.d.ts +2 -0
- package/dist/components/Input/index.js +2 -0
- package/dist/components/Input/inputStyles.d.ts +28 -0
- package/dist/components/Input/inputStyles.js +45 -0
- package/dist/components/Input/inputStyles.js.map +1 -0
- package/dist/components/Kbd/Kbd.d.ts +15 -0
- package/dist/components/Kbd/Kbd.js +30 -0
- package/dist/components/Kbd/Kbd.js.map +1 -0
- package/dist/components/Kbd/index.d.ts +2 -0
- package/dist/components/Kbd/index.js +2 -0
- package/dist/components/LineChart/LineChart.d.ts +8 -0
- package/dist/components/LineChart/LineChart.js +194 -0
- package/dist/components/LineChart/LineChart.js.map +1 -0
- package/dist/components/LineChart/LineChart.types.d.ts +138 -0
- package/dist/components/LineChart/LineChart.types.js +0 -0
- package/dist/components/LineChart/LineChart.utils.d.ts +29 -0
- package/dist/components/LineChart/LineChart.utils.js +123 -0
- package/dist/components/LineChart/LineChart.utils.js.map +1 -0
- package/dist/components/LineChart/LineChartPlot.d.ts +43 -0
- package/dist/components/LineChart/LineChartPlot.js +306 -0
- package/dist/components/LineChart/LineChartPlot.js.map +1 -0
- package/dist/components/LineChart/constants.d.ts +3 -0
- package/dist/components/LineChart/constants.js +8 -0
- package/dist/components/LineChart/constants.js.map +1 -0
- package/dist/components/LineChart/index.d.ts +2 -0
- package/dist/components/LineChart/index.js +2 -0
- package/dist/components/LinearProgress/LinearProgress.d.ts +16 -0
- package/dist/components/LinearProgress/LinearProgress.js +42 -0
- package/dist/components/LinearProgress/LinearProgress.js.map +1 -0
- package/dist/components/LinearProgress/index.d.ts +2 -0
- package/dist/components/LinearProgress/index.js +2 -0
- package/dist/components/Link/Link.d.ts +30 -0
- package/dist/components/Link/Link.js +51 -0
- package/dist/components/Link/Link.js.map +1 -0
- package/dist/components/Link/index.d.ts +2 -0
- package/dist/components/Link/index.js +2 -0
- package/dist/components/Logo/index.d.ts +17 -0
- package/dist/components/Logo/index.js +705 -0
- package/dist/components/Logo/index.js.map +1 -0
- package/dist/components/MetricChart/MetricChart.d.ts +9 -0
- package/dist/components/MetricChart/MetricChart.js +42 -0
- package/dist/components/MetricChart/MetricChart.js.map +1 -0
- package/dist/components/MetricChart/formatters.d.ts +18 -0
- package/dist/components/MetricChart/formatters.js +34 -0
- package/dist/components/MetricChart/formatters.js.map +1 -0
- package/dist/components/MetricChart/index.d.ts +4 -0
- package/dist/components/MetricChart/index.js +3 -0
- package/dist/components/Pane/Pane.d.ts +29 -0
- package/dist/components/Pane/Pane.js +171 -0
- package/dist/components/Pane/Pane.js.map +1 -0
- package/dist/components/Pane/Pane.utils.d.ts +10 -0
- package/dist/components/Pane/Pane.utils.js +7 -0
- package/dist/components/Pane/Pane.utils.js.map +1 -0
- package/dist/components/Pane/index.d.ts +3 -0
- package/dist/components/Pane/index.js +3 -0
- package/dist/components/PlainTextEditor/hooks/useResizeTextEditor.d.ts +9 -0
- package/dist/components/PlainTextEditor/hooks/useResizeTextEditor.js +76 -0
- package/dist/components/PlainTextEditor/hooks/useResizeTextEditor.js.map +1 -0
- package/dist/components/PlainTextEditor/index.d.ts +18 -0
- package/dist/components/PlainTextEditor/index.js +71 -0
- package/dist/components/PlainTextEditor/index.js.map +1 -0
- package/dist/components/Popover/Popover.d.ts +13 -0
- package/dist/components/Popover/Popover.js +48 -0
- package/dist/components/Popover/Popover.js.map +1 -0
- package/dist/components/Popover/constants.d.ts +1 -0
- package/dist/components/Popover/constants.js +6 -0
- package/dist/components/Popover/constants.js.map +1 -0
- package/dist/components/Popover/index.d.ts +1 -0
- package/dist/components/Popover/index.js +2 -0
- package/dist/components/PortalSlot.d.ts +11 -0
- package/dist/components/PortalSlot.js +41 -0
- package/dist/components/PortalSlot.js.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +38 -0
- package/dist/components/ProgressBar/ProgressBar.js +82 -0
- package/dist/components/ProgressBar/ProgressBar.js.map +1 -0
- package/dist/components/ProgressBar/index.d.ts +2 -0
- package/dist/components/ProgressBar/index.js +2 -0
- package/dist/components/RadioButton/RadioButton.d.ts +62 -0
- package/dist/components/RadioButton/RadioButton.js +38 -0
- package/dist/components/RadioButton/RadioButton.js.map +1 -0
- package/dist/components/RadioButton/constants.d.ts +30 -0
- package/dist/components/RadioButton/constants.js +55 -0
- package/dist/components/RadioButton/constants.js.map +1 -0
- package/dist/components/RadioButton/index.d.ts +2 -0
- package/dist/components/RadioButton/index.js +2 -0
- package/dist/components/RadioCard/RadioCard.d.ts +26 -0
- package/dist/components/RadioCard/RadioCard.js +43 -0
- package/dist/components/RadioCard/RadioCard.js.map +1 -0
- package/dist/components/RadioCard/index.d.ts +2 -0
- package/dist/components/RadioCard/index.js +2 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +5 -0
- package/dist/components/RadioGroup/RadioGroup.js +17 -0
- package/dist/components/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/components/RadioGroup/RadioGroupItem.d.ts +5 -0
- package/dist/components/RadioGroup/RadioGroupItem.js +22 -0
- package/dist/components/RadioGroup/RadioGroupItem.js.map +1 -0
- package/dist/components/RadioGroup/index.d.ts +4 -0
- package/dist/components/RadioGroup/index.js +3 -0
- package/dist/components/Select/Select.d.ts +84 -0
- package/dist/components/Select/Select.js +120 -0
- package/dist/components/Select/Select.js.map +1 -0
- package/dist/components/Select/SelectPrimitive.d.ts +17 -0
- package/dist/components/Select/SelectPrimitive.js +126 -0
- package/dist/components/Select/SelectPrimitive.js.map +1 -0
- package/dist/components/Select/index.d.ts +4 -0
- package/dist/components/Select/index.js +3 -0
- package/dist/components/Skeleton/Skeleton.d.ts +13 -0
- package/dist/components/Skeleton/Skeleton.js +25 -0
- package/dist/components/Skeleton/Skeleton.js.map +1 -0
- package/dist/components/Skeleton/index.d.ts +1 -0
- package/dist/components/Skeleton/index.js +2 -0
- package/dist/components/Slider/Slider.d.ts +33 -0
- package/dist/components/Slider/Slider.js +64 -0
- package/dist/components/Slider/Slider.js.map +1 -0
- package/dist/components/Slider/index.d.ts +2 -0
- package/dist/components/Slider/index.js +2 -0
- package/dist/components/SparkLineChart/SparkLineChart.d.ts +14 -0
- package/dist/components/SparkLineChart/SparkLineChart.js +112 -0
- package/dist/components/SparkLineChart/SparkLineChart.js.map +1 -0
- package/dist/components/SparkLineChart/index.d.ts +2 -0
- package/dist/components/SparkLineChart/index.js +2 -0
- package/dist/components/Spinner/Spinner.d.ts +12 -0
- package/dist/components/Spinner/Spinner.js +33 -0
- package/dist/components/Spinner/Spinner.js.map +1 -0
- package/dist/components/Spinner/index.d.ts +1 -0
- package/dist/components/Spinner/index.js +2 -0
- package/dist/components/SplitViewPane/SplitViewPane.d.ts +41 -0
- package/dist/components/SplitViewPane/SplitViewPane.js +314 -0
- package/dist/components/SplitViewPane/SplitViewPane.js.map +1 -0
- package/dist/components/SplitViewPane/SplitViewPaneHeader.d.ts +22 -0
- package/dist/components/SplitViewPane/SplitViewPaneHeader.js +105 -0
- package/dist/components/SplitViewPane/SplitViewPaneHeader.js.map +1 -0
- package/dist/components/SplitViewPane/index.d.ts +2 -0
- package/dist/components/SplitViewPane/index.js +3 -0
- package/dist/components/SplitViewPane/openPaneRegistry.d.ts +2 -0
- package/dist/components/SplitViewPane/openPaneRegistry.js +49 -0
- package/dist/components/SplitViewPane/openPaneRegistry.js.map +1 -0
- package/dist/components/Switch/Switch.d.ts +35 -0
- package/dist/components/Switch/Switch.js +65 -0
- package/dist/components/Switch/Switch.js.map +1 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Switch/index.js +2 -0
- package/dist/components/Tabs/index.d.ts +27 -0
- package/dist/components/Tabs/index.js +45 -0
- package/dist/components/Tabs/index.js.map +1 -0
- package/dist/components/Text/Text.d.ts +13 -0
- package/dist/components/Text/Text.js +58 -0
- package/dist/components/Text/Text.js.map +1 -0
- package/dist/components/Text/index.d.ts +2 -0
- package/dist/components/Text/index.js +2 -0
- package/dist/components/TextVirtualizer.d.ts +8 -0
- package/dist/components/TextVirtualizer.js +53 -0
- package/dist/components/TextVirtualizer.js.map +1 -0
- package/dist/components/TextWithLinks.d.ts +6 -0
- package/dist/components/TextWithLinks.js +61 -0
- package/dist/components/TextWithLinks.js.map +1 -0
- package/dist/components/Textarea/Textarea.d.ts +47 -0
- package/dist/components/Textarea/Textarea.js +150 -0
- package/dist/components/Textarea/Textarea.js.map +1 -0
- package/dist/components/Textarea/index.d.ts +2 -0
- package/dist/components/Textarea/index.js +2 -0
- package/dist/components/ThinkingState/LoadingIndicator.d.ts +19 -0
- package/dist/components/ThinkingState/LoadingIndicator.js +2 -0
- package/dist/components/ThinkingState/NOTICE +25 -0
- package/dist/components/ThinkingState/ThinkingState.d.ts +21 -0
- package/dist/components/ThinkingState/ThinkingState.js +42 -0
- package/dist/components/ThinkingState/ThinkingState.js.map +1 -0
- package/dist/components/ThinkingState/ThinkingStateTimer.d.ts +9 -0
- package/dist/components/ThinkingState/ThinkingStateTimer.js +43 -0
- package/dist/components/ThinkingState/ThinkingStateTimer.js.map +1 -0
- package/dist/components/ThinkingState/index.d.ts +4 -0
- package/dist/components/ThinkingState/index.js +3 -0
- package/dist/components/Toast/ToastContext.d.ts +5 -0
- package/dist/components/Toast/ToastContext.js +9 -0
- package/dist/components/Toast/ToastContext.js.map +1 -0
- package/dist/components/Toast/index.d.ts +13 -0
- package/dist/components/Toast/index.js +166 -0
- package/dist/components/Toast/index.js.map +1 -0
- package/dist/components/Toast/useToast.d.ts +3 -0
- package/dist/components/Toast/useToast.js +11 -0
- package/dist/components/Toast/useToast.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +19 -0
- package/dist/components/Tooltip/Tooltip.js +57 -0
- package/dist/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/components/Tooltip/index.d.ts +3 -0
- package/dist/components/Tooltip/index.js +3 -0
- package/dist/components/TopList/TopList.d.ts +3 -0
- package/dist/components/TopList/TopList.js +186 -0
- package/dist/components/TopList/TopList.js.map +1 -0
- package/dist/components/TopList/TopList.types.d.ts +34 -0
- package/dist/components/TopList/TopList.types.js +0 -0
- package/dist/components/TopList/TopList.utils.d.ts +3 -0
- package/dist/components/TopList/TopList.utils.js +16 -0
- package/dist/components/TopList/TopList.utils.js.map +1 -0
- package/dist/components/TopList/index.d.ts +2 -0
- package/dist/components/TopList/index.js +2 -0
- package/dist/components/Typeahead/Typeahead.d.ts +5 -0
- package/dist/components/Typeahead/Typeahead.js +305 -0
- package/dist/components/Typeahead/Typeahead.js.map +1 -0
- package/dist/components/Typeahead/Typeahead.types.d.ts +99 -0
- package/dist/components/Typeahead/Typeahead.types.js +0 -0
- package/dist/components/Typeahead/Typeahead.utils.d.ts +25 -0
- package/dist/components/Typeahead/Typeahead.utils.js +73 -0
- package/dist/components/Typeahead/Typeahead.utils.js.map +1 -0
- package/dist/components/Typeahead/TypeaheadParts.d.ts +25 -0
- package/dist/components/Typeahead/TypeaheadParts.js +109 -0
- package/dist/components/Typeahead/TypeaheadParts.js.map +1 -0
- package/dist/components/Typeahead/TypeaheadView.d.ts +81 -0
- package/dist/components/Typeahead/TypeaheadView.js +228 -0
- package/dist/components/Typeahead/TypeaheadView.js.map +1 -0
- package/dist/components/Typeahead/index.d.ts +2 -0
- package/dist/components/Typeahead/index.js +2 -0
- package/dist/components/Typeahead/useTypeaheadDomSync.d.ts +15 -0
- package/dist/components/Typeahead/useTypeaheadDomSync.js +43 -0
- package/dist/components/Typeahead/useTypeaheadDomSync.js.map +1 -0
- package/dist/components/Typeahead/useTypeaheadUncontrolledInput.d.ts +11 -0
- package/dist/components/Typeahead/useTypeaheadUncontrolledInput.js +32 -0
- package/dist/components/Typeahead/useTypeaheadUncontrolledInput.js.map +1 -0
- package/dist/components/UnsavedChangesDialog.d.ts +14 -0
- package/dist/components/UnsavedChangesDialog.js +67 -0
- package/dist/components/UnsavedChangesDialog.js.map +1 -0
- package/dist/components/index.d.ts +58 -0
- package/dist/components/index.js +35 -0
- package/dist/components.css +102 -0
- package/dist/contexts/ErrorReporterContext.d.ts +6 -0
- package/dist/contexts/ErrorReporterContext.js +7 -0
- package/dist/contexts/ErrorReporterContext.js.map +1 -0
- package/dist/hooks/AppThemeProvider.d.ts +8 -0
- package/dist/hooks/AppThemeProvider.js +52 -0
- package/dist/hooks/AppThemeProvider.js.map +1 -0
- package/dist/hooks/useColorScheme.d.ts +20 -0
- package/dist/hooks/useColorScheme.js +50 -0
- package/dist/hooks/useColorScheme.js.map +1 -0
- package/dist/icons/LongTailPhosphorIcons.d.ts +51 -0
- package/dist/icons/LongTailPhosphorIcons.js +102 -0
- package/dist/icons/LongTailPhosphorIcons.js.map +1 -0
- package/dist/icons/PaddedPhosphorIcons.d.ts +17 -0
- package/dist/icons/PaddedPhosphorIcons.js +55 -0
- package/dist/icons/PaddedPhosphorIcons.js.map +1 -0
- package/dist/icons/WeightedPhosphorIcons.d.ts +45 -0
- package/dist/icons/WeightedPhosphorIcons.js +96 -0
- package/dist/icons/WeightedPhosphorIcons.js.map +1 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +36 -0
- package/dist/styles.css +10 -0
- package/dist/utilities.css +2 -0
- package/dist/utils/VirtuosoCustomScrollParentContext/index.d.ts +7 -0
- package/dist/utils/VirtuosoCustomScrollParentContext/index.js +15 -0
- package/dist/utils/VirtuosoCustomScrollParentContext/index.js.map +1 -0
- package/dist/utils/VirtuosoCustomScrollParentContext/useScrollParent.d.ts +4 -0
- package/dist/utils/VirtuosoCustomScrollParentContext/useScrollParent.js +10 -0
- package/dist/utils/VirtuosoCustomScrollParentContext/useScrollParent.js.map +1 -0
- package/dist/utils/ZIndexContext.d.ts +5 -0
- package/dist/utils/ZIndexContext.js +13 -0
- package/dist/utils/ZIndexContext.js.map +1 -0
- package/dist/utils/animation.d.ts +37 -0
- package/dist/utils/animation.js +42 -0
- package/dist/utils/animation.js.map +1 -0
- package/dist/utils/chartAxisLayout.d.ts +6 -0
- package/dist/utils/chartAxisLayout.js +8 -0
- package/dist/utils/chartAxisLayout.js.map +1 -0
- package/dist/utils/chartColors.d.ts +38 -0
- package/dist/utils/chartColors.js +78 -0
- package/dist/utils/chartColors.js.map +1 -0
- package/dist/utils/chartConstants.d.ts +10 -0
- package/dist/utils/chartConstants.js +15 -0
- package/dist/utils/chartConstants.js.map +1 -0
- package/dist/utils/chartValues.d.ts +2 -0
- package/dist/utils/chartValues.js +36 -0
- package/dist/utils/chartValues.js.map +1 -0
- package/dist/utils/clamp.d.ts +2 -0
- package/dist/utils/clamp.js +7 -0
- package/dist/utils/clamp.js.map +1 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/cn.js +191 -0
- package/dist/utils/cn.js.map +1 -0
- package/dist/utils/componentSizes.d.ts +104 -0
- package/dist/utils/componentSizes.js +104 -0
- package/dist/utils/componentSizes.js.map +1 -0
- package/dist/utils/controlIconSizes.d.ts +10 -0
- package/dist/utils/controlIconSizes.js +32 -0
- package/dist/utils/controlIconSizes.js.map +1 -0
- package/dist/utils/csp-nonce.d.ts +11 -0
- package/dist/utils/csp-nonce.js +17 -0
- package/dist/utils/csp-nonce.js.map +1 -0
- package/dist/utils/get-closest-scroll-parent.d.ts +1 -0
- package/dist/utils/get-closest-scroll-parent.js +16 -0
- package/dist/utils/get-closest-scroll-parent.js.map +1 -0
- package/dist/utils/get-color-by-string.d.ts +1 -0
- package/dist/utils/get-color-by-string.js +10 -0
- package/dist/utils/get-color-by-string.js.map +1 -0
- package/dist/utils/getYAxisLeftMargin.d.ts +10 -0
- package/dist/utils/getYAxisLeftMargin.js +20 -0
- package/dist/utils/getYAxisLeftMargin.js.map +1 -0
- package/dist/utils/icon-types.d.ts +8 -0
- package/dist/utils/icon-types.js +0 -0
- package/dist/utils/lazy-codemirror-loader.d.ts +70 -0
- package/dist/utils/lazy-codemirror-loader.js +79 -0
- package/dist/utils/lazy-codemirror-loader.js.map +1 -0
- package/dist/utils/merge-refs.d.ts +2 -0
- package/dist/utils/merge-refs.js +13 -0
- package/dist/utils/merge-refs.js.map +1 -0
- package/dist/utils/parseTextLinks.d.ts +7 -0
- package/dist/utils/parseTextLinks.js +46 -0
- package/dist/utils/parseTextLinks.js.map +1 -0
- package/dist/utils/prettify-error-payload.d.ts +7 -0
- package/dist/utils/prettify-error-payload.js +188 -0
- package/dist/utils/prettify-error-payload.js.map +1 -0
- package/dist/utils/spacing.d.ts +30 -0
- package/dist/utils/spacing.js +34 -0
- package/dist/utils/spacing.js.map +1 -0
- package/dist/utils/useCodeMirror.d.ts +7 -0
- package/dist/utils/useCodeMirror.js +28 -0
- package/dist/utils/useCodeMirror.js.map +1 -0
- package/dist/utils/useZIndex.d.ts +52 -0
- package/dist/utils/useZIndex.js +62 -0
- package/dist/utils/useZIndex.js.map +1 -0
- package/dist/utils/zIndices.d.ts +42 -0
- package/dist/utils/zIndices.js +46 -0
- package/dist/utils/zIndices.js.map +1 -0
- package/docs/DESIGN.md +134 -0
- package/docs/STYLES.md +568 -0
- package/package.json +619 -0
- package/tailwind.preset.cjs +738 -0
- package/tailwind.preset.d.cts +5 -0
|
@@ -0,0 +1,738 @@
|
|
|
1
|
+
const plugin = require('tailwindcss/plugin');
|
|
2
|
+
|
|
3
|
+
// Public Tailwind v3 preset. `content` stays empty so consuming applications
|
|
4
|
+
// retain full control over source discovery.
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Wraps a CSS variable so Tailwind's opacity modifier (e.g. /50) works.
|
|
8
|
+
* Without this, `bg-surface-level-2/50` silently produces no output because
|
|
9
|
+
* Tailwind can't inject alpha into a plain var() reference.
|
|
10
|
+
* Uses color-mix() so no separate RGB channel variables are needed.
|
|
11
|
+
*/
|
|
12
|
+
const withAlpha =
|
|
13
|
+
(cssVar) =>
|
|
14
|
+
({ opacityValue }) =>
|
|
15
|
+
opacityValue !== undefined
|
|
16
|
+
? `color-mix(in srgb, ${cssVar} calc(${opacityValue} * 100%), transparent)`
|
|
17
|
+
: cssVar;
|
|
18
|
+
|
|
19
|
+
const brandPalette = {
|
|
20
|
+
10: withAlpha('var(--brand-10)'),
|
|
21
|
+
25: withAlpha('var(--brand-25)'),
|
|
22
|
+
50: withAlpha('var(--brand-50)'),
|
|
23
|
+
75: withAlpha('var(--brand-75)'),
|
|
24
|
+
100: withAlpha('var(--brand-100)'),
|
|
25
|
+
200: withAlpha('var(--brand-200)'),
|
|
26
|
+
300: withAlpha('var(--brand-300)'),
|
|
27
|
+
400: withAlpha('var(--brand-400)'),
|
|
28
|
+
500: withAlpha('var(--brand-500)'),
|
|
29
|
+
600: withAlpha('var(--brand-600)'),
|
|
30
|
+
700: withAlpha('var(--brand-700)'),
|
|
31
|
+
800: withAlpha('var(--brand-800)'),
|
|
32
|
+
900: withAlpha('var(--brand-900)'),
|
|
33
|
+
950: withAlpha('var(--brand-950)'),
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
// Keep in sync with src/utils/spacing.ts.
|
|
37
|
+
const spaceScale = {
|
|
38
|
+
'space-1': '0.25rem', // 4px
|
|
39
|
+
'space-2': '0.5rem', // 8px
|
|
40
|
+
'space-3': '0.75rem', // 12px
|
|
41
|
+
'space-4': '1rem', // 16px
|
|
42
|
+
'space-5': '1.5rem', // 24px
|
|
43
|
+
'space-6': '2rem', // 32px
|
|
44
|
+
'space-7': '2.5rem', // 40px
|
|
45
|
+
'space-8': '3rem', // 48px
|
|
46
|
+
'space-9': '4rem', // 64px
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/** @type {import('tailwindcss').Config} */
|
|
50
|
+
module.exports = {
|
|
51
|
+
content: [],
|
|
52
|
+
darkMode: 'class',
|
|
53
|
+
theme: {
|
|
54
|
+
extend: {
|
|
55
|
+
fontSize: {
|
|
56
|
+
xxs: [
|
|
57
|
+
'0.75rem', // 12px
|
|
58
|
+
{
|
|
59
|
+
lineHeight: '1.125rem', // 18px
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
xs: [
|
|
63
|
+
'0.8125rem', // 13px
|
|
64
|
+
{
|
|
65
|
+
lineHeight: '1.125rem', // 18px
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
sm: [
|
|
69
|
+
'0.875rem', // 14px
|
|
70
|
+
{
|
|
71
|
+
lineHeight: '1.25rem', // 20px
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
base: [
|
|
75
|
+
'1rem', // 16px
|
|
76
|
+
{
|
|
77
|
+
lineHeight: '1.5rem', // 24px
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
lg: [
|
|
81
|
+
'1.125rem', // 18px
|
|
82
|
+
{
|
|
83
|
+
lineHeight: '1.75rem', // 28px
|
|
84
|
+
letterSpacing: '-0.01em', // tracking-tight
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
xl: [
|
|
88
|
+
'1.25rem', // 20px
|
|
89
|
+
{
|
|
90
|
+
lineHeight: '1.875rem', // 30px
|
|
91
|
+
letterSpacing: '-0.01em', // tracking-tight
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
},
|
|
95
|
+
fontFamily: {
|
|
96
|
+
mono: [
|
|
97
|
+
`"Fira Code"`,
|
|
98
|
+
`ui-monospace`,
|
|
99
|
+
`SFMono-Regular`,
|
|
100
|
+
`Menlo`,
|
|
101
|
+
`Monaco`,
|
|
102
|
+
`Consolas`,
|
|
103
|
+
`"Liberation Mono"`,
|
|
104
|
+
`"Courier New"`,
|
|
105
|
+
`monospace`,
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
letterSpacing: {
|
|
109
|
+
tighter: '-0.04em',
|
|
110
|
+
tight: '-0.03em',
|
|
111
|
+
snug: '-0.02em',
|
|
112
|
+
normal: '0',
|
|
113
|
+
wide: '0.03em',
|
|
114
|
+
},
|
|
115
|
+
lineHeight: {
|
|
116
|
+
tight: '1.20',
|
|
117
|
+
},
|
|
118
|
+
backgroundImage: {
|
|
119
|
+
'brand-subtle-gradient': 'var(--bg-brand-subtle-gradient)',
|
|
120
|
+
},
|
|
121
|
+
borderRadius: {
|
|
122
|
+
xs: 'var(--radius-xs)',
|
|
123
|
+
sm: 'var(--radius-sm)',
|
|
124
|
+
md: 'var(--radius-md)',
|
|
125
|
+
lg: 'var(--radius-lg)',
|
|
126
|
+
xl: 'var(--radius-xl)',
|
|
127
|
+
full: 'var(--radius-full)',
|
|
128
|
+
},
|
|
129
|
+
boxShadow: {
|
|
130
|
+
xs: '0 1px 1px 0 rgba(16, 24, 40, 0.02)',
|
|
131
|
+
sm: 'var(--shadow-sm)',
|
|
132
|
+
md: 'var(--shadow-md)',
|
|
133
|
+
lg: 'var(--shadow-lg)',
|
|
134
|
+
},
|
|
135
|
+
transitionDuration: {
|
|
136
|
+
fast: 'var(--duration-fast)',
|
|
137
|
+
normal: 'var(--duration-normal)',
|
|
138
|
+
slow: 'var(--duration-slow)',
|
|
139
|
+
slower: 'var(--duration-slower)',
|
|
140
|
+
},
|
|
141
|
+
gap: spaceScale,
|
|
142
|
+
padding: spaceScale,
|
|
143
|
+
margin: spaceScale,
|
|
144
|
+
space: spaceScale,
|
|
145
|
+
// Gradient stops default to `colors`, so the surface tokens below —
|
|
146
|
+
// which live under backgroundColor — produce no `from-*`/`to-*` utility
|
|
147
|
+
// without this. A fade that ends on a surface needs to name that
|
|
148
|
+
// surface, and `from-[var(--bg-surface-level-1)]` is the raw form the
|
|
149
|
+
// color lint rule exists to prevent.
|
|
150
|
+
gradientColorStops: {
|
|
151
|
+
'text-primary': withAlpha('var(--text-primary)'),
|
|
152
|
+
'text-brand-primary': withAlpha('var(--text-brand-primary)'),
|
|
153
|
+
'text-tertiary': withAlpha('var(--text-tertiary)'),
|
|
154
|
+
'surface-level-1': withAlpha('var(--bg-surface-level-1)'),
|
|
155
|
+
'surface-level-2': withAlpha('var(--bg-surface-level-2)'),
|
|
156
|
+
elevated: withAlpha('var(--bg-elevated)'),
|
|
157
|
+
},
|
|
158
|
+
backgroundColor: {
|
|
159
|
+
'surface-level-1': withAlpha('var(--bg-surface-level-1)'),
|
|
160
|
+
'surface-level-1-hover': withAlpha('var(--bg-surface-level-1-hover)'),
|
|
161
|
+
'surface-level-2': withAlpha('var(--bg-surface-level-2)'),
|
|
162
|
+
'surface-level-2-hover': withAlpha('var(--bg-surface-level-2-hover)'),
|
|
163
|
+
'surface-level-3': withAlpha('var(--bg-surface-level-3)'),
|
|
164
|
+
'surface-level-4': withAlpha('var(--bg-surface-level-4)'),
|
|
165
|
+
elevated: withAlpha('var(--bg-elevated)'),
|
|
166
|
+
'elevated-hover': withAlpha('var(--bg-elevated-hover)'),
|
|
167
|
+
'elevated-selected': withAlpha('var(--bg-elevated-selected)'),
|
|
168
|
+
'popover-urgent': withAlpha('var(--bg-popover-urgent)'),
|
|
169
|
+
|
|
170
|
+
disabled: withAlpha('var(--bg-disabled)'),
|
|
171
|
+
|
|
172
|
+
overlay: withAlpha('var(--bg-overlay)'),
|
|
173
|
+
|
|
174
|
+
/* brand */
|
|
175
|
+
brand: {
|
|
176
|
+
DEFAULT: withAlpha('var(--bg-brand)'),
|
|
177
|
+
...brandPalette,
|
|
178
|
+
},
|
|
179
|
+
'brand-hover': withAlpha('var(--bg-brand-hover)'),
|
|
180
|
+
'brand-subtle': withAlpha('var(--bg-brand-subtle)'),
|
|
181
|
+
'brand-subtle-hover': withAlpha('var(--bg-brand-subtle-hover)'),
|
|
182
|
+
'brand-illustration': withAlpha('var(--bg-brand-illustration)'),
|
|
183
|
+
'brand-muted': withAlpha('var(--bg-brand-muted)'),
|
|
184
|
+
'icon-brand-background': withAlpha('var(--icon-brand-background)'),
|
|
185
|
+
purple: withAlpha('var(--bg-purple)'),
|
|
186
|
+
|
|
187
|
+
/* intent */
|
|
188
|
+
success: withAlpha('var(--bg-success)'),
|
|
189
|
+
'success-subtle': withAlpha('var(--bg-success-subtle)'),
|
|
190
|
+
'success-strong': withAlpha('var(--bg-success-strong)'),
|
|
191
|
+
error: withAlpha('var(--bg-error)'),
|
|
192
|
+
'error-subtle': withAlpha('var(--bg-error-subtle)'),
|
|
193
|
+
'error-strong': withAlpha('var(--bg-error-strong)'),
|
|
194
|
+
warning: withAlpha('var(--bg-warning)'),
|
|
195
|
+
'warning-subtle': withAlpha('var(--bg-warning-subtle)'),
|
|
196
|
+
'warning-strong': withAlpha('var(--bg-warning-strong)'),
|
|
197
|
+
|
|
198
|
+
/* control */
|
|
199
|
+
'control-active': withAlpha('var(--bg-control-active)'),
|
|
200
|
+
'control-active-hover': withAlpha('var(--bg-control-active-hover)'),
|
|
201
|
+
'control-thumb': withAlpha('var(--bg-control-thumb)'),
|
|
202
|
+
'control-disabled': withAlpha('var(--bg-control-disabled)'),
|
|
203
|
+
|
|
204
|
+
/* selected */
|
|
205
|
+
selected: withAlpha('var(--bg-selected)'),
|
|
206
|
+
'selected-hover': withAlpha('var(--bg-selected-hover)'),
|
|
207
|
+
|
|
208
|
+
/* data visualization */
|
|
209
|
+
'chart-categorical-line-1': withAlpha(
|
|
210
|
+
'var(--chart-categorical-line-1)'
|
|
211
|
+
),
|
|
212
|
+
'chart-categorical-line-2': withAlpha(
|
|
213
|
+
'var(--chart-categorical-line-2)'
|
|
214
|
+
),
|
|
215
|
+
'chart-categorical-line-3': withAlpha(
|
|
216
|
+
'var(--chart-categorical-line-3)'
|
|
217
|
+
),
|
|
218
|
+
'chart-categorical-line-4': withAlpha(
|
|
219
|
+
'var(--chart-categorical-line-4)'
|
|
220
|
+
),
|
|
221
|
+
'chart-categorical-line-5': withAlpha(
|
|
222
|
+
'var(--chart-categorical-line-5)'
|
|
223
|
+
),
|
|
224
|
+
'chart-categorical-line-6': withAlpha(
|
|
225
|
+
'var(--chart-categorical-line-6)'
|
|
226
|
+
),
|
|
227
|
+
'chart-categorical-line-7': withAlpha(
|
|
228
|
+
'var(--chart-categorical-line-7)'
|
|
229
|
+
),
|
|
230
|
+
'chart-categorical-line-8': withAlpha(
|
|
231
|
+
'var(--chart-categorical-line-8)'
|
|
232
|
+
),
|
|
233
|
+
'chart-categorical-fill-1': withAlpha(
|
|
234
|
+
'var(--chart-categorical-fill-1)'
|
|
235
|
+
),
|
|
236
|
+
'chart-categorical-fill-2': withAlpha(
|
|
237
|
+
'var(--chart-categorical-fill-2)'
|
|
238
|
+
),
|
|
239
|
+
'chart-categorical-fill-3': withAlpha(
|
|
240
|
+
'var(--chart-categorical-fill-3)'
|
|
241
|
+
),
|
|
242
|
+
'chart-categorical-fill-4': withAlpha(
|
|
243
|
+
'var(--chart-categorical-fill-4)'
|
|
244
|
+
),
|
|
245
|
+
'chart-categorical-fill-5': withAlpha(
|
|
246
|
+
'var(--chart-categorical-fill-5)'
|
|
247
|
+
),
|
|
248
|
+
'chart-categorical-fill-6': withAlpha(
|
|
249
|
+
'var(--chart-categorical-fill-6)'
|
|
250
|
+
),
|
|
251
|
+
'chart-categorical-fill-7': withAlpha(
|
|
252
|
+
'var(--chart-categorical-fill-7)'
|
|
253
|
+
),
|
|
254
|
+
'chart-categorical-fill-8': withAlpha(
|
|
255
|
+
'var(--chart-categorical-fill-8)'
|
|
256
|
+
),
|
|
257
|
+
'table-heatmap-negative-1': withAlpha(
|
|
258
|
+
'var(--table-heatmap-negative-1)'
|
|
259
|
+
),
|
|
260
|
+
'table-heatmap-negative-2': withAlpha(
|
|
261
|
+
'var(--table-heatmap-negative-2)'
|
|
262
|
+
),
|
|
263
|
+
'table-heatmap-negative-3': withAlpha(
|
|
264
|
+
'var(--table-heatmap-negative-3)'
|
|
265
|
+
),
|
|
266
|
+
'table-heatmap-negative-4': withAlpha(
|
|
267
|
+
'var(--table-heatmap-negative-4)'
|
|
268
|
+
),
|
|
269
|
+
'table-heatmap-negative-5': withAlpha(
|
|
270
|
+
'var(--table-heatmap-negative-5)'
|
|
271
|
+
),
|
|
272
|
+
'table-heatmap-neutral': withAlpha('var(--table-heatmap-neutral)'),
|
|
273
|
+
'table-heatmap-positive-1': withAlpha(
|
|
274
|
+
'var(--table-heatmap-positive-1)'
|
|
275
|
+
),
|
|
276
|
+
'table-heatmap-positive-2': withAlpha(
|
|
277
|
+
'var(--table-heatmap-positive-2)'
|
|
278
|
+
),
|
|
279
|
+
'table-heatmap-positive-3': withAlpha(
|
|
280
|
+
'var(--table-heatmap-positive-3)'
|
|
281
|
+
),
|
|
282
|
+
'table-heatmap-positive-4': withAlpha(
|
|
283
|
+
'var(--table-heatmap-positive-4)'
|
|
284
|
+
),
|
|
285
|
+
'table-heatmap-positive-5': withAlpha(
|
|
286
|
+
'var(--table-heatmap-positive-5)'
|
|
287
|
+
),
|
|
288
|
+
|
|
289
|
+
primary: withAlpha('var(--bg-primary)'),
|
|
290
|
+
'primary-hover': withAlpha('var(--bg-primary-hover)'),
|
|
291
|
+
secondary: withAlpha('var(--bg-secondary)'),
|
|
292
|
+
'secondary-hover': withAlpha('var(--bg-secondary-hover)'),
|
|
293
|
+
tertiary: withAlpha('var(--bg-tertiary)'),
|
|
294
|
+
quaternary: withAlpha('var(--bg-quaternary)'),
|
|
295
|
+
'brand-primary': withAlpha('var(--bg-brand-primary)'),
|
|
296
|
+
'brand-primary-hover': withAlpha('var(--bg-brand-primary_hover)'),
|
|
297
|
+
'brand-secondary': withAlpha('var(--bg-brand-secondary)'),
|
|
298
|
+
'brand-secondary-hover': withAlpha('var(--bg-brand-secondary_hover)'),
|
|
299
|
+
'brand-tertiary': withAlpha('var(--bg-brand-tertiary)'),
|
|
300
|
+
'success-primary': withAlpha('var(--bg-success-primary)'),
|
|
301
|
+
'success-secondary': withAlpha('var(--bg-success-secondary)'),
|
|
302
|
+
'error-primary': withAlpha('var(--bg-error-primary)'),
|
|
303
|
+
'error-secondary': withAlpha('var(--bg-error-secondary)'),
|
|
304
|
+
'warning-primary': withAlpha('var(--bg-warning-primary)'),
|
|
305
|
+
'warning-secondary': withAlpha('var(--bg-warning-secondary)'),
|
|
306
|
+
},
|
|
307
|
+
borderColor: {
|
|
308
|
+
default: withAlpha('var(--border-default)'),
|
|
309
|
+
subtle: withAlpha('var(--border-subtle)'),
|
|
310
|
+
muted: withAlpha('var(--border-muted)'),
|
|
311
|
+
faint: withAlpha('var(--border-faint)'),
|
|
312
|
+
error: withAlpha('var(--border-error)'),
|
|
313
|
+
'error-strong': withAlpha('var(--border-error-strong)'),
|
|
314
|
+
brand: withAlpha('var(--border-brand)'),
|
|
315
|
+
'brand-strong': withAlpha('var(--border-brand-strong)'),
|
|
316
|
+
'brand-subtle': withAlpha('var(--border-brand-subtle)'),
|
|
317
|
+
'brand-disabled': withAlpha('var(--text-brand-disabled)'),
|
|
318
|
+
'brand-10': withAlpha('var(--brand-10)'),
|
|
319
|
+
'brand-25': withAlpha('var(--brand-25)'),
|
|
320
|
+
'brand-50': withAlpha('var(--brand-50)'),
|
|
321
|
+
'brand-75': withAlpha('var(--brand-75)'),
|
|
322
|
+
'brand-100': withAlpha('var(--brand-100)'),
|
|
323
|
+
'brand-200': withAlpha('var(--brand-200)'),
|
|
324
|
+
'brand-300': withAlpha('var(--brand-300)'),
|
|
325
|
+
'brand-400': withAlpha('var(--brand-400)'),
|
|
326
|
+
'brand-500': withAlpha('var(--brand-500)'),
|
|
327
|
+
'brand-600': withAlpha('var(--brand-600)'),
|
|
328
|
+
'brand-700': withAlpha('var(--brand-700)'),
|
|
329
|
+
'brand-800': withAlpha('var(--brand-800)'),
|
|
330
|
+
'brand-900': withAlpha('var(--brand-900)'),
|
|
331
|
+
'brand-950': withAlpha('var(--brand-950)'),
|
|
332
|
+
strong: withAlpha('var(--border-strong)'),
|
|
333
|
+
disabled: withAlpha('var(--border-disabled)'),
|
|
334
|
+
focus: withAlpha('var(--border-focus)'),
|
|
335
|
+
warning: withAlpha('var(--border-warning)'),
|
|
336
|
+
success: withAlpha('var(--border-success)'),
|
|
337
|
+
purple: withAlpha('var(--border-purple)'),
|
|
338
|
+
'status-green': withAlpha('var(--border-status-green)'),
|
|
339
|
+
'status-orange': withAlpha('var(--border-status-orange)'),
|
|
340
|
+
'status-yellow': withAlpha('var(--border-status-yellow)'),
|
|
341
|
+
'status-red': withAlpha('var(--border-status-red)'),
|
|
342
|
+
primary: withAlpha('var(--border-primary)'),
|
|
343
|
+
secondary: withAlpha('var(--border-secondary)'),
|
|
344
|
+
tertiary: withAlpha('var(--border-tertiary)'),
|
|
345
|
+
quaternary: withAlpha('var(--border-quaternary)'),
|
|
346
|
+
},
|
|
347
|
+
// SVG marks cannot consume border utilities, so chart components reach
|
|
348
|
+
// for the same semantic tokens through stroke.
|
|
349
|
+
stroke: {
|
|
350
|
+
focus: withAlpha('var(--border-focus)'),
|
|
351
|
+
},
|
|
352
|
+
textColor: {
|
|
353
|
+
primary: withAlpha('var(--text-primary)'),
|
|
354
|
+
secondary: withAlpha('var(--text-secondary)'),
|
|
355
|
+
'secondary-hover': withAlpha('var(--text-secondary-hover)'),
|
|
356
|
+
tertiary: withAlpha('var(--text-tertiary)'),
|
|
357
|
+
'tertiary-hover': withAlpha('var(--text-tertiary-hover)'),
|
|
358
|
+
quaternary: withAlpha('var(--text-quaternary)'),
|
|
359
|
+
disabled: withAlpha('var(--text-disabled)'),
|
|
360
|
+
'error-primary': withAlpha('var(--text-error-primary)'),
|
|
361
|
+
'error-secondary': withAlpha('var(--text-error-secondary)'),
|
|
362
|
+
'error-tertiary': withAlpha('var(--text-error-tertiary)'),
|
|
363
|
+
'warning-primary': withAlpha('var(--text-warning-primary)'),
|
|
364
|
+
'warning-secondary': withAlpha('var(--text-warning-secondary)'),
|
|
365
|
+
'warning-tertiary': withAlpha('var(--text-warning-tertiary)'),
|
|
366
|
+
'success-primary': withAlpha('var(--text-success-primary)'),
|
|
367
|
+
'success-secondary': withAlpha('var(--text-success-secondary)'),
|
|
368
|
+
'success-tertiary': withAlpha('var(--text-success-tertiary)'),
|
|
369
|
+
placeholder: withAlpha('var(--text-placeholder)'),
|
|
370
|
+
'control-active-foreground': withAlpha(
|
|
371
|
+
'var(--text-control-active-foreground)'
|
|
372
|
+
),
|
|
373
|
+
purple: withAlpha('var(--text-purple)'),
|
|
374
|
+
'brand-primary': withAlpha('var(--text-brand-primary)'),
|
|
375
|
+
'brand-secondary': withAlpha('var(--text-brand-secondary)'),
|
|
376
|
+
'brand-tertiary': withAlpha('var(--text-brand-tertiary)'),
|
|
377
|
+
'brand-disabled': withAlpha('var(--text-brand-disabled)'),
|
|
378
|
+
'brand-on-fill': withAlpha('var(--text-brand-on-fill)'),
|
|
379
|
+
'chart-on-color': withAlpha('var(--chart-on-color)'),
|
|
380
|
+
link: withAlpha('var(--text-link)'),
|
|
381
|
+
'link-hover': withAlpha('var(--text-link-hover)'),
|
|
382
|
+
'status-green': withAlpha('var(--text-status-green)'),
|
|
383
|
+
'status-orange': withAlpha('var(--text-status-orange)'),
|
|
384
|
+
'status-yellow': withAlpha('var(--text-status-yellow)'),
|
|
385
|
+
'status-red': withAlpha('var(--text-status-red)'),
|
|
386
|
+
'button-primary': withAlpha('var(--text-button-primary)'),
|
|
387
|
+
/* icon colors — separate namespace so icons can diverge from text */
|
|
388
|
+
'icon-primary': withAlpha('var(--icon-primary)'),
|
|
389
|
+
'icon-secondary': withAlpha('var(--icon-secondary)'),
|
|
390
|
+
'icon-tertiary': withAlpha('var(--icon-tertiary)'),
|
|
391
|
+
'icon-disabled': withAlpha('var(--icon-disabled)'),
|
|
392
|
+
'icon-brand': withAlpha('var(--icon-brand)'),
|
|
393
|
+
'icon-brand-fill': withAlpha('var(--icon-brand-fill)'),
|
|
394
|
+
'icon-brand-background': withAlpha('var(--icon-brand-background)'),
|
|
395
|
+
'icon-error': withAlpha('var(--icon-error)'),
|
|
396
|
+
'icon-success': withAlpha('var(--icon-success)'),
|
|
397
|
+
'icon-warning': withAlpha('var(--icon-warning)'),
|
|
398
|
+
},
|
|
399
|
+
colors: {
|
|
400
|
+
popover: {
|
|
401
|
+
DEFAULT: withAlpha('var(--bg-elevated)'),
|
|
402
|
+
},
|
|
403
|
+
background: {
|
|
404
|
+
DEFAULT: withAlpha('var(--bg-elevated)'),
|
|
405
|
+
},
|
|
406
|
+
ls: {
|
|
407
|
+
blue: 'hsl(211.5, 91.8%, 61.8%)',
|
|
408
|
+
white: 'var(--white)',
|
|
409
|
+
black: 'var(--black)',
|
|
410
|
+
red: {
|
|
411
|
+
25: withAlpha('var(--red-25)'),
|
|
412
|
+
50: withAlpha('var(--red-50)'),
|
|
413
|
+
100: withAlpha('var(--red-100)'),
|
|
414
|
+
200: withAlpha('var(--red-200)'),
|
|
415
|
+
300: withAlpha('var(--red-300)'),
|
|
416
|
+
400: withAlpha('var(--red-400)'),
|
|
417
|
+
500: withAlpha('var(--red-500)'),
|
|
418
|
+
600: withAlpha('var(--red-600)'),
|
|
419
|
+
700: withAlpha('var(--red-700)'),
|
|
420
|
+
800: withAlpha('var(--red-800)'),
|
|
421
|
+
900: withAlpha('var(--red-900)'),
|
|
422
|
+
950: withAlpha('var(--red-950)'),
|
|
423
|
+
},
|
|
424
|
+
orange: {
|
|
425
|
+
25: withAlpha('var(--orange-25)'),
|
|
426
|
+
50: withAlpha('var(--orange-50)'),
|
|
427
|
+
100: withAlpha('var(--orange-100)'),
|
|
428
|
+
200: withAlpha('var(--orange-200)'),
|
|
429
|
+
300: withAlpha('var(--orange-300)'),
|
|
430
|
+
400: withAlpha('var(--orange-400)'),
|
|
431
|
+
500: withAlpha('var(--orange-500)'),
|
|
432
|
+
600: withAlpha('var(--orange-600)'),
|
|
433
|
+
700: withAlpha('var(--orange-700)'),
|
|
434
|
+
800: withAlpha('var(--orange-800)'),
|
|
435
|
+
900: withAlpha('var(--orange-900)'),
|
|
436
|
+
950: withAlpha('var(--orange-950)'),
|
|
437
|
+
},
|
|
438
|
+
neutral: {
|
|
439
|
+
25: withAlpha('var(--neutral-25)'),
|
|
440
|
+
35: withAlpha('var(--neutral-35)'),
|
|
441
|
+
50: withAlpha('var(--neutral-50)'),
|
|
442
|
+
100: withAlpha('var(--neutral-100)'),
|
|
443
|
+
200: withAlpha('var(--neutral-200)'),
|
|
444
|
+
300: withAlpha('var(--neutral-300)'),
|
|
445
|
+
400: withAlpha('var(--neutral-400)'),
|
|
446
|
+
500: withAlpha('var(--neutral-500)'),
|
|
447
|
+
600: withAlpha('var(--neutral-600)'),
|
|
448
|
+
700: withAlpha('var(--neutral-700)'),
|
|
449
|
+
800: withAlpha('var(--neutral-800)'),
|
|
450
|
+
900: withAlpha('var(--neutral-900)'),
|
|
451
|
+
950: withAlpha('var(--neutral-950)'),
|
|
452
|
+
},
|
|
453
|
+
green: {
|
|
454
|
+
25: withAlpha('var(--green-25)'),
|
|
455
|
+
50: withAlpha('var(--green-50)'),
|
|
456
|
+
100: withAlpha('var(--green-100)'),
|
|
457
|
+
200: withAlpha('var(--green-200)'),
|
|
458
|
+
300: withAlpha('var(--green-300)'),
|
|
459
|
+
400: withAlpha('var(--green-400)'),
|
|
460
|
+
500: withAlpha('var(--green-500)'),
|
|
461
|
+
600: withAlpha('var(--green-600)'),
|
|
462
|
+
700: withAlpha('var(--green-700)'),
|
|
463
|
+
800: withAlpha('var(--green-800)'),
|
|
464
|
+
900: withAlpha('var(--green-900)'),
|
|
465
|
+
950: withAlpha('var(--green-950)'),
|
|
466
|
+
},
|
|
467
|
+
acid: {
|
|
468
|
+
10: withAlpha('var(--acid-10)'),
|
|
469
|
+
25: withAlpha('var(--acid-25)'),
|
|
470
|
+
50: withAlpha('var(--acid-50)'),
|
|
471
|
+
100: withAlpha('var(--acid-100)'),
|
|
472
|
+
200: withAlpha('var(--acid-200)'),
|
|
473
|
+
300: withAlpha('var(--acid-300)'),
|
|
474
|
+
400: withAlpha('var(--acid-400)'),
|
|
475
|
+
500: withAlpha('var(--acid-500)'),
|
|
476
|
+
600: withAlpha('var(--acid-600)'),
|
|
477
|
+
700: withAlpha('var(--acid-700)'),
|
|
478
|
+
800: withAlpha('var(--acid-800)'),
|
|
479
|
+
900: withAlpha('var(--acid-900)'),
|
|
480
|
+
950: withAlpha('var(--acid-950)'),
|
|
481
|
+
},
|
|
482
|
+
purple: {
|
|
483
|
+
10: withAlpha('var(--purple-10)'),
|
|
484
|
+
25: withAlpha('var(--purple-25)'),
|
|
485
|
+
50: withAlpha('var(--purple-50)'),
|
|
486
|
+
100: withAlpha('var(--purple-100)'),
|
|
487
|
+
200: withAlpha('var(--purple-200)'),
|
|
488
|
+
300: withAlpha('var(--purple-300)'),
|
|
489
|
+
400: withAlpha('var(--purple-400)'),
|
|
490
|
+
500: withAlpha('var(--purple-500)'),
|
|
491
|
+
600: withAlpha('var(--purple-600)'),
|
|
492
|
+
700: withAlpha('var(--purple-700)'),
|
|
493
|
+
800: withAlpha('var(--purple-800)'),
|
|
494
|
+
900: withAlpha('var(--purple-900)'),
|
|
495
|
+
950: withAlpha('var(--purple-950)'),
|
|
496
|
+
},
|
|
497
|
+
},
|
|
498
|
+
brand: {
|
|
499
|
+
...brandPalette,
|
|
500
|
+
},
|
|
501
|
+
border: {
|
|
502
|
+
default: withAlpha('var(--border-default)'),
|
|
503
|
+
subtle: withAlpha('var(--border-subtle)'),
|
|
504
|
+
muted: withAlpha('var(--border-muted)'),
|
|
505
|
+
faint: withAlpha('var(--border-faint)'),
|
|
506
|
+
strong: withAlpha('var(--border-strong)'),
|
|
507
|
+
},
|
|
508
|
+
},
|
|
509
|
+
keyframes: {
|
|
510
|
+
'tab-indicator-expand': {
|
|
511
|
+
from: { width: '2px' },
|
|
512
|
+
to: { width: '100%' },
|
|
513
|
+
},
|
|
514
|
+
hide: {
|
|
515
|
+
from: { opacity: 1 },
|
|
516
|
+
to: { opacity: 0 },
|
|
517
|
+
},
|
|
518
|
+
slideIn: {
|
|
519
|
+
from: {
|
|
520
|
+
transform: 'translateX(calc(100% + var(--viewport-padding)))',
|
|
521
|
+
},
|
|
522
|
+
to: { transform: 'translateX(0)' },
|
|
523
|
+
},
|
|
524
|
+
swipeOut: {
|
|
525
|
+
from: { transform: 'translateX(var(--radix-toast-swipe-end-x))' },
|
|
526
|
+
to: { transform: 'translateX(calc(100% + var(--viewport-padding)))' },
|
|
527
|
+
},
|
|
528
|
+
'linear-progress-indeterminate': {
|
|
529
|
+
'0%, 100%': { left: '0%', width: '12.5%' },
|
|
530
|
+
'25%, 75%': { width: '25%' },
|
|
531
|
+
'50%': { left: '87.5%', width: '12.5%' },
|
|
532
|
+
},
|
|
533
|
+
},
|
|
534
|
+
animation: {
|
|
535
|
+
'tab-indicator-expand':
|
|
536
|
+
'tab-indicator-expand var(--duration-slower) cubic-bezier(0.22, 1, 0.36, 1) both',
|
|
537
|
+
hide: 'hide 100ms ease-in',
|
|
538
|
+
slideIn: 'slideIn 150ms cubic-bezier(0.16, 1, 0.3, 1)',
|
|
539
|
+
swipeOut: 'swipeOut 100ms ease-out',
|
|
540
|
+
'linear-progress-indeterminate':
|
|
541
|
+
'linear-progress-indeterminate 2.5s ease-in-out infinite',
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
},
|
|
545
|
+
plugins: [
|
|
546
|
+
require('@tailwindcss/container-queries'),
|
|
547
|
+
require('@tailwindcss/forms'),
|
|
548
|
+
require('tailwindcss-animate'),
|
|
549
|
+
plugin(({ addUtilities, addBase }) => {
|
|
550
|
+
addBase({
|
|
551
|
+
input: {
|
|
552
|
+
borderWidth: '0',
|
|
553
|
+
padding: '0',
|
|
554
|
+
},
|
|
555
|
+
// Global scrollbar styles for all scrollable elements
|
|
556
|
+
'html, body, *': {
|
|
557
|
+
'scrollbar-width': 'thin',
|
|
558
|
+
'scrollbar-color': 'var(--scrollbar-thumb) transparent',
|
|
559
|
+
},
|
|
560
|
+
'html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar':
|
|
561
|
+
{
|
|
562
|
+
width: '8px',
|
|
563
|
+
background: 'transparent',
|
|
564
|
+
},
|
|
565
|
+
'html::-webkit-scrollbar-track, body::-webkit-scrollbar-track, *::-webkit-scrollbar-track':
|
|
566
|
+
{
|
|
567
|
+
background: 'transparent',
|
|
568
|
+
},
|
|
569
|
+
'html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-track, *::-webkit-scrollbar-thumb':
|
|
570
|
+
{
|
|
571
|
+
background: 'var(--scrollbar-thumb)',
|
|
572
|
+
'border-radius': '4px',
|
|
573
|
+
},
|
|
574
|
+
'html::-webkit-scrollbar-thumb:hover, body::-webkit-scrollbar-thumb:hover, *::-webkit-scrollbar-thumb:hover':
|
|
575
|
+
{
|
|
576
|
+
background: 'var(--scrollbar-thumb-hover)',
|
|
577
|
+
},
|
|
578
|
+
});
|
|
579
|
+
addUtilities({
|
|
580
|
+
'.text-security': {
|
|
581
|
+
textSecurity: 'disc',
|
|
582
|
+
WebkitTextSecurity: 'disc',
|
|
583
|
+
MozTextSecurity: 'disc',
|
|
584
|
+
},
|
|
585
|
+
});
|
|
586
|
+
|
|
587
|
+
addUtilities({
|
|
588
|
+
'.button-primary-foreground': {
|
|
589
|
+
color: 'var(--button-primary-foreground)',
|
|
590
|
+
},
|
|
591
|
+
'.button-primary-foreground-hover': {
|
|
592
|
+
color: 'var(--button-primary-foreground-hover)',
|
|
593
|
+
},
|
|
594
|
+
'.button-primary-bg': { backgroundColor: 'var(--button-primary-bg)' },
|
|
595
|
+
'.button-primary-bg-hover': {
|
|
596
|
+
backgroundColor: 'var(--button-primary-bg-hover)',
|
|
597
|
+
},
|
|
598
|
+
'.button-primary-border': {
|
|
599
|
+
borderColor: 'var(--button-primary-border)',
|
|
600
|
+
},
|
|
601
|
+
'.button-primary-border-hover': {
|
|
602
|
+
borderColor: 'var(--button-primary-border-hover)',
|
|
603
|
+
},
|
|
604
|
+
'.button-primary-underlined-foreground': {
|
|
605
|
+
color: 'var(--button-primary-underlined-foreground)',
|
|
606
|
+
},
|
|
607
|
+
'.button-primary-underlined-foreground-hover': {
|
|
608
|
+
color: 'var(--button-primary-underlined-foreground-hover)',
|
|
609
|
+
},
|
|
610
|
+
'.button-primary-underlined-border': {
|
|
611
|
+
borderColor: 'var(--button-primary-underlined-border)',
|
|
612
|
+
},
|
|
613
|
+
'.button-primary-underlined-border-hover': {
|
|
614
|
+
borderColor: 'var(--button-primary-underlined-border-hover)',
|
|
615
|
+
},
|
|
616
|
+
|
|
617
|
+
'.button-primary-error-foreground': {
|
|
618
|
+
color: 'var(--button-primary-error-foreground)',
|
|
619
|
+
},
|
|
620
|
+
'.button-primary-error-foreground-hover': {
|
|
621
|
+
color: 'var(--button-primary-error-foreground-hover)',
|
|
622
|
+
},
|
|
623
|
+
'.button-primary-error-bg': {
|
|
624
|
+
backgroundColor: 'var(--button-primary-error-bg)',
|
|
625
|
+
},
|
|
626
|
+
'.button-primary-error-bg-hover': {
|
|
627
|
+
backgroundColor: 'var(--button-primary-error-bg-hover)',
|
|
628
|
+
},
|
|
629
|
+
'.button-primary-error-border': {
|
|
630
|
+
borderColor: 'var(--button-primary-error-border)',
|
|
631
|
+
},
|
|
632
|
+
'.button-primary-error-border-hover': {
|
|
633
|
+
borderColor: 'var(--button-primary-error-border-hover)',
|
|
634
|
+
},
|
|
635
|
+
|
|
636
|
+
'.button-secondary-foreground': {
|
|
637
|
+
color: 'var(--button-secondary-foreground)',
|
|
638
|
+
},
|
|
639
|
+
'.button-secondary-foreground-hover': {
|
|
640
|
+
color: 'var(--button-secondary-foreground-hover)',
|
|
641
|
+
},
|
|
642
|
+
'.button-secondary-bg': {
|
|
643
|
+
backgroundColor: 'var(--button-secondary-bg)',
|
|
644
|
+
},
|
|
645
|
+
'.button-secondary-bg-hover': {
|
|
646
|
+
backgroundColor: 'var(--button-secondary-bg-hover)',
|
|
647
|
+
},
|
|
648
|
+
'.button-secondary-border': {
|
|
649
|
+
borderColor: 'var(--button-secondary-border)',
|
|
650
|
+
},
|
|
651
|
+
'.button-secondary-border-hover': {
|
|
652
|
+
borderColor: 'var(--button-secondary-border-hover)',
|
|
653
|
+
},
|
|
654
|
+
'.button-secondary-underlined-border': {
|
|
655
|
+
borderColor: 'var(--button-secondary-underlined-border)',
|
|
656
|
+
},
|
|
657
|
+
'.button-secondary-underlined-border-hover': {
|
|
658
|
+
borderColor: 'var(--button-secondary-underlined-border-hover)',
|
|
659
|
+
},
|
|
660
|
+
|
|
661
|
+
'.button-secondary-color-foreground': {
|
|
662
|
+
color: 'var(--button-secondary-color-foreground)',
|
|
663
|
+
},
|
|
664
|
+
'.button-secondary-color-foreground-hover': {
|
|
665
|
+
color: 'var(--button-secondary-color-foreground-hover)',
|
|
666
|
+
},
|
|
667
|
+
'.button-secondary-color-bg': {
|
|
668
|
+
backgroundColor: 'var(--button-secondary-color-bg)',
|
|
669
|
+
},
|
|
670
|
+
'.button-secondary-color-bg-hover': {
|
|
671
|
+
backgroundColor: 'var(--button-secondary-color-bg-hover)',
|
|
672
|
+
},
|
|
673
|
+
'.button-secondary-color-border': {
|
|
674
|
+
borderColor: 'var(--button-secondary-color-border)',
|
|
675
|
+
},
|
|
676
|
+
'.button-secondary-color-border-hover': {
|
|
677
|
+
borderColor: 'var(--button-secondary-color-border-hover)',
|
|
678
|
+
},
|
|
679
|
+
|
|
680
|
+
'.button-error-underlined-foreground-hover': {
|
|
681
|
+
color: 'var(--button-error-underlined-foreground-hover)',
|
|
682
|
+
},
|
|
683
|
+
'.button-error-underlined-border': {
|
|
684
|
+
borderColor: 'var(--button-error-underlined-border)',
|
|
685
|
+
},
|
|
686
|
+
'.button-error-underlined-border-hover': {
|
|
687
|
+
borderColor: 'var(--button-error-underlined-border-hover)',
|
|
688
|
+
},
|
|
689
|
+
'.button-error-disabled-foreground': {
|
|
690
|
+
color: 'var(--button-error-disabled-foreground)',
|
|
691
|
+
},
|
|
692
|
+
'.button-error-disabled-border': {
|
|
693
|
+
borderColor: 'var(--button-error-disabled-border)',
|
|
694
|
+
},
|
|
695
|
+
});
|
|
696
|
+
|
|
697
|
+
addUtilities({
|
|
698
|
+
'.display-sm': {
|
|
699
|
+
fontSize: '1rem', // 16px
|
|
700
|
+
lineHeight: '1.5rem', // 24px
|
|
701
|
+
fontWeight: '600', // semibold
|
|
702
|
+
},
|
|
703
|
+
'.display-base': {
|
|
704
|
+
fontSize: '1.5rem', // 24px
|
|
705
|
+
lineHeight: '2rem', // 32px
|
|
706
|
+
letterSpacing: '-0.01em', // tracking-tight
|
|
707
|
+
},
|
|
708
|
+
'.display-lg': {
|
|
709
|
+
fontSize: '1.875rem', // 30px
|
|
710
|
+
lineHeight: '2.375rem', // 38px
|
|
711
|
+
letterSpacing: '-0.01em', // tracking-tight
|
|
712
|
+
},
|
|
713
|
+
'.display-xl': {
|
|
714
|
+
fontSize: '2.25rem', // 36px
|
|
715
|
+
lineHeight: '2.75rem', // 44px
|
|
716
|
+
letterSpacing: '-0.01em', // tracking-tight
|
|
717
|
+
},
|
|
718
|
+
'.display-2xl': {
|
|
719
|
+
fontSize: '3rem', // 48px
|
|
720
|
+
lineHeight: '3.75rem', // 60px
|
|
721
|
+
letterSpacing: '-0.01em', // tracking-tight
|
|
722
|
+
},
|
|
723
|
+
'.caps-label-sm': {
|
|
724
|
+
fontSize: '0.875rem', // 14px
|
|
725
|
+
lineHeight: '1.25rem', // 20px
|
|
726
|
+
letterSpacing: '0.02625rem', // 0.42px
|
|
727
|
+
textTransform: 'uppercase',
|
|
728
|
+
},
|
|
729
|
+
'.caps-label-xs': {
|
|
730
|
+
fontSize: '0.75rem', // 14px
|
|
731
|
+
lineHeight: '1.125rem', // 20px
|
|
732
|
+
letterSpacing: '0.0225rem', // 0.42px
|
|
733
|
+
textTransform: 'uppercase',
|
|
734
|
+
},
|
|
735
|
+
});
|
|
736
|
+
}),
|
|
737
|
+
],
|
|
738
|
+
};
|