@marigold/theme-rui 1.2.0 → 1.4.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/index.js CHANGED
@@ -31,6 +31,7 @@ __export(components_exports, {
31
31
  Accordion: () => Accordion,
32
32
  Badge: () => Badge,
33
33
  Body: () => Body,
34
+ Breadcrumbs: () => Breadcrumbs,
34
35
  Button: () => Button,
35
36
  Calendar: () => Calendar,
36
37
  Card: () => Card,
@@ -72,6 +73,7 @@ __export(components_exports, {
72
73
  Tag: () => Tag,
73
74
  Text: () => Text,
74
75
  TextArea: () => TextArea,
76
+ Toast: () => Toast,
75
77
  Tooltip: () => Tooltip,
76
78
  Underlay: () => Underlay,
77
79
  XLoader: () => XLoader
@@ -146,7 +148,9 @@ var Badge = (0, import_system2.cva)(
146
148
  success: "bg-success-muted text-success-muted-foreground",
147
149
  warning: "bg-warning-muted text-warning-muted-foreground",
148
150
  info: "bg-info-muted text-info-muted-foreground",
149
- error: "bg-destructive-muted text-destructive-muted-foreground"
151
+ error: "bg-destructive-muted text-destructive-muted-foreground",
152
+ admin: "text-access-admin-foreground border border-access-admin-foreground",
153
+ master: "text-access-master-foreground border border-access-master-foreground"
150
154
  }
151
155
  },
152
156
  defaultVariants: {
@@ -164,7 +168,7 @@ var import_system4 = require("@marigold/system");
164
168
  var Button = (0, import_system4.cva)(
165
169
  [
166
170
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow]",
167
- "[&_svg]:shrink-0",
171
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0",
168
172
  "focus-visible:util-focus-ring outline-none disabled:util-disabled",
169
173
  "pending:text-disabled-foreground pending:bg-disabled pending:cursor-not-allowed pending:border-none",
170
174
  "cursor-pointer"
@@ -172,13 +176,10 @@ var Button = (0, import_system4.cva)(
172
176
  {
173
177
  variants: {
174
178
  variant: {
175
- primary: "bg-brand text-brand-foreground shadow-sm shadow-black/5 hover:bg-brand/90",
176
- secondary: "border border-input bg-background shadow-sm shadow-black/5 hover:bg-hover hover:text-foreground expanded:bg-hover",
179
+ primary: "bg-brand text-brand-foreground shadow-xs hover:bg-brand/90",
180
+ secondary: "border border-input bg-background shadow-xs hover:bg-hover hover:text-foreground expanded:bg-hover",
177
181
  destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
178
- ghost: "hover:bg-hover hover:text-foreground",
179
- // only used for calendar in MonthListBox and YearListBox to have a hover over other options
180
- // TODO: Remove this in future and rethink the MonthListBox and YearListBox or use another variant
181
- text: "hover:bg-hover"
182
+ ghost: "hover:bg-hover hover:text-foreground"
182
183
  },
183
184
  size: {
184
185
  default: "h-button px-4 py-2 [&_svg]:size-4",
@@ -216,16 +217,18 @@ var import_system6 = require("@marigold/system");
216
217
  var Checkbox = {
217
218
  checkbox: (0, import_system6.cva)([
218
219
  "grid size-4 shrink-0 place-content-center rounded",
219
- "border border-input shadow-sm shadow-black/5",
220
+ "border border-input shadow-xs",
220
221
  "group-focus-visible/checkbox:util-focus-ring outline-none",
221
222
  "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",
222
223
  "group-selected/checkbox:border-brand group-selected/checkbox:bg-brand group-selected/checkbox:text-brand-foreground",
223
224
  "group-[indeterminate]/checkbox:border-brand group-[indeterminate]/checkbox:bg-brand group-[indeterminate]/checkbox:text-brand-foreground"
224
225
  ]),
225
226
  container: (0, import_system6.cva)("cursor-pointer read-only:cursor-default"),
226
- label: (0, import_system6.cva)(
227
- 'text-sm leading-4 group-[group="checkbox"]/checkboxgroup:font-normal font-medium text-foreground group-disabled/checkbox:text-disabled-foreground'
228
- ),
227
+ label: (0, import_system6.cva)([
228
+ "flex items-center gap-1",
229
+ 'text-sm leading-4 group-[group="checkbox"]/checkboxgroup:font-normal font-medium text-foregroun',
230
+ "group-disabled/checkbox:text-disabled-foreground"
231
+ ]),
229
232
  group: (0, import_system6.cva)()
230
233
  };
231
234
 
@@ -236,7 +239,7 @@ var Calendar = {
236
239
  "rounded-md border group-[[data-trigger]]/popover:border-0 border-border p-2"
237
240
  ),
238
241
  calendarCell: (0, import_system7.cva)([
239
- "relative flex size-9 items-center justify-center whitespace-nowrap rounded-lg",
242
+ "relative flex size-9 items-center justify-center whitespace-nowrap rounded-lg justify-self-center",
240
243
  "border border-transparent p-0 text-sm font-normal text-foreground",
241
244
  "outline-offset-2 duration-150 [transition-property:color,background-color,border-radius,box-shadow]",
242
245
  "disabled:pointer-events-none data-[unavailable]:pointer-events-none data-focus-visible:z-10 data-[hovered]:bg-hover selected:bg-brand data-[hovered]:text-foreground selected:text-brand-foreground data-[unavailable]:line-through",
@@ -259,11 +262,11 @@ var Calendar = {
259
262
  "focus-visible:util-focus-ring outline-none",
260
263
  "cursor-pointer",
261
264
  "hover:bg-hover",
262
- "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"
265
+ "aria-[current=true]:bg-brand aria-[current=true]:text-brand-foreground aria-[current=true]:shadow-xs aria-[current=true]:hover:bg-brand/90"
263
266
  ]),
264
267
  select: (0, import_system7.cva)([
265
268
  "[&svg]:text-muted-foreground/80",
266
- "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",
269
+ "flex w-full px-3 py-2 rounded-lg shadow-xs border border-input bg-background text-sm text-foreground transition-shadow",
267
270
  "focus-visible:util-focus-ring outline-none",
268
271
  "h-input",
269
272
  "disabled:cursor-not-allowed disabled:text-disabled-foreground disabled:bg-disabled",
@@ -293,18 +296,25 @@ var import_system10 = require("@marigold/system");
293
296
  var ContextualHelp = {
294
297
  trigger: (0, import_system10.cva)(
295
298
  [
296
- "inline-flex items-center p-0.5 transition-colors justify-center hover:text-hover-foreground cursor-pointer hover:bg-gray-200 rounded-md focus:bg-gray-200"
299
+ "inline-flex items-center justify-center rounded-full transition-[color,box-shadow] hover:bg-hover hover:text-foreground",
300
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0",
301
+ "focus-visible:util-focus-ring outline-none",
302
+ "cursor-pointer"
297
303
  ],
298
304
  {
299
305
  variants: {
306
+ variant: {
307
+ help: "",
308
+ info: ""
309
+ },
300
310
  size: {
301
- small: "w-4 h-4",
302
- medium: "w-5 h-5",
303
- large: "w-8 h-8"
311
+ default: "size-button [&_svg]:size-4",
312
+ small: "size-button-small [&_svg]:size-3.5",
313
+ large: "size-button-large [&_svg]:size-5"
304
314
  }
305
315
  },
306
316
  defaultVariants: {
307
- size: "medium"
317
+ size: "default"
308
318
  }
309
319
  }
310
320
  ),
@@ -321,7 +331,7 @@ var import_system12 = require("@marigold/system");
321
331
 
322
332
  // src/components/Input.styles.ts
323
333
  var import_system11 = require("@marigold/system");
324
- 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";
334
+ 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";
325
335
  var inputDisabled = "disabled:cursor-not-allowed disabled:text-disabled-foreground disabled:bg-disabled";
326
336
  var inputInvalid = "group-invalid/field:border-destructive group-invalid/field:focus:border-destructive group-invalid/field:focus:ring-destructive/20";
327
337
  var inputReadOnly = "group-read-only/field:bg-muted";
@@ -503,7 +513,8 @@ var Image = (0, import_system23.cva)();
503
513
  var import_system24 = require("@marigold/system");
504
514
  var Label = {
505
515
  container: (0, import_system24.cva)([
506
- "text-sm font-medium leading-4 text-foreground",
516
+ "flex items-center gap-1",
517
+ "text-sm font-medium leading-none text-foreground",
507
518
  "group-disabled/field:cursor-not-allowed group-disabled/field:text-disabled-foreground"
508
519
  ]),
509
520
  indicator: (0, import_system24.cva)(
@@ -531,9 +542,9 @@ var Link = (0, import_system25.cva)(
531
542
  // src/components/List.styles.ts
532
543
  var import_system26 = require("@marigold/system");
533
544
  var List = {
534
- ul: (0, import_system26.cva)("ml-6 list-inside list-disc py-3"),
535
- ol: (0, import_system26.cva)("ml-6 list-inside list-decimal py-3"),
536
- item: (0, import_system26.cva)("pt-3")
545
+ ul: (0, import_system26.cva)("ml-6 list-outside list-disc"),
546
+ ol: (0, import_system26.cva)("ml-6 list-outside list-decimal"),
547
+ item: (0, import_system26.cva)("not-first:pt-3")
537
548
  };
538
549
 
539
550
  // src/components/ListBox.styles.ts
@@ -544,7 +555,7 @@ var ListBox = {
544
555
  ]),
545
556
  list: (0, import_system27.cva)(["bg-background p-1 text-sm outline-0"]),
546
557
  item: (0, import_system27.cva)([
547
- "relative flex items-center gap-2 rounded-md px-2 py-1.5 text-sm text-foreground cursor-pointer",
558
+ "relative flex items-center gap-2 rounded-md px-2 py-1.5 text-sm text-foreground",
548
559
  "[&_.selection-indicator>svg]:invisible [&_.selection-indicator>svg]:block",
549
560
  "selected:bg-selected selected:[&_.selection-indicator>svg]:visible",
550
561
  "hover:bg-hover hover:text-hover-foreground",
@@ -561,9 +572,14 @@ var ListBox = {
561
572
  // src/components/Menu.styles.ts
562
573
  var import_system28 = require("@marigold/system");
563
574
  var Menu = {
564
- container: (0, import_system28.cva)(["text-foreground z-50 overflow-hidden rounded-md p-1"]),
575
+ container: (0, import_system28.cva)([
576
+ "text-foreground z-50 overflow-hidden rounded-md p-1 outline-none"
577
+ ]),
565
578
  item: (0, import_system28.cva)([
566
- "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"
579
+ "relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm text-foreground outline-hidden select-none",
580
+ "focus:bg-focus",
581
+ "disabled:text-disabled-foreground",
582
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:size-4 [&_svg]:opacity-60"
567
583
  ]),
568
584
  section: (0, import_system28.cva)(
569
585
  "text-muted-foreground px-2 py-1.5 text-xs font-medium border-t border-t-border in-first:border-t-0"
@@ -571,14 +587,14 @@ var Menu = {
571
587
  button: (0, import_system28.cva)(
572
588
  [
573
589
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow]",
574
- "[&_svg]:shrink-0",
590
+ "[&_svg]:shrink-0 [&_svg]:pointer-events-none",
575
591
  "focus-visible:util-focus-ring outline-none disabled:util-disabled",
576
592
  "cursor-pointer"
577
593
  ],
578
594
  {
579
595
  variants: {
580
596
  variant: {
581
- secondary: "border border-input bg-background shadow-sm shadow-black/5 hover:bg-hover hover:text-foreground expanded:bg-hover",
597
+ secondary: "border border-input bg-background shadow-xs hover:bg-hover hover:text-foreground expanded:bg-hover",
582
598
  ghost: "hover:bg-hover hover:text-foreground expanded:bg-hover"
583
599
  },
584
600
  size: {
@@ -627,7 +643,7 @@ var import_system30 = require("@marigold/system");
627
643
  var MultiSelect = {
628
644
  field: (0, import_system30.cva)("space-y-2"),
629
645
  container: (0, import_system30.cva)([
630
- "bg-background shadow-sm shadow-black/5 border",
646
+ "bg-background shadow-xs border",
631
647
  "px-3 text-sm text-foreground transition-shadow",
632
648
  "border border-input rounded-lg outline-hidden",
633
649
  "aria-disabled:bg-disabled aria-disabled:text-disabled-foreground aria-disabled:hover:border-input aria-disabled:border-input aria-disabled:cursor-not-allowed",
@@ -677,7 +693,7 @@ var NumberField = {
677
693
  "has-focus-visible:util-focus-ring outline-none",
678
694
  inputInvalid,
679
695
  inputReadOnly,
680
- "border border-input text-sm shadow-sm shadow-black/5 transition-shadow",
696
+ "border border-input text-sm shadow-xs transition-shadow",
681
697
  "data-invalid:data-[focus-within]:border-destructive data-invalid:data-[focus-within]:ring-destructive/20"
682
698
  ]),
683
699
  stepper: (0, import_system31.cva)([
@@ -715,7 +731,7 @@ var Radio = {
715
731
  ]),
716
732
  radio: (0, import_system33.cva)([
717
733
  "aspect-square size-4 rounded-full",
718
- "border border-input shadow-sm shadow-black/5",
734
+ "border border-input shadow-xs",
719
735
  "group-focus-visible/radio:util-focus-ring outline-none",
720
736
  "group-disabled/radio:group-selected/radio:bg-disabled group-disabled/radio:border-disabled! group-disabled/radio:cursor-not-allowed",
721
737
  "group-selected/radio:border-brand group-selected/radio:bg-brand group-selected/radio:text-brand-foreground"
@@ -725,26 +741,21 @@ var Radio = {
725
741
 
726
742
  // src/components/Pagination.styles.ts
727
743
  var import_system34 = require("@marigold/system");
744
+ var button = "inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colorsfocus-visible:util-focus-ring outline-nonedisabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground[&_svg]:pointer-events-none [&_svg]:shrink-0hover:bg-hover hover:text-hover-foregroundcursor-pointer";
728
745
  var Pagination = {
746
+ container: (0, import_system34.cva)("flex items-center justify-center space-x-2"),
729
747
  navigationButton: (0, import_system34.cva)([
730
- "inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colors",
731
- "focus-visible:util-focus-ring outline-none",
748
+ button,
732
749
  "disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground",
733
- "[&_svg]:pointer-events-none [&_svg]:shrink-0",
734
- "hover:bg-hover hover:text-hover-foreground",
735
- "h-9 py-2 gap-1 px-2.5",
736
- "cursor-pointer"
750
+ "h-9 py-2 gap-1 px-2.5"
737
751
  ]),
738
752
  pageButton: (0, import_system34.cva)([
739
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium transition-colors bg-background size-9",
740
- "focus-visible:util-focus-ring outline-none",
741
- "disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground",
742
- "[&_svg]:pointer-events-none [&_svg]:shrink-0",
743
- "data-[selected=true]:border data-[selected=true]:border-input data-[selected=true]:shadow-xs",
744
- "hover:bg-hover hover:text-hover-foreground",
745
- "cursor-pointer"
753
+ button,
754
+ "bg-background size-9",
755
+ "data-[selected=true]:border data-[selected=true]:border-input data-[selected=true]:shadow-xs"
746
756
  ]),
747
- icon: (0, import_system34.cva)("h-4 w-4")
757
+ icon: (0, import_system34.cva)("h-4 w-4"),
758
+ ellipsis: (0, import_system34.cva)("text-text-base flex h-8 w-8 items-center justify-center")
748
759
  };
749
760
 
750
761
  // src/components/ProgressCycle.styles.ts
@@ -859,7 +870,7 @@ var Switch = {
859
870
  ]),
860
871
  thumb: (0, import_system39.cva)([
861
872
  "pointer-events-none block size-5 rounded-full",
862
- "bg-background shadow-sm shadow-black/5",
873
+ "bg-background shadow-xs",
863
874
  "ring-0 transition-transform duration-150 ease-out-quint",
864
875
  "group-selected/switch:translate-x-4 translate-x-0"
865
876
  ])
@@ -926,13 +937,25 @@ var Table = {
926
937
  [
927
938
  "border-b border-border transition-colors",
928
939
  "focus-visible:outline-2 outline-offset-2 outline-ring/70",
929
- "aria-[selected=true]:bg-muted hover:bg-transparent data-disabled:cursor-not-allowed"
940
+ "data-disabled:cursor-not-allowed"
930
941
  ],
931
942
  {
932
943
  variants: {
933
944
  variant: {
934
- default: "",
935
- grid: "[&>:not(:last-child)]:border-r [&>:not(:last-child)]:border-border"
945
+ default: "aria-[selected=true]:bg-muted",
946
+ grid: "aria-[selected=true]:bg-muted [&>:not(:last-child)]:border-r [&>:not(:last-child)]:border-border",
947
+ admin: [
948
+ "bg-access-admin",
949
+ "[&_td:first-child]:relative [&_td:first-child]:pl-4",
950
+ '[&_td:first-child:before]:content-[""] [&_td:first-child:before]:absolute [&_td:first-child:before]:top-0 [&_td:first-child:before]:bottom-0 [&_td:first-child:before]:left-0 [&_td:first-child:before]:w-1',
951
+ "[&_td:first-child:before]:bg-access-admin-foreground"
952
+ ],
953
+ master: [
954
+ "bg-access-master",
955
+ "[&_td:first-child]:relative [&_td:first-child]:pl-4",
956
+ '[&_td:first-child:before]:content-[""] [&_td:first-child:before]:absolute [&_td:first-child:before]:top-0 [&_td:first-child:before]:bottom-0 [&_td:first-child:before]:left-0 [&_td:first-child:before]:w-1',
957
+ "[&_td:first-child:before]:bg-access-master-foreground"
958
+ ]
936
959
  }
937
960
  },
938
961
  defaultVariants: {
@@ -940,20 +963,17 @@ var Table = {
940
963
  }
941
964
  }
942
965
  ),
943
- cell: (0, import_system40.cva)(
944
- ["p-3", "focus-visible:outline-2 outline-offset-2 outline-ring/70"],
945
- {
946
- variants: {
947
- variant: {
948
- default: "[&:has([type=checkbox])]:pr-0",
949
- grid: ""
950
- }
951
- },
952
- defaultVariants: {
953
- variant: "default"
966
+ cell: (0, import_system40.cva)("p-3 focus-visible:outline-2 outline-offset-2 outline-ring/70", {
967
+ variants: {
968
+ variant: {
969
+ default: "[&:has([type=checkbox])]:pr-0",
970
+ grid: ""
954
971
  }
972
+ },
973
+ defaultVariants: {
974
+ variant: "default"
955
975
  }
956
- )
976
+ })
957
977
  };
958
978
 
959
979
  // src/components/Tabs.styles.ts
@@ -965,7 +985,7 @@ var Tabs = {
965
985
  "flex items-center p-0.5 h-auto gap-2 border-b border-border px-0 py-1"
966
986
  ]),
967
987
  tab: (0, import_system41.cva)([
968
- "relative inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-colors",
988
+ "relative inline-flex items-center justify-center gap-1 rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-colors",
969
989
  "[&_svg]:shrink-0",
970
990
  "focus-visible:util-focus-ring outline-none",
971
991
  "hover:bg-hover hover:text-foreground",
@@ -996,7 +1016,8 @@ var Tag = {
996
1016
  "size-4",
997
1017
  "disabled:bg-disabled disabled:text-disabled-foreground disabled:cursor-not-allowed"
998
1018
  ]),
999
- listItems: (0, import_system42.cva)("flex flex-wrap items-center gap-1")
1019
+ listItems: (0, import_system42.cva)("flex flex-wrap items-center gap-1 mb-0")
1020
+ // mb-0 prevents whitespace when the hidden field is rendered
1000
1021
  };
1001
1022
 
1002
1023
  // src/components/TextArea.styles.ts
@@ -1042,12 +1063,72 @@ var Text = (0, import_system44.cva)("", {
1042
1063
  }
1043
1064
  });
1044
1065
 
1045
- // src/components/Tooltip.styles.ts
1066
+ // src/components/Toast.styles.ts
1046
1067
  var import_system45 = require("@marigold/system");
1068
+ var Toast = {
1069
+ toast: (0, import_system45.cva)([
1070
+ "z-50",
1071
+ "max-w-sm w-full pointer-events-auto overflow-hidden rounded-md border shadow-lg bg-background text-foreground border-border",
1072
+ "grid grid-cols-[auto_1fr_auto] grid-rows-[auto_auto] gap-x-1 gap-y-0",
1073
+ '[grid-template-areas:"icon_title_close""icon_description_description"] focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]',
1074
+ "p-4"
1075
+ ]),
1076
+ title: (0, import_system45.cva)([
1077
+ "text-sm font-medium",
1078
+ "[grid-area:title]",
1079
+ "flex items-center mb-0"
1080
+ ]),
1081
+ description: (0, import_system45.cva)([
1082
+ "text-muted-foreground text-sm",
1083
+ "[grid-area:description] mt-0"
1084
+ ]),
1085
+ closeButton: (0, import_system45.cva)([
1086
+ "[grid-area:close] row-end-1",
1087
+ "ml-2",
1088
+ "flex items-center justify-center",
1089
+ "size-5 rounded transition-[color,box-shadow] outline-none",
1090
+ "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] text-muted-foreground hover:text-hover-foreground"
1091
+ ]),
1092
+ icon: (0, import_system45.cva)(
1093
+ [
1094
+ "[grid-area:icon]",
1095
+ "flex items-center justify-center",
1096
+ "h-5 w-5 leading-none"
1097
+ ],
1098
+ {
1099
+ variants: {
1100
+ variant: {
1101
+ default: "",
1102
+ success: "text-success-muted-accent",
1103
+ warning: "text-warning-muted-accent",
1104
+ info: "text-info-muted-accent",
1105
+ error: "text-destructive-muted-accent"
1106
+ }
1107
+ },
1108
+ defaultVariants: {
1109
+ variant: "default"
1110
+ }
1111
+ }
1112
+ ),
1113
+ content: (0, import_system45.cva)(["contents"]),
1114
+ "bottom-left": (0, import_system45.cva)(["fixed bottom-4 left-4 flex flex-col-reverse"]),
1115
+ "bottom-right": (0, import_system45.cva)(["fixed bottom-4 right-4 flex flex-col-reverse"]),
1116
+ "top-left": (0, import_system45.cva)(["fixed top-4 left-4 flex flex-col"]),
1117
+ "top-right": (0, import_system45.cva)(["fixed top-4 right-4 flex flex-col"]),
1118
+ top: (0, import_system45.cva)([
1119
+ "fixed top-4 left-1/2 right-auto -translate-x-1/2 flex flex-col items-center w-auto align-middle"
1120
+ ]),
1121
+ bottom: (0, import_system45.cva)([
1122
+ "fixed bottom-4 left-1/2 right-auto -translate-x-1/2 flex flex-col-reverse items-center w-auto align-middle"
1123
+ ])
1124
+ };
1125
+
1126
+ // src/components/Tooltip.styles.ts
1127
+ var import_system46 = require("@marigold/system");
1047
1128
  var Tooltip = {
1048
- container: (0, import_system45.cva)(
1129
+ container: (0, import_system46.cva)(
1049
1130
  [
1050
- "text-brand-foreground bg-brand relative z-50 max-w-70 rounded-md border border-brand px-3 py-1.5 text-sm ",
1131
+ "relative z-50 max-w-70 rounded-md border px-3 py-1.5 text-sm",
1051
1132
  "placement-top:mb-2",
1052
1133
  "placement-bottom:mt-2",
1053
1134
  "placement-right:ml-2",
@@ -1056,7 +1137,7 @@ var Tooltip = {
1056
1137
  {
1057
1138
  variants: {
1058
1139
  variant: {
1059
- default: "",
1140
+ default: "text-brand-foreground bg-brand border-brand",
1060
1141
  white: "text-secondary-foreground border-border bg-white"
1061
1142
  }
1062
1143
  },
@@ -1065,9 +1146,8 @@ var Tooltip = {
1065
1146
  }
1066
1147
  }
1067
1148
  ),
1068
- arrow: (0, import_system45.cva)(
1149
+ arrow: (0, import_system46.cva)(
1069
1150
  [
1070
- "fill-brand stroke-brand",
1071
1151
  // right
1072
1152
  "data-[placement=right]:[&_svg]:rotate-90",
1073
1153
  // left
@@ -1078,7 +1158,7 @@ var Tooltip = {
1078
1158
  {
1079
1159
  variants: {
1080
1160
  variant: {
1081
- default: "",
1161
+ default: "fill-brand stroke-brand",
1082
1162
  white: "fill-white stroke-border "
1083
1163
  }
1084
1164
  },
@@ -1090,13 +1170,13 @@ var Tooltip = {
1090
1170
  };
1091
1171
 
1092
1172
  // src/components/Underlay.styles.ts
1093
- var import_system46 = require("@marigold/system");
1094
- var Underlay = (0, import_system46.cva)("bg-black/80 px-4");
1173
+ var import_system47 = require("@marigold/system");
1174
+ var Underlay = (0, import_system47.cva)("bg-black/80 px-4");
1095
1175
 
1096
1176
  // src/components/XLoader.styles.ts
1097
- var import_system47 = require("@marigold/system");
1177
+ var import_system48 = require("@marigold/system");
1098
1178
  var XLoader = {
1099
- container: (0, import_system47.cva)("grid place-items-center text-brand", {
1179
+ container: (0, import_system48.cva)("grid place-items-center text-brand", {
1100
1180
  variants: {
1101
1181
  variant: {
1102
1182
  default: "",
@@ -1113,7 +1193,7 @@ var XLoader = {
1113
1193
  size: "default"
1114
1194
  }
1115
1195
  }),
1116
- loader: (0, import_system47.cva)("size-full", {
1196
+ loader: (0, import_system48.cva)("size-full", {
1117
1197
  variants: {
1118
1198
  variant: {
1119
1199
  default: "",
@@ -1130,7 +1210,31 @@ var XLoader = {
1130
1210
  size: "default"
1131
1211
  }
1132
1212
  }),
1133
- label: (0, import_system47.cva)("text-current text-sm")
1213
+ label: (0, import_system48.cva)("text-current text-sm")
1214
+ };
1215
+
1216
+ // src/components/Breadcrumbs.styles.ts
1217
+ var import_system49 = require("@marigold/system");
1218
+ var Breadcrumbs = {
1219
+ container: (0, import_system49.cva)(["flex flex-wrap items-center"], {
1220
+ variants: {
1221
+ variant: {
1222
+ default: "text-foreground"
1223
+ },
1224
+ size: {
1225
+ small: "text-xs gap-1.5",
1226
+ default: "text-sm gap-1.5",
1227
+ large: "text-base gap-1.5"
1228
+ }
1229
+ },
1230
+ defaultVariants: {
1231
+ variant: "default",
1232
+ size: "default"
1233
+ }
1234
+ }),
1235
+ item: (0, import_system49.cva)("inline-flex items-center gap-1.5 whitespace-nowrap "),
1236
+ link: (0, import_system49.cva)("hover:underline cursor-pointer"),
1237
+ current: (0, import_system49.cva)("font-medium")
1134
1238
  };
1135
1239
 
1136
1240
  // src/theme.ts