@marigold/theme-rui 1.3.0 → 2.0.0

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 CHANGED
@@ -30,12 +30,13 @@ var components_exports = {};
30
30
  __export(components_exports, {
31
31
  Accordion: () => Accordion,
32
32
  Badge: () => Badge,
33
- Body: () => Body,
33
+ Breadcrumbs: () => Breadcrumbs,
34
34
  Button: () => Button,
35
35
  Calendar: () => Calendar,
36
36
  Card: () => Card,
37
37
  Checkbox: () => Checkbox,
38
38
  CloseButton: () => CloseButton,
39
+ Collapsible: () => Collapsible,
39
40
  ComboBox: () => ComboBox,
40
41
  ContextualHelp: () => ContextualHelp,
41
42
  DateField: () => DateField,
@@ -44,12 +45,9 @@ __export(components_exports, {
44
45
  Divider: () => Divider,
45
46
  Drawer: () => Drawer,
46
47
  Field: () => Field,
47
- Footer: () => Footer,
48
- Header: () => Header,
49
48
  Headline: () => Headline,
50
49
  HelpText: () => HelpText,
51
50
  IconButton: () => IconButton,
52
- Image: () => Image,
53
51
  Input: () => Input,
54
52
  Label: () => Label,
55
53
  Link: () => Link,
@@ -72,6 +70,7 @@ __export(components_exports, {
72
70
  Tag: () => Tag,
73
71
  Text: () => Text,
74
72
  TextArea: () => TextArea,
73
+ Toast: () => Toast,
75
74
  Tooltip: () => Tooltip,
76
75
  Underlay: () => Underlay,
77
76
  XLoader: () => XLoader
@@ -157,16 +156,13 @@ var Badge = (0, import_system2.cva)(
157
156
  }
158
157
  );
159
158
 
160
- // src/components/Body.styles.ts
161
- var import_system3 = require("@marigold/system");
162
- var Body = (0, import_system3.cva)("bg-bg-body");
163
-
164
159
  // src/components/Button.styles.ts
165
- var import_system4 = require("@marigold/system");
166
- var Button = (0, import_system4.cva)(
160
+ var import_system3 = require("@marigold/system");
161
+ var Button = (0, import_system3.cva)(
167
162
  [
168
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow]",
169
- "[&_svg]:shrink-0",
163
+ "inline-flex gap-2 whitespace-nowrap rounded-md font-medium transition-[color,box-shadow,transform]",
164
+ "duration-150 active:scale-[0.98] pressed:scale-[0.98]",
165
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0",
170
166
  "focus-visible:util-focus-ring outline-none disabled:util-disabled",
171
167
  "pending:text-disabled-foreground pending:bg-disabled pending:cursor-not-allowed pending:border-none",
172
168
  "cursor-pointer"
@@ -174,31 +170,55 @@ var Button = (0, import_system4.cva)(
174
170
  {
175
171
  variants: {
176
172
  variant: {
177
- primary: "bg-brand text-brand-foreground shadow-sm shadow-black/5 hover:bg-brand/90",
178
- secondary: "border border-input bg-background shadow-sm shadow-black/5 hover:bg-hover hover:text-foreground expanded:bg-hover",
179
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
173
+ primary: "bg-brand text-brand-foreground shadow-xs hover:bg-brand/90",
174
+ secondary: "border border-input bg-background shadow-xs hover:bg-hover hover:text-foreground expanded:bg-hover",
175
+ destructive: "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90",
180
176
  ghost: "hover:bg-hover hover:text-foreground",
181
- // only used for calendar in MonthListBox and YearListBox to have a hover over other options
182
- // TODO: Remove this in future and rethink the MonthListBox and YearListBox or use another variant
183
- text: "hover:bg-hover"
177
+ link: "text-link util-touch-hitbox"
184
178
  },
185
179
  size: {
186
- default: "h-button px-4 py-2 [&_svg]:size-4",
187
- small: "h-button-small px-3 text-xs [&_svg]:size-3.5",
188
- large: "h-button-large px-8 [&_svg]:size-5",
189
- icon: "size-button [&_svg]:size-4"
180
+ default: "text-sm",
181
+ small: "text-xs",
182
+ large: "",
183
+ icon: ""
190
184
  }
191
185
  },
192
186
  defaultVariants: {
193
187
  variant: "secondary",
194
188
  size: "default"
195
- }
189
+ },
190
+ compoundVariants: [
191
+ {
192
+ variant: ["primary", "secondary", "destructive", "ghost"],
193
+ class: "items-center justify-center"
194
+ },
195
+ {
196
+ variant: ["primary", "secondary", "destructive", "ghost"],
197
+ size: "default",
198
+ class: "h-button px-4 py-2 [&_svg]:size-4"
199
+ },
200
+ {
201
+ variant: ["primary", "secondary", "destructive", "ghost"],
202
+ size: "small",
203
+ class: "h-button-small px-3 [&_svg]:size-3.5"
204
+ },
205
+ {
206
+ variant: ["primary", "secondary", "destructive", "ghost"],
207
+ size: "large",
208
+ class: "h-button-large px-8 [&_svg]:size-5"
209
+ },
210
+ {
211
+ variant: ["primary", "secondary", "destructive", "ghost"],
212
+ size: "icon",
213
+ class: "size-button [&_svg]:size-4"
214
+ }
215
+ ]
196
216
  }
197
217
  );
198
218
 
199
219
  // src/components/Card.styles.ts
200
- var import_system5 = require("@marigold/system");
201
- var Card = (0, import_system5.cva)(
220
+ var import_system4 = require("@marigold/system");
221
+ var Card = (0, import_system4.cva)(
202
222
  ["p-4 rounded-md", "util-surface-raised"],
203
223
  {
204
224
  variants: {
@@ -214,32 +234,32 @@ var Card = (0, import_system5.cva)(
214
234
  );
215
235
 
216
236
  // src/components/Checkbox.styles.ts
217
- var import_system6 = require("@marigold/system");
237
+ var import_system5 = require("@marigold/system");
218
238
  var Checkbox = {
219
- checkbox: (0, import_system6.cva)([
239
+ checkbox: (0, import_system5.cva)([
220
240
  "grid size-4 shrink-0 place-content-center rounded",
221
- "border border-input shadow-sm shadow-black/5",
241
+ "border border-input shadow-xs",
222
242
  "group-focus-visible/checkbox:util-focus-ring outline-none",
223
243
  "group-disabled/checkbox:group-selected/checkbox:bg-disabled group-disabled/checkbox:border-disabled! group-disabled/checkbox:text-disabled-foreground group-disabled/checkbox:cursor-not-allowed",
224
244
  "group-selected/checkbox:border-brand group-selected/checkbox:bg-brand group-selected/checkbox:text-brand-foreground",
225
245
  "group-[indeterminate]/checkbox:border-brand group-[indeterminate]/checkbox:bg-brand group-[indeterminate]/checkbox:text-brand-foreground"
226
246
  ]),
227
- container: (0, import_system6.cva)("cursor-pointer read-only:cursor-default"),
228
- label: (0, import_system6.cva)([
247
+ container: (0, import_system5.cva)("cursor-pointer read-only:cursor-default"),
248
+ label: (0, import_system5.cva)([
229
249
  "flex items-center gap-1",
230
250
  'text-sm leading-4 group-[group="checkbox"]/checkboxgroup:font-normal font-medium text-foregroun',
231
251
  "group-disabled/checkbox:text-disabled-foreground"
232
252
  ]),
233
- group: (0, import_system6.cva)()
253
+ group: (0, import_system5.cva)()
234
254
  };
235
255
 
236
256
  // src/components/Calendar.styles.ts
237
- var import_system7 = require("@marigold/system");
257
+ var import_system6 = require("@marigold/system");
238
258
  var Calendar = {
239
- calendar: (0, import_system7.cva)(
259
+ calendar: (0, import_system6.cva)(
240
260
  "rounded-md border group-[[data-trigger]]/popover:border-0 border-border p-2"
241
261
  ),
242
- calendarCell: (0, import_system7.cva)([
262
+ calendarCell: (0, import_system6.cva)([
243
263
  "relative flex size-9 items-center justify-center whitespace-nowrap rounded-lg justify-self-center",
244
264
  "border border-transparent p-0 text-sm font-normal text-foreground",
245
265
  "outline-offset-2 duration-150 [transition-property:color,background-color,border-radius,box-shadow]",
@@ -247,27 +267,27 @@ var Calendar = {
247
267
  "disabled:opacity-30 data-[unavailable]:opacity-30",
248
268
  "focus-visible:util-focus-borderless-ring outline-none"
249
269
  ]),
250
- calendarControllers: (0, import_system7.cva)([
270
+ calendarControllers: (0, import_system6.cva)([
251
271
  "size-9 rounded-lg",
252
272
  "text-muted-foreground/80",
253
273
  "transition-colors",
254
274
  "focus-visible:util-focus-ring outline-none"
255
275
  ]),
256
- calendarHeader: (0, import_system7.cva)([
276
+ calendarHeader: (0, import_system6.cva)([
257
277
  "size-9 rounded-lg p-0 text-xs font-medium text-muted-foreground/80"
258
278
  ]),
259
- calendarGrid: (0, import_system7.cva)("[&_td]:p-2"),
260
- calendarListboxButton: (0, import_system7.cva)([
279
+ calendarGrid: (0, import_system6.cva)("[&_td]:p-2"),
280
+ calendarListboxButton: (0, import_system6.cva)([
261
281
  "rounded-md text-sm font-medium transition-[color,box-shadow]",
262
282
  "px-4 py-2",
263
283
  "focus-visible:util-focus-ring outline-none",
264
284
  "cursor-pointer",
265
285
  "hover:bg-hover",
266
- "aria-[current=true]:bg-brand aria-[current=true]:text-brand-foreground aria-[current=true]:shadow-sm aria-[current=true]:shadow-black/5 aria-[current=true]:hover:bg-brand/90"
286
+ "aria-selected:bg-brand aria-selected:text-brand-foreground aria-selected:shadow-xs aria-selected:hover:bg-brand/90"
267
287
  ]),
268
- select: (0, import_system7.cva)([
288
+ select: (0, import_system6.cva)([
269
289
  "[&svg]:text-muted-foreground/80",
270
- "flex w-full px-3 py-2 rounded-lg shadow-sm shadow-black/5 border border-input bg-background text-sm text-foreground transition-shadow",
290
+ "flex w-full px-3 py-2 rounded-lg shadow-xs border border-input bg-background text-sm text-foreground transition-shadow",
271
291
  "focus-visible:util-focus-ring outline-none",
272
292
  "h-input",
273
293
  "disabled:cursor-not-allowed disabled:text-disabled-foreground disabled:bg-disabled",
@@ -276,22 +296,54 @@ var Calendar = {
276
296
  };
277
297
 
278
298
  // src/components/CloseButton.styles.ts
279
- var import_system8 = require("@marigold/system");
280
- var CloseButton = (0, import_system8.cva)([
299
+ var import_system7 = require("@marigold/system");
300
+ var CloseButton = (0, import_system7.cva)([
281
301
  "flex items-center justify-center whitespace-nowrap",
282
302
  "cursor-pointer",
283
303
  "transition-[color,box-shadow]",
284
304
  "mixin-ring-focus-visible",
285
305
  "rounded",
306
+ "duration-150 active:scale-[0.98] pressed:scale-[0.98] transition-transform",
286
307
  "[&_svg]:size-4 [&_svg]:opacity-60 [&_svg]:transition-opacity hover:[&_svg]:opacity-100"
287
308
  ]);
288
309
 
289
310
  // src/components/ComboBox.styles.ts
290
- var import_system9 = require("@marigold/system");
291
- var ComboBox = (0, import_system9.cva)(
311
+ var import_system8 = require("@marigold/system");
312
+ var ComboBox = (0, import_system8.cva)(
292
313
  "text-muted-foreground/80 right-2"
293
314
  );
294
315
 
316
+ // src/components/Collapsible.styles.ts
317
+ var import_system9 = require("@marigold/system");
318
+ var Collapsible = {
319
+ container: (0, import_system9.cva)(),
320
+ trigger: (0, import_system9.cva)(
321
+ [
322
+ "inline-flex gap-2 whitespace-nowrap rounded-md font-medium transition-[color,box-shadow,transform]",
323
+ "duration-150 active:scale-[0.98] pressed:scale-[0.98]",
324
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0",
325
+ "focus-visible:util-focus-ring outline-none disabled:util-disabled",
326
+ "cursor-pointer"
327
+ ],
328
+ {
329
+ variants: {
330
+ variant: {
331
+ default: "",
332
+ link: "text-link util-touch-hitbox"
333
+ },
334
+ size: {
335
+ default: "text-sm"
336
+ }
337
+ },
338
+ defaultVariants: {
339
+ variant: "default",
340
+ size: "default"
341
+ }
342
+ }
343
+ ),
344
+ content: (0, import_system9.cva)()
345
+ };
346
+
295
347
  // src/components/ContextualHelp.styles.ts
296
348
  var import_system10 = require("@marigold/system");
297
349
  var ContextualHelp = {
@@ -332,7 +384,7 @@ var import_system12 = require("@marigold/system");
332
384
 
333
385
  // src/components/Input.styles.ts
334
386
  var import_system11 = require("@marigold/system");
335
- var inputContainer = "flex w-full px-3 py-2 rounded-lg shadow-sm shadow-black/5 border border-input bg-background text-sm text-foreground transition-shadow group-read-only/field:bg-muted";
387
+ var inputContainer = "flex w-full px-3 py-2 rounded-lg shadow-xs border border-input bg-background text-sm text-foreground transition-shadow group-read-only/field:bg-muted";
336
388
  var inputDisabled = "disabled:cursor-not-allowed disabled:text-disabled-foreground disabled:bg-disabled";
337
389
  var inputInvalid = "group-invalid/field:border-destructive group-invalid/field:focus:border-destructive group-invalid/field:focus:ring-destructive/20";
338
390
  var inputReadOnly = "group-read-only/field:bg-muted";
@@ -473,17 +525,9 @@ var IconButton = (0, import_system17.cva)("", {
473
525
  var import_system18 = require("@marigold/system");
474
526
  var Field = (0, import_system18.cva)("space-y-2");
475
527
 
476
- // src/components/Footer.styles.ts
477
- var import_system19 = require("@marigold/system");
478
- var Footer = (0, import_system19.cva)("");
479
-
480
- // src/components/Header.styles.ts
481
- var import_system20 = require("@marigold/system");
482
- var Header = (0, import_system20.cva)("");
483
-
484
528
  // src/components/Headline.styles.ts
485
- var import_system21 = require("@marigold/system");
486
- var Headline = (0, import_system21.cva)("", {
529
+ var import_system19 = require("@marigold/system");
530
+ var Headline = (0, import_system19.cva)("", {
487
531
  variants: {
488
532
  size: {
489
533
  "level-1": "text-5xl font-black",
@@ -497,40 +541,36 @@ var Headline = (0, import_system21.cva)("", {
497
541
  });
498
542
 
499
543
  // src/components/HelpText.styles.ts
500
- var import_system22 = require("@marigold/system");
544
+ var import_system20 = require("@marigold/system");
501
545
  var HelpText = {
502
- container: (0, import_system22.cva)([
546
+ container: (0, import_system20.cva)([
503
547
  "text-xs text-muted-foreground group-disabled/field:text-disabled-foreground",
504
548
  "group-invalid/field:text-destructive"
505
549
  ]),
506
- icon: (0, import_system22.cva)("")
550
+ icon: (0, import_system20.cva)("")
507
551
  };
508
552
 
509
- // src/components/Image.styles.ts
510
- var import_system23 = require("@marigold/system");
511
- var Image = (0, import_system23.cva)();
512
-
513
553
  // src/components/Label.styles.ts
514
- var import_system24 = require("@marigold/system");
554
+ var import_system21 = require("@marigold/system");
515
555
  var Label = {
516
- container: (0, import_system24.cva)([
556
+ container: (0, import_system21.cva)([
517
557
  "flex items-center gap-1",
518
558
  "text-sm font-medium leading-none text-foreground",
519
559
  "group-disabled/field:cursor-not-allowed group-disabled/field:text-disabled-foreground"
520
560
  ]),
521
- indicator: (0, import_system24.cva)(
561
+ indicator: (0, import_system21.cva)(
522
562
  "group-required/field:block text-destructive align-super size-2.5"
523
563
  )
524
564
  };
525
565
 
526
566
  // src/components/Link.styles.ts
527
- var import_system25 = require("@marigold/system");
528
- var Link = (0, import_system25.cva)(
529
- " text-link font-normal aria-[disabled]:cursor-not-allowed",
567
+ var import_system22 = require("@marigold/system");
568
+ var Link = (0, import_system22.cva)(
569
+ "aria-[disabled]:cursor-not-allowed",
530
570
  {
531
571
  variants: {
532
572
  variant: {
533
- default: "",
573
+ default: "text-link font-normal",
534
574
  secondary: "font-medium text-foreground underline hover:no-underline"
535
575
  }
536
576
  },
@@ -541,21 +581,21 @@ var Link = (0, import_system25.cva)(
541
581
  );
542
582
 
543
583
  // src/components/List.styles.ts
544
- var import_system26 = require("@marigold/system");
584
+ var import_system23 = require("@marigold/system");
545
585
  var List = {
546
- ul: (0, import_system26.cva)("ml-6 list-outside list-disc"),
547
- ol: (0, import_system26.cva)("ml-6 list-outside list-decimal"),
548
- item: (0, import_system26.cva)("not-first:pt-3")
586
+ ul: (0, import_system23.cva)("ml-6 list-outside list-disc"),
587
+ ol: (0, import_system23.cva)("ml-6 list-outside list-decimal"),
588
+ item: (0, import_system23.cva)("not-first:pt-3")
549
589
  };
550
590
 
551
591
  // src/components/ListBox.styles.ts
552
- var import_system27 = require("@marigold/system");
592
+ var import_system24 = require("@marigold/system");
553
593
  var ListBox = {
554
- container: (0, import_system27.cva)([
594
+ container: (0, import_system24.cva)([
555
595
  "overflow-hidden rounded-md border border-input group-[[data-trigger]]/popover:border-0"
556
596
  ]),
557
- list: (0, import_system27.cva)(["bg-background p-1 text-sm outline-0"]),
558
- item: (0, import_system27.cva)([
597
+ list: (0, import_system24.cva)(["bg-background p-1 text-sm outline-0"]),
598
+ item: (0, import_system24.cva)([
559
599
  "relative flex items-center gap-2 rounded-md px-2 py-1.5 text-sm text-foreground",
560
600
  "[&_.selection-indicator>svg]:invisible [&_.selection-indicator>svg]:block",
561
601
  "selected:bg-selected selected:[&_.selection-indicator>svg]:visible",
@@ -564,33 +604,38 @@ var ListBox = {
564
604
  "focus-visible:util-focus-ring outline-none",
565
605
  "cursor-default data-selection-mode:cursor-pointer"
566
606
  ]),
567
- section: (0, import_system27.cva)(""),
568
- header: (0, import_system27.cva)(
607
+ section: (0, import_system24.cva)(""),
608
+ header: (0, import_system24.cva)(
569
609
  "[&_header]:px-2 [&_header]:py-1.5 [&_header]:text-xs [&_header]:font-medium [&_header]:text-muted-foreground"
570
610
  )
571
611
  };
572
612
 
573
613
  // src/components/Menu.styles.ts
574
- var import_system28 = require("@marigold/system");
614
+ var import_system25 = require("@marigold/system");
575
615
  var Menu = {
576
- container: (0, import_system28.cva)(["text-foreground z-50 overflow-hidden rounded-md p-1"]),
577
- item: (0, import_system28.cva)([
578
- "focus:bg-focus focus:text-foreground relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none disabled:text-disabled-foreground"
616
+ container: (0, import_system25.cva)([
617
+ "text-foreground z-50 overflow-hidden rounded-md p-1 outline-none"
579
618
  ]),
580
- section: (0, import_system28.cva)(
619
+ item: (0, import_system25.cva)([
620
+ "relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm text-foreground outline-hidden select-none",
621
+ "focus:bg-focus",
622
+ "disabled:text-disabled-foreground",
623
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:size-4 [&_svg]:opacity-60"
624
+ ]),
625
+ section: (0, import_system25.cva)(
581
626
  "text-muted-foreground px-2 py-1.5 text-xs font-medium border-t border-t-border in-first:border-t-0"
582
627
  ),
583
- button: (0, import_system28.cva)(
628
+ button: (0, import_system25.cva)(
584
629
  [
585
630
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow]",
586
- "[&_svg]:shrink-0",
631
+ "[&_svg]:shrink-0 [&_svg]:pointer-events-none",
587
632
  "focus-visible:util-focus-ring outline-none disabled:util-disabled",
588
633
  "cursor-pointer"
589
634
  ],
590
635
  {
591
636
  variants: {
592
637
  variant: {
593
- secondary: "border border-input bg-background shadow-sm shadow-black/5 hover:bg-hover hover:text-foreground expanded:bg-hover",
638
+ default: "border border-input bg-background shadow-xs hover:bg-hover hover:text-foreground expanded:bg-hover",
594
639
  ghost: "hover:bg-hover hover:text-foreground expanded:bg-hover"
595
640
  },
596
641
  size: {
@@ -601,7 +646,7 @@ var Menu = {
601
646
  }
602
647
  },
603
648
  defaultVariants: {
604
- variant: "secondary",
649
+ variant: "default",
605
650
  size: "default"
606
651
  }
607
652
  }
@@ -609,8 +654,8 @@ var Menu = {
609
654
  };
610
655
 
611
656
  // src/components/Modal.styles.ts
612
- var import_system29 = require("@marigold/system");
613
- var Modal = (0, import_system29.cva)(
657
+ var import_system26 = require("@marigold/system");
658
+ var Modal = (0, import_system26.cva)(
614
659
  [
615
660
  "sm:max-h-[min(640px,80vh)]",
616
661
  "[--dialog-spacing-x:1rem]",
@@ -635,11 +680,11 @@ var Modal = (0, import_system29.cva)(
635
680
  );
636
681
 
637
682
  // src/components/Multiselect.styles.ts
638
- var import_system30 = require("@marigold/system");
683
+ var import_system27 = require("@marigold/system");
639
684
  var MultiSelect = {
640
- field: (0, import_system30.cva)("space-y-2"),
641
- container: (0, import_system30.cva)([
642
- "bg-background shadow-sm shadow-black/5 border",
685
+ field: (0, import_system27.cva)("space-y-2"),
686
+ container: (0, import_system27.cva)([
687
+ "bg-background shadow-xs border",
643
688
  "px-3 text-sm text-foreground transition-shadow",
644
689
  "border border-input rounded-lg outline-hidden",
645
690
  "aria-disabled:bg-disabled aria-disabled:text-disabled-foreground aria-disabled:hover:border-input aria-disabled:border-input aria-disabled:cursor-not-allowed",
@@ -648,7 +693,7 @@ var MultiSelect = {
648
693
  "has-[input[aria-readonly=true]]:bg-muted",
649
694
  "min-h-input"
650
695
  ]),
651
- input: (0, import_system30.cva)([
696
+ input: (0, import_system27.cva)([
652
697
  "bg-transparent flex-1 h-full",
653
698
  "leading-loose",
654
699
  "data-[focused]:outline-hidden outline-hidden border-0",
@@ -657,20 +702,20 @@ var MultiSelect = {
657
702
  "group-data-[action]/input:pr-8",
658
703
  "placeholder:text-placeholder"
659
704
  ]),
660
- tag: (0, import_system30.cva)([
705
+ tag: (0, import_system27.cva)([
661
706
  "border border-solid border-input rounded-md",
662
707
  "bg-background",
663
708
  "font-medium text-xs",
664
709
  "flex items-center gap-1 ",
665
710
  "h-7 px-2 cursor-default"
666
711
  ]),
667
- closeButton: (0, import_system30.cva)(
712
+ closeButton: (0, import_system27.cva)(
668
713
  "size-4 cursor-pointer border-none bg-transparent p-0 leading-normal outline-0"
669
714
  ),
670
- icon: (0, import_system30.cva)("left-1"),
671
- listContainer: (0, import_system30.cva)(["util-surface-overlay mt-0.5 rounded-lg outline-0"]),
672
- list: (0, import_system30.cva)("pointer-events-auto space-y-1 p-1"),
673
- option: (0, import_system30.cva)([
715
+ icon: (0, import_system27.cva)("left-1"),
716
+ listContainer: (0, import_system27.cva)(["util-surface-overlay mt-0.5 rounded-lg outline-0"]),
717
+ list: (0, import_system27.cva)("pointer-events-auto space-y-1 p-1"),
718
+ option: (0, import_system27.cva)([
674
719
  "text-sm text-foreground",
675
720
  "flex flex-col",
676
721
  "cursor-pointer p-2 outline-hidden",
@@ -678,26 +723,26 @@ var MultiSelect = {
678
723
  "aria-disabled:text-disabled-foreground aria-disabled:cursor-not-allowed",
679
724
  "[&.isFocused:not([aria-disabled=true])]:!bg-hover"
680
725
  ]),
681
- valueContainer: (0, import_system30.cva)("gap-2")
726
+ valueContainer: (0, import_system27.cva)("gap-2")
682
727
  };
683
728
 
684
729
  // src/components/NumberField.styles.ts
685
- var import_system31 = require("@marigold/system");
730
+ var import_system28 = require("@marigold/system");
686
731
  var NumberField = {
687
- group: (0, import_system31.cva)([
732
+ group: (0, import_system28.cva)([
688
733
  "rounded-lg h-input bg-background",
689
734
  "has-focus-visible:util-focus-ring outline-none",
690
735
  inputInvalid,
691
736
  inputReadOnly,
692
- "border border-input text-sm shadow-sm shadow-black/5 transition-shadow",
737
+ "border border-input text-sm shadow-xs transition-shadow",
693
738
  "data-invalid:data-[focus-within]:border-destructive data-invalid:data-[focus-within]:ring-destructive/20"
694
739
  ]),
695
- stepper: (0, import_system31.cva)([
740
+ stepper: (0, import_system28.cva)([
696
741
  "w-7 h-full text-center shrink-0",
697
742
  "disabled:text-disabled-foreground disabled:bg-disabled",
698
743
  "border-input! first-of-type:border-r! last-of-type:border-l!"
699
744
  ]),
700
- input: (0, import_system31.cva)([
745
+ input: (0, import_system28.cva)([
701
746
  "tabular-nums text-foreground px-3 py-2",
702
747
  "min-w-0 flex-1 bg-transparent",
703
748
  "group-[[data-stepper]]/field:text-center",
@@ -706,8 +751,8 @@ var NumberField = {
706
751
  };
707
752
 
708
753
  // src/components/Popover.styles.ts
709
- var import_system32 = require("@marigold/system");
710
- var Popover = (0, import_system32.cva)([
754
+ var import_system29 = require("@marigold/system");
755
+ var Popover = (0, import_system29.cva)([
711
756
  "group/popover",
712
757
  "text-foreground z-50 overflow-y-auto overflow-x-hidden rounded-md outline-0",
713
758
  "placement-top:mb-1",
@@ -718,57 +763,59 @@ var Popover = (0, import_system32.cva)([
718
763
  ]);
719
764
 
720
765
  // src/components/Radio.styles.ts
721
- var import_system33 = require("@marigold/system");
766
+ var import_system30 = require("@marigold/system");
722
767
  var Radio = {
723
- container: (0, import_system33.cva)("group-disabled/radio:cursor-not-allowed"),
724
- label: (0, import_system33.cva)([
768
+ container: (0, import_system30.cva)("group-disabled/radio:cursor-not-allowed"),
769
+ label: (0, import_system30.cva)([
725
770
  "text-sm font-normal cursor-pointer",
726
771
  "group-disabled/radio:text-disabled-foreground group-disabled/radio:cursor-not-allowed"
727
772
  ]),
728
- radio: (0, import_system33.cva)([
773
+ radio: (0, import_system30.cva)([
729
774
  "aspect-square size-4 rounded-full",
730
- "border border-input shadow-sm shadow-black/5",
775
+ "border border-input shadow-xs",
731
776
  "group-focus-visible/radio:util-focus-ring outline-none",
732
777
  "group-disabled/radio:group-selected/radio:bg-disabled group-disabled/radio:border-disabled! group-disabled/radio:cursor-not-allowed",
733
778
  "group-selected/radio:border-brand group-selected/radio:bg-brand group-selected/radio:text-brand-foreground"
734
779
  ]),
735
- group: (0, import_system33.cva)()
780
+ group: (0, import_system30.cva)()
736
781
  };
737
782
 
738
783
  // src/components/Pagination.styles.ts
739
- var import_system34 = require("@marigold/system");
784
+ var import_system31 = require("@marigold/system");
785
+ var button = [
786
+ "inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colors",
787
+ "focus-visible:util-focus-ring outline-none",
788
+ "disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground",
789
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0",
790
+ "hover:bg-hover hover:text-hover-foreground",
791
+ "cursor-pointer"
792
+ ];
740
793
  var Pagination = {
741
- navigationButton: (0, import_system34.cva)([
742
- "inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colors",
743
- "focus-visible:util-focus-ring outline-none",
794
+ container: (0, import_system31.cva)("flex items-center justify-center space-x-2"),
795
+ navigationButton: (0, import_system31.cva)([
796
+ ...button,
744
797
  "disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground",
745
- "[&_svg]:pointer-events-none [&_svg]:shrink-0",
746
- "hover:bg-hover hover:text-hover-foreground",
747
- "h-9 py-2 gap-1 px-2.5",
748
- "cursor-pointer"
798
+ "h-9 py-2 gap-1 px-2.5"
749
799
  ]),
750
- pageButton: (0, import_system34.cva)([
751
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium transition-colors bg-background size-9",
752
- "focus-visible:util-focus-ring outline-none",
753
- "disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground",
754
- "[&_svg]:pointer-events-none [&_svg]:shrink-0",
755
- "data-[selected=true]:border data-[selected=true]:border-input data-[selected=true]:shadow-xs",
756
- "hover:bg-hover hover:text-hover-foreground",
757
- "cursor-pointer"
800
+ pageButton: (0, import_system31.cva)([
801
+ ...button,
802
+ "bg-background size-9",
803
+ "data-[selected=true]:border data-[selected=true]:border-input data-[selected=true]:shadow-xs"
758
804
  ]),
759
- icon: (0, import_system34.cva)("h-4 w-4")
805
+ icon: (0, import_system31.cva)("h-4 w-4"),
806
+ ellipsis: (0, import_system31.cva)("text-foreground flex h-8 w-8 items-center justify-center")
760
807
  };
761
808
 
762
809
  // src/components/ProgressCycle.styles.ts
763
- var import_system35 = require("@marigold/system");
764
- var ProgressCycle = (0, import_system35.cva)([
810
+ var import_system32 = require("@marigold/system");
811
+ var ProgressCycle = (0, import_system32.cva)([
765
812
  "stroke-foreground"
766
813
  ]);
767
814
 
768
815
  // src/components/SectionMessage.styles.ts
769
- var import_system36 = require("@marigold/system");
816
+ var import_system33 = require("@marigold/system");
770
817
  var SectionMessage = {
771
- container: (0, import_system36.cva)(
818
+ container: (0, import_system33.cva)(
772
819
  [
773
820
  'grid-cols-[min-content_auto_min-content] gap-x-4 gap-y-1 [grid-template-areas:"icon_title_close""icon_content_content"]',
774
821
  "bg-background rounded-md border px-3 py-4"
@@ -787,8 +834,8 @@ var SectionMessage = {
787
834
  }
788
835
  }
789
836
  ),
790
- title: (0, import_system36.cva)("text-sm font-medium"),
791
- content: (0, import_system36.cva)("text-muted-foreground text-sm leading-5 font-normal", {
837
+ title: (0, import_system33.cva)("text-sm font-medium"),
838
+ content: (0, import_system33.cva)("text-muted-foreground text-sm leading-5 font-normal", {
792
839
  variants: {
793
840
  variant: {
794
841
  success: "text-success-muted-foreground",
@@ -801,7 +848,7 @@ var SectionMessage = {
801
848
  variant: "info"
802
849
  }
803
850
  }),
804
- icon: (0, import_system36.cva)("h-6 w-6 align-baseline leading-none -mt-0.5", {
851
+ icon: (0, import_system33.cva)("h-6 w-6 align-baseline leading-none -mt-0.5", {
805
852
  variants: {
806
853
  variant: {
807
854
  success: "text-success-muted-accent",
@@ -814,7 +861,7 @@ var SectionMessage = {
814
861
  variant: "info"
815
862
  }
816
863
  }),
817
- close: (0, import_system36.cva)([
864
+ close: (0, import_system33.cva)([
818
865
  "size-8 text-foreground",
819
866
  "[&_svg]:size-6",
820
867
  "-my-1.5 -me-2"
@@ -823,10 +870,10 @@ var SectionMessage = {
823
870
  };
824
871
 
825
872
  // src/components/Select.styles.ts
826
- var import_system37 = require("@marigold/system");
873
+ var import_system34 = require("@marigold/system");
827
874
  var Select = {
828
- icon: (0, import_system37.cva)("text-muted-foreground/80"),
829
- select: (0, import_system37.cva)([
875
+ icon: (0, import_system34.cva)("text-muted-foreground/80"),
876
+ select: (0, import_system34.cva)([
830
877
  inputContainer,
831
878
  inputInvalid,
832
879
  inputDisabled,
@@ -838,30 +885,30 @@ var Select = {
838
885
  };
839
886
 
840
887
  // src/components/Slider.styles.ts
841
- var import_system38 = require("@marigold/system");
888
+ var import_system35 = require("@marigold/system");
842
889
  var Slider = {
843
- container: (0, import_system38.cva)("*:aria-hidden:hidden"),
844
- track: (0, import_system38.cva)([
890
+ container: (0, import_system35.cva)("*:aria-hidden:hidden"),
891
+ track: (0, import_system35.cva)([
845
892
  "relative bg-muted rounded-lg flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col data-[disabled]:opacity-50"
846
893
  ]),
847
- selectedTrack: (0, import_system38.cva)([
894
+ selectedTrack: (0, import_system35.cva)([
848
895
  "absolute bg-black data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full rounded-lg"
849
896
  ]),
850
- thumb: (0, import_system38.cva)([
897
+ thumb: (0, import_system35.cva)([
851
898
  "block h-5 w-5 rounded-full border-2 border-primary bg-background transition-colors",
852
899
  "focus-visible:util-focus-borderless-ring outline-none",
853
900
  "disabled:cursor-not-allowed"
854
901
  ]),
855
- output: (0, import_system38.cva)("text-text-base text-sm")
902
+ output: (0, import_system35.cva)("text-foreground text-sm")
856
903
  };
857
904
 
858
905
  // src/components/Switch.styles.ts
859
- var import_system39 = require("@marigold/system");
906
+ var import_system36 = require("@marigold/system");
860
907
  var Switch = {
861
- container: (0, import_system39.cva)(
908
+ container: (0, import_system36.cva)(
862
909
  "disabled:cursor-not-allowed disabled:text-disabled-foreground"
863
910
  ),
864
- track: (0, import_system39.cva)([
911
+ track: (0, import_system36.cva)([
865
912
  "flex h-6 w-10 shrink-0 cursor-pointer items-center rounded-full transition-colors",
866
913
  "border-2 border-transparent",
867
914
  // this increases the hit area so it is 24px
@@ -869,18 +916,18 @@ var Switch = {
869
916
  "group-selected/switch:bg-brand bg-input",
870
917
  "group-focus-visible/switch:util-focus-borderless-ring outline-none"
871
918
  ]),
872
- thumb: (0, import_system39.cva)([
919
+ thumb: (0, import_system36.cva)([
873
920
  "pointer-events-none block size-5 rounded-full",
874
- "bg-background shadow-sm shadow-black/5",
921
+ "bg-background shadow-xs",
875
922
  "ring-0 transition-transform duration-150 ease-out-quint",
876
923
  "group-selected/switch:translate-x-4 translate-x-0"
877
924
  ])
878
925
  };
879
926
 
880
927
  // src/components/Table.styles.ts
881
- var import_system40 = require("@marigold/system");
928
+ var import_system37 = require("@marigold/system");
882
929
  var Table = {
883
- table: (0, import_system40.cva)(
930
+ table: (0, import_system37.cva)(
884
931
  "text-sm [&_td]:border-border [&_th]:border-border border-separate border-spacing-0 [&_th]:border-b [&_tr]:border-none [&_tr:not(:last-child)_td]:border-b",
885
932
  {
886
933
  variants: {
@@ -891,7 +938,7 @@ var Table = {
891
938
  }
892
939
  }
893
940
  ),
894
- thead: (0, import_system40.cva)(
941
+ thead: (0, import_system37.cva)(
895
942
  // for sticky header
896
943
  "bg-background/90 top-0 z-1 backdrop-blur-xs ",
897
944
  {
@@ -903,7 +950,7 @@ var Table = {
903
950
  }
904
951
  }
905
952
  ),
906
- headerRow: (0, import_system40.cva)(["border-border border-b"], {
953
+ headerRow: (0, import_system37.cva)(["border-border border-b"], {
907
954
  variants: {
908
955
  variant: {
909
956
  default: "",
@@ -915,7 +962,7 @@ var Table = {
915
962
  variant: "default"
916
963
  }
917
964
  }),
918
- header: (0, import_system40.cva)(
965
+ header: (0, import_system37.cva)(
919
966
  [
920
967
  "h-12 px-3 align-middle font-medium text-muted-foreground",
921
968
  "focus-visible:outline-2 outline-offset-2 outline-ring/70"
@@ -933,8 +980,8 @@ var Table = {
933
980
  }
934
981
  }
935
982
  ),
936
- body: (0, import_system40.cva)("[&_tr:last-child]:border-0"),
937
- row: (0, import_system40.cva)(
983
+ body: (0, import_system37.cva)("[&_tr:last-child]:border-0"),
984
+ row: (0, import_system37.cva)(
938
985
  [
939
986
  "border-b border-border transition-colors",
940
987
  "focus-visible:outline-2 outline-offset-2 outline-ring/70",
@@ -964,7 +1011,7 @@ var Table = {
964
1011
  }
965
1012
  }
966
1013
  ),
967
- cell: (0, import_system40.cva)("p-3 focus-visible:outline-2 outline-offset-2 outline-ring/70", {
1014
+ cell: (0, import_system37.cva)("p-3 focus-visible:outline-2 outline-offset-2 outline-ring/70", {
968
1015
  variants: {
969
1016
  variant: {
970
1017
  default: "[&:has([type=checkbox])]:pr-0",
@@ -978,14 +1025,14 @@ var Table = {
978
1025
  };
979
1026
 
980
1027
  // src/components/Tabs.styles.ts
981
- var import_system41 = require("@marigold/system");
1028
+ var import_system38 = require("@marigold/system");
982
1029
  var Tabs = {
983
- container: (0, import_system41.cva)("flex flex-col gap-2"),
984
- tabsList: (0, import_system41.cva)([
1030
+ container: (0, import_system38.cva)("flex flex-col gap-2"),
1031
+ tabsList: (0, import_system38.cva)([
985
1032
  "text-muted-foreground",
986
1033
  "flex items-center p-0.5 h-auto gap-2 border-b border-border px-0 py-1"
987
1034
  ]),
988
- tab: (0, import_system41.cva)([
1035
+ tab: (0, import_system38.cva)([
989
1036
  "relative inline-flex items-center justify-center gap-1 rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-colors",
990
1037
  "[&_svg]:shrink-0",
991
1038
  "focus-visible:util-focus-ring outline-none",
@@ -994,16 +1041,21 @@ var Tabs = {
994
1041
  "data-selected:text-foreground data-selected:hover:bg-hover",
995
1042
  "data-[selected=true]:after:bg-foreground after:absolute after:inset-x-0 after:bottom-0 after:-mb-1 after:h-0.5"
996
1043
  ]),
997
- tabpanel: (0, import_system41.cva)([
1044
+ tabpanel: (0, import_system38.cva)([
998
1045
  "py-4 rounded-sm",
999
1046
  "focus-visible:util-focus-ring outline-none"
1000
1047
  ])
1001
1048
  };
1002
1049
 
1003
1050
  // src/components/Tag.styles.ts
1004
- var import_system42 = require("@marigold/system");
1051
+ var import_system39 = require("@marigold/system");
1005
1052
  var Tag = {
1006
- tag: (0, import_system42.cva)([
1053
+ container: (0, import_system39.cva)([
1054
+ "flex gap-3",
1055
+ // prevent collapsing when the empty state is shown
1056
+ "min-h-button-small"
1057
+ ]),
1058
+ tag: (0, import_system39.cva)([
1007
1059
  "relative inline-flex items-center gap-[7px]",
1008
1060
  "border border-solid border-input rounded-md",
1009
1061
  "font-medium text-xs",
@@ -1013,16 +1065,27 @@ var Tag = {
1013
1065
  "data-[disabled]:cursor-not-allowed data-[disabled]:text-disabled-foreground data-[disabled]:bg-disabled",
1014
1066
  "focus-visible:util-focus-ring outline-none"
1015
1067
  ]),
1016
- closeButton: (0, import_system42.cva)([
1068
+ closeButton: (0, import_system39.cva)([
1017
1069
  "size-4",
1018
1070
  "disabled:bg-disabled disabled:text-disabled-foreground disabled:cursor-not-allowed"
1019
1071
  ]),
1020
- listItems: (0, import_system42.cva)("flex flex-wrap items-center gap-1")
1072
+ listItems: (0, import_system39.cva)([
1073
+ "flex flex-wrap items-center gap-1",
1074
+ // mb-0 prevents whitespace when the hidden field is rendered
1075
+ "mb-0"
1076
+ ]),
1077
+ removeAll: (0, import_system39.cva)([
1078
+ "inline whitespace-nowrap font-medium transition-[color,box-shadow,transform]",
1079
+ "duration-150 active:scale-[0.98] pressed:scale-[0.98]",
1080
+ "focus-visible:util-focus-ring outline-none",
1081
+ "cursor-pointer",
1082
+ "text-link text-xs h-button-small"
1083
+ ])
1021
1084
  };
1022
1085
 
1023
1086
  // src/components/TextArea.styles.ts
1024
- var import_system43 = require("@marigold/system");
1025
- var TextArea = (0, import_system43.cva)([
1087
+ var import_system40 = require("@marigold/system");
1088
+ var TextArea = (0, import_system40.cva)([
1026
1089
  inputContainer,
1027
1090
  inputInvalid,
1028
1091
  "focus:util-focus-ring outline-none",
@@ -1032,8 +1095,8 @@ var TextArea = (0, import_system43.cva)([
1032
1095
  ]);
1033
1096
 
1034
1097
  // src/components/Text.styles.ts
1035
- var import_system44 = require("@marigold/system");
1036
- var Text = (0, import_system44.cva)("", {
1098
+ var import_system41 = require("@marigold/system");
1099
+ var Text = (0, import_system41.cva)("", {
1037
1100
  variants: {
1038
1101
  variant: {
1039
1102
  default: "",
@@ -1063,10 +1126,70 @@ var Text = (0, import_system44.cva)("", {
1063
1126
  }
1064
1127
  });
1065
1128
 
1129
+ // src/components/Toast.styles.ts
1130
+ var import_system42 = require("@marigold/system");
1131
+ var Toast = {
1132
+ toast: (0, import_system42.cva)([
1133
+ "z-50",
1134
+ "max-w-sm w-full pointer-events-auto overflow-hidden rounded-md border shadow-lg bg-background text-foreground border-border",
1135
+ "grid grid-cols-[auto_1fr_auto] grid-rows-[auto_auto] gap-x-1 gap-y-0",
1136
+ '[grid-template-areas:"icon_title_close""icon_description_description"] focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]',
1137
+ "p-4"
1138
+ ]),
1139
+ title: (0, import_system42.cva)([
1140
+ "text-sm font-medium",
1141
+ "[grid-area:title]",
1142
+ "flex items-center mb-0"
1143
+ ]),
1144
+ description: (0, import_system42.cva)([
1145
+ "text-muted-foreground text-sm",
1146
+ "[grid-area:description] mt-0"
1147
+ ]),
1148
+ closeButton: (0, import_system42.cva)([
1149
+ "[grid-area:close] row-end-1",
1150
+ "ml-2",
1151
+ "flex items-center justify-center",
1152
+ "size-5 rounded transition-[color,box-shadow] outline-none",
1153
+ "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] text-muted-foreground hover:text-hover-foreground"
1154
+ ]),
1155
+ icon: (0, import_system42.cva)(
1156
+ [
1157
+ "[grid-area:icon]",
1158
+ "flex items-center justify-center",
1159
+ "h-5 w-5 leading-none"
1160
+ ],
1161
+ {
1162
+ variants: {
1163
+ variant: {
1164
+ default: "",
1165
+ success: "text-success-muted-accent",
1166
+ warning: "text-warning-muted-accent",
1167
+ info: "text-info-muted-accent",
1168
+ error: "text-destructive-muted-accent"
1169
+ }
1170
+ },
1171
+ defaultVariants: {
1172
+ variant: "default"
1173
+ }
1174
+ }
1175
+ ),
1176
+ content: (0, import_system42.cva)(["contents"]),
1177
+ "bottom-left": (0, import_system42.cva)(["fixed bottom-4 left-4 flex flex-col-reverse"]),
1178
+ "bottom-right": (0, import_system42.cva)(["fixed bottom-4 right-4 flex flex-col-reverse"]),
1179
+ "top-left": (0, import_system42.cva)(["fixed top-4 left-4 flex flex-col"]),
1180
+ "top-right": (0, import_system42.cva)(["fixed top-4 right-4 flex flex-col"]),
1181
+ top: (0, import_system42.cva)([
1182
+ "fixed top-4 left-1/2 right-auto -translate-x-1/2 flex flex-col items-center w-auto align-middle"
1183
+ ]),
1184
+ bottom: (0, import_system42.cva)([
1185
+ "fixed bottom-4 left-1/2 right-auto -translate-x-1/2 flex flex-col-reverse items-center w-auto align-middle"
1186
+ ])
1187
+ };
1188
+
1066
1189
  // src/components/Tooltip.styles.ts
1067
- var import_system45 = require("@marigold/system");
1190
+ var import_system43 = require("@marigold/system");
1068
1191
  var Tooltip = {
1069
- container: (0, import_system45.cva)(
1192
+ container: (0, import_system43.cva)(
1070
1193
  [
1071
1194
  "relative z-50 max-w-70 rounded-md border px-3 py-1.5 text-sm",
1072
1195
  "placement-top:mb-2",
@@ -1086,7 +1209,7 @@ var Tooltip = {
1086
1209
  }
1087
1210
  }
1088
1211
  ),
1089
- arrow: (0, import_system45.cva)(
1212
+ arrow: (0, import_system43.cva)(
1090
1213
  [
1091
1214
  // right
1092
1215
  "data-[placement=right]:[&_svg]:rotate-90",
@@ -1110,13 +1233,13 @@ var Tooltip = {
1110
1233
  };
1111
1234
 
1112
1235
  // src/components/Underlay.styles.ts
1113
- var import_system46 = require("@marigold/system");
1114
- var Underlay = (0, import_system46.cva)("bg-black/80 px-4");
1236
+ var import_system44 = require("@marigold/system");
1237
+ var Underlay = (0, import_system44.cva)("bg-black/80 px-4");
1115
1238
 
1116
1239
  // src/components/XLoader.styles.ts
1117
- var import_system47 = require("@marigold/system");
1240
+ var import_system45 = require("@marigold/system");
1118
1241
  var XLoader = {
1119
- container: (0, import_system47.cva)("grid place-items-center text-brand", {
1242
+ container: (0, import_system45.cva)("grid place-items-center text-brand", {
1120
1243
  variants: {
1121
1244
  variant: {
1122
1245
  default: "",
@@ -1133,7 +1256,7 @@ var XLoader = {
1133
1256
  size: "default"
1134
1257
  }
1135
1258
  }),
1136
- loader: (0, import_system47.cva)("size-full", {
1259
+ loader: (0, import_system45.cva)("size-full", {
1137
1260
  variants: {
1138
1261
  variant: {
1139
1262
  default: "",
@@ -1150,7 +1273,31 @@ var XLoader = {
1150
1273
  size: "default"
1151
1274
  }
1152
1275
  }),
1153
- label: (0, import_system47.cva)("text-current text-sm")
1276
+ label: (0, import_system45.cva)("text-current text-sm")
1277
+ };
1278
+
1279
+ // src/components/Breadcrumbs.styles.ts
1280
+ var import_system46 = require("@marigold/system");
1281
+ var Breadcrumbs = {
1282
+ container: (0, import_system46.cva)(["flex flex-wrap items-center"], {
1283
+ variants: {
1284
+ variant: {
1285
+ default: "text-foreground"
1286
+ },
1287
+ size: {
1288
+ small: "text-xs gap-1.5",
1289
+ default: "text-sm gap-1.5",
1290
+ large: "text-base gap-1.5"
1291
+ }
1292
+ },
1293
+ defaultVariants: {
1294
+ variant: "default",
1295
+ size: "default"
1296
+ }
1297
+ }),
1298
+ item: (0, import_system46.cva)("inline-flex items-center gap-1.5 whitespace-nowrap "),
1299
+ link: (0, import_system46.cva)("hover:underline cursor-pointer"),
1300
+ current: (0, import_system46.cva)("font-medium")
1154
1301
  };
1155
1302
 
1156
1303
  // src/theme.ts