burne-ui 2.1.3 → 2.1.4
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/README.md +8 -4
- package/cli/burne-ui.js +4 -3
- package/cli/init.js +83 -19
- package/cli/skin-validate.mjs +83 -2
- package/cli/tailwind.css +12 -0
- package/cli/theme-bridge.css +2 -0
- package/dist/authoring.d.ts +2 -0
- package/dist/authoring.js +8 -0
- package/dist/components/composite/Accordion/accordionStyles.js +1 -1
- package/dist/components/composite/ButtonGroup/buttonGroupStyles.js +1 -1
- package/dist/components/composite/Form/formStyles.js +4 -4
- package/dist/components/core/Alert/alertStyles.d.ts +1 -1
- package/dist/components/core/Alert/alertStyles.js +1 -1
- package/dist/components/core/Breadcrumbs/breadcrumbsStyles.js +4 -4
- package/dist/components/core/Button/buttonStyles.d.ts +1 -1
- package/dist/components/core/Button/buttonStyles.js +9 -8
- package/dist/components/core/Calendar/calendarStyles.d.ts +3 -3
- package/dist/components/core/Calendar/calendarStyles.js +4 -4
- package/dist/components/core/Card/cardStyles.d.ts +2 -2
- package/dist/components/core/Card/cardStyles.js +2 -2
- package/dist/components/core/Checkbox/checkboxStyles.d.ts +3 -3
- package/dist/components/core/Checkbox/checkboxStyles.js +3 -3
- package/dist/components/core/ColorPicker/colorPickerStyles.d.ts +2 -2
- package/dist/components/core/ColorPicker/colorPickerStyles.js +2 -2
- package/dist/components/core/ColorPicker/colorSliderStyles.d.ts +1 -1
- package/dist/components/core/ColorPicker/colorSliderStyles.js +1 -1
- package/dist/components/core/ComboBox/comboBoxStyles.d.ts +4 -4
- package/dist/components/core/ComboBox/comboBoxStyles.js +4 -4
- package/dist/components/core/DatePicker/datePickerStyles.d.ts +2 -2
- package/dist/components/core/DatePicker/datePickerStyles.js +2 -2
- package/dist/components/core/Disclosure/disclosureStyles.d.ts +1 -1
- package/dist/components/core/Disclosure/disclosureStyles.js +3 -3
- package/dist/components/core/Dropdown/dropdownStyles.d.ts +3 -3
- package/dist/components/core/Dropdown/dropdownStyles.js +3 -3
- package/dist/components/core/Expandable/expandableStyles.d.ts +1 -1
- package/dist/components/core/Expandable/expandableStyles.js +1 -1
- package/dist/components/core/Field/fieldStyles.js +1 -1
- package/dist/components/core/Input/inputStyles.d.ts +5 -5
- package/dist/components/core/Input/inputStyles.js +5 -5
- package/dist/components/core/Kbd/kbdStyles.d.ts +1 -1
- package/dist/components/core/Kbd/kbdStyles.js +1 -1
- package/dist/components/core/Link/linkStyles.d.ts +1 -1
- package/dist/components/core/Link/linkStyles.js +1 -1
- package/dist/components/core/ListBox/listBoxStyles.d.ts +3 -3
- package/dist/components/core/ListBox/listBoxStyles.js +3 -3
- package/dist/components/core/Loading/loadingStyles.js +1 -1
- package/dist/components/core/Meter/meterStyles.d.ts +1 -1
- package/dist/components/core/Meter/meterStyles.js +1 -1
- package/dist/components/core/NumberInput/numberInputStyles.js +2 -2
- package/dist/components/core/Pagination/paginationStyles.d.ts +3 -3
- package/dist/components/core/Pagination/paginationStyles.js +3 -3
- package/dist/components/core/PinInput/pinInputStyles.d.ts +1 -1
- package/dist/components/core/PinInput/pinInputStyles.js +2 -2
- package/dist/components/core/ProgressBar/progressBarStyles.d.ts +1 -1
- package/dist/components/core/ProgressBar/progressBarStyles.js +1 -1
- package/dist/components/core/Radio/radioStyles.d.ts +3 -3
- package/dist/components/core/Radio/radioStyles.js +3 -3
- package/dist/components/core/SearchInput/searchInputStyles.d.ts +2 -2
- package/dist/components/core/SearchInput/searchInputStyles.js +2 -2
- package/dist/components/core/Select/selectStyles.d.ts +3 -3
- package/dist/components/core/Select/selectStyles.js +3 -3
- package/dist/components/core/Separator/separatorStyles.d.ts +2 -2
- package/dist/components/core/Separator/separatorStyles.js +2 -2
- package/dist/components/core/Slider/sliderStyles.d.ts +1 -1
- package/dist/components/core/Slider/sliderStyles.js +1 -1
- package/dist/components/core/Stepper/stepperStyles.js +1 -1
- package/dist/components/core/Switch/switchStyles.d.ts +3 -3
- package/dist/components/core/Switch/switchStyles.js +3 -3
- package/dist/components/core/Table/tableStyles.d.ts +1 -1
- package/dist/components/core/Table/tableStyles.js +2 -2
- package/dist/components/core/Tabs/tabsStyles.js +1 -1
- package/dist/components/core/TagsInput/tagsInputStyles.js +2 -2
- package/dist/components/core/TextArea/textAreaStyles.d.ts +3 -3
- package/dist/components/core/TextArea/textAreaStyles.js +2 -2
- package/dist/components/core/TimeField/timeFieldStyles.d.ts +1 -1
- package/dist/components/core/TimeField/timeFieldStyles.js +1 -1
- package/dist/components/core/Toast/toastStyles.d.ts +1 -1
- package/dist/components/core/Toast/toastStyles.js +1 -1
- package/dist/components/core/Tooltip/tooltipStyles.d.ts +1 -1
- package/dist/components/core/Tooltip/tooltipStyles.js +1 -1
- package/dist/components/core/utils/inputAffixStyles.js +1 -1
- package/dist/components/core/utils/optionListItemStyles.d.ts +2 -2
- package/dist/components/core/utils/optionListItemStyles.js +2 -2
- package/dist/components/core/utils/semanticStatusSurface.js +4 -4
- package/dist/components/core/utils/sizeLayout/panel.js +4 -4
- package/dist/studio/colorPresets.d.ts +1 -1
- package/dist/studio/colorPresets.js +8 -1
- package/dist/studio.d.ts +1 -1
- package/dist/studio.js +13 -1
- package/dist/theme/namedPalettes.d.ts +12 -0
- package/dist/theme/namedPalettes.js +697 -1
- package/dist/tokens/config.d.ts +8 -2
- package/dist/tokens/config.js +8 -0
- package/dist/tokens/index.d.ts +1 -1
- package/dist/tokens/index.js +9 -0
- package/dist/ui.css +55 -45
- package/dist/utils/cn.js +2 -0
- package/package.json +1 -1
package/dist/tokens/config.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export declare const tokensConfig: {
|
|
|
53
53
|
readonly tailwindBridge: {
|
|
54
54
|
readonly "font-sans": "font-family-sans";
|
|
55
55
|
readonly "font-mono": "font-family-mono";
|
|
56
|
+
readonly "spacing-2xsmall": "space-2xsmall";
|
|
56
57
|
readonly "spacing-xsmall": "space-xsmall";
|
|
57
58
|
readonly "spacing-small": "space-small";
|
|
58
59
|
readonly "spacing-base": "space-base";
|
|
@@ -61,11 +62,16 @@ export declare const tokensConfig: {
|
|
|
61
62
|
readonly "spacing-xlarge": "space-xlarge";
|
|
62
63
|
readonly "spacing-2xlarge": "space-2xlarge";
|
|
63
64
|
readonly "spacing-3xlarge": "space-3xlarge";
|
|
65
|
+
readonly "spacing-4xlarge": "space-4xlarge";
|
|
66
|
+
readonly "spacing-5xlarge": "space-5xlarge";
|
|
64
67
|
readonly "radius-xsmall": "radius-xsmall";
|
|
65
68
|
readonly "radius-small": "radius-small";
|
|
66
69
|
readonly "radius-base": "radius-base";
|
|
67
70
|
readonly "radius-mid": "radius-mid";
|
|
68
71
|
readonly "radius-large": "radius-large";
|
|
72
|
+
readonly "radius-xlarge": "radius-xlarge";
|
|
73
|
+
readonly "radius-2xlarge": "radius-2xlarge";
|
|
74
|
+
readonly "radius-3xlarge": "radius-3xlarge";
|
|
69
75
|
readonly "color-background": "color-background";
|
|
70
76
|
readonly "color-foreground": "color-foreground";
|
|
71
77
|
readonly "color-muted": "color-muted";
|
|
@@ -132,9 +138,9 @@ export declare const tokensConfig: {
|
|
|
132
138
|
};
|
|
133
139
|
};
|
|
134
140
|
/** `--spacing-*` steps → `gap-*`, `p-*`, `m-*`, `space-*`, … utilities */
|
|
135
|
-
export declare const burneSpacingScale: readonly ["xsmall", "small", "base", "mid", "large", "xlarge", "2xlarge", "3xlarge", "4xlarge", "5xlarge"];
|
|
141
|
+
export declare const burneSpacingScale: readonly ["2xsmall", "xsmall", "small", "base", "mid", "large", "xlarge", "2xlarge", "3xlarge", "4xlarge", "5xlarge"];
|
|
136
142
|
/** `--radius-*` steps → `rounded-*` utilities */
|
|
137
|
-
export declare const burneRadiusScale: readonly ["xsmall", "small", "base", "mid", "large", "2xlarge", "3xlarge", "nested"];
|
|
143
|
+
export declare const burneRadiusScale: readonly ["xsmall", "small", "base", "mid", "large", "xlarge", "2xlarge", "3xlarge", "nested"];
|
|
138
144
|
/**
|
|
139
145
|
* Icon utilities `icon-*` — 1:1 with `--size-scale-*` / `--icon-size-*`.
|
|
140
146
|
* SelectionIndicator marks use `--icon-size-*` × 0.75 in component tokens.
|
package/dist/tokens/config.js
CHANGED
|
@@ -4,6 +4,7 @@ const tokensConfig = {
|
|
|
4
4
|
tailwindBridge: {
|
|
5
5
|
"font-sans": "font-family-sans",
|
|
6
6
|
"font-mono": "font-family-mono",
|
|
7
|
+
"spacing-2xsmall": "space-2xsmall",
|
|
7
8
|
"spacing-xsmall": "space-xsmall",
|
|
8
9
|
"spacing-small": "space-small",
|
|
9
10
|
"spacing-base": "space-base",
|
|
@@ -12,11 +13,16 @@ const tokensConfig = {
|
|
|
12
13
|
"spacing-xlarge": "space-xlarge",
|
|
13
14
|
"spacing-2xlarge": "space-2xlarge",
|
|
14
15
|
"spacing-3xlarge": "space-3xlarge",
|
|
16
|
+
"spacing-4xlarge": "space-4xlarge",
|
|
17
|
+
"spacing-5xlarge": "space-5xlarge",
|
|
15
18
|
"radius-xsmall": "radius-xsmall",
|
|
16
19
|
"radius-small": "radius-small",
|
|
17
20
|
"radius-base": "radius-base",
|
|
18
21
|
"radius-mid": "radius-mid",
|
|
19
22
|
"radius-large": "radius-large",
|
|
23
|
+
"radius-xlarge": "radius-xlarge",
|
|
24
|
+
"radius-2xlarge": "radius-2xlarge",
|
|
25
|
+
"radius-3xlarge": "radius-3xlarge",
|
|
20
26
|
"color-background": "color-background",
|
|
21
27
|
"color-foreground": "color-foreground",
|
|
22
28
|
"color-muted": "color-muted",
|
|
@@ -83,6 +89,7 @@ const tokensConfig = {
|
|
|
83
89
|
}
|
|
84
90
|
};
|
|
85
91
|
const burneSpacingScale = [
|
|
92
|
+
"2xsmall",
|
|
86
93
|
"xsmall",
|
|
87
94
|
"small",
|
|
88
95
|
"base",
|
|
@@ -100,6 +107,7 @@ const burneRadiusScale = [
|
|
|
100
107
|
"base",
|
|
101
108
|
"mid",
|
|
102
109
|
"large",
|
|
110
|
+
"xlarge",
|
|
103
111
|
"2xlarge",
|
|
104
112
|
"3xlarge",
|
|
105
113
|
"nested"
|
package/dist/tokens/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { OVERLAY_BACKDROP_CSS_VAR, OVERLAY_BACKDROP_DEFAULTS, overlayBackdropTok
|
|
|
7
7
|
export { burneZIndexScale, Z_INDEX_CSS_VAR, Z_INDEX_DEFAULTS, zIndexToken, type ZIndexLayer, } from './zIndex.js';
|
|
8
8
|
export { NARROW_VIEWPORT_MAX_PX, TOUCH_OR_NARROW_VIEWPORT_MQL, TOUCH_OR_NARROW_VIEWPORT_MQL_ANY_POINTER, } from './breakpoints.js';
|
|
9
9
|
/** CSS variable names for type-safe access and generators */
|
|
10
|
-
export declare const designTokenNames: readonly ["--border-width", "--border-width-outline", "--border-color", "--focus-ring-width", "--focus-ring-offset", "--motion-surface-duration", "--motion-surface-ease", "--motion-shadow-ease", "--overlay-backdrop-color", "--overlay-backdrop-blur", "--overlay-backdrop-saturate", "--overlay-backdrop-scrim", "--z-sticky", "--z-dialog", "--z-dropdown", "--z-dropdown-sub", "--z-popover", "--z-toast", "--z-tooltip", "--color-background", "--color-surface", "--color-border", "--color-shadow", "--color-shadow-secondary", "--color-foreground", "--color-muted", "--color-muted-foreground", "--color-primary", "--color-primary-foreground", "--color-primary-hover", "--color-default-hover", "--color-transparent-hover", "--color-primary-tint", "--color-primary-tint-strong", "--color-indicator", "--color-indicator-foreground", "--color-secondary", "--color-secondary-foreground", "--color-secondary-hover", "--color-tertiary", "--color-tertiary-foreground", "--color-tertiary-hover", "--color-focus-ring", "--color-focus-ring-danger", "--color-focus-ring-success", "--color-focus-ring-info", "--color-focus-ring-warning", "--color-converge-ripple-primary-fill", "--color-converge-ripple-neutral", "--color-converge-ripple-neutral-muted", "--color-converge-ripple-danger", "--color-converge-ripple-info", "--color-converge-ripple-success", "--color-converge-ripple-warning", "--color-danger", "--color-danger-fill-hover", "--color-danger-foreground", "--color-success", "--color-success-foreground", "--color-success-fill-hover", "--color-info", "--color-info-foreground", "--color-info-fill-hover", "--color-warning", "--color-warning-foreground", "--color-warning-fill-hover", "--color-surface-tint-danger", "--color-surface-tint-success", "--color-surface-tint-info", "--color-surface-tint-warning", "--color-surface-tint-danger-hover", "--color-surface-tint-success-hover", "--color-surface-tint-info-hover", "--color-surface-tint-warning-hover", "--font-family-sans", "--font-family-mono", "--letter-spacing", "--font-w-small", "--font-w-base", "--font-w-mid", "--font-w-strong", "--font-w-bold", "--space", "--space-xsmall", "--space-small", "--space-base", "--space-mid", "--space-large", "--space-xlarge", "--space-2xlarge", "--space-3xlarge", "--size", "--size-scale-xsmall", "--size-scale-small", "--size-scale-base", "--size-scale-mid", "--size-scale-large", "--size-scale-xlarge", "--size-scale-2xlarge", "--size-scale-3xlarge", "--selection-indicator-xsmall", "--selection-indicator-small", "--selection-indicator-base", "--selection-indicator-mid", "--selection-indicator-large", "--selection-indicator-radius-xsmall", "--selection-indicator-radius-small", "--selection-indicator-radius-base", "--selection-indicator-radius-mid", "--selection-indicator-radius-large", "--radius", "--radius-xsmall", "--radius-small", "--radius-base", "--radius-mid", "--radius-large", "--text-scale-xsmall", "--text-scale-xsmall--line-height", "--text-scale-small", "--text-scale-small--line-height", "--text-scale-base", "--text-scale-base--line-height", "--text-scale-mid", "--text-scale-mid--line-height", "--text-scale-large", "--text-scale-large--line-height", "--text-scale-xlarge", "--text-scale-xlarge--line-height", "--text-scale-2xlarge", "--text-scale-2xlarge--line-height", "--text-scale-3xlarge", "--text-scale-3xlarge--line-height", "--text-accent-header-size", "--text-accent-header-line-height", "--text-accent-header-weight", "--text-header-1-size", "--text-header-1-line-height", "--text-header-1-weight", "--text-header-2-size", "--text-header-2-line-height", "--text-header-2-weight", "--text-large-size", "--text-large-line-height", "--text-large-weight", "--text-base-size", "--text-base-line-height", "--text-base-weight", "--text-small-size", "--text-small-line-height", "--text-small-weight", "--text-mid-size", "--text-mid-line-height", "--text-mid-weight", "--text-xsmall-size", "--text-xsmall-line-height", "--text-xsmall-weight", "--max-component-xsmall", "--max-component-small", "--max-component-base", "--max-component-mid", "--max-component-large", "--max-component-xlarge", "--max-component-2xlarge", "--max-page-xsmall", "--max-page-small", "--max-page-base", "--max-page-mid", "--max-page-large", "--max-page-xlarge", "--max-page-2xlarge", "--button-min-width-small", "--button-min-width-base", "--button-min-width-mid", "--button-min-width-large", "--control-height-xsmall", "--control-height-small", "--control-height-base", "--control-height-mid", "--control-height-large", "--control-size-xsmall", "--control-size-small", "--control-size-base", "--control-size-mid", "--control-size-large", "--avatar-size-small", "--avatar-size-base", "--avatar-size-mid", "--avatar-size-large", "--icon-size-xsmall", "--icon-size-small", "--icon-size-base", "--icon-size-mid", "--icon-size-large", "--icon-size-xlarge", "--icon-size-2xlarge", "--icon-size-3xlarge", "--shadow-opacity", "--shadow-blur", "--shadow-spread", "--shadow-offset-x", "--shadow-offset-y", "--shadow-none", "--shadow-small", "--shadow-base", "--shadow-mid", "--shadow-large", "--toast-scrim-size", "--toast-scrim-density"];
|
|
10
|
+
export declare const designTokenNames: readonly ["--border-width", "--border-width-outline", "--border-color", "--focus-ring-width", "--focus-ring-offset", "--motion-surface-duration", "--motion-surface-ease", "--motion-shadow-ease", "--overlay-backdrop-color", "--overlay-backdrop-blur", "--overlay-backdrop-saturate", "--overlay-backdrop-scrim", "--z-sticky", "--z-dialog", "--z-dropdown", "--z-dropdown-sub", "--z-popover", "--z-toast", "--z-tooltip", "--color-background", "--color-surface", "--color-border", "--color-shadow", "--color-shadow-secondary", "--color-foreground", "--color-muted", "--color-muted-foreground", "--color-primary", "--color-primary-foreground", "--color-primary-hover", "--color-default-hover", "--color-transparent-hover", "--color-primary-tint", "--color-primary-tint-strong", "--color-indicator", "--color-indicator-foreground", "--color-secondary", "--color-secondary-foreground", "--color-secondary-hover", "--color-tertiary", "--color-tertiary-foreground", "--color-tertiary-hover", "--color-focus-ring", "--color-focus-ring-danger", "--color-focus-ring-success", "--color-focus-ring-info", "--color-focus-ring-warning", "--color-converge-ripple-primary-fill", "--color-converge-ripple-neutral", "--color-converge-ripple-neutral-muted", "--color-converge-ripple-danger", "--color-converge-ripple-info", "--color-converge-ripple-success", "--color-converge-ripple-warning", "--color-danger", "--color-danger-fill-hover", "--color-danger-foreground", "--color-success", "--color-success-foreground", "--color-success-fill-hover", "--color-info", "--color-info-foreground", "--color-info-fill-hover", "--color-warning", "--color-warning-foreground", "--color-warning-fill-hover", "--color-surface-tint-danger", "--color-surface-tint-success", "--color-surface-tint-info", "--color-surface-tint-warning", "--color-surface-tint-danger-hover", "--color-surface-tint-success-hover", "--color-surface-tint-info-hover", "--color-surface-tint-warning-hover", "--font-family-sans", "--font-family-mono", "--letter-spacing", "--font-w-small", "--font-w-base", "--font-w-mid", "--font-w-strong", "--font-w-bold", "--space", "--space-2xsmall", "--space-xsmall", "--space-small", "--space-base", "--space-mid", "--space-large", "--space-xlarge", "--space-2xlarge", "--space-3xlarge", "--space-4xlarge", "--space-5xlarge", "--size", "--size-scale-xsmall", "--size-scale-small", "--size-scale-base", "--size-scale-mid", "--size-scale-large", "--size-scale-xlarge", "--size-scale-2xlarge", "--size-scale-3xlarge", "--selection-indicator-xsmall", "--selection-indicator-small", "--selection-indicator-base", "--selection-indicator-mid", "--selection-indicator-large", "--selection-indicator-radius-xsmall", "--selection-indicator-radius-small", "--selection-indicator-radius-base", "--selection-indicator-radius-mid", "--selection-indicator-radius-large", "--radius", "--radius-none", "--radius-xsmall", "--radius-small", "--radius-base", "--radius-mid", "--radius-large", "--radius-xlarge", "--radius-2xlarge", "--radius-3xlarge", "--radius-full", "--radius-nested", "--text-scale-xsmall", "--text-scale-xsmall--line-height", "--text-scale-small", "--text-scale-small--line-height", "--text-scale-base", "--text-scale-base--line-height", "--text-scale-mid", "--text-scale-mid--line-height", "--text-scale-large", "--text-scale-large--line-height", "--text-scale-xlarge", "--text-scale-xlarge--line-height", "--text-scale-2xlarge", "--text-scale-2xlarge--line-height", "--text-scale-3xlarge", "--text-scale-3xlarge--line-height", "--text-accent-header-size", "--text-accent-header-line-height", "--text-accent-header-weight", "--text-header-1-size", "--text-header-1-line-height", "--text-header-1-weight", "--text-header-2-size", "--text-header-2-line-height", "--text-header-2-weight", "--text-large-size", "--text-large-line-height", "--text-large-weight", "--text-base-size", "--text-base-line-height", "--text-base-weight", "--text-small-size", "--text-small-line-height", "--text-small-weight", "--text-mid-size", "--text-mid-line-height", "--text-mid-weight", "--text-xsmall-size", "--text-xsmall-line-height", "--text-xsmall-weight", "--max-component-xsmall", "--max-component-small", "--max-component-base", "--max-component-mid", "--max-component-large", "--max-component-xlarge", "--max-component-2xlarge", "--max-page-xsmall", "--max-page-small", "--max-page-base", "--max-page-mid", "--max-page-large", "--max-page-xlarge", "--max-page-2xlarge", "--button-min-width-small", "--button-min-width-base", "--button-min-width-mid", "--button-min-width-large", "--control-height-xsmall", "--control-height-small", "--control-height-base", "--control-height-mid", "--control-height-large", "--control-size-xsmall", "--control-size-small", "--control-size-base", "--control-size-mid", "--control-size-large", "--avatar-size-small", "--avatar-size-base", "--avatar-size-mid", "--avatar-size-large", "--icon-size-xsmall", "--icon-size-small", "--icon-size-base", "--icon-size-mid", "--icon-size-large", "--icon-size-xlarge", "--icon-size-2xlarge", "--icon-size-3xlarge", "--shadow-opacity", "--shadow-blur", "--shadow-spread", "--shadow-offset-x", "--shadow-offset-y", "--shadow-none", "--shadow-small", "--shadow-base", "--shadow-mid", "--shadow-large", "--toast-scrim-size", "--toast-scrim-density"];
|
|
11
11
|
export type DesignCssVar = (typeof designTokenNames)[number];
|
|
12
12
|
type ColorCssVarName = Extract<DesignCssVar, `--color-${string}`>;
|
|
13
13
|
/** Suffix after `--color-` (same as theme key without the `color-` prefix) */
|
package/dist/tokens/index.js
CHANGED
|
@@ -82,6 +82,7 @@ const designTokenNames = [
|
|
|
82
82
|
"--font-w-strong",
|
|
83
83
|
"--font-w-bold",
|
|
84
84
|
"--space",
|
|
85
|
+
"--space-2xsmall",
|
|
85
86
|
"--space-xsmall",
|
|
86
87
|
"--space-small",
|
|
87
88
|
"--space-base",
|
|
@@ -90,6 +91,8 @@ const designTokenNames = [
|
|
|
90
91
|
"--space-xlarge",
|
|
91
92
|
"--space-2xlarge",
|
|
92
93
|
"--space-3xlarge",
|
|
94
|
+
"--space-4xlarge",
|
|
95
|
+
"--space-5xlarge",
|
|
93
96
|
"--size",
|
|
94
97
|
"--size-scale-xsmall",
|
|
95
98
|
"--size-scale-small",
|
|
@@ -110,11 +113,17 @@ const designTokenNames = [
|
|
|
110
113
|
"--selection-indicator-radius-mid",
|
|
111
114
|
"--selection-indicator-radius-large",
|
|
112
115
|
"--radius",
|
|
116
|
+
"--radius-none",
|
|
113
117
|
"--radius-xsmall",
|
|
114
118
|
"--radius-small",
|
|
115
119
|
"--radius-base",
|
|
116
120
|
"--radius-mid",
|
|
117
121
|
"--radius-large",
|
|
122
|
+
"--radius-xlarge",
|
|
123
|
+
"--radius-2xlarge",
|
|
124
|
+
"--radius-3xlarge",
|
|
125
|
+
"--radius-full",
|
|
126
|
+
"--radius-nested",
|
|
118
127
|
"--text-scale-xsmall",
|
|
119
128
|
"--text-scale-xsmall--line-height",
|
|
120
129
|
"--text-scale-small",
|
package/dist/ui.css
CHANGED
|
@@ -193,6 +193,7 @@
|
|
|
193
193
|
--radius-base: var(--radius-base);
|
|
194
194
|
--radius-mid: var(--radius-mid);
|
|
195
195
|
--radius-large: var(--radius-large);
|
|
196
|
+
--radius-xlarge: var(--radius-xlarge);
|
|
196
197
|
--radius-2xlarge: var(--radius-2xlarge);
|
|
197
198
|
--radius-3xlarge: var(--radius-3xlarge);
|
|
198
199
|
--radius-full: var(--radius-full);
|
|
@@ -453,6 +454,17 @@
|
|
|
453
454
|
html {
|
|
454
455
|
letter-spacing: var(--letter-spacing);
|
|
455
456
|
}
|
|
457
|
+
|
|
458
|
+
* {
|
|
459
|
+
scrollbar-width: thin;
|
|
460
|
+
scrollbar-color: var(--color-foreground) transparent;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
464
|
+
* {
|
|
465
|
+
scrollbar-color: color-mix(in oklab, var(--color-foreground) 22%, transparent) transparent;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
456
468
|
}
|
|
457
469
|
|
|
458
470
|
@layer components {
|
|
@@ -944,10 +956,6 @@
|
|
|
944
956
|
margin-inline: var(--space-small);
|
|
945
957
|
}
|
|
946
958
|
|
|
947
|
-
.mx-xsmall {
|
|
948
|
-
margin-inline: var(--space-xsmall);
|
|
949
|
-
}
|
|
950
|
-
|
|
951
959
|
.-my-mid {
|
|
952
960
|
margin-block: calc(var(--space-mid) * -1);
|
|
953
961
|
}
|
|
@@ -2322,10 +2330,6 @@
|
|
|
2322
2330
|
min-width: 6rem;
|
|
2323
2331
|
}
|
|
2324
2332
|
|
|
2325
|
-
.min-w-\[7\.5rem\] {
|
|
2326
|
-
min-width: 7.5rem;
|
|
2327
|
-
}
|
|
2328
|
-
|
|
2329
2333
|
.min-w-\[7rem\] {
|
|
2330
2334
|
min-width: 7rem;
|
|
2331
2335
|
}
|
|
@@ -2861,6 +2865,10 @@
|
|
|
2861
2865
|
gap: var(--space-2xlarge);
|
|
2862
2866
|
}
|
|
2863
2867
|
|
|
2868
|
+
.gap-2xsmall {
|
|
2869
|
+
gap: var(--space-2xsmall);
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2864
2872
|
.gap-3xlarge {
|
|
2865
2873
|
gap: var(--space-3xlarge);
|
|
2866
2874
|
}
|
|
@@ -3144,6 +3152,10 @@
|
|
|
3144
3152
|
border-radius: var(--radius-small);
|
|
3145
3153
|
}
|
|
3146
3154
|
|
|
3155
|
+
.rounded-xlarge {
|
|
3156
|
+
border-radius: var(--radius-xlarge);
|
|
3157
|
+
}
|
|
3158
|
+
|
|
3147
3159
|
.rounded-xsmall {
|
|
3148
3160
|
border-radius: var(--radius-xsmall);
|
|
3149
3161
|
}
|
|
@@ -3338,6 +3350,16 @@
|
|
|
3338
3350
|
border-color: var(--color-warning);
|
|
3339
3351
|
}
|
|
3340
3352
|
|
|
3353
|
+
.border-x-token {
|
|
3354
|
+
border-inline-width: var(--border-width, 1px);
|
|
3355
|
+
border-inline-color: var(--border-color, var(--color-border));
|
|
3356
|
+
}
|
|
3357
|
+
|
|
3358
|
+
.border-y-token {
|
|
3359
|
+
border-block-width: var(--border-width, 1px);
|
|
3360
|
+
border-block-color: var(--border-color, var(--color-border));
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3341
3363
|
.border-s-token, .divide-x-token > * + * {
|
|
3342
3364
|
border-inline-start-width: var(--border-width, 1px);
|
|
3343
3365
|
border-inline-start-color: var(--border-color, var(--color-border));
|
|
@@ -4943,13 +4965,17 @@
|
|
|
4943
4965
|
color: inherit;
|
|
4944
4966
|
}
|
|
4945
4967
|
|
|
4946
|
-
.text-muted
|
|
4968
|
+
.text-muted {
|
|
4947
4969
|
color: var(--color-muted);
|
|
4948
4970
|
}
|
|
4949
4971
|
|
|
4972
|
+
.text-muted-foreground, .text-muted-foreground\/80 {
|
|
4973
|
+
color: var(--color-muted-foreground);
|
|
4974
|
+
}
|
|
4975
|
+
|
|
4950
4976
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4951
|
-
.text-muted\/80 {
|
|
4952
|
-
color: color-mix(in oklab, var(--color-muted) 80%, transparent);
|
|
4977
|
+
.text-muted-foreground\/80 {
|
|
4978
|
+
color: color-mix(in oklab, var(--color-muted-foreground) 80%, transparent);
|
|
4953
4979
|
}
|
|
4954
4980
|
}
|
|
4955
4981
|
|
|
@@ -6177,6 +6203,10 @@
|
|
|
6177
6203
|
}
|
|
6178
6204
|
}
|
|
6179
6205
|
|
|
6206
|
+
.placeholder\:text-muted-foreground::placeholder {
|
|
6207
|
+
color: var(--color-muted-foreground);
|
|
6208
|
+
}
|
|
6209
|
+
|
|
6180
6210
|
.placeholder\:text-primary\/50::placeholder {
|
|
6181
6211
|
color: var(--color-primary);
|
|
6182
6212
|
}
|
|
@@ -6855,13 +6885,13 @@
|
|
|
6855
6885
|
}
|
|
6856
6886
|
|
|
6857
6887
|
@media (hover: hover) {
|
|
6858
|
-
:is(.disabled\:hover\:text-muted:disabled, .disabled\:hover\:text-muted[data-force-state~="disabled"]):hover {
|
|
6859
|
-
color: var(--color-muted);
|
|
6888
|
+
:is(.disabled\:hover\:text-muted-foreground:disabled, .disabled\:hover\:text-muted-foreground[data-force-state~="disabled"]):hover {
|
|
6889
|
+
color: var(--color-muted-foreground);
|
|
6860
6890
|
}
|
|
6861
6891
|
}
|
|
6862
6892
|
|
|
6863
|
-
:is(.disabled\:hover\:text-muted:disabled, .disabled\:hover\:text-muted[data-force-state~="disabled"])[data-force-state~="hover"] {
|
|
6864
|
-
color: var(--color-muted);
|
|
6893
|
+
:is(.disabled\:hover\:text-muted-foreground:disabled, .disabled\:hover\:text-muted-foreground[data-force-state~="disabled"])[data-force-state~="hover"] {
|
|
6894
|
+
color: var(--color-muted-foreground);
|
|
6865
6895
|
}
|
|
6866
6896
|
|
|
6867
6897
|
:where(:is(th:last-child)) .in-\[th\:last-child\]\:hidden {
|
|
@@ -6911,13 +6941,13 @@
|
|
|
6911
6941
|
}
|
|
6912
6942
|
|
|
6913
6943
|
@media (hover: hover) {
|
|
6914
|
-
.aria-disabled\:hover\:text-muted[aria-disabled="true"]:hover {
|
|
6915
|
-
color: var(--color-muted);
|
|
6944
|
+
.aria-disabled\:hover\:text-muted-foreground[aria-disabled="true"]:hover {
|
|
6945
|
+
color: var(--color-muted-foreground);
|
|
6916
6946
|
}
|
|
6917
6947
|
}
|
|
6918
6948
|
|
|
6919
|
-
.aria-disabled\:hover\:text-muted[aria-disabled="true"][data-force-state~="hover"] {
|
|
6920
|
-
color: var(--color-muted);
|
|
6949
|
+
.aria-disabled\:hover\:text-muted-foreground[aria-disabled="true"][data-force-state~="hover"] {
|
|
6950
|
+
color: var(--color-muted-foreground);
|
|
6921
6951
|
}
|
|
6922
6952
|
|
|
6923
6953
|
.aria-expanded\:text-foreground[aria-expanded="true"] {
|
|
@@ -7318,30 +7348,6 @@
|
|
|
7318
7348
|
z-index: calc(var(--z-tooltip) + var(--z-overlay-nested-step));
|
|
7319
7349
|
}
|
|
7320
7350
|
|
|
7321
|
-
.text-muted {
|
|
7322
|
-
color: var(--color-muted-foreground);
|
|
7323
|
-
}
|
|
7324
|
-
|
|
7325
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
7326
|
-
.text-muted\/80 {
|
|
7327
|
-
color: color-mix(in oklab, var(--color-muted-foreground) 80%, transparent);
|
|
7328
|
-
}
|
|
7329
|
-
}
|
|
7330
|
-
|
|
7331
|
-
.placeholder\:text-muted::placeholder {
|
|
7332
|
-
color: var(--color-muted-foreground);
|
|
7333
|
-
}
|
|
7334
|
-
|
|
7335
|
-
@media (hover: hover) {
|
|
7336
|
-
.disabled\:hover\:text-muted:disabled:hover {
|
|
7337
|
-
color: var(--color-muted-foreground);
|
|
7338
|
-
}
|
|
7339
|
-
}
|
|
7340
|
-
|
|
7341
|
-
.disabled\:hover\:text-muted[data-force-state~="disabled"][data-force-state~="hover"] {
|
|
7342
|
-
color: var(--color-muted-foreground);
|
|
7343
|
-
}
|
|
7344
|
-
|
|
7345
7351
|
.button-group-joint-s {
|
|
7346
7352
|
border-inline-start-width: 0;
|
|
7347
7353
|
}
|
|
@@ -7442,6 +7448,7 @@
|
|
|
7442
7448
|
--letter-spacing-3xlarge: -.03em;
|
|
7443
7449
|
--space: .5rem;
|
|
7444
7450
|
--space-fluid: clamp(.46875rem, .4375rem + .125vw, .5rem);
|
|
7451
|
+
--space-2xsmall: calc(var(--space) * .25);
|
|
7445
7452
|
--space-xsmall: calc(var(--space) * .5);
|
|
7446
7453
|
--space-small: calc(var(--space) * .75);
|
|
7447
7454
|
--space-base: calc(var(--space) * 1);
|
|
@@ -7453,7 +7460,7 @@
|
|
|
7453
7460
|
--space-4xlarge: calc(var(--space) * 5);
|
|
7454
7461
|
--space-5xlarge: calc(var(--space) * 6);
|
|
7455
7462
|
--chip-px-small: calc(var(--space-xsmall));
|
|
7456
|
-
--chip-py-small: calc(var(--space-xsmall) * .
|
|
7463
|
+
--chip-py-small: calc(var(--space-xsmall) * .625);
|
|
7457
7464
|
--chip-px-base: calc(var(--space-small));
|
|
7458
7465
|
--chip-py-base: calc(var(--space-small) * .5);
|
|
7459
7466
|
--chip-px-mid: calc(var(--space-base));
|
|
@@ -7464,7 +7471,7 @@
|
|
|
7464
7471
|
--chip-gap-base: calc(var(--space-xsmall));
|
|
7465
7472
|
--chip-gap-mid: calc(var(--space-small));
|
|
7466
7473
|
--chip-gap-large: var(--space-small);
|
|
7467
|
-
--chip-box-small: calc(var(--space-xsmall) * .
|
|
7474
|
+
--chip-box-small: calc(var(--space-xsmall) * .25);
|
|
7468
7475
|
--chip-box-base: calc(var(--space-xsmall) * .3);
|
|
7469
7476
|
--chip-box-mid: calc(var(--space-small) * .5);
|
|
7470
7477
|
--chip-box-large: calc(var(--space-small) * .55);
|
|
@@ -7484,6 +7491,7 @@
|
|
|
7484
7491
|
--radius-base: calc(var(--radius) * 1);
|
|
7485
7492
|
--radius-mid: calc(var(--radius) * 1.125);
|
|
7486
7493
|
--radius-large: calc(var(--radius) * 1.25);
|
|
7494
|
+
--radius-xlarge: calc(var(--radius) * 1.5);
|
|
7487
7495
|
--radius-2xlarge: calc(var(--radius) * 2);
|
|
7488
7496
|
--radius-3xlarge: calc(var(--radius) * 3);
|
|
7489
7497
|
--radius-full: 9999px;
|
|
@@ -7617,6 +7625,7 @@
|
|
|
7617
7625
|
}
|
|
7618
7626
|
|
|
7619
7627
|
:root, [data-theme="dark"] {
|
|
7628
|
+
color-scheme: dark;
|
|
7620
7629
|
--color-background: #0c0d10;
|
|
7621
7630
|
--color-surface: #171717;
|
|
7622
7631
|
--color-foreground: #f4f5f7;
|
|
@@ -8402,6 +8411,7 @@
|
|
|
8402
8411
|
}
|
|
8403
8412
|
|
|
8404
8413
|
[data-theme="light"] {
|
|
8414
|
+
color-scheme: light;
|
|
8405
8415
|
--color-background: #f5f5f5;
|
|
8406
8416
|
--color-surface: #fff;
|
|
8407
8417
|
--color-foreground: #18181b;
|
package/dist/utils/cn.js
CHANGED
|
@@ -18,6 +18,8 @@ const twMerge = extendTailwindMerge({
|
|
|
18
18
|
"border-token-info",
|
|
19
19
|
"border-token-warning"
|
|
20
20
|
],
|
|
21
|
+
"border-w-x": ["border-x-token"],
|
|
22
|
+
"border-w-y": ["border-y-token"],
|
|
21
23
|
"border-w-t": ["border-t-token", "button-group-joint-t"],
|
|
22
24
|
"border-w-b": ["border-b-token", "button-group-joint-b"],
|
|
23
25
|
"border-w-l": ["border-l-token"],
|