@marigold/theme-rui 1.1.0 → 1.1.2

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
@@ -132,33 +132,20 @@ var Accordion = {
132
132
 
133
133
  // src/components/Badge.styles.ts
134
134
  var import_system2 = require("@marigold/system");
135
- var circle = "before:size-1.5 before:rounded-full pr-2";
136
135
  var Badge = (0, import_system2.cva)(
137
136
  [
138
- "inline-flex items-center justify-center rounded-full border px-1.5 text-xs font-medium leading-normal transition-colors",
137
+ "inline-flex items-center justify-center rounded-full px-2 text-xs font-medium leading-normal transition-colors",
139
138
  "focus-visible:util-focus-ring outline-none"
140
139
  ],
141
140
  {
142
141
  variants: {
143
142
  variant: {
144
- default: "border-border bg-white",
145
- primary: "bg-brand text-brand-foreground border-transparent",
146
- success: [
147
- "bg-success-muted text-success-muted-foreground border-success-muted-accent before:bg-success-muted-accent gap-1.5",
148
- circle
149
- ],
150
- warning: [
151
- "bg-warning-muted text-warning-muted-foreground border-warning-muted-accent before:bg-warning-muted-accent gap-1.5",
152
- circle
153
- ],
154
- info: [
155
- "bg-info-muted text-info-muted-foreground border-info-muted-accent before:bg-info-muted-accent gap-1.5",
156
- circle
157
- ],
158
- error: [
159
- "bg-destructive-muted text-destructive-muted-foreground border-destructive-muted-accent before:bg-destructive-muted-accent gap-1.5",
160
- circle
161
- ]
143
+ default: "bg-muted text-foreground border border-border",
144
+ primary: "bg-brand text-brand-foreground ",
145
+ success: "bg-success-muted text-success-muted-foreground",
146
+ warning: "bg-warning-muted text-warning-muted-foreground",
147
+ info: "bg-info-muted text-info-muted-foreground",
148
+ error: "bg-destructive-muted text-destructive-muted-foreground"
162
149
  }
163
150
  },
164
151
  defaultVariants: {
@@ -254,7 +241,23 @@ var Calendar = {
254
241
  calendarHeader: (0, import_system7.cva)([
255
242
  "size-9 rounded-lg p-0 text-xs font-medium text-muted-foreground/80"
256
243
  ]),
257
- calendarGrid: (0, import_system7.cva)("[&_td]:p-2")
244
+ calendarGrid: (0, import_system7.cva)("[&_td]:p-2"),
245
+ calendarListboxButton: (0, import_system7.cva)([
246
+ "rounded-md text-sm font-medium transition-[color,box-shadow]",
247
+ "px-4 py-2",
248
+ "focus-visible:util-focus-ring outline-none",
249
+ "cursor-pointer",
250
+ "hover:bg-hover",
251
+ "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"
252
+ ]),
253
+ select: (0, import_system7.cva)([
254
+ "[&svg]:text-muted-foreground/80",
255
+ "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",
256
+ "focus-visible:util-focus-ring outline-none",
257
+ "h-input",
258
+ "disabled:cursor-not-allowed disabled:text-disabled-foreground disabled:bg-disabled",
259
+ "cursor-pointer"
260
+ ])
258
261
  };
259
262
 
260
263
  // src/components/CloseButton.styles.ts
@@ -467,15 +470,7 @@ var Label = {
467
470
  // src/components/Link.styles.ts
468
471
  var import_system24 = require("@marigold/system");
469
472
  var Link = (0, import_system24.cva)(
470
- "underline aria-[disabled]:cursor-not-allowed py-2 underline-offset-4",
471
- {
472
- variants: {
473
- variant: {
474
- menuItemLink: "",
475
- secondary: ""
476
- }
477
- }
478
- }
473
+ "font-medium underline aria-[disabled]:cursor-not-allowed underline-offset-4"
479
474
  );
480
475
 
481
476
  // src/components/List.styles.ts
@@ -492,13 +487,15 @@ var ListBox = {
492
487
  container: (0, import_system26.cva)([
493
488
  "overflow-hidden rounded-md border border-input group-[[data-trigger]]/popover:border-0"
494
489
  ]),
495
- list: (0, import_system26.cva)(["space-y-1 bg-background p-1 text-sm outline-0"]),
490
+ list: (0, import_system26.cva)(["bg-background p-1 text-sm outline-0"]),
496
491
  item: (0, import_system26.cva)([
497
- "relative flex flex-col rounded-md px-2 py-1.5 text-sm text-foreground cursor-pointer",
498
- "selected:bg-selected",
492
+ "relative flex items-center gap-2 rounded-md px-2 py-1.5 text-sm text-foreground cursor-pointer",
493
+ "[&_svg]:invisible [&_svg]:block",
494
+ "selected:bg-selected selected:[&_svg]:visible",
499
495
  "hover:bg-hover hover:text-hover-foreground",
500
496
  "disabled:cursor-not-allowed disabled:text-disabled-foreground",
501
- "focus-visible:util-focus-ring outline-none"
497
+ "focus-visible:util-focus-ring outline-none",
498
+ "cursor-default data-selection-mode:cursor-pointer"
502
499
  ]),
503
500
  section: (0, import_system26.cva)(""),
504
501
  header: (0, import_system26.cva)(
@@ -509,15 +506,22 @@ var ListBox = {
509
506
  // src/components/Menu.styles.ts
510
507
  var import_system27 = require("@marigold/system");
511
508
  var Menu = {
512
- container: (0, import_system27.cva)([
513
- "text-foreground z-50 min-w-40 overflow-hidden rounded-md p-1"
514
- ]),
509
+ container: (0, import_system27.cva)(["text-foreground z-50 overflow-hidden rounded-md p-1"]),
515
510
  item: (0, import_system27.cva)([
516
- "focus:bg-focus focus:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none disabled:text-disabled-foreground"
511
+ "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"
517
512
  ]),
518
513
  section: (0, import_system27.cva)(
519
514
  "text-muted-foreground px-2 py-1.5 text-xs font-medium border-t border-t-border in-first:border-t-0"
520
- )
515
+ ),
516
+ button: (0, import_system27.cva)([
517
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md h-button px-4 py-2",
518
+ "text-sm font-medium outline-none cursor-pointer",
519
+ "border border-input bg-background shadow-xs",
520
+ "hover:bg-hover hover:text-foreground",
521
+ "transition-[color,box-shadow]",
522
+ "disabled:pointer-not-allowed disabled:bg-disabled disabled:text-disabled-foreground",
523
+ "focus-visible:util-focus-ring"
524
+ ])
521
525
  };
522
526
 
523
527
  // src/components/Modal.styles.ts
@@ -556,7 +560,6 @@ var MultiSelect = {
556
560
  "border border-input rounded-lg outline-hidden",
557
561
  "aria-disabled:bg-disabled aria-disabled:text-disabled-foreground aria-disabled:hover:border-input aria-disabled:border-input aria-disabled:cursor-not-allowed",
558
562
  "has-[input[data-invalid=true]]:border-destructive has-[input[data-invalid=true][data-focused=true]]:!border-destructive has-[input[data-invalid=true][data-focused=true]]:!ring-destructive/20",
559
- "[&>*:first-child]:p-0",
560
563
  "has-[input[data-focused=true]]:!border-ring has-[input[data-focused=true]]:!ring-ring/50 has-[input[data-focused=true]]:ring-[3px] has-[input[data-focused=true]]:!outline-none",
561
564
  "has-[input[aria-readonly=true]]:bg-muted"
562
565
  ]),
@@ -590,7 +593,7 @@ var MultiSelect = {
590
593
  "aria-disabled:text-disabled-foreground aria-disabled:cursor-not-allowed",
591
594
  "[&.isFocused:not([aria-disabled=true])]:!bg-hover"
592
595
  ]),
593
- valueContainer: (0, import_system29.cva)("gap-2 py-2 min-h-input")
596
+ valueContainer: (0, import_system29.cva)("gap-2 !py-2 min-h-input")
594
597
  };
595
598
 
596
599
  // src/components/NumberField.styles.ts
@@ -774,8 +777,9 @@ var Switch = {
774
777
  "disabled:cursor-not-allowed disabled:text-disabled-foreground"
775
778
  ),
776
779
  track: (0, import_system38.cva)([
777
- "inline-flex h-6 w-10 shrink-0 cursor-pointer items-center rounded-full",
780
+ "flex h-6 w-10 shrink-0 cursor-pointer items-center rounded-full transition-colors",
778
781
  "border-2 border-transparent",
782
+ // this increases the hit area so it is 24px
779
783
  "group-disabled/switch:bg-disabled group-disabled/switch:text-disabled-foreground group-selected/switch:group-disabled/switch:bg-disabled group-selected/switch:group-disabled/switch:text-disabled-foreground",
780
784
  "group-selected/switch:bg-brand bg-input",
781
785
  "group-focus-visible/switch:util-focus-borderless-ring outline-none"
@@ -783,8 +787,8 @@ var Switch = {
783
787
  thumb: (0, import_system38.cva)([
784
788
  "pointer-events-none block size-5 rounded-full",
785
789
  "bg-background shadow-sm shadow-black/5",
786
- "ring-0 transition-transform duration-300 ease-[cubic-bezier(0.16,1,0.3,1)]",
787
- "group-selected/switch:translate-x-4 translate-x-0 rtl:group-selected/switch:-translate-x-4"
790
+ "ring-0 transition-transform duration-150 ease-out-quint",
791
+ "group-selected/switch:translate-x-4 translate-x-0"
788
792
  ])
789
793
  };
790
794
 
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts","../src/components/index.ts","../src/components/Accordion.styles.ts","../src/components/Badge.styles.ts","../src/components/Body.styles.ts","../src/components/Button.styles.ts","../src/components/Card.styles.ts","../src/components/Checkbox.styles.ts","../src/components/Calendar.styles.ts","../src/components/CloseButton.styles.ts","../src/components/ComboBox.styles.ts","../src/components/DateField.styles.ts","../src/components/Input.styles.ts","../src/components/DatePicker.styles.ts","../src/components/Dialog.styles.ts","../src/components/Divider.styles.ts","../src/components/Drawer.styles.ts","../src/components/IconButton.styles.ts","../src/components/Field.styles.ts","../src/components/Footer.styles.ts","../src/components/Header.styles.ts","../src/components/Headline.styles.ts","../src/components/HelpText.styles.ts","../src/components/Image.styles.ts","../src/components/Label.styles.ts","../src/components/Link.styles.ts","../src/components/List.styles.ts","../src/components/ListBox.styles.ts","../src/components/Menu.styles.ts","../src/components/Modal.styles.ts","../src/components/Multiselect.styles.ts","../src/components/NumberField.styles.ts","../src/components/Popover.styles.ts","../src/components/Radio.styles.ts","../src/components/Pagination.styles.ts","../src/components/ProgressCycle.styles.ts","../src/components/SectionMessage.styles.ts","../src/components/Select.styles.ts","../src/components/Slider.styles.ts","../src/components/Switch.styles.ts","../src/components/Table.styles.ts","../src/components/Tabs.styles.ts","../src/components/Tag.styles.ts","../src/components/TextArea.styles.ts","../src/components/Text.styles.ts","../src/components/Tooltip.styles.ts","../src/components/Underlay.styles.ts","../src/components/XLoader.styles.ts","../src/theme.ts"],"sourcesContent":["import { theme } from './theme';\n\nexport { theme };\nexport default theme;\n","export { Accordion } from './Accordion.styles';\nexport { Badge } from './Badge.styles';\nexport { Body } from './Body.styles';\nexport { Button } from './Button.styles';\nexport { Card } from './Card.styles';\nexport { Checkbox } from './Checkbox.styles';\nexport { Calendar } from './Calendar.styles';\nexport { CloseButton } from './CloseButton.styles';\nexport { ComboBox } from './ComboBox.styles';\nexport { DateField } from './DateField.styles';\nexport { DatePicker } from './DatePicker.styles';\nexport { Dialog } from './Dialog.styles';\nexport { Divider } from './Divider.styles';\nexport { Drawer } from './Drawer.styles';\nexport { IconButton } from './IconButton.styles';\nexport { Input } from './Input.styles';\nexport { Field } from './Field.styles';\nexport { Footer } from './Footer.styles';\nexport { Header } from './Header.styles';\nexport { Headline } from './Headline.styles';\nexport { HelpText } from './HelpText.styles';\nexport { Image } from './Image.styles';\nexport { Label } from './Label.styles';\nexport { Link } from './Link.styles';\nexport { List } from './List.styles';\nexport { ListBox } from './ListBox.styles';\nexport { Menu } from './Menu.styles';\nexport { Modal } from './Modal.styles';\nexport { MultiSelect } from './Multiselect.styles';\nexport { NumberField } from './NumberField.styles';\nexport { Popover } from './Popover.styles';\nexport { Radio } from './Radio.styles';\nexport { Pagination } from './Pagination.styles';\nexport { ProgressCycle } from './ProgressCycle.styles';\nexport { SectionMessage } from './SectionMessage.styles';\nexport { Select } from './Select.styles';\nexport { Slider } from './Slider.styles';\nexport { Switch } from './Switch.styles';\nexport { Table } from './Table.styles';\nexport { Tabs } from './Tabs.styles';\nexport { Tag } from './Tag.styles';\nexport { TextArea } from './TextArea.styles';\nexport { Text } from './Text.styles';\nexport { Tooltip } from './Tooltip.styles';\nexport { Underlay } from './Underlay.styles';\nexport { XLoader } from './XLoader.styles';\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Accordion: ThemeComponent<'Accordion'> = {\n container: cva('flex-col', {\n variants: {\n variant: {\n default: '',\n card: 'space-y-2',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }),\n item: cva('border-b last:border-b-0 border-border ', {\n variants: {\n variant: {\n default: '',\n card: [\n 'rounded-md border px-4 py-1 outline-none last:border-b',\n // TODO: focus is still shown even if an item within the item is focused\n 'has-focus-visible:util-focus-ring outline-none',\n ],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }),\n header: cva(\n [\n 'flex flex-1 w-full items-center justify-between gap-4 rounded-md py-2 cursor-pointer',\n 'text-left text-sm font-semibold leading-6 transition-all',\n 'hover:no-underline',\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground',\n ],\n {\n variants: {\n variant: {\n default: 'focus-visible:util-focus-ring outline-none',\n card: 'outline-none',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n content: cva('overflow-hidden in-data-[expanded]:pb-2'),\n icon: cva(\n 'pointer-events-none shrink-0 opacity-60 transition-transform duration-200'\n ),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nconst circle = 'before:size-1.5 before:rounded-full pr-2';\n\nexport const Badge: ThemeComponent<'Badge'> = cva(\n [\n 'inline-flex items-center justify-center rounded-full border px-1.5 text-xs font-medium leading-normal transition-colors',\n 'focus-visible:util-focus-ring outline-none',\n ],\n {\n variants: {\n variant: {\n default: 'border-border bg-white',\n primary: 'bg-brand text-brand-foreground border-transparent',\n success: [\n 'bg-success-muted text-success-muted-foreground border-success-muted-accent before:bg-success-muted-accent gap-1.5',\n circle,\n ],\n warning: [\n 'bg-warning-muted text-warning-muted-foreground border-warning-muted-accent before:bg-warning-muted-accent gap-1.5',\n circle,\n ],\n info: [\n 'bg-info-muted text-info-muted-foreground border-info-muted-accent before:bg-info-muted-accent gap-1.5',\n circle,\n ],\n error: [\n 'bg-destructive-muted text-destructive-muted-foreground border-destructive-muted-accent before:bg-destructive-muted-accent gap-1.5',\n circle,\n ],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Body: ThemeComponent<'Body'> = cva('');\n","import type { ThemeComponent } from '@marigold/system';\nimport { cva } from '@marigold/system';\n\nexport const Button: ThemeComponent<'Button'> = cva(\n [\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow]',\n '[&_svg]:shrink-0',\n 'focus-visible:util-focus-ring outline-none disabled:util-disabled',\n 'pending:text-disabled-foreground pending:bg-disabled pending:cursor-not-allowed pending:border-none',\n 'cursor-pointer',\n ],\n {\n variants: {\n variant: {\n primary:\n 'bg-brand text-brand-foreground shadow-sm shadow-black/5 hover:bg-brand/90',\n secondary:\n 'border border-input bg-background shadow-sm shadow-black/5 hover:bg-hover hover:text-foreground expanded:bg-hover',\n destructive:\n 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n ghost: 'hover:bg-hover hover:text-foreground',\n // only used for calendar in MonthListBox and YearListBox to have a hover over other options\n // TODO: Remove this in future and rethink the MonthListBox and YearListBox or use another variant\n text: 'hover:bg-hover',\n },\n size: {\n default: 'h-button px-4 py-2',\n small: 'h-button-small px-3 text-xs',\n large: 'h-button-large px-8',\n icon: 'size-9',\n },\n },\n defaultVariants: {\n variant: 'secondary',\n size: 'default',\n },\n }\n);\n","import { cva } from '@marigold/system';\nimport type { ThemeComponent } from '@marigold/system';\n\nexport const Card: ThemeComponent<'Card'> = cva([\n 'p-4 rounded-md',\n 'util-surface-raised',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Checkbox: ThemeComponent<'Checkbox'> = {\n checkbox: cva([\n 'grid size-4 shrink-0 place-content-center rounded',\n 'border border-input shadow-sm shadow-black/5',\n 'group-focus-visible/checkbox:util-focus-ring outline-none',\n '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',\n 'group-selected/checkbox:border-brand group-selected/checkbox:bg-brand group-selected/checkbox:text-brand-foreground',\n 'group-[indeterminate]/checkbox:border-brand group-[indeterminate]/checkbox:bg-brand group-[indeterminate]/checkbox:text-brand-foreground',\n ]),\n container: cva('cursor-pointer read-only:cursor-default'),\n label: cva(\n 'text-sm leading-4 group-[group=\"checkbox\"]/checkboxgroup:font-normal font-medium text-foreground group-disabled/checkbox:text-disabled-foreground'\n ),\n group: cva(),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Calendar: ThemeComponent<'Calendar'> = {\n calendar: cva(\n 'rounded-md border group-[[data-trigger]]/popover:border-0 border-border p-2'\n ),\n calendarCell: cva([\n 'relative flex size-9 items-center justify-center whitespace-nowrap rounded-lg',\n 'border border-transparent p-0 text-sm font-normal text-foreground',\n 'outline-offset-2 duration-150 [transition-property:color,background-color,border-radius,box-shadow]',\n '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',\n 'disabled:opacity-30 data-[unavailable]:opacity-30',\n 'focus-visible:util-focus-borderless-ring outline-none',\n ]),\n calendarControllers: cva([\n 'size-9 rounded-lg',\n 'text-muted-foreground/80',\n 'transition-colors',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n calendarHeader: cva([\n 'size-9 rounded-lg p-0 text-xs font-medium text-muted-foreground/80',\n ]),\n calendarGrid: cva('[&_td]:p-2'),\n};\n","import type { ThemeComponent } from '@marigold/system';\nimport { cva } from '@marigold/system';\n\nexport const CloseButton: ThemeComponent<'CloseButton'> = cva([\n 'flex items-center justify-center whitespace-nowrap',\n 'cursor-pointer',\n 'transition-[color,box-shadow]',\n 'mixin-ring-focus-visible',\n 'rounded',\n '[&_svg]:size-4 [&_svg]:opacity-60 [&_svg]:transition-opacity hover:[&_svg]:opacity-100',\n]);\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const ComboBox: ThemeComponent<'ComboBox'> = cva(\n 'text-muted-foreground/80 right-2'\n);\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport {\n inputContainer,\n inputDisabled,\n inputInvalid,\n inputReadOnly,\n} from './Input.styles';\n\nexport const DateField: ThemeComponent<'DateField'> = {\n field: cva([\n 'h-input',\n inputContainer,\n inputDisabled,\n 'has-focus-visible:util-focus-ring outline-none',\n inputInvalid,\n inputReadOnly,\n 'invalid:focus-within:border-destructive invalid:focus-within:ring-destructive/20',\n ]),\n segment: cva([\n inputDisabled,\n 'inline rounded p-0.5 text-foreground caret-transparent outline-0 data-[type=literal]:px-0 data-[focused]:data-[placeholder]:text-foreground data-[focused]:text-foreground data-[type=literal]:text-placeholder ',\n 'data-[focused]:bg-focus',\n 'data-[placeholder]:disabled:text-disabled-foreground',\n 'invalid:data-[focused]:bg-destructive invalid:data-[focused]:data-[placeholder]:text-destructive-foreground invalid:data-[focused]:text-destructive-foreground invalid:placeholder:text-destructive invalid:text-destructive data-[placeholder]:text-placeholder',\n ]),\n action: cva(\n 'fill-muted-foreground disabled:text-disabled-foreground group-invalid/field:fill-destructive'\n ),\n};\n","import { cva } from '@marigold/system';\nimport type { ThemeComponent } from '@marigold/system';\n\nexport const inputContainer =\n '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';\nexport const inputDisabled =\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground disabled:bg-disabled';\nexport const inputInvalid =\n 'group-invalid/field:border-destructive group-invalid/field:focus:border-destructive group-invalid/field:focus:ring-destructive/20';\n\nexport const inputReadOnly = 'group-read-only/field:bg-muted';\n\nexport const Input: ThemeComponent<'Input'> = {\n input: cva([\n inputContainer,\n inputDisabled,\n inputInvalid,\n 'focus:util-focus-ring outline-none',\n inputReadOnly,\n 'h-input',\n 'placeholder:text-placeholder',\n '[&[type=file]]:cursor-pointer [&[type=file]]:border-solid [&[type=file]]:bg-background [&[type=file]]:p-0 [&[type=file]]:pr-3 [&[type=file]]:italic [&[type=file]]:text-muted-foreground/70',\n 'file:cursor-pointer file:me-3 file:h-full file:border-0 file:border-r file:border-solid file:border-input file:bg-transparent file:px-3 file:text-sm file:font-medium file:not-italic file:text-foreground',\n 'group-[[data-icon]]/input:pl-8',\n 'group-[[data-action]]/input:pr-7',\n ]),\n icon: cva([\n 'pointer-events-none left-1',\n 'text-muted-foreground disabled:text-disabled-foreground',\n ]),\n action: cva(['text-muted-foreground right-1']),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const DatePicker: ThemeComponent<'DatePicker'> = cva([\n 'relative h-input -top-2',\n 'text-muted-foreground/80',\n 'hover:text-brand',\n 'disabled:cursor-not-allowed',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Dialog: ThemeComponent<'Dialog'> = {\n closeButton: cva(['absolute top-6 right-3', 'size-7 ']),\n container: cva([\n 'flex flex-col gap-0 rounded-xl p-6 overflow-y-auto',\n 'util-surface-overlay',\n ]),\n header: cva('flex flex-col gap-1 text-center sm:text-left'),\n title: cva('text-lg font-semibold mb-1', {\n variants: {\n variant: {},\n size: {},\n },\n }),\n content: cva('text-muted-foreground text-sm'),\n actions: cva('flex flex-col-reverse gap-3 sm:flex-row sm:justify-end mt-4'),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Divider: ThemeComponent<'Divider'> = cva(\n 'bg-stone-300 h-px w-full',\n {\n variants: {\n variant: {\n bold: 'h-0.5',\n section: '',\n },\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Drawer: ThemeComponent<'Drawer'> = {\n overlay: cva([\n 'group/overlay',\n 'entering:animate-slide-in-right exiting:animate-slide-out-right',\n ]),\n container: cva(\n [\n 'relative grid-rows-[auto_1fr_auto]',\n 'util-surface-overlay border-y-0! border-r-0!',\n ],\n {\n variants: {\n size: {\n default: 'w-80',\n },\n },\n defaultVariants: {\n size: 'default',\n },\n }\n ),\n closeButton: cva(['absolute top-3.5 right-3 z-50', 'size-7']),\n header: cva('border-border border-b px-6 py-4'),\n title: cva('font-semibold text-base'),\n content: cva('px-6 py-4 overflow-y-auto outline-none'),\n actions: cva(\n 'flex flex-row gap-3 justify-end border-border border-t px-6 py-4'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const IconButton: ThemeComponent<'IconButton'> = cva('', {\n variants: {\n variant: {\n navigation:\n 'inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colors outline-offset-2 focus-visible:outline-2 outline-ring/30 disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 hover:bg-hover hover:text-hover-foreground h-9 py-2 gap-1 px-2.5',\n },\n },\n});\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Field: ThemeComponent<'Field'> = cva('space-y-2');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Footer: ThemeComponent<'Footer'> = cva('');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Header: ThemeComponent<'Header'> = cva('');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Headline: ThemeComponent<'Headline'> = cva('', {\n variants: {\n size: {\n 'level-1': 'text-5xl font-black',\n 'level-2': 'text-3xl font-black',\n 'level-3': 'text-2xl font-black',\n 'level-4': 'text-lg font-black',\n 'level-5': 'text-base font-black',\n 'level-6': 'text-base font-normal',\n },\n },\n});\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const HelpText: ThemeComponent<'HelpText'> = {\n container: cva([\n 'mt-2 text-xs text-muted-foreground group-disabled/field:text-disabled-foreground',\n 'group-invalid/field:text-destructive',\n ]),\n icon: cva(''),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Image: ThemeComponent<'Image'> = cva();\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Label: ThemeComponent<'Label'> = {\n container: cva([\n 'text-sm font-medium leading-4 text-foreground',\n 'group-disabled/field:cursor-not-allowed group-disabled/field:text-disabled-foreground',\n ]),\n indicator: cva(\n 'group-required/field:block text-destructive align-super size-2.5'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Link: ThemeComponent<'Link'> = cva(\n 'underline aria-[disabled]:cursor-not-allowed py-2 underline-offset-4',\n {\n variants: {\n variant: {\n menuItemLink: '',\n secondary: '',\n },\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const List: ThemeComponent<'List'> = {\n ul: cva('ml-6 list-inside list-disc py-3'),\n ol: cva('ml-6 list-inside list-decimal py-3'),\n item: cva('pt-3'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const ListBox: ThemeComponent<'ListBox'> = {\n container: cva([\n 'overflow-hidden rounded-md border border-input group-[[data-trigger]]/popover:border-0',\n ]),\n list: cva(['space-y-1 bg-background p-1 text-sm outline-0']),\n item: cva([\n 'relative flex flex-col rounded-md px-2 py-1.5 text-sm text-foreground cursor-pointer',\n 'selected:bg-selected',\n 'hover:bg-hover hover:text-hover-foreground',\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n section: cva(''),\n header: cva(\n '[&_header]:px-2 [&_header]:py-1.5 [&_header]:text-xs [&_header]:font-medium [&_header]:text-muted-foreground'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Menu: ThemeComponent<'Menu'> = {\n container: cva([\n 'text-foreground z-50 min-w-40 overflow-hidden rounded-md p-1',\n ]),\n item: cva([\n 'focus:bg-focus focus:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none disabled:text-disabled-foreground',\n ]),\n section: cva(\n 'text-muted-foreground px-2 py-1.5 text-xs font-medium border-t border-t-border in-first:border-t-0'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Modal: ThemeComponent<'Modal'> = cva(\n [\n 'sm:max-h-[min(640px,80vh)]',\n '[--dialog-spacing-x:1rem]', // Minimal padding to the horizontal edges\n 'w-[min(calc(100%_-_var(--dialog-spacing-x)),calc(var(--dialog-width)_-_var(--dialog-spacing-x)))]',\n ],\n {\n variants: {\n size: {\n xsmall: '[--dialog-width:480px]', // \"xs\" breakpoint\n small: '[--dialog-width:640px]', // sm breakpoint\n medium: '[--dialog-width:768px]', // md breakpoint\n },\n },\n defaultVariants: {\n size: 'small',\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const MultiSelect: ThemeComponent<'MultiSelect'> = {\n field: cva('grid gap-y-0.5'),\n container: cva([\n 'bg-background shadow-sm shadow-black/5 border',\n 'px-3 text-sm text-foreground transition-shadow',\n 'border border-input rounded-lg outline-hidden',\n 'aria-disabled:bg-disabled aria-disabled:text-disabled-foreground aria-disabled:hover:border-input aria-disabled:border-input aria-disabled:cursor-not-allowed',\n 'has-[input[data-invalid=true]]:border-destructive has-[input[data-invalid=true][data-focused=true]]:!border-destructive has-[input[data-invalid=true][data-focused=true]]:!ring-destructive/20',\n '[&>*:first-child]:p-0',\n 'has-[input[data-focused=true]]:!border-ring has-[input[data-focused=true]]:!ring-ring/50 has-[input[data-focused=true]]:ring-[3px] has-[input[data-focused=true]]:!outline-none',\n 'has-[input[aria-readonly=true]]:bg-muted',\n ]),\n\n input: cva([\n 'bg-transparent flex-1 h-full',\n 'leading-loose',\n 'data-[focused]:outline-hidden outline-hidden border-0',\n 'disabled:cursor-not-allowed',\n 'group-data-[icon]/input:pl-5',\n 'group-data-[action]/input:pr-8',\n 'placeholder:text-placeholder',\n ]),\n\n tag: cva([\n 'border border-solid border-input rounded-md',\n 'bg-background',\n 'font-medium text-xs',\n 'flex items-center gap-1 ',\n 'h-7 px-2 cursor-default',\n ]),\n closeButton: cva(\n 'size-4 cursor-pointer border-none bg-transparent p-0 leading-normal outline-0'\n ),\n icon: cva('left-1'),\n listContainer: cva(['util-surface-overlay mt-0.5 rounded-lg outline-0']),\n list: cva('pointer-events-auto space-y-1 p-1'),\n option: cva([\n 'text-sm text-foreground',\n 'flex flex-col',\n 'cursor-pointer p-2 outline-hidden',\n '[&.isFocused:not([aria-disabled=true])]:!text-foreground [&.isFocused[aria-disabled=true]]:bg-transparent',\n 'aria-disabled:text-disabled-foreground aria-disabled:cursor-not-allowed',\n '[&.isFocused:not([aria-disabled=true])]:!bg-hover',\n ]),\n valueContainer: cva('gap-2 py-2 min-h-input'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport { inputInvalid, inputReadOnly } from './Input.styles';\n\nexport const NumberField: ThemeComponent<'NumberField'> = {\n group: cva([\n 'rounded-lg h-input bg-background',\n 'has-focus-visible:util-focus-ring outline-none',\n inputInvalid,\n inputReadOnly,\n 'border border-input text-sm shadow-sm shadow-black/5 transition-shadow',\n 'data-invalid:data-[focus-within]:border-destructive data-invalid:data-[focus-within]:ring-destructive/20',\n ]),\n stepper: cva([\n 'w-7 h-full text-center shrink-0',\n 'disabled:text-disabled-foreground disabled:bg-disabled',\n 'border-input! first-of-type:border-r! last-of-type:border-l!',\n ]),\n input: cva([\n 'tabular-nums text-foreground px-3 py-2',\n 'min-w-0 flex-1 bg-transparent',\n 'group-[[data-stepper]]/field:text-center',\n 'disabled:text-disabled-foreground disabled:bg-disabled',\n ]),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Popover: ThemeComponent<'Popover'> = cva([\n 'group/popover',\n 'text-foreground z-50 overflow-y-auto overflow-x-hidden rounded-md outline-0',\n 'placement-top:mb-1',\n 'placement-bottom:mt-1',\n 'placement-right:ml-1',\n 'placement-left:mr-1',\n 'util-surface-overlay',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Radio: ThemeComponent<'Radio'> = {\n container: cva('group-disabled/radio:cursor-not-allowed'),\n label: cva([\n 'text-sm font-normal cursor-pointer',\n 'group-disabled/radio:text-disabled-foreground group-disabled/radio:cursor-not-allowed',\n ]),\n radio: cva([\n 'aspect-square size-4 rounded-full',\n 'border border-input shadow-sm shadow-black/5',\n 'group-focus-visible/radio:util-focus-ring outline-none',\n 'group-disabled/radio:group-selected/radio:bg-disabled group-disabled/radio:border-disabled! group-disabled/radio:cursor-not-allowed',\n 'group-selected/radio:border-brand group-selected/radio:bg-brand group-selected/radio:text-brand-foreground',\n ]),\n group: cva(),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Pagination: ThemeComponent<'Pagination'> = {\n navigationButton: cva([\n 'inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colors',\n 'focus-visible:util-focus-ring outline-none',\n 'disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n 'hover:bg-hover hover:text-hover-foreground',\n 'h-9 py-2 gap-1 px-2.5',\n 'cursor-pointer',\n ]),\n pageButton: cva([\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium transition-colors bg-background size-9',\n 'focus-visible:util-focus-ring outline-none',\n 'disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n 'data-[selected=true]:border data-[selected=true]:border-input data-[selected=true]:shadow-xs',\n 'hover:bg-hover hover:text-hover-foreground',\n 'cursor-pointer',\n ]),\n icon: cva('h-4 w-4'),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const ProgressCycle: ThemeComponent<'ProgressCycle'> = cva([\n 'stroke-foreground',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const SectionMessage: ThemeComponent<'SectionMessage'> = {\n container: cva(\n [\n 'grid-cols-[min-content_auto_min-content] gap-x-4 gap-y-1 [grid-template-areas:\"icon_title_close\"\"icon_content_content\"]',\n 'bg-background rounded-md border px-3 py-4',\n ],\n {\n variants: {\n variant: {\n success:\n 'border-success-muted-accent bg-success-muted text-success-muted-foreground',\n warning:\n 'border-warning-muted-accent bg-warning-muted text-warning-muted-foreground',\n info: 'border-info-muted-accent bg-info-muted text-info-muted-foreground',\n error:\n 'border-destructive-muted-accent bg-destructive-muted text-destructive-muted-foreground',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }\n ),\n title: cva('text-sm font-medium'),\n content: cva('text-muted-foreground text-sm leading-5 font-normal', {\n variants: {\n variant: {\n success: 'text-success-muted-foreground',\n warning: 'text-warning-muted-foreground',\n info: 'text-info-muted-foreground',\n error: 'text-destructive-muted-foreground',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }),\n icon: cva('h-6 w-6 align-baseline leading-none -mt-0.5', {\n variants: {\n variant: {\n success: 'text-success-muted-accent',\n warning: 'text-warning-muted-accent',\n info: 'text-info-muted-accent',\n error: 'text-destructive-muted-accent',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }),\n close: cva([\n 'size-8 text-foreground',\n '[&_svg]:size-6',\n '-my-1.5 -me-2', // align button with title\n ]),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport { inputContainer, inputDisabled, inputInvalid } from './Input.styles';\n\nexport const Select: ThemeComponent<'Select'> = {\n icon: cva('text-muted-foreground/80'),\n select: cva([\n inputContainer,\n inputInvalid,\n inputDisabled,\n 'focus-visible:util-focus-ring outline-none',\n 'h-input',\n 'cursor-pointer',\n '*:data-placeholder:text-placeholder',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Slider: ThemeComponent<'Slider'> = {\n container: cva('*:aria-hidden:hidden'),\n track: cva([\n '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',\n ]),\n selectedTrack: cva([\n 'absolute bg-black data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full rounded-lg',\n ]),\n thumb: cva([\n 'block h-5 w-5 rounded-full border-2 border-primary bg-background transition-colors',\n 'focus-visible:util-focus-borderless-ring outline-none',\n 'disabled:cursor-not-allowed',\n ]),\n output: cva('text-text-base text-sm'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Switch: ThemeComponent<'Switch'> = {\n container: cva(\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground'\n ),\n track: cva([\n 'inline-flex h-6 w-10 shrink-0 cursor-pointer items-center rounded-full',\n 'border-2 border-transparent',\n 'group-disabled/switch:bg-disabled group-disabled/switch:text-disabled-foreground group-selected/switch:group-disabled/switch:bg-disabled group-selected/switch:group-disabled/switch:text-disabled-foreground',\n 'group-selected/switch:bg-brand bg-input',\n 'group-focus-visible/switch:util-focus-borderless-ring outline-none',\n ]),\n thumb: cva([\n 'pointer-events-none block size-5 rounded-full',\n 'bg-background shadow-sm shadow-black/5',\n 'ring-0 transition-transform duration-300 ease-[cubic-bezier(0.16,1,0.3,1)]',\n 'group-selected/switch:translate-x-4 translate-x-0 rtl:group-selected/switch:-translate-x-4',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Table: ThemeComponent<'Table'> = {\n table: cva(\n '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',\n {\n variants: {\n variant: {\n default: '',\n grid: '',\n },\n },\n }\n ),\n thead: cva(\n // for sticky header\n 'bg-background/90 top-0 z-1 backdrop-blur-xs ',\n {\n variants: {\n variant: {\n default: '',\n grid: '',\n },\n },\n }\n ),\n headerRow: cva(['border-border border-b'], {\n variants: {\n variant: {\n default: '',\n grid: '[&>:not(:last-child)]:border-r [&>:not(:last-child)]:border-border',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }),\n header: cva(\n [\n 'h-12 px-3 align-middle font-medium text-muted-foreground last:text-right',\n 'focus-visible:outline-2 outline-offset-2 outline-ring/70',\n ],\n {\n variants: {\n variant: {\n default: '[&:has([type=checkbox])]:pr-0',\n grid: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n body: cva('[&_tr:last-child]:border-0'),\n row: cva(\n [\n 'border-b border-border transition-colors',\n 'focus-visible:outline-2 outline-offset-2 outline-ring/70',\n 'aria-[selected=true]:bg-muted hover:bg-transparent data-disabled:cursor-not-allowed',\n ],\n {\n variants: {\n variant: {\n default: '',\n grid: '[&>:not(:last-child)]:border-r [&>:not(:last-child)]:border-border',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n cell: cva(\n [\n 'p-3 align-middle last:text-right',\n 'focus-visible:outline-2 outline-offset-2 outline-ring/70',\n ],\n {\n variants: {\n variant: {\n default: '[&:has([type=checkbox])]:pr-0',\n grid: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Tabs: ThemeComponent<'Tabs'> = {\n container: cva('flex flex-col gap-2'),\n tabsList: cva([\n 'text-muted-foreground',\n 'flex items-center p-0.5 h-auto gap-2 border-b border-border px-0 py-1',\n ]),\n tab: cva([\n 'relative inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-colors',\n '[&_svg]:shrink-0',\n 'focus-visible:util-focus-ring outline-none',\n 'hover:bg-hover hover:text-foreground',\n 'disabled:pointer-events-none disabled:opacity-50',\n 'data-selected:text-foreground data-selected:hover:bg-hover',\n 'data-[selected=true]:after:bg-foreground after:absolute after:inset-x-0 after:bottom-0 after:-mb-1 after:h-0.5',\n ]),\n tabpanel: cva([\n 'py-4 rounded-sm',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Tag: ThemeComponent<'Tag'> = {\n tag: cva([\n 'relative inline-flex items-center gap-[7px]',\n 'border border-solid border-input rounded-md',\n 'font-medium text-xs',\n 'h-7 px-2 cursor-default',\n 'bg-background',\n 'data-selected:text-white data-selected:bg-brand',\n 'data-[disabled]:cursor-not-allowed data-[disabled]:text-disabled-foreground data-[disabled]:bg-disabled',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n closeButton: cva([\n 'size-4',\n 'disabled:bg-disabled disabled:text-disabled-foreground disabled:cursor-not-allowed',\n ]),\n listItems: cva('flex flex-wrap items-center gap-1'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport {\n inputContainer,\n inputDisabled,\n inputInvalid,\n inputReadOnly,\n} from './Input.styles';\n\nexport const TextArea: ThemeComponent<'TextArea'> = cva([\n inputContainer,\n inputInvalid,\n 'focus:util-focus-ring outline-none',\n inputDisabled,\n inputReadOnly,\n 'invalid:text-destructive',\n]);\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Text: ThemeComponent<'Text'> = cva('', {\n variants: {\n variant: {\n muted: 'text-muted-foreground',\n },\n size: {\n // Adding a default here, which beasically acts as an inherit\n default: '',\n xs: 'text-xs',\n sm: 'text-sm',\n base: 'text-base',\n lg: 'text-lg',\n xl: 'text-xl',\n '2xl': 'text-2xl',\n '3xl': 'text-3xl',\n '4xl': 'text-4xl',\n '5xl': 'text-5xl',\n '6xl': 'text-6xl',\n '7xl': 'text-7xl',\n '8xl': 'text-8xl',\n '9xl': 'text-9xl',\n },\n },\n defaultVariants: {\n size: 'default',\n },\n});\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Tooltip: ThemeComponent<'Tooltip'> = {\n container: cva(\n [\n 'text-brand-foreground bg-brand relative z-50 max-w-70 rounded-md border border-brand px-3 py-1.5 text-sm ',\n 'placement-top:mb-2',\n 'placement-bottom:mt-2',\n 'placement-right:ml-2',\n 'placement-left:mr-2',\n ],\n {\n variants: {\n variant: {\n default: '',\n white: 'text-secondary-foreground border-border bg-white',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n\n arrow: cva(\n [\n 'fill-brand stroke-brand',\n\n // right\n 'data-[placement=right]:[&_svg]:rotate-90',\n\n // left\n 'data-[placement=left]:[&_svg]:-rotate-90',\n\n // bottom\n 'data-[placement=bottom]:[&_svg]:rotate-180',\n ],\n {\n variants: {\n variant: {\n default: '',\n white: 'fill-white stroke-border ',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Underlay: ThemeComponent<'Underlay'> = cva('bg-black/80 px-4');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const XLoader: ThemeComponent<'XLoader'> = {\n container: cva('grid place-items-center text-brand', {\n variants: {\n variant: {\n default: '',\n inverted: 'text-secondary',\n },\n size: {\n default: 'size-20',\n large: 'size-36',\n fit: 'size-full',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }),\n loader: cva('size-full', {\n variants: {\n variant: {\n default: '',\n inverted: '',\n },\n size: {\n default: '',\n large: '',\n fit: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }),\n label: cva('text-current text-sm'),\n};\n","import { Theme } from '@marigold/system';\nimport * as components from './components';\n\nexport const theme: Theme = {\n name: 'rui',\n components,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,oBAAoC;AAE7B,IAAM,YAAyC;AAAA,EACpD,eAAW,mBAAI,YAAY;AAAA,IACzB,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,IACX;AAAA,EACF,CAAC;AAAA,EACD,UAAM,mBAAI,2CAA2C;AAAA,IACnD,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,MAAM;AAAA,UACJ;AAAA;AAAA,UAEA;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,IACX;AAAA,EACF,CAAC;AAAA,E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AAS;AAAA,UACT,OAAO;AAAA,QACT;AAAA,MACF;AAAA,MACA,iBAAiB;AAAA,QACf,SAAS;AAAA,MACX;AAAA,IACF;AAAA,EACF;AAAA,EAEA,WAAO;AAAA,IACL;AAAA,MACE;AAAA;AAAA,MAGA;AAAA;AAAA,MAGA;AAAA;AAAA,MAGA;AAAA,IACF;AAAA,IACA;AAAA,MACE,UAAU;AAAA,QACR,SAAS;AAAA,UACP,SAAS;AAAA,UACT,OAAO;AAAA,QACT;AAAA,MACF;AAAA,MACA,iBAAiB;AAAA,QACf,SAAS;AAAA,MACX;AAAA,IACF;AAAA,EACF;AACF;;;ACjDA,IAAAC,kBAAoC;AAE7B,IAAM,eAAuC,qBAAI,kBAAkB;;;ACF1E,IAAAC,kBAAoC;AAE7B,IAAM,UAAqC;AAAA,EAChD,eAAW,qBAAI,sCAAsC;AAAA,IACnD,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,OAAO;AAAA,QACP,KAAK;AAAA,MACP;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF,CAAC;AAAA,EACD,YAAQ,qBAAI,aAAa;AAAA,IACvB,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,OAAO;AAAA,QACP,KAAK;AAAA,MACP;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF,CAAC;AAAA,EACD,WAAO,qBAAI,sBAAsB;AACnC;;;ACnCO,IAAM,QAAe;AAAA,EAC1B,MAAM;AAAA,EACN;AACF;;;AhDHA,IAAO,gBAAQ;","names":["import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system"]}
1
+ {"version":3,"sources":["../src/index.ts","../src/components/index.ts","../src/components/Accordion.styles.ts","../src/components/Badge.styles.ts","../src/components/Body.styles.ts","../src/components/Button.styles.ts","../src/components/Card.styles.ts","../src/components/Checkbox.styles.ts","../src/components/Calendar.styles.ts","../src/components/CloseButton.styles.ts","../src/components/ComboBox.styles.ts","../src/components/DateField.styles.ts","../src/components/Input.styles.ts","../src/components/DatePicker.styles.ts","../src/components/Dialog.styles.ts","../src/components/Divider.styles.ts","../src/components/Drawer.styles.ts","../src/components/IconButton.styles.ts","../src/components/Field.styles.ts","../src/components/Footer.styles.ts","../src/components/Header.styles.ts","../src/components/Headline.styles.ts","../src/components/HelpText.styles.ts","../src/components/Image.styles.ts","../src/components/Label.styles.ts","../src/components/Link.styles.ts","../src/components/List.styles.ts","../src/components/ListBox.styles.ts","../src/components/Menu.styles.ts","../src/components/Modal.styles.ts","../src/components/Multiselect.styles.ts","../src/components/NumberField.styles.ts","../src/components/Popover.styles.ts","../src/components/Radio.styles.ts","../src/components/Pagination.styles.ts","../src/components/ProgressCycle.styles.ts","../src/components/SectionMessage.styles.ts","../src/components/Select.styles.ts","../src/components/Slider.styles.ts","../src/components/Switch.styles.ts","../src/components/Table.styles.ts","../src/components/Tabs.styles.ts","../src/components/Tag.styles.ts","../src/components/TextArea.styles.ts","../src/components/Text.styles.ts","../src/components/Tooltip.styles.ts","../src/components/Underlay.styles.ts","../src/components/XLoader.styles.ts","../src/theme.ts"],"sourcesContent":["import { theme } from './theme';\n\nexport { theme };\nexport default theme;\n","export { Accordion } from './Accordion.styles';\nexport { Badge } from './Badge.styles';\nexport { Body } from './Body.styles';\nexport { Button } from './Button.styles';\nexport { Card } from './Card.styles';\nexport { Checkbox } from './Checkbox.styles';\nexport { Calendar } from './Calendar.styles';\nexport { CloseButton } from './CloseButton.styles';\nexport { ComboBox } from './ComboBox.styles';\nexport { DateField } from './DateField.styles';\nexport { DatePicker } from './DatePicker.styles';\nexport { Dialog } from './Dialog.styles';\nexport { Divider } from './Divider.styles';\nexport { Drawer } from './Drawer.styles';\nexport { IconButton } from './IconButton.styles';\nexport { Input } from './Input.styles';\nexport { Field } from './Field.styles';\nexport { Footer } from './Footer.styles';\nexport { Header } from './Header.styles';\nexport { Headline } from './Headline.styles';\nexport { HelpText } from './HelpText.styles';\nexport { Image } from './Image.styles';\nexport { Label } from './Label.styles';\nexport { Link } from './Link.styles';\nexport { List } from './List.styles';\nexport { ListBox } from './ListBox.styles';\nexport { Menu } from './Menu.styles';\nexport { Modal } from './Modal.styles';\nexport { MultiSelect } from './Multiselect.styles';\nexport { NumberField } from './NumberField.styles';\nexport { Popover } from './Popover.styles';\nexport { Radio } from './Radio.styles';\nexport { Pagination } from './Pagination.styles';\nexport { ProgressCycle } from './ProgressCycle.styles';\nexport { SectionMessage } from './SectionMessage.styles';\nexport { Select } from './Select.styles';\nexport { Slider } from './Slider.styles';\nexport { Switch } from './Switch.styles';\nexport { Table } from './Table.styles';\nexport { Tabs } from './Tabs.styles';\nexport { Tag } from './Tag.styles';\nexport { TextArea } from './TextArea.styles';\nexport { Text } from './Text.styles';\nexport { Tooltip } from './Tooltip.styles';\nexport { Underlay } from './Underlay.styles';\nexport { XLoader } from './XLoader.styles';\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Accordion: ThemeComponent<'Accordion'> = {\n container: cva('flex-col', {\n variants: {\n variant: {\n default: '',\n card: 'space-y-2',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }),\n item: cva('border-b last:border-b-0 border-border ', {\n variants: {\n variant: {\n default: '',\n card: [\n 'rounded-md border px-4 py-1 outline-none last:border-b',\n // TODO: focus is still shown even if an item within the item is focused\n 'has-focus-visible:util-focus-ring outline-none',\n ],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }),\n header: cva(\n [\n 'flex flex-1 w-full items-center justify-between gap-4 rounded-md py-2 cursor-pointer',\n 'text-left text-sm font-semibold leading-6 transition-all',\n 'hover:no-underline',\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground',\n ],\n {\n variants: {\n variant: {\n default: 'focus-visible:util-focus-ring outline-none',\n card: 'outline-none',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n content: cva('overflow-hidden in-data-[expanded]:pb-2'),\n icon: cva(\n 'pointer-events-none shrink-0 opacity-60 transition-transform duration-200'\n ),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Badge: ThemeComponent<'Badge'> = cva(\n [\n 'inline-flex items-center justify-center rounded-full px-2 text-xs font-medium leading-normal transition-colors',\n 'focus-visible:util-focus-ring outline-none',\n ],\n {\n variants: {\n variant: {\n default: 'bg-muted text-foreground border border-border',\n primary: 'bg-brand text-brand-foreground ',\n success: 'bg-success-muted text-success-muted-foreground',\n warning: 'bg-warning-muted text-warning-muted-foreground',\n info: 'bg-info-muted text-info-muted-foreground',\n error: 'bg-destructive-muted text-destructive-muted-foreground',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Body: ThemeComponent<'Body'> = cva('');\n","import type { ThemeComponent } from '@marigold/system';\nimport { cva } from '@marigold/system';\n\nexport const Button: ThemeComponent<'Button'> = cva(\n [\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow]',\n '[&_svg]:shrink-0',\n 'focus-visible:util-focus-ring outline-none disabled:util-disabled',\n 'pending:text-disabled-foreground pending:bg-disabled pending:cursor-not-allowed pending:border-none',\n 'cursor-pointer',\n ],\n {\n variants: {\n variant: {\n primary:\n 'bg-brand text-brand-foreground shadow-sm shadow-black/5 hover:bg-brand/90',\n secondary:\n 'border border-input bg-background shadow-sm shadow-black/5 hover:bg-hover hover:text-foreground expanded:bg-hover',\n destructive:\n 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n ghost: 'hover:bg-hover hover:text-foreground',\n // only used for calendar in MonthListBox and YearListBox to have a hover over other options\n // TODO: Remove this in future and rethink the MonthListBox and YearListBox or use another variant\n text: 'hover:bg-hover',\n },\n size: {\n default: 'h-button px-4 py-2',\n small: 'h-button-small px-3 text-xs',\n large: 'h-button-large px-8',\n icon: 'size-9',\n },\n },\n defaultVariants: {\n variant: 'secondary',\n size: 'default',\n },\n }\n);\n","import { cva } from '@marigold/system';\nimport type { ThemeComponent } from '@marigold/system';\n\nexport const Card: ThemeComponent<'Card'> = cva([\n 'p-4 rounded-md',\n 'util-surface-raised',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Checkbox: ThemeComponent<'Checkbox'> = {\n checkbox: cva([\n 'grid size-4 shrink-0 place-content-center rounded',\n 'border border-input shadow-sm shadow-black/5',\n 'group-focus-visible/checkbox:util-focus-ring outline-none',\n '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',\n 'group-selected/checkbox:border-brand group-selected/checkbox:bg-brand group-selected/checkbox:text-brand-foreground',\n 'group-[indeterminate]/checkbox:border-brand group-[indeterminate]/checkbox:bg-brand group-[indeterminate]/checkbox:text-brand-foreground',\n ]),\n container: cva('cursor-pointer read-only:cursor-default'),\n label: cva(\n 'text-sm leading-4 group-[group=\"checkbox\"]/checkboxgroup:font-normal font-medium text-foreground group-disabled/checkbox:text-disabled-foreground'\n ),\n group: cva(),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Calendar: ThemeComponent<'Calendar'> = {\n calendar: cva(\n 'rounded-md border group-[[data-trigger]]/popover:border-0 border-border p-2'\n ),\n calendarCell: cva([\n 'relative flex size-9 items-center justify-center whitespace-nowrap rounded-lg',\n 'border border-transparent p-0 text-sm font-normal text-foreground',\n 'outline-offset-2 duration-150 [transition-property:color,background-color,border-radius,box-shadow]',\n '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',\n 'disabled:opacity-30 data-[unavailable]:opacity-30',\n 'focus-visible:util-focus-borderless-ring outline-none',\n ]),\n calendarControllers: cva([\n 'size-9 rounded-lg',\n 'text-muted-foreground/80',\n 'transition-colors',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n calendarHeader: cva([\n 'size-9 rounded-lg p-0 text-xs font-medium text-muted-foreground/80',\n ]),\n calendarGrid: cva('[&_td]:p-2'),\n calendarListboxButton: cva([\n 'rounded-md text-sm font-medium transition-[color,box-shadow]',\n 'px-4 py-2',\n 'focus-visible:util-focus-ring outline-none',\n 'cursor-pointer',\n 'hover:bg-hover',\n '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',\n ]),\n select: cva([\n '[&svg]:text-muted-foreground/80',\n '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',\n 'focus-visible:util-focus-ring outline-none',\n 'h-input',\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground disabled:bg-disabled',\n 'cursor-pointer',\n ]),\n};\n","import type { ThemeComponent } from '@marigold/system';\nimport { cva } from '@marigold/system';\n\nexport const CloseButton: ThemeComponent<'CloseButton'> = cva([\n 'flex items-center justify-center whitespace-nowrap',\n 'cursor-pointer',\n 'transition-[color,box-shadow]',\n 'mixin-ring-focus-visible',\n 'rounded',\n '[&_svg]:size-4 [&_svg]:opacity-60 [&_svg]:transition-opacity hover:[&_svg]:opacity-100',\n]);\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const ComboBox: ThemeComponent<'ComboBox'> = cva(\n 'text-muted-foreground/80 right-2'\n);\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport {\n inputContainer,\n inputDisabled,\n inputInvalid,\n inputReadOnly,\n} from './Input.styles';\n\nexport const DateField: ThemeComponent<'DateField'> = {\n field: cva([\n 'h-input',\n inputContainer,\n inputDisabled,\n 'has-focus-visible:util-focus-ring outline-none',\n inputInvalid,\n inputReadOnly,\n 'invalid:focus-within:border-destructive invalid:focus-within:ring-destructive/20',\n ]),\n segment: cva([\n inputDisabled,\n 'inline rounded p-0.5 text-foreground caret-transparent outline-0 data-[type=literal]:px-0 data-[focused]:data-[placeholder]:text-foreground data-[focused]:text-foreground data-[type=literal]:text-placeholder ',\n 'data-[focused]:bg-focus',\n 'data-[placeholder]:disabled:text-disabled-foreground',\n 'invalid:data-[focused]:bg-destructive invalid:data-[focused]:data-[placeholder]:text-destructive-foreground invalid:data-[focused]:text-destructive-foreground invalid:placeholder:text-destructive invalid:text-destructive data-[placeholder]:text-placeholder',\n ]),\n action: cva(\n 'fill-muted-foreground disabled:text-disabled-foreground group-invalid/field:fill-destructive'\n ),\n};\n","import { cva } from '@marigold/system';\nimport type { ThemeComponent } from '@marigold/system';\n\nexport const inputContainer =\n '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';\nexport const inputDisabled =\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground disabled:bg-disabled';\nexport const inputInvalid =\n 'group-invalid/field:border-destructive group-invalid/field:focus:border-destructive group-invalid/field:focus:ring-destructive/20';\n\nexport const inputReadOnly = 'group-read-only/field:bg-muted';\n\nexport const Input: ThemeComponent<'Input'> = {\n input: cva([\n inputContainer,\n inputDisabled,\n inputInvalid,\n 'focus:util-focus-ring outline-none',\n inputReadOnly,\n 'h-input',\n 'placeholder:text-placeholder',\n '[&[type=file]]:cursor-pointer [&[type=file]]:border-solid [&[type=file]]:bg-background [&[type=file]]:p-0 [&[type=file]]:pr-3 [&[type=file]]:italic [&[type=file]]:text-muted-foreground/70',\n 'file:cursor-pointer file:me-3 file:h-full file:border-0 file:border-r file:border-solid file:border-input file:bg-transparent file:px-3 file:text-sm file:font-medium file:not-italic file:text-foreground',\n 'group-[[data-icon]]/input:pl-8',\n 'group-[[data-action]]/input:pr-7',\n ]),\n icon: cva([\n 'pointer-events-none left-1',\n 'text-muted-foreground disabled:text-disabled-foreground',\n ]),\n action: cva(['text-muted-foreground right-1']),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const DatePicker: ThemeComponent<'DatePicker'> = cva([\n 'relative h-input -top-2',\n 'text-muted-foreground/80',\n 'hover:text-brand',\n 'disabled:cursor-not-allowed',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Dialog: ThemeComponent<'Dialog'> = {\n closeButton: cva(['absolute top-6 right-3', 'size-7 ']),\n container: cva([\n 'flex flex-col gap-0 rounded-xl p-6 overflow-y-auto',\n 'util-surface-overlay',\n ]),\n header: cva('flex flex-col gap-1 text-center sm:text-left'),\n title: cva('text-lg font-semibold mb-1', {\n variants: {\n variant: {},\n size: {},\n },\n }),\n content: cva('text-muted-foreground text-sm'),\n actions: cva('flex flex-col-reverse gap-3 sm:flex-row sm:justify-end mt-4'),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Divider: ThemeComponent<'Divider'> = cva(\n 'bg-stone-300 h-px w-full',\n {\n variants: {\n variant: {\n bold: 'h-0.5',\n section: '',\n },\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Drawer: ThemeComponent<'Drawer'> = {\n overlay: cva([\n 'group/overlay',\n 'entering:animate-slide-in-right exiting:animate-slide-out-right',\n ]),\n container: cva(\n [\n 'relative grid-rows-[auto_1fr_auto]',\n 'util-surface-overlay border-y-0! border-r-0!',\n ],\n {\n variants: {\n size: {\n default: 'w-80',\n },\n },\n defaultVariants: {\n size: 'default',\n },\n }\n ),\n closeButton: cva(['absolute top-3.5 right-3 z-50', 'size-7']),\n header: cva('border-border border-b px-6 py-4'),\n title: cva('font-semibold text-base'),\n content: cva('px-6 py-4 overflow-y-auto outline-none'),\n actions: cva(\n 'flex flex-row gap-3 justify-end border-border border-t px-6 py-4'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const IconButton: ThemeComponent<'IconButton'> = cva('', {\n variants: {\n variant: {\n navigation:\n 'inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colors outline-offset-2 focus-visible:outline-2 outline-ring/30 disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 hover:bg-hover hover:text-hover-foreground h-9 py-2 gap-1 px-2.5',\n },\n },\n});\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Field: ThemeComponent<'Field'> = cva('space-y-2');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Footer: ThemeComponent<'Footer'> = cva('');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Header: ThemeComponent<'Header'> = cva('');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Headline: ThemeComponent<'Headline'> = cva('', {\n variants: {\n size: {\n 'level-1': 'text-5xl font-black',\n 'level-2': 'text-3xl font-black',\n 'level-3': 'text-2xl font-black',\n 'level-4': 'text-lg font-black',\n 'level-5': 'text-base font-black',\n 'level-6': 'text-base font-normal',\n },\n },\n});\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const HelpText: ThemeComponent<'HelpText'> = {\n container: cva([\n 'mt-2 text-xs text-muted-foreground group-disabled/field:text-disabled-foreground',\n 'group-invalid/field:text-destructive',\n ]),\n icon: cva(''),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Image: ThemeComponent<'Image'> = cva();\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Label: ThemeComponent<'Label'> = {\n container: cva([\n 'text-sm font-medium leading-4 text-foreground',\n 'group-disabled/field:cursor-not-allowed group-disabled/field:text-disabled-foreground',\n ]),\n indicator: cva(\n 'group-required/field:block text-destructive align-super size-2.5'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Link: ThemeComponent<'Link'> = cva(\n 'font-medium underline aria-[disabled]:cursor-not-allowed underline-offset-4'\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const List: ThemeComponent<'List'> = {\n ul: cva('ml-6 list-inside list-disc py-3'),\n ol: cva('ml-6 list-inside list-decimal py-3'),\n item: cva('pt-3'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const ListBox: ThemeComponent<'ListBox'> = {\n container: cva([\n 'overflow-hidden rounded-md border border-input group-[[data-trigger]]/popover:border-0',\n ]),\n list: cva(['bg-background p-1 text-sm outline-0']),\n item: cva([\n 'relative flex items-center gap-2 rounded-md px-2 py-1.5 text-sm text-foreground cursor-pointer',\n '[&_svg]:invisible [&_svg]:block',\n 'selected:bg-selected selected:[&_svg]:visible',\n 'hover:bg-hover hover:text-hover-foreground',\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground',\n 'focus-visible:util-focus-ring outline-none',\n 'cursor-default data-selection-mode:cursor-pointer',\n ]),\n section: cva(''),\n header: cva(\n '[&_header]:px-2 [&_header]:py-1.5 [&_header]:text-xs [&_header]:font-medium [&_header]:text-muted-foreground'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Menu: ThemeComponent<'Menu'> = {\n container: cva(['text-foreground z-50 overflow-hidden rounded-md p-1']),\n item: cva([\n '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',\n ]),\n section: cva(\n 'text-muted-foreground px-2 py-1.5 text-xs font-medium border-t border-t-border in-first:border-t-0'\n ),\n button: cva([\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md h-button px-4 py-2',\n 'text-sm font-medium outline-none cursor-pointer',\n 'border border-input bg-background shadow-xs',\n 'hover:bg-hover hover:text-foreground',\n 'transition-[color,box-shadow]',\n 'disabled:pointer-not-allowed disabled:bg-disabled disabled:text-disabled-foreground',\n 'focus-visible:util-focus-ring',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Modal: ThemeComponent<'Modal'> = cva(\n [\n 'sm:max-h-[min(640px,80vh)]',\n '[--dialog-spacing-x:1rem]', // Minimal padding to the horizontal edges\n 'w-[min(calc(100%_-_var(--dialog-spacing-x)),calc(var(--dialog-width)_-_var(--dialog-spacing-x)))]',\n ],\n {\n variants: {\n size: {\n xsmall: '[--dialog-width:480px]', // \"xs\" breakpoint\n small: '[--dialog-width:640px]', // sm breakpoint\n medium: '[--dialog-width:768px]', // md breakpoint\n },\n },\n defaultVariants: {\n size: 'small',\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const MultiSelect: ThemeComponent<'MultiSelect'> = {\n field: cva('grid gap-y-0.5'),\n container: cva([\n 'bg-background shadow-sm shadow-black/5 border',\n 'px-3 text-sm text-foreground transition-shadow',\n 'border border-input rounded-lg outline-hidden',\n 'aria-disabled:bg-disabled aria-disabled:text-disabled-foreground aria-disabled:hover:border-input aria-disabled:border-input aria-disabled:cursor-not-allowed',\n 'has-[input[data-invalid=true]]:border-destructive has-[input[data-invalid=true][data-focused=true]]:!border-destructive has-[input[data-invalid=true][data-focused=true]]:!ring-destructive/20',\n 'has-[input[data-focused=true]]:!border-ring has-[input[data-focused=true]]:!ring-ring/50 has-[input[data-focused=true]]:ring-[3px] has-[input[data-focused=true]]:!outline-none',\n 'has-[input[aria-readonly=true]]:bg-muted',\n ]),\n\n input: cva([\n 'bg-transparent flex-1 h-full',\n 'leading-loose',\n 'data-[focused]:outline-hidden outline-hidden border-0',\n 'disabled:cursor-not-allowed',\n 'group-data-[icon]/input:pl-5',\n 'group-data-[action]/input:pr-8',\n 'placeholder:text-placeholder',\n ]),\n\n tag: cva([\n 'border border-solid border-input rounded-md',\n 'bg-background',\n 'font-medium text-xs',\n 'flex items-center gap-1 ',\n 'h-7 px-2 cursor-default',\n ]),\n closeButton: cva(\n 'size-4 cursor-pointer border-none bg-transparent p-0 leading-normal outline-0'\n ),\n icon: cva('left-1'),\n listContainer: cva(['util-surface-overlay mt-0.5 rounded-lg outline-0']),\n list: cva('pointer-events-auto space-y-1 p-1'),\n option: cva([\n 'text-sm text-foreground',\n 'flex flex-col',\n 'cursor-pointer p-2 outline-hidden',\n '[&.isFocused:not([aria-disabled=true])]:!text-foreground [&.isFocused[aria-disabled=true]]:bg-transparent',\n 'aria-disabled:text-disabled-foreground aria-disabled:cursor-not-allowed',\n '[&.isFocused:not([aria-disabled=true])]:!bg-hover',\n ]),\n valueContainer: cva('gap-2 !py-2 min-h-input'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport { inputInvalid, inputReadOnly } from './Input.styles';\n\nexport const NumberField: ThemeComponent<'NumberField'> = {\n group: cva([\n 'rounded-lg h-input bg-background',\n 'has-focus-visible:util-focus-ring outline-none',\n inputInvalid,\n inputReadOnly,\n 'border border-input text-sm shadow-sm shadow-black/5 transition-shadow',\n 'data-invalid:data-[focus-within]:border-destructive data-invalid:data-[focus-within]:ring-destructive/20',\n ]),\n stepper: cva([\n 'w-7 h-full text-center shrink-0',\n 'disabled:text-disabled-foreground disabled:bg-disabled',\n 'border-input! first-of-type:border-r! last-of-type:border-l!',\n ]),\n input: cva([\n 'tabular-nums text-foreground px-3 py-2',\n 'min-w-0 flex-1 bg-transparent',\n 'group-[[data-stepper]]/field:text-center',\n 'disabled:text-disabled-foreground disabled:bg-disabled',\n ]),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Popover: ThemeComponent<'Popover'> = cva([\n 'group/popover',\n 'text-foreground z-50 overflow-y-auto overflow-x-hidden rounded-md outline-0',\n 'placement-top:mb-1',\n 'placement-bottom:mt-1',\n 'placement-right:ml-1',\n 'placement-left:mr-1',\n 'util-surface-overlay',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Radio: ThemeComponent<'Radio'> = {\n container: cva('group-disabled/radio:cursor-not-allowed'),\n label: cva([\n 'text-sm font-normal cursor-pointer',\n 'group-disabled/radio:text-disabled-foreground group-disabled/radio:cursor-not-allowed',\n ]),\n radio: cva([\n 'aspect-square size-4 rounded-full',\n 'border border-input shadow-sm shadow-black/5',\n 'group-focus-visible/radio:util-focus-ring outline-none',\n 'group-disabled/radio:group-selected/radio:bg-disabled group-disabled/radio:border-disabled! group-disabled/radio:cursor-not-allowed',\n 'group-selected/radio:border-brand group-selected/radio:bg-brand group-selected/radio:text-brand-foreground',\n ]),\n group: cva(),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Pagination: ThemeComponent<'Pagination'> = {\n navigationButton: cva([\n 'inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colors',\n 'focus-visible:util-focus-ring outline-none',\n 'disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n 'hover:bg-hover hover:text-hover-foreground',\n 'h-9 py-2 gap-1 px-2.5',\n 'cursor-pointer',\n ]),\n pageButton: cva([\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium transition-colors bg-background size-9',\n 'focus-visible:util-focus-ring outline-none',\n 'disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n 'data-[selected=true]:border data-[selected=true]:border-input data-[selected=true]:shadow-xs',\n 'hover:bg-hover hover:text-hover-foreground',\n 'cursor-pointer',\n ]),\n icon: cva('h-4 w-4'),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const ProgressCycle: ThemeComponent<'ProgressCycle'> = cva([\n 'stroke-foreground',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const SectionMessage: ThemeComponent<'SectionMessage'> = {\n container: cva(\n [\n 'grid-cols-[min-content_auto_min-content] gap-x-4 gap-y-1 [grid-template-areas:\"icon_title_close\"\"icon_content_content\"]',\n 'bg-background rounded-md border px-3 py-4',\n ],\n {\n variants: {\n variant: {\n success:\n 'border-success-muted-accent bg-success-muted text-success-muted-foreground',\n warning:\n 'border-warning-muted-accent bg-warning-muted text-warning-muted-foreground',\n info: 'border-info-muted-accent bg-info-muted text-info-muted-foreground',\n error:\n 'border-destructive-muted-accent bg-destructive-muted text-destructive-muted-foreground',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }\n ),\n title: cva('text-sm font-medium'),\n content: cva('text-muted-foreground text-sm leading-5 font-normal', {\n variants: {\n variant: {\n success: 'text-success-muted-foreground',\n warning: 'text-warning-muted-foreground',\n info: 'text-info-muted-foreground',\n error: 'text-destructive-muted-foreground',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }),\n icon: cva('h-6 w-6 align-baseline leading-none -mt-0.5', {\n variants: {\n variant: {\n success: 'text-success-muted-accent',\n warning: 'text-warning-muted-accent',\n info: 'text-info-muted-accent',\n error: 'text-destructive-muted-accent',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }),\n close: cva([\n 'size-8 text-foreground',\n '[&_svg]:size-6',\n '-my-1.5 -me-2', // align button with title\n ]),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport { inputContainer, inputDisabled, inputInvalid } from './Input.styles';\n\nexport const Select: ThemeComponent<'Select'> = {\n icon: cva('text-muted-foreground/80'),\n select: cva([\n inputContainer,\n inputInvalid,\n inputDisabled,\n 'focus-visible:util-focus-ring outline-none',\n 'h-input',\n 'cursor-pointer',\n '*:data-placeholder:text-placeholder',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Slider: ThemeComponent<'Slider'> = {\n container: cva('*:aria-hidden:hidden'),\n track: cva([\n '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',\n ]),\n selectedTrack: cva([\n 'absolute bg-black data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full rounded-lg',\n ]),\n thumb: cva([\n 'block h-5 w-5 rounded-full border-2 border-primary bg-background transition-colors',\n 'focus-visible:util-focus-borderless-ring outline-none',\n 'disabled:cursor-not-allowed',\n ]),\n output: cva('text-text-base text-sm'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Switch: ThemeComponent<'Switch'> = {\n container: cva(\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground'\n ),\n track: cva([\n 'flex h-6 w-10 shrink-0 cursor-pointer items-center rounded-full transition-colors',\n 'border-2 border-transparent', // this increases the hit area so it is 24px\n 'group-disabled/switch:bg-disabled group-disabled/switch:text-disabled-foreground group-selected/switch:group-disabled/switch:bg-disabled group-selected/switch:group-disabled/switch:text-disabled-foreground',\n 'group-selected/switch:bg-brand bg-input',\n 'group-focus-visible/switch:util-focus-borderless-ring outline-none',\n ]),\n thumb: cva([\n 'pointer-events-none block size-5 rounded-full',\n 'bg-background shadow-sm shadow-black/5',\n 'ring-0 transition-transform duration-150 ease-out-quint',\n 'group-selected/switch:translate-x-4 translate-x-0',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Table: ThemeComponent<'Table'> = {\n table: cva(\n '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',\n {\n variants: {\n variant: {\n default: '',\n grid: '',\n },\n },\n }\n ),\n thead: cva(\n // for sticky header\n 'bg-background/90 top-0 z-1 backdrop-blur-xs ',\n {\n variants: {\n variant: {\n default: '',\n grid: '',\n },\n },\n }\n ),\n headerRow: cva(['border-border border-b'], {\n variants: {\n variant: {\n default: '',\n grid: '[&>:not(:last-child)]:border-r [&>:not(:last-child)]:border-border',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }),\n header: cva(\n [\n 'h-12 px-3 align-middle font-medium text-muted-foreground last:text-right',\n 'focus-visible:outline-2 outline-offset-2 outline-ring/70',\n ],\n {\n variants: {\n variant: {\n default: '[&:has([type=checkbox])]:pr-0',\n grid: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n body: cva('[&_tr:last-child]:border-0'),\n row: cva(\n [\n 'border-b border-border transition-colors',\n 'focus-visible:outline-2 outline-offset-2 outline-ring/70',\n 'aria-[selected=true]:bg-muted hover:bg-transparent data-disabled:cursor-not-allowed',\n ],\n {\n variants: {\n variant: {\n default: '',\n grid: '[&>:not(:last-child)]:border-r [&>:not(:last-child)]:border-border',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n cell: cva(\n [\n 'p-3 align-middle last:text-right',\n 'focus-visible:outline-2 outline-offset-2 outline-ring/70',\n ],\n {\n variants: {\n variant: {\n default: '[&:has([type=checkbox])]:pr-0',\n grid: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Tabs: ThemeComponent<'Tabs'> = {\n container: cva('flex flex-col gap-2'),\n tabsList: cva([\n 'text-muted-foreground',\n 'flex items-center p-0.5 h-auto gap-2 border-b border-border px-0 py-1',\n ]),\n tab: cva([\n 'relative inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-colors',\n '[&_svg]:shrink-0',\n 'focus-visible:util-focus-ring outline-none',\n 'hover:bg-hover hover:text-foreground',\n 'disabled:pointer-events-none disabled:opacity-50',\n 'data-selected:text-foreground data-selected:hover:bg-hover',\n 'data-[selected=true]:after:bg-foreground after:absolute after:inset-x-0 after:bottom-0 after:-mb-1 after:h-0.5',\n ]),\n tabpanel: cva([\n 'py-4 rounded-sm',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Tag: ThemeComponent<'Tag'> = {\n tag: cva([\n 'relative inline-flex items-center gap-[7px]',\n 'border border-solid border-input rounded-md',\n 'font-medium text-xs',\n 'h-7 px-2 cursor-default',\n 'bg-background',\n 'data-selected:text-white data-selected:bg-brand',\n 'data-[disabled]:cursor-not-allowed data-[disabled]:text-disabled-foreground data-[disabled]:bg-disabled',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n closeButton: cva([\n 'size-4',\n 'disabled:bg-disabled disabled:text-disabled-foreground disabled:cursor-not-allowed',\n ]),\n listItems: cva('flex flex-wrap items-center gap-1'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport {\n inputContainer,\n inputDisabled,\n inputInvalid,\n inputReadOnly,\n} from './Input.styles';\n\nexport const TextArea: ThemeComponent<'TextArea'> = cva([\n inputContainer,\n inputInvalid,\n 'focus:util-focus-ring outline-none',\n inputDisabled,\n inputReadOnly,\n 'invalid:text-destructive',\n]);\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Text: ThemeComponent<'Text'> = cva('', {\n variants: {\n variant: {\n muted: 'text-muted-foreground',\n },\n size: {\n // Adding a default here, which beasically acts as an inherit\n default: '',\n xs: 'text-xs',\n sm: 'text-sm',\n base: 'text-base',\n lg: 'text-lg',\n xl: 'text-xl',\n '2xl': 'text-2xl',\n '3xl': 'text-3xl',\n '4xl': 'text-4xl',\n '5xl': 'text-5xl',\n '6xl': 'text-6xl',\n '7xl': 'text-7xl',\n '8xl': 'text-8xl',\n '9xl': 'text-9xl',\n },\n },\n defaultVariants: {\n size: 'default',\n },\n});\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Tooltip: ThemeComponent<'Tooltip'> = {\n container: cva(\n [\n 'text-brand-foreground bg-brand relative z-50 max-w-70 rounded-md border border-brand px-3 py-1.5 text-sm ',\n 'placement-top:mb-2',\n 'placement-bottom:mt-2',\n 'placement-right:ml-2',\n 'placement-left:mr-2',\n ],\n {\n variants: {\n variant: {\n default: '',\n white: 'text-secondary-foreground border-border bg-white',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n\n arrow: cva(\n [\n 'fill-brand stroke-brand',\n\n // right\n 'data-[placement=right]:[&_svg]:rotate-90',\n\n // left\n 'data-[placement=left]:[&_svg]:-rotate-90',\n\n // bottom\n 'data-[placement=bottom]:[&_svg]:rotate-180',\n ],\n {\n variants: {\n variant: {\n default: '',\n white: 'fill-white stroke-border ',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Underlay: ThemeComponent<'Underlay'> = cva('bg-black/80 px-4');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const XLoader: ThemeComponent<'XLoader'> = {\n container: cva('grid place-items-center text-brand', {\n variants: {\n variant: {\n default: '',\n inverted: 'text-secondary',\n },\n size: {\n default: 'size-20',\n large: 'size-36',\n fit: 'size-full',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }),\n loader: cva('size-full', {\n variants: {\n variant: {\n default: '',\n inverted: '',\n },\n size: {\n default: '',\n large: '',\n fit: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }),\n label: cva('text-current text-sm'),\n};\n","import { Theme } from '@marigold/system';\nimport * as components from './components';\n\nexport const theme: Theme = {\n name: 'rui',\n components,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,oBAAoC;AAE7B,IAAM,YAAyC;AAAA,EACpD,eAAW,mBAAI,YAAY;AAAA,IACzB,UAAU;AAA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AAC;AAAA,EACD,YAAQ,qBAAI,aAAa;AAAA,IACvB,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,OAAO;AAAA,QACP,KAAK;AAAA,MACP;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF,CAAC;AAAA,EACD,WAAO,qBAAI,sBAAsB;AACnC;;;ACnCO,IAAM,QAAe;AAAA,EAC1B,MAAM;AAAA,EACN;AACF;;;AhDHA,IAAO,gBAAQ;","names":["import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system","import_system"]}
package/dist/index.mjs CHANGED
@@ -111,33 +111,20 @@ var Accordion = {
111
111
 
112
112
  // src/components/Badge.styles.ts
113
113
  import { cva as cva2 } from "@marigold/system";
114
- var circle = "before:size-1.5 before:rounded-full pr-2";
115
114
  var Badge = cva2(
116
115
  [
117
- "inline-flex items-center justify-center rounded-full border px-1.5 text-xs font-medium leading-normal transition-colors",
116
+ "inline-flex items-center justify-center rounded-full px-2 text-xs font-medium leading-normal transition-colors",
118
117
  "focus-visible:util-focus-ring outline-none"
119
118
  ],
120
119
  {
121
120
  variants: {
122
121
  variant: {
123
- default: "border-border bg-white",
124
- primary: "bg-brand text-brand-foreground border-transparent",
125
- success: [
126
- "bg-success-muted text-success-muted-foreground border-success-muted-accent before:bg-success-muted-accent gap-1.5",
127
- circle
128
- ],
129
- warning: [
130
- "bg-warning-muted text-warning-muted-foreground border-warning-muted-accent before:bg-warning-muted-accent gap-1.5",
131
- circle
132
- ],
133
- info: [
134
- "bg-info-muted text-info-muted-foreground border-info-muted-accent before:bg-info-muted-accent gap-1.5",
135
- circle
136
- ],
137
- error: [
138
- "bg-destructive-muted text-destructive-muted-foreground border-destructive-muted-accent before:bg-destructive-muted-accent gap-1.5",
139
- circle
140
- ]
122
+ default: "bg-muted text-foreground border border-border",
123
+ primary: "bg-brand text-brand-foreground ",
124
+ success: "bg-success-muted text-success-muted-foreground",
125
+ warning: "bg-warning-muted text-warning-muted-foreground",
126
+ info: "bg-info-muted text-info-muted-foreground",
127
+ error: "bg-destructive-muted text-destructive-muted-foreground"
141
128
  }
142
129
  },
143
130
  defaultVariants: {
@@ -233,7 +220,23 @@ var Calendar = {
233
220
  calendarHeader: cva7([
234
221
  "size-9 rounded-lg p-0 text-xs font-medium text-muted-foreground/80"
235
222
  ]),
236
- calendarGrid: cva7("[&_td]:p-2")
223
+ calendarGrid: cva7("[&_td]:p-2"),
224
+ calendarListboxButton: cva7([
225
+ "rounded-md text-sm font-medium transition-[color,box-shadow]",
226
+ "px-4 py-2",
227
+ "focus-visible:util-focus-ring outline-none",
228
+ "cursor-pointer",
229
+ "hover:bg-hover",
230
+ "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"
231
+ ]),
232
+ select: cva7([
233
+ "[&svg]:text-muted-foreground/80",
234
+ "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",
235
+ "focus-visible:util-focus-ring outline-none",
236
+ "h-input",
237
+ "disabled:cursor-not-allowed disabled:text-disabled-foreground disabled:bg-disabled",
238
+ "cursor-pointer"
239
+ ])
237
240
  };
238
241
 
239
242
  // src/components/CloseButton.styles.ts
@@ -446,15 +449,7 @@ var Label = {
446
449
  // src/components/Link.styles.ts
447
450
  import { cva as cva24 } from "@marigold/system";
448
451
  var Link = cva24(
449
- "underline aria-[disabled]:cursor-not-allowed py-2 underline-offset-4",
450
- {
451
- variants: {
452
- variant: {
453
- menuItemLink: "",
454
- secondary: ""
455
- }
456
- }
457
- }
452
+ "font-medium underline aria-[disabled]:cursor-not-allowed underline-offset-4"
458
453
  );
459
454
 
460
455
  // src/components/List.styles.ts
@@ -471,13 +466,15 @@ var ListBox = {
471
466
  container: cva26([
472
467
  "overflow-hidden rounded-md border border-input group-[[data-trigger]]/popover:border-0"
473
468
  ]),
474
- list: cva26(["space-y-1 bg-background p-1 text-sm outline-0"]),
469
+ list: cva26(["bg-background p-1 text-sm outline-0"]),
475
470
  item: cva26([
476
- "relative flex flex-col rounded-md px-2 py-1.5 text-sm text-foreground cursor-pointer",
477
- "selected:bg-selected",
471
+ "relative flex items-center gap-2 rounded-md px-2 py-1.5 text-sm text-foreground cursor-pointer",
472
+ "[&_svg]:invisible [&_svg]:block",
473
+ "selected:bg-selected selected:[&_svg]:visible",
478
474
  "hover:bg-hover hover:text-hover-foreground",
479
475
  "disabled:cursor-not-allowed disabled:text-disabled-foreground",
480
- "focus-visible:util-focus-ring outline-none"
476
+ "focus-visible:util-focus-ring outline-none",
477
+ "cursor-default data-selection-mode:cursor-pointer"
481
478
  ]),
482
479
  section: cva26(""),
483
480
  header: cva26(
@@ -488,15 +485,22 @@ var ListBox = {
488
485
  // src/components/Menu.styles.ts
489
486
  import { cva as cva27 } from "@marigold/system";
490
487
  var Menu = {
491
- container: cva27([
492
- "text-foreground z-50 min-w-40 overflow-hidden rounded-md p-1"
493
- ]),
488
+ container: cva27(["text-foreground z-50 overflow-hidden rounded-md p-1"]),
494
489
  item: cva27([
495
- "focus:bg-focus focus:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none disabled:text-disabled-foreground"
490
+ "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"
496
491
  ]),
497
492
  section: cva27(
498
493
  "text-muted-foreground px-2 py-1.5 text-xs font-medium border-t border-t-border in-first:border-t-0"
499
- )
494
+ ),
495
+ button: cva27([
496
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md h-button px-4 py-2",
497
+ "text-sm font-medium outline-none cursor-pointer",
498
+ "border border-input bg-background shadow-xs",
499
+ "hover:bg-hover hover:text-foreground",
500
+ "transition-[color,box-shadow]",
501
+ "disabled:pointer-not-allowed disabled:bg-disabled disabled:text-disabled-foreground",
502
+ "focus-visible:util-focus-ring"
503
+ ])
500
504
  };
501
505
 
502
506
  // src/components/Modal.styles.ts
@@ -535,7 +539,6 @@ var MultiSelect = {
535
539
  "border border-input rounded-lg outline-hidden",
536
540
  "aria-disabled:bg-disabled aria-disabled:text-disabled-foreground aria-disabled:hover:border-input aria-disabled:border-input aria-disabled:cursor-not-allowed",
537
541
  "has-[input[data-invalid=true]]:border-destructive has-[input[data-invalid=true][data-focused=true]]:!border-destructive has-[input[data-invalid=true][data-focused=true]]:!ring-destructive/20",
538
- "[&>*:first-child]:p-0",
539
542
  "has-[input[data-focused=true]]:!border-ring has-[input[data-focused=true]]:!ring-ring/50 has-[input[data-focused=true]]:ring-[3px] has-[input[data-focused=true]]:!outline-none",
540
543
  "has-[input[aria-readonly=true]]:bg-muted"
541
544
  ]),
@@ -569,7 +572,7 @@ var MultiSelect = {
569
572
  "aria-disabled:text-disabled-foreground aria-disabled:cursor-not-allowed",
570
573
  "[&.isFocused:not([aria-disabled=true])]:!bg-hover"
571
574
  ]),
572
- valueContainer: cva29("gap-2 py-2 min-h-input")
575
+ valueContainer: cva29("gap-2 !py-2 min-h-input")
573
576
  };
574
577
 
575
578
  // src/components/NumberField.styles.ts
@@ -753,8 +756,9 @@ var Switch = {
753
756
  "disabled:cursor-not-allowed disabled:text-disabled-foreground"
754
757
  ),
755
758
  track: cva38([
756
- "inline-flex h-6 w-10 shrink-0 cursor-pointer items-center rounded-full",
759
+ "flex h-6 w-10 shrink-0 cursor-pointer items-center rounded-full transition-colors",
757
760
  "border-2 border-transparent",
761
+ // this increases the hit area so it is 24px
758
762
  "group-disabled/switch:bg-disabled group-disabled/switch:text-disabled-foreground group-selected/switch:group-disabled/switch:bg-disabled group-selected/switch:group-disabled/switch:text-disabled-foreground",
759
763
  "group-selected/switch:bg-brand bg-input",
760
764
  "group-focus-visible/switch:util-focus-borderless-ring outline-none"
@@ -762,8 +766,8 @@ var Switch = {
762
766
  thumb: cva38([
763
767
  "pointer-events-none block size-5 rounded-full",
764
768
  "bg-background shadow-sm shadow-black/5",
765
- "ring-0 transition-transform duration-300 ease-[cubic-bezier(0.16,1,0.3,1)]",
766
- "group-selected/switch:translate-x-4 translate-x-0 rtl:group-selected/switch:-translate-x-4"
769
+ "ring-0 transition-transform duration-150 ease-out-quint",
770
+ "group-selected/switch:translate-x-4 translate-x-0"
767
771
  ])
768
772
  };
769
773
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/index.ts","../src/components/Accordion.styles.ts","../src/components/Badge.styles.ts","../src/components/Body.styles.ts","../src/components/Button.styles.ts","../src/components/Card.styles.ts","../src/components/Checkbox.styles.ts","../src/components/Calendar.styles.ts","../src/components/CloseButton.styles.ts","../src/components/ComboBox.styles.ts","../src/components/DateField.styles.ts","../src/components/Input.styles.ts","../src/components/DatePicker.styles.ts","../src/components/Dialog.styles.ts","../src/components/Divider.styles.ts","../src/components/Drawer.styles.ts","../src/components/IconButton.styles.ts","../src/components/Field.styles.ts","../src/components/Footer.styles.ts","../src/components/Header.styles.ts","../src/components/Headline.styles.ts","../src/components/HelpText.styles.ts","../src/components/Image.styles.ts","../src/components/Label.styles.ts","../src/components/Link.styles.ts","../src/components/List.styles.ts","../src/components/ListBox.styles.ts","../src/components/Menu.styles.ts","../src/components/Modal.styles.ts","../src/components/Multiselect.styles.ts","../src/components/NumberField.styles.ts","../src/components/Popover.styles.ts","../src/components/Radio.styles.ts","../src/components/Pagination.styles.ts","../src/components/ProgressCycle.styles.ts","../src/components/SectionMessage.styles.ts","../src/components/Select.styles.ts","../src/components/Slider.styles.ts","../src/components/Switch.styles.ts","../src/components/Table.styles.ts","../src/components/Tabs.styles.ts","../src/components/Tag.styles.ts","../src/components/TextArea.styles.ts","../src/components/Text.styles.ts","../src/components/Tooltip.styles.ts","../src/components/Underlay.styles.ts","../src/components/XLoader.styles.ts","../src/theme.ts","../src/index.ts"],"sourcesContent":["export { Accordion } from './Accordion.styles';\nexport { Badge } from './Badge.styles';\nexport { Body } from './Body.styles';\nexport { Button } from './Button.styles';\nexport { Card } from './Card.styles';\nexport { Checkbox } from './Checkbox.styles';\nexport { Calendar } from './Calendar.styles';\nexport { CloseButton } from './CloseButton.styles';\nexport { ComboBox } from './ComboBox.styles';\nexport { DateField } from './DateField.styles';\nexport { DatePicker } from './DatePicker.styles';\nexport { Dialog } from './Dialog.styles';\nexport { Divider } from './Divider.styles';\nexport { Drawer } from './Drawer.styles';\nexport { IconButton } from './IconButton.styles';\nexport { Input } from './Input.styles';\nexport { Field } from './Field.styles';\nexport { Footer } from './Footer.styles';\nexport { Header } from './Header.styles';\nexport { Headline } from './Headline.styles';\nexport { HelpText } from './HelpText.styles';\nexport { Image } from './Image.styles';\nexport { Label } from './Label.styles';\nexport { Link } from './Link.styles';\nexport { List } from './List.styles';\nexport { ListBox } from './ListBox.styles';\nexport { Menu } from './Menu.styles';\nexport { Modal } from './Modal.styles';\nexport { MultiSelect } from './Multiselect.styles';\nexport { NumberField } from './NumberField.styles';\nexport { Popover } from './Popover.styles';\nexport { Radio } from './Radio.styles';\nexport { Pagination } from './Pagination.styles';\nexport { ProgressCycle } from './ProgressCycle.styles';\nexport { SectionMessage } from './SectionMessage.styles';\nexport { Select } from './Select.styles';\nexport { Slider } from './Slider.styles';\nexport { Switch } from './Switch.styles';\nexport { Table } from './Table.styles';\nexport { Tabs } from './Tabs.styles';\nexport { Tag } from './Tag.styles';\nexport { TextArea } from './TextArea.styles';\nexport { Text } from './Text.styles';\nexport { Tooltip } from './Tooltip.styles';\nexport { Underlay } from './Underlay.styles';\nexport { XLoader } from './XLoader.styles';\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Accordion: ThemeComponent<'Accordion'> = {\n container: cva('flex-col', {\n variants: {\n variant: {\n default: '',\n card: 'space-y-2',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }),\n item: cva('border-b last:border-b-0 border-border ', {\n variants: {\n variant: {\n default: '',\n card: [\n 'rounded-md border px-4 py-1 outline-none last:border-b',\n // TODO: focus is still shown even if an item within the item is focused\n 'has-focus-visible:util-focus-ring outline-none',\n ],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }),\n header: cva(\n [\n 'flex flex-1 w-full items-center justify-between gap-4 rounded-md py-2 cursor-pointer',\n 'text-left text-sm font-semibold leading-6 transition-all',\n 'hover:no-underline',\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground',\n ],\n {\n variants: {\n variant: {\n default: 'focus-visible:util-focus-ring outline-none',\n card: 'outline-none',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n content: cva('overflow-hidden in-data-[expanded]:pb-2'),\n icon: cva(\n 'pointer-events-none shrink-0 opacity-60 transition-transform duration-200'\n ),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nconst circle = 'before:size-1.5 before:rounded-full pr-2';\n\nexport const Badge: ThemeComponent<'Badge'> = cva(\n [\n 'inline-flex items-center justify-center rounded-full border px-1.5 text-xs font-medium leading-normal transition-colors',\n 'focus-visible:util-focus-ring outline-none',\n ],\n {\n variants: {\n variant: {\n default: 'border-border bg-white',\n primary: 'bg-brand text-brand-foreground border-transparent',\n success: [\n 'bg-success-muted text-success-muted-foreground border-success-muted-accent before:bg-success-muted-accent gap-1.5',\n circle,\n ],\n warning: [\n 'bg-warning-muted text-warning-muted-foreground border-warning-muted-accent before:bg-warning-muted-accent gap-1.5',\n circle,\n ],\n info: [\n 'bg-info-muted text-info-muted-foreground border-info-muted-accent before:bg-info-muted-accent gap-1.5',\n circle,\n ],\n error: [\n 'bg-destructive-muted text-destructive-muted-foreground border-destructive-muted-accent before:bg-destructive-muted-accent gap-1.5',\n circle,\n ],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Body: ThemeComponent<'Body'> = cva('');\n","import type { ThemeComponent } from '@marigold/system';\nimport { cva } from '@marigold/system';\n\nexport const Button: ThemeComponent<'Button'> = cva(\n [\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow]',\n '[&_svg]:shrink-0',\n 'focus-visible:util-focus-ring outline-none disabled:util-disabled',\n 'pending:text-disabled-foreground pending:bg-disabled pending:cursor-not-allowed pending:border-none',\n 'cursor-pointer',\n ],\n {\n variants: {\n variant: {\n primary:\n 'bg-brand text-brand-foreground shadow-sm shadow-black/5 hover:bg-brand/90',\n secondary:\n 'border border-input bg-background shadow-sm shadow-black/5 hover:bg-hover hover:text-foreground expanded:bg-hover',\n destructive:\n 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n ghost: 'hover:bg-hover hover:text-foreground',\n // only used for calendar in MonthListBox and YearListBox to have a hover over other options\n // TODO: Remove this in future and rethink the MonthListBox and YearListBox or use another variant\n text: 'hover:bg-hover',\n },\n size: {\n default: 'h-button px-4 py-2',\n small: 'h-button-small px-3 text-xs',\n large: 'h-button-large px-8',\n icon: 'size-9',\n },\n },\n defaultVariants: {\n variant: 'secondary',\n size: 'default',\n },\n }\n);\n","import { cva } from '@marigold/system';\nimport type { ThemeComponent } from '@marigold/system';\n\nexport const Card: ThemeComponent<'Card'> = cva([\n 'p-4 rounded-md',\n 'util-surface-raised',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Checkbox: ThemeComponent<'Checkbox'> = {\n checkbox: cva([\n 'grid size-4 shrink-0 place-content-center rounded',\n 'border border-input shadow-sm shadow-black/5',\n 'group-focus-visible/checkbox:util-focus-ring outline-none',\n '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',\n 'group-selected/checkbox:border-brand group-selected/checkbox:bg-brand group-selected/checkbox:text-brand-foreground',\n 'group-[indeterminate]/checkbox:border-brand group-[indeterminate]/checkbox:bg-brand group-[indeterminate]/checkbox:text-brand-foreground',\n ]),\n container: cva('cursor-pointer read-only:cursor-default'),\n label: cva(\n 'text-sm leading-4 group-[group=\"checkbox\"]/checkboxgroup:font-normal font-medium text-foreground group-disabled/checkbox:text-disabled-foreground'\n ),\n group: cva(),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Calendar: ThemeComponent<'Calendar'> = {\n calendar: cva(\n 'rounded-md border group-[[data-trigger]]/popover:border-0 border-border p-2'\n ),\n calendarCell: cva([\n 'relative flex size-9 items-center justify-center whitespace-nowrap rounded-lg',\n 'border border-transparent p-0 text-sm font-normal text-foreground',\n 'outline-offset-2 duration-150 [transition-property:color,background-color,border-radius,box-shadow]',\n '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',\n 'disabled:opacity-30 data-[unavailable]:opacity-30',\n 'focus-visible:util-focus-borderless-ring outline-none',\n ]),\n calendarControllers: cva([\n 'size-9 rounded-lg',\n 'text-muted-foreground/80',\n 'transition-colors',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n calendarHeader: cva([\n 'size-9 rounded-lg p-0 text-xs font-medium text-muted-foreground/80',\n ]),\n calendarGrid: cva('[&_td]:p-2'),\n};\n","import type { ThemeComponent } from '@marigold/system';\nimport { cva } from '@marigold/system';\n\nexport const CloseButton: ThemeComponent<'CloseButton'> = cva([\n 'flex items-center justify-center whitespace-nowrap',\n 'cursor-pointer',\n 'transition-[color,box-shadow]',\n 'mixin-ring-focus-visible',\n 'rounded',\n '[&_svg]:size-4 [&_svg]:opacity-60 [&_svg]:transition-opacity hover:[&_svg]:opacity-100',\n]);\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const ComboBox: ThemeComponent<'ComboBox'> = cva(\n 'text-muted-foreground/80 right-2'\n);\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport {\n inputContainer,\n inputDisabled,\n inputInvalid,\n inputReadOnly,\n} from './Input.styles';\n\nexport const DateField: ThemeComponent<'DateField'> = {\n field: cva([\n 'h-input',\n inputContainer,\n inputDisabled,\n 'has-focus-visible:util-focus-ring outline-none',\n inputInvalid,\n inputReadOnly,\n 'invalid:focus-within:border-destructive invalid:focus-within:ring-destructive/20',\n ]),\n segment: cva([\n inputDisabled,\n 'inline rounded p-0.5 text-foreground caret-transparent outline-0 data-[type=literal]:px-0 data-[focused]:data-[placeholder]:text-foreground data-[focused]:text-foreground data-[type=literal]:text-placeholder ',\n 'data-[focused]:bg-focus',\n 'data-[placeholder]:disabled:text-disabled-foreground',\n 'invalid:data-[focused]:bg-destructive invalid:data-[focused]:data-[placeholder]:text-destructive-foreground invalid:data-[focused]:text-destructive-foreground invalid:placeholder:text-destructive invalid:text-destructive data-[placeholder]:text-placeholder',\n ]),\n action: cva(\n 'fill-muted-foreground disabled:text-disabled-foreground group-invalid/field:fill-destructive'\n ),\n};\n","import { cva } from '@marigold/system';\nimport type { ThemeComponent } from '@marigold/system';\n\nexport const inputContainer =\n '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';\nexport const inputDisabled =\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground disabled:bg-disabled';\nexport const inputInvalid =\n 'group-invalid/field:border-destructive group-invalid/field:focus:border-destructive group-invalid/field:focus:ring-destructive/20';\n\nexport const inputReadOnly = 'group-read-only/field:bg-muted';\n\nexport const Input: ThemeComponent<'Input'> = {\n input: cva([\n inputContainer,\n inputDisabled,\n inputInvalid,\n 'focus:util-focus-ring outline-none',\n inputReadOnly,\n 'h-input',\n 'placeholder:text-placeholder',\n '[&[type=file]]:cursor-pointer [&[type=file]]:border-solid [&[type=file]]:bg-background [&[type=file]]:p-0 [&[type=file]]:pr-3 [&[type=file]]:italic [&[type=file]]:text-muted-foreground/70',\n 'file:cursor-pointer file:me-3 file:h-full file:border-0 file:border-r file:border-solid file:border-input file:bg-transparent file:px-3 file:text-sm file:font-medium file:not-italic file:text-foreground',\n 'group-[[data-icon]]/input:pl-8',\n 'group-[[data-action]]/input:pr-7',\n ]),\n icon: cva([\n 'pointer-events-none left-1',\n 'text-muted-foreground disabled:text-disabled-foreground',\n ]),\n action: cva(['text-muted-foreground right-1']),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const DatePicker: ThemeComponent<'DatePicker'> = cva([\n 'relative h-input -top-2',\n 'text-muted-foreground/80',\n 'hover:text-brand',\n 'disabled:cursor-not-allowed',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Dialog: ThemeComponent<'Dialog'> = {\n closeButton: cva(['absolute top-6 right-3', 'size-7 ']),\n container: cva([\n 'flex flex-col gap-0 rounded-xl p-6 overflow-y-auto',\n 'util-surface-overlay',\n ]),\n header: cva('flex flex-col gap-1 text-center sm:text-left'),\n title: cva('text-lg font-semibold mb-1', {\n variants: {\n variant: {},\n size: {},\n },\n }),\n content: cva('text-muted-foreground text-sm'),\n actions: cva('flex flex-col-reverse gap-3 sm:flex-row sm:justify-end mt-4'),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Divider: ThemeComponent<'Divider'> = cva(\n 'bg-stone-300 h-px w-full',\n {\n variants: {\n variant: {\n bold: 'h-0.5',\n section: '',\n },\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Drawer: ThemeComponent<'Drawer'> = {\n overlay: cva([\n 'group/overlay',\n 'entering:animate-slide-in-right exiting:animate-slide-out-right',\n ]),\n container: cva(\n [\n 'relative grid-rows-[auto_1fr_auto]',\n 'util-surface-overlay border-y-0! border-r-0!',\n ],\n {\n variants: {\n size: {\n default: 'w-80',\n },\n },\n defaultVariants: {\n size: 'default',\n },\n }\n ),\n closeButton: cva(['absolute top-3.5 right-3 z-50', 'size-7']),\n header: cva('border-border border-b px-6 py-4'),\n title: cva('font-semibold text-base'),\n content: cva('px-6 py-4 overflow-y-auto outline-none'),\n actions: cva(\n 'flex flex-row gap-3 justify-end border-border border-t px-6 py-4'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const IconButton: ThemeComponent<'IconButton'> = cva('', {\n variants: {\n variant: {\n navigation:\n 'inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colors outline-offset-2 focus-visible:outline-2 outline-ring/30 disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 hover:bg-hover hover:text-hover-foreground h-9 py-2 gap-1 px-2.5',\n },\n },\n});\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Field: ThemeComponent<'Field'> = cva('space-y-2');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Footer: ThemeComponent<'Footer'> = cva('');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Header: ThemeComponent<'Header'> = cva('');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Headline: ThemeComponent<'Headline'> = cva('', {\n variants: {\n size: {\n 'level-1': 'text-5xl font-black',\n 'level-2': 'text-3xl font-black',\n 'level-3': 'text-2xl font-black',\n 'level-4': 'text-lg font-black',\n 'level-5': 'text-base font-black',\n 'level-6': 'text-base font-normal',\n },\n },\n});\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const HelpText: ThemeComponent<'HelpText'> = {\n container: cva([\n 'mt-2 text-xs text-muted-foreground group-disabled/field:text-disabled-foreground',\n 'group-invalid/field:text-destructive',\n ]),\n icon: cva(''),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Image: ThemeComponent<'Image'> = cva();\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Label: ThemeComponent<'Label'> = {\n container: cva([\n 'text-sm font-medium leading-4 text-foreground',\n 'group-disabled/field:cursor-not-allowed group-disabled/field:text-disabled-foreground',\n ]),\n indicator: cva(\n 'group-required/field:block text-destructive align-super size-2.5'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Link: ThemeComponent<'Link'> = cva(\n 'underline aria-[disabled]:cursor-not-allowed py-2 underline-offset-4',\n {\n variants: {\n variant: {\n menuItemLink: '',\n secondary: '',\n },\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const List: ThemeComponent<'List'> = {\n ul: cva('ml-6 list-inside list-disc py-3'),\n ol: cva('ml-6 list-inside list-decimal py-3'),\n item: cva('pt-3'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const ListBox: ThemeComponent<'ListBox'> = {\n container: cva([\n 'overflow-hidden rounded-md border border-input group-[[data-trigger]]/popover:border-0',\n ]),\n list: cva(['space-y-1 bg-background p-1 text-sm outline-0']),\n item: cva([\n 'relative flex flex-col rounded-md px-2 py-1.5 text-sm text-foreground cursor-pointer',\n 'selected:bg-selected',\n 'hover:bg-hover hover:text-hover-foreground',\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n section: cva(''),\n header: cva(\n '[&_header]:px-2 [&_header]:py-1.5 [&_header]:text-xs [&_header]:font-medium [&_header]:text-muted-foreground'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Menu: ThemeComponent<'Menu'> = {\n container: cva([\n 'text-foreground z-50 min-w-40 overflow-hidden rounded-md p-1',\n ]),\n item: cva([\n 'focus:bg-focus focus:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none disabled:text-disabled-foreground',\n ]),\n section: cva(\n 'text-muted-foreground px-2 py-1.5 text-xs font-medium border-t border-t-border in-first:border-t-0'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Modal: ThemeComponent<'Modal'> = cva(\n [\n 'sm:max-h-[min(640px,80vh)]',\n '[--dialog-spacing-x:1rem]', // Minimal padding to the horizontal edges\n 'w-[min(calc(100%_-_var(--dialog-spacing-x)),calc(var(--dialog-width)_-_var(--dialog-spacing-x)))]',\n ],\n {\n variants: {\n size: {\n xsmall: '[--dialog-width:480px]', // \"xs\" breakpoint\n small: '[--dialog-width:640px]', // sm breakpoint\n medium: '[--dialog-width:768px]', // md breakpoint\n },\n },\n defaultVariants: {\n size: 'small',\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const MultiSelect: ThemeComponent<'MultiSelect'> = {\n field: cva('grid gap-y-0.5'),\n container: cva([\n 'bg-background shadow-sm shadow-black/5 border',\n 'px-3 text-sm text-foreground transition-shadow',\n 'border border-input rounded-lg outline-hidden',\n 'aria-disabled:bg-disabled aria-disabled:text-disabled-foreground aria-disabled:hover:border-input aria-disabled:border-input aria-disabled:cursor-not-allowed',\n 'has-[input[data-invalid=true]]:border-destructive has-[input[data-invalid=true][data-focused=true]]:!border-destructive has-[input[data-invalid=true][data-focused=true]]:!ring-destructive/20',\n '[&>*:first-child]:p-0',\n 'has-[input[data-focused=true]]:!border-ring has-[input[data-focused=true]]:!ring-ring/50 has-[input[data-focused=true]]:ring-[3px] has-[input[data-focused=true]]:!outline-none',\n 'has-[input[aria-readonly=true]]:bg-muted',\n ]),\n\n input: cva([\n 'bg-transparent flex-1 h-full',\n 'leading-loose',\n 'data-[focused]:outline-hidden outline-hidden border-0',\n 'disabled:cursor-not-allowed',\n 'group-data-[icon]/input:pl-5',\n 'group-data-[action]/input:pr-8',\n 'placeholder:text-placeholder',\n ]),\n\n tag: cva([\n 'border border-solid border-input rounded-md',\n 'bg-background',\n 'font-medium text-xs',\n 'flex items-center gap-1 ',\n 'h-7 px-2 cursor-default',\n ]),\n closeButton: cva(\n 'size-4 cursor-pointer border-none bg-transparent p-0 leading-normal outline-0'\n ),\n icon: cva('left-1'),\n listContainer: cva(['util-surface-overlay mt-0.5 rounded-lg outline-0']),\n list: cva('pointer-events-auto space-y-1 p-1'),\n option: cva([\n 'text-sm text-foreground',\n 'flex flex-col',\n 'cursor-pointer p-2 outline-hidden',\n '[&.isFocused:not([aria-disabled=true])]:!text-foreground [&.isFocused[aria-disabled=true]]:bg-transparent',\n 'aria-disabled:text-disabled-foreground aria-disabled:cursor-not-allowed',\n '[&.isFocused:not([aria-disabled=true])]:!bg-hover',\n ]),\n valueContainer: cva('gap-2 py-2 min-h-input'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport { inputInvalid, inputReadOnly } from './Input.styles';\n\nexport const NumberField: ThemeComponent<'NumberField'> = {\n group: cva([\n 'rounded-lg h-input bg-background',\n 'has-focus-visible:util-focus-ring outline-none',\n inputInvalid,\n inputReadOnly,\n 'border border-input text-sm shadow-sm shadow-black/5 transition-shadow',\n 'data-invalid:data-[focus-within]:border-destructive data-invalid:data-[focus-within]:ring-destructive/20',\n ]),\n stepper: cva([\n 'w-7 h-full text-center shrink-0',\n 'disabled:text-disabled-foreground disabled:bg-disabled',\n 'border-input! first-of-type:border-r! last-of-type:border-l!',\n ]),\n input: cva([\n 'tabular-nums text-foreground px-3 py-2',\n 'min-w-0 flex-1 bg-transparent',\n 'group-[[data-stepper]]/field:text-center',\n 'disabled:text-disabled-foreground disabled:bg-disabled',\n ]),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Popover: ThemeComponent<'Popover'> = cva([\n 'group/popover',\n 'text-foreground z-50 overflow-y-auto overflow-x-hidden rounded-md outline-0',\n 'placement-top:mb-1',\n 'placement-bottom:mt-1',\n 'placement-right:ml-1',\n 'placement-left:mr-1',\n 'util-surface-overlay',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Radio: ThemeComponent<'Radio'> = {\n container: cva('group-disabled/radio:cursor-not-allowed'),\n label: cva([\n 'text-sm font-normal cursor-pointer',\n 'group-disabled/radio:text-disabled-foreground group-disabled/radio:cursor-not-allowed',\n ]),\n radio: cva([\n 'aspect-square size-4 rounded-full',\n 'border border-input shadow-sm shadow-black/5',\n 'group-focus-visible/radio:util-focus-ring outline-none',\n 'group-disabled/radio:group-selected/radio:bg-disabled group-disabled/radio:border-disabled! group-disabled/radio:cursor-not-allowed',\n 'group-selected/radio:border-brand group-selected/radio:bg-brand group-selected/radio:text-brand-foreground',\n ]),\n group: cva(),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Pagination: ThemeComponent<'Pagination'> = {\n navigationButton: cva([\n 'inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colors',\n 'focus-visible:util-focus-ring outline-none',\n 'disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n 'hover:bg-hover hover:text-hover-foreground',\n 'h-9 py-2 gap-1 px-2.5',\n 'cursor-pointer',\n ]),\n pageButton: cva([\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium transition-colors bg-background size-9',\n 'focus-visible:util-focus-ring outline-none',\n 'disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n 'data-[selected=true]:border data-[selected=true]:border-input data-[selected=true]:shadow-xs',\n 'hover:bg-hover hover:text-hover-foreground',\n 'cursor-pointer',\n ]),\n icon: cva('h-4 w-4'),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const ProgressCycle: ThemeComponent<'ProgressCycle'> = cva([\n 'stroke-foreground',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const SectionMessage: ThemeComponent<'SectionMessage'> = {\n container: cva(\n [\n 'grid-cols-[min-content_auto_min-content] gap-x-4 gap-y-1 [grid-template-areas:\"icon_title_close\"\"icon_content_content\"]',\n 'bg-background rounded-md border px-3 py-4',\n ],\n {\n variants: {\n variant: {\n success:\n 'border-success-muted-accent bg-success-muted text-success-muted-foreground',\n warning:\n 'border-warning-muted-accent bg-warning-muted text-warning-muted-foreground',\n info: 'border-info-muted-accent bg-info-muted text-info-muted-foreground',\n error:\n 'border-destructive-muted-accent bg-destructive-muted text-destructive-muted-foreground',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }\n ),\n title: cva('text-sm font-medium'),\n content: cva('text-muted-foreground text-sm leading-5 font-normal', {\n variants: {\n variant: {\n success: 'text-success-muted-foreground',\n warning: 'text-warning-muted-foreground',\n info: 'text-info-muted-foreground',\n error: 'text-destructive-muted-foreground',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }),\n icon: cva('h-6 w-6 align-baseline leading-none -mt-0.5', {\n variants: {\n variant: {\n success: 'text-success-muted-accent',\n warning: 'text-warning-muted-accent',\n info: 'text-info-muted-accent',\n error: 'text-destructive-muted-accent',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }),\n close: cva([\n 'size-8 text-foreground',\n '[&_svg]:size-6',\n '-my-1.5 -me-2', // align button with title\n ]),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport { inputContainer, inputDisabled, inputInvalid } from './Input.styles';\n\nexport const Select: ThemeComponent<'Select'> = {\n icon: cva('text-muted-foreground/80'),\n select: cva([\n inputContainer,\n inputInvalid,\n inputDisabled,\n 'focus-visible:util-focus-ring outline-none',\n 'h-input',\n 'cursor-pointer',\n '*:data-placeholder:text-placeholder',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Slider: ThemeComponent<'Slider'> = {\n container: cva('*:aria-hidden:hidden'),\n track: cva([\n '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',\n ]),\n selectedTrack: cva([\n 'absolute bg-black data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full rounded-lg',\n ]),\n thumb: cva([\n 'block h-5 w-5 rounded-full border-2 border-primary bg-background transition-colors',\n 'focus-visible:util-focus-borderless-ring outline-none',\n 'disabled:cursor-not-allowed',\n ]),\n output: cva('text-text-base text-sm'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Switch: ThemeComponent<'Switch'> = {\n container: cva(\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground'\n ),\n track: cva([\n 'inline-flex h-6 w-10 shrink-0 cursor-pointer items-center rounded-full',\n 'border-2 border-transparent',\n 'group-disabled/switch:bg-disabled group-disabled/switch:text-disabled-foreground group-selected/switch:group-disabled/switch:bg-disabled group-selected/switch:group-disabled/switch:text-disabled-foreground',\n 'group-selected/switch:bg-brand bg-input',\n 'group-focus-visible/switch:util-focus-borderless-ring outline-none',\n ]),\n thumb: cva([\n 'pointer-events-none block size-5 rounded-full',\n 'bg-background shadow-sm shadow-black/5',\n 'ring-0 transition-transform duration-300 ease-[cubic-bezier(0.16,1,0.3,1)]',\n 'group-selected/switch:translate-x-4 translate-x-0 rtl:group-selected/switch:-translate-x-4',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Table: ThemeComponent<'Table'> = {\n table: cva(\n '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',\n {\n variants: {\n variant: {\n default: '',\n grid: '',\n },\n },\n }\n ),\n thead: cva(\n // for sticky header\n 'bg-background/90 top-0 z-1 backdrop-blur-xs ',\n {\n variants: {\n variant: {\n default: '',\n grid: '',\n },\n },\n }\n ),\n headerRow: cva(['border-border border-b'], {\n variants: {\n variant: {\n default: '',\n grid: '[&>:not(:last-child)]:border-r [&>:not(:last-child)]:border-border',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }),\n header: cva(\n [\n 'h-12 px-3 align-middle font-medium text-muted-foreground last:text-right',\n 'focus-visible:outline-2 outline-offset-2 outline-ring/70',\n ],\n {\n variants: {\n variant: {\n default: '[&:has([type=checkbox])]:pr-0',\n grid: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n body: cva('[&_tr:last-child]:border-0'),\n row: cva(\n [\n 'border-b border-border transition-colors',\n 'focus-visible:outline-2 outline-offset-2 outline-ring/70',\n 'aria-[selected=true]:bg-muted hover:bg-transparent data-disabled:cursor-not-allowed',\n ],\n {\n variants: {\n variant: {\n default: '',\n grid: '[&>:not(:last-child)]:border-r [&>:not(:last-child)]:border-border',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n cell: cva(\n [\n 'p-3 align-middle last:text-right',\n 'focus-visible:outline-2 outline-offset-2 outline-ring/70',\n ],\n {\n variants: {\n variant: {\n default: '[&:has([type=checkbox])]:pr-0',\n grid: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Tabs: ThemeComponent<'Tabs'> = {\n container: cva('flex flex-col gap-2'),\n tabsList: cva([\n 'text-muted-foreground',\n 'flex items-center p-0.5 h-auto gap-2 border-b border-border px-0 py-1',\n ]),\n tab: cva([\n 'relative inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-colors',\n '[&_svg]:shrink-0',\n 'focus-visible:util-focus-ring outline-none',\n 'hover:bg-hover hover:text-foreground',\n 'disabled:pointer-events-none disabled:opacity-50',\n 'data-selected:text-foreground data-selected:hover:bg-hover',\n 'data-[selected=true]:after:bg-foreground after:absolute after:inset-x-0 after:bottom-0 after:-mb-1 after:h-0.5',\n ]),\n tabpanel: cva([\n 'py-4 rounded-sm',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Tag: ThemeComponent<'Tag'> = {\n tag: cva([\n 'relative inline-flex items-center gap-[7px]',\n 'border border-solid border-input rounded-md',\n 'font-medium text-xs',\n 'h-7 px-2 cursor-default',\n 'bg-background',\n 'data-selected:text-white data-selected:bg-brand',\n 'data-[disabled]:cursor-not-allowed data-[disabled]:text-disabled-foreground data-[disabled]:bg-disabled',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n closeButton: cva([\n 'size-4',\n 'disabled:bg-disabled disabled:text-disabled-foreground disabled:cursor-not-allowed',\n ]),\n listItems: cva('flex flex-wrap items-center gap-1'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport {\n inputContainer,\n inputDisabled,\n inputInvalid,\n inputReadOnly,\n} from './Input.styles';\n\nexport const TextArea: ThemeComponent<'TextArea'> = cva([\n inputContainer,\n inputInvalid,\n 'focus:util-focus-ring outline-none',\n inputDisabled,\n inputReadOnly,\n 'invalid:text-destructive',\n]);\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Text: ThemeComponent<'Text'> = cva('', {\n variants: {\n variant: {\n muted: 'text-muted-foreground',\n },\n size: {\n // Adding a default here, which beasically acts as an inherit\n default: '',\n xs: 'text-xs',\n sm: 'text-sm',\n base: 'text-base',\n lg: 'text-lg',\n xl: 'text-xl',\n '2xl': 'text-2xl',\n '3xl': 'text-3xl',\n '4xl': 'text-4xl',\n '5xl': 'text-5xl',\n '6xl': 'text-6xl',\n '7xl': 'text-7xl',\n '8xl': 'text-8xl',\n '9xl': 'text-9xl',\n },\n },\n defaultVariants: {\n size: 'default',\n },\n});\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Tooltip: ThemeComponent<'Tooltip'> = {\n container: cva(\n [\n 'text-brand-foreground bg-brand relative z-50 max-w-70 rounded-md border border-brand px-3 py-1.5 text-sm ',\n 'placement-top:mb-2',\n 'placement-bottom:mt-2',\n 'placement-right:ml-2',\n 'placement-left:mr-2',\n ],\n {\n variants: {\n variant: {\n default: '',\n white: 'text-secondary-foreground border-border bg-white',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n\n arrow: cva(\n [\n 'fill-brand stroke-brand',\n\n // right\n 'data-[placement=right]:[&_svg]:rotate-90',\n\n // left\n 'data-[placement=left]:[&_svg]:-rotate-90',\n\n // bottom\n 'data-[placement=bottom]:[&_svg]:rotate-180',\n ],\n {\n variants: {\n variant: {\n default: '',\n white: 'fill-white stroke-border ',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Underlay: ThemeComponent<'Underlay'> = cva('bg-black/80 px-4');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const XLoader: ThemeComponent<'XLoader'> = {\n container: cva('grid place-items-center text-brand', {\n variants: {\n variant: {\n default: '',\n inverted: 'text-secondary',\n },\n size: {\n default: 'size-20',\n large: 'size-36',\n fit: 'size-full',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }),\n loader: cva('size-full', {\n variants: {\n variant: {\n default: '',\n inverted: '',\n },\n size: {\n default: '',\n large: '',\n fit: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }),\n label: cva('text-current text-sm'),\n};\n","import { Theme } from '@marigold/system';\nimport * as components from './components';\n\nexport const theme: Theme = {\n name: 'rui',\n components,\n};\n","import { theme } from './theme';\n\nexport { theme };\nexport default theme;\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,SAAyB,WAAW;AAE7B,IAAM,YAAyC;AAAA,EACpD,WAAW,IAAI,YAAY;AAAA,IACzB,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,IACX;A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;AAAA,EACD,QAAQA,MAAI,aAAa;AAAA,IACvB,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,OAAO;AAAA,QACP,KAAK;AAAA,MACP;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF,CAAC;AAAA,EACD,OAAOA,MAAI,sBAAsB;AACnC;;;ACnCO,IAAM,QAAe;AAAA,EAC1B,MAAM;AAAA,EACN;AACF;;;ACHA,IAAO,gBAAQ;","names":["cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva"]}
1
+ {"version":3,"sources":["../src/components/index.ts","../src/components/Accordion.styles.ts","../src/components/Badge.styles.ts","../src/components/Body.styles.ts","../src/components/Button.styles.ts","../src/components/Card.styles.ts","../src/components/Checkbox.styles.ts","../src/components/Calendar.styles.ts","../src/components/CloseButton.styles.ts","../src/components/ComboBox.styles.ts","../src/components/DateField.styles.ts","../src/components/Input.styles.ts","../src/components/DatePicker.styles.ts","../src/components/Dialog.styles.ts","../src/components/Divider.styles.ts","../src/components/Drawer.styles.ts","../src/components/IconButton.styles.ts","../src/components/Field.styles.ts","../src/components/Footer.styles.ts","../src/components/Header.styles.ts","../src/components/Headline.styles.ts","../src/components/HelpText.styles.ts","../src/components/Image.styles.ts","../src/components/Label.styles.ts","../src/components/Link.styles.ts","../src/components/List.styles.ts","../src/components/ListBox.styles.ts","../src/components/Menu.styles.ts","../src/components/Modal.styles.ts","../src/components/Multiselect.styles.ts","../src/components/NumberField.styles.ts","../src/components/Popover.styles.ts","../src/components/Radio.styles.ts","../src/components/Pagination.styles.ts","../src/components/ProgressCycle.styles.ts","../src/components/SectionMessage.styles.ts","../src/components/Select.styles.ts","../src/components/Slider.styles.ts","../src/components/Switch.styles.ts","../src/components/Table.styles.ts","../src/components/Tabs.styles.ts","../src/components/Tag.styles.ts","../src/components/TextArea.styles.ts","../src/components/Text.styles.ts","../src/components/Tooltip.styles.ts","../src/components/Underlay.styles.ts","../src/components/XLoader.styles.ts","../src/theme.ts","../src/index.ts"],"sourcesContent":["export { Accordion } from './Accordion.styles';\nexport { Badge } from './Badge.styles';\nexport { Body } from './Body.styles';\nexport { Button } from './Button.styles';\nexport { Card } from './Card.styles';\nexport { Checkbox } from './Checkbox.styles';\nexport { Calendar } from './Calendar.styles';\nexport { CloseButton } from './CloseButton.styles';\nexport { ComboBox } from './ComboBox.styles';\nexport { DateField } from './DateField.styles';\nexport { DatePicker } from './DatePicker.styles';\nexport { Dialog } from './Dialog.styles';\nexport { Divider } from './Divider.styles';\nexport { Drawer } from './Drawer.styles';\nexport { IconButton } from './IconButton.styles';\nexport { Input } from './Input.styles';\nexport { Field } from './Field.styles';\nexport { Footer } from './Footer.styles';\nexport { Header } from './Header.styles';\nexport { Headline } from './Headline.styles';\nexport { HelpText } from './HelpText.styles';\nexport { Image } from './Image.styles';\nexport { Label } from './Label.styles';\nexport { Link } from './Link.styles';\nexport { List } from './List.styles';\nexport { ListBox } from './ListBox.styles';\nexport { Menu } from './Menu.styles';\nexport { Modal } from './Modal.styles';\nexport { MultiSelect } from './Multiselect.styles';\nexport { NumberField } from './NumberField.styles';\nexport { Popover } from './Popover.styles';\nexport { Radio } from './Radio.styles';\nexport { Pagination } from './Pagination.styles';\nexport { ProgressCycle } from './ProgressCycle.styles';\nexport { SectionMessage } from './SectionMessage.styles';\nexport { Select } from './Select.styles';\nexport { Slider } from './Slider.styles';\nexport { Switch } from './Switch.styles';\nexport { Table } from './Table.styles';\nexport { Tabs } from './Tabs.styles';\nexport { Tag } from './Tag.styles';\nexport { TextArea } from './TextArea.styles';\nexport { Text } from './Text.styles';\nexport { Tooltip } from './Tooltip.styles';\nexport { Underlay } from './Underlay.styles';\nexport { XLoader } from './XLoader.styles';\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Accordion: ThemeComponent<'Accordion'> = {\n container: cva('flex-col', {\n variants: {\n variant: {\n default: '',\n card: 'space-y-2',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }),\n item: cva('border-b last:border-b-0 border-border ', {\n variants: {\n variant: {\n default: '',\n card: [\n 'rounded-md border px-4 py-1 outline-none last:border-b',\n // TODO: focus is still shown even if an item within the item is focused\n 'has-focus-visible:util-focus-ring outline-none',\n ],\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }),\n header: cva(\n [\n 'flex flex-1 w-full items-center justify-between gap-4 rounded-md py-2 cursor-pointer',\n 'text-left text-sm font-semibold leading-6 transition-all',\n 'hover:no-underline',\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground',\n ],\n {\n variants: {\n variant: {\n default: 'focus-visible:util-focus-ring outline-none',\n card: 'outline-none',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n content: cva('overflow-hidden in-data-[expanded]:pb-2'),\n icon: cva(\n 'pointer-events-none shrink-0 opacity-60 transition-transform duration-200'\n ),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Badge: ThemeComponent<'Badge'> = cva(\n [\n 'inline-flex items-center justify-center rounded-full px-2 text-xs font-medium leading-normal transition-colors',\n 'focus-visible:util-focus-ring outline-none',\n ],\n {\n variants: {\n variant: {\n default: 'bg-muted text-foreground border border-border',\n primary: 'bg-brand text-brand-foreground ',\n success: 'bg-success-muted text-success-muted-foreground',\n warning: 'bg-warning-muted text-warning-muted-foreground',\n info: 'bg-info-muted text-info-muted-foreground',\n error: 'bg-destructive-muted text-destructive-muted-foreground',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Body: ThemeComponent<'Body'> = cva('');\n","import type { ThemeComponent } from '@marigold/system';\nimport { cva } from '@marigold/system';\n\nexport const Button: ThemeComponent<'Button'> = cva(\n [\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow]',\n '[&_svg]:shrink-0',\n 'focus-visible:util-focus-ring outline-none disabled:util-disabled',\n 'pending:text-disabled-foreground pending:bg-disabled pending:cursor-not-allowed pending:border-none',\n 'cursor-pointer',\n ],\n {\n variants: {\n variant: {\n primary:\n 'bg-brand text-brand-foreground shadow-sm shadow-black/5 hover:bg-brand/90',\n secondary:\n 'border border-input bg-background shadow-sm shadow-black/5 hover:bg-hover hover:text-foreground expanded:bg-hover',\n destructive:\n 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n ghost: 'hover:bg-hover hover:text-foreground',\n // only used for calendar in MonthListBox and YearListBox to have a hover over other options\n // TODO: Remove this in future and rethink the MonthListBox and YearListBox or use another variant\n text: 'hover:bg-hover',\n },\n size: {\n default: 'h-button px-4 py-2',\n small: 'h-button-small px-3 text-xs',\n large: 'h-button-large px-8',\n icon: 'size-9',\n },\n },\n defaultVariants: {\n variant: 'secondary',\n size: 'default',\n },\n }\n);\n","import { cva } from '@marigold/system';\nimport type { ThemeComponent } from '@marigold/system';\n\nexport const Card: ThemeComponent<'Card'> = cva([\n 'p-4 rounded-md',\n 'util-surface-raised',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Checkbox: ThemeComponent<'Checkbox'> = {\n checkbox: cva([\n 'grid size-4 shrink-0 place-content-center rounded',\n 'border border-input shadow-sm shadow-black/5',\n 'group-focus-visible/checkbox:util-focus-ring outline-none',\n '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',\n 'group-selected/checkbox:border-brand group-selected/checkbox:bg-brand group-selected/checkbox:text-brand-foreground',\n 'group-[indeterminate]/checkbox:border-brand group-[indeterminate]/checkbox:bg-brand group-[indeterminate]/checkbox:text-brand-foreground',\n ]),\n container: cva('cursor-pointer read-only:cursor-default'),\n label: cva(\n 'text-sm leading-4 group-[group=\"checkbox\"]/checkboxgroup:font-normal font-medium text-foreground group-disabled/checkbox:text-disabled-foreground'\n ),\n group: cva(),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Calendar: ThemeComponent<'Calendar'> = {\n calendar: cva(\n 'rounded-md border group-[[data-trigger]]/popover:border-0 border-border p-2'\n ),\n calendarCell: cva([\n 'relative flex size-9 items-center justify-center whitespace-nowrap rounded-lg',\n 'border border-transparent p-0 text-sm font-normal text-foreground',\n 'outline-offset-2 duration-150 [transition-property:color,background-color,border-radius,box-shadow]',\n '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',\n 'disabled:opacity-30 data-[unavailable]:opacity-30',\n 'focus-visible:util-focus-borderless-ring outline-none',\n ]),\n calendarControllers: cva([\n 'size-9 rounded-lg',\n 'text-muted-foreground/80',\n 'transition-colors',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n calendarHeader: cva([\n 'size-9 rounded-lg p-0 text-xs font-medium text-muted-foreground/80',\n ]),\n calendarGrid: cva('[&_td]:p-2'),\n calendarListboxButton: cva([\n 'rounded-md text-sm font-medium transition-[color,box-shadow]',\n 'px-4 py-2',\n 'focus-visible:util-focus-ring outline-none',\n 'cursor-pointer',\n 'hover:bg-hover',\n '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',\n ]),\n select: cva([\n '[&svg]:text-muted-foreground/80',\n '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',\n 'focus-visible:util-focus-ring outline-none',\n 'h-input',\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground disabled:bg-disabled',\n 'cursor-pointer',\n ]),\n};\n","import type { ThemeComponent } from '@marigold/system';\nimport { cva } from '@marigold/system';\n\nexport const CloseButton: ThemeComponent<'CloseButton'> = cva([\n 'flex items-center justify-center whitespace-nowrap',\n 'cursor-pointer',\n 'transition-[color,box-shadow]',\n 'mixin-ring-focus-visible',\n 'rounded',\n '[&_svg]:size-4 [&_svg]:opacity-60 [&_svg]:transition-opacity hover:[&_svg]:opacity-100',\n]);\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const ComboBox: ThemeComponent<'ComboBox'> = cva(\n 'text-muted-foreground/80 right-2'\n);\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport {\n inputContainer,\n inputDisabled,\n inputInvalid,\n inputReadOnly,\n} from './Input.styles';\n\nexport const DateField: ThemeComponent<'DateField'> = {\n field: cva([\n 'h-input',\n inputContainer,\n inputDisabled,\n 'has-focus-visible:util-focus-ring outline-none',\n inputInvalid,\n inputReadOnly,\n 'invalid:focus-within:border-destructive invalid:focus-within:ring-destructive/20',\n ]),\n segment: cva([\n inputDisabled,\n 'inline rounded p-0.5 text-foreground caret-transparent outline-0 data-[type=literal]:px-0 data-[focused]:data-[placeholder]:text-foreground data-[focused]:text-foreground data-[type=literal]:text-placeholder ',\n 'data-[focused]:bg-focus',\n 'data-[placeholder]:disabled:text-disabled-foreground',\n 'invalid:data-[focused]:bg-destructive invalid:data-[focused]:data-[placeholder]:text-destructive-foreground invalid:data-[focused]:text-destructive-foreground invalid:placeholder:text-destructive invalid:text-destructive data-[placeholder]:text-placeholder',\n ]),\n action: cva(\n 'fill-muted-foreground disabled:text-disabled-foreground group-invalid/field:fill-destructive'\n ),\n};\n","import { cva } from '@marigold/system';\nimport type { ThemeComponent } from '@marigold/system';\n\nexport const inputContainer =\n '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';\nexport const inputDisabled =\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground disabled:bg-disabled';\nexport const inputInvalid =\n 'group-invalid/field:border-destructive group-invalid/field:focus:border-destructive group-invalid/field:focus:ring-destructive/20';\n\nexport const inputReadOnly = 'group-read-only/field:bg-muted';\n\nexport const Input: ThemeComponent<'Input'> = {\n input: cva([\n inputContainer,\n inputDisabled,\n inputInvalid,\n 'focus:util-focus-ring outline-none',\n inputReadOnly,\n 'h-input',\n 'placeholder:text-placeholder',\n '[&[type=file]]:cursor-pointer [&[type=file]]:border-solid [&[type=file]]:bg-background [&[type=file]]:p-0 [&[type=file]]:pr-3 [&[type=file]]:italic [&[type=file]]:text-muted-foreground/70',\n 'file:cursor-pointer file:me-3 file:h-full file:border-0 file:border-r file:border-solid file:border-input file:bg-transparent file:px-3 file:text-sm file:font-medium file:not-italic file:text-foreground',\n 'group-[[data-icon]]/input:pl-8',\n 'group-[[data-action]]/input:pr-7',\n ]),\n icon: cva([\n 'pointer-events-none left-1',\n 'text-muted-foreground disabled:text-disabled-foreground',\n ]),\n action: cva(['text-muted-foreground right-1']),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const DatePicker: ThemeComponent<'DatePicker'> = cva([\n 'relative h-input -top-2',\n 'text-muted-foreground/80',\n 'hover:text-brand',\n 'disabled:cursor-not-allowed',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Dialog: ThemeComponent<'Dialog'> = {\n closeButton: cva(['absolute top-6 right-3', 'size-7 ']),\n container: cva([\n 'flex flex-col gap-0 rounded-xl p-6 overflow-y-auto',\n 'util-surface-overlay',\n ]),\n header: cva('flex flex-col gap-1 text-center sm:text-left'),\n title: cva('text-lg font-semibold mb-1', {\n variants: {\n variant: {},\n size: {},\n },\n }),\n content: cva('text-muted-foreground text-sm'),\n actions: cva('flex flex-col-reverse gap-3 sm:flex-row sm:justify-end mt-4'),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Divider: ThemeComponent<'Divider'> = cva(\n 'bg-stone-300 h-px w-full',\n {\n variants: {\n variant: {\n bold: 'h-0.5',\n section: '',\n },\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Drawer: ThemeComponent<'Drawer'> = {\n overlay: cva([\n 'group/overlay',\n 'entering:animate-slide-in-right exiting:animate-slide-out-right',\n ]),\n container: cva(\n [\n 'relative grid-rows-[auto_1fr_auto]',\n 'util-surface-overlay border-y-0! border-r-0!',\n ],\n {\n variants: {\n size: {\n default: 'w-80',\n },\n },\n defaultVariants: {\n size: 'default',\n },\n }\n ),\n closeButton: cva(['absolute top-3.5 right-3 z-50', 'size-7']),\n header: cva('border-border border-b px-6 py-4'),\n title: cva('font-semibold text-base'),\n content: cva('px-6 py-4 overflow-y-auto outline-none'),\n actions: cva(\n 'flex flex-row gap-3 justify-end border-border border-t px-6 py-4'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const IconButton: ThemeComponent<'IconButton'> = cva('', {\n variants: {\n variant: {\n navigation:\n 'inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colors outline-offset-2 focus-visible:outline-2 outline-ring/30 disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 hover:bg-hover hover:text-hover-foreground h-9 py-2 gap-1 px-2.5',\n },\n },\n});\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Field: ThemeComponent<'Field'> = cva('space-y-2');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Footer: ThemeComponent<'Footer'> = cva('');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Header: ThemeComponent<'Header'> = cva('');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Headline: ThemeComponent<'Headline'> = cva('', {\n variants: {\n size: {\n 'level-1': 'text-5xl font-black',\n 'level-2': 'text-3xl font-black',\n 'level-3': 'text-2xl font-black',\n 'level-4': 'text-lg font-black',\n 'level-5': 'text-base font-black',\n 'level-6': 'text-base font-normal',\n },\n },\n});\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const HelpText: ThemeComponent<'HelpText'> = {\n container: cva([\n 'mt-2 text-xs text-muted-foreground group-disabled/field:text-disabled-foreground',\n 'group-invalid/field:text-destructive',\n ]),\n icon: cva(''),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Image: ThemeComponent<'Image'> = cva();\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Label: ThemeComponent<'Label'> = {\n container: cva([\n 'text-sm font-medium leading-4 text-foreground',\n 'group-disabled/field:cursor-not-allowed group-disabled/field:text-disabled-foreground',\n ]),\n indicator: cva(\n 'group-required/field:block text-destructive align-super size-2.5'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Link: ThemeComponent<'Link'> = cva(\n 'font-medium underline aria-[disabled]:cursor-not-allowed underline-offset-4'\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const List: ThemeComponent<'List'> = {\n ul: cva('ml-6 list-inside list-disc py-3'),\n ol: cva('ml-6 list-inside list-decimal py-3'),\n item: cva('pt-3'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const ListBox: ThemeComponent<'ListBox'> = {\n container: cva([\n 'overflow-hidden rounded-md border border-input group-[[data-trigger]]/popover:border-0',\n ]),\n list: cva(['bg-background p-1 text-sm outline-0']),\n item: cva([\n 'relative flex items-center gap-2 rounded-md px-2 py-1.5 text-sm text-foreground cursor-pointer',\n '[&_svg]:invisible [&_svg]:block',\n 'selected:bg-selected selected:[&_svg]:visible',\n 'hover:bg-hover hover:text-hover-foreground',\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground',\n 'focus-visible:util-focus-ring outline-none',\n 'cursor-default data-selection-mode:cursor-pointer',\n ]),\n section: cva(''),\n header: cva(\n '[&_header]:px-2 [&_header]:py-1.5 [&_header]:text-xs [&_header]:font-medium [&_header]:text-muted-foreground'\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Menu: ThemeComponent<'Menu'> = {\n container: cva(['text-foreground z-50 overflow-hidden rounded-md p-1']),\n item: cva([\n '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',\n ]),\n section: cva(\n 'text-muted-foreground px-2 py-1.5 text-xs font-medium border-t border-t-border in-first:border-t-0'\n ),\n button: cva([\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md h-button px-4 py-2',\n 'text-sm font-medium outline-none cursor-pointer',\n 'border border-input bg-background shadow-xs',\n 'hover:bg-hover hover:text-foreground',\n 'transition-[color,box-shadow]',\n 'disabled:pointer-not-allowed disabled:bg-disabled disabled:text-disabled-foreground',\n 'focus-visible:util-focus-ring',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Modal: ThemeComponent<'Modal'> = cva(\n [\n 'sm:max-h-[min(640px,80vh)]',\n '[--dialog-spacing-x:1rem]', // Minimal padding to the horizontal edges\n 'w-[min(calc(100%_-_var(--dialog-spacing-x)),calc(var(--dialog-width)_-_var(--dialog-spacing-x)))]',\n ],\n {\n variants: {\n size: {\n xsmall: '[--dialog-width:480px]', // \"xs\" breakpoint\n small: '[--dialog-width:640px]', // sm breakpoint\n medium: '[--dialog-width:768px]', // md breakpoint\n },\n },\n defaultVariants: {\n size: 'small',\n },\n }\n);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const MultiSelect: ThemeComponent<'MultiSelect'> = {\n field: cva('grid gap-y-0.5'),\n container: cva([\n 'bg-background shadow-sm shadow-black/5 border',\n 'px-3 text-sm text-foreground transition-shadow',\n 'border border-input rounded-lg outline-hidden',\n 'aria-disabled:bg-disabled aria-disabled:text-disabled-foreground aria-disabled:hover:border-input aria-disabled:border-input aria-disabled:cursor-not-allowed',\n 'has-[input[data-invalid=true]]:border-destructive has-[input[data-invalid=true][data-focused=true]]:!border-destructive has-[input[data-invalid=true][data-focused=true]]:!ring-destructive/20',\n 'has-[input[data-focused=true]]:!border-ring has-[input[data-focused=true]]:!ring-ring/50 has-[input[data-focused=true]]:ring-[3px] has-[input[data-focused=true]]:!outline-none',\n 'has-[input[aria-readonly=true]]:bg-muted',\n ]),\n\n input: cva([\n 'bg-transparent flex-1 h-full',\n 'leading-loose',\n 'data-[focused]:outline-hidden outline-hidden border-0',\n 'disabled:cursor-not-allowed',\n 'group-data-[icon]/input:pl-5',\n 'group-data-[action]/input:pr-8',\n 'placeholder:text-placeholder',\n ]),\n\n tag: cva([\n 'border border-solid border-input rounded-md',\n 'bg-background',\n 'font-medium text-xs',\n 'flex items-center gap-1 ',\n 'h-7 px-2 cursor-default',\n ]),\n closeButton: cva(\n 'size-4 cursor-pointer border-none bg-transparent p-0 leading-normal outline-0'\n ),\n icon: cva('left-1'),\n listContainer: cva(['util-surface-overlay mt-0.5 rounded-lg outline-0']),\n list: cva('pointer-events-auto space-y-1 p-1'),\n option: cva([\n 'text-sm text-foreground',\n 'flex flex-col',\n 'cursor-pointer p-2 outline-hidden',\n '[&.isFocused:not([aria-disabled=true])]:!text-foreground [&.isFocused[aria-disabled=true]]:bg-transparent',\n 'aria-disabled:text-disabled-foreground aria-disabled:cursor-not-allowed',\n '[&.isFocused:not([aria-disabled=true])]:!bg-hover',\n ]),\n valueContainer: cva('gap-2 !py-2 min-h-input'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport { inputInvalid, inputReadOnly } from './Input.styles';\n\nexport const NumberField: ThemeComponent<'NumberField'> = {\n group: cva([\n 'rounded-lg h-input bg-background',\n 'has-focus-visible:util-focus-ring outline-none',\n inputInvalid,\n inputReadOnly,\n 'border border-input text-sm shadow-sm shadow-black/5 transition-shadow',\n 'data-invalid:data-[focus-within]:border-destructive data-invalid:data-[focus-within]:ring-destructive/20',\n ]),\n stepper: cva([\n 'w-7 h-full text-center shrink-0',\n 'disabled:text-disabled-foreground disabled:bg-disabled',\n 'border-input! first-of-type:border-r! last-of-type:border-l!',\n ]),\n input: cva([\n 'tabular-nums text-foreground px-3 py-2',\n 'min-w-0 flex-1 bg-transparent',\n 'group-[[data-stepper]]/field:text-center',\n 'disabled:text-disabled-foreground disabled:bg-disabled',\n ]),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Popover: ThemeComponent<'Popover'> = cva([\n 'group/popover',\n 'text-foreground z-50 overflow-y-auto overflow-x-hidden rounded-md outline-0',\n 'placement-top:mb-1',\n 'placement-bottom:mt-1',\n 'placement-right:ml-1',\n 'placement-left:mr-1',\n 'util-surface-overlay',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Radio: ThemeComponent<'Radio'> = {\n container: cva('group-disabled/radio:cursor-not-allowed'),\n label: cva([\n 'text-sm font-normal cursor-pointer',\n 'group-disabled/radio:text-disabled-foreground group-disabled/radio:cursor-not-allowed',\n ]),\n radio: cva([\n 'aspect-square size-4 rounded-full',\n 'border border-input shadow-sm shadow-black/5',\n 'group-focus-visible/radio:util-focus-ring outline-none',\n 'group-disabled/radio:group-selected/radio:bg-disabled group-disabled/radio:border-disabled! group-disabled/radio:cursor-not-allowed',\n 'group-selected/radio:border-brand group-selected/radio:bg-brand group-selected/radio:text-brand-foreground',\n ]),\n group: cva(),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Pagination: ThemeComponent<'Pagination'> = {\n navigationButton: cva([\n 'inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colors',\n 'focus-visible:util-focus-ring outline-none',\n 'disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n 'hover:bg-hover hover:text-hover-foreground',\n 'h-9 py-2 gap-1 px-2.5',\n 'cursor-pointer',\n ]),\n pageButton: cva([\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium transition-colors bg-background size-9',\n 'focus-visible:util-focus-ring outline-none',\n 'disabled:pointer-events-none disabled:bg-disabled disabled:text-disabled-foreground',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n 'data-[selected=true]:border data-[selected=true]:border-input data-[selected=true]:shadow-xs',\n 'hover:bg-hover hover:text-hover-foreground',\n 'cursor-pointer',\n ]),\n icon: cva('h-4 w-4'),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const ProgressCycle: ThemeComponent<'ProgressCycle'> = cva([\n 'stroke-foreground',\n]);\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const SectionMessage: ThemeComponent<'SectionMessage'> = {\n container: cva(\n [\n 'grid-cols-[min-content_auto_min-content] gap-x-4 gap-y-1 [grid-template-areas:\"icon_title_close\"\"icon_content_content\"]',\n 'bg-background rounded-md border px-3 py-4',\n ],\n {\n variants: {\n variant: {\n success:\n 'border-success-muted-accent bg-success-muted text-success-muted-foreground',\n warning:\n 'border-warning-muted-accent bg-warning-muted text-warning-muted-foreground',\n info: 'border-info-muted-accent bg-info-muted text-info-muted-foreground',\n error:\n 'border-destructive-muted-accent bg-destructive-muted text-destructive-muted-foreground',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }\n ),\n title: cva('text-sm font-medium'),\n content: cva('text-muted-foreground text-sm leading-5 font-normal', {\n variants: {\n variant: {\n success: 'text-success-muted-foreground',\n warning: 'text-warning-muted-foreground',\n info: 'text-info-muted-foreground',\n error: 'text-destructive-muted-foreground',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }),\n icon: cva('h-6 w-6 align-baseline leading-none -mt-0.5', {\n variants: {\n variant: {\n success: 'text-success-muted-accent',\n warning: 'text-warning-muted-accent',\n info: 'text-info-muted-accent',\n error: 'text-destructive-muted-accent',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }),\n close: cva([\n 'size-8 text-foreground',\n '[&_svg]:size-6',\n '-my-1.5 -me-2', // align button with title\n ]),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport { inputContainer, inputDisabled, inputInvalid } from './Input.styles';\n\nexport const Select: ThemeComponent<'Select'> = {\n icon: cva('text-muted-foreground/80'),\n select: cva([\n inputContainer,\n inputInvalid,\n inputDisabled,\n 'focus-visible:util-focus-ring outline-none',\n 'h-input',\n 'cursor-pointer',\n '*:data-placeholder:text-placeholder',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Slider: ThemeComponent<'Slider'> = {\n container: cva('*:aria-hidden:hidden'),\n track: cva([\n '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',\n ]),\n selectedTrack: cva([\n 'absolute bg-black data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full rounded-lg',\n ]),\n thumb: cva([\n 'block h-5 w-5 rounded-full border-2 border-primary bg-background transition-colors',\n 'focus-visible:util-focus-borderless-ring outline-none',\n 'disabled:cursor-not-allowed',\n ]),\n output: cva('text-text-base text-sm'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Switch: ThemeComponent<'Switch'> = {\n container: cva(\n 'disabled:cursor-not-allowed disabled:text-disabled-foreground'\n ),\n track: cva([\n 'flex h-6 w-10 shrink-0 cursor-pointer items-center rounded-full transition-colors',\n 'border-2 border-transparent', // this increases the hit area so it is 24px\n 'group-disabled/switch:bg-disabled group-disabled/switch:text-disabled-foreground group-selected/switch:group-disabled/switch:bg-disabled group-selected/switch:group-disabled/switch:text-disabled-foreground',\n 'group-selected/switch:bg-brand bg-input',\n 'group-focus-visible/switch:util-focus-borderless-ring outline-none',\n ]),\n thumb: cva([\n 'pointer-events-none block size-5 rounded-full',\n 'bg-background shadow-sm shadow-black/5',\n 'ring-0 transition-transform duration-150 ease-out-quint',\n 'group-selected/switch:translate-x-4 translate-x-0',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Table: ThemeComponent<'Table'> = {\n table: cva(\n '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',\n {\n variants: {\n variant: {\n default: '',\n grid: '',\n },\n },\n }\n ),\n thead: cva(\n // for sticky header\n 'bg-background/90 top-0 z-1 backdrop-blur-xs ',\n {\n variants: {\n variant: {\n default: '',\n grid: '',\n },\n },\n }\n ),\n headerRow: cva(['border-border border-b'], {\n variants: {\n variant: {\n default: '',\n grid: '[&>:not(:last-child)]:border-r [&>:not(:last-child)]:border-border',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }),\n header: cva(\n [\n 'h-12 px-3 align-middle font-medium text-muted-foreground last:text-right',\n 'focus-visible:outline-2 outline-offset-2 outline-ring/70',\n ],\n {\n variants: {\n variant: {\n default: '[&:has([type=checkbox])]:pr-0',\n grid: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n body: cva('[&_tr:last-child]:border-0'),\n row: cva(\n [\n 'border-b border-border transition-colors',\n 'focus-visible:outline-2 outline-offset-2 outline-ring/70',\n 'aria-[selected=true]:bg-muted hover:bg-transparent data-disabled:cursor-not-allowed',\n ],\n {\n variants: {\n variant: {\n default: '',\n grid: '[&>:not(:last-child)]:border-r [&>:not(:last-child)]:border-border',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n cell: cva(\n [\n 'p-3 align-middle last:text-right',\n 'focus-visible:outline-2 outline-offset-2 outline-ring/70',\n ],\n {\n variants: {\n variant: {\n default: '[&:has([type=checkbox])]:pr-0',\n grid: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Tabs: ThemeComponent<'Tabs'> = {\n container: cva('flex flex-col gap-2'),\n tabsList: cva([\n 'text-muted-foreground',\n 'flex items-center p-0.5 h-auto gap-2 border-b border-border px-0 py-1',\n ]),\n tab: cva([\n 'relative inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-colors',\n '[&_svg]:shrink-0',\n 'focus-visible:util-focus-ring outline-none',\n 'hover:bg-hover hover:text-foreground',\n 'disabled:pointer-events-none disabled:opacity-50',\n 'data-selected:text-foreground data-selected:hover:bg-hover',\n 'data-[selected=true]:after:bg-foreground after:absolute after:inset-x-0 after:bottom-0 after:-mb-1 after:h-0.5',\n ]),\n tabpanel: cva([\n 'py-4 rounded-sm',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Tag: ThemeComponent<'Tag'> = {\n tag: cva([\n 'relative inline-flex items-center gap-[7px]',\n 'border border-solid border-input rounded-md',\n 'font-medium text-xs',\n 'h-7 px-2 cursor-default',\n 'bg-background',\n 'data-selected:text-white data-selected:bg-brand',\n 'data-[disabled]:cursor-not-allowed data-[disabled]:text-disabled-foreground data-[disabled]:bg-disabled',\n 'focus-visible:util-focus-ring outline-none',\n ]),\n closeButton: cva([\n 'size-4',\n 'disabled:bg-disabled disabled:text-disabled-foreground disabled:cursor-not-allowed',\n ]),\n listItems: cva('flex flex-wrap items-center gap-1'),\n};\n","import { type ThemeComponent, cva } from '@marigold/system';\nimport {\n inputContainer,\n inputDisabled,\n inputInvalid,\n inputReadOnly,\n} from './Input.styles';\n\nexport const TextArea: ThemeComponent<'TextArea'> = cva([\n inputContainer,\n inputInvalid,\n 'focus:util-focus-ring outline-none',\n inputDisabled,\n inputReadOnly,\n 'invalid:text-destructive',\n]);\n","import { type ThemeComponent, cva } from '@marigold/system';\n\nexport const Text: ThemeComponent<'Text'> = cva('', {\n variants: {\n variant: {\n muted: 'text-muted-foreground',\n },\n size: {\n // Adding a default here, which beasically acts as an inherit\n default: '',\n xs: 'text-xs',\n sm: 'text-sm',\n base: 'text-base',\n lg: 'text-lg',\n xl: 'text-xl',\n '2xl': 'text-2xl',\n '3xl': 'text-3xl',\n '4xl': 'text-4xl',\n '5xl': 'text-5xl',\n '6xl': 'text-6xl',\n '7xl': 'text-7xl',\n '8xl': 'text-8xl',\n '9xl': 'text-9xl',\n },\n },\n defaultVariants: {\n size: 'default',\n },\n});\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Tooltip: ThemeComponent<'Tooltip'> = {\n container: cva(\n [\n 'text-brand-foreground bg-brand relative z-50 max-w-70 rounded-md border border-brand px-3 py-1.5 text-sm ',\n 'placement-top:mb-2',\n 'placement-bottom:mt-2',\n 'placement-right:ml-2',\n 'placement-left:mr-2',\n ],\n {\n variants: {\n variant: {\n default: '',\n white: 'text-secondary-foreground border-border bg-white',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n\n arrow: cva(\n [\n 'fill-brand stroke-brand',\n\n // right\n 'data-[placement=right]:[&_svg]:rotate-90',\n\n // left\n 'data-[placement=left]:[&_svg]:-rotate-90',\n\n // bottom\n 'data-[placement=bottom]:[&_svg]:rotate-180',\n ],\n {\n variants: {\n variant: {\n default: '',\n white: 'fill-white stroke-border ',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n ),\n};\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const Underlay: ThemeComponent<'Underlay'> = cva('bg-black/80 px-4');\n","import { ThemeComponent, cva } from '@marigold/system';\n\nexport const XLoader: ThemeComponent<'XLoader'> = {\n container: cva('grid place-items-center text-brand', {\n variants: {\n variant: {\n default: '',\n inverted: 'text-secondary',\n },\n size: {\n default: 'size-20',\n large: 'size-36',\n fit: 'size-full',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }),\n loader: cva('size-full', {\n variants: {\n variant: {\n default: '',\n inverted: '',\n },\n size: {\n default: '',\n large: '',\n fit: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }),\n label: cva('text-current text-sm'),\n};\n","import { Theme } from '@marigold/system';\nimport * as components from './components';\n\nexport const theme: Theme = {\n name: 'rui',\n components,\n};\n","import { theme } from './theme';\n\nexport { theme };\nexport default theme;\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;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AA,MACE,UAAU;AAAA,QACR,SAAS;AAAA,UACP,SAAS;AAAA,UACT,OAAO;AAAA,QACT;AAAA,MACF;AAAA,MACA,iBAAiB;AAAA,QACf,SAAS;AAAA,MACX;AAAA,IACF;AAAA,EACF;AACF;;;ACjDA,SAAyB,OAAAC,aAAW;AAE7B,IAAM,WAAuCA,MAAI,kBAAkB;;;ACF1E,SAAyB,OAAAC,aAAW;AAE7B,IAAM,UAAqC;AAAA,EAChD,WAAWA,MAAI,sCAAsC;AAAA,IACnD,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,OAAO;AAAA,QACP,KAAK;AAAA,MACP;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF,CAAC;AAAA,EACD,QAAQA,MAAI,aAAa;AAAA,IACvB,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,OAAO;AAAA,QACP,KAAK;AAAA,MACP;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF,CAAC;AAAA,EACD,OAAOA,MAAI,sBAAsB;AACnC;;;ACnCO,IAAM,QAAe;AAAA,EAC1B,MAAM;AAAA,EACN;AACF;;;ACHA,IAAO,gBAAQ;","names":["cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva","cva"]}
package/dist/styles.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.3 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.5 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  @layer theme, base, components, utilities;
4
4
  @layer theme {
@@ -39,9 +39,7 @@
39
39
  --color-blue-900: oklch(37.9% 0.146 265.522);
40
40
  --color-blue-950: oklch(28.2% 0.091 267.935);
41
41
  --color-violet-500: oklch(60.6% 0.25 292.717);
42
- --color-pink-300: oklch(82.3% 0.12 346.018);
43
42
  --color-pink-600: oklch(59.2% 0.249 0.584);
44
- --color-pink-900: oklch(40.8% 0.153 2.432);
45
43
  --color-slate-100: oklch(96.8% 0.007 247.896);
46
44
  --color-slate-200: oklch(92.9% 0.013 255.508);
47
45
  --color-slate-300: oklch(86.9% 0.022 252.894);
@@ -371,6 +369,9 @@
371
369
  [data-theme="rui"] .bottom-0\! {
372
370
  bottom: calc(var(--spacing) * 0) !important;
373
371
  }
372
+ [data-theme="rui"] .left-0 {
373
+ left: calc(var(--spacing) * 0);
374
+ }
374
375
  [data-theme="rui"] .left-0\! {
375
376
  left: calc(var(--spacing) * 0) !important;
376
377
  }
@@ -1316,9 +1317,6 @@
1316
1317
  [data-theme="rui"] .min-w-0 {
1317
1318
  min-width: calc(var(--spacing) * 0);
1318
1319
  }
1319
- [data-theme="rui"] .min-w-40 {
1320
- min-width: calc(var(--spacing) * 40);
1321
- }
1322
1320
  [data-theme="rui"] .min-w-\[300px\] {
1323
1321
  min-width: 300px;
1324
1322
  }
@@ -1373,6 +1371,10 @@
1373
1371
  --tw-translate-x: calc(var(--spacing) * 0);
1374
1372
  translate: var(--tw-translate-x) var(--tw-translate-y);
1375
1373
  }
1374
+ [data-theme="rui"] .-translate-y-1\/2 {
1375
+ --tw-translate-y: calc(calc(1/2 * 100%) * -1);
1376
+ translate: var(--tw-translate-x) var(--tw-translate-y);
1377
+ }
1376
1378
  [data-theme="rui"] .translate-y-\[-50\%\] {
1377
1379
  --tw-translate-y: -50%;
1378
1380
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -1497,6 +1499,9 @@
1497
1499
  [data-theme="rui"] .grid-cols-\[auto_1fr\] {
1498
1500
  grid-template-columns: auto 1fr;
1499
1501
  }
1502
+ [data-theme="rui"] .grid-cols-\[min-content_1fr\] {
1503
+ grid-template-columns: min-content 1fr;
1504
+ }
1500
1505
  [data-theme="rui"] .grid-cols-\[min-content_auto_min-content\] {
1501
1506
  grid-template-columns: min-content auto min-content;
1502
1507
  }
@@ -1509,6 +1514,9 @@
1509
1514
  [data-theme="rui"] .grid-rows-\[auto_1fr_auto\] {
1510
1515
  grid-template-rows: auto 1fr auto;
1511
1516
  }
1517
+ [data-theme="rui"] .grid-rows-\[min-content_min-content\] {
1518
+ grid-template-rows: min-content min-content;
1519
+ }
1512
1520
  [data-theme="rui"] .flex-col {
1513
1521
  flex-direction: column;
1514
1522
  }
@@ -1964,9 +1972,6 @@
1964
1972
  [data-theme="rui"] .bg-pink-600 {
1965
1973
  background-color: var(--color-pink-600);
1966
1974
  }
1967
- [data-theme="rui"] .bg-pink-900 {
1968
- background-color: var(--color-pink-900);
1969
- }
1970
1975
  [data-theme="rui"] .bg-red-300 {
1971
1976
  background-color: var(--color-red-300);
1972
1977
  }
@@ -2297,6 +2302,9 @@
2297
2302
  [data-theme="rui"] .px-96 {
2298
2303
  padding-inline: calc(var(--spacing) * 96);
2299
2304
  }
2305
+ [data-theme="rui"] .\!py-2 {
2306
+ padding-block: calc(var(--spacing) * 2) !important;
2307
+ }
2300
2308
  [data-theme="rui"] .py-0 {
2301
2309
  padding-block: calc(var(--spacing) * 0);
2302
2310
  }
@@ -3047,9 +3055,6 @@
3047
3055
  [data-theme="rui"] .text-orange-700 {
3048
3056
  color: #c2520c;
3049
3057
  }
3050
- [data-theme="rui"] .text-pink-300 {
3051
- color: var(--color-pink-300);
3052
- }
3053
3058
  [data-theme="rui"] .text-secondary {
3054
3059
  color: var(--color-stone-50);
3055
3060
  }
@@ -3105,12 +3110,18 @@
3105
3110
  [data-theme="rui"] .caret-transparent {
3106
3111
  caret-color: transparent;
3107
3112
  }
3113
+ [data-theme="rui"] .opacity-0 {
3114
+ opacity: 0%;
3115
+ }
3108
3116
  [data-theme="rui"] .opacity-5 {
3109
3117
  opacity: 5%;
3110
3118
  }
3111
3119
  [data-theme="rui"] .opacity-60 {
3112
3120
  opacity: 60%;
3113
3121
  }
3122
+ [data-theme="rui"] .opacity-100 {
3123
+ opacity: 100%;
3124
+ }
3114
3125
  [data-theme="rui"] .util-surface-overlay {
3115
3126
  background: var(--surface-overlay);
3116
3127
  border: 1px var(--tw-border-style) var(--surface-overlay-border);
@@ -3139,6 +3150,10 @@
3139
3150
  --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
3140
3151
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3141
3152
  }
3153
+ [data-theme="rui"] .shadow-xs {
3154
+ --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
3155
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3156
+ }
3142
3157
  [data-theme="rui"] .ring-0 {
3143
3158
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
3144
3159
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -3242,10 +3257,6 @@
3242
3257
  --tw-duration: 300ms;
3243
3258
  transition-duration: 300ms;
3244
3259
  }
3245
- [data-theme="rui"] .ease-\[cubic-bezier\(0\.16\,1\,0\.3\,1\)\] {
3246
- --tw-ease: cubic-bezier(0.16,1,0.3,1);
3247
- transition-timing-function: cubic-bezier(0.16,1,0.3,1);
3248
- }
3249
3260
  [data-theme="rui"] .ease-in {
3250
3261
  --tw-ease: var(--ease-in);
3251
3262
  transition-timing-function: var(--ease-in);
@@ -3254,6 +3265,10 @@
3254
3265
  --tw-ease: var(--ease-out);
3255
3266
  transition-timing-function: var(--ease-out);
3256
3267
  }
3268
+ [data-theme="rui"] .ease-out-quint {
3269
+ --tw-ease: cubic-bezier(0.23, 1, 0.32, 1);
3270
+ transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
3271
+ }
3257
3272
  [data-theme="rui"] .animate-in {
3258
3273
  animation-name: enter;
3259
3274
  animation-duration: 150ms;
@@ -3328,15 +3343,15 @@
3328
3343
  [data-theme="rui"] .duration-300 {
3329
3344
  animation-duration: 300ms;
3330
3345
  }
3331
- [data-theme="rui"] .ease-\[cubic-bezier\(0\.16\,1\,0\.3\,1\)\] {
3332
- animation-timing-function: cubic-bezier(0.16,1,0.3,1);
3333
- }
3334
3346
  [data-theme="rui"] .ease-in {
3335
3347
  animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
3336
3348
  }
3337
3349
  [data-theme="rui"] .ease-out {
3338
3350
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
3339
3351
  }
3352
+ [data-theme="rui"] .ease-out-quint {
3353
+ animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
3354
+ }
3340
3355
  [data-theme="rui"] .fade-in {
3341
3356
  --tw-enter-opacity: 0;
3342
3357
  }
@@ -3774,43 +3789,6 @@
3774
3789
  color: var(--color-stone-500);
3775
3790
  }
3776
3791
  }
3777
- [data-theme="rui"] .before\:size-1\.5 {
3778
- [data-theme="rui"] &::before {
3779
- content: var(--tw-content);
3780
- width: calc(var(--spacing) * 1.5);
3781
- height: calc(var(--spacing) * 1.5);
3782
- }
3783
- }
3784
- [data-theme="rui"] .before\:rounded-full {
3785
- [data-theme="rui"] &::before {
3786
- content: var(--tw-content);
3787
- border-radius: calc(infinity * 1px);
3788
- }
3789
- }
3790
- [data-theme="rui"] .before\:bg-destructive-muted-accent {
3791
- [data-theme="rui"] &::before {
3792
- content: var(--tw-content);
3793
- background-color: var(--color-red-600);
3794
- }
3795
- }
3796
- [data-theme="rui"] .before\:bg-info-muted-accent {
3797
- [data-theme="rui"] &::before {
3798
- content: var(--tw-content);
3799
- background-color: var(--color-blue-600);
3800
- }
3801
- }
3802
- [data-theme="rui"] .before\:bg-success-muted-accent {
3803
- [data-theme="rui"] &::before {
3804
- content: var(--tw-content);
3805
- background-color: var(--color-green-600);
3806
- }
3807
- }
3808
- [data-theme="rui"] .before\:bg-warning-muted-accent {
3809
- [data-theme="rui"] &::before {
3810
- content: var(--tw-content);
3811
- background-color: var(--color-yellow-600);
3812
- }
3813
- }
3814
3792
  [data-theme="rui"] .after\:absolute {
3815
3793
  [data-theme="rui"] &::after {
3816
3794
  content: var(--tw-content);
@@ -4089,14 +4067,6 @@
4089
4067
  color: var(--color-stone-950);
4090
4068
  }
4091
4069
  }
4092
- [data-theme="rui"] .focus\:text-pink-600 {
4093
- [data-theme="rui"] &:where([data-rac])[data-focused] {
4094
- color: var(--color-pink-600);
4095
- }
4096
- [data-theme="rui"] &:where(:not([data-rac])):focus {
4097
- color: var(--color-pink-600);
4098
- }
4099
- }
4100
4070
  [data-theme="rui"] .focus\:outline-hidden {
4101
4071
  [data-theme="rui"] &:where([data-rac])[data-focused] {
4102
4072
  --tw-outline-style: none;
@@ -4456,6 +4426,48 @@
4456
4426
  }
4457
4427
  }
4458
4428
  }
4429
+ [data-theme="rui"] .aria-\[current\=true\]\:bg-brand {
4430
+ [data-theme="rui"] &[aria-current="true"] {
4431
+ background-color: var(--color-stone-950);
4432
+ }
4433
+ }
4434
+ [data-theme="rui"] .aria-\[current\=true\]\:text-brand-foreground {
4435
+ [data-theme="rui"] &[aria-current="true"] {
4436
+ color: var(--color-stone-50);
4437
+ }
4438
+ }
4439
+ [data-theme="rui"] .aria-\[current\=true\]\:shadow-sm {
4440
+ [data-theme="rui"] &[aria-current="true"] {
4441
+ --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
4442
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4443
+ }
4444
+ }
4445
+ [data-theme="rui"] .aria-\[current\=true\]\:shadow-black\/5 {
4446
+ [data-theme="rui"] &[aria-current="true"] {
4447
+ --tw-shadow-color: color-mix(in srgb, #000 5%, transparent);
4448
+ @supports (color: color-mix(in lab, red, red)) {
4449
+ --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-black) 5%, transparent) var(--tw-shadow-alpha), transparent);
4450
+ }
4451
+ }
4452
+ }
4453
+ [data-theme="rui"] .aria-\[current\=true\]\:hover\:bg-brand\/90 {
4454
+ [data-theme="rui"] &[aria-current="true"] {
4455
+ [data-theme="rui"] &:where([data-rac])[data-hovered] {
4456
+ background-color: color-mix(in srgb, oklch(14.7% 0.004 49.25) 90%, transparent);
4457
+ @supports (color: color-mix(in lab, red, red)) {
4458
+ background-color: color-mix(in oklab, var(--color-stone-950) 90%, transparent);
4459
+ }
4460
+ }
4461
+ @media (hover: hover) {
4462
+ [data-theme="rui"] &:where(:not([data-rac])):hover {
4463
+ background-color: color-mix(in srgb, oklch(14.7% 0.004 49.25) 90%, transparent);
4464
+ @supports (color: color-mix(in lab, red, red)) {
4465
+ background-color: color-mix(in oklab, var(--color-stone-950) 90%, transparent);
4466
+ }
4467
+ }
4468
+ }
4469
+ }
4470
+ }
4459
4471
  [data-theme="rui"] .aria-\[disabled\]\:cursor-not-allowed {
4460
4472
  [data-theme="rui"] &[aria-disabled] {
4461
4473
  cursor: not-allowed;
@@ -4830,14 +4842,6 @@
4830
4842
  background-color: var(--color-gray-500);
4831
4843
  }
4832
4844
  }
4833
- [data-theme="rui"] .rtl\:group-selected\/switch\:-translate-x-4 {
4834
- [data-theme="rui"] &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
4835
- [data-theme="rui"] &:is(:where(.group\/switch)[data-selected] *) {
4836
- --tw-translate-x: calc(var(--spacing) * -4);
4837
- translate: var(--tw-translate-x) var(--tw-translate-y);
4838
- }
4839
- }
4840
- }
4841
4845
  [data-theme="rui"] .placement-left\:mr-1 {
4842
4846
  [data-theme="rui"] &[data-placement="left"] {
4843
4847
  margin-right: calc(var(--spacing) * 1);
@@ -4997,6 +5001,16 @@
4997
5001
  pointer-events: none;
4998
5002
  }
4999
5003
  }
5004
+ [data-theme="rui"] .\[\&_svg\]\:invisible {
5005
+ [data-theme="rui"] & svg {
5006
+ visibility: hidden;
5007
+ }
5008
+ }
5009
+ [data-theme="rui"] .\[\&_svg\]\:block {
5010
+ [data-theme="rui"] & svg {
5011
+ display: block;
5012
+ }
5013
+ }
5000
5014
  [data-theme="rui"] .\[\&_svg\]\:size-4 {
5001
5015
  [data-theme="rui"] & svg {
5002
5016
  width: calc(var(--spacing) * 4);
@@ -5061,6 +5075,13 @@
5061
5075
  }
5062
5076
  }
5063
5077
  }
5078
+ [data-theme="rui"] .selected\:\[\&_svg\]\:visible {
5079
+ [data-theme="rui"] &[data-selected] {
5080
+ [data-theme="rui"] & svg {
5081
+ visibility: visible;
5082
+ }
5083
+ }
5084
+ }
5064
5085
  [data-theme="rui"] .\[\&_td\]\:border-border {
5065
5086
  [data-theme="rui"] & td {
5066
5087
  border-color: var(--color-stone-200);
@@ -5135,11 +5156,6 @@
5135
5156
  padding-right: calc(var(--spacing) * 0);
5136
5157
  }
5137
5158
  }
5138
- [data-theme="rui"] .\[\&\>\*\:first-child\]\:p-0 {
5139
- [data-theme="rui"] &>*:first-child {
5140
- padding: calc(var(--spacing) * 0);
5141
- }
5142
- }
5143
5159
  [data-theme="rui"] .\[\&\>\*\:not\(\:last-child\)\]\:mb-4 {
5144
5160
  [data-theme="rui"] &>*:not(:last-child) {
5145
5161
  margin-bottom: calc(var(--spacing) * 4);
@@ -5227,6 +5243,14 @@
5227
5243
  font-style: italic;
5228
5244
  }
5229
5245
  }
5246
+ [data-theme="rui"] .\[\&svg\]\:text-muted-foreground\/80 {
5247
+ [data-theme="rui"] &svg {
5248
+ color: color-mix(in srgb, oklch(55.3% 0.013 58.071) 80%, transparent);
5249
+ @supports (color: color-mix(in lab, red, red)) {
5250
+ color: color-mix(in oklab, var(--color-stone-500) 80%, transparent);
5251
+ }
5252
+ }
5253
+ }
5230
5254
  }
5231
5255
  @layer base {
5232
5256
  [data-theme="rui"] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marigold/theme-rui",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Marigold RUI Theme",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -43,18 +43,18 @@
43
43
  "directory": "themes/theme-rui"
44
44
  },
45
45
  "devDependencies": {
46
- "@tailwindcss/postcss": "4.1.3",
47
- "cssnano": "7.0.6",
46
+ "@tailwindcss/postcss": "4.1.5",
47
+ "cssnano": "7.0.7",
48
48
  "postcss-cli": "11.0.1",
49
- "tailwindcss": "4.1.3",
49
+ "tailwindcss": "4.1.5",
50
50
  "tsup": "8.4.0",
51
51
  "@marigold/tsconfig": "0.4.0"
52
52
  },
53
53
  "dependencies": {
54
54
  "tailwindcss-animate": "1.0.7",
55
55
  "tailwindcss-react-aria-components": "2.0.0",
56
- "@marigold/components": "12.0.0",
57
- "@marigold/system": "12.0.0",
56
+ "@marigold/components": "12.0.2",
57
+ "@marigold/system": "12.0.2",
58
58
  "@marigold/theme-plugins": "1.0.1"
59
59
  },
60
60
  "scripts": {