@tryghost/shade 0.1.0-alpha.15 → 0.1.0-alpha.17
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/es/components/patterns/filter-bar.js +4 -6
- package/es/components/patterns/filter-bar.js.map +1 -1
- package/es/components/patterns/filters.js +14 -17
- package/es/components/patterns/filters.js.map +1 -1
- package/es/components/patterns/image-upload.js +1 -3
- package/es/components/patterns/image-upload.js.map +1 -1
- package/es/components/patterns/page-header.js +16 -42
- package/es/components/patterns/page-header.js.map +1 -1
- package/es/components/patterns/share-modal.js +3 -15
- package/es/components/patterns/share-modal.js.map +1 -1
- package/es/components/ui/alert-dialog.js +2 -4
- package/es/components/ui/alert-dialog.js.map +1 -1
- package/es/components/ui/button-variants.js +1 -32
- package/es/components/ui/button-variants.js.map +1 -1
- package/es/components/ui/button.js +1 -2
- package/es/components/ui/button.js.map +1 -1
- package/es/components/ui/calendar.js +1 -3
- package/es/components/ui/calendar.js.map +1 -1
- package/es/components/ui/copy-field.js +1 -3
- package/es/components/ui/copy-field.js.map +1 -1
- package/es/components/ui/data-list.js +1 -3
- package/es/components/ui/data-list.js.map +1 -1
- package/es/components/ui/dropzone-variants.js +1 -3
- package/es/components/ui/dropzone-variants.js.map +1 -1
- package/es/components/ui/dropzone.js +2 -2
- package/es/components/ui/dropzone.js.map +1 -1
- package/es/components/ui/image-overlay-button.js +2 -2
- package/es/components/ui/image-overlay-button.js.map +1 -1
- package/es/components/ui/input-group.js +2 -5
- package/es/components/ui/input-group.js.map +1 -1
- package/es/components/ui/navbar.js +1 -3
- package/es/components/ui/navbar.js.map +1 -1
- package/es/components/ui/select-variants.js +1 -9
- package/es/components/ui/select-variants.js.map +1 -1
- package/es/components/ui/select.js +1 -4
- package/es/components/ui/select.js.map +1 -1
- package/es/components/ui/simple-pagination.js +4 -7
- package/es/components/ui/simple-pagination.js.map +1 -1
- package/es/components/ui/toggle-group.js +1 -3
- package/es/components/ui/toggle-group.js.map +1 -1
- package/es/components/ui/toggle-variants.js +1 -7
- package/es/components/ui/toggle-variants.js.map +1 -1
- package/es/components/ui/toggle.js +1 -2
- package/es/components/ui/toggle.js.map +1 -1
- package/es/components/ui/tooltip.js +8 -17
- package/es/components/ui/tooltip.js.map +1 -1
- package/es/providers/header-tooltip-provider.js +1 -4
- package/es/providers/header-tooltip-provider.js.map +1 -1
- package/es/providers/shade-context.js +1 -1
- package/es/providers/shade-context.js.map +1 -1
- package/es/providers/shade-provider.js +3 -3
- package/es/providers/shade-provider.js.map +1 -1
- package/es/shade-app.js +3 -3
- package/es/shade-app.js.map +1 -1
- package/es/shade-scope.js +2 -2
- package/es/shade-scope.js.map +1 -1
- package/es/tokens.js +0 -8
- package/es/tokens.js.map +1 -1
- package/package.json +2 -2
- package/tailwind.theme.css +0 -8
- package/theme-variables.css +3 -11
- package/types/components/patterns/filter-bar.d.ts.map +1 -1
- package/types/components/patterns/filters.d.ts +1 -4
- package/types/components/patterns/filters.d.ts.map +1 -1
- package/types/components/patterns/image-upload.d.ts.map +1 -1
- package/types/components/patterns/page-header.d.ts +4 -10
- package/types/components/patterns/page-header.d.ts.map +1 -1
- package/types/components/patterns/share-modal.d.ts.map +1 -1
- package/types/components/ui/button-variants.d.ts +0 -1
- package/types/components/ui/button-variants.d.ts.map +1 -1
- package/types/components/ui/button.d.ts +1 -1
- package/types/components/ui/button.d.ts.map +1 -1
- package/types/components/ui/copy-field.d.ts.map +1 -1
- package/types/components/ui/data-list.d.ts.map +1 -1
- package/types/components/ui/dropzone-variants.d.ts +1 -1
- package/types/components/ui/dropzone-variants.d.ts.map +1 -1
- package/types/components/ui/image-overlay-button.d.ts +1 -1
- package/types/components/ui/image-overlay-button.d.ts.map +1 -1
- package/types/components/ui/input-group.d.ts.map +1 -1
- package/types/components/ui/navbar.d.ts.map +1 -1
- package/types/components/ui/select-variants.d.ts +0 -1
- package/types/components/ui/select-variants.d.ts.map +1 -1
- package/types/components/ui/select.d.ts +1 -1
- package/types/components/ui/select.d.ts.map +1 -1
- package/types/components/ui/simple-pagination.d.ts.map +1 -1
- package/types/components/ui/toggle-group.d.ts +4 -6
- package/types/components/ui/toggle-group.d.ts.map +1 -1
- package/types/components/ui/toggle-variants.d.ts +0 -1
- package/types/components/ui/toggle-variants.d.ts.map +1 -1
- package/types/components/ui/toggle.d.ts +2 -3
- package/types/components/ui/toggle.d.ts.map +1 -1
- package/types/components/ui/tooltip.d.ts.map +1 -1
- package/types/providers/header-tooltip-provider.d.ts.map +1 -1
- package/types/providers/shade-context.d.ts +2 -1
- package/types/providers/shade-context.d.ts.map +1 -1
- package/types/providers/shade-provider.d.ts +1 -1
- package/types/providers/shade-provider.d.ts.map +1 -1
- package/types/shade-app.d.ts +5 -2
- package/types/shade-app.d.ts.map +1 -1
- package/types/tokens.d.ts +1 -1
- package/types/tokens.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/shade",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.17",
|
|
4
4
|
"description": "Ghost design system for React apps",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ghost Foundation",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@dnd-kit/core": "6.3.1",
|
|
84
84
|
"@dnd-kit/sortable": "7.0.2",
|
|
85
85
|
"@dnd-kit/utilities": "3.2.2",
|
|
86
|
-
"@hookform/resolvers": "5.
|
|
86
|
+
"@hookform/resolvers": "5.9.2",
|
|
87
87
|
"@number-flow/react": "0.6.2",
|
|
88
88
|
"@radix-ui/react-accordion": "1.2.15",
|
|
89
89
|
"@radix-ui/react-alert-dialog": "1.1.18",
|
package/tailwind.theme.css
CHANGED
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
--color-green-700: oklch(55.58% 0.1604 144.5);
|
|
47
47
|
--color-green-800: oklch(47.03% 0.1318 144.9);
|
|
48
48
|
--color-green-900: oklch(39.31% 0.107 145.1);
|
|
49
|
-
--color-green-950: oklch(27.07% 0.0683 145.8);
|
|
50
49
|
--color-green: var(--color-green-500);
|
|
51
50
|
--color-blue-50: oklch(97.83% 0.0134 226.6);
|
|
52
51
|
--color-blue-100: oklch(95.23% 0.0302 226);
|
|
@@ -58,7 +57,6 @@
|
|
|
58
57
|
--color-blue-700: oklch(59.77% 0.1942 261.4);
|
|
59
58
|
--color-blue-800: oklch(48.99% 0.1869 262.4);
|
|
60
59
|
--color-blue-900: oklch(39.35% 0.1428 262.6);
|
|
61
|
-
--color-blue-950: oklch(29.77% 0.1014 263);
|
|
62
60
|
--color-blue: var(--color-blue-500);
|
|
63
61
|
--color-purple-50: oklch(96.95% 0.0183 306.7);
|
|
64
62
|
--color-purple-100: oklch(92.64% 0.0437 304.5);
|
|
@@ -70,7 +68,6 @@
|
|
|
70
68
|
--color-purple-700: oklch(46.38% 0.2511 291);
|
|
71
69
|
--color-purple-800: oklch(38.02% 0.1986 292.9);
|
|
72
70
|
--color-purple-900: oklch(31.05% 0.157 294.7);
|
|
73
|
-
--color-purple-950: oklch(22.39% 0.1066 295.8);
|
|
74
71
|
--color-purple: var(--color-purple-500);
|
|
75
72
|
--color-pink-50: oklch(96.86% 0.0179 351.1);
|
|
76
73
|
--color-pink-100: oklch(93.43% 0.0402 347.9);
|
|
@@ -82,7 +79,6 @@
|
|
|
82
79
|
--color-pink-700: oklch(53.87% 0.217 3.4);
|
|
83
80
|
--color-pink-800: oklch(44.07% 0.1778 2.5);
|
|
84
81
|
--color-pink-900: oklch(35.27% 0.1427 0.8);
|
|
85
|
-
--color-pink-950: oklch(24.61% 0.1001 358.5);
|
|
86
82
|
--color-pink: var(--color-pink-500);
|
|
87
83
|
--color-red-50: oklch(96.69% 0.0162 17.4);
|
|
88
84
|
--color-red-100: oklch(93.22% 0.0343 17.8);
|
|
@@ -94,7 +90,6 @@
|
|
|
94
90
|
--color-red-700: oklch(48.49% 0.1939 26);
|
|
95
91
|
--color-red-800: oklch(40.18% 0.1591 25.2);
|
|
96
92
|
--color-red-900: oklch(32.24% 0.1264 24);
|
|
97
|
-
--color-red-950: oklch(23.02% 0.0888 22);
|
|
98
93
|
--color-red: var(--color-red-500);
|
|
99
94
|
--color-orange-50: oklch(97.96% 0.0158 73.7);
|
|
100
95
|
--color-orange-100: oklch(95.42% 0.0372 75.2);
|
|
@@ -106,7 +101,6 @@
|
|
|
106
101
|
--color-orange-700: oklch(55.34% 0.1739 38.4);
|
|
107
102
|
--color-orange-800: oklch(46.98% 0.143 37.3);
|
|
108
103
|
--color-orange-900: oklch(40.84% 0.1165 38.2);
|
|
109
|
-
--color-orange-950: oklch(26.59% 0.0762 36.3);
|
|
110
104
|
--color-orange: var(--color-orange-500);
|
|
111
105
|
--color-yellow-50: oklch(98.27% 0.0207 88.7);
|
|
112
106
|
--color-yellow-100: oklch(96.22% 0.0384 83.8);
|
|
@@ -118,7 +112,6 @@
|
|
|
118
112
|
--color-yellow-700: oklch(65.82% 0.1419 70.8);
|
|
119
113
|
--color-yellow-800: oklch(54.44% 0.1173 70.8);
|
|
120
114
|
--color-yellow-900: oklch(43.45% 0.0931 72);
|
|
121
|
-
--color-yellow-950: oklch(29.26% 0.0613 76.4);
|
|
122
115
|
--color-yellow: var(--color-yellow-500);
|
|
123
116
|
--color-lime-50: oklch(99.02% 0.0305 116.9);
|
|
124
117
|
--color-lime-100: oklch(97.56% 0.0795 117.7);
|
|
@@ -130,7 +123,6 @@
|
|
|
130
123
|
--color-lime-700: oklch(68.43% 0.1796 128.3);
|
|
131
124
|
--color-lime-800: oklch(56.49% 0.1478 128.1);
|
|
132
125
|
--color-lime-900: oklch(44.57% 0.1156 127.4);
|
|
133
|
-
--color-lime-950: oklch(30.64% 0.0786 126.5);
|
|
134
126
|
--color-lime: var(--color-lime-500);
|
|
135
127
|
--color-background: var(--background);
|
|
136
128
|
--color-foreground: var(--foreground);
|
package/theme-variables.css
CHANGED
|
@@ -268,20 +268,12 @@
|
|
|
268
268
|
--tw-shadow: 0 30px 58px -12px rgb(0 0 0 / 0.4);
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
/*
|
|
272
|
-
|
|
273
|
-
.shade
|
|
274
|
-
[data-admin7='true'] {
|
|
271
|
+
/* Shade surfaces, portals included (ShadeScope repeats the class), use the
|
|
272
|
+
rounder control and menu radii. */
|
|
273
|
+
.shade {
|
|
275
274
|
--radius-control: var(--radius-lg);
|
|
276
275
|
--radius-control-sm: var(--radius-md);
|
|
277
276
|
--radius-menu: calc(var(--radius-lg) + 0.2rem);
|
|
278
277
|
--radius-menu-item: var(--radius-lg);
|
|
279
278
|
--radius-trend-badge: var(--radius-lg);
|
|
280
279
|
}
|
|
281
|
-
[data-admin7='false'] {
|
|
282
|
-
--radius-control: var(--radius-md);
|
|
283
|
-
--radius-control-sm: var(--radius-sm);
|
|
284
|
-
--radius-menu: var(--radius-md);
|
|
285
|
-
--radius-menu-item: var(--radius-xs);
|
|
286
|
-
--radius-trend-badge: var(--radius-xs);
|
|
287
|
-
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-bar.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/filter-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAK1E,KAAK,cAAc,GAAG,KAAK,CAAC,iBAAiB,GAAG;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"filter-bar.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/filter-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAK1E,KAAK,cAAc,GAAG,KAAK,CAAC,iBAAiB,GAAG;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,cAAc,4BAyB7D;AAsCD,QAAA,MAAM,SAAS;;;CAGb,CAAC;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -218,11 +218,8 @@ interface FiltersContentProps<T = unknown> {
|
|
|
218
218
|
}
|
|
219
219
|
export declare const FiltersContent: <T = unknown>({ filters, fields, onChange, }: FiltersContentProps<T>) => React.JSX.Element;
|
|
220
220
|
declare const FiltersTrigger: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
221
|
-
/**
|
|
222
|
-
collapseLabel?: boolean;
|
|
223
|
-
/** Temporary appearance choices for existing screens while Admin 7 is disabled. */
|
|
221
|
+
/** Icon once filters are applied: `funnel-plus` keeps the funnel; others use the list icon. */
|
|
224
222
|
fallbackStyle?: 'list' | 'funnel' | 'funnel-plus';
|
|
225
|
-
fallbackClassName?: string;
|
|
226
223
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
227
224
|
interface FiltersProps<T = unknown> {
|
|
228
225
|
filters: Filter<T>[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/filters.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/filters.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqD/B,MAA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AAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACjC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,YAAY,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAC1C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACzD;AAED,wBAAgB,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,EACnC,OAAO,EACP,MAAM,EACN,QAAQ,EACR,SAAS,EACT,aAAoB,EACpB,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,SAAS,EACT,eAAuB,EACvB,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,WAAW,EACX,OAAO,EACP,OAAmB,EACnB,IAAW,EACX,MAAM,EACN,IAAI,EACJ,eAAsB,EACtB,aAAoB,EACpB,OAAO,EACP,aAAoB,EACpB,uBAAuB,EACvB,YAAsB,EACtB,gBAAgB,EAChB,mBAAmB,GACpB,EAAE,YAAY,CAAC,CAAC,CAAC,qBAuhBjB;yBApjBe,OAAO;aAsjBL,cAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-upload.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/image-upload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"image-upload.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/image-upload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAIxE,QAAA,MAAM,WAAW,6GAShB,CAAC;AAGF,QAAA,MAAM,mBAAmB,sFAUxB,CAAC;AAGF,MAAM,WAAW,uBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,YAAY,CAAC,OAAO,0BAA0B,CAAC;CAAG;AAElG,QAAA,MAAM,kBAAkB,gGAUvB,CAAC;AAGF,QAAA,MAAM,gBAAgB,oHAWpB,CAAC;AAGH,QAAA,MAAM,kBAAkB,6GAYvB,CAAC;AAGF,QAAA,MAAM,iBAAiB,uFAatB,CAAC;AAGF,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,GACnB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DropdownMenuContent, DropdownMenuTrigger } from '../../components/ui/dropdown-menu';
|
|
2
2
|
import { type ButtonProps } from '../../components/ui/button';
|
|
3
|
+
import { TooltipTrigger } from '../../components/ui/tooltip';
|
|
3
4
|
import React from 'react';
|
|
4
5
|
type PropsWithChildrenAndClassName = React.PropsWithChildren & {
|
|
5
6
|
className?: string;
|
|
@@ -9,14 +10,13 @@ type PageHeaderProps = PropsWithChildrenAndClassName & {
|
|
|
9
10
|
blurredBackground?: boolean;
|
|
10
11
|
};
|
|
11
12
|
/**
|
|
12
|
-
* Header tooltips
|
|
13
|
-
*
|
|
13
|
+
* Header tooltips never belong on primary actions. A tooltip without a label
|
|
14
|
+
* shows only the shortcut, for a control whose text already names it.
|
|
14
15
|
*/
|
|
15
16
|
declare function PageHeaderTooltip({ children, label, shortcut, }: React.PropsWithChildren<{
|
|
16
17
|
label?: string;
|
|
17
18
|
shortcut?: string;
|
|
18
19
|
}>): React.JSX.Element;
|
|
19
|
-
declare const PageHeaderTooltipTrigger: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-tooltip").TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
20
20
|
type PageHeaderActionProps = ButtonProps & {
|
|
21
21
|
label: string;
|
|
22
22
|
iconOnly?: boolean;
|
|
@@ -24,9 +24,6 @@ type PageHeaderActionProps = ButtonProps & {
|
|
|
24
24
|
shortcut?: string;
|
|
25
25
|
/** Show an explanation for a changing value; static labels need no tooltip. */
|
|
26
26
|
tooltip?: boolean;
|
|
27
|
-
/** Temporary compatibility for existing screens; new headers use the defaults. */
|
|
28
|
-
fallbackVariant?: ButtonProps['variant'];
|
|
29
|
-
fallbackSize?: ButtonProps['size'];
|
|
30
27
|
};
|
|
31
28
|
declare const PageHeaderAction: React.ForwardRefExoticComponent<ButtonProps & {
|
|
32
29
|
label: string;
|
|
@@ -35,9 +32,6 @@ declare const PageHeaderAction: React.ForwardRefExoticComponent<ButtonProps & {
|
|
|
35
32
|
shortcut?: string;
|
|
36
33
|
/** Show an explanation for a changing value; static labels need no tooltip. */
|
|
37
34
|
tooltip?: boolean;
|
|
38
|
-
/** Temporary compatibility for existing screens; new headers use the defaults. */
|
|
39
|
-
fallbackVariant?: ButtonProps['variant'];
|
|
40
|
-
fallbackSize?: ButtonProps['size'];
|
|
41
35
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
42
36
|
declare const PageHeaderFilterTrigger: React.ForwardRefExoticComponent<Omit<PageHeaderActionProps, "label"> & React.RefAttributes<HTMLButtonElement>>;
|
|
43
37
|
declare const PageHeaderSelectTrigger: React.ForwardRefExoticComponent<Omit<import("../../components/ui/select").SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
@@ -87,7 +81,7 @@ type PageHeaderComponent = React.FC<PageHeaderProps> & {
|
|
|
87
81
|
FilterTrigger: typeof PageHeaderFilterTrigger;
|
|
88
82
|
SelectTrigger: typeof PageHeaderSelectTrigger;
|
|
89
83
|
Tooltip: typeof PageHeaderTooltip;
|
|
90
|
-
TooltipTrigger: typeof
|
|
84
|
+
TooltipTrigger: typeof TooltipTrigger;
|
|
91
85
|
};
|
|
92
86
|
/**
|
|
93
87
|
* PageHeader is the canonical page-chrome component for Ghost Admin pages.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-header.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/page-header.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"page-header.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/page-header.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAElE,OAAO,EAA2B,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAMlF,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,6BAA6B,GAAG,KAAK,CAAC,iBAAiB,GAAG;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,KAAK,eAAe,GAAG,6BAA6B,GAAG;IACrD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iBA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,CAAC;IAC9C,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAAC,CAAC;IACpD,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAAC,CAAC;IAC/C,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAAC,CAAC;IAC/C,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAAC,CAAC;IACrD,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAAC,CAAC;IAC9C,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAAC,CAAC;IACjD,WAAW,EAAE,8BAA8B,CAAC;IAC5C,MAAM,EAAE,OAAO,gBAAgB,CAAC;IAChC,aAAa,EAAE,OAAO,uBAAuB,CAAC;IAC9C,aAAa,EAAE,OAAO,uBAAuB,CAAC;IAC9C,OAAO,EAAE,OAAO,iBAAiB,CAAC;IAClC,cAAc,EAAE,OAAO,cAAc,CAAC;CACvC,CAAC;AAEF;;;;;;;;GAQG;AACH,QAAA,MAAM,UAAU,EAAE,mBAuCjB,CAAC;AAEF,OAAO,EACL,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,4BAA4B,EAC5B,+BAA+B,EAC/B,sCAAsC,EACtC,sCAAsC,GACvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"share-modal.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/share-modal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"share-modal.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/share-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;A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C;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,MAAiB,EACjB,KAAK,EACL,KAAK,EACL,OAAO,EACP,GAAG,KAAK,EACT,EAAE,gBAAgB,qBAqDlB;AAED,UAAU,eAAgB,SAAQ,WAAW;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,UAAU,CAAC,EAClB,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,IAAa,EACb,KAAmB,EACnB,OAAO,EACP,YAAwB,EACxB,GAAG,KAAK,EACT,EAAE,eAAe,qBAkCjB;AAED,UAAU,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACpE,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,qBAU9E;AAED,iBAAS,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,wBAAwB,CAAC,OAAO,YAAY,CAAC,qBAE3F;AAED,QAAA,MAAM,UAAU;;;;;;;;;cAhVR,MAAM;;;;;;CA6Vb,CAAC;eAEa,UAAU"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
declare const buttonVariants: (props?: ({
|
|
2
2
|
variant?: "default" | "destructive" | "destructive-ghost" | "dropdown" | "ghost" | "link" | "outline" | "secondary" | "subtle" | null | undefined;
|
|
3
3
|
size?: "default" | "icon" | "icon-sm" | "lg" | "sm" | null | undefined;
|
|
4
|
-
isAdmin7?: boolean | null | undefined;
|
|
5
4
|
shape?: "pill" | "rounded" | null | undefined;
|
|
6
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
6
|
export { buttonVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"button-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc;;;;8EA+FnB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
import { buttonVariants } from '../../components/ui/button-variants';
|
|
4
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
4
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
5
5
|
asChild?: boolean;
|
|
6
6
|
}
|
|
7
7
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAIjE,MAAM,WAAW,WACf,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAIjE,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC;IAC1F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,MAAM,uFA6BX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-field.d.ts","sourceRoot":"","sources":["../../../src/components/ui/copy-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"copy-field.d.ts","sourceRoot":"","sources":["../../../src/components/ui/copy-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAwBlE,UAAU,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,SAAS,uFA8Dd,CAAC;AAGF,QAAA,MAAM,cAAc,4JAmBnB,CAAC;AAGF,QAAA,MAAM,gBAAgB,6GAarB,CAAC;AAGF,QAAA,MAAM,cAAc,4JAwBnB,CAAC;AAGF,QAAA,MAAM,gBAAgB,gKAerB,CAAC;AAGF,UAAU,wBAAyB,SAAQ,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC;IACtE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAED,QAAA,MAAM,mBAAmB,oGA0BxB,CAAC;AAGF,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,cAAc,GACf,CAAC;AACF,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-list.d.ts","sourceRoot":"","sources":["../../../src/components/ui/data-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-list.d.ts","sourceRoot":"","sources":["../../../src/components/ui/data-list.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAClE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,QAAQ,sFAQb,CAAC;AAMF,UAAU,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACxE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,cAAc,4FAenB,CAAC;AAMF,UAAU,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACtE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,YAAY,0FAQjB,CAAC;AAMF,UAAU,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACtE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,YAAY,0FAQjB,CAAC;AAMF,UAAU,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACrE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,WAAW,yFAehB,CAAC;AAMF,UAA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button" | "buttonSecondary" | "default" | "filled" | null | undefined;
|
|
4
4
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
|
-
declare function dropzoneVariants(props?: Parameters<typeof dropzoneBaseVariants>[0],
|
|
5
|
+
declare function dropzoneVariants(props?: Parameters<typeof dropzoneBaseVariants>[0], shape?: ControlShape): string;
|
|
6
6
|
export { dropzoneVariants };
|
|
7
7
|
//# sourceMappingURL=dropzone-variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropzone-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dropzone-variants.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,QAAA,MAAM,oBAAoB;;8EAqBzB,CAAC;AAGF,iBAAS,gBAAgB,CACvB,KAAK,GAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAM,EACtD,
|
|
1
|
+
{"version":3,"file":"dropzone-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dropzone-variants.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,QAAA,MAAM,oBAAoB;;8EAqBzB,CAAC;AAGF,iBAAS,gBAAgB,CACvB,KAAK,GAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAM,EACtD,KAAK,GAAE,YAAqB,UAS7B;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -3,5 +3,5 @@ export declare const imageOverlayButtonClasses: {
|
|
|
3
3
|
readonly pressed: 'enabled:active:bg-surface-inverse enabled:active:text-surface-inverse-foreground enabled:aria-expanded:bg-surface-inverse enabled:aria-expanded:text-surface-inverse-foreground';
|
|
4
4
|
};
|
|
5
5
|
/** Keep image-overlay controls legible over the image in every button state. */
|
|
6
|
-
export declare function imageOverlayButton(
|
|
6
|
+
export declare function imageOverlayButton(): string;
|
|
7
7
|
//# sourceMappingURL=image-overlay-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-overlay-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/image-overlay-button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB;aACpC,IAAI,EAAE,sHAAsH;aAC5H,OAAO,EACL,iLAAiL;CAC3K,CAAC;AAEX,gFAAgF;AAChF,wBAAgB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"image-overlay-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/image-overlay-button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB;aACpC,IAAI,EAAE,sHAAsH;aAC5H,OAAO,EACL,iLAAiL;CAC3K,CAAC;AAEX,gFAAgF;AAChF,wBAAgB,kBAAkB,WAEjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAEjF,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,qBAY3E;AAED,QAAA,MAAM,uBAAuB;;8EAiB5B,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,KAAsB,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,qBA0B5E;AAiBD,QAAA,MAAM,gBAAgB;;iIAoBpB,CAAC;AAGH,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAU5E;AAED,QAAA,MAAM,eAAe,8KAYpB,CAAC;AAGF,QAAA,MAAM,kBAAkB,0LAYvB,CAAC;AAGF,OAAO,EACL,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,kBAAkB,GACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navbar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/navbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"navbar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/navbar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,aAAa,2FAelB,CAAC;AAIF,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,gBAAgB,8FAarB,CAAC;AAIF,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,MAAM,oFAgBX,CAAC;AAIF,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
declare const selectTriggerVariants: (props?: ({
|
|
2
2
|
variant?: "default" | "ghost" | "secondary" | null | undefined;
|
|
3
|
-
isAdmin7?: boolean | null | undefined;
|
|
4
3
|
shape?: "pill" | "rounded" | null | undefined;
|
|
5
4
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
5
|
export { selectTriggerVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"select-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,qBAAqB;;;8EAmC1B,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { selectTriggerVariants } from '../../components/ui/select-variants';
|
|
|
5
5
|
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
6
6
|
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
8
|
-
export interface SelectTriggerProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>,
|
|
8
|
+
export interface SelectTriggerProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, VariantProps<typeof selectTriggerVariants> {
|
|
9
9
|
/** Show the dropdown chevron. Defaults to hidden for the secondary variant. */
|
|
10
10
|
showChevron?: boolean;
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAKxE,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,WAAW,yGAAwB,CAAC;AAE1C,QAAA,MAAM,WAAW,0GAAwB,CAAC;AAE1C,MAAM,WAAW,kBACf,SACE,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAC9D,YAAY,CAAC,OAAO,qBAAqB,CAAC;IAC5C,+EAA+E;IAC/E,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,QAAA,MAAM,aAAa,8FAgClB,CAAC;AAGF,QAAA,MAAM,oBAAoB,qKAWxB,CAAC;AAGH,QAAA,MAAM,sBAAsB,uKAW1B,CAAC;AAGH,QAAA,MAAM,aAAa,8JAgCjB,CAAC;AAGH,QAAA,MAAM,WAAW,4JASf,CAAC;AAGH,QAAA,MAAM,UAAU,2JAmBd,CAAC;AAGH,QAAA,MAAM,eAAe,gKASnB,CAAC;AAGH,OAAO,EACL,MAAM,EACN,WAAW,EACX,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,GACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-pagination.d.ts","sourceRoot":"","sources":["../../../src/components/ui/simple-pagination.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"simple-pagination.d.ts","sourceRoot":"","sources":["../../../src/components/ui/simple-pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;AAG/C;;GAEG;AAEH,QAAA,MAAM,gBAAgB,6GAYrB,CAAC;AAIF,UAAU,0BAA2B,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAChF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,qBAAqB,oGAQ1B,CAAC;AAIF,QAAA,MAAM,0BAA0B,6GAS9B,CAAC;AAIH,QAAA,MAAM,8BAA8B,uFAQnC,CAAC;AAIF,QAAA,MAAM,0BAA0B,uFAQ/B,CAAC;AAIF,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,8BAA8B,EAC9B,0BAA0B,GAC3B,CAAC"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
3
3
|
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
-
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref">) &
|
|
4
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
5
5
|
variant?: "default" | null | undefined;
|
|
6
6
|
size?: "button" | "default" | null | undefined;
|
|
7
|
-
isAdmin7?: boolean | null | undefined;
|
|
8
7
|
shape?: "pill" | "rounded" | null | undefined;
|
|
9
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string
|
|
10
|
-
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> &
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
11
10
|
variant?: "default" | null | undefined;
|
|
12
11
|
size?: "button" | "default" | null | undefined;
|
|
13
|
-
isAdmin7?: boolean | null | undefined;
|
|
14
12
|
shape?: "pill" | "rounded" | null | undefined;
|
|
15
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string
|
|
13
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
16
14
|
export { ToggleGroup, ToggleGroupItem };
|
|
17
15
|
//# sourceMappingURL=toggle-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAW7D,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAW7D,QAAA,MAAM,WAAW;;;;uHAwBf,CAAC;AAIH,QAAA,MAAM,eAAe;;;;yHAyBnB,CAAC;AAIH,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
declare const toggleVariants: (props?: ({
|
|
2
2
|
variant?: "default" | null | undefined;
|
|
3
3
|
size?: "button" | "default" | null | undefined;
|
|
4
|
-
isAdmin7?: boolean | null | undefined;
|
|
5
4
|
shape?: "pill" | "rounded" | null | undefined;
|
|
6
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
6
|
export { toggleVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"toggle-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc;;;;8EA4BnB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
3
3
|
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
-
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> &
|
|
4
|
+
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
5
5
|
variant?: "default" | null | undefined;
|
|
6
6
|
size?: "button" | "default" | null | undefined;
|
|
7
|
-
isAdmin7?: boolean | null | undefined;
|
|
8
7
|
shape?: "pill" | "rounded" | null | undefined;
|
|
9
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
9
|
export { Toggle };
|
|
11
10
|
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAM7D,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAM7D,QAAA,MAAM,MAAM;;;;yHAeV,CAAC;AAIH,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAU5D;;;;GAIG;AACH,iBAAS,eAAe,CAAC,EACvB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,qBAqCxD;AAED,iBAAS,OAAO,CAAC,EACf,IAAI,EAAE,cAAc,EACpB,WAAmB,EACnB,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,qBAiCpD;AAED,QAAA,MAAM,cAAc,sKAoBlB,CAAC;AAGH,QAAA,MAAM,sBAAsB;;8EAW3B,CAAC;AAEF,MAAM,WAAW,mBACf,SACE,KAAK,CAAC,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,EAC/D,YAAY,CAAC,OAAO,sBAAsB,CAAC;CAAG;AAElD,QAAA,MAAM,cAAc,4FAgBlB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header-tooltip-provider.d.ts","sourceRoot":"","sources":["../../src/providers/header-tooltip-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"header-tooltip-provider.d.ts","sourceRoot":"","sources":["../../src/providers/header-tooltip-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,kFAAkF;AAClF,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,CAAC,iBAAiB,qBAc1E"}
|
|
@@ -2,7 +2,8 @@ interface ShadeContextType {
|
|
|
2
2
|
isAnyTextFieldFocused: boolean;
|
|
3
3
|
setFocusState: (value: boolean) => void;
|
|
4
4
|
darkMode: boolean;
|
|
5
|
-
|
|
5
|
+
/** Admin's `admin7Design` Labs flag; see ShadeApp. */
|
|
6
|
+
admin7Design: boolean;
|
|
6
7
|
controlShape: ControlShape;
|
|
7
8
|
}
|
|
8
9
|
export type ControlShape = 'rounded' | 'pill';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shade-context.d.ts","sourceRoot":"","sources":["../../src/providers/shade-context.ts"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,OAAO,CAAC;IAClB,
|
|
1
|
+
{"version":3,"file":"shade-context.d.ts","sourceRoot":"","sources":["../../src/providers/shade-context.ts"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,OAAO,CAAC;IAClB,sDAAsD;IACtD,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,MAAM,CAAC;AAE9C,eAAO,MAAM,YAAY,2CAMvB,CAAC;AAEH,eAAO,MAAM,QAAQ,wBAAiC,CAAC;AAEvD,eAAO,MAAM,eAAe,wBAM3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shade-provider.d.ts","sourceRoot":"","sources":["../../src/providers/shade-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAwC5E,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,
|
|
1
|
+
{"version":3,"file":"shade-provider.d.ts","sourceRoot":"","sources":["../../src/providers/shade-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAwC5E,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgC/C,CAAC;eAEa,aAAa"}
|
package/types/shade-app.d.ts
CHANGED
|
@@ -9,8 +9,11 @@ export declare const SHADE_APP_NAMESPACES = "shade shade-admin shade-activitypub
|
|
|
9
9
|
export interface ShadeAppProps extends React.HTMLProps<HTMLDivElement> {
|
|
10
10
|
darkMode: boolean;
|
|
11
11
|
controlShape?: ControlShape;
|
|
12
|
-
/**
|
|
13
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Admin's `admin7Design` Labs flag. Admin passes the flag's value; isolated Shade
|
|
14
|
+
* previews and standalone apps default to the Admin 7 design. Removed with the flag.
|
|
15
|
+
*/
|
|
16
|
+
admin7Design?: boolean;
|
|
14
17
|
}
|
|
15
18
|
declare const ShadeApp: React.FC<ShadeAppProps>;
|
|
16
19
|
export default ShadeApp;
|
package/types/shade-app.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shade-app.d.ts","sourceRoot":"","sources":["../src/shade-app.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,wCAAwC,CAAC;AAE1E,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACpE,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B
|
|
1
|
+
{"version":3,"file":"shade-app.d.ts","sourceRoot":"","sources":["../src/shade-app.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,wCAAwC,CAAC;AAE1E,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACpE,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAiBrC,CAAC;eAEa,QAAQ"}
|
package/types/tokens.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SHADE_TOKEN_NAMES: readonly ['accent', 'accent-foreground', 'animate-accordion-down', 'animate-accordion-up', 'animate-fade-in', 'animate-fade-out', 'animate-modal-backdrop-in', 'animate-modal-in', 'animate-modal-in-from-right', 'animate-modal-in-reverse', 'animate-spin', 'animate-toaster-in', 'animate-toaster-out', 'animate-toaster-top-in', 'background', 'border', 'border-default', 'border-strong', 'breakpoint-lg', 'breakpoint-md', 'breakpoint-sidebar', 'breakpoint-sidebarlg', 'breakpoint-sm', 'breakpoint-tablet', 'breakpoint-xl', 'breakpoint-xxl', 'breakpoint-xxxl', 'card', 'card-foreground', 'chart-1', 'chart-2', 'chart-3', 'chart-4', 'chart-5', 'chart-amber', 'chart-blue', 'chart-darkblue', 'chart-darkgray', 'chart-gray', 'chart-green', 'chart-orange', 'chart-purple', 'chart-rose', 'chart-teal', 'chart-yellow', 'color-accent', 'color-accent-foreground', 'color-background', 'color-black', 'color-blue', 'color-blue-100', 'color-blue-200', 'color-blue-300', 'color-blue-400', 'color-blue-50', 'color-blue-500', 'color-blue-600', 'color-blue-700', 'color-blue-800', 'color-blue-900', 'color-
|
|
1
|
+
export declare const SHADE_TOKEN_NAMES: readonly ['accent', 'accent-foreground', 'animate-accordion-down', 'animate-accordion-up', 'animate-fade-in', 'animate-fade-out', 'animate-modal-backdrop-in', 'animate-modal-in', 'animate-modal-in-from-right', 'animate-modal-in-reverse', 'animate-spin', 'animate-toaster-in', 'animate-toaster-out', 'animate-toaster-top-in', 'background', 'border', 'border-default', 'border-strong', 'breakpoint-lg', 'breakpoint-md', 'breakpoint-sidebar', 'breakpoint-sidebarlg', 'breakpoint-sm', 'breakpoint-tablet', 'breakpoint-xl', 'breakpoint-xxl', 'breakpoint-xxxl', 'card', 'card-foreground', 'chart-1', 'chart-2', 'chart-3', 'chart-4', 'chart-5', 'chart-amber', 'chart-blue', 'chart-darkblue', 'chart-darkgray', 'chart-gray', 'chart-green', 'chart-orange', 'chart-purple', 'chart-rose', 'chart-teal', 'chart-yellow', 'color-accent', 'color-accent-foreground', 'color-background', 'color-black', 'color-blue', 'color-blue-100', 'color-blue-200', 'color-blue-300', 'color-blue-400', 'color-blue-50', 'color-blue-500', 'color-blue-600', 'color-blue-700', 'color-blue-800', 'color-blue-900', 'color-border', 'color-border-default', 'color-border-strong', 'color-card', 'color-card-foreground', 'color-chart-1', 'color-chart-2', 'color-chart-3', 'color-chart-4', 'color-chart-5', 'color-chart-amber', 'color-chart-blue', 'color-chart-darkgray', 'color-chart-gray', 'color-chart-green', 'color-chart-orange', 'color-chart-purple', 'color-chart-rose', 'color-chart-teal', 'color-chart-yellow', 'color-current', 'color-destructive', 'color-destructive-foreground', 'color-focus-ring', 'color-foreground', 'color-ghostaccent', 'color-gray', 'color-gray-100', 'color-gray-200', 'color-gray-300', 'color-gray-400', 'color-gray-50', 'color-gray-500', 'color-gray-600', 'color-gray-700', 'color-gray-800', 'color-gray-900', 'color-gray-950', 'color-green', 'color-green-100', 'color-green-200', 'color-green-300', 'color-green-400', 'color-green-50', 'color-green-500', 'color-green-600', 'color-green-700', 'color-green-800', 'color-green-900', 'color-input', 'color-lime', 'color-lime-100', 'color-lime-200', 'color-lime-300', 'color-lime-400', 'color-lime-50', 'color-lime-500', 'color-lime-600', 'color-lime-700', 'color-lime-800', 'color-lime-900', 'color-muted', 'color-muted-foreground', 'color-orange', 'color-orange-100', 'color-orange-200', 'color-orange-300', 'color-orange-400', 'color-orange-50', 'color-orange-500', 'color-orange-600', 'color-orange-700', 'color-orange-800', 'color-orange-900', 'color-pink', 'color-pink-100', 'color-pink-200', 'color-pink-300', 'color-pink-400', 'color-pink-50', 'color-pink-500', 'color-pink-600', 'color-pink-700', 'color-pink-800', 'color-pink-900', 'color-popover', 'color-popover-foreground', 'color-primary', 'color-primary-foreground', 'color-purple', 'color-purple-100', 'color-purple-200', 'color-purple-300', 'color-purple-400', 'color-purple-50', 'color-purple-500', 'color-purple-600', 'color-purple-700', 'color-purple-800', 'color-purple-900', 'color-red', 'color-red-100', 'color-red-200', 'color-red-300', 'color-red-400', 'color-red-50', 'color-red-500', 'color-red-600', 'color-red-700', 'color-red-800', 'color-red-900', 'color-ring', 'color-secondary', 'color-secondary-foreground', 'color-sidebar', 'color-sidebar-accent', 'color-sidebar-accent-foreground', 'color-sidebar-border', 'color-sidebar-foreground', 'color-sidebar-primary', 'color-sidebar-primary-foreground', 'color-sidebar-ring', 'color-state-danger', 'color-state-danger-foreground', 'color-state-info', 'color-state-info-foreground', 'color-state-success', 'color-state-success-foreground', 'color-state-warning', 'color-state-warning-foreground', 'color-surface-elevated', 'color-surface-page', 'color-surface-panel', 'color-text-primary', 'color-text-secondary', 'color-text-tertiary', 'color-transparent', 'color-white', 'color-yellow', 'color-yellow-100', 'color-yellow-200', 'color-yellow-300', 'color-yellow-400', 'color-yellow-50', 'color-yellow-500', 'color-yellow-600', 'color-yellow-700', 'color-yellow-800', 'color-yellow-900', 'container-0', 'container-2xl', 'container-3xl', 'container-4xl', 'container-5xl', 'container-6xl', 'container-7xl', 'container-8xl', 'container-9xl', 'container-lg', 'container-md', 'container-page', 'container-pageminsidebar', 'container-prose', 'container-sm', 'container-xl', 'container-xs', 'control-height', 'control-height-lg', 'control-outline-pressed-shadow', 'control-outline-shadow', 'control-pressed-shadow', 'destructive', 'destructive-foreground', 'duration-base', 'duration-fast', 'duration-slow', 'ease-emphasized', 'ease-standard', 'focus-ring', 'font-body', 'font-code', 'font-heading', 'font-inherit', 'font-mono', 'font-sans', 'font-serif', 'foreground', 'input', 'input-group-radius', 'leading-base', 'leading-body', 'leading-heading', 'leading-loose', 'leading-none', 'leading-normal', 'leading-relaxed', 'leading-snug', 'leading-supertight', 'leading-tight', 'leading-tighter', 'mobile-navbar-height', 'muted', 'muted-foreground', 'popover', 'popover-foreground', 'primary', 'primary-foreground', 'radius', 'radius-2xl', 'radius-3xl', 'radius-badge', 'radius-control', 'radius-control-sm', 'radius-full', 'radius-lg', 'radius-md', 'radius-menu', 'radius-menu-item', 'radius-pill', 'radius-sm', 'radius-surface', 'radius-trend-badge', 'radius-xl', 'radius-xs', 'ring', 'secondary', 'secondary-foreground', 'shadow', 'shadow-control-outline', 'shadow-control-outline-pressed', 'shadow-control-pressed', 'shadow-inner', 'shadow-lg', 'shadow-md', 'shadow-md-heavy', 'shadow-none', 'shadow-sm', 'shadow-xl', 'shadow-xs', 'sidebar-accent', 'sidebar-accent-foreground', 'sidebar-background', 'sidebar-border', 'sidebar-foreground', 'sidebar-primary', 'sidebar-primary-foreground', 'sidebar-ring', 'spacing', 'state-danger', 'state-danger-foreground', 'state-info', 'state-info-foreground', 'state-success', 'state-success-foreground', 'state-warning', 'state-warning-foreground', 'surface-elevated', 'surface-page', 'surface-panel', 'text-2xl', 'text-2xs', 'text-3xl', 'text-4xl', 'text-5xl', 'text-5xl--line-height', 'text-6xl', 'text-6xl--line-height', 'text-7xl', 'text-7xl--line-height', 'text-8xl', 'text-8xl--line-height', 'text-9xl', 'text-9xl--line-height', 'text-base', 'text-body-lg', 'text-body-md', 'text-body-sm', 'text-control', 'text-control-lg', 'text-lg', 'text-md', 'text-primary', 'text-secondary', 'text-sm', 'text-tertiary', 'text-xl', 'text-xs', 'tracking-normal', 'tracking-tight', 'tracking-tighter', 'tracking-tightest', 'tracking-wide', 'tracking-wider', 'tracking-widest'];
|
|
2
2
|
export type ShadeTokenName = (typeof SHADE_TOKEN_NAMES)[number];
|
|
3
3
|
export declare const shadeToken: (name: ShadeTokenName) => string;
|
|
4
4
|
//# sourceMappingURL=tokens.d.ts.map
|