@frontile/theme 0.18.0-alpha.9 → 0.18.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/README.md +3 -2
  2. package/declarations/colors/config.d.ts +10 -4
  3. package/declarations/colors/semantic.d.ts +4 -0
  4. package/declarations/colors/types.d.ts +118 -13
  5. package/declarations/colors/util.d.ts +2 -1
  6. package/declarations/colors.d.ts +1 -0
  7. package/declarations/components/accordion.d.ts +308 -0
  8. package/declarations/components/alert.d.ts +294 -0
  9. package/declarations/components/avatar.d.ts +9 -7
  10. package/declarations/components/button.d.ts +118 -48
  11. package/declarations/components/calendar.d.ts +382 -0
  12. package/declarations/components/chip.d.ts +79 -42
  13. package/declarations/components/close-button.d.ts +9 -7
  14. package/declarations/components/command.d.ts +281 -0
  15. package/declarations/components/divider.d.ts +9 -7
  16. package/declarations/components/dropdown.d.ts +11 -9
  17. package/declarations/components/external-link.d.ts +160 -0
  18. package/declarations/components/forms/forms-legacy.d.ts +108 -84
  19. package/declarations/components/forms/forms.d.ts +652 -162
  20. package/declarations/components/index.d.ts +11 -0
  21. package/declarations/components/kbd.d.ts +315 -0
  22. package/declarations/components/listbox.d.ts +122 -23
  23. package/declarations/components/notification-card.d.ts +182 -111
  24. package/declarations/components/notifications-container.d.ts +111 -40
  25. package/declarations/components/overlays.d.ts +429 -29
  26. package/declarations/components/pagination.d.ts +359 -0
  27. package/declarations/components/popover.d.ts +11 -9
  28. package/declarations/components/progress-bar.d.ts +29 -12
  29. package/declarations/components/segmented-control.d.ts +463 -0
  30. package/declarations/components/shared.d.ts +9 -0
  31. package/declarations/components/skeleton.d.ts +151 -0
  32. package/declarations/components/spinner.d.ts +19 -12
  33. package/declarations/components/table.d.ts +17 -9
  34. package/declarations/components/tabs.d.ts +463 -0
  35. package/declarations/components/tooltip.d.ts +270 -0
  36. package/declarations/plugin/default-config.d.ts +10 -4
  37. package/declarations/tw.d.ts +9 -7
  38. package/declarations/types.d.ts +18 -1
  39. package/dist/colors.js +2 -1
  40. package/dist/colors.js.map +1 -1
  41. package/dist/index.js +3824 -5
  42. package/dist/index.js.map +1 -1
  43. package/dist/overlays-DIZlPzFH.js +654 -0
  44. package/dist/overlays-DIZlPzFH.js.map +1 -0
  45. package/dist/plugin.js +54 -83
  46. package/dist/plugin.js.map +1 -1
  47. package/dist/util-Dp_dlOPq.js +482 -0
  48. package/dist/util-Dp_dlOPq.js.map +1 -0
  49. package/package.json +12 -12
  50. package/src/index.css +64 -15
  51. package/src/styles/font-faces.css +23 -5
  52. package/src/styles/theme.css +18 -7
  53. package/src/styles/typography.css +36 -29
  54. package/declarations/colors/contrast.d.ts +0 -16
  55. package/declarations/colors/defaults.d.ts +0 -66
  56. package/declarations/colors/palette-dark.d.ts +0 -123
  57. package/declarations/colors/palette-light.d.ts +0 -123
  58. package/dist/config-CDp8PRHs.js +0 -370
  59. package/dist/config-CDp8PRHs.js.map +0 -1
  60. package/dist/forms-legacy-CgoY8bbm.js +0 -1967
  61. package/dist/forms-legacy-CgoY8bbm.js.map +0 -1
  62. package/dist/index.css +0 -63
  63. package/dist/styles/font-faces.css +0 -70
  64. package/dist/styles/theme.css +0 -48
  65. package/dist/styles/typography.css +0 -387
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import * as components from './components';\nimport type { ClassValue } from 'tailwind-variants';\nexport type * from './components';\nexport * from './tw';\n\nlet localStyles = components;\n\nfunction registerCustomStyles(styles: Partial<typeof components>): void {\n localStyles = { ...localStyles, ...styles };\n}\n\nfunction useStyles(): typeof components {\n return localStyles;\n}\n\nexport type SlotsToClasses<S extends string> = {\n [key in S]?: ClassValue;\n};\n\nexport { useStyles, registerCustomStyles };\nexport type { ClassValue };\n"],"names":["localStyles","components","registerCustomStyles","styles","useStyles"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAIA,WAAW,GAAGC,UAAU;AAE5B,SAASC,oBAAoBA,CAACC,MAAkC,EAAQ;AACtEH,EAAAA,WAAW,GAAG;AAAE,IAAA,GAAGA,WAAW;IAAE,GAAGG;GAAQ;AAC7C;AAEA,SAASC,SAASA,GAAsB;AACtC,EAAA,OAAOJ,WAAW;AACpB;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/components/shared.ts","../src/components/alert.ts","../src/components/avatar.ts","../src/components/button.ts","../src/components/chip.ts","../src/components/progress-bar.ts","../src/components/close-button.ts","../src/components/command.ts","../src/components/kbd.ts","../src/components/listbox.ts","../src/components/dropdown.ts","../src/components/popover.ts","../src/components/divider.ts","../src/components/external-link.ts","../src/components/skeleton.ts","../src/components/spinner.ts","../src/components/table.ts","../src/components/segmented-control.ts","../src/components/tabs.ts","../src/components/accordion.ts","../src/components/calendar.ts","../src/components/pagination.ts","../src/components/tooltip.ts","../src/components/notifications-container.ts","../src/components/notification-card.ts","../src/components/forms/forms.ts","../src/components/forms/forms-legacy.ts","../src/index.ts"],"sourcesContent":["export const focusVisibleRing = [\n 'outline-hidden',\n 'focus-visible:z-10',\n 'focus-visible:ring-3',\n 'focus-visible:ring-focus',\n 'focus-visible:ring-offset-2',\n 'focus-visible:ring-offset-background'\n];\n\n/**\n * The close button sitting at the end of a status row — NotificationCard's\n * and Alert's. It is the same affordance in both: a small round hit area,\n * pulled into the row's padding, that reveals a surface tint on hover.\n *\n * Colour is deliberately absent, so this stays intent- and variant-neutral\n * and each recipe keeps ownership of its own palette.\n */\nexport const statusRowCloseButton = [\n 'shrink-0 self-center -mr-1 inline-block p-1.5 rounded-full',\n 'transition duration-200',\n 'hover:bg-surface-overlay-soft',\n ...focusVisibleRing\n];\n\nexport const focusVisibleWithinRing = [\n 'outline-hidden',\n 'has-focus-visible:z-10',\n 'has-focus-visible:ring-3',\n 'has-[:focus-visible]:ring-focus',\n 'has-focus-visible:ring-offset-2',\n 'has-[:focus-visible]:ring-offset-background'\n];\n","import { tv } from '../tw';\nimport { statusRowCloseButton } from './shared';\n\n/**\n * `default` and `tonal` wear the same outer box. `tonal` carries its colour\n * on the inner element instead (see its compound variants), so the two must\n * stay identical out here — sharing the object keeps that structural rather\n * than a thing a future edit has to remember.\n *\n * `text-neutral` (the DEFAULT level) is only ~3:1 against a light surface —\n * below the 4.5:1 WCAG AA floor a description needs at this size.\n * `text-neutral-firm` clears it against every surface this text can sit on,\n * light or dark.\n */\nconst neutralSurface = {\n base: 'bg-surface-modal border-surface-overlay-mild',\n description: 'text-neutral-firm'\n};\n\nconst alert = tv({\n slots: {\n // The outer element: box treatment only (surface, border, radius).\n // No shadow and a tighter radius than `notificationCard` — an Alert\n // sits in the page rather than floating over it, and no transition\n // machinery or `stackPlacement`, which exist on the card only to serve\n // the notification stack's geometry.\n //\n // `overflow-hidden` is not optional: this element owns the radius, but\n // the `tonal` variant paints its tint on `inner` (it needs an opaque\n // surface underneath — see that slot). `inner` has square corners, so\n // without clipping here its tint paints over all four rounded corners\n // and the alert reads as a rectangle.\n base: 'w-full rounded-lg border overflow-hidden',\n // The inner element carries the row layout. Alert has no\n // ResizeObserver, so unlike the card it does not need this split for\n // measurement — it needs it because the `tonal` variant's translucent\n // `{intent}-soft` tint has to composite over an opaque surface. All\n // three variants share the structure rather than branching the DOM.\n inner: 'flex gap-3 p-4 font-body text-body-2xs',\n // `inline-flex items-center justify-center` turns this slot into a\n // fixed 20px centering box, and `[&>*]:size-full` forces whatever\n // element lands inside it (default intent glyph, or arbitrary content\n // yielded through the `icon` block, e.g. `<Spinner @size='sm' />`) to\n // fill that box rather than render at its own intrinsic size. Without\n // this, a yielded `Spinner` (`sm` = 24px) would overflow and\n // misalign inside the 20px slot — see alert.md's \"Icon\" section.\n // The trailing `!` marks the utility `!important` (Tailwind v4 syntax):\n // `[&>*]:size-full` is equal specificity to whatever size utility the\n // yielded component carries on itself (e.g. Spinner's own `w-6 h-6`), so\n // without `!` which one wins is just Tailwind's emission order — it\n // happens to work today but could flip on a Tailwind version bump or\n // build change with no structural guarantee. `!` makes this clamp always\n // win instead of relying on that ordering. Same pattern as\n // `motion-reduce:transform-none!` in notification-card.ts.\n icon: 'shrink-0 size-5 inline-flex items-center justify-center [&>*]:size-full!',\n content: 'grow min-w-0 flex flex-col gap-1',\n title: 'font-label text-label-xs',\n description: 'text-body-2xs',\n actions: 'flex flex-nowrap shrink-0 items-center gap-2 self-center',\n closeButton: statusRowCloseButton\n },\n\n variants: {\n // Intent alone paints nothing; every colour comes from an intent ×\n // variant compound below.\n //\n // The other half of an intent lives in the component: `INTENT_CONFIG` in\n // alert.gts maps it to a glyph and an ARIA role. Adding an intent means\n // adding it in both places — this list plus its three compound variants\n // here, and a row there.\n intent: {\n default: {},\n info: {},\n success: {},\n warning: {},\n danger: {}\n },\n variant: {\n default: neutralSurface,\n // Intent-independent out here: every `tonal` compound below tints the\n // *inner* element instead, so the outer box is `default`'s.\n tonal: neutralSurface,\n solid: {\n base: 'border-transparent'\n }\n },\n // Shape and alignment, independent of the colour `variant` above.\n //\n // `banner` is a full-bleed announcement bar spanning its container: no\n // radius, no border, content centred. Width is not part of it — `base`\n // is already `w-full`, so an Alert fills its container either way.\n layout: {\n inline: {},\n banner: {\n // `relative` is the positioning context for the pinned close button\n // below. `rounded-none` and `border-0` beat the base slot's\n // `rounded-lg` and `border` through tailwind-merge.\n base: 'relative rounded-none border-0',\n inner: 'justify-center',\n // `grow-0` is what actually centres the row. `content`'s `grow` is\n // what pins the text left and pushes trailing items right, so\n // without dropping it `justify-center` has no free space to\n // distribute and silently does nothing.\n content: 'grow-0 text-center',\n // Out of the flex flow entirely, so the text stays centred on the\n // full banner whether or not the alert is dismissible — a\n // dismissible and a non-dismissible banner stacked together line up.\n // `mr-0` cancels the inline layout's `-mr-1`, which would otherwise\n // pull the pinned button past the edge.\n closeButton: 'absolute right-3 top-1/2 -translate-y-1/2 mr-0'\n }\n },\n // With a description the icon centres on the *title's* line box rather\n // than on the whole (now multi-line) row, hence the negative offset.\n hasDescription: {\n true: {\n inner: 'items-start',\n icon: 'mt-[calc((var(--text-label-xs)*var(--line-height-tight)-1.25rem)/2)]'\n },\n false: {\n inner: 'items-center'\n }\n },\n // Paints nothing alone — it only matters combined with `layout: 'banner'`\n // below, where a present close button needs room reserved for it.\n hasCloseButton: {\n true: {},\n false: {}\n }\n },\n\n compoundVariants: [\n // default: neutral surface, colour carried by the icon and title.\n // The `default` intent has no accent colour to lend the title emphasis,\n // so the title earns its prominence from weight of ink instead, sitting\n // a level above the icon.\n {\n variant: 'default',\n intent: 'default',\n class: { icon: 'text-neutral-firm', title: 'text-neutral-bolder' }\n },\n {\n variant: 'default',\n intent: 'info',\n class: { icon: 'text-primary', title: 'text-primary' }\n },\n {\n // `success-firm` is only ~2.3:1 on a light surface; `bolder` clears\n // AA in both themes. Same measurement the card's theme records.\n variant: 'default',\n intent: 'success',\n class: { icon: 'text-success-bolder', title: 'text-success-bolder' }\n },\n {\n // `warning-firm` is only ~3:1 on a light surface; `bolder` clears AA\n // in both themes.\n variant: 'default',\n intent: 'warning',\n class: { icon: 'text-warning-bolder', title: 'text-warning-bolder' }\n },\n {\n variant: 'default',\n intent: 'danger',\n class: { icon: 'text-danger-firm', title: 'text-danger-firm' }\n },\n\n // tonal: an opaque outer surface with the translucent `{intent}-soft`\n // tint and its `on-*` contrast ink applied to the inner element, which\n // composites over that opaque surface. Same recipe as Button's\n // `appearance: 'tonal'` and NotificationCard's.\n {\n variant: 'tonal',\n intent: 'default',\n class: {\n inner: 'bg-neutral-soft',\n icon: 'text-on-neutral-soft',\n title: 'text-on-neutral-soft'\n }\n },\n {\n variant: 'tonal',\n intent: 'info',\n class: {\n inner: 'bg-primary-soft',\n icon: 'text-on-primary-soft',\n title: 'text-on-primary-soft'\n }\n },\n {\n variant: 'tonal',\n intent: 'success',\n class: {\n inner: 'bg-success-soft',\n icon: 'text-on-success-soft',\n title: 'text-on-success-soft'\n }\n },\n {\n variant: 'tonal',\n intent: 'warning',\n class: {\n inner: 'bg-warning-soft',\n icon: 'text-on-warning-soft',\n title: 'text-on-warning-soft'\n }\n },\n {\n variant: 'tonal',\n intent: 'danger',\n class: {\n inner: 'bg-danger-soft',\n icon: 'text-on-danger-soft',\n title: 'text-on-danger-soft'\n }\n },\n\n // solid: filled surface, contrast ink. The description uses the\n // full-strength `on-{intent}` ink rather than a translucent cut — a\n // translucent cut failed WCAG AA in the equivalent card recipe.\n {\n variant: 'solid',\n intent: 'default',\n class: {\n base: 'bg-neutral text-on-neutral',\n icon: 'text-on-neutral',\n title: 'text-on-neutral',\n description: 'text-on-neutral'\n }\n },\n {\n variant: 'solid',\n intent: 'info',\n class: {\n base: 'bg-primary text-on-primary',\n icon: 'text-on-primary',\n title: 'text-on-primary',\n description: 'text-on-primary'\n }\n },\n {\n variant: 'solid',\n intent: 'success',\n class: {\n base: 'bg-success text-on-success',\n icon: 'text-on-success',\n title: 'text-on-success',\n description: 'text-on-success'\n }\n },\n {\n variant: 'solid',\n intent: 'warning',\n class: {\n base: 'bg-warning text-on-warning',\n icon: 'text-on-warning',\n title: 'text-on-warning',\n description: 'text-on-warning'\n }\n },\n {\n variant: 'solid',\n intent: 'danger',\n class: {\n base: 'bg-danger text-on-danger',\n icon: 'text-on-danger',\n title: 'text-on-danger',\n description: 'text-on-danger'\n }\n },\n\n // A banner centres its text, so the inline layout's top-aligned icon and\n // its calculated negative offset (see the `hasDescription` variant) read\n // as misaligned. Centre the row instead, whether or not it wraps.\n {\n layout: 'banner',\n hasDescription: true,\n class: { inner: 'items-center', icon: 'mt-0' }\n },\n // The pinned close button (see `layout.banner.closeButton` above) sits\n // outside the flex flow, so nothing about the row's own layout makes\n // room for it — a centred, wrapping title can run underneath it. Reserve\n // space on both sides rather than only the trailing edge: the button is\n // 28px wide starting 12px from the edge (occupying the outer 40px),\n // `px-11` (44px) clears it with a little breathing room, and doing it\n // symmetrically keeps the centring axis at the banner's true centre —\n // padding only on the right would clear the button but drag the text off\n // centre, undoing the reason the button is pinned in the first place.\n // `px-11` only touches the horizontal axis, so `inner`'s vertical `p-4`\n // is untouched. Conditional on `hasCloseButton` so a non-dismissible\n // banner keeps using its full width.\n {\n layout: 'banner',\n hasCloseButton: true,\n class: { inner: 'px-11' }\n }\n ],\n\n defaultVariants: {\n intent: 'default',\n variant: 'default',\n layout: 'inline',\n hasDescription: false,\n hasCloseButton: false\n }\n});\n\nexport type AlertSlots = keyof ReturnType<typeof alert>;\nexport { alert };\n","import { tv, type VariantProps } from '../tw';\nconst avatar = tv({\n slots: {\n base: [\n 'flex',\n 'relative',\n 'justify-center',\n 'items-center',\n 'box-border',\n 'overflow-hidden',\n 'align-middle',\n 'text-neutral-strong',\n 'z-0',\n 'bg-neutral-subtle',\n 'ring-1 ring-default ring-offset-1 ring-offset-background'\n ],\n img: 'size-full',\n name: [\n 'w-full',\n 'font-label',\n 'text-center',\n 'text-inherit',\n 'absolute',\n 'top-1/2',\n 'left-1/2',\n '-translate-x-1/2',\n '-translate-y-1/2',\n 'select-none'\n ]\n },\n variants: {\n shape: {\n square: 'rounded-[20%]',\n circle: 'rounded-full'\n },\n size: {\n xs: { base: 'size-5 text-label-2xs' },\n sm: { base: 'size-6 text-label-xs' },\n md: { base: 'size-8 text-label-sm' },\n lg: { base: 'size-10 text-label-md' },\n xl: { base: 'size-12 text-label-lg' }\n }\n },\n defaultVariants: {\n size: 'md',\n shape: 'circle'\n }\n});\n\nexport type AvatarVariants = VariantProps<typeof avatar>;\nexport type AvatarSlots = keyof ReturnType<typeof avatar>;\nexport { avatar };\n","import { tv } from '../tw';\nimport { focusVisibleRing } from './shared.ts';\n\nconst baseButton = tv({\n base: [\n 'inline-flex items-center justify-center',\n '[&_svg]:size-[1em]',\n 'font-header',\n 'border',\n 'border-transparent',\n 'disabled:cursor-not-allowed',\n 'disabled:opacity-disabled',\n ...focusVisibleRing\n ],\n variants: {\n appearance: {\n outlined: ''\n },\n intent: {\n default: '',\n primary: 'focus-visible:ring-primary-soft',\n secondary: 'focus-visible:ring-secondary-soft',\n tertiary: 'focus-visible:ring-tertiary-soft',\n success: 'focus-visible:ring-success-soft',\n warning: 'focus-visible:ring-warning-soft',\n danger: 'focus-visible:ring-danger-soft'\n },\n size: {\n xs: 'text-strong-sm px-4 py-1 gap-1 rounded-full',\n sm: 'text-strong-md px-5 py-1.5 gap-1 rounded-full',\n md: 'text-strong-lg px-6 py-2 gap-1.5 rounded-full',\n lg: 'text-strong-xl px-8 py-2.5 gap-1.5 rounded-full',\n xl: 'text-strong-2xl px-10 py-3 gap-2 rounded-full',\n '2xl': 'text-strong-3xl px-12 py-3.5 gap-2.5 rounded-full'\n },\n isInGroup: {\n true: [\n 'rounded-none first-of-type:rounded-s-full last-of-type:rounded-e-full',\n '[&:not(:first-of-type):not(:last-of-type)]:rounded-none',\n 'not-last-of-type:-me-px'\n ]\n }\n },\n compoundVariants: [\n {\n appearance: 'outlined',\n intent: 'default',\n class:\n 'text-neutral-bolder border-neutral-bolder hover:bg-neutral-subtle hover:text-neutral-firm/80 hover:border-neutral-strong active:bg-neutral-muted active:text-neutral-firm active:border-neutral-firm'\n },\n {\n appearance: 'outlined',\n intent: 'primary',\n class:\n 'text-primary border-primary hover:text-primary-mild hover:border-primary-mild active:text-primary-firm active:border-primary-firm'\n },\n {\n appearance: 'outlined',\n intent: 'secondary',\n class:\n 'text-secondary-strong border-secondary-strong hover:text-secondary-firm hover:border-secondary-firm active:text-secondary-bolder active:border-secondary-bolder'\n },\n {\n appearance: 'outlined',\n intent: 'tertiary',\n class:\n 'text-tertiary-strong border-tertiary-strong hover:text-tertiary-firm hover:border-tertiary-firm active:text-tertiary-bolder active:border-tertiary-bolder'\n },\n {\n appearance: 'outlined',\n intent: 'success',\n class:\n 'text-success-strong border-success-strong hover:text-success-firm hover:border-success-firm active:text-success-bolder active:border-success-bolder'\n },\n {\n appearance: 'outlined',\n intent: 'warning',\n class:\n 'text-warning-strong border-warning-strong hover:text-warning-firm hover:border-warning-firm active:text-warning-bolder active:border-warning-bolder'\n },\n {\n appearance: 'outlined',\n intent: 'danger',\n class:\n 'text-danger border-danger hover:text-danger-mild hover:border-danger-mild active:text-danger-firm active:border-danger-firm'\n }\n ],\n defaultVariants: {\n size: 'md',\n intent: 'default'\n }\n});\n\nconst button = tv({\n extend: baseButton,\n base: [''],\n variants: {\n appearance: {\n default: 'shadow-elevation-2',\n soft: '',\n outlined: '',\n minimal: '',\n tonal: 'shadow-elevation-2',\n custom: ''\n },\n isLoading: {\n true: 'disabled:cursor-progress'\n }\n },\n compoundVariants: [\n // APPEARANCE: default (Facet \"filled\") — fill + border + on-color\n {\n appearance: 'default',\n intent: 'default',\n class:\n 'bg-neutral-bolder border-neutral-bolder text-on-neutral-bolder hover:bg-neutral-strong hover:border-neutral-strong hover:text-on-neutral-strong active:bg-neutral-firm active:border-neutral-firm active:text-on-neutral-firm'\n },\n {\n appearance: 'default',\n intent: 'primary',\n class:\n 'bg-primary border-primary text-on-primary hover:bg-primary-mild hover:border-primary-mild hover:text-on-primary-mild active:bg-primary-firm active:border-primary-firm active:text-on-primary-firm'\n },\n {\n appearance: 'default',\n intent: 'secondary',\n class:\n 'bg-secondary border-secondary text-on-secondary hover:bg-secondary-mild hover:border-secondary-mild hover:text-on-secondary-mild active:bg-secondary-firm active:border-secondary-firm active:text-on-secondary-firm'\n },\n {\n appearance: 'default',\n intent: 'tertiary',\n class:\n 'bg-tertiary border-tertiary text-on-tertiary hover:bg-tertiary-mild hover:border-tertiary-mild hover:text-on-tertiary-mild active:bg-tertiary-firm active:border-tertiary-firm active:text-on-tertiary-firm'\n },\n {\n appearance: 'default',\n intent: 'success',\n class:\n 'bg-success border-success text-on-success hover:bg-success-mild hover:border-success-mild hover:text-on-success-mild active:bg-success-firm active:border-success-firm active:text-on-success-firm'\n },\n {\n appearance: 'default',\n intent: 'warning',\n class:\n 'bg-warning border-warning text-on-warning hover:bg-warning-mild hover:border-warning-mild hover:text-on-warning-mild active:bg-warning-firm active:border-warning-firm active:text-on-warning-firm'\n },\n {\n appearance: 'default',\n intent: 'danger',\n class:\n 'bg-danger border-danger text-on-danger hover:bg-danger-mild hover:border-danger-mild hover:text-on-danger-mild active:bg-danger-firm active:border-danger-firm active:text-on-danger-firm'\n },\n // APPEARANCE: soft — tint fill, plus the border Facet gives it\n {\n appearance: 'soft',\n intent: 'default',\n class:\n 'bg-neutral-soft border-neutral-bolder text-neutral-bolder hover:bg-neutral-subtle hover:border-neutral-strong hover:text-neutral-strong active:bg-neutral-muted active:border-neutral-firm active:text-neutral-firm'\n },\n {\n appearance: 'soft',\n intent: 'primary',\n class:\n 'bg-primary-soft border-primary text-primary hover:bg-primary-subtle hover:border-primary-mild hover:text-primary-mild active:bg-primary-muted active:border-primary-firm active:text-primary-firm'\n },\n {\n appearance: 'soft',\n intent: 'secondary',\n class:\n 'bg-secondary-soft border-secondary-strong text-secondary-strong hover:bg-secondary-subtle hover:border-secondary-firm hover:text-secondary-firm active:bg-secondary-muted active:border-secondary-bolder active:text-secondary-bolder'\n },\n {\n appearance: 'soft',\n intent: 'tertiary',\n class:\n 'bg-tertiary-soft border-tertiary-strong text-tertiary-strong hover:bg-tertiary-subtle hover:border-tertiary-firm hover:text-tertiary-firm active:bg-tertiary-muted active:border-tertiary-bolder active:text-tertiary-bolder'\n },\n {\n appearance: 'soft',\n intent: 'success',\n class:\n 'bg-success-soft border-success-strong text-success-strong hover:bg-success-subtle hover:border-success-firm hover:text-success-firm active:bg-success-muted active:border-success-bolder active:text-success-bolder'\n },\n {\n appearance: 'soft',\n intent: 'warning',\n class:\n 'bg-warning-soft border-warning-strong text-warning-strong hover:bg-warning-subtle hover:border-warning-firm hover:text-warning-firm active:bg-warning-muted active:border-warning-bolder active:text-warning-bolder'\n },\n {\n appearance: 'soft',\n intent: 'danger',\n class:\n 'bg-danger-soft border-danger text-danger hover:bg-danger-subtle hover:border-danger-mild hover:text-danger-mild active:bg-danger-muted active:border-danger-firm active:text-danger-firm'\n },\n // APPEARANCE: minimal (Facet \"ghost\") — ink only, no fill\n {\n appearance: 'minimal',\n intent: 'default',\n class:\n 'text-neutral-bolder hover:text-neutral-firm/80 active:text-neutral-firm'\n },\n {\n appearance: 'minimal',\n intent: 'primary',\n class: 'text-primary hover:text-primary-mild active:text-primary-firm'\n },\n {\n appearance: 'minimal',\n intent: 'secondary',\n class:\n 'text-secondary-strong hover:text-secondary-firm active:text-secondary-bolder'\n },\n {\n appearance: 'minimal',\n intent: 'tertiary',\n class:\n 'text-tertiary-strong hover:text-tertiary-firm active:text-tertiary-bolder'\n },\n {\n appearance: 'minimal',\n intent: 'success',\n class:\n 'text-success-strong hover:text-success-firm active:text-success-bolder'\n },\n {\n appearance: 'minimal',\n intent: 'warning',\n class:\n 'text-warning-strong hover:text-warning-firm active:text-warning-bolder'\n },\n {\n appearance: 'minimal',\n intent: 'danger',\n class: 'text-danger hover:text-danger-mild active:text-danger-firm'\n },\n // APPEARANCE: tonal — tint fill that deepens through the ramp\n {\n appearance: 'tonal',\n intent: 'default',\n class:\n 'bg-neutral-soft text-on-neutral-soft hover:bg-neutral-muted hover:text-on-neutral-muted active:bg-neutral-mild active:text-on-neutral-mild'\n },\n {\n appearance: 'tonal',\n intent: 'primary',\n class:\n 'bg-primary-soft text-on-primary-soft hover:bg-primary-muted hover:text-on-primary-muted active:bg-primary-mild active:text-on-primary-mild'\n },\n {\n appearance: 'tonal',\n intent: 'secondary',\n class:\n 'bg-secondary-soft text-on-secondary-soft hover:bg-secondary-muted hover:text-on-secondary-muted active:bg-secondary-mild active:text-on-secondary-mild'\n },\n {\n appearance: 'tonal',\n intent: 'tertiary',\n class:\n 'bg-tertiary-soft text-on-tertiary-soft hover:bg-tertiary-muted hover:text-on-tertiary-muted active:bg-tertiary-mild active:text-on-tertiary-mild'\n },\n {\n appearance: 'tonal',\n intent: 'success',\n class:\n 'bg-success-soft text-on-success-soft hover:bg-success-muted hover:text-on-success-muted active:bg-success-mild active:text-on-success-mild'\n },\n {\n appearance: 'tonal',\n intent: 'warning',\n class:\n 'bg-warning-soft text-on-warning-soft hover:bg-warning-muted hover:text-on-warning-muted active:bg-warning-mild active:text-on-warning-mild'\n },\n {\n appearance: 'tonal',\n intent: 'danger',\n class:\n 'bg-danger-soft text-on-danger-soft hover:bg-danger-muted hover:text-on-danger-muted active:bg-danger-mild active:text-on-danger-mild'\n },\n\n // APPEARANCE: custom\n {\n appearance: 'custom',\n intent: 'default',\n class: 'text-neutral-strong'\n },\n {\n appearance: 'custom',\n intent: 'primary',\n class: 'text-primary-strong'\n },\n {\n appearance: 'custom',\n intent: 'secondary',\n class: 'text-secondary-strong'\n },\n {\n appearance: 'custom',\n intent: 'tertiary',\n class: 'text-tertiary-strong'\n },\n {\n appearance: 'custom',\n intent: 'success',\n class: 'text-success-strong'\n },\n {\n appearance: 'custom',\n intent: 'warning',\n class: 'text-warning-strong'\n },\n {\n appearance: 'custom',\n intent: 'danger',\n class: 'text-danger-strong'\n }\n ],\n defaultVariants: {\n size: 'md',\n intent: 'primary'\n }\n});\n\nconst toggleButton = tv({\n extend: baseButton,\n base: [''],\n variants: {\n isSelected: {\n true: ''\n }\n },\n // Selected is a *filled* state, so every color has to be restated here —\n // fill, border and ink, for the resting, hover and active steps. The\n // unselected `outlined` rules in `baseButton` set their own\n // `hover:text-*`/`active:*` colors, and anything we leave out keeps leaking\n // through: an unselected ink color over a selected fill is what produced the\n // unreadable label on hover. The ramp matches the filled button\n // (`appearance: 'default'`) — one step deeper on hover, another on active —\n // and pairs each fill with its generated `on-*` contrast ink.\n compoundVariants: [\n {\n appearance: 'outlined',\n intent: 'default',\n isSelected: true,\n class:\n 'bg-neutral-bolder border-neutral-bolder text-on-neutral-bolder hover:bg-neutral-strong hover:border-neutral-strong hover:text-on-neutral-strong active:bg-neutral-firm active:border-neutral-firm active:text-on-neutral-firm'\n },\n {\n appearance: 'outlined',\n intent: 'primary',\n isSelected: true,\n class:\n 'bg-primary border-primary text-on-primary hover:bg-primary-mild hover:border-primary-mild hover:text-on-primary-mild active:bg-primary-firm active:border-primary-firm active:text-on-primary-firm'\n },\n {\n appearance: 'outlined',\n intent: 'secondary',\n isSelected: true,\n class:\n 'bg-secondary border-secondary text-on-secondary hover:bg-secondary-mild hover:border-secondary-mild hover:text-on-secondary-mild active:bg-secondary-firm active:border-secondary-firm active:text-on-secondary-firm'\n },\n {\n appearance: 'outlined',\n intent: 'tertiary',\n isSelected: true,\n class:\n 'bg-tertiary border-tertiary text-on-tertiary hover:bg-tertiary-mild hover:border-tertiary-mild hover:text-on-tertiary-mild active:bg-tertiary-firm active:border-tertiary-firm active:text-on-tertiary-firm'\n },\n {\n appearance: 'outlined',\n intent: 'success',\n isSelected: true,\n class:\n 'bg-success border-success text-on-success hover:bg-success-mild hover:border-success-mild hover:text-on-success-mild active:bg-success-firm active:border-success-firm active:text-on-success-firm'\n },\n {\n appearance: 'outlined',\n intent: 'warning',\n isSelected: true,\n class:\n 'bg-warning border-warning text-on-warning hover:bg-warning-mild hover:border-warning-mild hover:text-on-warning-mild active:bg-warning-firm active:border-warning-firm active:text-on-warning-firm'\n },\n {\n appearance: 'outlined',\n intent: 'danger',\n isSelected: true,\n class:\n 'bg-danger border-danger text-on-danger hover:bg-danger-mild hover:border-danger-mild hover:text-on-danger-mild active:bg-danger-firm active:border-danger-firm active:text-on-danger-firm'\n }\n ]\n});\n\nconst buttonGroup = tv({\n base: ['inline-flex items-stretch justify-center h-auto']\n});\n\n// The in-button spinner has to inherit the button's ink. `spinner`'s own base\n// is `text-neutral-muted` / `fill-neutral-strong`, which is invisible on a\n// filled primary button. `size-[1em]` makes it track the button's font size\n// across all six sizes, matching the base button's `[&_svg]:size-[1em]`.\nconst buttonSpinner = tv({\n base: 'size-[1em] text-current/25 fill-current'\n});\n\nexport { button, toggleButton, buttonGroup, buttonSpinner };\n","import { tv } from '../tw';\n\nconst chip = tv({\n slots: {\n base: [\n 'whitespace-nowrap',\n 'inline-flex items-center justify-between box-border'\n ],\n // label text role (size set per size variant)\n content: ['flex-1 text-inherit font-label'],\n dot: ['shrink-0', 'ml-1', 'rounded-full'],\n closeButton: [\n 'shrink-0',\n 'p-0.5',\n // The shared ring is drawn with a background-coloured offset, which\n // inside a chip reads as a hole punched in the chip.\n 'focus-visible:ring-2 focus-visible:ring-offset-0',\n 'disabled:cursor-not-allowed'\n ]\n },\n variants: {\n isDisabled: {\n true: 'opacity-disabled cursor-not-allowed'\n },\n appearance: {\n default: '',\n outlined: '',\n faded: ''\n },\n // The close button is a filled circle in every appearance. `-muted` is\n // light enough to sit on the page in `outlined`/`faded` and to read as a\n // disc on a filled chip, and each level carries its own `on-` colour — the\n // pairing this used to get wrong, by putting `text-on-{intent}` (the\n // contrast colour for the DEFAULT level) on a `-muted` circle.\n intent: {\n default: {\n dot: 'bg-neutral-strong',\n closeButton: 'bg-neutral-muted text-on-neutral-muted'\n },\n primary: {\n dot: 'bg-primary',\n closeButton: 'bg-primary-muted text-on-primary-muted'\n },\n secondary: {\n dot: 'bg-secondary',\n closeButton: 'bg-secondary-muted text-on-secondary-muted'\n },\n tertiary: {\n dot: 'bg-tertiary',\n closeButton: 'bg-tertiary-muted text-on-tertiary-muted'\n },\n success: {\n dot: 'bg-success',\n closeButton: 'bg-success-muted text-on-success-muted'\n },\n warning: {\n dot: 'bg-warning',\n closeButton: 'bg-warning-muted text-on-warning-muted'\n },\n danger: {\n dot: 'bg-danger',\n closeButton: 'bg-danger-muted text-on-danger-muted'\n }\n },\n size: {\n sm: {\n base: 'text-label-2xs px-1 h-6',\n content: 'px-1',\n dot: 'size-1.5',\n closeButton: 'text-label-2xs'\n },\n md: {\n base: 'text-label-xs px-1 h-7',\n content: 'px-2',\n dot: 'size-2',\n closeButton: 'text-label-xs'\n },\n lg: {\n base: 'text-label-md px-2 h-8',\n content: 'px-2',\n dot: 'size-2.5',\n closeButton: 'text-label-md'\n }\n },\n radius: {\n none: 'rounded-none',\n sm: 'rounded-sm',\n lg: 'rounded-lg',\n full: 'rounded-full'\n }\n },\n compoundVariants: [\n // A filled chip's background *is* the intent colour, so an intent-coloured\n // dot disappears into it. Inherit the chip's text colour instead — the one\n // colour guaranteed to contrast the fill.\n {\n appearance: 'default',\n class: {\n dot: 'bg-current'\n }\n },\n\n // APPEARANCE: default (filled)\n //\n // The chip's own fill is the intent's DEFAULT level, so the close button\n // cannot hover *towards* it the way the other two appearances do — the\n // circle would vanish into the chip. It steps down to `-subtle` instead.\n {\n appearance: 'default',\n intent: 'default',\n class: {\n base: 'bg-neutral-bolder text-on-neutral-bolder',\n closeButton: 'hover:bg-neutral-subtle hover:text-on-neutral-subtle'\n }\n },\n {\n appearance: 'default',\n intent: 'primary',\n class: {\n base: 'bg-primary text-on-primary',\n closeButton: 'hover:bg-primary-subtle hover:text-on-primary-subtle'\n }\n },\n {\n appearance: 'default',\n intent: 'secondary',\n class: {\n base: 'bg-secondary text-on-secondary',\n closeButton: 'hover:bg-secondary-subtle hover:text-on-secondary-subtle'\n }\n },\n {\n appearance: 'default',\n intent: 'tertiary',\n class: {\n base: 'bg-tertiary text-on-tertiary',\n closeButton: 'hover:bg-tertiary-subtle hover:text-on-tertiary-subtle'\n }\n },\n {\n appearance: 'default',\n intent: 'success',\n class: {\n base: 'bg-success text-on-success',\n closeButton: 'hover:bg-success-subtle hover:text-on-success-subtle'\n }\n },\n {\n appearance: 'default',\n intent: 'warning',\n class: {\n base: 'bg-warning text-on-warning',\n closeButton: 'hover:bg-warning-subtle hover:text-on-warning-subtle'\n }\n },\n {\n appearance: 'default',\n intent: 'danger',\n class: {\n base: 'bg-danger text-on-danger',\n closeButton: 'hover:bg-danger-subtle hover:text-on-danger-subtle'\n }\n },\n\n // APPEARANCE: faded (tonal)\n {\n appearance: 'faded',\n intent: 'default',\n class: {\n base: 'text-neutral-strong bg-neutral-subtle',\n closeButton: 'hover:bg-neutral hover:text-on-neutral'\n }\n },\n {\n appearance: 'faded',\n intent: 'primary',\n class: {\n base: 'text-primary-strong bg-primary-subtle',\n closeButton: 'hover:bg-primary hover:text-on-primary'\n }\n },\n {\n appearance: 'faded',\n intent: 'secondary',\n class: {\n base: 'text-secondary-strong bg-secondary-subtle',\n closeButton: 'hover:bg-secondary hover:text-on-secondary'\n }\n },\n {\n appearance: 'faded',\n intent: 'tertiary',\n class: {\n base: 'text-tertiary-strong bg-tertiary-subtle',\n closeButton: 'hover:bg-tertiary hover:text-on-tertiary'\n }\n },\n {\n appearance: 'faded',\n intent: 'success',\n class: {\n base: 'text-success-strong bg-success-subtle',\n closeButton: 'hover:bg-success hover:text-on-success'\n }\n },\n {\n appearance: 'faded',\n intent: 'warning',\n class: {\n base: 'text-warning-strong bg-warning-subtle',\n closeButton: 'hover:bg-warning hover:text-on-warning'\n }\n },\n {\n appearance: 'faded',\n intent: 'danger',\n class: {\n base: 'text-danger-strong bg-danger-subtle',\n closeButton: 'hover:bg-danger hover:text-on-danger'\n }\n },\n\n // APPEARANCE: outlined\n {\n appearance: 'outlined',\n intent: 'default',\n class: {\n base: 'text-neutral-strong border border-neutral',\n closeButton: 'hover:bg-neutral hover:text-on-neutral'\n }\n },\n {\n appearance: 'outlined',\n intent: 'primary',\n class: {\n base: 'text-primary-strong border border-primary',\n closeButton: 'hover:bg-primary hover:text-on-primary'\n }\n },\n {\n appearance: 'outlined',\n intent: 'secondary',\n class: {\n base: 'text-secondary-strong border border-secondary',\n closeButton: 'hover:bg-secondary hover:text-on-secondary'\n }\n },\n {\n appearance: 'outlined',\n intent: 'tertiary',\n class: {\n base: 'text-tertiary-strong border border-tertiary',\n closeButton: 'hover:bg-tertiary hover:text-on-tertiary'\n }\n },\n {\n appearance: 'outlined',\n intent: 'success',\n class: {\n base: 'text-success-strong border border-success',\n closeButton: 'hover:bg-success hover:text-on-success'\n }\n },\n {\n appearance: 'outlined',\n intent: 'warning',\n class: {\n base: 'text-warning-strong border border-warning',\n closeButton: 'hover:bg-warning hover:text-on-warning'\n }\n },\n {\n appearance: 'outlined',\n intent: 'danger',\n class: {\n base: 'text-danger-strong border border-danger',\n closeButton: 'hover:bg-danger hover:text-on-danger'\n }\n }\n ],\n defaultVariants: {\n size: 'md',\n intent: 'default',\n appearance: 'default',\n radius: 'full'\n }\n});\n\nexport { chip };\n","import { tv } from '../tw';\n\nconst progressBar = tv({\n slots: {\n base: ['overflow-hidden w-full bg-surface-overlay-soft'],\n label: ['flex justify-between pb-1 gap-2 font-label text-label-sm'],\n progress: [''],\n description: ['text-neutral font-body text-body-2xs pb-1']\n },\n variants: {\n isIndeterminate: {\n true: {\n progress: ['animate-loading origin-left']\n }\n },\n intent: {\n default: {\n progress: 'bg-neutral-strong'\n },\n primary: {\n progress: 'bg-primary-soft'\n },\n secondary: {\n progress: 'bg-secondary-soft'\n },\n tertiary: {\n progress: 'bg-tertiary-soft'\n },\n success: {\n progress: 'bg-success-soft'\n },\n warning: {\n progress: 'bg-warning-soft'\n },\n danger: {\n progress: 'bg-danger-soft'\n }\n },\n size: {\n xs: {\n base: 'h-1',\n progress: 'h-1',\n label: 'text-label-2xs',\n description: 'text-body-2xs'\n },\n sm: {\n base: 'h-2',\n progress: 'h-2',\n label: 'text-label-xs',\n description: 'text-body-2xs'\n },\n md: {\n base: 'h-4',\n progress: 'h-4'\n },\n lg: {\n base: 'h-8',\n progress: 'h-8',\n label: 'text-label-md',\n description: 'text-body-sm'\n }\n },\n radius: {\n none: 'rounded-none',\n sm: 'rounded-sm',\n lg: 'rounded-lg',\n full: 'rounded-full'\n }\n },\n defaultVariants: {\n size: 'md',\n intent: 'default',\n radius: 'sm'\n }\n});\n\nexport { progressBar };\n","import { tv, type VariantProps } from '../tw';\nimport { focusVisibleRing } from './shared';\n\nconst closeButton = tv({\n slots: {\n base: [\n 'rounded-full transition duration-200 text-inherit',\n ...focusVisibleRing\n ],\n icon: 'size-[1em]'\n },\n\n variants: {\n size: {\n xs: { base: 'text-sm p-1' },\n sm: { base: 'text-base p-2' },\n md: { base: 'text-xl p-2' },\n lg: { base: 'text-2xl p-3' },\n xl: { base: 'text-4xl p-3' }\n },\n variant: {\n transparent: {\n base: ['bg-transparent', 'hover:bg-surface-overlay-subtle']\n },\n subtle: {\n base: [\n 'bg-neutral-subtle',\n 'text-on-neutral-subtle',\n 'hover:bg-surface-overlay-subtle'\n ]\n }\n }\n },\n defaultVariants: {\n size: 'md',\n variant: 'transparent'\n }\n});\n\nexport type CloseButtonVariants = VariantProps<typeof closeButton>;\nexport { closeButton };\n","import { tv } from '../tw';\nimport type { VariantProps } from 'tailwind-variants';\n\nconst command = tv({\n slots: {\n // Padded, with the input inset as its own field: the palette reads as one\n // surface holding a search box and its results, not as a form control\n // with a list glued underneath.\n base: [\n 'flex flex-col',\n 'w-full min-w-0',\n 'p-2',\n 'overflow-hidden',\n 'text-on-surface-modal'\n ],\n inputWrapper: [\n 'flex items-center gap-2',\n 'h-9 shrink-0',\n 'px-3',\n 'rounded-md',\n 'border border-neutral-soft',\n 'bg-neutral-subtle/60',\n 'transition-colors',\n 'has-[input:focus-visible]:border-neutral-mild'\n ],\n inputIcon: ['size-4 shrink-0', 'text-neutral'],\n input: [\n 'h-full w-full',\n 'bg-transparent',\n 'font-body text-body-sm',\n 'outline-hidden',\n 'placeholder:text-neutral',\n 'disabled:cursor-not-allowed disabled:opacity-disabled'\n ],\n // The `size` variant gives the list a minimum height on purpose: without\n // one the panel collapses and re-expands on every keystroke as results\n // narrow, which reads as jitter.\n //\n // The palette wants denser, plainer rows than a Dropdown menu does. The\n // descendant utilities below apply that without forking `listboxItem`.\n // They must stay as literal strings: Tailwind finds classes by scanning\n // source text, so a class assembled with interpolation is never generated.\n // No `overscroll-contain`: the list is a scroll container even when its\n // items fit, and containing overscroll there swallows wheel events over an\n // inline palette so the page behind it cannot scroll. The dialog does not\n // need it either -- body scroll is locked while it is open.\n list: [\n // Vertical rhythm: 8px above the first heading, 4px between rows, a\n // padded group above each divider, and room before the footer.\n 'mt-2',\n 'overflow-y-auto overflow-x-hidden',\n 'scroll-py-1',\n 'px-0 pt-0 pb-1',\n 'gap-1',\n '[&_[data-component=listbox-group]]:pb-1',\n '[&_[data-component=listbox-group]_ul]:gap-1',\n // rows\n '[&_[data-component=listbox-item]]:min-h-9',\n '[&_[data-component=listbox-item]]:rounded-md',\n '[&_[data-component=listbox-item]]:px-3',\n '[&_[data-component=listbox-item]]:py-0',\n // Active row: a solid fill, no outline. `neutral-subtle` is too close to\n // the panel surface in dark mode to read as a highlight, leaving only a\n // hairline box; `neutral-muted` is one step up and visible in both schemes.\n '[&_[data-component=listbox-item][data-active=true]]:bg-neutral-muted',\n '[&_[data-component=listbox-item][data-active=true]]:text-neutral-bolder',\n // row text\n '[&_[data-test-id=listbox-item-label]]:text-body-sm',\n '[&_[data-test-id=listbox-item-label]]:font-medium',\n // leading icons are sized and muted unless the consumer says otherwise\n '[&_[data-component=listbox-item]_svg:not([class*=size-])]:size-4',\n '[&_[data-component=listbox-item]_svg]:shrink-0',\n '[&_[data-component=listbox-item]_svg:not([class*=text-])]:text-neutral',\n // group headings\n '[&_[data-test-id=listbox-group-title]]:px-3',\n '[&_[data-test-id=listbox-group-title]]:pt-1.5',\n '[&_[data-test-id=listbox-group-title]]:pb-1.5'\n ],\n empty: ['py-6', 'text-center', 'font-body text-body-sm', 'text-neutral'],\n loading: [\n 'flex items-center justify-center gap-2',\n 'py-6',\n 'font-body text-body-sm',\n 'text-neutral'\n ],\n // Bleeds to the panel edges, so it reads as the palette's chrome rather\n // than as a row.\n footer: [\n 'flex items-center gap-3',\n 'h-10 shrink-0',\n '-mx-2 -mb-2 mt-2 px-4',\n 'border-t border-neutral-soft',\n 'bg-neutral-subtle/60',\n 'font-body text-body-2xs font-medium',\n 'text-neutral',\n 'select-none'\n ],\n footerHint: 'flex items-center gap-1.5',\n // Empty on purpose: an override hook so `@classes={{hash kbd=\"...\"}}`\n // reaches the keycap, which `Kbd` itself draws.\n kbd: ''\n },\n variants: {\n size: {\n sm: { list: 'max-h-64 min-h-32' },\n md: { list: 'max-h-80 min-h-48' },\n lg: { list: 'max-h-96 min-h-64' }\n },\n /**\n * Draws the palette's own surface, for use outside a dialog. A shrink-wrap\n * layout would otherwise size it to its widest row, so it also carries a\n * sensible minimum width.\n */\n isBordered: {\n true: {\n base: [\n // A percentage here would resolve against a shrink-wrapped parent's\n // indefinite width and vanish; the rem floor is what actually holds.\n 'min-w-[28rem] max-w-full',\n 'rounded-xl',\n 'bg-surface-modal',\n 'border border-surface-overlay-mild',\n 'shadow-md'\n ],\n footer: 'rounded-b-xl'\n }\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nconst commandDialog = tv({\n slots: {\n // Sits the panel below the top edge rather than centering it: a palette is\n // read top-down, and a vertically centered one moves as results change.\n base: 'w-full max-w-lg px-4 mt-[12vh] mb-8 sm:mt-[15vh]',\n panel: [\n 'relative flex flex-col',\n 'w-full',\n 'overflow-hidden',\n 'rounded-xl',\n 'bg-surface-modal',\n 'text-on-surface-modal',\n 'border border-surface-overlay-mild',\n // The soft outer ring is what separates the panel from the scrim; a\n // shadow alone reads as flat against a dark backdrop.\n 'ring-4 ring-neutral-soft/40',\n 'shadow-2xl',\n 'outline-hidden'\n ]\n }\n});\n\nexport type CommandVariants = VariantProps<typeof command>;\nexport type CommandSlots = keyof ReturnType<typeof command>;\nexport type CommandDialogSlots = keyof ReturnType<typeof commandDialog>;\n\nexport { command, commandDialog };\n","import { tv } from '../tw';\nimport type { VariantProps } from 'tailwind-variants';\n\nconst kbd = tv({\n slots: {\n // The wrapper draws nothing: it only lines the caps up. `font-label`, not\n // `font-code` -- the modifier glyphs (⌘ ⇧ ⌥ ⌃) render poorly in most\n // monospace faces, and a keycap is a UI affordance rather than sample code.\n base: [\n 'inline-flex items-center align-middle',\n 'font-label',\n 'select-none',\n 'whitespace-nowrap'\n ],\n // Each cap. `min-w` is set per size to match its height, so a lone `K` stays\n // square instead of collapsing to the width of the letter.\n // `font-label` is repeated here rather than inherited from `base`: the CSS\n // reset styles the `kbd` element itself as monospace, and an element rule\n // beats inheritance, so the cap must name its own font.\n key: [\n 'inline-flex items-center justify-center',\n 'shrink-0',\n 'font-label',\n 'leading-none',\n '[&_svg]:size-3'\n ],\n separator: ['shrink-0', 'text-neutral', 'px-0.5']\n },\n variants: {\n size: {\n sm: {\n base: 'gap-0.5 text-label-2xs',\n key: 'h-5 min-w-5 px-1 rounded text-label-2xs'\n },\n md: {\n base: 'gap-1 text-label-xs',\n key: 'h-6 min-w-6 px-1.5 rounded-md text-label-xs'\n },\n lg: {\n base: 'gap-1 text-label-sm',\n key: 'h-7 min-w-7 px-2 rounded-md text-label-sm'\n }\n },\n // Colours live in the compound variants below, paired with `intent`.\n appearance: {\n default: { key: 'border border-transparent' },\n outlined: { key: 'border bg-transparent' },\n faded: { key: 'border' },\n // Follows whatever colour it is sitting on. This is what lets a keycap\n // ride an active, filled Listbox row without the row's theme having to\n // repaint it for every intent.\n inherit: {\n key: 'border border-current/20 bg-transparent text-current'\n },\n // No box at all. For dense rows where a keycap would be visual noise and\n // the shortcut should read as quiet trailing text.\n plain: {\n key: 'border-0 bg-transparent px-0 min-w-0 text-current tracking-wide'\n }\n },\n intent: {\n default: {},\n primary: {},\n secondary: {},\n tertiary: {},\n success: {},\n warning: {},\n danger: {}\n },\n /**\n * `merged` puts every glyph inside one cap (`⌘K`); `split` gives each key\n * its own (`⌘` `K`).\n */\n isMerged: {\n true: { base: 'gap-0' }\n }\n },\n compoundVariants: [\n // appearance: default -- a filled cap. `-muted` is light enough to read as\n // a key on a page and each level carries its own `on-` contrast colour.\n {\n appearance: 'default',\n intent: 'default',\n class: { key: 'bg-neutral-muted text-on-neutral-muted' }\n },\n {\n appearance: 'default',\n intent: 'primary',\n class: { key: 'bg-primary-muted text-on-primary-muted' }\n },\n {\n appearance: 'default',\n intent: 'secondary',\n class: { key: 'bg-secondary-muted text-on-secondary-muted' }\n },\n {\n appearance: 'default',\n intent: 'tertiary',\n class: { key: 'bg-tertiary-muted text-on-tertiary-muted' }\n },\n {\n appearance: 'default',\n intent: 'success',\n class: { key: 'bg-success-muted text-on-success-muted' }\n },\n {\n appearance: 'default',\n intent: 'warning',\n class: { key: 'bg-warning-muted text-on-warning-muted' }\n },\n {\n appearance: 'default',\n intent: 'danger',\n class: { key: 'bg-danger-muted text-on-danger-muted' }\n },\n\n // appearance: outlined\n {\n appearance: 'outlined',\n intent: 'default',\n class: { key: 'border-neutral text-neutral-strong' }\n },\n {\n appearance: 'outlined',\n intent: 'primary',\n class: { key: 'border-primary text-primary-strong' }\n },\n {\n appearance: 'outlined',\n intent: 'secondary',\n class: { key: 'border-secondary text-secondary-strong' }\n },\n {\n appearance: 'outlined',\n intent: 'tertiary',\n class: { key: 'border-tertiary text-tertiary-strong' }\n },\n {\n appearance: 'outlined',\n intent: 'success',\n class: { key: 'border-success text-success-strong' }\n },\n {\n appearance: 'outlined',\n intent: 'warning',\n class: { key: 'border-warning text-warning-strong' }\n },\n {\n appearance: 'outlined',\n intent: 'danger',\n class: { key: 'border-danger text-danger-strong' }\n },\n\n // appearance: faded\n {\n appearance: 'faded',\n intent: 'default',\n class: {\n key: 'bg-neutral-subtle border-neutral-soft text-neutral-strong'\n }\n },\n {\n appearance: 'faded',\n intent: 'primary',\n class: {\n key: 'bg-primary-subtle border-primary-soft text-primary-strong'\n }\n },\n {\n appearance: 'faded',\n intent: 'secondary',\n class: {\n key: 'bg-secondary-subtle border-secondary-soft text-secondary-strong'\n }\n },\n {\n appearance: 'faded',\n intent: 'tertiary',\n class: {\n key: 'bg-tertiary-subtle border-tertiary-soft text-tertiary-strong'\n }\n },\n {\n appearance: 'faded',\n intent: 'success',\n class: {\n key: 'bg-success-subtle border-success-soft text-success-strong'\n }\n },\n {\n appearance: 'faded',\n intent: 'warning',\n class: {\n key: 'bg-warning-subtle border-warning-soft text-warning-strong'\n }\n },\n {\n appearance: 'faded',\n intent: 'danger',\n class: { key: 'bg-danger-subtle border-danger-soft text-danger-strong' }\n }\n ],\n defaultVariants: {\n size: 'md',\n intent: 'default',\n appearance: 'default'\n }\n});\n\nexport type KbdVariants = VariantProps<typeof kbd>;\nexport type KbdSlots = keyof ReturnType<typeof kbd>;\n\nexport { kbd };\n","import { tv } from '../tw';\n\nconst listbox = tv({\n base: 'w-full flex flex-col gap-0.5 outline-hidden p-1'\n});\n\nconst listboxItem = tv({\n slots: {\n base: [\n 'flex',\n 'group',\n 'gap-2',\n 'items-center',\n 'justify-between',\n 'relative',\n 'px-2',\n 'py-1.5',\n 'w-full',\n 'h-full',\n 'box-border',\n 'rounded-lg',\n 'subpixel-antialiased',\n 'outline-hidden',\n 'cursor-pointer',\n 'tap-highlight-transparent'\n ],\n descriptionWrapper: 'w-full flex flex-col items-start justify-center',\n label: 'flex-1 font-body text-body-2xs truncate',\n description: [\n 'w-full',\n 'font-body text-body-2xs',\n 'text-neutral-firm',\n 'group-hover:text-current'\n ],\n selectedIcon: ['text-inherit', 'w-4', 'h-4', 'shrink-0'],\n // The chevron on a row that opens a submenu. Sized like `selectedIcon`\n // -- both are trailing affordances on the same row -- but dimmer at rest,\n // since it marks a direction rather than a state. `text-inherit` on the\n // active row lets it pick up the row's own colour.\n submenuIndicator: [\n 'text-neutral-firm',\n 'group-data-is-active:text-inherit',\n 'w-4',\n 'h-4',\n 'shrink-0'\n ]\n },\n variants: {\n appearance: {\n default: {\n base: ''\n },\n outlined: {\n base: 'border border-transparent bg-transparent'\n },\n faded: {\n base: ['border border-transparent']\n }\n },\n intent: {\n default: {},\n primary: {},\n secondary: {},\n tertiary: {},\n success: {},\n warning: {},\n danger: {}\n },\n isActive: { true: { base: [] } },\n\n withDivider: {\n true: {\n base: ['mb-1.5']\n }\n },\n\n isDisabled: {\n true: {\n base: 'opacity-disabled pointer-events-none'\n }\n },\n isSelected: {\n true: {\n base: ''\n }\n }\n },\n defaultVariants: {\n appearance: 'default',\n intent: 'default'\n },\n compoundVariants: [\n // appearance: default\n {\n appearance: 'default',\n intent: 'default',\n class: {\n base: [\n 'data-is-active:bg-neutral-subtle',\n 'data-is-active:text-neutral-strong'\n ]\n }\n },\n {\n appearance: 'default',\n intent: 'primary',\n class: {\n base: [\n 'data-is-active:bg-primary-soft',\n 'data-is-active:text-on-primary-soft'\n ]\n }\n },\n {\n appearance: 'default',\n intent: 'secondary',\n class: {\n base: [\n 'data-is-active:bg-secondary-soft',\n 'data-is-active:text-on-secondary-soft'\n ]\n }\n },\n {\n appearance: 'default',\n intent: 'tertiary',\n class: {\n base: [\n 'data-is-active:bg-tertiary-soft',\n 'data-is-active:text-on-tertiary-soft'\n ]\n }\n },\n {\n appearance: 'default',\n intent: 'success',\n class: {\n base: [\n 'data-is-active:bg-success-soft',\n 'data-is-active:text-on-success-soft'\n ]\n }\n },\n {\n appearance: 'default',\n intent: 'warning',\n class: {\n base: [\n 'data-is-active:bg-warning-soft',\n 'data-is-active:text-on-warning-soft'\n ]\n }\n },\n {\n appearance: 'default',\n intent: 'danger',\n class: {\n base: [\n 'data-is-active:bg-danger-soft',\n 'data-is-active:text-on-danger-soft'\n ]\n }\n },\n\n // appearance: outlined\n {\n appearance: 'outlined',\n intent: 'default',\n class: {\n base: [\n 'data-is-active:border-neutral',\n 'data-is-active:text-neutral-strong'\n ]\n }\n },\n {\n appearance: 'outlined',\n intent: 'primary',\n class: {\n base: [\n 'data-is-active:border-primary',\n 'data-is-active:text-primary-strong'\n ]\n }\n },\n {\n appearance: 'outlined',\n intent: 'secondary',\n class: {\n base: [\n 'data-is-active:border-secondary',\n 'data-is-active:text-secondary-strong'\n ]\n }\n },\n {\n appearance: 'outlined',\n intent: 'tertiary',\n class: {\n base: [\n 'data-is-active:border-tertiary',\n 'data-is-active:text-tertiary-strong'\n ]\n }\n },\n {\n appearance: 'outlined',\n intent: 'success',\n class: {\n base: [\n 'data-is-active:border-success',\n 'data-is-active:text-success-strong'\n ]\n }\n },\n {\n appearance: 'outlined',\n intent: 'warning',\n class: {\n base: [\n 'data-is-active:border-warning',\n 'data-is-active:text-warning-strong'\n ]\n }\n },\n {\n appearance: 'outlined',\n intent: 'danger',\n class: {\n base: [\n 'data-is-active:border-danger',\n 'data-is-active:text-danger-strong'\n ]\n }\n },\n\n // appearance: faded\n {\n appearance: 'faded',\n intent: 'default',\n class: {\n base: [\n 'data-is-active:bg-neutral-soft/20',\n 'data-is-active:border-neutral',\n 'data-is-active:text-neutral-strong'\n ]\n }\n },\n {\n appearance: 'faded',\n intent: 'primary',\n class: {\n base: [\n 'data-is-active:bg-primary-soft/20',\n 'data-is-active:border-primary',\n 'data-is-active:text-primary-strong'\n ]\n }\n },\n {\n appearance: 'faded',\n intent: 'secondary',\n class: {\n base: [\n 'data-is-active:bg-secondary-soft/20',\n 'data-is-active:border-secondary',\n 'data-is-active:text-secondary-strong'\n ]\n }\n },\n {\n appearance: 'faded',\n intent: 'tertiary',\n class: {\n base: [\n 'data-is-active:bg-tertiary-soft/20',\n 'data-is-active:border-tertiary',\n 'data-is-active:text-tertiary-strong'\n ]\n }\n },\n {\n appearance: 'faded',\n intent: 'success',\n class: {\n base: [\n 'data-is-active:bg-success-soft/20',\n 'data-is-active:border-success',\n 'data-is-active:text-success-strong'\n ]\n }\n },\n {\n appearance: 'faded',\n intent: 'warning',\n class: {\n base: [\n 'data-is-active:bg-warning-soft/20',\n 'data-is-active:border-warning',\n 'data-is-active:text-warning-strong'\n ]\n }\n },\n {\n appearance: 'faded',\n intent: 'danger',\n class: {\n base: [\n 'data-is-active:bg-danger-soft/20',\n 'data-is-active:border-danger',\n 'data-is-active:text-danger-strong'\n ]\n }\n }\n ]\n});\n\nconst listboxGroup = tv({\n slots: {\n base: 'block',\n // Spacing for the separator a group renders after itself, so the value\n // lives here rather than being repeated at each call site.\n divider: 'my-1',\n // `block`: the heading is a <span>, and an inline box's vertical padding\n // is painted without taking up space -- so without this the rows sit\n // directly under the heading text whatever padding it is given.\n title: [\n 'block',\n 'px-2',\n 'py-1.5',\n 'font-body text-body-2xs font-medium',\n 'text-neutral',\n 'select-none'\n ],\n list: 'flex flex-col gap-0.5'\n }\n});\n\nexport { listbox, listboxItem, listboxGroup };\n","import { tv } from '../tw';\n\nconst dropdownContent = tv({\n base: 'bg-surface-input w-[260px] rounded-xl border border-neutral-subtle'\n});\n\nexport { dropdownContent };\n","import { tv } from '../tw';\n\nconst popover = tv({\n base: 'bg-surface-input rounded-xl border border-neutral-subtle',\n variants: {\n size: {\n sm: 'w-40',\n md: 'w-64',\n lg: 'w-96',\n xl: 'w-136',\n trigger: 'w-(--trigger-width)'\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nexport { popover };\n","import { tv } from '../tw';\nconst divider = tv({\n base: 'shrink-0 bg-neutral-subtle border-none',\n variants: {\n orientation: {\n horizontal: 'w-full h-px',\n vertical: 'h-full w-px'\n }\n },\n defaultVariants: {\n orientation: 'horizontal'\n }\n});\n\nexport { divider };\n","import { tv } from '../tw';\nimport { focusVisibleRing } from './shared';\nimport type { VariantProps } from 'tailwind-variants';\n\nconst externalLink = tv({\n slots: {\n // `inline`, not `inline-flex`. An external link's home is running text, and\n // `inline-flex` would make the whole anchor an atomic inline-block that\n // refuses to break across lines mid-phrase.\n //\n // No colour: `text-current` inherits from whatever the link sits in, so\n // there is no `intent` variant to keep in sync. `decoration-current/40`\n // gives the rule a lighter weight than the text without naming a palette.\n base: [\n 'inline text-current',\n 'decoration-current/40 underline-offset-2',\n 'hover:decoration-current',\n 'transition-colors duration-150',\n 'rounded-sm',\n ...focusVisibleRing\n ],\n // A wrapper rather than the `<svg>` itself, so the `:icon` block gets the\n // same sizing and spacing as the built-in glyph. `size-[1em]` tracks the\n // inherited font size, which is why the component needs no size scale.\n // `align-[-0.125em]` seats it on the text baseline instead of hanging it\n // from the line box.\n icon: [\n 'inline-flex items-center justify-center size-[1em] shrink-0',\n 'align-[-0.125em]',\n '[&>svg]:size-full'\n ]\n },\n variants: {\n underline: {\n always: { base: 'underline' },\n hover: { base: 'no-underline hover:underline' },\n none: { base: 'no-underline hover:no-underline' }\n },\n iconPlacement: {\n start: { icon: 'mr-0.5' },\n end: { icon: 'ml-0.5' }\n }\n },\n defaultVariants: {\n underline: 'always',\n iconPlacement: 'end'\n }\n});\n\nexport type ExternalLinkVariants = VariantProps<typeof externalLink>;\nexport type ExternalLinkSlots = keyof ReturnType<typeof externalLink>;\n\nexport { externalLink };\n","import { tv, type VariantProps } from '../tw';\n\n// Border-radius lives ONLY in the `shape` variants, never in `base`. Frontile's\n// `rounded-default` is a custom value that tailwind-merge does not recognise as\n// part of the `rounded` group, so a base radius would survive alongside a\n// shape's radius instead of being replaced by it.\nconst skeleton = tv({\n base: ['block', 'overflow-hidden'],\n variants: {\n shape: {\n text: 'w-full rounded-default',\n circle: 'aspect-square rounded-full',\n // Matches Avatar's squircle radius so the two line up side by side.\n square: 'aspect-square rounded-[20%]',\n rounded: 'w-full rounded-lg',\n rect: 'w-full rounded-none'\n },\n // Resolved per shape in compoundVariants: `circle`/`square` take both\n // dimensions from Avatar's size scale, the rest take a height.\n size: {\n xs: '',\n sm: '',\n md: '',\n lg: '',\n xl: ''\n },\n animation: {\n shimmer: [\n 'bg-linear-to-r',\n 'from-surface-overlay-soft',\n 'via-surface-overlay-firm',\n 'to-surface-overlay-soft',\n 'bg-[length:200%_100%]',\n 'animate-shimmer'\n ],\n pulse: ['bg-surface-overlay-mild', 'animate-pulse'],\n none: ['bg-surface-overlay-mild']\n }\n },\n compoundVariants: [\n // Square-ish shapes: one token sets width and height, reusing Avatar's\n // scale so `<Skeleton @shape=\"circle\" @size=\"md\" />` matches\n // `<Avatar @size=\"md\" />` exactly.\n { shape: ['circle', 'square'], size: 'xs', class: 'size-5' },\n { shape: ['circle', 'square'], size: 'sm', class: 'size-6' },\n { shape: ['circle', 'square'], size: 'md', class: 'size-8' },\n { shape: ['circle', 'square'], size: 'lg', class: 'size-10' },\n { shape: ['circle', 'square'], size: 'xl', class: 'size-12' },\n\n // Full-width shapes: size sets a height. Every shape gets one so a\n // Skeleton is never zero-height — an invisible placeholder makes a\n // loading state look like an empty state. Override with `@class`.\n { shape: ['text', 'rounded', 'rect'], size: 'xs', class: 'h-2.5' },\n { shape: ['text', 'rounded', 'rect'], size: 'sm', class: 'h-3' },\n { shape: ['text', 'rounded', 'rect'], size: 'md', class: 'h-4' },\n { shape: ['text', 'rounded', 'rect'], size: 'lg', class: 'h-5' },\n { shape: ['text', 'rounded', 'rect'], size: 'xl', class: 'h-6' }\n ],\n defaultVariants: {\n shape: 'text',\n size: 'md',\n animation: 'shimmer'\n }\n});\n\nexport type SkeletonVariants = VariantProps<typeof skeleton>;\nexport { skeleton };\n","import { tv, type VariantProps } from '../tw';\nconst spinner = tv({\n base: 'text-neutral-muted animate-spin',\n variants: {\n size: {\n xs: 'w-4 h-4',\n sm: 'w-6 h-6',\n md: 'w-8 h-8',\n lg: 'w-10 h-10',\n xl: 'w-12 h-12'\n },\n intent: {\n default: 'fill-neutral-strong',\n primary: 'fill-primary',\n secondary: 'fill-secondary',\n tertiary: 'fill-tertiary',\n success: 'fill-success',\n warning: 'fill-warning',\n danger: 'fill-danger'\n }\n },\n defaultVariants: {\n size: 'md',\n intent: 'default'\n }\n});\n\nexport type SpinnerVariants = VariantProps<typeof spinner>;\nexport { spinner };\n","import { tv, type VariantProps } from '../tw';\n\nconst table = tv({\n slots: {\n base: ['w-full', 'caption-bottom', 'font-body text-body-2xs'],\n wrapper: [\n 'relative',\n 'isolate',\n 'overflow-auto',\n 'rounded-default',\n // `surface-table` rather than `surface-card`, which the table otherwise\n // looks exactly like: every sticky part of the table paints over the rows\n // and columns scrolling beneath it, and in dark `card` is a translucent\n // veil that would let them read through. The role carries the colour that\n // veil renders, with the alpha already resolved. Override\n // `--color-surface-table` to sit a table on a different background.\n 'bg-surface-table'\n ],\n table: ['w-full', 'table-auto'],\n thead: ['relative', 'bg-surface-overlay-subtle'],\n tbody: [\n 'divide-y',\n 'divide-surface-overlay-subtle',\n // Rows carry the surface themselves rather than letting the wrapper show\n // through: a sticky row has to hide the rows sliding under it, and a\n // sticky cell picks its fill up from its row via `background-color:\n // inherit`. Row tints layer on top of this, and any tint that replaces it\n // has to be opaque too — see `striped` and the selection variants.\n '[&>tr]:bg-surface-table',\n // `muted`, not `subtle`: in dark `neutral-subtle` is gray-900, the same\n // value `surface-table` carries, so a `subtle` hover reads as no hover at\n // all. This stays a background *colour* so `transition-colors` animates it.\n '[&>tr]:data-[selectable=true]:data-[selected=false]:hover:bg-neutral-muted',\n '[&>tr]:data-[selectable=true]:transition-colors'\n ],\n // Footer rows take the surface for the same reason body rows do: a sticky\n // column in the footer scrolls past the cells to its side.\n tfoot: ['relative', '[&>tr]:bg-surface-table'],\n tr: [\n 'data-[disabled=true]:opacity-50',\n 'data-[disabled=true]:cursor-not-allowed',\n 'data-[disabled=true]:hover:bg-transparent',\n 'data-[selectable=true]:focus-visible:ring-2',\n 'data-[selectable=true]:focus-visible:ring-inset',\n 'data-[selectable=true]:focus-visible:ring-default',\n 'data-[selectable=true]:focus-visible:z-10',\n 'transition-colors',\n 'duration-150',\n 'outline-hidden'\n ],\n separator: [\n 'absolute',\n 'z-2',\n 'left-0',\n 'w-full',\n 'h-px',\n 'bg-surface-overlay-mild'\n ],\n th: [\n 'h-12',\n 'px-4',\n 'text-left',\n 'align-middle',\n 'font-label',\n 'text-neutral-bolder',\n '[&:has([role=checkbox])]:pr-0',\n 'data-[sortable=true]:cursor-pointer'\n ],\n sortButton: [\n 'group/sort',\n 'inline-flex',\n 'items-center',\n 'gap-1',\n 'w-full',\n 'text-left',\n 'font-label',\n 'text-neutral-bolder',\n 'outline-hidden',\n 'focus-visible:z-10',\n 'focus-visible:ring-3',\n 'focus-visible:ring-focus',\n 'focus-visible:ring-offset-2',\n 'focus-visible:ring-offset-background'\n ],\n sortIcon: [\n 'size-4',\n 'flex-shrink-0',\n 'text-neutral-soft',\n 'transition-opacity',\n 'data-[sorted=false]:opacity-0',\n 'group-hover/sort:data-[sorted=false]:opacity-100',\n 'data-[sorted=true]:opacity-100'\n ],\n columnVisibilityButton: ['flex'],\n columnVisibilityIcon: ['size-6'],\n td: [\n 'align-middle',\n 'text-neutral-strong',\n '[&:has([role=checkbox])]:pr-0'\n ],\n empty: ['text-neutral-soft', 'align-middle', 'text-center', 'py-12'],\n // Deliberately carries no width or height: these classes are merged onto\n // Skeleton *after* its own shape and size variants, so any dimension set\n // here would defeat a column's `skeleton: 'circle'` preset. The table\n // passes its `size` through to Skeleton instead.\n skeleton: ['max-w-[16ch]'],\n // Placeholder rows fade in one after another. The per-row `animation-delay`\n // is set inline by the component, since a delay that scales with the row\n // index cannot be a static utility class.\n skeletonRow: ['animate-skeleton-enter', 'motion-reduce:animate-none']\n },\n variants: {\n size: {\n sm: {\n th: 'h-10 px-3 py-2 text-label-2xs',\n td: 'px-3 py-2 text-body-2xs'\n },\n md: {\n th: 'h-12 px-4 text-label-xs',\n td: 'p-4 text-body-2xs'\n },\n lg: {\n th: 'h-14 px-6 text-label-sm',\n td: 'p-6 text-body-xs'\n }\n },\n isLoading: {\n true: {\n thead: [\n 'after:absolute',\n 'after:top-full',\n 'after:left-0',\n 'after:w-1/2',\n 'after:animate-swing',\n 'after:h-px',\n 'after:z-10'\n ]\n }\n },\n // Declared empty on purpose: these variants exist only so `isLoading` can\n // pair with them in `compoundVariants` below, where the actual\n // `thead: after:bg-*` colour is applied. A colour set here would paint the\n // hairline even when the table is not loading.\n loadingColor: {\n default: {},\n primary: {},\n success: {},\n warning: {},\n danger: {}\n },\n selectionColor: {\n default: {},\n primary: {},\n success: {},\n warning: {},\n danger: {}\n },\n layout: {\n auto: {\n table: 'table-auto'\n },\n fixed: {\n table: 'table-fixed'\n }\n },\n striped: {\n true: {\n // A translucent tint, so it goes on as a background *image* layer over\n // the row's opaque fill instead of replacing it. Painting it as the\n // background colour would make every striped sticky row see-through.\n tbody:\n '[&_tr:nth-child(odd)]:[background-image:linear-gradient(var(--color-surface-overlay-subtle),var(--color-surface-overlay-subtle))]'\n }\n },\n isSticky: {\n true: {}\n },\n stickyPosition: {\n left: {},\n right: {},\n top: {},\n bottom: {}\n },\n isScrollable: {\n true: {\n wrapper: ['overflow-auto']\n }\n },\n hasStickyHeader: {\n true: {}\n },\n isInStickyRow: {\n true: {}\n }\n },\n compoundVariants: [\n // Sticky header - highest priority for intersections with columns\n {\n isSticky: true,\n stickyPosition: 'top',\n class: {\n // The opaque surface plus the header's own translucent tint as a layer\n // above it, which is what a non-sticky `thead` composites to over the\n // wrapper — so stuck and unstuck headers read as the same colour.\n thead: [\n 'sticky',\n 'top-0',\n 'z-2',\n 'bg-surface-table',\n '[background-image:linear-gradient(var(--color-surface-overlay-subtle),var(--color-surface-overlay-subtle))]'\n ]\n }\n },\n // Sticky footer\n {\n isSticky: true,\n stickyPosition: 'bottom',\n class: {\n tfoot: ['sticky', 'bottom-0', 'z-2', 'bg-surface-table']\n }\n },\n // Sticky columns - medium priority, header cells get higher z-index.\n // Body and footer cells inherit their row's paint — fill, and any tint\n // layered over it — so a pinned column tracks selection, hover and striping\n // instead of masking them with a surface of its own.\n {\n isSticky: true,\n stickyPosition: 'left',\n class: {\n th: [\n 'sticky',\n 'left-0',\n 'z-3',\n 'bg-surface-table',\n '[background-image:linear-gradient(var(--color-surface-overlay-subtle),var(--color-surface-overlay-subtle))]'\n ],\n td: [\n 'sticky',\n 'left-0',\n 'z-1',\n 'bg-inherit',\n '[background-image:inherit]'\n ]\n }\n },\n {\n isSticky: true,\n stickyPosition: 'right',\n class: {\n th: [\n 'sticky',\n 'right-0',\n 'z-3',\n 'bg-surface-table',\n '[background-image:linear-gradient(var(--color-surface-overlay-subtle),var(--color-surface-overlay-subtle))]'\n ],\n td: [\n 'sticky',\n 'right-0',\n 'z-1',\n 'bg-inherit',\n '[background-image:inherit]'\n ]\n }\n },\n // Sticky rows - base layer\n {\n isSticky: true,\n stickyPosition: 'top',\n class: {\n tr: ['sticky', 'top-0', 'z-1', 'bg-surface-table']\n }\n },\n {\n isSticky: true,\n stickyPosition: 'bottom',\n class: {\n tr: ['sticky', 'bottom-0', 'z-1', 'bg-surface-table']\n }\n },\n // Sticky rows with sticky header - position after header\n {\n isSticky: true,\n stickyPosition: 'top',\n hasStickyHeader: true,\n class: {\n tr: [\n 'sticky',\n 'z-2',\n 'bg-surface-table',\n '[&.sticky]:[top:var(--table-header-height,48px)]'\n ]\n }\n },\n // Intersection cells: sticky column + sticky row - highest z-index\n {\n isSticky: true,\n stickyPosition: 'left',\n isInStickyRow: true,\n class: {\n td: [\n 'sticky',\n 'left-0',\n 'z-2',\n 'bg-inherit',\n '[background-image:inherit]'\n ]\n }\n },\n {\n isSticky: true,\n stickyPosition: 'right',\n isInStickyRow: true,\n class: {\n td: [\n 'sticky',\n 'right-0',\n 'z-2',\n 'bg-inherit',\n '[background-image:inherit]'\n ]\n }\n },\n // Loading states with color variants\n {\n isLoading: true,\n loadingColor: 'default',\n class: {\n thead: `after:bg-neutral`\n }\n },\n {\n isLoading: true,\n loadingColor: 'primary',\n class: {\n thead: `after:bg-primary`\n }\n },\n {\n isLoading: true,\n loadingColor: 'success',\n class: {\n thead: `after:bg-success`\n }\n },\n {\n isLoading: true,\n loadingColor: 'warning',\n class: {\n thead: `after:bg-warning`\n }\n },\n {\n isLoading: true,\n loadingColor: 'danger',\n class: {\n thead: `after:bg-danger`\n }\n },\n // Selection color variants\n {\n selectionColor: 'default',\n class: {\n // Half-opacity, so it layers over the row's fill rather than replacing\n // it — a selected sticky row still has to occlude what scrolls under.\n // The other selection colours are opaque and can stay plain fills.\n //\n // `soft` rather than `subtle`, which in dark is the same value as\n // `surface-table` and so tints nothing. At 50% this lands on the weight\n // the colour variants carry (1.4:1 against the surface, against\n // `primary-subtle`'s 1.38:1).\n tbody:\n '[&>tr]:data-[selected=true]:[background-image:linear-gradient(color-mix(in_oklab,var(--color-neutral-soft)_50%,transparent),color-mix(in_oklab,var(--color-neutral-soft)_50%,transparent))]',\n tr: ['data-[selectable=true]:focus-visible:ring-default']\n }\n },\n {\n selectionColor: 'primary',\n class: {\n tbody: '[&>tr]:data-[selected=true]:bg-primary-subtle',\n tr: ['data-[selectable=true]:focus-visible:ring-primary-soft']\n }\n },\n {\n selectionColor: 'success',\n class: {\n tbody: '[&>tr]:data-[selected=true]:bg-success-subtle',\n tr: ['data-[selectable=true]:focus-visible:ring-success']\n }\n },\n {\n selectionColor: 'warning',\n class: {\n tbody: '[&>tr]:data-[selected=true]:bg-warning-subtle',\n tr: ['data-[selectable=true]:focus-visible:ring-warning']\n }\n },\n {\n selectionColor: 'danger',\n class: {\n tbody: '[&>tr]:data-[selected=true]:bg-danger-subtle',\n tr: ['data-[selectable=true]:focus-visible:ring-danger']\n }\n }\n ],\n defaultVariants: {\n size: 'md',\n layout: 'auto',\n loadingColor: 'default',\n selectionColor: 'primary'\n }\n});\n\nexport type TableVariants = VariantProps<typeof table>;\nexport type TableSlots = keyof ReturnType<typeof table>;\n\nexport { table };\n","import { tv } from '../tw';\nimport { focusVisibleRing, focusVisibleWithinRing } from './shared';\nimport type { VariantProps } from '../tw';\n\nconst segmentedControl = tv({\n slots: {\n // The positioning context the indicator is measured against. `isolate`\n // keeps the indicator's stacking behind the items without leaking a\n // z-index into the surrounding page.\n base: ['relative isolate inline-flex', 'rounded-pill', 'p-1'],\n\n // Geometry comes from the custom properties `selectionIndicator` publishes;\n // this slot only decides what it looks like. `var()` names are literal:\n // Tailwind generates nothing from an interpolated class string.\n indicator: [\n 'pointer-events-none absolute left-0 top-0 z-0',\n 'w-[var(--fr-si-width)] h-[var(--fr-si-height)]',\n 'translate-x-[var(--fr-si-x)] translate-y-[var(--fr-si-y)]',\n 'rounded-pill',\n // Held until the first real measurement lands, so the indicator never\n // flies in from the container origin on first paint.\n 'opacity-0',\n 'group-data-[fr-si-ready]/segmented:opacity-100',\n // Tailwind v4 compiles `translate-x-*` to the standalone `translate`\n // property, not to `transform`, so `translate` is what has to be\n // transitioned. `transform` is listed for overrides that use it.\n 'group-data-[fr-si-ready]/segmented:transition-[transform,translate,width,height]',\n 'group-data-[fr-si-ready]/segmented:duration-200',\n 'group-data-[fr-si-ready]/segmented:ease-out',\n 'motion-reduce:transition-none'\n ],\n\n // Both focus rings, not one per rendering mode: in button mode the item is\n // the focusable element and `has-[:focus-visible]` has no descendant to\n // match, while in form mode the label is not focusable and `focus-visible:`\n // never matches it. Only one set can ever apply, so a third rendering mode\n // needs no third branch.\n item: [\n ...focusVisibleRing,\n ...focusVisibleWithinRing,\n 'relative z-10',\n 'inline-flex items-center justify-center gap-2',\n 'cursor-pointer select-none whitespace-nowrap',\n 'rounded-pill',\n 'transition-colors duration-200',\n 'motion-reduce:transition-none',\n // Both rendering modes publish `data-disabled`, so one selector covers\n // them. Keying off native `disabled:` would miss form mode, where the\n // item is a `<label>` and only the hidden input is disabled.\n 'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-disabled',\n // Resting, hover and selected are three distinct levels so hover has\n // somewhere to go that is not the selected ink. `neutral-firm` clears\n // WCAG AA against the track in both modes.\n 'text-neutral-firm',\n // Scoped to unselected: an unscoped `hover:` ties on specificity with the\n // variants' `data-[selected=true]:` ink, leaving the winner to Tailwind's\n // emitted variant order.\n 'data-[selected=false]:data-[disabled=false]:hover:text-neutral-strong'\n ]\n },\n\n variants: {\n variant: {\n solid: {\n // `surface-overlay-soft` is translucent in dark mode, as is the\n // indicator's `surface-card`; two stacked veils composite\n // unpredictably, so dark mode uses an opaque role instead.\n base: 'bg-surface-overlay-soft dark:bg-surface-table',\n indicator: 'shadow-elevation-1'\n },\n ghost: {\n base: 'bg-transparent',\n indicator: ''\n }\n },\n\n // Keyed off `data-selected`, which the item publishes in both rendering\n // modes -- the two express selection on different elements, so a rule per\n // mode is one mode away from being forgotten. Written literally: Tailwind\n // generates nothing from a composed class string.\n intent: {\n default: {\n // Opaque white in light mode. In dark, `surface-card` is translucent,\n // so an opaque neutral is used instead -- see the track above.\n indicator: 'bg-surface-card dark:bg-neutral-soft',\n item: 'data-[selected=true]:text-neutral-bolder'\n },\n primary: {\n indicator: 'bg-primary',\n item: 'data-[selected=true]:text-on-primary'\n },\n secondary: {\n indicator: 'bg-secondary',\n item: 'data-[selected=true]:text-on-secondary'\n },\n tertiary: {\n indicator: 'bg-tertiary',\n item: 'data-[selected=true]:text-on-tertiary'\n },\n success: {\n indicator: 'bg-success',\n item: 'data-[selected=true]:text-on-success'\n },\n warning: {\n indicator: 'bg-warning',\n item: 'data-[selected=true]:text-on-warning'\n },\n danger: {\n indicator: 'bg-danger',\n item: 'data-[selected=true]:text-on-danger'\n }\n },\n\n size: {\n sm: { item: 'px-3 py-1 text-label-sm' },\n md: { item: 'px-4 py-1.5 text-label-md' },\n lg: { item: 'px-5 py-2 text-label-lg' }\n },\n\n orientation: {\n horizontal: { base: 'flex-row' },\n // A pill radius on a tall narrow column reads as an oval blob, so the\n // vertical axis squares off -- on the track and on what sits inside it,\n // or the indicator would bulge out of the track. The inner radius is the\n // outer one less the track's `p-1`.\n vertical: {\n base: 'flex-col rounded-2xl',\n indicator: 'rounded-xl',\n item: 'rounded-xl'\n }\n },\n\n isFullWidth: {\n true: { base: 'flex w-full', item: 'flex-1' }\n },\n\n isDisabled: {\n true: { base: 'opacity-disabled', item: 'pointer-events-none' }\n },\n\n hasSeparators: {\n true: {\n item: [\n // A hairline before every item except the first. The level differs\n // per mode: neither the neutral scale nor the track is symmetric\n // across them, so one level cannot read on both.\n 'before:absolute before:content-[\"\"]',\n 'before:bg-neutral-mild dark:before:bg-neutral-soft',\n 'before:transition-opacity before:duration-200',\n 'motion-reduce:before:transition-none',\n // The indicator's `<span>` is the container's true first child, so\n // `first:` would never match an item; `first-of-type:` does.\n 'first-of-type:before:content-none',\n // Hidden on the selected item and the one after it, so the indicator\n // never crosses a visible line. Sibling selectors know the order, so\n // nothing tracks indices.\n 'before:opacity-100',\n 'data-[selected=true]:before:opacity-0',\n '[&[data-selected=true]+*]:before:opacity-0'\n ]\n }\n }\n },\n\n compoundVariants: [\n // Vertical items get their width from the flex stretch, so the padding\n // budget moves to the cross axis. One literal class per size.\n { orientation: 'vertical', size: 'sm', class: { item: 'py-1.5' } },\n { orientation: 'vertical', size: 'md', class: { item: 'py-2' } },\n { orientation: 'vertical', size: 'lg', class: { item: 'py-2.5' } },\n {\n hasSeparators: true,\n orientation: 'horizontal',\n class: {\n item: 'before:left-0 before:top-1/2 before:-translate-y-1/2 before:w-px before:h-4'\n }\n },\n {\n hasSeparators: true,\n orientation: 'vertical',\n class: {\n item: 'before:top-0 before:left-1/2 before:-translate-x-1/2 before:h-px before:w-4'\n }\n }\n ],\n\n defaultVariants: {\n variant: 'solid',\n intent: 'default',\n size: 'md',\n orientation: 'horizontal'\n }\n});\n\nexport { segmentedControl };\nexport type SegmentedControlSlots = keyof ReturnType<typeof segmentedControl>;\nexport type SegmentedControlVariants = VariantProps<typeof segmentedControl>;\n","import { tv } from '../tw';\nimport { focusVisibleRing } from './shared';\nimport type { VariantProps } from '../tw';\n\nconst tabs = tv({\n slots: {\n base: 'flex',\n\n // The positioning context the indicator is measured against, and the\n // element that carries `group/tabs` in the template.\n list: ['relative isolate flex', 'select-none'],\n\n // Geometry comes from the custom properties `selectionIndicator`\n // publishes. `var()` names are literal: Tailwind generates nothing from\n // an interpolated class string.\n indicator: [\n 'pointer-events-none absolute left-0 top-0 z-0',\n // Held until the first real measurement lands, so the indicator never\n // flies in from the container origin on first paint.\n 'opacity-0',\n 'group-data-[fr-si-ready]/tabs:opacity-100',\n // Tailwind v4 compiles `translate-x-*` to the standalone `translate`\n // property, not to `transform`, so `translate` is what has to be\n // transitioned. `transform` is listed for overrides that use it.\n 'group-data-[fr-si-ready]/tabs:transition-[transform,translate,width,height]',\n 'group-data-[fr-si-ready]/tabs:duration-200',\n 'group-data-[fr-si-ready]/tabs:ease-out',\n 'motion-reduce:transition-none'\n ],\n\n tab: [\n ...focusVisibleRing,\n 'relative z-10',\n 'inline-flex items-center justify-center gap-2',\n 'cursor-pointer whitespace-nowrap',\n 'transition-colors duration-200',\n 'motion-reduce:transition-none',\n // Resting, hover and selected are three distinct levels so hover has\n // somewhere to go that is not the selected ink.\n 'text-neutral-firm',\n // Scoped to unselected: an unscoped `hover:` ties on specificity with\n // the selected ink, leaving the winner to Tailwind's variant order.\n // \"Not disabled\" is `not-data-[disabled=true]`, not `data-[disabled=false]`:\n // an attribute-value selector cannot match an element that never declares\n // the attribute, and a consumer bringing their own element should not have\n // to know the theme wants a `data-disabled=\"false\"` written onto it.\n 'data-[selected=false]:not-data-[disabled=true]:hover:text-neutral-strong',\n 'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-disabled'\n ],\n\n panel: [...focusVisibleRing, 'outline-none']\n },\n\n variants: {\n variant: {\n solid: {\n list: 'bg-surface-overlay-soft dark:bg-surface-table rounded-pill p-1',\n indicator: [\n 'w-[var(--fr-si-width)] h-[var(--fr-si-height)]',\n 'translate-x-[var(--fr-si-x)] translate-y-[var(--fr-si-y)]',\n 'rounded-pill shadow-elevation-1'\n ],\n tab: 'rounded-pill'\n },\n // Painting is finished in compoundVariants: the bar is pinned to a\n // different edge per orientation and reads a different pair of custom\n // properties, so there is nothing orientation-agnostic to say here.\n underline: {\n tab: 'rounded-md'\n }\n },\n\n // Fill and selected ink travel together: the label sits on the fill, so a\n // new intent needs both or its selected label is unreadable on its own\n // background. `underline` overrides the ink in one compound below, since a\n // bare bar puts no fill behind the label.\n intent: {\n default: {\n indicator: 'bg-surface-card dark:bg-neutral-soft',\n tab: 'data-[selected=true]:text-neutral-bolder'\n },\n primary: {\n indicator: 'bg-primary',\n tab: 'data-[selected=true]:text-on-primary'\n },\n secondary: {\n indicator: 'bg-secondary',\n tab: 'data-[selected=true]:text-on-secondary'\n },\n tertiary: {\n indicator: 'bg-tertiary',\n tab: 'data-[selected=true]:text-on-tertiary'\n },\n success: {\n indicator: 'bg-success',\n tab: 'data-[selected=true]:text-on-success'\n },\n warning: {\n indicator: 'bg-warning',\n tab: 'data-[selected=true]:text-on-warning'\n },\n danger: {\n indicator: 'bg-danger',\n tab: 'data-[selected=true]:text-on-danger'\n }\n },\n\n size: {\n sm: { tab: 'px-3 py-1 text-label-sm', panel: 'py-2' },\n md: { tab: 'px-4 py-1.5 text-label-md', panel: 'py-3' },\n lg: { tab: 'px-5 py-2 text-label-lg', panel: 'py-4' }\n },\n\n orientation: {\n horizontal: { base: 'flex-col', list: 'flex-row' },\n vertical: { base: 'flex-row gap-4', list: 'flex-col' }\n },\n\n // `base` needs the width too, not just `list`: the list's `w-full`\n // resolves against `base`, and a `base` with no width of its own collapses\n // to its content inside an `align-items: flex-start` parent -- leaving the\n // whole argument inert in exactly the layouts that reach for it.\n isFullWidth: { true: { base: 'w-full', list: 'w-full', tab: 'flex-1' } },\n\n isDisabled: {\n true: { list: 'opacity-disabled', tab: 'pointer-events-none' }\n }\n },\n\n compoundVariants: [\n // -- underline: no fill behind the label, so the intent colour lives on the\n // bar alone and the label stays high-contrast neutral at every intent --\n // matching the reference designs. The hover chip shares this matcher, so it\n // rides along rather than repeating the condition in a second entry.\n {\n variant: 'underline',\n class: {\n tab: 'data-[selected=true]:text-neutral-bolder data-[selected=false]:not-data-[disabled=true]:hover:bg-surface-overlay-soft'\n }\n },\n // A pill radius on a tall narrow column reads as an oval blob, so the\n // vertical axis squares off -- on the track and on what sits inside it, or\n // the indicator would bulge out of the track. The inner radius is the\n // outer one less the track's `p-1`. Only `solid` has a track to round.\n {\n variant: 'solid',\n orientation: 'vertical',\n class: {\n list: 'rounded-2xl',\n indicator: 'rounded-xl',\n tab: 'rounded-xl'\n }\n },\n // `default` intent's fill is a surface in solid; a bare bar needs ink.\n {\n variant: 'underline',\n intent: 'default',\n class: { indicator: 'bg-neutral-bolder' }\n },\n {\n variant: 'underline',\n orientation: 'horizontal',\n class: {\n // `pb-2` is what separates the labels from the rule, and it belongs on\n // the list rather than as a margin on each tab: an absolutely\n // positioned box resolves its offsets against the padding box, so the\n // bar stays welded to the rule at `bottom-0` while the padding pushes\n // the tabs -- and with them their hover chips -- clear of it. A chip\n // that runs into the rule is the thing this buys off.\n list: 'gap-1 pb-2 border-b border-neutral-mild dark:border-neutral-soft',\n indicator: [\n 'top-auto bottom-0 h-0.5 rounded-full',\n 'w-[var(--fr-si-width)]',\n 'translate-x-[var(--fr-si-x)]'\n ]\n }\n },\n {\n variant: 'underline',\n orientation: 'vertical',\n class: {\n // The same gap, on the axis this orientation puts the rule on.\n list: 'gap-1 ps-2 border-l border-neutral-mild dark:border-neutral-soft',\n indicator: [\n 'left-0 w-0.5 rounded-full',\n 'h-[var(--fr-si-height)]',\n 'translate-y-[var(--fr-si-y)]'\n ]\n }\n }\n ],\n\n defaultVariants: {\n variant: 'solid',\n intent: 'default',\n size: 'md',\n orientation: 'horizontal'\n }\n});\n\nexport { tabs };\nexport type TabsSlots = keyof ReturnType<typeof tabs>;\nexport type TabsVariants = VariantProps<typeof tabs>;\n","import { tv } from '../tw';\nimport { focusVisibleRing } from './shared';\nimport type { VariantProps } from '../tw';\n\nconst accordion = tv({\n slots: {\n base: 'flex flex-col',\n\n // Carries `group/accordion-item` plus `data-open`, which is what lets the\n // indicator rotate without the component pushing a class. The group name\n // is written literally: Tailwind generates nothing from a composed string.\n item: 'group/accordion-item',\n\n heading: 'flex',\n\n trigger: [\n ...focusVisibleRing,\n 'flex flex-1 items-center text-start',\n 'w-full cursor-pointer',\n 'transition-colors duration-200 motion-reduce:transition-none',\n 'text-neutral-bolder',\n // \"Not disabled\" is `not-data-[disabled=true]`, not\n // `data-[disabled=false]`: an attribute-value selector cannot match an\n // element that never declares the attribute.\n 'not-data-[disabled=true]:hover:text-neutral-strong',\n 'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-disabled'\n ],\n\n startContent: 'flex shrink-0 items-center',\n titleWrapper: 'flex flex-1 flex-col text-start',\n title: '',\n subtitle: 'text-neutral-firm',\n\n indicator: [\n 'shrink-0',\n 'transition-transform duration-200 motion-reduce:transition-none',\n 'group-data-[open=true]/accordion-item:rotate-180'\n ],\n\n // The animated element. It must never carry padding: padding on the\n // animating box means the collapsed height can never reach 0.\n content: 'text-neutral-firm',\n\n // Where the panel's padding actually lives.\n contentBody: ''\n },\n\n variants: {\n variant: {\n // No chrome at all.\n ghost: {},\n // Rules between items, none after the last.\n outlined: {\n item: 'border-b border-neutral-muted last:border-b-0'\n },\n // A soft fill on the open item. Horizontal padding comes with the\n // surface -- text running to the edge of a tinted box reads as a bug.\n faded: {\n item: 'rounded-lg data-[open=true]:bg-surface-overlay-soft',\n trigger: 'px-3',\n contentBody: 'px-3'\n },\n // One bordered surface around the whole group.\n enclosed: {\n base: 'overflow-hidden rounded-lg border border-neutral-muted',\n item: 'border-b border-neutral-muted last:border-b-0',\n trigger: 'px-4',\n contentBody: 'px-4'\n }\n },\n\n size: {\n // Typography sits on `trigger`, not on `title`, and that placement is\n // load-bearing: the trigger renders inside a real `<h3>` (or whatever\n // `@headingLevel` says), so a host page's heading styles -- large, bold,\n // tight tracking -- would otherwise be inherited by everything in the\n // header row that does not set its own size: `startContent`, the\n // indicator, and any custom `<:title>` content. The class on the trigger\n // is the baseline that neutralises that; `subtitle` then refines it, and\n // `@classes.title` still wins on the title element itself.\n //\n // `text-label-*` (semibold, default tracking) rather than `text-strong-*`\n // (bold, tight): an accordion header is a label on a row, not a section\n // heading. It matches the panel body's size at every step and lets weight\n // alone do the separating, which is how the reference implementations\n // read.\n sm: {\n trigger: 'gap-2 py-2 text-label-xs',\n subtitle: 'text-body-2xs',\n indicator: 'size-4',\n contentBody: 'pb-2 text-body-sm'\n },\n md: {\n trigger: 'gap-3 py-3 text-label-sm',\n subtitle: 'text-body-xs',\n indicator: 'size-5',\n contentBody: 'pb-3 text-body-md'\n },\n lg: {\n trigger: 'gap-3 py-4 text-label-md',\n subtitle: 'text-body-sm',\n indicator: 'size-6',\n contentBody: 'pb-4 text-body-lg'\n }\n },\n\n isDisabled: {\n true: {\n base: 'opacity-disabled',\n trigger: 'pointer-events-none'\n }\n }\n },\n\n defaultVariants: {\n variant: 'outlined',\n size: 'md'\n }\n});\n\nexport { accordion };\nexport type AccordionSlots = keyof ReturnType<typeof accordion>;\nexport type AccordionVariants = VariantProps<typeof accordion>;\n","import { tv } from '../tw';\nimport { focusVisibleRing, focusVisibleWithinRing } from './shared';\nimport type { VariantProps } from '../tw';\n\nconst calendar = tv({\n slots: {\n base: [\n // `isolate` keeps every z-index the calendar uses inside the calendar.\n // The shared focus ring raises a focused control to `z-10`; without a\n // stacking context here that lands in the page's own stacking order and\n // paints over a site header.\n 'isolate inline-flex flex-col gap-3 p-3',\n // The two knobs that let a consumer resize cells and reshape them\n // without any new API. `--calendar-cell-radius` is how a `<:day>` block\n // with custom content escapes the circle.\n '[--calendar-cell-size:2.5rem]',\n '[--calendar-cell-radius:9999px]'\n ],\n\n // Header, year panel and month grids share one column sized to the grids\n // themselves. Without this the header stretches to the width of the\n // widest sibling -- a `<:footer>` of preset buttons, say -- and the prev\n // and next arrows drift away from the days they page.\n body: 'flex flex-col gap-3 w-fit',\n\n header: 'flex items-center justify-between gap-2',\n\n // `label-sm` is 1rem, which reads as heavy as a heading next to 14px day\n // numbers; `label-xs` is the 14px the caption wants.\n title: 'text-label-xs text-neutral-bolder',\n\n nav: 'flex items-center gap-1',\n\n // A native `<select>` sizes itself to its *widest* option, so the caption\n // would sit at \"September\" width even in May. Instead the visible label is\n // a span that sizes to the current month, with a transparent full-size\n // `<select>` laid over it -- the control stays native for the keyboard and\n // for assistive tech, but no longer dictates the width, and its built-in\n // arrow (which cannot be spaced) is replaced by our own chevron.\n monthSelectWrapper: [\n ...focusVisibleWithinRing,\n 'relative inline-flex items-center gap-1',\n 'rounded-full px-2 py-1 cursor-pointer',\n 'transition-colors duration-200 motion-reduce:transition-none',\n 'hover:bg-surface-overlay-soft'\n ],\n\n monthSelectValue: 'text-label-xs text-neutral-bolder',\n\n monthSelect: 'absolute inset-0 w-full opacity-0 cursor-pointer',\n\n monthSelectIcon: 'pointer-events-none size-3.5 shrink-0 text-neutral-firm',\n\n // Its own slot rather than `navButton`: that one is a fixed square sized\n // for a chevron, which would clip a four-digit year.\n yearTrigger: [\n ...focusVisibleRing,\n 'inline-flex items-center gap-1',\n 'rounded-full px-2 py-1 cursor-pointer',\n 'text-label-xs text-neutral-bolder',\n 'transition-colors duration-200 motion-reduce:transition-none',\n 'hover:bg-surface-overlay-soft'\n ],\n\n navButton: [\n ...focusVisibleRing,\n 'inline-flex items-center justify-center',\n 'size-8 rounded-full',\n // The chevron inside is sized here rather than on the icon, so the\n // button stays the hit area and the glyph stays optically balanced\n // against the caption.\n '[&_svg]:size-4',\n 'text-neutral-firm cursor-pointer',\n 'transition-colors duration-200 motion-reduce:transition-none',\n 'not-data-[disabled=true]:hover:bg-surface-overlay-soft',\n 'not-data-[disabled=true]:hover:text-neutral-bolder',\n 'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-disabled'\n ],\n\n // Centered because the calendar is only ever as wide as its widest part:\n // a `<:header>` block wider than the grid (long month names, extra\n // controls) stretches the component, and the months would otherwise sit\n // flush left under it. A no-op whenever the grid is the widest part.\n monthsWrapper: 'flex justify-center gap-4',\n monthGrid: 'border-collapse',\n weekdaysRow: '',\n\n // `caption-2xs` does not exist in the type scale -- the smallest caption\n // is `caption-sm` -- so the old value generated nothing and these labels\n // inherited 16px, rendering *larger* than the day numbers beneath them.\n // The row is also shorter than a day row: it is a label, not a cell.\n weekday: [\n 'text-caption-sm text-neutral font-normal',\n 'h-8 w-[var(--calendar-cell-size)]',\n 'text-center align-middle'\n ],\n\n week: '',\n\n // The positioning context for `cellBand`. No padding: the band has to\n // reach the cell edges for adjacent bands to touch.\n cell: ['relative p-0 text-center', 'size-[var(--calendar-cell-size)]'],\n\n // The continuous range ribbon, behind the day. Absolutely positioned and\n // filling the whole cell, which is what removes the gap between days.\n // No z-index: the band is painted before the day in document order, and\n // between two positioned elements with auto z-index document order already\n // decides. Giving the day a positive index instead let it escape into the\n // page and paint over a host site's header.\n cellBand: [\n 'absolute inset-0 pointer-events-none',\n // The band fills the whole cell so adjacent bands touch, but at the two\n // ends of a range it must stop under the endpoint's circle rather than\n // running past it into empty grid. Clipping to half width leaves the\n // ribbon meeting the fill and going no further.\n 'data-[range-start=true]:start-1/2',\n 'data-[range-end=true]:end-1/2',\n // A single-day range is both ends at once: nothing to connect, so no\n // band at all.\n 'data-[range-start=true]:data-[range-end=true]:hidden',\n // The pending preview is the same ribbon, quieter -- it shows where the\n // range *would* land, not where it is.\n 'data-[preview=true]:opacity-60'\n ],\n\n day: [\n ...focusVisibleRing,\n // `relative` is the positioning context for the today dot. Deliberately\n // no z-index -- see `cellBand`.\n 'relative',\n 'inline-flex items-center justify-center',\n 'size-[calc(var(--calendar-cell-size)-0.25rem)]',\n 'rounded-[var(--calendar-cell-radius)]',\n 'text-body-sm text-neutral-strong',\n 'cursor-pointer select-none',\n 'transition-colors duration-200 motion-reduce:transition-none',\n // Selected days are excluded here and get their own hover per intent.\n // Without the exclusion this rule wins on specificity -- it carries an\n // extra `:hover` over the intent's plain `data-[selected=true]` -- so\n // hovering the selected day replaced its fill with a grey overlay and\n // made it look deselected.\n 'not-data-[disabled=true]:not-data-[selected=true]:hover:bg-surface-overlay-soft',\n 'data-[outside=true]:text-neutral-mild',\n 'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:text-neutral-mild',\n 'data-[unavailable=true]:line-through data-[unavailable=true]:cursor-not-allowed',\n 'data-[unavailable=true]:hover:bg-transparent'\n ],\n\n // Wraps default *and* `<:day>` content, so a block that renders more than\n // a numeral -- a price, an event count -- stacks and centres without\n // having to rebuild this layout itself.\n dayContent:\n 'flex flex-col items-center justify-center leading-none overflow-hidden',\n\n // Sits below the grids, outside the column that sizes to them, so wide\n // content here wraps instead of stretching the header.\n footer: 'flex flex-wrap items-center gap-2 pt-1',\n\n // The today marker: a dot under the numeral rather than a ring, which\n // would compete with the selected fill.\n indicator: 'absolute bottom-1 size-1 rounded-full bg-current opacity-70',\n\n // The year panel stands in for the day grid rather than sitting above it,\n // so it is sized to the grid it replaces: seven cells wide, six tall. The\n // year list is long by design (a century back, for dates of birth), which\n // is exactly why it has to scroll inside that box instead of growing the\n // component to the height of its longest possible list.\n yearGrid: [\n // Positioned so the year buttons measure their `offsetTop` against the\n // panel: the component scrolls the selected year into view itself,\n // rather than letting `scrollIntoView` drag the whole page with it.\n 'relative grid grid-cols-3 gap-1',\n 'w-[calc(var(--calendar-cell-size)*7)]',\n 'max-h-[calc(var(--calendar-cell-size)*6)] overflow-y-auto',\n 'overscroll-contain'\n ],\n yearCell: [\n ...focusVisibleRing,\n 'rounded-full px-3 py-2 text-body-sm cursor-pointer',\n 'hover:bg-surface-overlay-soft',\n 'data-[selected=true]:bg-surface-overlay-soft data-[selected=true]:font-medium'\n ]\n },\n\n variants: {\n intent: {\n default: {\n day: 'data-[selected=true]:bg-neutral-strong data-[selected=true]:text-on-neutral-strong data-[selected=true]:hover:bg-neutral-bolder',\n cellBand: 'data-[in-range=true]:bg-neutral-soft'\n },\n primary: {\n day: 'data-[selected=true]:bg-primary data-[selected=true]:text-on-primary data-[selected=true]:hover:bg-primary-firm',\n cellBand: 'data-[in-range=true]:bg-primary-soft'\n },\n secondary: {\n day: 'data-[selected=true]:bg-secondary data-[selected=true]:text-on-secondary data-[selected=true]:hover:bg-secondary-firm',\n cellBand: 'data-[in-range=true]:bg-secondary-soft'\n },\n tertiary: {\n day: 'data-[selected=true]:bg-tertiary data-[selected=true]:text-on-tertiary data-[selected=true]:hover:bg-tertiary-firm',\n cellBand: 'data-[in-range=true]:bg-tertiary-soft'\n },\n success: {\n day: 'data-[selected=true]:bg-success data-[selected=true]:text-on-success data-[selected=true]:hover:bg-success-firm',\n cellBand: 'data-[in-range=true]:bg-success-soft'\n },\n warning: {\n day: 'data-[selected=true]:bg-warning data-[selected=true]:text-on-warning data-[selected=true]:hover:bg-warning-firm',\n cellBand: 'data-[in-range=true]:bg-warning-soft'\n },\n danger: {\n day: 'data-[selected=true]:bg-danger data-[selected=true]:text-on-danger data-[selected=true]:hover:bg-danger-firm',\n cellBand: 'data-[in-range=true]:bg-danger-soft'\n }\n },\n\n size: {\n sm: {\n base: 'p-2 [--calendar-cell-size:2.25rem]',\n title: 'text-label-2xs',\n navButton: 'size-7 [&_svg]:size-3.5'\n },\n md: { base: '[--calendar-cell-size:2.5rem]' },\n lg: {\n base: 'p-4 [--calendar-cell-size:3rem]',\n title: 'text-label-sm',\n navButton: 'size-9 [&_svg]:size-5'\n }\n },\n\n isDisabled: {\n true: { base: 'opacity-disabled pointer-events-none' }\n }\n },\n\n defaultVariants: {\n intent: 'primary',\n size: 'md'\n }\n});\n\nexport { calendar };\nexport type CalendarSlots = keyof ReturnType<typeof calendar>;\nexport type CalendarVariants = VariantProps<typeof calendar>;\n","import { tv } from '../tw';\nimport { focusVisibleRing } from './shared';\nimport type { VariantProps } from 'tailwind-variants';\n\n/**\n * Prev/next/first/last share every class, but `tv` has no way for one slot to\n * inherit another, so the list is written once here and spread into both. It\n * is not folded into a single `control` slot because `classes.prev` and\n * `classes.next` are part of the component's public override surface.\n */\nconst control = [\n ...focusVisibleRing,\n 'inline-flex shrink-0 items-center justify-center gap-1',\n 'rounded-pill',\n 'cursor-pointer select-none whitespace-nowrap',\n 'text-neutral-firm',\n 'transition-colors duration-200',\n 'motion-reduce:transition-none',\n 'enabled:hover:bg-surface-overlay-soft enabled:hover:text-neutral-strong',\n 'disabled:cursor-not-allowed disabled:opacity-disabled'\n];\n\n/**\n * The size-dependent half of the same story: `prev` and `next` are one\n * affordance at every size, so each size is written once here and spread into\n * both slots below. Written as whole literal class strings rather than\n * composed from parts -- Tailwind generates nothing from an interpolated\n * class, so the scanner has to see each one intact.\n */\nconst controlSize = {\n sm: 'h-7 px-2 text-label-xs [&_svg]:size-3.5',\n md: 'h-9 px-3 text-label-sm [&_svg]:size-4',\n lg: 'h-11 px-4 text-label-md [&_svg]:size-5'\n} as const;\n\nconst pagination = tv({\n slots: {\n // The summary sits on the leading edge and the controls on the trailing\n // one, so the row justifies apart only when a summary is actually there;\n // with nothing to justify against, the controls centre instead. Keyed off\n // the summary element's own presence with `:has()` -- the same trick\n // `table.ts` uses -- so the layout follows the rendered structure rather\n // than a variant the component has to compute and thread through.\n base: [\n 'flex w-full items-center gap-4',\n 'justify-center',\n '[&:has([data-pagination-summary])]:justify-between'\n ],\n\n summary: 'text-neutral shrink-0',\n\n list: 'flex items-center',\n\n item: 'flex',\n\n // The resting chip is ghost, so a row of them reads as text with the\n // active one as the only ink. Hover is scoped to the inactive chips:\n // unscoped, it ties with the active fill on specificity and the winner is\n // left to Tailwind's variant ordering.\n page: [\n ...focusVisibleRing,\n 'inline-flex shrink-0 items-center justify-center',\n 'rounded-pill',\n 'cursor-pointer select-none tabular-nums',\n 'text-neutral-firm',\n 'transition-colors duration-200',\n 'motion-reduce:transition-none',\n 'data-[active=false]:enabled:hover:bg-surface-overlay-soft',\n 'data-[active=false]:enabled:hover:text-neutral-strong',\n 'disabled:cursor-not-allowed disabled:opacity-disabled'\n ],\n\n prev: control,\n next: control,\n\n // Not a button, so no focus ring and no hover: it is a gap marker, and\n // giving it an affordance would promise a destination it does not have.\n ellipsis:\n 'inline-flex shrink-0 items-center justify-center select-none text-neutral'\n },\n\n variants: {\n // `page` is sized square via `size-*` so a one-digit and a three-digit\n // chip are the same circle; `tabular-nums` above stops the digits jittering\n // as the number changes. The controls are pill-shaped rather than square\n // because they carry a word as well as a chevron.\n size: {\n sm: {\n summary: 'text-body-xs',\n list: 'gap-0.5',\n page: 'size-7 text-label-xs',\n prev: controlSize.sm,\n next: controlSize.sm,\n ellipsis: 'size-7 text-label-xs'\n },\n md: {\n summary: 'text-body-sm',\n list: 'gap-1',\n page: 'size-9 text-label-sm',\n prev: controlSize.md,\n next: controlSize.md,\n ellipsis: 'size-9 text-label-sm'\n },\n lg: {\n summary: 'text-body-md',\n list: 'gap-1.5',\n page: 'size-11 text-label-md',\n prev: controlSize.lg,\n next: controlSize.lg,\n ellipsis: 'size-11 text-label-md'\n }\n },\n\n // Fill and label travel together: the digit sits on the fill, so each\n // intent needs both or the active chip is unreadable.\n intent: {\n default: {\n page: 'data-[active=true]:bg-neutral-bolder data-[active=true]:text-on-neutral-bolder'\n },\n primary: {\n page: 'data-[active=true]:bg-primary data-[active=true]:text-on-primary'\n },\n secondary: {\n page: 'data-[active=true]:bg-secondary data-[active=true]:text-on-secondary'\n },\n tertiary: {\n page: 'data-[active=true]:bg-tertiary data-[active=true]:text-on-tertiary'\n },\n success: {\n page: 'data-[active=true]:bg-success data-[active=true]:text-on-success'\n },\n warning: {\n page: 'data-[active=true]:bg-warning data-[active=true]:text-on-warning'\n },\n danger: {\n page: 'data-[active=true]:bg-danger data-[active=true]:text-on-danger'\n }\n },\n\n // The buttons also carry a real `disabled` attribute, so this is purely\n // the group-level dimming; `pointer-events-none` covers a consumer's own\n // element supplied through the `item` block, which the component cannot\n // disable for them.\n isDisabled: {\n true: { base: 'opacity-disabled', list: 'pointer-events-none' }\n }\n },\n\n defaultVariants: {\n size: 'md',\n intent: 'default',\n isDisabled: false\n }\n});\n\nexport type PaginationVariants = VariantProps<typeof pagination>;\nexport type PaginationSlots = keyof ReturnType<typeof pagination>;\n\nexport { pagination };\n","import { tv, type VariantProps } from '../tw';\n\nconst tooltip = tv({\n slots: {\n // Width is intrinsic so a short label hugs its text, with a cap so a long\n // one wraps instead of running off the viewport. `origin-*` is keyed off\n // the resolved placement the content carries as `data-placement`, so the\n // enter transition grows out of the anchor rather than out of nowhere.\n base: [\n 'relative w-max max-w-xs rounded-lg shadow-md overflow-visible',\n 'data-[placement^=top]:origin-bottom',\n 'data-[placement^=bottom]:origin-top',\n 'data-[placement^=left]:origin-right',\n 'data-[placement^=right]:origin-left'\n ],\n arrow: ''\n },\n variants: {\n size: {\n sm: { base: 'px-2 py-1 text-label-sm' },\n md: { base: 'px-2.5 py-1.5 text-label-sm' },\n lg: { base: 'px-3 py-2 text-label-md' }\n },\n // `bg-inherit` on the arrow (see `overlayArrow`) means each intent only\n // has to state the background once, on `base`. The border is stated on\n // both `base` and `arrow` for every intent so the two agree at the join:\n // `default` carries a visible `border-neutral-soft` on each (the arrow's\n // own shadow-less edge needs a level with more contrast than the body's\n // `shadow-md` gets away with), and every coloured intent clears both to\n // `border-transparent`. The body needs this explicitly, not just the\n // arrow: `Content`'s classNames (`popover.gts`) run this `base` class\n // through the *`popover`* tv, whose own base carries\n // `border border-neutral-subtle` (`popover.ts`) -- twMerge only drops\n // that when a later class from the same border-color group replaces it,\n // so a coloured intent with no border class of its own left that\n // neutral border showing on the body while the arrow (fixed here to\n // `border-transparent`) went invisible, a visible seam at the join.\n intent: {\n default: {\n base: 'bg-surface-input text-on-surface-input border border-neutral-soft',\n arrow: 'border-neutral-soft'\n },\n primary: {\n base: 'bg-primary text-on-primary border-transparent',\n arrow: 'border-transparent'\n },\n secondary: {\n base: 'bg-secondary text-on-secondary border-transparent',\n arrow: 'border-transparent'\n },\n tertiary: {\n base: 'bg-tertiary text-on-tertiary border-transparent',\n arrow: 'border-transparent'\n },\n success: {\n base: 'bg-success text-on-success border-transparent',\n arrow: 'border-transparent'\n },\n warning: {\n base: 'bg-warning text-on-warning border-transparent',\n arrow: 'border-transparent'\n },\n danger: {\n base: 'bg-danger text-on-danger border-transparent',\n arrow: 'border-transparent'\n }\n }\n },\n defaultVariants: {\n size: 'md',\n intent: 'default'\n }\n});\n\nexport type TooltipVariants = VariantProps<typeof tooltip>;\nexport type TooltipSlots = keyof ReturnType<typeof tooltip>;\n\nexport { tooltip };\n","import { tv } from '../tw';\n\nconst notificationsContainer = tv({\n slots: {\n base: ['fixed z-1000 w-full max-w-lg px-4 py-4 pointer-events-none'],\n stack: [\n 'relative w-full pointer-events-none',\n 'data-[expanded=true]:pointer-events-auto',\n 'transition-[height] duration-400 ease-[cubic-bezier(0.21,1.02,0.73,1)]',\n 'motion-reduce:transition-none'\n ]\n },\n variants: {\n placement: {\n 'top-left': { base: 'top-0 left-0' },\n 'top-center': { base: 'top-0 left-2/4 translate-x-[-50%]' },\n 'top-right': { base: 'top-0 right-0' },\n 'bottom-left': { base: 'bottom-0 left-0' },\n 'bottom-center': { base: 'bottom-0 left-2/4 translate-x-[-50%]' },\n 'bottom-right': { base: 'bottom-0 right-0' }\n }\n },\n defaultVariants: {\n placement: 'bottom-right'\n }\n});\n\nexport { notificationsContainer };\n","import { tv } from '../tw';\nimport { statusRowCloseButton } from './shared';\n\nconst notificationCard = tv({\n slots: {\n // The outer element. It carries the box treatment (surface color,\n // border, rounded corners, shadow) and everything the stack's geometry\n // animates (`transform`, `opacity`, and — while collapsed — a clamped\n // `height` so a taller card behind the front one can't poke out past\n // it). `overflow-hidden` here is what makes that clamp actually crop\n // the content instead of just failing to contain it.\n //\n // Deliberately NOT a flex container and NOT where padding/gap live:\n // the `ResizeObserver` in notification-card.gts measures `inner`, not\n // `base`, specifically so the reported height is always the content's\n // true natural height, never the clamped one `base` might be wearing\n // at the time. Move layout classes here and that guarantee breaks.\n base: [\n 'pointer-events-auto w-full',\n 'rounded-2xl border shadow-lg',\n 'overflow-hidden',\n 'transition-[transform,opacity,height] ease-[cubic-bezier(0.21,1.02,0.73,1)]',\n // The three `transition-duration` values line up positionally with\n // `transition-[transform,opacity,height]` above: transform and height\n // are the stack's own expand/collapse choreography, fixed at 400ms to\n // match the container's own height transition (see\n // notifications-container.gts) and the design spec's \"transform\n // 400ms\"; the middle value is the one `@transitionDuration` actually\n // governs (the enter/exit fade), supplied via the\n // `--frontile-toast-fade` custom property the card sets inline (see\n // notification-card.gts's `style` getter). Both the property order\n // and the duration ownership live here in one place so they can never\n // drift apart across the component boundary.\n '[transition-duration:400ms,_var(--frontile-toast-fade,_200ms),_400ms]',\n 'motion-reduce:transition-[opacity] motion-reduce:duration-150',\n // Dropping the transition above only makes the transform apply\n // instantly instead of animating it — the transform itself (the\n // stack's slide/scale choreography) still comes from notification-card.gts's\n // `style` getter as an *inline* `transform:` declaration, so it would\n // still be present, just un-animated. An inline style normally wins\n // over any stylesheet rule regardless of that rule's specificity, but\n // `!important` is the one thing that overrides it — Tailwind v4 marks\n // a utility `!important` with a trailing `!`, which is exactly what's\n // needed here. This neutralizes every transform (enter/exit slide,\n // and the stack's hover-expand translate/scale) under\n // `prefers-reduced-motion`, matching the spec's \"drops all\n // transforms\", entirely in CSS with no JS branching required.\n 'motion-reduce:transform-none!'\n ],\n // The inner element. Holds the actual row layout (icon, content,\n // actions, close button) and is never height-constrained, so its\n // `offsetHeight` is always the card's true natural height — that's\n // the value the measure modifier reads and reports to the stack.\n inner: 'flex gap-3 p-4 font-body text-body-2xs',\n icon: 'shrink-0 size-5',\n // The loading spinner's own slot, distinct from `icon`. It must NOT\n // reuse `icon` — `icon`'s intent-coloured `text-*` class (the compound\n // variants below) would win the Tailwind-merge over the Spinner's own\n // dim `text-neutral-muted` track, making the arc and track nearly\n // identical and the spin unreadable. `size-5` matches `icon` exactly so\n // a promise settling (spinner -> icon) never resizes the card. The arc\n // colour comes from `@intent` passed to <Spinner>, not from this slot;\n // this slot only ever supplies sizing/position and, where needed\n // (solid variant below), an explicit track/arc override.\n spinner: 'shrink-0 size-5',\n content: 'grow min-w-0 flex flex-col gap-1',\n title: 'font-label text-label-xs',\n description: 'text-body-2xs',\n customActions: 'flex flex-nowrap shrink-0 items-center gap-2 self-center',\n customActionButton: '',\n closeButton: statusRowCloseButton\n },\n\n variants: {\n intent: {\n default: {},\n info: {},\n success: {},\n warning: {},\n danger: {}\n },\n variant: {\n // `text-neutral` (the DEFAULT level) is only ~3:1 against a light\n // surface — below the 4.5:1 WCAG AA floor these labels need at this\n // size. `text-neutral-firm` clears it comfortably against every\n // surface this description can sit on, light or dark, tonal or not.\n // See packages/frontile/docs/notifications-usage.md's contrast note for the measured ratios.\n default: {\n base: 'bg-surface-modal border-surface-overlay-mild',\n description: 'text-neutral-firm'\n },\n // The outer surface/border is intent-independent — every `tonal`\n // compound variant below borrows the same neutral surface `default`\n // uses (see the comment above the `tonal` compound variants), so it\n // lives here once instead of repeating in each of them.\n tonal: {\n base: 'bg-surface-modal border-surface-overlay-mild',\n description: 'text-neutral-firm'\n },\n solid: {\n base: 'border-transparent'\n }\n },\n // With a description, the icon centres on the *title's* line box rather\n // than the whole (now two-line) card — hence the negative offset.\n hasDescription: {\n true: {\n inner: 'items-start',\n icon: 'mt-[calc((var(--text-label-xs)*var(--line-height-tight)-1.25rem)/2)]',\n spinner:\n 'mt-[calc((var(--text-label-xs)*var(--line-height-tight)-1.25rem)/2)]'\n },\n false: {\n inner: 'items-center'\n }\n },\n // Cards are pinned to the placement edge so the stack grows away from\n // it, once the container has supplied stack geometry (`@geometry` on\n // <NotificationCard>). `none` is the default — a card rendered without\n // geometry (e.g. a standalone demo) keeps its normal document flow.\n // The dynamic parts of the stack's positioning (transform, opacity,\n // height, z-index, transform-origin) still come from the card's own\n // inline `style` getter, since they change per-frame with the stack's\n // geometry — only the static edge-pinning lives here.\n stackPlacement: {\n top: { base: 'absolute inset-x-0 top-0' },\n bottom: { base: 'absolute inset-x-0 bottom-0' },\n none: {}\n }\n },\n\n compoundVariants: [\n // default: neutral surface, colour carried by the icon and title.\n // `default` intent has no accent — icon and title stay neutral, same\n // `firm` level the other intents use for their accent text.\n {\n variant: 'default',\n intent: 'default',\n class: { icon: 'text-neutral-firm', title: 'text-neutral-firm' }\n },\n {\n variant: 'default',\n intent: 'info',\n class: { icon: 'text-primary', title: 'text-primary' }\n },\n {\n // `success-firm` is only ~2.3:1 on the white card surface in light\n // mode; `bolder` clears AA in both themes. See packages/frontile/docs/notifications-usage.md's\n // contrast note.\n variant: 'default',\n intent: 'success',\n class: { icon: 'text-success-bolder', title: 'text-success-bolder' }\n },\n {\n // `warning-firm` is only ~3:1 on the white card surface in light\n // mode; `bolder` clears AA in both themes. See packages/frontile/docs/notifications-usage.md's\n // contrast note.\n variant: 'default',\n intent: 'warning',\n class: { icon: 'text-warning-bolder', title: 'text-warning-bolder' }\n },\n {\n variant: 'default',\n intent: 'danger',\n class: { icon: 'text-danger-firm', title: 'text-danger-firm' }\n },\n\n // tonal: same recipe as Button's `appearance: 'tonal'` — an opaque\n // outer surface (so the floating card never lets page content show\n // through) with the translucent `{intent}-soft` tint and its `on-*`\n // contrast ink applied to the *inner* element, which composites over\n // that opaque surface. The outer picks up the `default` variant's\n // neutral surface/border instead of a colour-matched one: Button's\n // tonal has no border at all, but a card floating over arbitrary page\n // content benefits from the same edge definition `default` already\n // uses, so it borrows that treatment rather than inventing a new one.\n {\n variant: 'tonal',\n intent: 'default',\n class: {\n inner: 'bg-neutral-soft',\n icon: 'text-on-neutral-soft',\n title: 'text-on-neutral-soft'\n }\n },\n {\n variant: 'tonal',\n intent: 'info',\n class: {\n inner: 'bg-primary-soft',\n icon: 'text-on-primary-soft',\n title: 'text-on-primary-soft'\n }\n },\n {\n variant: 'tonal',\n intent: 'success',\n class: {\n inner: 'bg-success-soft',\n icon: 'text-on-success-soft',\n title: 'text-on-success-soft'\n }\n },\n {\n variant: 'tonal',\n intent: 'warning',\n class: {\n inner: 'bg-warning-soft',\n icon: 'text-on-warning-soft',\n title: 'text-on-warning-soft'\n }\n },\n {\n variant: 'tonal',\n intent: 'danger',\n class: {\n inner: 'bg-danger-soft',\n icon: 'text-on-danger-soft',\n title: 'text-on-danger-soft'\n }\n },\n\n // solid: filled surface, contrast text. `description` uses the\n // full-strength `on-{intent}` ink rather than a translucent cut — see\n // packages/frontile/docs/notifications-usage.md's contrast note for why\n // (a translucent cut used to fail WCAG AA here).\n //\n // The spinner override matters because `@intent` on <Spinner> drives its\n // arc via `fill-{intent}`, the exact same color as this variant's own\n // `bg-{intent}` surface — left alone the arc would be camouflaged\n // against its own card, so `solid` forces both halves of the spinner to\n // the contrast ink instead.\n {\n variant: 'solid',\n intent: 'default',\n class: {\n base: 'bg-neutral text-on-neutral',\n icon: 'text-on-neutral',\n title: 'text-on-neutral',\n description: 'text-on-neutral',\n spinner: 'fill-on-neutral text-on-neutral/30'\n }\n },\n {\n variant: 'solid',\n intent: 'info',\n class: {\n base: 'bg-primary text-on-primary',\n icon: 'text-on-primary',\n title: 'text-on-primary',\n description: 'text-on-primary',\n spinner: 'fill-on-primary text-on-primary/30'\n }\n },\n {\n variant: 'solid',\n intent: 'success',\n class: {\n base: 'bg-success text-on-success',\n icon: 'text-on-success',\n title: 'text-on-success',\n description: 'text-on-success',\n spinner: 'fill-on-success text-on-success/30'\n }\n },\n {\n variant: 'solid',\n intent: 'warning',\n class: {\n base: 'bg-warning text-on-warning',\n icon: 'text-on-warning',\n title: 'text-on-warning',\n description: 'text-on-warning',\n spinner: 'fill-on-warning text-on-warning/30'\n }\n },\n {\n variant: 'solid',\n intent: 'danger',\n class: {\n base: 'bg-danger text-on-danger',\n icon: 'text-on-danger',\n title: 'text-on-danger',\n description: 'text-on-danger',\n spinner: 'fill-on-danger text-on-danger/30'\n }\n }\n ],\n\n defaultVariants: {\n intent: 'default',\n variant: 'default',\n hasDescription: false,\n stackPlacement: 'none'\n }\n});\n\nexport { notificationCard };\n","import { tv, type VariantProps } from '../../tw';\nimport { focusVisibleRing, focusVisibleWithinRing } from '../shared';\n\nconst label = tv({\n slots: {\n // label text role (Open Sans semibold, tight leading)\n base: 'text-neutral-bolder inline-block font-label text-label-sm pb-2',\n asterisk: 'text-danger'\n },\n variants: {\n size: {\n sm: {\n base: 'text-label-2xs'\n },\n md: {},\n lg: {\n base: 'text-label-md'\n }\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nconst formDescription = tv({\n // help/description text — body role\n base: 'text-neutral font-body text-body-2xs pb-1 last:pb-0',\n variants: {\n size: {\n sm: 'text-body-2xs',\n md: '',\n lg: 'text-body-sm'\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nconst formFeedback = tv({\n // validation/feedback text — body role\n base: 'font-body text-body-2xs pt-1',\n variants: {\n intent: {\n primary: 'text-primary',\n secondary: 'text-secondary',\n tertiary: 'text-tertiary',\n success: 'text-success',\n danger: 'text-danger',\n warning: 'text-warning'\n },\n size: {\n sm: 'text-body-2xs',\n md: '',\n lg: 'text-body-sm'\n }\n },\n defaultVariants: {\n size: 'sm'\n }\n});\n\n// The visual shell of a form field: background, border, radius, and the\n// invalid/disabled treatments. Shared by the `input` slot and by `select`'s\n// `chipsField`, which becomes the shell when chips render beside the trigger.\nconst fieldShell = [\n 'bg-surface-input',\n 'border',\n 'border-neutral-soft',\n 'rounded-xl',\n 'selection:bg-surface-overlay-soft'\n];\n\nconst input = tv({\n slots: {\n base: '',\n innerContainer: 'relative flex',\n startContent: 'absolute inset-y-0 left-0 flex items-center',\n endContent: 'absolute inset-y-0 right-0 flex items-center',\n input: [\n 'appearance-none',\n 'flex-1',\n 'w-full',\n ...fieldShell,\n 'text-neutral-strong',\n 'placeholder-neutral',\n // body role family; single-line controls keep tight leading (not the body relaxed leading)\n 'font-body text-base text-left',\n 'leading-tight',\n 'focus:ring-3',\n 'focus:ring-focus',\n 'focus:outline-hidden',\n 'focus:border-primary-soft',\n 'disabled:border-neutral-subtle disabled:text-neutral-soft',\n 'aria-invalid:border-danger-soft',\n 'aria-invalid:focus:ring-danger-soft'\n ]\n },\n variants: {\n size: {\n sm: { input: 'p-2', startContent: 'pl-2', endContent: 'pr-2' },\n md: { input: 'p-3', startContent: 'pl-3', endContent: 'pr-3' },\n lg: { input: 'p-4', startContent: 'pl-4', endContent: 'pr-4' }\n },\n hasStartContent: {\n true: { input: 'ps-8' }\n },\n hasEndContent: {\n true: { input: 'pe-10' }\n },\n // When chips render beside the trigger, `chipsField` owns the field shell\n // and the trigger itself must be visually bare.\n hasChips: {\n true: {\n input: [\n 'border-0',\n 'bg-transparent',\n 'p-0',\n 'w-auto',\n 'flex-1',\n // Once chips show the selection the trigger renders nothing at all, so\n // it has no content to give it a height -- it collapsed to a 0px box\n // that could not be clicked. Stretching makes it as tall as the chips\n // sitting next to it, which is the box a pointer needs to hit.\n 'self-stretch',\n // No horizontal floor by default: a bare (non-filterable) trigger has\n // no content of its own, so a floor would only push it onto a second\n // flex line. `select` puts the floor back for the filterable trigger,\n // which does need room to type.\n 'min-w-0',\n 'focus:ring-0',\n 'focus:border-transparent'\n ]\n }\n },\n startContentPointerEvents: {\n auto: { startContent: 'pointer-events-auto' },\n none: { startContent: 'pointer-events-none' }\n },\n endContentPointerEvents: {\n auto: { endContent: 'pointer-events-auto' },\n none: { endContent: 'pointer-events-none' }\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nconst textarea = tv({\n extend: input,\n slots: { input: 'min-h-24' },\n variants: {\n size: {\n sm: {},\n md: {},\n lg: {}\n }\n }\n});\n\n// A one-time-code field is one real <input> laid transparently over inert\n// cells. The input must stay fully opaque -- iOS refuses the long-press Paste\n// menu on an opacity:0 input -- so every colour is made transparent instead.\nconst inputOtp = tv({\n slots: {\n base: '',\n // pointer-events are inverted: the container ignores the pointer so that a\n // click anywhere in the widget lands on the input below and resolves to the\n // nearest character position.\n container: 'relative flex items-center w-fit pointer-events-none',\n group: 'flex items-center',\n cell: [\n ...fieldShell,\n 'relative flex items-center justify-center',\n 'font-body tabular-nums text-neutral-strong',\n 'transition-colors'\n ],\n cellChar: 'select-none',\n caret:\n 'absolute w-px bg-neutral-strong animate-caret-blink motion-reduce:animate-none',\n separator: 'select-none text-neutral-soft',\n input: [\n 'absolute inset-y-0 left-0 h-full',\n 'pointer-events-auto',\n 'text-left',\n // Mandatory: opaque element, transparent paint.\n 'opacity-100',\n 'text-transparent caret-transparent bg-transparent',\n // Both halves -- setting only the background leaves the text drawn in the\n // highlight's foreground colour.\n 'selection:bg-transparent selection:text-transparent',\n 'appearance-none border-0 outline-0 shadow-none',\n 'focus:outline-hidden focus:ring-0',\n // >= 16px or iOS Safari zooms the page on focus. The negative tracking\n // collapses the invisible glyphs so they cannot spill past the cells.\n 'text-base leading-none font-mono tabular-nums tracking-[-0.5em]',\n // Chromium paints an autofilled field yellow, and the :autofill state\n // outlives the fill. -webkit-text-fill-color is the property that\n // actually controls text colour in that state.\n 'autofill:bg-transparent autofill:shadow-none',\n 'autofill:[-webkit-text-fill-color:transparent]',\n // iOS paints selection in a native layer that ignores ::selection, so the\n // text metrics are compressed further to shrink what it can paint.\n 'supports-[-webkit-touch-callout:none]:tracking-[-0.6em]',\n 'supports-[-webkit-touch-callout:none]:font-thin',\n // Password managers anchor their badge to the INPUT's box, not the\n // container's, so it would land on the last cell. Reserve a 40px gutter\n // and clip it back: absolutely positioned, so no layout shift, and\n // clip-path clips hit-testing too.\n 'w-[calc(100%+40px)] [clip-path:inset(0_40px_0_0)]',\n // Keep an injected badge clickable inside the pointer-events-none container.\n '[&+*]:pointer-events-auto'\n ]\n },\n variants: {\n size: {\n sm: {\n cell: 'size-9 rounded-lg text-sm',\n group: 'gap-1.5',\n separator: 'px-1 text-sm',\n caret: 'h-4'\n },\n md: {\n cell: 'size-12 text-base',\n group: 'gap-2',\n separator: 'px-1.5 text-base',\n caret: 'h-5'\n },\n lg: {\n cell: 'size-14 text-lg',\n group: 'gap-2.5',\n separator: 'px-2 text-lg',\n caret: 'h-6'\n }\n },\n // z-10 keeps the active cell's ring from being clipped by its neighbour.\n isActive: {\n true: { cell: 'z-10 border-primary-soft ring-3 ring-focus' }\n },\n // Mirrors `input`'s `aria-invalid:focus:ring-danger-soft`: a focused invalid\n // cell must ring red, not keep the neutral focus ring.\n isInvalid: {\n true: { cell: 'border-danger-soft ring-danger-soft' }\n },\n isDisabled: {\n true: { cell: 'border-neutral-subtle text-neutral-soft' }\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nconst checkboxRadioBase = tv({\n slots: {\n base: ['max-w-fit flex items-center justify-start'],\n\n input: [\n 'appearance-none',\n 'inline-block',\n 'align-middle',\n 'select-none',\n 'shrink-0',\n 'text-base',\n 'border-2 border-neutral',\n 'bg-surface-input',\n 'transition-colors',\n 'checked:bg-origin-border checked:bg-center checked:bg-no-repeat',\n 'checked:disabled:bg-neutral-soft checked:disabled:border-neutral-soft',\n ...focusVisibleRing\n ],\n labelContainer: ['flex flex-col ml-2'],\n label: 'font-body text-body-xs pb-0'\n },\n variants: {\n size: {\n sm: { input: 'h-4 w-4' },\n md: { input: 'h-5 w-5' },\n lg: { input: 'h-6 w-6' }\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nconst checkboxRadioGroupBase = tv({\n slots: {\n base: '',\n optionsContainer: [\n 'flex flex-col flex-wrap gap-4 data-[orientation=horizontal]:flex-row'\n ],\n label: 'pb-2'\n },\n variants: {\n size: {\n sm: '',\n md: '',\n lg: ''\n }\n }\n});\n\nconst checkbox = tv({\n extend: checkboxRadioBase,\n slots: {\n input: [\n 'checked-bg-checkbox',\n 'indeterminate-bg-checkbox',\n 'rounded-sm',\n 'checked:bg-primary checked:border-primary',\n // Indeterminate state styles - show minus/dash icon\n 'indeterminate:bg-primary',\n 'indeterminate:border-primary',\n 'indeterminate:bg-origin-border',\n 'indeterminate:bg-center',\n 'indeterminate:bg-no-repeat'\n ]\n },\n variants: {\n size: {\n sm: {},\n md: {},\n lg: {}\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nconst radio = tv({\n extend: checkboxRadioBase,\n slots: {\n input: [\n 'checked-bg-radio',\n 'rounded-full',\n 'checked:bg-primary checked:border-primary'\n ]\n },\n variants: {\n size: {\n sm: {},\n md: {},\n lg: {}\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nconst radioGroup = tv({\n extend: checkboxRadioGroupBase\n});\n\nconst checkboxGroup = tv({\n extend: checkboxRadioGroupBase\n});\n\nconst select = tv({\n extend: input,\n slots: {\n base: [],\n placeholder: 'text-neutral',\n listbox: 'scroll-py-6 max-h-64',\n icon: 'w-5 h-5',\n clearButton: 'pointer-events-auto',\n input: '[button]:cursor-default',\n emptyContent: 'p-2',\n // The wrapper around the trigger. It is rendered in every mode; the\n // `hasChips` variant below decides whether it is the field shell or a\n // transparent passthrough. Authored here rather than as literal classes in\n // the component template because Tailwind does not scan\n // `packages/frontile/src`.\n chipsField: '',\n chipsContainer: 'flex flex-wrap items-center gap-1 min-w-0',\n chip: ''\n },\n variants: {\n size: {\n sm: {},\n md: {},\n lg: {}\n },\n // When chips render, `chipsField` becomes the field shell in place of the\n // trigger's own border (see the `hasChips` variant on `input`), and owns the\n // padding. Otherwise it is a transparent, full-width flex passthrough: the\n // shell stays on the trigger, but the wrapper is still a real box, so it can\n // be measured as the popover's width reference in both modes.\n //\n // `data-invalid` / `data-disabled` are set by the component because\n // `aria-invalid:` and `disabled:` only match the element carrying them.\n hasChips: {\n true: {\n chipsField: [\n ...fieldShell,\n 'flex',\n 'flex-wrap',\n 'items-center',\n 'gap-1',\n 'w-full',\n 'cursor-default',\n 'focus-within:ring-3',\n 'focus-within:ring-focus',\n 'focus-within:border-primary-soft',\n 'data-[invalid=true]:border-danger-soft',\n 'data-[invalid=true]:focus-within:ring-danger-soft',\n 'data-[disabled=true]:border-neutral-subtle',\n 'data-[disabled=true]:text-neutral-soft'\n ]\n },\n false: { chipsField: 'flex w-full min-w-0' }\n },\n // Whether the trigger is a filterable text input rather than a bare button.\n // Only affects how much horizontal room the trigger reserves in chips mode.\n isFilterable: {\n true: {},\n false: {}\n }\n },\n compoundVariants: [\n // Padding belongs to whichever element is the field shell, so it is applied\n // to `chipsField` only in chips mode -- in passthrough mode the wrapper has\n // to add no geometry of its own.\n // The `min-h-*` values are the height of the same-size text field\n // (padding + line box + border), so a chips field is exactly as tall as a\n // single-select one, does not change height as the first chip arrives, and\n // absorbs the flex gap when the trigger wraps below the chips.\n // No gap between the chips and the trigger: the chips carry their own gap,\n // and a gap here is space the trigger has to fit into before it is allowed\n // to stay on the chips' line. With `gap-0` a trigger that does have to wrap\n // (the chips already fill the row) costs no vertical space at all.\n {\n hasChips: true,\n size: 'sm',\n class: { chipsField: 'p-1 gap-0 min-h-9.5' }\n },\n {\n hasChips: true,\n size: 'md',\n class: { chipsField: 'p-1.5 gap-0 min-h-11.5' }\n },\n {\n hasChips: true,\n size: 'lg',\n class: { chipsField: 'p-2 gap-0 min-h-13.5' }\n },\n // Chips have to clear the absolutely-positioned start/end content the same\n // way a bare `input` does, otherwise they run underneath the chevron and the\n // clear button.\n { hasChips: true, hasStartContent: true, class: { chipsField: 'ps-8' } },\n { hasChips: true, hasEndContent: true, class: { chipsField: 'pe-10' } },\n // ...and once `chipsField` reserves that room, the bare trigger inside it\n // must not reserve it a second time.\n { hasChips: true, hasStartContent: true, class: { input: 'ps-0' } },\n { hasChips: true, hasEndContent: true, class: { input: 'pe-0' } },\n // Only the filterable trigger needs typing room -- and, since the field\n // itself no longer sets a gap, its own separation from the last chip.\n // See `min-w-0` and `gap-0` above.\n {\n hasChips: true,\n isFilterable: true,\n class: { input: 'min-w-16 ms-1' }\n }\n ],\n defaultVariants: {\n size: 'md'\n }\n});\n\n// Note: extends `input` rather than `select` because tailwind-variants\n// loses inherited slot types across two levels of `extend`.\nconst autocomplete = tv({\n extend: input,\n slots: {\n base: [],\n listbox: 'scroll-py-6 max-h-64',\n icon: 'w-5 h-5',\n clearButton: 'pointer-events-auto',\n input: 'cursor-text',\n emptyContent: 'p-2'\n },\n variants: {\n size: {\n sm: {},\n md: {},\n lg: {}\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nconst nativeSelect = tv({\n extend: input,\n slots: {\n input: ['appearance-none'],\n icon: 'w-5 h-5'\n },\n variants: {\n size: {\n sm: {},\n md: {},\n lg: {}\n }\n }\n});\n\nconst switchInput = tv({\n slots: {\n base: 'group relative max-w-fit inline-flex items-center justify-start',\n labelContainer: 'flex flex-col ml-2',\n label: 'font-body text-body-xs pb-0',\n wrapper: [\n 'px-1',\n 'relative',\n 'inline-flex',\n 'items-center',\n 'justify-start',\n 'shrink-0',\n 'overflow-hidden',\n 'bg-neutral-soft',\n 'rounded-full',\n 'cursor-pointer touch-none tap-highlight-transparent select-none',\n // `transition-background` is not a Tailwind v4 utility -- it compiled to\n // nothing. The wrapper's fill is swapped by `group-data-[selected]:bg-*`,\n // so background-color is what needs to ease.\n 'transition-colors',\n ...focusVisibleWithinRing\n ],\n hiddenInput: [\n 'font-inherit',\n 'text-[100%]',\n 'leading-[1.15]',\n 'm-0',\n 'p-0',\n 'overflow-visible',\n 'box-border',\n 'absolute',\n 'top-0',\n 'w-full',\n 'h-full',\n 'opacity-[0.0001]',\n 'z-1',\n 'cursor-pointer',\n 'disabled:cursor-default'\n ],\n thumb: [\n 'z-10',\n 'flex',\n 'items-center',\n 'justify-center',\n 'bg-white',\n 'shadow-small',\n 'rounded-full',\n 'origin-right',\n 'transition-all',\n 'pointer-events-none',\n 'text-black'\n ],\n startContent: [\n 'z-0 absolute start-1.5 text-current',\n 'opacity-0',\n 'scale-50',\n // Tailwind v4 compiles `scale-*` to the standalone `scale` property, not\n // to `transform`; `transform` stays listed for consumers who override\n // @classes.startContent and position with it.\n 'transition-[transform,scale,opacity]',\n 'group-data-[selected=true]:scale-100',\n 'group-data-[selected=true]:opacity-100'\n ],\n endContent: [\n 'z-0 absolute end-1.5 text-neutral',\n 'opacity-100',\n // Likewise `translate-x-*` compiles to the standalone `translate`\n // property -- without it listed, this content snapped instead of sliding.\n 'transition-[transform,translate,opacity]',\n 'group-data-[selected=true]:translate-x-3',\n 'group-data-[selected=true]:opacity-0'\n ]\n },\n variants: {\n isDisabled: {\n true: {\n wrapper: 'opacity-disabled pointer-events-none'\n }\n },\n size: {\n sm: {\n wrapper: 'w-6 h-3 px-[2px]',\n thumb: ['w-2 h-2 text-xs', 'group-data-[selected=true]:ms-3'],\n endContent: 'text-xs',\n startContent: 'text-xs',\n label: 'text-small'\n },\n md: {\n wrapper: 'w-11 h-6',\n thumb: ['w-4 h-4 text-sm', 'group-data-[selected=true]:ms-5'],\n endContent: 'text-sm',\n startContent: 'text-sm',\n label: 'text-md'\n },\n lg: {\n wrapper: 'w-12 h-7',\n thumb: ['w-5 h-5 text-medium', 'group-data-[selected=true]:ms-5'],\n endContent: 'text-md',\n startContent: 'text-md',\n label: 'text-lg'\n }\n },\n intent: {\n default: {\n wrapper: [\n 'group-data-[selected=true]:bg-neutral-firm',\n 'group-data-[selected=true]:text-on-neutral-firm'\n ]\n },\n primary: {\n wrapper: [\n 'group-data-[selected=true]:bg-primary',\n 'group-data-[selected=true]:text-on-primary'\n ]\n },\n secondary: {\n wrapper: [\n 'group-data-[selected=true]:bg-secondary',\n 'group-data-[selected=true]:text-on-secondary'\n ]\n },\n tertiary: {\n wrapper: [\n 'group-data-[selected=true]:bg-tertiary',\n 'group-data-[selected=true]:text-on-tertiary'\n ]\n },\n success: {\n wrapper: [\n 'group-data-[selected=true]:bg-success',\n 'group-data-[selected=true]:text-on-success'\n ]\n },\n warning: {\n wrapper: [\n 'group-data-[selected=true]:bg-warning',\n 'group-data-[selected=true]:text-on-warning'\n ]\n },\n danger: {\n wrapper: [\n 'group-data-[selected=true]:bg-danger',\n 'group-data-[selected=true]:text-on-danger'\n ]\n }\n }\n },\n defaultVariants: {\n size: 'md',\n intent: 'primary',\n isDisabled: false\n }\n});\n\nexport type LabelVariants = VariantProps<typeof label>;\nexport type LabelSlots = keyof ReturnType<typeof label>;\nexport type FormDescriptionVariants = VariantProps<typeof formDescription>;\nexport type FormDescriptionSlots = keyof ReturnType<typeof formDescription>;\nexport type FormFeedbackVariants = VariantProps<typeof formFeedback>;\nexport type FormFeedbackSlots = keyof ReturnType<typeof formFeedback>;\nexport type InputVariants = VariantProps<typeof input>;\nexport type InputSlots = keyof ReturnType<typeof input>;\nexport type TextareaVariants = VariantProps<typeof textarea>;\nexport type TextareaSlots = keyof ReturnType<typeof textarea>;\nexport type InputOtpVariants = VariantProps<typeof inputOtp>;\nexport type InputOtpSlots = keyof ReturnType<typeof inputOtp>;\nexport type CheckboxVariants = VariantProps<typeof checkbox>;\nexport type CheckboxSlots = keyof ReturnType<typeof checkbox>;\nexport type RadioVariants = VariantProps<typeof radio>;\nexport type RadioSlots = keyof ReturnType<typeof radio>;\nexport type SelectVariants = VariantProps<typeof select>;\nexport type SelectSlots = keyof ReturnType<typeof select>;\nexport type NativeSelectVariants = VariantProps<typeof nativeSelect>;\nexport type NativeSelectSlots = keyof ReturnType<typeof nativeSelect>;\nexport type AutocompleteVariants = VariantProps<typeof autocomplete>;\nexport type AutocompleteSlots = keyof ReturnType<typeof autocomplete>;\nexport type CheckboxGroupVariants = VariantProps<typeof checkboxGroup>;\nexport type CheckboxGroupSlots = keyof ReturnType<typeof checkboxGroup>;\nexport type RadioGroupVariants = VariantProps<typeof radioGroup>;\nexport type RadioGroupSlots = keyof ReturnType<typeof radioGroup>;\nexport type SwitchVariants = VariantProps<typeof switchInput>;\nexport type SwitchSlots = keyof ReturnType<typeof switchInput>;\n\nexport {\n label,\n formDescription,\n formFeedback,\n input,\n inputOtp,\n textarea,\n checkbox,\n radio,\n select,\n autocomplete,\n nativeSelect,\n checkboxGroup,\n radioGroup,\n switchInput\n};\n","import { tv } from '../../tw';\n\nconst base = tv({\n slots: {\n base: 'flex flex-wrap\tflex-row items-center',\n labelContainer: 'leading-tight flex items-start',\n inputContainer: 'flex items-center',\n label: 'font-body text-body-xs pl-2 pb-0',\n hint: 'pl-2 flex basis-full\tbefore:content-[\"_\"] before:inline-block before:w-[1em] before:h-[1em] shrink-0'\n },\n variants: {\n size: {\n sm: {\n label: 'text-body-2xs'\n },\n md: '',\n lg: ''\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nconst formCheckbox = tv({\n extend: base,\n slots: {\n checkbox: ''\n }\n});\n\nconst formRadio = tv({\n extend: base,\n slots: {\n radio: ''\n }\n});\n\nconst baseGroup = tv({\n slots: {\n base: '',\n label: 'pb-1 last:pb-0',\n hint: 'pb-1 last:pb-0',\n feedback: 'pt-0 flex-[1_100%]'\n },\n variants: {\n isInline: {\n true: {\n base: 'flex flex-wrap\tflex-row items-start',\n label: 'pr-4 pb-0',\n hint: 'pr-4 pb-0',\n feedback: 'pr-4 pb-0'\n }\n }\n }\n});\n\nconst formCheckboxGroup = tv({\n extend: baseGroup,\n slots: {\n formCheckbox: 'pb-1 last:pb-0'\n },\n variants: {\n isInline: {\n true: {\n formCheckbox: 'pr-4 pb-0'\n }\n }\n }\n});\n\nconst formRadioGroup = tv({\n extend: baseGroup,\n slots: {\n formRadio: 'pb-1 last:pb-0'\n },\n variants: {\n isInline: {\n true: {\n formRadio: 'pr-4 pb-0'\n }\n }\n }\n});\n\nconst formInput = tv({\n slots: {\n base: 'flex flex-wrap\tflex-row',\n label: 'flex-[1_100%]',\n input: '',\n hint: 'flex-[1_100%]',\n feedback: 'flex-[1_100%]'\n },\n variants: {\n size: {\n sm: '',\n md: '',\n lg: ''\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nconst formTextarea = tv({\n extend: formInput\n});\n\nconst formSelect = tv({\n slots: {\n base: 'flex flex-wrap\tflex-row',\n label: 'flex-[1_100%]',\n select: '',\n hint: 'flex-[1_100%]',\n feedback: 'flex-[1_100%]'\n },\n variants: {\n size: {\n sm: '',\n md: '',\n lg: ''\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nexport {\n formInput,\n formTextarea,\n formCheckbox,\n formRadio,\n formCheckboxGroup,\n formRadioGroup,\n formSelect\n};\n","import * as components from './components';\nimport type { ClassValue } from 'tailwind-variants';\nexport type * from './components';\nexport * from './tw';\n\nlet localStyles = components;\n\nfunction registerCustomStyles(styles: Partial<typeof components>): void {\n localStyles = { ...localStyles, ...styles };\n}\n\nfunction useStyles(): typeof components {\n return localStyles;\n}\n\nexport type SlotsToClasses<S extends string> = {\n [key in S]?: ClassValue;\n};\n\nexport { useStyles, registerCustomStyles };\nexport type { ClassValue };\n"],"names":["focusVisibleRing","statusRowCloseButton","focusVisibleWithinRing","neutralSurface","base","description","alert","tv","slots","inner","icon","content","title","actions","closeButton","variants","intent","default","info","success","warning","danger","variant","tonal","solid","layout","inline","banner","hasDescription","true","false","hasCloseButton","compoundVariants","class","defaultVariants","avatar","img","name","shape","square","circle","size","xs","sm","md","lg","xl","baseButton","appearance","outlined","primary","secondary","tertiary","isInGroup","button","extend","soft","minimal","custom","isLoading","toggleButton","isSelected","buttonGroup","buttonSpinner","chip","dot","isDisabled","faded","radius","none","full","progressBar","label","progress","isIndeterminate","transparent","subtle","command","inputWrapper","inputIcon","input","list","empty","loading","footer","footerHint","kbd","isBordered","commandDialog","panel","key","separator","inherit","plain","isMerged","listbox","listboxItem","descriptionWrapper","selectedIcon","submenuIndicator","isActive","withDivider","listboxGroup","divider","dropdownContent","popover","trigger","orientation","horizontal","vertical","externalLink","underline","always","hover","iconPlacement","start","end","skeleton","text","rounded","rect","animation","shimmer","pulse","spinner","table","wrapper","thead","tbody","tfoot","tr","th","sortButton","sortIcon","columnVisibilityButton","columnVisibilityIcon","td","skeletonRow","loadingColor","selectionColor","auto","fixed","striped","isSticky","stickyPosition","left","right","top","bottom","isScrollable","hasStickyHeader","isInStickyRow","segmentedControl","indicator","item","ghost","isFullWidth","hasSeparators","tabs","tab","accordion","heading","startContent","titleWrapper","subtitle","contentBody","enclosed","calendar","body","header","nav","monthSelectWrapper","monthSelectValue","monthSelect","monthSelectIcon","yearTrigger","navButton","monthsWrapper","monthGrid","weekdaysRow","weekday","week","cell","cellBand","day","dayContent","yearGrid","yearCell","control","controlSize","pagination","summary","page","prev","next","ellipsis","tooltip","arrow","notificationsContainer","stack","placement","notificationCard","customActions","customActionButton","stackPlacement","asterisk","formDescription","formFeedback","fieldShell","innerContainer","endContent","hasStartContent","hasEndContent","hasChips","startContentPointerEvents","endContentPointerEvents","textarea","inputOtp","container","group","cellChar","caret","isInvalid","checkboxRadioBase","labelContainer","checkboxRadioGroupBase","optionsContainer","checkbox","radio","radioGroup","checkboxGroup","select","placeholder","clearButton","emptyContent","chipsField","chipsContainer","isFilterable","autocomplete","nativeSelect","switchInput","hiddenInput","thumb","inputContainer","hint","formCheckbox","formRadio","baseGroup","feedback","isInline","formCheckboxGroup","formRadioGroup","formInput","formTextarea","formSelect","localStyles","components","registerCustomStyles","styles","useStyles"],"mappings":";;;AAAO,MAAMA,gBAAgB,GAAG,CAC9B,gBAAgB,EAChB,oBAAoB,EACpB,sBAAsB,EACtB,0BAA0B,EAC1B,6BAA6B,EAC7B,sCAAsC,CACvC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,oBAAoB,GAAG,CAClC,4DAA4D,EAC5D,yBAAyB,EACzB,+BAA+B,EAC/B,GAAGD,gBAAgB,CACpB;AAEM,MAAME,sBAAsB,GAAG,CACpC,gBAAgB,EAChB,w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