@danxbot/ui 6.0.4 → 6.0.7
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/dist/index.js +1318 -1319
- package/dist/index.js.map +1 -1
- package/dist/types/components/Progress.d.ts +63 -0
- package/package.json +1 -1
|
@@ -28,6 +28,18 @@ declare const bar: import("tailwind-variants").TVReturnType<{
|
|
|
28
28
|
danger: {
|
|
29
29
|
indicator: string;
|
|
30
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* Neutral/gray — for a segment or bar that is neither good nor bad, just
|
|
33
|
+
* not-yet-decided (a "pending" quality gate, a step nobody has started).
|
|
34
|
+
* `--color-tertiary` is already the closest token to the old Vue app's
|
|
35
|
+
* pending-gate gray (`#64748b`): in the light theme it resolves to
|
|
36
|
+
* `--slate-500`, which IS `#64748b` (see tokens.css / contrast.css) —
|
|
37
|
+
* so this reuses an existing semantic slot instead of minting a new
|
|
38
|
+
* `--color-neutral` custom property for one tone.
|
|
39
|
+
*/
|
|
40
|
+
neutral: {
|
|
41
|
+
indicator: string;
|
|
42
|
+
};
|
|
31
43
|
};
|
|
32
44
|
}, {
|
|
33
45
|
root: string;
|
|
@@ -64,6 +76,18 @@ declare const bar: import("tailwind-variants").TVReturnType<{
|
|
|
64
76
|
danger: {
|
|
65
77
|
indicator: string;
|
|
66
78
|
};
|
|
79
|
+
/**
|
|
80
|
+
* Neutral/gray — for a segment or bar that is neither good nor bad, just
|
|
81
|
+
* not-yet-decided (a "pending" quality gate, a step nobody has started).
|
|
82
|
+
* `--color-tertiary` is already the closest token to the old Vue app's
|
|
83
|
+
* pending-gate gray (`#64748b`): in the light theme it resolves to
|
|
84
|
+
* `--slate-500`, which IS `#64748b` (see tokens.css / contrast.css) —
|
|
85
|
+
* so this reuses an existing semantic slot instead of minting a new
|
|
86
|
+
* `--color-neutral` custom property for one tone.
|
|
87
|
+
*/
|
|
88
|
+
neutral: {
|
|
89
|
+
indicator: string;
|
|
90
|
+
};
|
|
67
91
|
};
|
|
68
92
|
}, {
|
|
69
93
|
root: string;
|
|
@@ -100,6 +124,18 @@ declare const bar: import("tailwind-variants").TVReturnType<{
|
|
|
100
124
|
danger: {
|
|
101
125
|
indicator: string;
|
|
102
126
|
};
|
|
127
|
+
/**
|
|
128
|
+
* Neutral/gray — for a segment or bar that is neither good nor bad, just
|
|
129
|
+
* not-yet-decided (a "pending" quality gate, a step nobody has started).
|
|
130
|
+
* `--color-tertiary` is already the closest token to the old Vue app's
|
|
131
|
+
* pending-gate gray (`#64748b`): in the light theme it resolves to
|
|
132
|
+
* `--slate-500`, which IS `#64748b` (see tokens.css / contrast.css) —
|
|
133
|
+
* so this reuses an existing semantic slot instead of minting a new
|
|
134
|
+
* `--color-neutral` custom property for one tone.
|
|
135
|
+
*/
|
|
136
|
+
neutral: {
|
|
137
|
+
indicator: string;
|
|
138
|
+
};
|
|
103
139
|
};
|
|
104
140
|
}, {
|
|
105
141
|
root: string;
|
|
@@ -134,6 +170,15 @@ export interface MeterProps extends VariantProps<typeof bar> {
|
|
|
134
170
|
export declare function Meter({ value, min, max, label, format, showValue, size, tone, className, ref, }: MeterProps): import("react").JSX.Element;
|
|
135
171
|
declare const ring: import("tailwind-variants").TVReturnType<{
|
|
136
172
|
size: {
|
|
173
|
+
/**
|
|
174
|
+
* Icon-sized — a single arc beside a chevron or a percentage in a card
|
|
175
|
+
* row (24px), where even `sm` (40px) is taller than the row itself.
|
|
176
|
+
* Matches the private `ContextDial` this size replaces in
|
|
177
|
+
* `chat/ContextMeter.tsx` (`size-3.5`) pixel-for-pixel. Always pair with
|
|
178
|
+
* `showValue={false}`: two digits do not fit a 14px circle, and nothing
|
|
179
|
+
* clips or shrinks them automatically if you leave the number on.
|
|
180
|
+
*/
|
|
181
|
+
xs: "size-3.5";
|
|
137
182
|
sm: "size-10";
|
|
138
183
|
md: "size-16";
|
|
139
184
|
lg: "size-24";
|
|
@@ -148,6 +193,15 @@ declare const ring: import("tailwind-variants").TVReturnType<{
|
|
|
148
193
|
};
|
|
149
194
|
}, undefined, "relative grid shrink-0 place-items-center", {
|
|
150
195
|
size: {
|
|
196
|
+
/**
|
|
197
|
+
* Icon-sized — a single arc beside a chevron or a percentage in a card
|
|
198
|
+
* row (24px), where even `sm` (40px) is taller than the row itself.
|
|
199
|
+
* Matches the private `ContextDial` this size replaces in
|
|
200
|
+
* `chat/ContextMeter.tsx` (`size-3.5`) pixel-for-pixel. Always pair with
|
|
201
|
+
* `showValue={false}`: two digits do not fit a 14px circle, and nothing
|
|
202
|
+
* clips or shrinks them automatically if you leave the number on.
|
|
203
|
+
*/
|
|
204
|
+
xs: "size-3.5";
|
|
151
205
|
sm: "size-10";
|
|
152
206
|
md: "size-16";
|
|
153
207
|
lg: "size-24";
|
|
@@ -162,6 +216,15 @@ declare const ring: import("tailwind-variants").TVReturnType<{
|
|
|
162
216
|
};
|
|
163
217
|
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
164
218
|
size: {
|
|
219
|
+
/**
|
|
220
|
+
* Icon-sized — a single arc beside a chevron or a percentage in a card
|
|
221
|
+
* row (24px), where even `sm` (40px) is taller than the row itself.
|
|
222
|
+
* Matches the private `ContextDial` this size replaces in
|
|
223
|
+
* `chat/ContextMeter.tsx` (`size-3.5`) pixel-for-pixel. Always pair with
|
|
224
|
+
* `showValue={false}`: two digits do not fit a 14px circle, and nothing
|
|
225
|
+
* clips or shrinks them automatically if you leave the number on.
|
|
226
|
+
*/
|
|
227
|
+
xs: "size-3.5";
|
|
165
228
|
sm: "size-10";
|
|
166
229
|
md: "size-16";
|
|
167
230
|
lg: "size-24";
|