@aircall/ds 0.42.0 → 0.43.1
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/{data-table-Ciqcsotb.js → data-table-sGfJhRvB.js} +74 -12
- package/dist/data-table.js +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.d.ts +7 -4
- package/dist/index.js +6 -3
- package/dist/theme.css +204 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -970,8 +970,8 @@ declare namespace CounterBadge {
|
|
|
970
970
|
/** `cva` recipe for the Badge/Chip container — drives the `size`, `color`, and `tone` classes. */
|
|
971
971
|
declare const badgeVariants: (props?: ({
|
|
972
972
|
size?: "default" | "lg" | null | undefined;
|
|
973
|
-
color?: "
|
|
974
|
-
tone?: "dark" | "
|
|
973
|
+
color?: "blue" | "green" | "pink" | "purple" | "red" | "yellow" | "charcoal" | null | undefined;
|
|
974
|
+
tone?: "dark" | "light" | "medium-dark" | "medium-light" | null | undefined;
|
|
975
975
|
overflowMode?: "none" | "truncate" | null | undefined;
|
|
976
976
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
977
977
|
type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
@@ -1863,8 +1863,11 @@ declare namespace ColorPicker {
|
|
|
1863
1863
|
* Trigger that opens the `ColorPicker`. Renders a Base UI `PopoverTrigger` as a
|
|
1864
1864
|
* `<button>` - by default a 32px outline icon `Button` showing the current colour
|
|
1865
1865
|
* as a rounded swatch. Override the element via `render` and the inner content via
|
|
1866
|
-
* `children`. Forwards `className`, `aria-invalid` and `disabled`, so it can join
|
|
1867
|
-
* `
|
|
1866
|
+
* `children`. Forwards `className`, `aria-invalid` and `disabled`, so it can join an
|
|
1867
|
+
* `InputGroup` and share an error border with a neighbouring `InputGroupInput` -
|
|
1868
|
+
* the recommended composition for a colour trigger beside a text field, since the
|
|
1869
|
+
* input stretches to fill the remaining width and the group's 40px shell already
|
|
1870
|
+
* matches this trigger's default height.
|
|
1868
1871
|
*
|
|
1869
1872
|
* @example
|
|
1870
1873
|
* ```tsx
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Button, D as _objectWithoutProperties, E as _objectSpread2, O as cn, S as registerI18nNamespace, T as linkStyle, _ as ActionBarHeight, a as TableFooter, b as detectInitialLanguage, c as TableRow, d as Checkbox, f as Spinner, g as ActionBarContext, h as ActionBarButton, i as TableCell, l as useFetchMoreSentinel, m as ActionBar, n as Table, o as TableHead, p as spinnerVariants, r as TableBody, s as TableHeader, t as DataTable, u as Skeleton, v as useDsTranslation, w as buttonVariants, x as dsI18n, y as SUPPORTED_LANGUAGES } from "./data-table-
|
|
1
|
+
import { C as Button, D as _objectWithoutProperties, E as _objectSpread2, O as cn, S as registerI18nNamespace, T as linkStyle, _ as ActionBarHeight, a as TableFooter, b as detectInitialLanguage, c as TableRow, d as Checkbox, f as Spinner, g as ActionBarContext, h as ActionBarButton, i as TableCell, l as useFetchMoreSentinel, m as ActionBar, n as Table, o as TableHead, p as spinnerVariants, r as TableBody, s as TableHeader, t as DataTable, u as Skeleton, v as useDsTranslation, w as buttonVariants, x as dsI18n, y as SUPPORTED_LANGUAGES } from "./data-table-sGfJhRvB.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { createContext, useContext, useSyncExternalStore } from "react";
|
|
4
4
|
import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
|
|
@@ -3830,8 +3830,11 @@ function ColorPicker(componentProps) {
|
|
|
3830
3830
|
* Trigger that opens the `ColorPicker`. Renders a Base UI `PopoverTrigger` as a
|
|
3831
3831
|
* `<button>` - by default a 32px outline icon `Button` showing the current colour
|
|
3832
3832
|
* as a rounded swatch. Override the element via `render` and the inner content via
|
|
3833
|
-
* `children`. Forwards `className`, `aria-invalid` and `disabled`, so it can join
|
|
3834
|
-
* `
|
|
3833
|
+
* `children`. Forwards `className`, `aria-invalid` and `disabled`, so it can join an
|
|
3834
|
+
* `InputGroup` and share an error border with a neighbouring `InputGroupInput` -
|
|
3835
|
+
* the recommended composition for a colour trigger beside a text field, since the
|
|
3836
|
+
* input stretches to fill the remaining width and the group's 40px shell already
|
|
3837
|
+
* matches this trigger's default height.
|
|
3835
3838
|
*
|
|
3836
3839
|
* @example
|
|
3837
3840
|
* ```tsx
|
package/dist/theme.css
CHANGED
|
@@ -264,11 +264,74 @@
|
|
|
264
264
|
--border: var(--color-neutral-200);
|
|
265
265
|
--input: var(--color-neutral-200);
|
|
266
266
|
--ring: var(--color-neutral-400);
|
|
267
|
-
--chart-1: var(--color-
|
|
268
|
-
--chart-2: var(--color-
|
|
269
|
-
--chart-3: var(--color-purple-
|
|
270
|
-
--chart-4: var(--color-
|
|
271
|
-
--chart-5: var(--color-
|
|
267
|
+
--chart-1-default: var(--color-blue-300);
|
|
268
|
+
--chart-2-default: var(--color-charcoal-400);
|
|
269
|
+
--chart-3-default: var(--color-purple-300);
|
|
270
|
+
--chart-4-default: var(--color-purple-500);
|
|
271
|
+
--chart-5-default: var(--color-purple-600);
|
|
272
|
+
--chart-6-default: var(--color-blue-800);
|
|
273
|
+
--chart-7-default: var(--color-charcoal-800);
|
|
274
|
+
--chart-8-default: var(--color-green-700);
|
|
275
|
+
--chart-9-default: var(--color-green-500);
|
|
276
|
+
--chart-10-default: var(--color-blue-600);
|
|
277
|
+
--chart-other-default: var(--color-neutral-400);
|
|
278
|
+
--chart-1-default-foreground: var(--color-blue-900);
|
|
279
|
+
--chart-2-default-foreground: var(--color-neutral-950);
|
|
280
|
+
--chart-3-default-foreground: var(--color-purple-900);
|
|
281
|
+
--chart-4-default-foreground: #fff;
|
|
282
|
+
--chart-5-default-foreground: #fff;
|
|
283
|
+
--chart-6-default-foreground: #fff;
|
|
284
|
+
--chart-7-default-foreground: #fff;
|
|
285
|
+
--chart-8-default-foreground: #fff;
|
|
286
|
+
--chart-9-default-foreground: #fff;
|
|
287
|
+
--chart-10-default-foreground: #fff;
|
|
288
|
+
--chart-other-default-foreground: #000;
|
|
289
|
+
--chart-1-colorscale: var(--color-green-400);
|
|
290
|
+
--chart-2-colorscale: var(--color-green-300);
|
|
291
|
+
--chart-3-colorscale: var(--color-yellow-300);
|
|
292
|
+
--chart-4-colorscale: var(--color-red-300);
|
|
293
|
+
--chart-5-colorscale: var(--color-red-400);
|
|
294
|
+
--chart-6-colorscale: var(--color-red-500);
|
|
295
|
+
--chart-7-colorscale: var(--color-red-700);
|
|
296
|
+
--chart-8-colorscale: var(--color-red-800);
|
|
297
|
+
--chart-9-colorscale: var(--color-red-900);
|
|
298
|
+
--chart-10-colorscale: var(--color-charcoal-950);
|
|
299
|
+
--chart-other-colorscale: var(--color-neutral-400);
|
|
300
|
+
--chart-1-colorscale-foreground: var(--color-green-950);
|
|
301
|
+
--chart-2-colorscale-foreground: var(--color-green-950);
|
|
302
|
+
--chart-3-colorscale-foreground: #000;
|
|
303
|
+
--chart-4-colorscale-foreground: var(--color-red-950);
|
|
304
|
+
--chart-5-colorscale-foreground: var(--color-red-950);
|
|
305
|
+
--chart-6-colorscale-foreground: #fff;
|
|
306
|
+
--chart-7-colorscale-foreground: #fff;
|
|
307
|
+
--chart-8-colorscale-foreground: #fff;
|
|
308
|
+
--chart-9-colorscale-foreground: #fff;
|
|
309
|
+
--chart-10-colorscale-foreground: #fff;
|
|
310
|
+
--chart-other-colorscale-foreground: #000;
|
|
311
|
+
--heatmap-1-default: var(--color-blue-100);
|
|
312
|
+
--heatmap-2-default: var(--color-blue-200);
|
|
313
|
+
--heatmap-3-default: var(--color-blue-300);
|
|
314
|
+
--heatmap-4-default: var(--color-blue-400);
|
|
315
|
+
--heatmap-5-default: var(--color-blue-500);
|
|
316
|
+
--heatmap-empty-default: var(--color-neutral-50);
|
|
317
|
+
--heatmap-1-default-foreground: var(--color-blue-900);
|
|
318
|
+
--heatmap-2-default-foreground: var(--color-blue-900);
|
|
319
|
+
--heatmap-3-default-foreground: var(--color-blue-900);
|
|
320
|
+
--heatmap-4-default-foreground: var(--color-blue-900);
|
|
321
|
+
--heatmap-5-default-foreground: #fff;
|
|
322
|
+
--heatmap-empty-default-foreground: var(--color-neutral-600);
|
|
323
|
+
--heatmap-1-colorscale: var(--color-green-200);
|
|
324
|
+
--heatmap-2-colorscale: var(--color-green-100);
|
|
325
|
+
--heatmap-3-colorscale: transparent;
|
|
326
|
+
--heatmap-4-colorscale: var(--color-red-100);
|
|
327
|
+
--heatmap-5-colorscale: var(--color-red-200);
|
|
328
|
+
--heatmap-empty-colorscale: var(--color-neutral-50);
|
|
329
|
+
--heatmap-1-colorscale-foreground: var(--color-green-900);
|
|
330
|
+
--heatmap-2-colorscale-foreground: var(--color-green-900);
|
|
331
|
+
--heatmap-3-colorscale-foreground: var(--color-neutral-950);
|
|
332
|
+
--heatmap-4-colorscale-foreground: var(--color-red-900);
|
|
333
|
+
--heatmap-5-colorscale-foreground: var(--color-red-900);
|
|
334
|
+
--heatmap-empty-colorscale-foreground: var(--color-neutral-600);
|
|
272
335
|
--radius: 0.625rem;
|
|
273
336
|
--sidebar: #fff;
|
|
274
337
|
--sidebar-foreground: var(--color-neutral-800);
|
|
@@ -324,11 +387,74 @@
|
|
|
324
387
|
--border: oklch(1 0 0 / 10%);
|
|
325
388
|
--input: oklch(1 0 0 / 15%);
|
|
326
389
|
--ring: var(--color-neutral-500);
|
|
327
|
-
--chart-1: var(--color-
|
|
328
|
-
--chart-2: var(--color-blue-
|
|
329
|
-
--chart-3: var(--color-
|
|
330
|
-
--chart-4: var(--color-
|
|
331
|
-
--chart-5: var(--color-
|
|
390
|
+
--chart-1-default: var(--color-blue-800);
|
|
391
|
+
--chart-2-default: var(--color-blue-600);
|
|
392
|
+
--chart-3-default: var(--color-charcoal-700);
|
|
393
|
+
--chart-4-default: var(--color-charcoal-500);
|
|
394
|
+
--chart-5-default: var(--color-green-800);
|
|
395
|
+
--chart-6-default: var(--color-green-600);
|
|
396
|
+
--chart-7-default: var(--color-purple-800);
|
|
397
|
+
--chart-8-default: var(--color-purple-600);
|
|
398
|
+
--chart-9-default: var(--color-pink-900);
|
|
399
|
+
--chart-10-default: var(--color-pink-700);
|
|
400
|
+
--chart-other-default: var(--color-neutral-600);
|
|
401
|
+
--chart-1-default-foreground: #fff;
|
|
402
|
+
--chart-2-default-foreground: #fff;
|
|
403
|
+
--chart-3-default-foreground: #fff;
|
|
404
|
+
--chart-4-default-foreground: #fff;
|
|
405
|
+
--chart-5-default-foreground: #fff;
|
|
406
|
+
--chart-6-default-foreground: #fff;
|
|
407
|
+
--chart-7-default-foreground: #fff;
|
|
408
|
+
--chart-8-default-foreground: #fff;
|
|
409
|
+
--chart-9-default-foreground: #fff;
|
|
410
|
+
--chart-10-default-foreground: #fff;
|
|
411
|
+
--chart-other-default-foreground: #fff;
|
|
412
|
+
--chart-1-colorscale: var(--color-green-500);
|
|
413
|
+
--chart-2-colorscale: var(--color-green-400);
|
|
414
|
+
--chart-3-colorscale: var(--color-yellow-400);
|
|
415
|
+
--chart-4-colorscale: var(--color-red-400);
|
|
416
|
+
--chart-5-colorscale: var(--color-red-500);
|
|
417
|
+
--chart-6-colorscale: var(--color-red-700);
|
|
418
|
+
--chart-7-colorscale: var(--color-red-800);
|
|
419
|
+
--chart-8-colorscale: var(--color-red-900);
|
|
420
|
+
--chart-9-colorscale: var(--color-red-950);
|
|
421
|
+
--chart-10-colorscale: var(--color-charcoal-950);
|
|
422
|
+
--chart-other-colorscale: var(--color-neutral-600);
|
|
423
|
+
--chart-1-colorscale-foreground: #fff;
|
|
424
|
+
--chart-2-colorscale-foreground: var(--color-green-950);
|
|
425
|
+
--chart-3-colorscale-foreground: #000;
|
|
426
|
+
--chart-4-colorscale-foreground: var(--color-red-950);
|
|
427
|
+
--chart-5-colorscale-foreground: #fff;
|
|
428
|
+
--chart-6-colorscale-foreground: #fff;
|
|
429
|
+
--chart-7-colorscale-foreground: #fff;
|
|
430
|
+
--chart-8-colorscale-foreground: #fff;
|
|
431
|
+
--chart-9-colorscale-foreground: #fff;
|
|
432
|
+
--chart-10-colorscale-foreground: #fff;
|
|
433
|
+
--chart-other-colorscale-foreground: #fff;
|
|
434
|
+
--heatmap-1-default: var(--color-blue-950);
|
|
435
|
+
--heatmap-2-default: var(--color-blue-900);
|
|
436
|
+
--heatmap-3-default: var(--color-blue-800);
|
|
437
|
+
--heatmap-4-default: var(--color-blue-700);
|
|
438
|
+
--heatmap-5-default: var(--color-blue-600);
|
|
439
|
+
--heatmap-empty-default: var(--color-neutral-900);
|
|
440
|
+
--heatmap-1-default-foreground: #fff;
|
|
441
|
+
--heatmap-2-default-foreground: #fff;
|
|
442
|
+
--heatmap-3-default-foreground: #fff;
|
|
443
|
+
--heatmap-4-default-foreground: #fff;
|
|
444
|
+
--heatmap-5-default-foreground: #fff;
|
|
445
|
+
--heatmap-empty-default-foreground: #fff;
|
|
446
|
+
--heatmap-1-colorscale: var(--color-green-800);
|
|
447
|
+
--heatmap-2-colorscale: var(--color-green-900);
|
|
448
|
+
--heatmap-3-colorscale: transparent;
|
|
449
|
+
--heatmap-4-colorscale: var(--color-red-950);
|
|
450
|
+
--heatmap-5-colorscale: var(--color-red-900);
|
|
451
|
+
--heatmap-empty-colorscale: var(--color-neutral-900);
|
|
452
|
+
--heatmap-1-colorscale-foreground: var(--color-green-50);
|
|
453
|
+
--heatmap-2-colorscale-foreground: var(--color-green-50);
|
|
454
|
+
--heatmap-3-colorscale-foreground: #fff;
|
|
455
|
+
--heatmap-4-colorscale-foreground: var(--color-red-50);
|
|
456
|
+
--heatmap-5-colorscale-foreground: var(--color-red-50);
|
|
457
|
+
--heatmap-empty-colorscale-foreground: #fff;
|
|
332
458
|
--sidebar: var(--color-neutral-900);
|
|
333
459
|
--sidebar-foreground: var(--color-neutral-50);
|
|
334
460
|
--sidebar-primary: var(--color-green-500);
|
|
@@ -377,11 +503,74 @@
|
|
|
377
503
|
--color-border: var(--border);
|
|
378
504
|
--color-input: var(--input);
|
|
379
505
|
--color-ring: var(--ring);
|
|
380
|
-
--color-chart-1: var(--chart-1);
|
|
381
|
-
--color-chart-
|
|
382
|
-
--color-chart-
|
|
383
|
-
--color-chart-
|
|
384
|
-
--color-chart-
|
|
506
|
+
--color-chart-1-default: var(--chart-1-default);
|
|
507
|
+
--color-chart-1-colorscale: var(--chart-1-colorscale);
|
|
508
|
+
--color-chart-2-default: var(--chart-2-default);
|
|
509
|
+
--color-chart-2-colorscale: var(--chart-2-colorscale);
|
|
510
|
+
--color-chart-3-default: var(--chart-3-default);
|
|
511
|
+
--color-chart-3-colorscale: var(--chart-3-colorscale);
|
|
512
|
+
--color-chart-4-default: var(--chart-4-default);
|
|
513
|
+
--color-chart-4-colorscale: var(--chart-4-colorscale);
|
|
514
|
+
--color-chart-5-default: var(--chart-5-default);
|
|
515
|
+
--color-chart-5-colorscale: var(--chart-5-colorscale);
|
|
516
|
+
--color-chart-6-default: var(--chart-6-default);
|
|
517
|
+
--color-chart-6-colorscale: var(--chart-6-colorscale);
|
|
518
|
+
--color-chart-7-default: var(--chart-7-default);
|
|
519
|
+
--color-chart-7-colorscale: var(--chart-7-colorscale);
|
|
520
|
+
--color-chart-8-default: var(--chart-8-default);
|
|
521
|
+
--color-chart-8-colorscale: var(--chart-8-colorscale);
|
|
522
|
+
--color-chart-9-default: var(--chart-9-default);
|
|
523
|
+
--color-chart-9-colorscale: var(--chart-9-colorscale);
|
|
524
|
+
--color-chart-10-default: var(--chart-10-default);
|
|
525
|
+
--color-chart-10-colorscale: var(--chart-10-colorscale);
|
|
526
|
+
--color-chart-other-default: var(--chart-other-default);
|
|
527
|
+
--color-chart-other-colorscale: var(--chart-other-colorscale);
|
|
528
|
+
--color-chart-1-default-foreground: var(--chart-1-default-foreground);
|
|
529
|
+
--color-chart-1-colorscale-foreground: var(--chart-1-colorscale-foreground);
|
|
530
|
+
--color-chart-2-default-foreground: var(--chart-2-default-foreground);
|
|
531
|
+
--color-chart-2-colorscale-foreground: var(--chart-2-colorscale-foreground);
|
|
532
|
+
--color-chart-3-default-foreground: var(--chart-3-default-foreground);
|
|
533
|
+
--color-chart-3-colorscale-foreground: var(--chart-3-colorscale-foreground);
|
|
534
|
+
--color-chart-4-default-foreground: var(--chart-4-default-foreground);
|
|
535
|
+
--color-chart-4-colorscale-foreground: var(--chart-4-colorscale-foreground);
|
|
536
|
+
--color-chart-5-default-foreground: var(--chart-5-default-foreground);
|
|
537
|
+
--color-chart-5-colorscale-foreground: var(--chart-5-colorscale-foreground);
|
|
538
|
+
--color-chart-6-default-foreground: var(--chart-6-default-foreground);
|
|
539
|
+
--color-chart-6-colorscale-foreground: var(--chart-6-colorscale-foreground);
|
|
540
|
+
--color-chart-7-default-foreground: var(--chart-7-default-foreground);
|
|
541
|
+
--color-chart-7-colorscale-foreground: var(--chart-7-colorscale-foreground);
|
|
542
|
+
--color-chart-8-default-foreground: var(--chart-8-default-foreground);
|
|
543
|
+
--color-chart-8-colorscale-foreground: var(--chart-8-colorscale-foreground);
|
|
544
|
+
--color-chart-9-default-foreground: var(--chart-9-default-foreground);
|
|
545
|
+
--color-chart-9-colorscale-foreground: var(--chart-9-colorscale-foreground);
|
|
546
|
+
--color-chart-10-default-foreground: var(--chart-10-default-foreground);
|
|
547
|
+
--color-chart-10-colorscale-foreground: var(--chart-10-colorscale-foreground);
|
|
548
|
+
--color-chart-other-default-foreground: var(--chart-other-default-foreground);
|
|
549
|
+
--color-chart-other-colorscale-foreground: var(--chart-other-colorscale-foreground);
|
|
550
|
+
--color-heatmap-1-default: var(--heatmap-1-default);
|
|
551
|
+
--color-heatmap-1-colorscale: var(--heatmap-1-colorscale);
|
|
552
|
+
--color-heatmap-2-default: var(--heatmap-2-default);
|
|
553
|
+
--color-heatmap-2-colorscale: var(--heatmap-2-colorscale);
|
|
554
|
+
--color-heatmap-3-default: var(--heatmap-3-default);
|
|
555
|
+
--color-heatmap-3-colorscale: var(--heatmap-3-colorscale);
|
|
556
|
+
--color-heatmap-4-default: var(--heatmap-4-default);
|
|
557
|
+
--color-heatmap-4-colorscale: var(--heatmap-4-colorscale);
|
|
558
|
+
--color-heatmap-5-default: var(--heatmap-5-default);
|
|
559
|
+
--color-heatmap-5-colorscale: var(--heatmap-5-colorscale);
|
|
560
|
+
--color-heatmap-empty-default: var(--heatmap-empty-default);
|
|
561
|
+
--color-heatmap-empty-colorscale: var(--heatmap-empty-colorscale);
|
|
562
|
+
--color-heatmap-1-default-foreground: var(--heatmap-1-default-foreground);
|
|
563
|
+
--color-heatmap-1-colorscale-foreground: var(--heatmap-1-colorscale-foreground);
|
|
564
|
+
--color-heatmap-2-default-foreground: var(--heatmap-2-default-foreground);
|
|
565
|
+
--color-heatmap-2-colorscale-foreground: var(--heatmap-2-colorscale-foreground);
|
|
566
|
+
--color-heatmap-3-default-foreground: var(--heatmap-3-default-foreground);
|
|
567
|
+
--color-heatmap-3-colorscale-foreground: var(--heatmap-3-colorscale-foreground);
|
|
568
|
+
--color-heatmap-4-default-foreground: var(--heatmap-4-default-foreground);
|
|
569
|
+
--color-heatmap-4-colorscale-foreground: var(--heatmap-4-colorscale-foreground);
|
|
570
|
+
--color-heatmap-5-default-foreground: var(--heatmap-5-default-foreground);
|
|
571
|
+
--color-heatmap-5-colorscale-foreground: var(--heatmap-5-colorscale-foreground);
|
|
572
|
+
--color-heatmap-empty-default-foreground: var(--heatmap-empty-default-foreground);
|
|
573
|
+
--color-heatmap-empty-colorscale-foreground: var(--heatmap-empty-colorscale-foreground);
|
|
385
574
|
--color-sidebar: var(--sidebar);
|
|
386
575
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
387
576
|
--color-sidebar-primary: var(--sidebar-primary);
|