@marigold/theme-rui 1.1.1 → 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 +17 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +63 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -241,7 +241,23 @@ var Calendar = {
|
|
|
241
241
|
calendarHeader: (0, import_system7.cva)([
|
|
242
242
|
"size-9 rounded-lg p-0 text-xs font-medium text-muted-foreground/80"
|
|
243
243
|
]),
|
|
244
|
-
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
|
+
])
|
|
245
261
|
};
|
|
246
262
|
|
|
247
263
|
// src/components/CloseButton.styles.ts
|
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\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};\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;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,EACD,YAAQ;AAAA,IACN;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACA;AAAA,MACE,UAAU;AAAA,QACR,SAAS;AAAA,UACP,SAAS;AAAA,UACT,MAAM;AAAA,QACR;AAAA,MACF;AAAA,MACA,iBAAiB;AAAA,QACf,SAAS;AAAA,MACX;AAAA,IACF;AAAA,EACF;AAAA,EACA,aAAS,mBAAI,yCA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AAC,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;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,EACD,YAAQ;AAAA,IACN;AAAA,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AO,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
|
@@ -220,7 +220,23 @@ var Calendar = {
|
|
|
220
220
|
calendarHeader: cva7([
|
|
221
221
|
"size-9 rounded-lg p-0 text-xs font-medium text-muted-foreground/80"
|
|
222
222
|
]),
|
|
223
|
-
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
|
+
])
|
|
224
240
|
};
|
|
225
241
|
|
|
226
242
|
// src/components/CloseButton.styles.ts
|
package/dist/index.mjs.map
CHANGED
|
@@ -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\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};\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;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;AAAA,EACF,CAAC;AAAA,EACD,MAAM,IAAI,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,EACD,QAAQ;AAAA,IACN;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACA;AAAA,MACE,UAAU;AAAA,QACR,SAAS;AAAA,UACP,SAAS;AAAA,UACT,MAAM;AAAA,QACR;AAAA,MACF;AAAA,MACA,iBAAiB;AAAA,QACf,SAAS;AAAA,MACX;AAAA,IACF;AAAA,EACF;AAAA,EACA,SAAS,IAAI,yCAAyC;AAAA,EACtD,MAAM;AAAA,IACJ;AAAA,EACF;AACF;;;ACpDA,SAA8B,OAAAA,YAAW;AAElC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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"]}
|
|
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;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;AAAA,EACF,CAAC;AAAA,EACD,MAAM,IAAI,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,EACD,Q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,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
|
@@ -369,6 +369,9 @@
|
|
|
369
369
|
[data-theme="rui"] .bottom-0\! {
|
|
370
370
|
bottom: calc(var(--spacing) * 0) !important;
|
|
371
371
|
}
|
|
372
|
+
[data-theme="rui"] .left-0 {
|
|
373
|
+
left: calc(var(--spacing) * 0);
|
|
374
|
+
}
|
|
372
375
|
[data-theme="rui"] .left-0\! {
|
|
373
376
|
left: calc(var(--spacing) * 0) !important;
|
|
374
377
|
}
|
|
@@ -1368,6 +1371,10 @@
|
|
|
1368
1371
|
--tw-translate-x: calc(var(--spacing) * 0);
|
|
1369
1372
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1370
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
|
+
}
|
|
1371
1378
|
[data-theme="rui"] .translate-y-\[-50\%\] {
|
|
1372
1379
|
--tw-translate-y: -50%;
|
|
1373
1380
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -3103,12 +3110,18 @@
|
|
|
3103
3110
|
[data-theme="rui"] .caret-transparent {
|
|
3104
3111
|
caret-color: transparent;
|
|
3105
3112
|
}
|
|
3113
|
+
[data-theme="rui"] .opacity-0 {
|
|
3114
|
+
opacity: 0%;
|
|
3115
|
+
}
|
|
3106
3116
|
[data-theme="rui"] .opacity-5 {
|
|
3107
3117
|
opacity: 5%;
|
|
3108
3118
|
}
|
|
3109
3119
|
[data-theme="rui"] .opacity-60 {
|
|
3110
3120
|
opacity: 60%;
|
|
3111
3121
|
}
|
|
3122
|
+
[data-theme="rui"] .opacity-100 {
|
|
3123
|
+
opacity: 100%;
|
|
3124
|
+
}
|
|
3112
3125
|
[data-theme="rui"] .util-surface-overlay {
|
|
3113
3126
|
background: var(--surface-overlay);
|
|
3114
3127
|
border: 1px var(--tw-border-style) var(--surface-overlay-border);
|
|
@@ -4413,6 +4426,48 @@
|
|
|
4413
4426
|
}
|
|
4414
4427
|
}
|
|
4415
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
|
+
}
|
|
4416
4471
|
[data-theme="rui"] .aria-\[disabled\]\:cursor-not-allowed {
|
|
4417
4472
|
[data-theme="rui"] &[aria-disabled] {
|
|
4418
4473
|
cursor: not-allowed;
|
|
@@ -5188,6 +5243,14 @@
|
|
|
5188
5243
|
font-style: italic;
|
|
5189
5244
|
}
|
|
5190
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
|
+
}
|
|
5191
5254
|
}
|
|
5192
5255
|
@layer base {
|
|
5193
5256
|
[data-theme="rui"] {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marigold/theme-rui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Marigold RUI Theme",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"tailwindcss-animate": "1.0.7",
|
|
55
55
|
"tailwindcss-react-aria-components": "2.0.0",
|
|
56
|
-
"@marigold/components": "12.0.
|
|
57
|
-
"@marigold/system": "12.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": {
|