@frontile/theme 0.18.0-alpha.14 → 0.18.0-alpha.15

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.
@@ -257,8 +257,8 @@ export interface SurfaceColors {
257
257
  *
258
258
  * Light: Pure white, creating lifted appearance against gray canvas
259
259
  * Dark: A translucent veil (white @ 7%, the same value as `overlay-subtle`),
260
- * so content behind it shows through faintly. Use an opaque role such as
261
- * `surface-canvas` where it must not — a sticky table header, for instance.
260
+ * so content behind it shows through faintly. Where a surface has to stay
261
+ * opaque, use {@link table} — the same color without the transparency.
262
262
  *
263
263
  * @example
264
264
  * // Product card
@@ -272,6 +272,27 @@ export interface SurfaceColors {
272
272
  * <div className="bg-surface-card hover:bg-surface-overlay-subtle">
273
273
  */
274
274
  card: string;
275
+ /**
276
+ * Data table surface (hierarchy level 1).
277
+ *
278
+ * The same color as {@link card}, guaranteed opaque. Tables need that
279
+ * guarantee: a sticky header, a frozen row, or a pinned column paints over the
280
+ * rows and columns scrolling beneath it, and anything translucent lets them
281
+ * show through.
282
+ *
283
+ * Light: Pure white, identical to `card`
284
+ * Dark: `gray-900` — the color `card` renders over `canvas`, so the two are
285
+ * indistinguishable on a canvas-backed page
286
+ *
287
+ * For one table on a different background, set `--color-surface-table` on it
288
+ * rather than recolouring the role — it is a plain custom property, and it
289
+ * applies to everything below it.
290
+ *
291
+ * @example
292
+ * // Sticky table header, which the rows scroll under
293
+ * <thead className="sticky top-0 bg-surface-table">
294
+ */
295
+ table: string;
275
296
  /**
276
297
  * Form control surface for inputs, checkboxes, radios, and similar controls
277
298
  * (hierarchy level -1).
@@ -10,47 +10,50 @@ declare const chip: import("tailwind-variants").TVReturnType<{
10
10
  intent: {
11
11
  default: {
12
12
  dot: string;
13
- closeButton: string[];
13
+ closeButton: string;
14
14
  };
15
15
  primary: {
16
16
  dot: string;
17
- closeButton: string[];
17
+ closeButton: string;
18
18
  };
19
19
  secondary: {
20
20
  dot: string;
21
- closeButton: string[];
21
+ closeButton: string;
22
22
  };
23
23
  tertiary: {
24
24
  dot: string;
25
- closeButton: string[];
25
+ closeButton: string;
26
26
  };
27
27
  success: {
28
28
  dot: string;
29
- closeButton: string[];
29
+ closeButton: string;
30
30
  };
31
31
  warning: {
32
32
  dot: string;
33
- closeButton: string[];
33
+ closeButton: string;
34
34
  };
35
35
  danger: {
36
36
  dot: string;
37
- closeButton: string[];
37
+ closeButton: string;
38
38
  };
39
39
  };
40
40
  size: {
41
41
  sm: {
42
42
  base: string;
43
43
  content: string;
44
+ dot: string;
44
45
  closeButton: string;
45
46
  };
46
47
  md: {
47
48
  base: string;
48
49
  content: string;
50
+ dot: string;
49
51
  closeButton: string;
50
52
  };
51
53
  lg: {
52
54
  base: string;
53
55
  content: string;
56
+ dot: string;
54
57
  closeButton: string;
55
58
  };
56
59
  };
@@ -126,47 +129,50 @@ declare const chip: import("tailwind-variants").TVReturnType<{
126
129
  intent: {
127
130
  default: {
128
131
  dot: string;
129
- closeButton: string[];
132
+ closeButton: string;
130
133
  };
131
134
  primary: {
132
135
  dot: string;
133
- closeButton: string[];
136
+ closeButton: string;
134
137
  };
135
138
  secondary: {
136
139
  dot: string;
137
- closeButton: string[];
140
+ closeButton: string;
138
141
  };
139
142
  tertiary: {
140
143
  dot: string;
141
- closeButton: string[];
144
+ closeButton: string;
142
145
  };
143
146
  success: {
144
147
  dot: string;
145
- closeButton: string[];
148
+ closeButton: string;
146
149
  };
147
150
  warning: {
148
151
  dot: string;
149
- closeButton: string[];
152
+ closeButton: string;
150
153
  };
151
154
  danger: {
152
155
  dot: string;
153
- closeButton: string[];
156
+ closeButton: string;
154
157
  };
155
158
  };
156
159
  size: {
157
160
  sm: {
158
161
  base: string;
159
162
  content: string;
163
+ dot: string;
160
164
  closeButton: string;
161
165
  };
162
166
  md: {
163
167
  base: string;
164
168
  content: string;
169
+ dot: string;
165
170
  closeButton: string;
166
171
  };
167
172
  lg: {
168
173
  base: string;
169
174
  content: string;
175
+ dot: string;
170
176
  closeButton: string;
171
177
  };
172
178
  };
@@ -193,47 +199,50 @@ declare const chip: import("tailwind-variants").TVReturnType<{
193
199
  intent: {
194
200
  default: {
195
201
  dot: string;
196
- closeButton: string[];
202
+ closeButton: string;
197
203
  };
198
204
  primary: {
199
205
  dot: string;
200
- closeButton: string[];
206
+ closeButton: string;
201
207
  };
202
208
  secondary: {
203
209
  dot: string;
204
- closeButton: string[];
210
+ closeButton: string;
205
211
  };
206
212
  tertiary: {
207
213
  dot: string;
208
- closeButton: string[];
214
+ closeButton: string;
209
215
  };
210
216
  success: {
211
217
  dot: string;
212
- closeButton: string[];
218
+ closeButton: string;
213
219
  };
214
220
  warning: {
215
221
  dot: string;
216
- closeButton: string[];
222
+ closeButton: string;
217
223
  };
218
224
  danger: {
219
225
  dot: string;
220
- closeButton: string[];
226
+ closeButton: string;
221
227
  };
222
228
  };
223
229
  size: {
224
230
  sm: {
225
231
  base: string;
226
232
  content: string;
233
+ dot: string;
227
234
  closeButton: string;
228
235
  };
229
236
  md: {
230
237
  base: string;
231
238
  content: string;
239
+ dot: string;
232
240
  closeButton: string;
233
241
  };
234
242
  lg: {
235
243
  base: string;
236
244
  content: string;
245
+ dot: string;
237
246
  closeButton: string;
238
247
  };
239
248
  };
@@ -260,47 +269,50 @@ declare const chip: import("tailwind-variants").TVReturnType<{
260
269
  intent: {
261
270
  default: {
262
271
  dot: string;
263
- closeButton: string[];
272
+ closeButton: string;
264
273
  };
265
274
  primary: {
266
275
  dot: string;
267
- closeButton: string[];
276
+ closeButton: string;
268
277
  };
269
278
  secondary: {
270
279
  dot: string;
271
- closeButton: string[];
280
+ closeButton: string;
272
281
  };
273
282
  tertiary: {
274
283
  dot: string;
275
- closeButton: string[];
284
+ closeButton: string;
276
285
  };
277
286
  success: {
278
287
  dot: string;
279
- closeButton: string[];
288
+ closeButton: string;
280
289
  };
281
290
  warning: {
282
291
  dot: string;
283
- closeButton: string[];
292
+ closeButton: string;
284
293
  };
285
294
  danger: {
286
295
  dot: string;
287
- closeButton: string[];
296
+ closeButton: string;
288
297
  };
289
298
  };
290
299
  size: {
291
300
  sm: {
292
301
  base: string;
293
302
  content: string;
303
+ dot: string;
294
304
  closeButton: string;
295
305
  };
296
306
  md: {
297
307
  base: string;
298
308
  content: string;
309
+ dot: string;
299
310
  closeButton: string;
300
311
  };
301
312
  lg: {
302
313
  base: string;
303
314
  content: string;
315
+ dot: string;
304
316
  closeButton: string;
305
317
  };
306
318
  };
@@ -322,47 +334,50 @@ declare const chip: import("tailwind-variants").TVReturnType<{
322
334
  intent: {
323
335
  default: {
324
336
  dot: string;
325
- closeButton: string[];
337
+ closeButton: string;
326
338
  };
327
339
  primary: {
328
340
  dot: string;
329
- closeButton: string[];
341
+ closeButton: string;
330
342
  };
331
343
  secondary: {
332
344
  dot: string;
333
- closeButton: string[];
345
+ closeButton: string;
334
346
  };
335
347
  tertiary: {
336
348
  dot: string;
337
- closeButton: string[];
349
+ closeButton: string;
338
350
  };
339
351
  success: {
340
352
  dot: string;
341
- closeButton: string[];
353
+ closeButton: string;
342
354
  };
343
355
  warning: {
344
356
  dot: string;
345
- closeButton: string[];
357
+ closeButton: string;
346
358
  };
347
359
  danger: {
348
360
  dot: string;
349
- closeButton: string[];
361
+ closeButton: string;
350
362
  };
351
363
  };
352
364
  size: {
353
365
  sm: {
354
366
  base: string;
355
367
  content: string;
368
+ dot: string;
356
369
  closeButton: string;
357
370
  };
358
371
  md: {
359
372
  base: string;
360
373
  content: string;
374
+ dot: string;
361
375
  closeButton: string;
362
376
  };
363
377
  lg: {
364
378
  base: string;
365
379
  content: string;
380
+ dot: string;
366
381
  closeButton: string;
367
382
  };
368
383
  };
@@ -1,4 +1,4 @@
1
- declare const dropdownContent: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "bg-surface-input w-[260px] rounded-sm border border-neutral-subtle", {
1
+ declare const dropdownContent: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "bg-surface-input w-[260px] rounded-xl border border-neutral-subtle", {
2
2
  responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {} | undefined;
3
3
  } & import("tailwind-variants/dist/config.js").TWMConfig & {
4
4
  twMerge: true;
@@ -41,5 +41,5 @@ declare const dropdownContent: import("tailwind-variants").TVReturnType<{} | {}
41
41
  };
42
42
  };
43
43
  };
44
- }, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "bg-surface-input w-[260px] rounded-sm border border-neutral-subtle", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
44
+ }, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "bg-surface-input w-[260px] rounded-xl border border-neutral-subtle", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
45
45
  export { dropdownContent };