@frontile/theme 0.18.6 → 0.18.8

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 (37) hide show
  1. package/declarations/colors.d.ts +1 -0
  2. package/declarations/colors.d.ts.map +1 -1
  3. package/declarations/components/app-layout.d.ts +483 -0
  4. package/declarations/components/app-layout.d.ts.map +1 -0
  5. package/declarations/components/badge.d.ts +162 -0
  6. package/declarations/components/badge.d.ts.map +1 -0
  7. package/declarations/components/bottom-nav.d.ts +61 -0
  8. package/declarations/components/bottom-nav.d.ts.map +1 -0
  9. package/declarations/components/chip.d.ts +0 -18
  10. package/declarations/components/chip.d.ts.map +1 -1
  11. package/declarations/components/forms/forms.d.ts +5 -1
  12. package/declarations/components/forms/forms.d.ts.map +1 -1
  13. package/declarations/components/index.d.ts +5 -0
  14. package/declarations/components/index.d.ts.map +1 -1
  15. package/declarations/components/nav-color.d.ts +15 -0
  16. package/declarations/components/nav-color.d.ts.map +1 -0
  17. package/declarations/components/nav-item.d.ts +184 -0
  18. package/declarations/components/nav-item.d.ts.map +1 -0
  19. package/declarations/components/shared.d.ts +8 -0
  20. package/declarations/components/shared.d.ts.map +1 -1
  21. package/declarations/components/stepper.d.ts +364 -0
  22. package/declarations/components/stepper.d.ts.map +1 -0
  23. package/declarations/plugin/power-select.d.ts.map +1 -1
  24. package/declarations/plugin/resolve.d.ts.map +1 -1
  25. package/declarations/plugin/theme-context.d.ts +15 -0
  26. package/declarations/plugin/theme-context.d.ts.map +1 -0
  27. package/declarations/plugin.d.ts.map +1 -1
  28. package/dist/colors.js +1 -1
  29. package/dist/index.js +1507 -15
  30. package/dist/index.js.map +1 -1
  31. package/dist/plugin.js +87 -13
  32. package/dist/plugin.js.map +1 -1
  33. package/dist/{util-PU966Q_x.js → util-DrX1hjH-.js} +2 -2
  34. package/dist/{util-PU966Q_x.js.map → util-DrX1hjH-.js.map} +1 -1
  35. package/package.json +2 -2
  36. package/src/index.css +68 -3
  37. package/src/styles/theme.css +11 -1
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/components/shared.ts","../src/components/alert.ts","../src/components/avatar.ts","../src/components/breadcrumbs.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 * `surface` and `soft` wear the same outer box. `soft` 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 `soft` 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 `soft` variant's translucent\n // `{status}-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 status 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 // Status alone paints nothing; every colour comes from an status ×\n // variant compound below.\n //\n // The other half of an status lives in the component: `STATUS_CONFIG` in\n // alert.gts maps it to a glyph and an ARIA role. Adding an status means\n // adding it in both places — this list plus its three compound variants\n // here, and a row there.\n status: {\n neutral: {},\n primary: {},\n success: {},\n warning: {},\n danger: {}\n },\n variant: {\n surface: neutralSurface,\n // Status-independent out here: every `soft` compound below tints the\n // *inner* element instead, so the outer box is `surface`'s.\n soft: 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 // surface: neutral surface, colour carried by the icon and title.\n // The `neutral` status 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: 'surface',\n status: 'neutral',\n class: { icon: 'text-neutral-firm', title: 'text-neutral-bolder' }\n },\n {\n variant: 'surface',\n status: 'primary',\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: 'surface',\n status: '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: 'surface',\n status: 'warning',\n class: { icon: 'text-warning-bolder', title: 'text-warning-bolder' }\n },\n {\n variant: 'surface',\n status: 'danger',\n class: { icon: 'text-danger-firm', title: 'text-danger-firm' }\n },\n\n // soft: an opaque outer surface with the translucent `{status}-soft`\n // tint and its `on-*` contrast ink applied to the inner element, which\n // composites over that opaque surface. Same recipe as NotificationCard's.\n {\n variant: 'soft',\n status: 'neutral',\n class: {\n inner: 'bg-neutral-soft',\n icon: 'text-on-neutral-soft',\n title: 'text-on-neutral-soft'\n }\n },\n {\n variant: 'soft',\n status: 'primary',\n class: {\n inner: 'bg-primary-soft',\n icon: 'text-on-primary-soft',\n title: 'text-on-primary-soft'\n }\n },\n {\n variant: 'soft',\n status: '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: 'soft',\n status: '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: 'soft',\n status: '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-{status}` ink rather than a translucent cut — a\n // translucent cut failed WCAG AA in the equivalent card recipe.\n {\n variant: 'solid',\n status: 'neutral',\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 status: 'primary',\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 status: '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 status: '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 status: '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 status: 'neutral',\n variant: 'surface',\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 ],\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 * How the image fills the avatar. `cover` crops to fill, which suits\n * photos. `contain` shows the whole image inset from the edge, which suits\n * logos and wordmarks that must not be cropped.\n */\n fit: {\n cover: { img: 'object-cover' },\n contain: { img: 'object-contain' }\n },\n /**\n * Draws a hairline just inside the edge, so the avatar's shape holds\n * against a page or photo of the same colour.\n */\n isBordered: {\n true: {\n // On ::after so it paints over the image; an inset box-shadow on the\n // root would sit beneath the <img>. A single translucent line, not an\n // offset ring, so an image does not get a gap and a second edge.\n base: [\n 'after:absolute after:inset-0 after:rounded-[inherit]',\n 'after:pointer-events-none',\n 'after:ring-1 after:ring-inset after:ring-surface-overlay-mild'\n ]\n }\n }\n },\n compoundVariants: [\n // The inset keeps a contained image off the round edge. It lives on the\n // img, so padding shrinks the box `object-contain` fits into.\n { fit: 'contain', size: 'xs', class: { img: 'p-px' } },\n { fit: 'contain', size: 'sm', class: { img: 'p-0.5' } },\n { fit: 'contain', size: 'md', class: { img: 'p-0.5' } },\n { fit: 'contain', size: 'lg', class: { img: 'p-1' } },\n { fit: 'contain', size: 'xl', class: { img: 'p-1' } }\n ],\n defaultVariants: {\n size: 'md',\n shape: 'circle',\n fit: 'cover',\n isBordered: true\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';\nimport type { VariantProps } from 'tailwind-variants';\n\n/**\n * The separator is rendered *inside* each `<li>` and hidden on the last one\n * with `group-last/item:hidden` (the `<li>` carries `group/item`), so neither\n * authoring form has to know which crumb is last.\n */\nconst breadcrumbs = tv({\n slots: {\n // Layout only. The nav landmark carries no ink of its own; every colour\n // decision belongs to `link` so the two stay in one place.\n base: '',\n\n // `flex-wrap`, so a long trail wraps onto a second line rather than\n // overflowing its container. Breadcrumbs have no horizontal-scroll\n // affordance, so overflow would simply hide the current page.\n list: 'flex flex-wrap items-center',\n\n item: 'group/item inline-flex items-center',\n\n link: [\n ...focusVisibleRing,\n 'inline-flex items-center gap-1 rounded-sm',\n // `firm`, not `DEFAULT`: as ink on the light surface `neutral` is 3.13:1,\n // under WCAG AA. `pagination.ts` uses `firm` for the same job.\n 'text-neutral-firm',\n 'transition-colors duration-200',\n 'motion-reduce:transition-none',\n // The current crumb is the only weight change in the trail: colour alone\n // is not a sufficient distinction, and it is the one crumb a reader\n // scans for.\n 'data-[current=true]:font-medium',\n 'aria-disabled:cursor-not-allowed aria-disabled:opacity-disabled aria-disabled:pointer-events-none'\n ],\n\n // The crumb's own ink, deliberately: receding a separator with colour costs\n // more contrast than it buys -- `neutral` lands at 2.95:1 on a gray-50\n // canvas. A thin chevron already reads lighter than a word beside it.\n separator: 'shrink-0 text-neutral-firm group-last/item:hidden',\n\n // The crumbs' weight, since it stands in for crumbs, but no focus ring and\n // no hover: it is a gap marker, and an affordance would promise a\n // destination it does not have.\n ellipsis:\n 'inline-flex shrink-0 items-center justify-center select-none text-neutral-firm'\n },\n\n variants: {\n // Written as whole literal class strings rather than composed from parts --\n // Tailwind generates nothing from an interpolated class, so the scanner has\n // to see each one intact.\n size: {\n sm: {\n list: 'gap-1 text-body-xs',\n item: 'gap-1',\n separator: '[&_svg]:size-3.5',\n ellipsis: 'text-body-xs'\n },\n md: {\n list: 'gap-1.5 text-body-sm',\n item: 'gap-1.5',\n separator: '[&_svg]:size-4',\n ellipsis: 'text-body-sm'\n },\n lg: {\n list: 'gap-2 text-body-md',\n item: 'gap-2',\n separator: '[&_svg]:size-5',\n ellipsis: 'text-body-md'\n }\n },\n\n // Hover and current share one ink, so the row reads as a single control.\n //\n // Three categories, not the usual seven: the other four are fill colours,\n // meant to carry `text-on-*` on top of them the way `pagination.ts` uses\n // them. As ink they fail at every level -- `success` tops out at 2.30:1.\n color: {\n neutral: {\n link: 'hover:text-neutral-strong data-[current=true]:text-neutral-strong'\n },\n primary: {\n link: 'hover:text-primary-firm data-[current=true]:text-primary-firm'\n },\n danger: {\n link: 'hover:text-danger-firm data-[current=true]:text-danger-firm'\n }\n },\n\n // The current crumb is never underlined in any mode: it is the page you\n // are on, and underlining it would advertise a navigation that does\n // nothing.\n underline: {\n always: {\n link: 'underline underline-offset-2 data-[current=true]:no-underline'\n },\n hover: {\n link: 'no-underline underline-offset-2 hover:underline data-[current=true]:hover:no-underline'\n },\n none: { link: 'no-underline hover:no-underline' }\n }\n },\n\n defaultVariants: {\n size: 'md',\n color: 'neutral',\n // Not `ExternalLink`'s `always`: breadcrumbs sit in their own nav row where\n // the layout already marks them as links, whereas an external link lives in\n // running text and has to announce itself.\n underline: 'hover'\n }\n});\n\nexport type BreadcrumbsVariants = VariantProps<typeof breadcrumbs>;\nexport type BreadcrumbsSlots = keyof ReturnType<typeof breadcrumbs>;\n\nexport { breadcrumbs };\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 variant: {\n outline: ''\n },\n color: {\n neutral: '',\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 variant: 'outline',\n color: 'neutral',\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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 color: 'neutral'\n }\n});\n\nconst button = tv({\n extend: baseButton,\n base: [''],\n variants: {\n variant: {\n solid: 'shadow-elevation-2',\n soft: '',\n subtle: '',\n outline: '',\n ghost: '',\n plain: '',\n custom: ''\n },\n isLoading: {\n true: 'disabled:cursor-progress'\n }\n },\n compoundVariants: [\n // VARIANT: solid (Facet \"filled\") — fill + border + on-color\n {\n variant: 'solid',\n color: 'neutral',\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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 // VARIANT: subtle — tint fill, plus the border Facet gives it\n {\n variant: 'subtle',\n color: 'neutral',\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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 // VARIANT: plain (Facet \"ghost\") — ink only, no fill\n {\n variant: 'plain',\n color: 'neutral',\n class:\n 'text-neutral-bolder hover:text-neutral-firm/80 active:text-neutral-firm'\n },\n {\n variant: 'plain',\n color: 'primary',\n class: 'text-primary hover:text-primary-mild active:text-primary-firm'\n },\n {\n variant: 'plain',\n color: 'secondary',\n class:\n 'text-secondary-strong hover:text-secondary-firm active:text-secondary-bolder'\n },\n {\n variant: 'plain',\n color: 'tertiary',\n class:\n 'text-tertiary-strong hover:text-tertiary-firm active:text-tertiary-bolder'\n },\n {\n variant: 'plain',\n color: 'success',\n class:\n 'text-success-strong hover:text-success-firm active:text-success-bolder'\n },\n {\n variant: 'plain',\n color: 'warning',\n class:\n 'text-warning-strong hover:text-warning-firm active:text-warning-bolder'\n },\n {\n variant: 'plain',\n color: 'danger',\n class: 'text-danger hover:text-danger-mild active:text-danger-firm'\n },\n // VARIANT: ghost — plain's ink, plus a hover tint. New in 0.18; `plain`\n // (formerly `minimal`) stays the no-fill option.\n {\n variant: 'ghost',\n color: 'neutral',\n class:\n 'text-neutral-bolder hover:bg-neutral-subtle hover:text-neutral-firm/80 active:bg-neutral-muted active:text-neutral-firm'\n },\n {\n variant: 'ghost',\n color: 'primary',\n class:\n 'text-primary hover:bg-primary-soft hover:text-primary-mild active:bg-primary-muted active:text-primary-firm'\n },\n {\n variant: 'ghost',\n color: 'secondary',\n class:\n 'text-secondary-strong hover:bg-secondary-soft hover:text-secondary-firm active:bg-secondary-muted active:text-secondary-bolder'\n },\n {\n variant: 'ghost',\n color: 'tertiary',\n class:\n 'text-tertiary-strong hover:bg-tertiary-soft hover:text-tertiary-firm active:bg-tertiary-muted active:text-tertiary-bolder'\n },\n {\n variant: 'ghost',\n color: 'success',\n class:\n 'text-success-strong hover:bg-success-soft hover:text-success-firm active:bg-success-muted active:text-success-bolder'\n },\n {\n variant: 'ghost',\n color: 'warning',\n class:\n 'text-warning-strong hover:bg-warning-soft hover:text-warning-firm active:bg-warning-muted active:text-warning-bolder'\n },\n {\n variant: 'ghost',\n color: 'danger',\n class:\n 'text-danger hover:bg-danger-soft hover:text-danger-mild active:bg-danger-muted active:text-danger-firm'\n },\n // VARIANT: soft — tint fill that deepens through the ramp\n {\n variant: 'soft',\n color: 'neutral',\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 variant: 'soft',\n color: '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 variant: 'soft',\n color: '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 variant: 'soft',\n color: '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 variant: 'soft',\n color: '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 variant: 'soft',\n color: '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 variant: 'soft',\n color: '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 // VARIANT: custom\n {\n variant: 'custom',\n color: 'neutral',\n class: 'text-neutral-strong'\n },\n {\n variant: 'custom',\n color: 'primary',\n class: 'text-primary-strong'\n },\n {\n variant: 'custom',\n color: 'secondary',\n class: 'text-secondary-strong'\n },\n {\n variant: 'custom',\n color: 'tertiary',\n class: 'text-tertiary-strong'\n },\n {\n variant: 'custom',\n color: 'success',\n class: 'text-success-strong'\n },\n {\n variant: 'custom',\n color: 'warning',\n class: 'text-warning-strong'\n },\n {\n variant: 'custom',\n color: 'danger',\n class: 'text-danger-strong'\n }\n ],\n defaultVariants: {\n size: 'md',\n color: 'primary',\n variant: 'solid'\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 `outline` 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 // (`variant: 'solid'`) — one step deeper on hover, another on active —\n // and pairs each fill with its generated `on-*` contrast ink.\n compoundVariants: [\n {\n variant: 'outline',\n color: 'neutral',\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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: {\n solid: '',\n outline: '',\n soft: ''\n },\n // The close button is a filled circle in every variant. `-muted` is\n // light enough to sit on the page in `outline`/`soft` 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 color: {\n neutral: {\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 // For dense UI — table cells, list rows, multi-select fields. It keeps\n // `sm`'s text size and loses height and padding instead: 12px is about\n // as small as a label stays readable. The close button drops to\n // `label-micro` so its circle (icon plus `p-0.5`) still fits the 20px\n // chip.\n xs: {\n base: 'text-label-2xs px-0.5 h-5',\n content: 'px-1 leading-4',\n dot: 'size-1.5',\n closeButton: 'text-label-micro'\n },\n sm: {\n base: 'text-label-2xs px-1 h-6',\n content: 'px-1 leading-4',\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 leading-5',\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 leading-6',\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 variant: 'solid',\n class: {\n dot: 'bg-current'\n }\n },\n\n // VARIANT: solid (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 variants do — the\n // circle would vanish into the chip. It steps down to `-subtle` instead.\n {\n variant: 'solid',\n color: 'neutral',\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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 // VARIANT: soft (tonal)\n {\n variant: 'soft',\n color: 'neutral',\n class: {\n base: 'text-neutral-strong bg-neutral-subtle',\n closeButton: 'hover:bg-neutral hover:text-on-neutral'\n }\n },\n {\n variant: 'soft',\n color: 'primary',\n class: {\n base: 'text-primary-strong bg-primary-subtle',\n closeButton: 'hover:bg-primary hover:text-on-primary'\n }\n },\n {\n variant: 'soft',\n color: 'secondary',\n class: {\n base: 'text-secondary-strong bg-secondary-subtle',\n closeButton: 'hover:bg-secondary hover:text-on-secondary'\n }\n },\n {\n variant: 'soft',\n color: 'tertiary',\n class: {\n base: 'text-tertiary-strong bg-tertiary-subtle',\n closeButton: 'hover:bg-tertiary hover:text-on-tertiary'\n }\n },\n {\n variant: 'soft',\n color: 'success',\n class: {\n base: 'text-success-strong bg-success-subtle',\n closeButton: 'hover:bg-success hover:text-on-success'\n }\n },\n {\n variant: 'soft',\n color: 'warning',\n class: {\n base: 'text-warning-strong bg-warning-subtle',\n closeButton: 'hover:bg-warning hover:text-on-warning'\n }\n },\n {\n variant: 'soft',\n color: 'danger',\n class: {\n base: 'text-danger-strong bg-danger-subtle',\n closeButton: 'hover:bg-danger hover:text-on-danger'\n }\n },\n\n // VARIANT: outline\n {\n variant: 'outline',\n color: 'neutral',\n class: {\n base: 'text-neutral-strong border border-neutral',\n closeButton: 'hover:bg-neutral hover:text-on-neutral'\n }\n },\n {\n variant: 'outline',\n color: 'primary',\n class: {\n base: 'text-primary-strong border border-primary',\n closeButton: 'hover:bg-primary hover:text-on-primary'\n }\n },\n {\n variant: 'outline',\n color: 'secondary',\n class: {\n base: 'text-secondary-strong border border-secondary',\n closeButton: 'hover:bg-secondary hover:text-on-secondary'\n }\n },\n {\n variant: 'outline',\n color: 'tertiary',\n class: {\n base: 'text-tertiary-strong border border-tertiary',\n closeButton: 'hover:bg-tertiary hover:text-on-tertiary'\n }\n },\n {\n variant: 'outline',\n color: 'success',\n class: {\n base: 'text-success-strong border border-success',\n closeButton: 'hover:bg-success hover:text-on-success'\n }\n },\n {\n variant: 'outline',\n color: 'warning',\n class: {\n base: 'text-warning-strong border border-warning',\n closeButton: 'hover:bg-warning hover:text-on-warning'\n }\n },\n {\n variant: 'outline',\n color: '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 color: 'neutral',\n variant: 'solid',\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 color: {\n neutral: {\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 color: 'neutral',\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 ghost: {\n base: ['bg-transparent', 'hover:bg-surface-overlay-subtle']\n },\n soft: {\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: 'ghost'\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-component=listbox-item]_[data-part=label]]:text-body-sm',\n '[&_[data-component=listbox-item]_[data-part=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 `color`.\n variant: {\n solid: { key: 'border border-transparent' },\n outline: { key: 'border bg-transparent' },\n subtle: { 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 color.\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 color: {\n neutral: {},\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 // variant: solid -- 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 variant: 'solid',\n color: 'neutral',\n class: { key: 'bg-neutral-muted text-on-neutral-muted' }\n },\n {\n variant: 'solid',\n color: 'primary',\n class: { key: 'bg-primary-muted text-on-primary-muted' }\n },\n {\n variant: 'solid',\n color: 'secondary',\n class: { key: 'bg-secondary-muted text-on-secondary-muted' }\n },\n {\n variant: 'solid',\n color: 'tertiary',\n class: { key: 'bg-tertiary-muted text-on-tertiary-muted' }\n },\n {\n variant: 'solid',\n color: 'success',\n class: { key: 'bg-success-muted text-on-success-muted' }\n },\n {\n variant: 'solid',\n color: 'warning',\n class: { key: 'bg-warning-muted text-on-warning-muted' }\n },\n {\n variant: 'solid',\n color: 'danger',\n class: { key: 'bg-danger-muted text-on-danger-muted' }\n },\n\n // variant: outline\n {\n variant: 'outline',\n color: 'neutral',\n class: { key: 'border-neutral text-neutral-strong' }\n },\n {\n variant: 'outline',\n color: 'primary',\n class: { key: 'border-primary text-primary-strong' }\n },\n {\n variant: 'outline',\n color: 'secondary',\n class: { key: 'border-secondary text-secondary-strong' }\n },\n {\n variant: 'outline',\n color: 'tertiary',\n class: { key: 'border-tertiary text-tertiary-strong' }\n },\n {\n variant: 'outline',\n color: 'success',\n class: { key: 'border-success text-success-strong' }\n },\n {\n variant: 'outline',\n color: 'warning',\n class: { key: 'border-warning text-warning-strong' }\n },\n {\n variant: 'outline',\n color: 'danger',\n class: { key: 'border-danger text-danger-strong' }\n },\n\n // variant: subtle\n {\n variant: 'subtle',\n color: 'neutral',\n class: {\n key: 'bg-neutral-subtle border-neutral-soft text-neutral-strong'\n }\n },\n {\n variant: 'subtle',\n color: 'primary',\n class: {\n key: 'bg-primary-subtle border-primary-soft text-primary-strong'\n }\n },\n {\n variant: 'subtle',\n color: 'secondary',\n class: {\n key: 'bg-secondary-subtle border-secondary-soft text-secondary-strong'\n }\n },\n {\n variant: 'subtle',\n color: 'tertiary',\n class: {\n key: 'bg-tertiary-subtle border-tertiary-soft text-tertiary-strong'\n }\n },\n {\n variant: 'subtle',\n color: 'success',\n class: {\n key: 'bg-success-subtle border-success-soft text-success-strong'\n }\n },\n {\n variant: 'subtle',\n color: 'warning',\n class: {\n key: 'bg-warning-subtle border-warning-soft text-warning-strong'\n }\n },\n {\n variant: 'subtle',\n color: 'danger',\n class: { key: 'bg-danger-subtle border-danger-soft text-danger-strong' }\n }\n ],\n defaultVariants: {\n size: 'md',\n color: 'neutral',\n variant: 'solid'\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 variants: {\n color: {\n neutral: '',\n primary: '',\n secondary: '',\n tertiary: '',\n success: '',\n warning: '',\n danger: ''\n }\n },\n defaultVariants: {\n color: 'neutral'\n }\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 variant: {\n solid: {\n base: ''\n },\n outline: {\n base: 'border border-transparent bg-transparent'\n },\n subtle: {\n base: ['border border-transparent']\n }\n },\n color: {\n neutral: {},\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 variant: 'solid',\n color: 'neutral'\n },\n compoundVariants: [\n // variant: solid\n {\n variant: 'solid',\n color: 'neutral',\n class: {\n base: [\n 'data-is-active:bg-neutral-subtle',\n 'data-is-active:text-neutral-strong'\n ]\n }\n },\n {\n variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 // variant: outline\n {\n variant: 'outline',\n color: 'neutral',\n class: {\n base: [\n 'data-is-active:border-neutral',\n 'data-is-active:text-neutral-strong'\n ]\n }\n },\n {\n variant: 'outline',\n color: 'primary',\n class: {\n base: [\n 'data-is-active:border-primary',\n 'data-is-active:text-primary-strong'\n ]\n }\n },\n {\n variant: 'outline',\n color: 'secondary',\n class: {\n base: [\n 'data-is-active:border-secondary',\n 'data-is-active:text-secondary-strong'\n ]\n }\n },\n {\n variant: 'outline',\n color: 'tertiary',\n class: {\n base: [\n 'data-is-active:border-tertiary',\n 'data-is-active:text-tertiary-strong'\n ]\n }\n },\n {\n variant: 'outline',\n color: 'success',\n class: {\n base: [\n 'data-is-active:border-success',\n 'data-is-active:text-success-strong'\n ]\n }\n },\n {\n variant: 'outline',\n color: 'warning',\n class: {\n base: [\n 'data-is-active:border-warning',\n 'data-is-active:text-warning-strong'\n ]\n }\n },\n {\n variant: 'outline',\n color: 'danger',\n class: {\n base: [\n 'data-is-active:border-danger',\n 'data-is-active:text-danger-strong'\n ]\n }\n },\n\n // variant: subtle\n {\n variant: 'subtle',\n color: 'neutral',\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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 // Sizes to the content instead of a fixed width. For panels whose\n // natural width is the point -- a calendar grid is as wide as seven day\n // cells, and wider still with two months side by side -- a fixed width\n // either clips the content or leaves it swimming.\n auto: 'w-auto'\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nexport { popover };\n","import { tv } from '../tw';\nconst divider = tv({\n // `divider` is the purpose-built token for rules, and unlike the solid\n // `neutral-*` fills it is translucent — 15% ink over whatever sits behind it\n // (near-black in light, white in dark). That is what makes one divider work on\n // a page, a card and a tinted panel alike: it darkens or lightens its own\n // background rather than trying to match a fixed surface colour. `bg-neutral-subtle`\n // was the wrong choice here — it resolves to near-white in light and near-black\n // in dark, so it vanished on exactly the surfaces a divider is drawn on.\n base: 'shrink-0 bg-divider border-none',\n variants: {\n orientation: {\n horizontal: 'w-full h-px',\n vertical: 'h-full w-px'\n },\n variant: {\n solid: '',\n // Intentionally empty. The sketch treatment is attached by the compound\n // variant below, so it can only ever apply to a horizontal divider —\n // see the comment there.\n sketch: ''\n }\n },\n compoundVariants: [\n // Horizontal only, deliberately. The artwork is a near-horizontal ribbon;\n // squashed into a 1px-wide column by `mask-size: 100% 100%` it renders as a\n // stub covering roughly the top 45% of the height, not a rule. Scoping it\n // here means `orientation=\"vertical\" variant=\"sketch\"` silently falls back\n // to an ordinary vertical line.\n //\n // `h-1` (4px) is the artwork's native height, and the rule is deliberately\n // subtle at that size. The mask is sized `100% 100%`, so the wobble\n // amplitude scales with the element's height -- a taller divider reads as\n // more obviously hand-drawn, but overstates a line the design intends to be\n // quiet. Raise this only with design's agreement.\n //\n // The height lives here rather than in the variant so it beats `h-px`\n // deterministically: tv() applies compound variants after variants, so\n // this does not depend on tailwind-merge resolving the conflict by\n // declaration order.\n {\n orientation: 'horizontal',\n variant: 'sketch',\n class: 'h-1 divider-sketch'\n }\n ],\n defaultVariants: {\n orientation: 'horizontal',\n variant: 'solid'\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 color: {\n neutral: '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 color: 'neutral'\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 // No `base` slot: Table has no single wrapping root element of its own --\n // `wrapper` (below) is the outermost rendered element, and nothing ever\n // called `.base()`. `w-full caption-bottom font-body text-body-2xs` was\n // dead here (never applied by any renderer); it is not carried over to\n // any other slot, since restoring it would be a visual change out of\n // scope for this migration -- see Task 12's brief.\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 // The optional controls strip above the table (e.g. column visibility).\n toolbar: ['px-4', 'pt-3'],\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 color: {\n neutral: {\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. `divider` is the\n // token for rules, and it is translucent -- ink over whatever track\n // is behind it -- so one value reads on both modes. The opaque\n // neutral levels this used to carry could not: neither the neutral\n // scale nor the track is symmetric across modes, which is why it\n // needed a `dark:` override at all.\n 'before:absolute before:content-[\"\"]',\n 'before:bg-divider',\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 color: 'neutral',\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 color 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 color: {\n neutral: {\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 color colour lives on the\n // bar alone and the label stays high-contrast neutral at every color --\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 // `neutral` color's fill is a surface in solid; a bare bar needs ink.\n {\n variant: 'underline',\n color: 'neutral',\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-divider',\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-divider',\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 color: 'neutral',\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 separated: {\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 soft: {\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: 'separated',\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 color.\n // Without the exclusion this rule wins on specificity -- it carries an\n // extra `:hover` over the color'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 color: {\n neutral: {\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 color: '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 // color needs both or the active chip is unreadable.\n color: {\n neutral: {\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 color: 'neutral',\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 color only\n // has to state the background once, on `base`. The border is stated on\n // both `base` and `arrow` for every color 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 color 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 color 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 color: {\n neutral: {\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 color: 'neutral'\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 status-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 `@status` 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 status: {\n neutral: {},\n primary: {},\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 surface: {\n base: 'bg-surface-modal border-surface-overlay-mild',\n description: 'text-neutral-firm'\n },\n // The outer surface/border is status-independent — every `soft`\n // compound variant below borrows the same neutral surface `surface`\n // uses (see the comment above the `soft` compound variants), so it\n // lives here once instead of repeating in each of them.\n soft: {\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 // surface: neutral surface, colour carried by the icon and title.\n // `default` status has no accent — icon and title stay neutral, same\n // `firm` level the other statuses use for their accent text.\n {\n variant: 'surface',\n status: 'neutral',\n class: { icon: 'text-neutral-firm', title: 'text-neutral-firm' }\n },\n {\n variant: 'surface',\n status: 'primary',\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: 'surface',\n status: '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: 'surface',\n status: 'warning',\n class: { icon: 'text-warning-bolder', title: 'text-warning-bolder' }\n },\n {\n variant: 'surface',\n status: 'danger',\n class: { icon: 'text-danger-firm', title: 'text-danger-firm' }\n },\n\n // soft: an opaque outer surface (so the floating card never lets page\n // content show through) with the translucent `{status}-soft` tint and its\n // `on-*` contrast ink applied to the *inner* element, which composites\n // over that opaque surface. The outer picks up the `surface` variant's\n // neutral surface/border instead of a colour-matched one, so it borrows\n // that treatment rather than inventing a new one.\n {\n variant: 'soft',\n status: 'neutral',\n class: {\n inner: 'bg-neutral-soft',\n icon: 'text-on-neutral-soft',\n title: 'text-on-neutral-soft'\n }\n },\n {\n variant: 'soft',\n status: 'primary',\n class: {\n inner: 'bg-primary-soft',\n icon: 'text-on-primary-soft',\n title: 'text-on-primary-soft'\n }\n },\n {\n variant: 'soft',\n status: '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: 'soft',\n status: '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: 'soft',\n status: '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-{status}` 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 `@status` on <Spinner> drives its\n // arc via `fill-{status}`, the exact same color as this variant's own\n // `bg-{status}` 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 status: 'neutral',\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 status: 'primary',\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 status: '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 status: '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 status: '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 status: 'neutral',\n variant: 'surface',\n hasDescription: false,\n stackPlacement: 'none'\n }\n});\n\nexport { notificationCard };\n","import { tv, type VariantProps } from '../../tw';\nimport { focusVisibleRing, focusVisibleWithinRing } from '../shared';\n\n/**\n * A note on the colour levels used for text and borders below.\n *\n * The `soft` level is a *translucent* fill (10-25% alpha) -- it exists to tint\n * a surface, and composites to ~1.1-1.5:1 against whatever is behind it. Used\n * as a border or a text colour it is effectively invisible, which is what the\n * invalid field state used to be in dark mode. Borders and rings here take an\n * opaque level instead, and the translucent-halo job is left to `muted`, which\n * is what `ring-focus` (`--color-primary-muted`) already resolves to.\n *\n * For text, the `DEFAULT` level of the tint-shaped categories (`secondary`,\n * `tertiary`, `success`, `warning`) is a light fill colour, not an ink: in\n * light mode it lands at 1.3-2.6:1, well under AA. `alert.ts` hit the same\n * thing first and settled on `bolder` for success/warning, `firm` for danger\n * and `neutral`, and plain `DEFAULT` for primary; the levels below match it so\n * that the same status reads the same weight in an Alert and in form feedback.\n *\n * Two known failures are deliberately left alone, because changing either one\n * restyles every field in the library and is a design decision rather than a\n * bug:\n * - the resting `border-neutral-soft` is 1.37:1 in light mode, against the\n * 3:1 WCAG 1.4.11 asks of a control's visual boundary (and in light mode\n * `surface-input` equals `surface-app`, so the border is the only boundary);\n * - `placeholder-neutral` is 3.13:1 in light mode, against AA's 4.5:1.\n * `tests/unit/forms/forms-contrast-test.ts` in test-app asserts everything\n * else, and documents these two as the deliberate gaps.\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-firm'\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. `text-neutral` (the DEFAULT level) is\n // only ~3:1 on a light surface; `firm` clears AA in both modes, and is the\n // same level `alert.ts` uses for its description.\n base: 'text-neutral-firm 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 // `status`, not `color`: this value also decides whether the message is\n // announced assertively. See `isError` in form-feedback.gts.\n status: {\n // Levels, not bare categories: see the note above `label`. Each one is\n // the lightest level that clears AA against both `surface-app` and\n // `surface-card` in light *and* dark mode.\n primary: 'text-primary',\n secondary: 'text-secondary-bolder',\n tertiary: 'text-tertiary-strong',\n success: 'text-success-bolder',\n danger: 'text-danger-firm',\n warning: 'text-warning-bolder'\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\n/**\n * The field shell for a segmented date field.\n *\n * It goes on the container rather than on the segment row, so the clear and\n * calendar buttons sit inside the border with the segments. Focus lands on an\n * individual segment, never on the container, so the ring is `focus-within`;\n * and `role=\"group\"` supports neither `aria-invalid` nor `aria-readonly`, so\n * the invalid and disabled states are read from data attributes the host\n * writes instead of from ARIA.\n */\nconst segmentedFieldShell = [\n 'relative flex items-center w-full',\n ...fieldShell,\n 'font-body text-base leading-tight text-neutral-strong',\n 'focus-within:ring-3',\n 'focus-within:ring-focus',\n 'focus-within:border-primary',\n 'data-[invalid=true]:border-danger',\n 'data-[invalid=true]:focus-within:ring-danger-muted',\n 'data-[disabled=true]:border-neutral-subtle',\n 'data-[disabled=true]:text-neutral-soft'\n];\n\n/**\n * The segment row, shared by `dateInput` and `datePicker`.\n *\n * Spread into both rather than duplicated: the tv() note below excuses\n * restating slots *inherited from `input`*, which is a typing constraint --\n * these are new strings, and keeping two copies had already let `gap-0` land\n * in one and not the other.\n */\nconst segmentRowSlots = {\n // `tabular-nums` stops the field twitching as digits change width;\n // `select-none` keeps a drag across segments from starting a text selection\n // that spans them.\n group: 'flex items-center flex-1 min-w-0 gap-0 tabular-nums select-none',\n segment: [\n 'rounded-xs px-px outline-none caret-transparent',\n 'focus:bg-primary focus:text-on-primary',\n 'data-[placeholder=true]:text-neutral',\n // The focused segment is filled with `primary`, so a placeholder sitting\n // in it has to take the contrast colour too. Stated as a combined variant\n // rather than relying on source order: both rules are one class deep\n // otherwise, and whichever Tailwind emits last would win.\n 'focus:data-[placeholder=true]:text-on-primary',\n 'data-[disabled=true]:pointer-events-none'\n ],\n // The separator before the hour is the one between the date and the time:\n // wider, so `01/20/2026 09:30` doesn't read as one run of digits.\n literal: 'text-neutral-soft px-px [&:has(+[data-type=hour])]:px-2'\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',\n 'disabled:border-neutral-subtle disabled:text-neutral-soft',\n 'aria-invalid:border-danger',\n // The invalid counterpart of `ring-focus`, which is `primary-muted`.\n 'aria-invalid:focus:ring-danger-muted'\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 ring-3 ring-focus' }\n },\n // Mirrors `input`'s `aria-invalid:focus:ring-danger-muted`: a focused\n // invalid cell must ring red, not keep the neutral focus ring.\n isInvalid: {\n true: { cell: 'border-danger ring-danger-muted' }\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 // The listbox scrolls itself, so the content below it (the display\n // limit's note) stays in view rather than being scrolled over.\n listbox: 'scroll-py-6 max-h-64 overflow-y-auto',\n icon: 'w-5 h-5',\n clearButton: 'pointer-events-auto',\n input: '[button]:cursor-default',\n emptyContent: 'p-2',\n displayLimitContent: 'p-2 text-body-2xs text-neutral-firm',\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',\n 'data-[invalid=true]:border-danger',\n 'data-[invalid=true]:focus-within:ring-danger-muted',\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// Extends `input` directly rather than `select`, even though the two look\n// alike. tv() loses slot types across a two-level extend, and\n// input -> select -> datePicker would be that second level; the shared\n// appearance comes from the common base instead.\nconst datePicker = tv({\n extend: input,\n slots: {\n base: [],\n placeholder: 'text-neutral',\n input: 'cursor-default text-left',\n // Restated from `input` rather than inherited: tv() drops inherited slot\n // names from the variant type, and `isSegmented` below has to target\n // both of these.\n innerContainer: 'relative flex',\n endContent: 'absolute inset-y-0 right-0 flex items-center',\n // The calendar sits in the popover, which supplies its own surface and\n // padding, so this only reserves room around the grid.\n calendar: 'p-2',\n // `border-default` is not a generated utility -- there is no `default`\n // semantic level. `border-neutral-soft` is the same divider treatment\n // `command.ts` uses to separate a footer from the content above it.\n // `w-0 min-w-full` keeps the footer out of the popover's intrinsic width:\n // the popover is sized `auto`, so it takes the width of its widest child,\n // and a row of preset buttons would otherwise stretch it well past the\n // calendar. Contributing zero and then filling the resolved width lets the\n // calendar decide how wide the popover is, and the buttons wrap within it.\n footer: [\n 'flex flex-wrap items-center gap-2',\n 'w-0 min-w-full',\n 'border-t border-neutral-soft p-2'\n ],\n icon: 'w-5 h-5',\n clearButton: 'pointer-events-auto',\n ...segmentRowSlots,\n // Sits between the two groups of a `@mode=\"range\"` field. `DatePicker`\n // renders it, not `SegmentGroup` -- it separates groups rather than\n // living inside one.\n separator: 'text-neutral px-1',\n calendarButton: 'pointer-events-auto',\n // The popover's body: the calendar, and beside it the time columns of an\n // `hour` or `minute` granularity. Stacked on narrow screens, where a\n // calendar and two columns side by side no longer fit.\n panels: 'flex flex-col sm:flex-row',\n // The columns must not make the popover taller than the calendar: they\n // scroll within its height instead. That height is only known once the\n // calendar is laid out, so the columns are taken out of flow\n // (`timeColumns` is absolute) and this box, which stretches to the row,\n // reserves their width: `--time-columns` (set by the component) of them,\n // 3.5rem each, with the gaps and padding between.\n time: [\n 'relative shrink-0',\n 'border-t border-neutral-soft sm:border-t-0 sm:border-s',\n 'sm:w-[calc(var(--time-columns)*3.75rem+0.75rem)]'\n ],\n timeColumns:\n 'flex justify-center gap-1 p-2 h-56 sm:absolute sm:inset-0 sm:h-auto',\n timeColumn: 'flex flex-col w-14 min-h-0',\n // The column's accessible name as well as its heading, so it takes\n // `neutral-firm` (AA) rather than the weekday row's lighter `neutral`.\n timeColumnLabel:\n 'h-8 shrink-0 text-caption-sm text-neutral-firm text-center leading-8 truncate',\n // Positioned so the options measure their `offsetTop` against the list:\n // the component scrolls the selected option into view itself (see\n // `revealWithin`). The padding keeps the focus ring inside the clip.\n timeList: [\n 'relative flex flex-col gap-0.5 flex-1 min-h-0 p-1',\n 'overflow-y-auto overscroll-contain',\n '[scrollbar-width:thin]'\n ],\n timeOption: [\n ...focusVisibleRing,\n 'shrink-0 h-9 rounded-md',\n 'text-body-sm text-neutral-strong tabular-nums',\n 'cursor-pointer select-none',\n 'transition-colors duration-200 motion-reduce:transition-none',\n // Excluded from the selected option, which gets its own hover per\n // color -- see the calendar's `day` slot for why.\n 'not-data-[selected=true]:hover:bg-surface-overlay-soft',\n // A read-only column moves focus but picks nothing.\n 'in-aria-readonly:cursor-default in-aria-readonly:hover:bg-transparent'\n ]\n },\n variants: {\n // The selected time option takes the calendar's selected-day fill, so\n // the day and the time picked read as one choice.\n color: {\n neutral: {\n timeOption:\n 'data-[selected=true]:bg-neutral-strong data-[selected=true]:text-on-neutral-strong data-[selected=true]:hover:bg-neutral-bolder'\n },\n primary: {\n timeOption:\n 'data-[selected=true]:bg-primary data-[selected=true]:text-on-primary data-[selected=true]:hover:bg-primary-firm'\n },\n secondary: {\n timeOption:\n 'data-[selected=true]:bg-secondary data-[selected=true]:text-on-secondary data-[selected=true]:hover:bg-secondary-firm'\n },\n tertiary: {\n timeOption:\n 'data-[selected=true]:bg-tertiary data-[selected=true]:text-on-tertiary data-[selected=true]:hover:bg-tertiary-firm'\n },\n success: {\n timeOption:\n 'data-[selected=true]:bg-success data-[selected=true]:text-on-success data-[selected=true]:hover:bg-success-firm'\n },\n warning: {\n timeOption:\n 'data-[selected=true]:bg-warning data-[selected=true]:text-on-warning data-[selected=true]:hover:bg-warning-firm'\n },\n danger: {\n timeOption:\n 'data-[selected=true]:bg-danger data-[selected=true]:text-on-danger data-[selected=true]:hover:bg-danger-firm'\n }\n },\n // The trigger is a `<button>` whose text *is* the value, so with neither a\n // value nor a `@placeholder` it has no content at all and collapses to its\n // padding -- noticeably shorter than every other field on the form.\n // (Select hit the same thing once chips took over its trigger's content.)\n //\n // The floor has to be stated per size, and as a border-box total: Tailwind\n // sets `box-sizing: border-box`, so a bare `min-h-5` is already satisfied\n // by the padding alone and does nothing. Each value is one line of\n // `text-base`/`leading-tight` (1.25rem) plus that size's vertical padding\n // plus the 1px borders -- i.e. exactly the height the field has once it\n // holds a single line of text.\n size: {\n sm: { input: 'min-h-[calc(1.25rem+1rem+2px)]' },\n md: { input: 'min-h-[calc(1.25rem+1.5rem+2px)]' },\n lg: { input: 'min-h-[calc(1.25rem+2rem+2px)]' }\n },\n // The segmented trigger renders no `<button>`, so nothing carries the\n // field shell. It moves onto the container, which is also what puts the\n // clear and calendar buttons inside the border rather than beyond it.\n isSegmented: {\n true: {\n innerContainer: segmentedFieldShell,\n // With no trigger underneath to click through to, the cluster sits in\n // flow beside the segments instead of floating over the field's right\n // edge.\n // `ms-auto` rather than relying on the group's `flex-1` to push it:\n // in range mode the groups no longer grow (see `isRange`), so without\n // this the cluster would sit tight against the end group instead of\n // at the field's right edge.\n endContent:\n 'static top-auto bottom-auto right-auto p-0 gap-1 shrink-0 ms-auto'\n }\n },\n // Two groups sharing one shell must not each claim half of it -- growing\n // would strand the separator in the middle of the field with a gap of\n // dead space on either side, instead of reading as one `start - end`\n // phrase. The end content takes the slack instead.\n // `flex-none`, not `grow-0`: the group's `flex-1` is `flex: 1 1 0%`, so\n // removing only the grow leaves a 0% basis with shrink still on and the\n // group collapses to zero width with its segments overflowing it.\n isRange: {\n true: { group: 'flex-none' }\n }\n },\n compoundVariants: [\n // Padding follows the shell onto the container, for the same reason.\n { isSegmented: true, size: 'sm', class: { innerContainer: 'p-2' } },\n { isSegmented: true, size: 'md', class: { innerContainer: 'p-3' } },\n { isSegmented: true, size: 'lg', class: { innerContainer: 'p-4' } }\n ],\n defaultVariants: {\n size: 'md',\n color: 'primary'\n }\n});\n\n// Extends `input` directly, not `datePicker`: tv() loses slot types across a\n// two-level extend, which is why `datePicker` extends `input` too.\nconst dateInput = tv({\n extend: input,\n slots: {\n base: [],\n innerContainer: segmentedFieldShell,\n ...segmentRowSlots,\n endContent: 'flex items-center gap-1 shrink-0',\n icon: 'w-5 h-5',\n clearButton: 'pointer-events-auto',\n calendarButton: 'pointer-events-auto'\n },\n variants: {\n // `input`'s size variant pads the `input` slot, which a segmented field\n // does not render -- the padding has to move onto the container that\n // actually draws the shell.\n size: {\n sm: { innerContainer: 'p-2' },\n md: { innerContainer: 'p-3' },\n lg: { innerContainer: 'p-4' }\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 // The listbox scrolls itself, so the content below it (the display\n // limit's note) stays in view rather than being scrolled over.\n listbox: 'scroll-py-6 max-h-64 overflow-y-auto',\n icon: 'w-5 h-5',\n clearButton: 'pointer-events-auto',\n input: 'cursor-text',\n emptyContent: 'p-2',\n displayLimitContent: 'p-2 text-body-2xs text-neutral-firm'\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 color: {\n neutral: {\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 color: '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>;\nexport type DatePickerVariants = VariantProps<typeof datePicker>;\nexport type DatePickerSlots = keyof ReturnType<typeof datePicker>;\nexport type DateInputVariants = VariantProps<typeof dateInput>;\nexport type DateInputSlots = keyof ReturnType<typeof dateInput>;\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 datePicker,\n dateInput\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","status","neutral","primary","success","warning","danger","variant","surface","soft","solid","layout","inline","banner","hasDescription","true","false","hasCloseButton","compoundVariants","class","defaultVariants","avatar","img","name","shape","square","circle","size","xs","sm","md","lg","xl","fit","cover","contain","isBordered","breadcrumbs","list","item","link","separator","ellipsis","color","underline","always","hover","none","baseButton","outline","secondary","tertiary","isInGroup","button","extend","subtle","ghost","plain","custom","isLoading","toggleButton","isSelected","buttonGroup","buttonSpinner","chip","dot","isDisabled","radius","full","progressBar","label","progress","isIndeterminate","command","inputWrapper","inputIcon","input","empty","loading","footer","footerHint","kbd","commandDialog","panel","key","inherit","isMerged","listbox","listboxItem","descriptionWrapper","selectedIcon","submenuIndicator","isActive","withDivider","listboxGroup","divider","dropdownContent","popover","trigger","auto","orientation","horizontal","vertical","sketch","externalLink","iconPlacement","start","end","skeleton","text","rounded","rect","animation","shimmer","pulse","spinner","table","wrapper","toolbar","thead","tbody","tfoot","tr","th","sortButton","sortIcon","columnVisibilityButton","columnVisibilityIcon","td","skeletonRow","loadingColor","default","selectionColor","fixed","striped","isSticky","stickyPosition","left","right","top","bottom","isScrollable","hasStickyHeader","isInStickyRow","segmentedControl","indicator","isFullWidth","hasSeparators","tabs","tab","accordion","heading","startContent","titleWrapper","subtitle","contentBody","separated","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","tooltip","arrow","notificationsContainer","stack","placement","notificationCard","customActions","customActionButton","stackPlacement","asterisk","formDescription","formFeedback","fieldShell","segmentedFieldShell","segmentRowSlots","group","segment","literal","innerContainer","endContent","hasStartContent","hasEndContent","hasChips","startContentPointerEvents","endContentPointerEvents","textarea","inputOtp","container","cellChar","caret","isInvalid","checkboxRadioBase","labelContainer","checkboxRadioGroupBase","optionsContainer","checkbox","radio","radioGroup","checkboxGroup","select","placeholder","clearButton","emptyContent","displayLimitContent","chipsField","chipsContainer","isFilterable","datePicker","calendarButton","panels","time","timeColumns","timeColumn","timeColumnLabel","timeList","timeOption","isSegmented","isRange","dateInput","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,wBAAwB,EACxB,0BAA0B,EAC1B,iCAAiC,EACjC,iCAAiC,EACjC,6CAA6C,CAC9C;;AC5BD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,cAAc,GAAG;AACrBC,EAAAA,IAAI,EAAE,8CAA8C;AACpDC,EAAAA,WAAW,EAAE;AACf,CAAC;AAED,MAAMC,KAAK,GAAGC,EAAE,CAAC;AACfC,EAAAA,KAAK,EAAE;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACAJ,IAAAA,IAAI,EAAE,0CAA0C;AAChD;AACA;AACA;AACA;AACA;AACAK,IAAAA,KAAK,EAAE,wCAAwC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACAC,IAAAA,IAAI,EAAE,0EAA0E;AAChFC,IAAAA,OAAO,EAAE,kCAAkC;AAC3CC,IAAAA,KAAK,EAAE,0BAA0B;AACjCP,IAAAA,WAAW,EAAE,eAAe;AAC5BQ,IAAAA,OAAO,EAAE,0DAA0D;AACnEC,IAAAA,WAAW,EAAEb;GACd;AAEDc,EAAAA,QAAQ,EAAE;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACAC,IAAAA,MAAM,EAAE;MACNC,OAAO,EAA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,EAAE,EAAE;AACT+K,IAAAA,IAAI,EAAE,eAAe;AACrBI,IAAAA,QAAQ,EAAE;GACX;AACD/P,EAAAA,QAAQ,EAAE;AACR2B,IAAAA,IAAI,EAAE;AACJE,MAAAA,EAAE,EAAE,EAAE;AACNC,MAAAA,EAAE,EAAE,EAAE;AACNC,MAAAA,EAAE,EAAE;AACN;GACD;AACDX,EAAAA,eAAe,EAAE;AACfO,IAAAA,IAAI,EAAE;AACR;AACF,CAAC,CAAC;AAEF,MAAMyO,YAAY,GAAG5Q,EAAE,CAAC;AACtB8D,EAAAA,MAAM,EAAE6M;AACV,CAAC,CAAC;AAEF,MAAME,UAAU,GAAG7Q,EAAE,CAAC;AACpBC,EAAAA,KAAK,EAAE;AACLJ,IAAAA,IAAI,EAAE,yBAAyB;AAC/BiF,IAAAA,KAAK,EAAE,eAAe;AACtB2J,IAAAA,MAAM,EAAE,EAAE;AACV0B,IAAAA,IAAI,EAAE,eAAe;AACrBI,IAAAA,QAAQ,EAAE;GACX;AACD/P,EAAAA,QAAQ,EAAE;AACR2B,IAAAA,IAAI,EAAE;AACJE,MAAAA,EAAE,EAAE,EAAE;AACNC,MAAAA,EAAE,EAAE,EAAE;AACNC,MAAAA,EAAE,EAAE;AACN;GACD;AACDX,EAAAA,eAAe,EAAE;AACfO,IAAAA,IAAI,EAAE;AACR;AACF,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1HF,IAAI2O,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/badge.ts","../src/components/breadcrumbs.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/stepper.ts","../src/components/tabs.ts","../src/components/nav-color.ts","../src/components/app-layout.ts","../src/components/nav-item.ts","../src/components/bottom-nav.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\n/**\n * `focusVisibleRing` for a container whose focusable element is a descendant\n * (Switch's hidden input, a segmented control's radios). Every utility goes\n * through the theme's own `focus-visible` variant, which matches\n * `[data-focus-visible-added]` (see index.css). Spelling some of them with the\n * native pseudo-class instead drew the ring at full width but left its color\n * to whichever of the two focus states happened to agree.\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 * `surface` and `soft` wear the same outer box. `soft` 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 `soft` 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 `soft` variant's translucent\n // `{status}-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 status 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 // Status alone paints nothing; every colour comes from an status ×\n // variant compound below.\n //\n // The other half of an status lives in the component: `STATUS_CONFIG` in\n // alert.gts maps it to a glyph and an ARIA role. Adding an status means\n // adding it in both places — this list plus its three compound variants\n // here, and a row there.\n status: {\n neutral: {},\n primary: {},\n success: {},\n warning: {},\n danger: {}\n },\n variant: {\n surface: neutralSurface,\n // Status-independent out here: every `soft` compound below tints the\n // *inner* element instead, so the outer box is `surface`'s.\n soft: 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 // surface: neutral surface, colour carried by the icon and title.\n // The `neutral` status 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: 'surface',\n status: 'neutral',\n class: { icon: 'text-neutral-firm', title: 'text-neutral-bolder' }\n },\n {\n variant: 'surface',\n status: 'primary',\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: 'surface',\n status: '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: 'surface',\n status: 'warning',\n class: { icon: 'text-warning-bolder', title: 'text-warning-bolder' }\n },\n {\n variant: 'surface',\n status: 'danger',\n class: { icon: 'text-danger-firm', title: 'text-danger-firm' }\n },\n\n // soft: an opaque outer surface with the translucent `{status}-soft`\n // tint and its `on-*` contrast ink applied to the inner element, which\n // composites over that opaque surface. Same recipe as NotificationCard's.\n {\n variant: 'soft',\n status: 'neutral',\n class: {\n inner: 'bg-neutral-soft',\n icon: 'text-on-neutral-soft',\n title: 'text-on-neutral-soft'\n }\n },\n {\n variant: 'soft',\n status: 'primary',\n class: {\n inner: 'bg-primary-soft',\n icon: 'text-on-primary-soft',\n title: 'text-on-primary-soft'\n }\n },\n {\n variant: 'soft',\n status: '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: 'soft',\n status: '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: 'soft',\n status: '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-{status}` ink rather than a translucent cut — a\n // translucent cut failed WCAG AA in the equivalent card recipe.\n {\n variant: 'solid',\n status: 'neutral',\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 status: 'primary',\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 status: '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 status: '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 status: '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 status: 'neutral',\n variant: 'surface',\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 ],\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 * How the image fills the avatar. `cover` crops to fill, which suits\n * photos. `contain` shows the whole image inset from the edge, which suits\n * logos and wordmarks that must not be cropped.\n */\n fit: {\n cover: { img: 'object-cover' },\n contain: { img: 'object-contain' }\n },\n /**\n * Draws a hairline just inside the edge, so the avatar's shape holds\n * against a page or photo of the same colour.\n */\n isBordered: {\n true: {\n // On ::after so it paints over the image; an inset box-shadow on the\n // root would sit beneath the <img>. A single translucent line, not an\n // offset ring, so an image does not get a gap and a second edge.\n base: [\n 'after:absolute after:inset-0 after:rounded-[inherit]',\n 'after:pointer-events-none',\n 'after:ring-1 after:ring-inset after:ring-surface-overlay-mild'\n ]\n }\n }\n },\n compoundVariants: [\n // The inset keeps a contained image off the round edge. It lives on the\n // img, so padding shrinks the box `object-contain` fits into.\n { fit: 'contain', size: 'xs', class: { img: 'p-px' } },\n { fit: 'contain', size: 'sm', class: { img: 'p-0.5' } },\n { fit: 'contain', size: 'md', class: { img: 'p-0.5' } },\n { fit: 'contain', size: 'lg', class: { img: 'p-1' } },\n { fit: 'contain', size: 'xl', class: { img: 'p-1' } }\n ],\n defaultVariants: {\n size: 'md',\n shape: 'circle',\n fit: 'cover',\n isBordered: true\n }\n});\n\nexport type AvatarVariants = VariantProps<typeof avatar>;\nexport type AvatarSlots = keyof ReturnType<typeof avatar>;\nexport { avatar };\n","import { tv } from '../tw';\n\nconst badge = tv({\n slots: {\n base: 'inline-flex items-center whitespace-nowrap font-label leading-none',\n // emphasized value, e.g. a price\n value: 'font-bold tabular-nums leading-none',\n // unit following the value, e.g. \"/mo\"\n unit: 'opacity-80 leading-none',\n // status dot before the content; sized per size, coloured per color\n dot: 'shrink-0 rounded-full',\n icon: 'inline-flex shrink-0 items-center justify-center [&>svg]:size-full'\n },\n variants: {\n variant: {\n soft: '',\n outline: ''\n },\n color: {\n neutral: {\n dot: 'bg-neutral-strong'\n },\n primary: {\n dot: 'bg-primary'\n },\n secondary: {\n dot: 'bg-secondary'\n },\n tertiary: {\n dot: 'bg-tertiary'\n },\n success: {\n dot: 'bg-success'\n },\n danger: {\n dot: 'bg-danger'\n }\n },\n // Value and unit share the label's font size so their baselines line up;\n // the value is set apart by weight only. Heights match Chip (20, 24, 28,\n // 32px). Radius steps with size and is never a pill: that shape belongs\n // to Chip.\n size: {\n xs: {\n base: 'text-label-2xs h-5 px-1.5 gap-1 rounded-sm',\n dot: 'size-1.5',\n icon: 'size-3'\n },\n sm: {\n base: 'text-label-2xs h-6 px-2 gap-1 rounded-sm',\n dot: 'size-1.5',\n icon: 'size-3'\n },\n md: {\n base: 'text-label-xs h-7 px-2.5 gap-1.5 rounded-md',\n dot: 'size-2',\n icon: 'size-3.5'\n },\n lg: {\n base: 'text-label-md h-8 px-3 gap-1.5 rounded-md',\n dot: 'size-2.5',\n icon: 'size-4'\n }\n }\n },\n compoundVariants: [\n // VARIANT: soft (tonal). One level above Chip's `soft` (`-subtle`).\n {\n variant: 'soft',\n color: 'neutral',\n class: {\n base: 'bg-neutral-muted text-on-neutral-muted'\n }\n },\n {\n variant: 'soft',\n color: 'primary',\n class: {\n base: 'bg-primary-muted text-on-primary-muted'\n }\n },\n {\n variant: 'soft',\n color: 'secondary',\n class: {\n base: 'bg-secondary-muted text-on-secondary-muted'\n }\n },\n {\n variant: 'soft',\n color: 'tertiary',\n class: {\n base: 'bg-tertiary-muted text-on-tertiary-muted'\n }\n },\n {\n variant: 'soft',\n color: 'success',\n class: {\n base: 'bg-success-muted text-on-success-muted'\n }\n },\n {\n variant: 'soft',\n color: 'danger',\n class: {\n base: 'bg-danger-muted text-on-danger-muted'\n }\n },\n\n // VARIANT: outline\n {\n variant: 'outline',\n color: 'neutral',\n class: {\n base: 'border border-current text-neutral-strong'\n }\n },\n {\n variant: 'outline',\n color: 'primary',\n class: {\n base: 'border border-current text-primary-strong'\n }\n },\n {\n variant: 'outline',\n color: 'secondary',\n class: {\n base: 'border border-current text-secondary-strong'\n }\n },\n {\n variant: 'outline',\n color: 'tertiary',\n class: {\n base: 'border border-current text-tertiary-strong'\n }\n },\n {\n variant: 'outline',\n color: 'success',\n class: {\n base: 'border border-current text-success-strong'\n }\n },\n {\n variant: 'outline',\n color: 'danger',\n class: {\n base: 'border border-current text-danger-strong'\n }\n }\n ],\n defaultVariants: {\n size: 'md',\n color: 'neutral',\n variant: 'soft'\n }\n});\n\nexport { badge };\n","import { tv } from '../tw';\nimport { focusVisibleRing } from './shared';\nimport type { VariantProps } from 'tailwind-variants';\n\n/**\n * The separator is rendered *inside* each `<li>` and hidden on the last one\n * with `group-last/item:hidden` (the `<li>` carries `group/item`), so neither\n * authoring form has to know which crumb is last.\n */\nconst breadcrumbs = tv({\n slots: {\n // Layout only. The nav landmark carries no ink of its own; every colour\n // decision belongs to `link` so the two stay in one place.\n base: '',\n\n // `flex-wrap`, so a long trail wraps onto a second line rather than\n // overflowing its container. Breadcrumbs have no horizontal-scroll\n // affordance, so overflow would simply hide the current page.\n list: 'flex flex-wrap items-center',\n\n item: 'group/item inline-flex items-center',\n\n link: [\n ...focusVisibleRing,\n 'inline-flex items-center gap-1 rounded-sm',\n // `firm`, not `DEFAULT`: as ink on the light surface `neutral` is 3.13:1,\n // under WCAG AA. `pagination.ts` uses `firm` for the same job.\n 'text-neutral-firm',\n 'transition-colors duration-200',\n 'motion-reduce:transition-none',\n // The current crumb is the only weight change in the trail: colour alone\n // is not a sufficient distinction, and it is the one crumb a reader\n // scans for.\n 'data-[current=true]:font-medium',\n 'aria-disabled:cursor-not-allowed aria-disabled:opacity-disabled aria-disabled:pointer-events-none'\n ],\n\n // The crumb's own ink, deliberately: receding a separator with colour costs\n // more contrast than it buys -- `neutral` lands at 2.95:1 on a gray-50\n // canvas. A thin chevron already reads lighter than a word beside it.\n separator: 'shrink-0 text-neutral-firm group-last/item:hidden',\n\n // The crumbs' weight, since it stands in for crumbs, but no focus ring and\n // no hover: it is a gap marker, and an affordance would promise a\n // destination it does not have.\n ellipsis:\n 'inline-flex shrink-0 items-center justify-center select-none text-neutral-firm'\n },\n\n variants: {\n // Written as whole literal class strings rather than composed from parts --\n // Tailwind generates nothing from an interpolated class, so the scanner has\n // to see each one intact.\n size: {\n sm: {\n list: 'gap-1 text-body-xs',\n item: 'gap-1',\n separator: '[&_svg]:size-3.5',\n ellipsis: 'text-body-xs'\n },\n md: {\n list: 'gap-1.5 text-body-sm',\n item: 'gap-1.5',\n separator: '[&_svg]:size-4',\n ellipsis: 'text-body-sm'\n },\n lg: {\n list: 'gap-2 text-body-md',\n item: 'gap-2',\n separator: '[&_svg]:size-5',\n ellipsis: 'text-body-md'\n }\n },\n\n // Hover and current share one ink, so the row reads as a single control.\n //\n // Three categories, not the usual seven: the other four are fill colours,\n // meant to carry `text-on-*` on top of them the way `pagination.ts` uses\n // them. As ink they fail at every level -- `success` tops out at 2.30:1.\n color: {\n neutral: {\n link: 'hover:text-neutral-strong data-[current=true]:text-neutral-strong'\n },\n primary: {\n link: 'hover:text-primary-firm data-[current=true]:text-primary-firm'\n },\n danger: {\n link: 'hover:text-danger-firm data-[current=true]:text-danger-firm'\n }\n },\n\n // The current crumb is never underlined in any mode: it is the page you\n // are on, and underlining it would advertise a navigation that does\n // nothing.\n underline: {\n always: {\n link: 'underline underline-offset-2 data-[current=true]:no-underline'\n },\n hover: {\n link: 'no-underline underline-offset-2 hover:underline data-[current=true]:hover:no-underline'\n },\n none: { link: 'no-underline hover:no-underline' }\n }\n },\n\n defaultVariants: {\n size: 'md',\n color: 'neutral',\n // Not `ExternalLink`'s `always`: breadcrumbs sit in their own nav row where\n // the layout already marks them as links, whereas an external link lives in\n // running text and has to announce itself.\n underline: 'hover'\n }\n});\n\nexport type BreadcrumbsVariants = VariantProps<typeof breadcrumbs>;\nexport type BreadcrumbsSlots = keyof ReturnType<typeof breadcrumbs>;\n\nexport { breadcrumbs };\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 variant: {\n outline: ''\n },\n color: {\n neutral: '',\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 variant: 'outline',\n color: 'neutral',\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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 color: 'neutral'\n }\n});\n\nconst button = tv({\n extend: baseButton,\n base: [''],\n variants: {\n variant: {\n solid: 'shadow-elevation-2',\n soft: '',\n subtle: '',\n outline: '',\n ghost: '',\n plain: '',\n custom: ''\n },\n isLoading: {\n true: 'disabled:cursor-progress'\n }\n },\n compoundVariants: [\n // VARIANT: solid (Facet \"filled\") — fill + border + on-color\n {\n variant: 'solid',\n color: 'neutral',\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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 // VARIANT: subtle — tint fill, plus the border Facet gives it\n {\n variant: 'subtle',\n color: 'neutral',\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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 // VARIANT: plain (Facet \"ghost\") — ink only, no fill\n {\n variant: 'plain',\n color: 'neutral',\n class:\n 'text-neutral-bolder hover:text-neutral-firm/80 active:text-neutral-firm'\n },\n {\n variant: 'plain',\n color: 'primary',\n class: 'text-primary hover:text-primary-mild active:text-primary-firm'\n },\n {\n variant: 'plain',\n color: 'secondary',\n class:\n 'text-secondary-strong hover:text-secondary-firm active:text-secondary-bolder'\n },\n {\n variant: 'plain',\n color: 'tertiary',\n class:\n 'text-tertiary-strong hover:text-tertiary-firm active:text-tertiary-bolder'\n },\n {\n variant: 'plain',\n color: 'success',\n class:\n 'text-success-strong hover:text-success-firm active:text-success-bolder'\n },\n {\n variant: 'plain',\n color: 'warning',\n class:\n 'text-warning-strong hover:text-warning-firm active:text-warning-bolder'\n },\n {\n variant: 'plain',\n color: 'danger',\n class: 'text-danger hover:text-danger-mild active:text-danger-firm'\n },\n // VARIANT: ghost — plain's ink, plus a hover tint. New in 0.18; `plain`\n // (formerly `minimal`) stays the no-fill option.\n {\n variant: 'ghost',\n color: 'neutral',\n class:\n 'text-neutral-bolder hover:bg-neutral-subtle hover:text-neutral-firm/80 active:bg-neutral-muted active:text-neutral-firm'\n },\n {\n variant: 'ghost',\n color: 'primary',\n class:\n 'text-primary hover:bg-primary-soft hover:text-primary-mild active:bg-primary-muted active:text-primary-firm'\n },\n {\n variant: 'ghost',\n color: 'secondary',\n class:\n 'text-secondary-strong hover:bg-secondary-soft hover:text-secondary-firm active:bg-secondary-muted active:text-secondary-bolder'\n },\n {\n variant: 'ghost',\n color: 'tertiary',\n class:\n 'text-tertiary-strong hover:bg-tertiary-soft hover:text-tertiary-firm active:bg-tertiary-muted active:text-tertiary-bolder'\n },\n {\n variant: 'ghost',\n color: 'success',\n class:\n 'text-success-strong hover:bg-success-soft hover:text-success-firm active:bg-success-muted active:text-success-bolder'\n },\n {\n variant: 'ghost',\n color: 'warning',\n class:\n 'text-warning-strong hover:bg-warning-soft hover:text-warning-firm active:bg-warning-muted active:text-warning-bolder'\n },\n {\n variant: 'ghost',\n color: 'danger',\n class:\n 'text-danger hover:bg-danger-soft hover:text-danger-mild active:bg-danger-muted active:text-danger-firm'\n },\n // VARIANT: soft — tint fill that deepens through the ramp\n {\n variant: 'soft',\n color: 'neutral',\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 variant: 'soft',\n color: '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 variant: 'soft',\n color: '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 variant: 'soft',\n color: '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 variant: 'soft',\n color: '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 variant: 'soft',\n color: '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 variant: 'soft',\n color: '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 // VARIANT: custom\n {\n variant: 'custom',\n color: 'neutral',\n class: 'text-neutral-strong'\n },\n {\n variant: 'custom',\n color: 'primary',\n class: 'text-primary-strong'\n },\n {\n variant: 'custom',\n color: 'secondary',\n class: 'text-secondary-strong'\n },\n {\n variant: 'custom',\n color: 'tertiary',\n class: 'text-tertiary-strong'\n },\n {\n variant: 'custom',\n color: 'success',\n class: 'text-success-strong'\n },\n {\n variant: 'custom',\n color: 'warning',\n class: 'text-warning-strong'\n },\n {\n variant: 'custom',\n color: 'danger',\n class: 'text-danger-strong'\n }\n ],\n defaultVariants: {\n size: 'md',\n color: 'primary',\n variant: 'solid'\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 `outline` 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 // (`variant: 'solid'`) — one step deeper on hover, another on active —\n // and pairs each fill with its generated `on-*` contrast ink.\n compoundVariants: [\n {\n variant: 'outline',\n color: 'neutral',\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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 variant: 'outline',\n color: '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 rounded-full'\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 'cursor-pointer disabled:cursor-not-allowed'\n ]\n },\n variants: {\n isDisabled: {\n true: 'opacity-disabled cursor-not-allowed'\n },\n variant: {\n solid: '',\n outline: '',\n soft: ''\n },\n // The close button is a filled circle in every variant. `-muted` is\n // light enough to sit on the page in `outline`/`soft` 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 color: {\n neutral: {\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 // For dense UI — table cells, list rows, multi-select fields. It keeps\n // `sm`'s text size and loses height and padding instead: 12px is about\n // as small as a label stays readable. The close button drops to\n // `label-micro` so its circle (icon plus `p-0.5`) still fits the 20px\n // chip.\n xs: {\n base: 'text-label-2xs px-0.5 h-5',\n content: 'px-1 leading-4',\n dot: 'size-1.5',\n closeButton: 'text-label-micro'\n },\n sm: {\n base: 'text-label-2xs px-1 h-6',\n content: 'px-1 leading-4',\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 leading-5',\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 leading-6',\n dot: 'size-2.5',\n closeButton: 'text-label-md'\n }\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 variant: 'solid',\n class: {\n dot: 'bg-current'\n }\n },\n\n // VARIANT: solid (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 variants do — the\n // circle would vanish into the chip. It steps down to `-subtle` instead.\n {\n variant: 'solid',\n color: 'neutral',\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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 // VARIANT: soft (tonal)\n {\n variant: 'soft',\n color: 'neutral',\n class: {\n base: 'text-neutral-strong bg-neutral-subtle',\n closeButton: 'hover:bg-neutral hover:text-on-neutral'\n }\n },\n {\n variant: 'soft',\n color: 'primary',\n class: {\n base: 'text-primary-strong bg-primary-subtle',\n closeButton: 'hover:bg-primary hover:text-on-primary'\n }\n },\n {\n variant: 'soft',\n color: 'secondary',\n class: {\n base: 'text-secondary-strong bg-secondary-subtle',\n closeButton: 'hover:bg-secondary hover:text-on-secondary'\n }\n },\n {\n variant: 'soft',\n color: 'tertiary',\n class: {\n base: 'text-tertiary-strong bg-tertiary-subtle',\n closeButton: 'hover:bg-tertiary hover:text-on-tertiary'\n }\n },\n {\n variant: 'soft',\n color: 'success',\n class: {\n base: 'text-success-strong bg-success-subtle',\n closeButton: 'hover:bg-success hover:text-on-success'\n }\n },\n {\n variant: 'soft',\n color: 'warning',\n class: {\n base: 'text-warning-strong bg-warning-subtle',\n closeButton: 'hover:bg-warning hover:text-on-warning'\n }\n },\n {\n variant: 'soft',\n color: 'danger',\n class: {\n base: 'text-danger-strong bg-danger-subtle',\n closeButton: 'hover:bg-danger hover:text-on-danger'\n }\n },\n\n // VARIANT: outline\n {\n variant: 'outline',\n color: 'neutral',\n class: {\n base: 'text-neutral-strong border border-neutral',\n closeButton: 'hover:bg-neutral hover:text-on-neutral'\n }\n },\n {\n variant: 'outline',\n color: 'primary',\n class: {\n base: 'text-primary-strong border border-primary',\n closeButton: 'hover:bg-primary hover:text-on-primary'\n }\n },\n {\n variant: 'outline',\n color: 'secondary',\n class: {\n base: 'text-secondary-strong border border-secondary',\n closeButton: 'hover:bg-secondary hover:text-on-secondary'\n }\n },\n {\n variant: 'outline',\n color: 'tertiary',\n class: {\n base: 'text-tertiary-strong border border-tertiary',\n closeButton: 'hover:bg-tertiary hover:text-on-tertiary'\n }\n },\n {\n variant: 'outline',\n color: 'success',\n class: {\n base: 'text-success-strong border border-success',\n closeButton: 'hover:bg-success hover:text-on-success'\n }\n },\n {\n variant: 'outline',\n color: 'warning',\n class: {\n base: 'text-warning-strong border border-warning',\n closeButton: 'hover:bg-warning hover:text-on-warning'\n }\n },\n {\n variant: 'outline',\n color: '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 color: 'neutral',\n variant: 'solid'\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 color: {\n neutral: {\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 color: 'neutral',\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 ghost: {\n base: ['bg-transparent', 'hover:bg-surface-overlay-subtle']\n },\n soft: {\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: 'ghost'\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-component=listbox-item]_[data-part=label]]:text-body-sm',\n '[&_[data-component=listbox-item]_[data-part=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 `color`.\n variant: {\n solid: { key: 'border border-transparent' },\n outline: { key: 'border bg-transparent' },\n subtle: { 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 color.\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 color: {\n neutral: {},\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 // variant: solid -- 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 variant: 'solid',\n color: 'neutral',\n class: { key: 'bg-neutral-muted text-on-neutral-muted' }\n },\n {\n variant: 'solid',\n color: 'primary',\n class: { key: 'bg-primary-muted text-on-primary-muted' }\n },\n {\n variant: 'solid',\n color: 'secondary',\n class: { key: 'bg-secondary-muted text-on-secondary-muted' }\n },\n {\n variant: 'solid',\n color: 'tertiary',\n class: { key: 'bg-tertiary-muted text-on-tertiary-muted' }\n },\n {\n variant: 'solid',\n color: 'success',\n class: { key: 'bg-success-muted text-on-success-muted' }\n },\n {\n variant: 'solid',\n color: 'warning',\n class: { key: 'bg-warning-muted text-on-warning-muted' }\n },\n {\n variant: 'solid',\n color: 'danger',\n class: { key: 'bg-danger-muted text-on-danger-muted' }\n },\n\n // variant: outline\n {\n variant: 'outline',\n color: 'neutral',\n class: { key: 'border-neutral text-neutral-strong' }\n },\n {\n variant: 'outline',\n color: 'primary',\n class: { key: 'border-primary text-primary-strong' }\n },\n {\n variant: 'outline',\n color: 'secondary',\n class: { key: 'border-secondary text-secondary-strong' }\n },\n {\n variant: 'outline',\n color: 'tertiary',\n class: { key: 'border-tertiary text-tertiary-strong' }\n },\n {\n variant: 'outline',\n color: 'success',\n class: { key: 'border-success text-success-strong' }\n },\n {\n variant: 'outline',\n color: 'warning',\n class: { key: 'border-warning text-warning-strong' }\n },\n {\n variant: 'outline',\n color: 'danger',\n class: { key: 'border-danger text-danger-strong' }\n },\n\n // variant: subtle\n {\n variant: 'subtle',\n color: 'neutral',\n class: {\n key: 'bg-neutral-subtle border-neutral-soft text-neutral-strong'\n }\n },\n {\n variant: 'subtle',\n color: 'primary',\n class: {\n key: 'bg-primary-subtle border-primary-soft text-primary-strong'\n }\n },\n {\n variant: 'subtle',\n color: 'secondary',\n class: {\n key: 'bg-secondary-subtle border-secondary-soft text-secondary-strong'\n }\n },\n {\n variant: 'subtle',\n color: 'tertiary',\n class: {\n key: 'bg-tertiary-subtle border-tertiary-soft text-tertiary-strong'\n }\n },\n {\n variant: 'subtle',\n color: 'success',\n class: {\n key: 'bg-success-subtle border-success-soft text-success-strong'\n }\n },\n {\n variant: 'subtle',\n color: 'warning',\n class: {\n key: 'bg-warning-subtle border-warning-soft text-warning-strong'\n }\n },\n {\n variant: 'subtle',\n color: 'danger',\n class: { key: 'bg-danger-subtle border-danger-soft text-danger-strong' }\n }\n ],\n defaultVariants: {\n size: 'md',\n color: 'neutral',\n variant: 'solid'\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 variants: {\n color: {\n neutral: '',\n primary: '',\n secondary: '',\n tertiary: '',\n success: '',\n warning: '',\n danger: ''\n }\n },\n defaultVariants: {\n color: 'neutral'\n }\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 variant: {\n solid: {\n base: ''\n },\n outline: {\n base: 'border border-transparent bg-transparent'\n },\n subtle: {\n base: ['border border-transparent']\n }\n },\n color: {\n neutral: {},\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 variant: 'solid',\n color: 'neutral'\n },\n compoundVariants: [\n // variant: solid\n {\n variant: 'solid',\n color: 'neutral',\n class: {\n base: [\n 'data-is-active:bg-neutral-subtle',\n 'data-is-active:text-neutral-strong'\n ]\n }\n },\n {\n variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 variant: 'solid',\n color: '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 // variant: outline\n {\n variant: 'outline',\n color: 'neutral',\n class: {\n base: [\n 'data-is-active:border-neutral',\n 'data-is-active:text-neutral-strong'\n ]\n }\n },\n {\n variant: 'outline',\n color: 'primary',\n class: {\n base: [\n 'data-is-active:border-primary',\n 'data-is-active:text-primary-strong'\n ]\n }\n },\n {\n variant: 'outline',\n color: 'secondary',\n class: {\n base: [\n 'data-is-active:border-secondary',\n 'data-is-active:text-secondary-strong'\n ]\n }\n },\n {\n variant: 'outline',\n color: 'tertiary',\n class: {\n base: [\n 'data-is-active:border-tertiary',\n 'data-is-active:text-tertiary-strong'\n ]\n }\n },\n {\n variant: 'outline',\n color: 'success',\n class: {\n base: [\n 'data-is-active:border-success',\n 'data-is-active:text-success-strong'\n ]\n }\n },\n {\n variant: 'outline',\n color: 'warning',\n class: {\n base: [\n 'data-is-active:border-warning',\n 'data-is-active:text-warning-strong'\n ]\n }\n },\n {\n variant: 'outline',\n color: 'danger',\n class: {\n base: [\n 'data-is-active:border-danger',\n 'data-is-active:text-danger-strong'\n ]\n }\n },\n\n // variant: subtle\n {\n variant: 'subtle',\n color: 'neutral',\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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 variant: 'subtle',\n color: '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 // Sizes to the content instead of a fixed width. For panels whose\n // natural width is the point -- a calendar grid is as wide as seven day\n // cells, and wider still with two months side by side -- a fixed width\n // either clips the content or leaves it swimming.\n auto: 'w-auto'\n }\n },\n defaultVariants: {\n size: 'md'\n }\n});\n\nexport { popover };\n","import { tv } from '../tw';\nconst divider = tv({\n // `divider` is the purpose-built token for rules, and unlike the solid\n // `neutral-*` fills it is translucent — 15% ink over whatever sits behind it\n // (near-black in light, white in dark). That is what makes one divider work on\n // a page, a card and a tinted panel alike: it darkens or lightens its own\n // background rather than trying to match a fixed surface colour. `bg-neutral-subtle`\n // was the wrong choice here — it resolves to near-white in light and near-black\n // in dark, so it vanished on exactly the surfaces a divider is drawn on.\n base: 'shrink-0 bg-divider border-none',\n variants: {\n orientation: {\n horizontal: 'w-full h-px',\n vertical: 'h-full w-px'\n },\n variant: {\n solid: '',\n // Intentionally empty. The sketch treatment is attached by the compound\n // variant below, so it can only ever apply to a horizontal divider —\n // see the comment there.\n sketch: ''\n }\n },\n compoundVariants: [\n // Horizontal only, deliberately. The artwork is a near-horizontal ribbon;\n // squashed into a 1px-wide column by `mask-size: 100% 100%` it renders as a\n // stub covering roughly the top 45% of the height, not a rule. Scoping it\n // here means `orientation=\"vertical\" variant=\"sketch\"` silently falls back\n // to an ordinary vertical line.\n //\n // `h-1` (4px) is the artwork's native height, and the rule is deliberately\n // subtle at that size. The mask is sized `100% 100%`, so the wobble\n // amplitude scales with the element's height -- a taller divider reads as\n // more obviously hand-drawn, but overstates a line the design intends to be\n // quiet. Raise this only with design's agreement.\n //\n // The height lives here rather than in the variant so it beats `h-px`\n // deterministically: tv() applies compound variants after variants, so\n // this does not depend on tailwind-merge resolving the conflict by\n // declaration order.\n {\n orientation: 'horizontal',\n variant: 'sketch',\n class: 'h-1 divider-sketch'\n }\n ],\n defaultVariants: {\n orientation: 'horizontal',\n variant: 'solid'\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 color: {\n neutral: '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 color: 'neutral'\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 // No `base` slot: Table has no single wrapping root element of its own --\n // `wrapper` (below) is the outermost rendered element, and nothing ever\n // called `.base()`. `w-full caption-bottom font-body text-body-2xs` was\n // dead here (never applied by any renderer); it is not carried over to\n // any other slot, since restoring it would be a visual change out of\n // scope for this migration -- see Task 12's brief.\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 // The optional controls strip above the table (e.g. column visibility).\n toolbar: ['px-4', 'pt-3'],\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 color: {\n neutral: {\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. `divider` is the\n // token for rules, and it is translucent -- ink over whatever track\n // is behind it -- so one value reads on both modes. The opaque\n // neutral levels this used to carry could not: neither the neutral\n // scale nor the track is symmetric across modes, which is why it\n // needed a `dark:` override at all.\n 'before:absolute before:content-[\"\"]',\n 'before:bg-divider',\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 color: 'neutral',\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\n/**\n * Every state class keys off a `data-*` attribute the Step writes onto its\n * `<li>` (`data-part=\"item\"`, the `group/item` anchor): `data-state`\n * (`complete | active | upcoming`), `data-invalid`, `data-loading`,\n * `data-disabled`. `data-invalid` and friends are written as the strings\n * \"true\"/\"false\", so they are tested with `=true`.\n *\n * Class strings are spelled out per color rather than built in a loop:\n * Tailwind generates nothing from an interpolated class name.\n */\nconst stepper = tv({\n slots: {\n // The named container the responsive label rules (added alongside the\n // layout work) measure against.\n base: '@container/stepper flex w-full',\n\n list: 'm-0 flex w-full list-none p-0',\n\n item: 'group/item relative flex',\n\n step: [\n ...focusVisibleRing,\n 'inline-flex items-center gap-2',\n // Hit area: at least 44px whatever the circle size, so the visual\n // size and the touch target are independent.\n 'min-h-11 min-w-11 justify-center rounded-md',\n 'cursor-pointer text-start',\n 'transition-colors duration-200 motion-reduce:transition-none',\n 'group-data-[disabled=true]/item:cursor-not-allowed',\n 'group-data-[disabled=true]/item:opacity-disabled'\n ],\n\n indicator: [\n 'inline-flex shrink-0 items-center justify-center rounded-full',\n 'border-2 font-medium tabular-nums',\n 'transition-colors duration-200 motion-reduce:transition-none',\n // Upcoming is the resting state; the other states override it.\n 'border-neutral-mild text-neutral-firm',\n // Hovering an enabled upcoming step firms its ring, the one hint that\n // it can be picked. Active and complete steps already carry color, so\n // the selector is scoped to upcoming, not overridden by them.\n '[li[data-state=upcoming][data-disabled=false]>button:hover_&]:border-neutral',\n // Invalid is always danger, whatever `color` is, and outranks the\n // active and complete treatments. Those are `group-data-[state=...]`\n // classes of equal specificity emitted later, so only `!` guarantees\n // the win -- without it a step that is both complete and invalid shows\n // the accent color.\n 'group-data-[invalid=true]/item:border-danger!',\n 'group-data-[invalid=true]/item:bg-danger-subtle!',\n 'group-data-[invalid=true]/item:text-danger!'\n ],\n\n // The check mark inside a complete indicator. It animates only while the\n // Step has `data-just-completed` -- set for the moment after a step\n // *becomes* complete -- so steps that load already complete stay still.\n check: [\n 'shrink-0',\n 'group-data-[just-completed=true]/item:animate-stepper-check-pop',\n 'group-data-[just-completed=true]/item:[&_path]:animate-stepper-check-draw',\n // `1 2`: a dash as long as the path (normalized to 1) and a gap longer\n // than it, so the undrawn state shows nothing, not even a round cap.\n 'group-data-[just-completed=true]/item:[&_path]:[stroke-dasharray:1_2]',\n 'motion-reduce:animate-none motion-reduce:[&_path]:animate-none'\n ],\n\n // The track is neutral; an `::after` fill in the step's color grows along\n // it when the step completes, and shrinks back if the user returns. The\n // fill's axis and origin come from `orientation`, below.\n connector: [\n 'relative shrink-0 overflow-hidden bg-neutral-mild',\n 'after:absolute after:inset-0 after:content-[\"\"]',\n 'after:transition-transform after:duration-300 after:ease-out',\n 'motion-reduce:after:transition-none',\n // The last step has nothing to connect to.\n 'group-last/item:hidden'\n ],\n\n // Collapsed (menu) mode only. The trigger shows the current step and opens\n // the list, which becomes a floating panel; see `collapsed` below.\n trigger: [\n ...focusVisibleRing,\n 'flex min-h-11 w-full cursor-pointer items-center justify-between gap-3',\n // Same border as a form field: it reads as a control, like a Select.\n 'rounded-xl border border-neutral-soft bg-surface-input px-3 py-2 text-start',\n 'hover:bg-surface-overlay-soft',\n 'transition-colors duration-200 motion-reduce:transition-none',\n '[&_svg]:transition-transform motion-reduce:[&_svg]:transition-none',\n '[&[aria-expanded=true]_svg]:rotate-180'\n ],\n\n // A zero-size sentinel the root reads to learn which side of the\n // threshold it is on. The threshold stays in CSS, where the label rules\n // already read it, so the two can never disagree.\n probe: 'hidden',\n\n // The trigger's two lines of text, and its chevron.\n triggerLabel: 'flex min-w-0 flex-col gap-1',\n chevron: 'size-4 shrink-0 text-neutral-firm',\n\n // \"Step N of M\" and the active step's title, in the trigger and in the\n // standalone summary line. The count is the quiet eyebrow; the title is\n // what the reader is looking for, so it carries the weight.\n summaryText: 'block text-neutral-firm',\n summaryTitle: 'block font-medium text-neutral-strong',\n\n // The invalid step's exclamation mark, the loading spinner, and the text\n // only screen readers get for an invalid step.\n mark: 'shrink-0',\n spinner: 'fill-current text-neutral-mild',\n invalidText: 'sr-only',\n\n // Titles use the tight-leading label scale, so the gap is what separates\n // a title from its description.\n label: 'flex min-w-0 flex-col gap-1',\n\n title: [\n 'font-medium text-neutral-strong',\n 'group-data-[state=upcoming]/item:text-neutral-firm',\n 'group-data-[invalid=true]/item:text-danger'\n ],\n\n // Body, not caption: the caption scale's 1px tracking suits small\n // standalone text, but beside a title it reads as a different typeface.\n description: 'text-neutral-firm',\n\n summary: 'flex flex-col gap-1',\n\n panel: [...focusVisibleRing, 'outline-none']\n },\n\n variants: {\n color: {\n neutral: {\n indicator: [\n 'group-data-[state=complete]/item:border-neutral-strong group-data-[state=complete]/item:bg-neutral-strong group-data-[state=complete]/item:text-background',\n 'group-data-[state=active]/item:border-neutral-strong group-data-[state=active]/item:text-neutral-strong group-data-[state=active]/item:bg-neutral-subtle'\n ],\n connector: 'group-data-[state=complete]/item:after:bg-neutral-strong'\n },\n primary: {\n indicator: [\n 'group-data-[state=complete]/item:border-primary group-data-[state=complete]/item:bg-primary group-data-[state=complete]/item:text-on-primary',\n 'group-data-[state=active]/item:border-primary group-data-[state=active]/item:text-primary group-data-[state=active]/item:bg-primary-subtle'\n ],\n connector: 'group-data-[state=complete]/item:after:bg-primary'\n },\n secondary: {\n indicator: [\n 'group-data-[state=complete]/item:border-secondary group-data-[state=complete]/item:bg-secondary group-data-[state=complete]/item:text-on-secondary',\n 'group-data-[state=active]/item:border-secondary group-data-[state=active]/item:text-secondary group-data-[state=active]/item:bg-secondary-subtle'\n ],\n connector: 'group-data-[state=complete]/item:after:bg-secondary'\n },\n tertiary: {\n indicator: [\n 'group-data-[state=complete]/item:border-tertiary group-data-[state=complete]/item:bg-tertiary group-data-[state=complete]/item:text-on-tertiary',\n 'group-data-[state=active]/item:border-tertiary group-data-[state=active]/item:text-tertiary group-data-[state=active]/item:bg-tertiary-subtle'\n ],\n connector: 'group-data-[state=complete]/item:after:bg-tertiary'\n },\n success: {\n indicator: [\n 'group-data-[state=complete]/item:border-success group-data-[state=complete]/item:bg-success group-data-[state=complete]/item:text-on-success',\n 'group-data-[state=active]/item:border-success group-data-[state=active]/item:text-success group-data-[state=active]/item:bg-success-subtle'\n ],\n connector: 'group-data-[state=complete]/item:after:bg-success'\n },\n warning: {\n indicator: [\n 'group-data-[state=complete]/item:border-warning group-data-[state=complete]/item:bg-warning group-data-[state=complete]/item:text-on-warning',\n 'group-data-[state=active]/item:border-warning group-data-[state=active]/item:text-warning group-data-[state=active]/item:bg-warning-subtle'\n ],\n connector: 'group-data-[state=complete]/item:after:bg-warning'\n },\n danger: {\n indicator: [\n 'group-data-[state=complete]/item:border-danger group-data-[state=complete]/item:bg-danger group-data-[state=complete]/item:text-on-danger',\n 'group-data-[state=active]/item:border-danger group-data-[state=active]/item:text-danger group-data-[state=active]/item:bg-danger-subtle'\n ],\n connector: 'group-data-[state=complete]/item:after:bg-danger'\n }\n },\n\n // `step` is the padding that brings indicator plus padding to 44px, so the\n // hit area is 44px whatever the circle size and the circle sits 22px in\n // from the button's edge in every layout. `item` carries how far a\n // bottom-label connector sits from the item's center: the circle's radius\n // plus a 4px gap.\n //\n // Type steps down one level per size: the number sits at about half the\n // circle's height, the title one step above the number, and the\n // description one step below the title.\n size: {\n sm: {\n step: 'p-2.5',\n item: '[--stepper-offset:1rem]',\n // `[&_svg]` outranks an icon's own size class, so the circle, not the\n // icon, decides the glyph size (about half the circle, 4-6px padding).\n indicator: 'size-6 text-label-2xs [&_svg]:size-3',\n title: 'text-label-xs',\n description: 'text-body-2xs',\n summaryText: 'text-body-2xs',\n summaryTitle: 'text-label-xs',\n panel: 'py-2'\n },\n md: {\n step: 'p-2',\n item: '[--stepper-offset:1.125rem]',\n indicator: 'size-7 text-label-xs [&_svg]:size-3.5',\n title: 'text-label-sm',\n description: 'text-body-xs',\n summaryText: 'text-body-xs',\n summaryTitle: 'text-label-sm',\n panel: 'py-3'\n },\n lg: {\n step: 'p-1',\n item: '[--stepper-offset:1.375rem]',\n indicator: 'size-9 text-label-sm [&_svg]:size-4.5',\n title: 'text-label-md',\n description: 'text-body-sm',\n summaryText: 'text-body-sm',\n summaryTitle: 'text-label-md',\n panel: 'py-4'\n }\n },\n\n orientation: {\n horizontal: {\n base: 'flex-col gap-4',\n list: 'flex-row items-start',\n item: 'flex-1 items-center last:flex-none',\n connector: [\n 'mx-1 h-0.5 min-w-4 flex-1',\n // Grows from the start edge, which is the right in RTL.\n 'after:origin-left after:scale-x-0 rtl:after:origin-right',\n 'group-data-[state=complete]/item:after:scale-x-100'\n ]\n },\n vertical: {\n base: 'flex-col gap-4',\n list: 'flex-col',\n // `pb-4` is the space between steps; the connector spans it.\n item: 'relative flex-col items-start pb-4 last:pb-0',\n // Circle at the top, beside the title's first line, so a step with a\n // description does not push its circle (and its connector) down.\n step: 'items-start',\n // Drawn absolutely from this circle to the next one, so it bridges the\n // step's 44px hit-area padding and any description height alike. The\n // circle's center is 22px down; `--stepper-offset` is its radius plus\n // the 4px clearance a horizontal connector also keeps.\n connector: [\n 'absolute start-[21px] w-0.5',\n 'top-[calc(22px+var(--stepper-offset))] bottom-[calc(var(--stepper-offset)-22px)]',\n 'after:origin-top after:scale-y-0',\n 'group-data-[state=complete]/item:after:scale-y-100'\n ]\n }\n },\n\n // Where the label sits relative to the circle. `end` is beside it;\n // `bottom` centers it underneath. Vertical orientation ignores this.\n labelPosition: {\n end: {},\n bottom: {}\n },\n\n // What a horizontal Stepper does when it is too narrow for its titles.\n // `menu` swaps the row for a trigger and a floating list; `summary` hides\n // the titles and shows a \"Step N of M\" line; `none` leaves it alone. The\n // label rules depend on orientation and labelPosition, so they are\n // compound variants below.\n collapse: {\n menu: {},\n summary: {},\n none: {}\n },\n\n // True while a `menu` Stepper is actually collapsed. The component sets it\n // (it measures the root), and passes `orientation: 'vertical'` alongside,\n // so the list reuses the vertical layout inside the panel.\n collapsed: {\n true: {\n list: [\n 'inset-auto m-0 w-auto min-w-64 max-w-[calc(100vw-1rem)] overflow-auto p-2 text-inherit',\n 'max-h-[min(24rem,70vh)] rounded-xl border border-neutral-muted bg-surface-input shadow-elevation-3',\n // `display` on the list would beat the UA rule that hides a closed\n // popover, so the closed state is restated here.\n '[&:not(:popover-open)]:hidden'\n ],\n // Rows sit closer in the menu than in a vertical Stepper: it is a\n // list to pick from, not a page-level layout.\n item: 'items-stretch pb-1',\n step: 'w-full justify-start hover:bg-surface-overlay-soft'\n }\n }\n },\n\n compoundVariants: [\n // -- label below the circle (horizontal only; vertical ignores it) --\n // Items are equal-width columns, and the connector is drawn from this\n // item's circle to the next one's, so it needs `relative` on the item and\n // an offset that clears the circle (radius plus a 4px gap, per size).\n // Logical properties (`start`/`end`, `ms`) so the layout mirrors in RTL.\n {\n orientation: 'horizontal',\n labelPosition: 'bottom',\n class: {\n item: 'relative flex-1 flex-col items-center last:flex-1',\n step: 'flex-col',\n label: 'items-center text-center',\n connector: [\n 'absolute top-[21px] mx-0 min-w-0 flex-none',\n 'start-[calc(50%+var(--stepper-offset))] end-[calc(-50%+var(--stepper-offset))]'\n ]\n }\n },\n // -- vertical: the title's first line is centered on the circle --\n // Half of (circle height - one title line) of top padding, so a title\n // lines up with the circle's middle whether or not a description follows.\n {\n orientation: 'vertical',\n size: 'sm',\n class: { title: 'pt-[calc((1.5rem-1lh)/2)]' }\n },\n {\n orientation: 'vertical',\n size: 'md',\n class: { title: 'pt-[calc((1.75rem-1lh)/2)]' }\n },\n {\n orientation: 'vertical',\n size: 'lg',\n class: { title: 'pt-[calc((2.25rem-1lh)/2)]' }\n },\n\n // -- responsive label collapse (horizontal only) --\n // Narrow: the label is visually hidden (`sr-only` keeps it in the\n // accessibility tree) and the summary shows. Wider than the threshold the\n // label returns and the summary goes.\n //\n // The thresholds are Frontile-namespaced container tokens, not `@md` /\n // `@2xl`: those read `--container-*`, which apps commonly redefine (and\n // which `max-w-*` shares), so they would move the breakpoints -- possibly\n // inverting the two modes. `var()` is not allowed in a container query\n // condition, so a theme token is the only way to make them tunable.\n {\n orientation: 'horizontal',\n collapse: 'summary',\n labelPosition: 'bottom',\n class: {\n label: 'sr-only @fr-stepper-bottom/stepper:not-sr-only',\n // The bottom-label row is symmetric (equal columns, centered\n // circles), so the line beneath it is centered too.\n summary: 'items-center text-center @fr-stepper-bottom/stepper:hidden',\n // With the title hidden the step is just its circle, so the focus\n // ring follows the circle instead of boxing it.\n step: '@max-fr-stepper-bottom/stepper:rounded-full'\n }\n },\n {\n orientation: 'horizontal',\n collapse: 'summary',\n labelPosition: 'end',\n class: {\n label: 'sr-only @fr-stepper-end/stepper:not-sr-only',\n summary: '@fr-stepper-end/stepper:hidden',\n step: '@max-fr-stepper-end/stepper:rounded-full'\n }\n },\n\n // The probe is `display: block` from the same threshold at which titles\n // would appear, i.e. when the full row fits.\n {\n orientation: 'horizontal',\n collapse: 'menu',\n labelPosition: 'bottom',\n class: { probe: '@fr-stepper-bottom/stepper:block' }\n },\n {\n orientation: 'horizontal',\n collapse: 'menu',\n labelPosition: 'end',\n class: { probe: '@fr-stepper-end/stepper:block' }\n }\n ],\n\n defaultVariants: {\n color: 'primary',\n size: 'md',\n orientation: 'horizontal',\n labelPosition: 'end',\n collapse: 'menu'\n }\n});\n\nexport { stepper };\nexport type StepperSlots = keyof ReturnType<typeof stepper>;\nexport type StepperVariants = VariantProps<typeof stepper>;\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 color 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 color: {\n neutral: {\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 color colour lives on the\n // bar alone and the label stays high-contrast neutral at every color --\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 // `neutral` color's fill is a surface in solid; a bare bar needs ink.\n {\n variant: 'underline',\n color: 'neutral',\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-divider',\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-divider',\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 color: 'neutral',\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","// Color for the app shell's navigation surfaces: the `AppLayout` frame, a\n// `Sidebar` and a `Navbar`. Two layers of custom properties:\n//\n// 1. The layout color, set from `@color`. It names one semantic category, so\n// the parts below read one set of properties whatever the color is:\n//\n// --app-layout-color the color: a solid fill, the tints' base\n// --app-layout-color-strong the current row's label on a tinted part\n// --app-layout-on-color text on a solid fill\n//\n// They are declared once, on the layout's root, and inherited by the parts\n// in it. Three places declare them again: the phone drawer (portalled out\n// of the layout, so it inherits nothing), a part with its own `@color`, and\n// a part rendered outside a layout. So an app sets a color outside the\n// theme on the root (`@classes` `base`), plus `mobileSidebar` for the\n// drawer.\n//\n// 2. The roles a navigation row, a sidebar group label and the layout's\n// toggles read (`--nav-item-*`, `--nav-folder-border`,\n// `--sidebar-group-label-fg`). Unset, each falls back to the neutral color\n// where it is read, so a neutral, plain shell sets nothing. A part's\n// surface sets them on the part from the layout color. They are computed\n// there: a layout color changed on an element inside the part does not\n// reach them.\n//\n// Every class below is a literal, written out per color: Tailwind only\n// generates classes it finds as whole strings in the source.\n\nconst layoutColor = {\n // Neutral's fill is its darkest level, as for a solid neutral `Button`: a\n // mid-grey bar would read as disabled.\n neutral:\n '[--app-layout-color:var(--color-neutral-bolder)] [--app-layout-color-strong:var(--color-neutral-strong)] [--app-layout-on-color:var(--color-on-neutral-bolder)]',\n primary:\n '[--app-layout-color:var(--color-primary)] [--app-layout-color-strong:var(--color-primary-strong)] [--app-layout-on-color:var(--color-on-primary)]',\n secondary:\n '[--app-layout-color:var(--color-secondary)] [--app-layout-color-strong:var(--color-secondary-strong)] [--app-layout-on-color:var(--color-on-secondary)]',\n tertiary:\n '[--app-layout-color:var(--color-tertiary)] [--app-layout-color-strong:var(--color-tertiary-strong)] [--app-layout-on-color:var(--color-on-tertiary)]',\n success:\n '[--app-layout-color:var(--color-success)] [--app-layout-color-strong:var(--color-success-strong)] [--app-layout-on-color:var(--color-on-success)]',\n warning:\n '[--app-layout-color:var(--color-warning)] [--app-layout-color-strong:var(--color-warning-strong)] [--app-layout-on-color:var(--color-on-warning)]',\n danger:\n '[--app-layout-color:var(--color-danger)] [--app-layout-color-strong:var(--color-danger-strong)] [--app-layout-on-color:var(--color-on-danger)]'\n} as const;\n\n// The non-neutral colors, for compound variants: neutral's plain surface is\n// the fallbacks, so it sets no roles.\nconst tintedColors = [\n 'primary',\n 'secondary',\n 'tertiary',\n 'success',\n 'warning',\n 'danger'\n] satisfies (keyof typeof layoutColor)[];\n\n// `plain`: the part keeps its own ground (the frame, or the attached\n// sidebar's surface) and its rows take the color. The fills are fixed\n// fractions of the color rather than its `soft`/`muted` levels, whose alpha\n// differs from one category to the next, so every color steps the same way\n// from hover to current. Resting text stays neutral.\nconst navTint = [\n '[--nav-item-hover-bg:color-mix(in_oklab,var(--app-layout-color)_10%,transparent)]',\n '[--nav-item-active-bg:color-mix(in_oklab,var(--app-layout-color)_18%,transparent)]',\n '[--nav-item-active-fg:var(--app-layout-color-strong)]',\n '[--nav-folder-border:color-mix(in_oklab,var(--app-layout-color)_25%,transparent)]'\n];\n\n// `solid`: the part is filled with the color. Text is the full contrast\n// color, which is chosen for contrast at full strength only, so a light color\n// (a yellow `warning`) gets dark rows and a dark one light rows. The fills are\n// fractions of it. The `dark:` background is repeated because the attached\n// variant's own `dark:` background would otherwise win.\nconst navSolid = [\n 'bg-(--app-layout-color) dark:bg-(--app-layout-color) text-(--app-layout-on-color)',\n '[--nav-item-fg:var(--app-layout-on-color)]',\n '[--nav-item-hover-fg:var(--app-layout-on-color)]',\n '[--nav-item-active-fg:var(--app-layout-on-color)]',\n '[--nav-item-hover-bg:color-mix(in_oklab,var(--app-layout-on-color)_12%,transparent)]',\n '[--nav-item-active-bg:color-mix(in_oklab,var(--app-layout-on-color)_20%,transparent)]',\n '[--nav-folder-border:color-mix(in_oklab,var(--app-layout-on-color)_25%,transparent)]',\n '[--sidebar-group-label-fg:var(--app-layout-on-color)]'\n];\n\n// The frame's gradient stops, from the layout color.\nconst frameGradientStops = [\n '[--app-frame-gradient-from:color-mix(in_oklab,var(--app-layout-color)_16%,transparent)]',\n '[--app-frame-gradient-to:color-mix(in_oklab,var(--color-neutral-subtle)_16%,transparent)]'\n];\n\nexport { layoutColor, tintedColors, navTint, navSolid, frameGradientStops };\n","import { tv } from '../tw';\nimport { focusVisibleRing } from './shared';\nimport {\n layoutColor,\n frameGradientStops,\n navSolid,\n navTint,\n tintedColors\n} from './nav-color';\nimport type { VariantProps } from '../tw';\n\n// The shell is one CSS grid. The parts (sidebar, navbar, main, aside) are\n// siblings in whatever order the consumer writes them, so each places itself\n// in the grid rather than relying on a wrapper:\n//\n// col 1 col 2 col 3\n// row 1 sidebar | navbar | navbar\n// row 2 sidebar | main | aside\n//\n// row 3 bottom nav (all columns; only with `bottomNavRow: 'shown'`)\n//\n// Empty columns and rows are `auto` and collapse to nothing, so a layout with\n// no sidebar or aside needs no special casing. The inset card is a single\n// decorative element (`mainCard`) drawn behind the parts in the same grid\n// area; the parts round their own corners to match it.\n// The sidebar's drawn width per variant and collapse state, written once.\n// `sidebar` is the sidebar's own width class; `token` sets the root's\n// published `--app-sidebar-width` to the same length. The sidebar does NOT\n// read the token: the token is `0px` until a `Sidebar` registers with the\n// layout (after the first render), and the sidebar's width must not depend\n// on that. Class names are literal strings so Tailwind can see them.\n// The inset widths include the `pe-3`/`ps-3` gutter (border box).\n// `rail` is the narrow preset for a stacked-label rail (icon over a short\n// label). It is meant for `collapsible=\"none\"`, so it has no collapsed row:\n// collapsed widths are the default size's.\nconst sidebarWidths = {\n attached: {\n expanded: { sidebar: 'w-64', token: '[--app-sidebar-width:16rem]' },\n collapsed: { sidebar: 'w-16', token: '[--app-sidebar-width:4rem]' },\n rail: { sidebar: 'w-20', token: '[--app-sidebar-width:5rem]' }\n },\n inset: {\n expanded: {\n sidebar: 'w-60 [--sidebar-rail:3rem]',\n token: '[--app-sidebar-width:15rem]'\n },\n collapsed: {\n sidebar: 'w-[3.75rem] [--sidebar-rail:3rem]',\n token: '[--app-sidebar-width:3.75rem]'\n },\n // 80px plus the 12px `pe-3`/`ps-3` gutter.\n rail: {\n sidebar: 'w-[5.75rem]',\n token: '[--app-sidebar-width:5.75rem]'\n }\n }\n} as const;\n\nconst sidebarWidthVariants = (['attached', 'inset'] as const).flatMap(\n (variant) => [\n // Collapsed widths are the same for every size.\n {\n variant,\n collapsed: true,\n class: { sidebar: sidebarWidths[variant].collapsed.sidebar }\n },\n {\n variant,\n collapsed: false,\n sidebarSize: 'default' as const,\n class: { sidebar: sidebarWidths[variant].expanded.sidebar }\n },\n {\n variant,\n collapsed: false,\n sidebarSize: 'rail' as const,\n class: { sidebar: sidebarWidths[variant].rail.sidebar }\n },\n {\n variant,\n sidebarColumn: 'shown' as const,\n sidebarSize: 'default' as const,\n class: { base: sidebarWidths[variant].expanded.token }\n },\n {\n variant,\n sidebarColumn: 'shown' as const,\n sidebarSize: 'rail' as const,\n class: { base: sidebarWidths[variant].rail.token }\n },\n {\n variant,\n sidebarColumn: 'collapsed' as const,\n class: { base: sidebarWidths[variant].collapsed.token }\n }\n ]\n);\n\n// Below the breakpoint the inset frame goes edge to edge: no gutter, no card\n// chrome, and the bottom bar needs no negative margins to escape the gutter.\n// Literal strings per breakpoint: Tailwind generates nothing from an\n// interpolated class. `max-sm` etc. are the exact complement of `sm:` etc.\nconst edgeToEdge = {\n sm: {\n base: 'max-sm:p-0',\n card: 'max-sm:rounded-none max-sm:shadow-none max-sm:ring-0',\n radius: 'max-sm:rounded-none',\n bar: 'max-sm:mx-0 max-sm:mb-0'\n },\n md: {\n base: 'max-md:p-0',\n card: 'max-md:rounded-none max-md:shadow-none max-md:ring-0',\n radius: 'max-md:rounded-none',\n bar: 'max-md:mx-0 max-md:mb-0'\n },\n lg: {\n base: 'max-lg:p-0',\n card: 'max-lg:rounded-none max-lg:shadow-none max-lg:ring-0',\n radius: 'max-lg:rounded-none',\n bar: 'max-lg:mx-0 max-lg:mb-0'\n }\n} as const;\n\nconst edgeToEdgeVariants = (['sm', 'md', 'lg'] as const).flatMap(\n (breakpoint) => {\n const e = edgeToEdge[breakpoint];\n return [\n {\n variant: 'inset' as const,\n breakpoint,\n class: { base: e.base, mainCard: e.card, bottomNav: e.bar }\n },\n {\n variant: 'inset' as const,\n breakpoint,\n navbarPlacement: 'frame' as const,\n class: { main: e.radius }\n },\n {\n variant: 'inset' as const,\n breakpoint,\n navbarPlacement: 'content' as const,\n class: { navbar: e.radius, main: e.radius }\n }\n ];\n }\n);\n\n// The layout's icon buttons (sidebar, menu and aside toggles). Same radius and\n// hover fill as a navigation row, so a toggle in the sidebar header reads as\n// one of its rows. `neutral-muted` stays visible on the frame's ground as\n// well as on the content surface. It reads the rows' color properties, so a\n// toggle in a colored sidebar or navbar takes its colors (see `nav-color.ts`).\nconst iconButton = [\n ...focusVisibleRing,\n 'inline-flex size-9 shrink-0 items-center justify-center rounded-lg',\n 'text-(--nav-item-fg,var(--color-neutral-firm))',\n 'hover:bg-(--nav-item-hover-bg,var(--color-neutral-muted))',\n 'hover:text-(--nav-item-hover-fg,var(--color-neutral-strong))'\n];\n\ntype LayoutColorName = keyof typeof layoutColor;\n\n// One variant entry per layout color, from the literal classes in\n// `nav-color.ts` (which is where Tailwind finds them).\nfunction perColor<T>(\n entry: (classes: string) => T\n): Record<LayoutColorName, T> {\n return Object.fromEntries(\n Object.entries(layoutColor).map(([name, classes]) => [name, entry(classes)])\n ) as Record<LayoutColorName, T>;\n}\n\nconst appLayout = tv({\n slots: {\n // Publishes the shell's sizes as custom properties, for the parts below\n // and for consumers (sticky offsets, custom parts):\n //\n // - `--app-navbar-height`: the height of the navbar and of the sidebar\n // header, so the two stay on one row.\n // - `--app-sidebar-width`: the sidebar's drawn width, border box (it\n // includes the inset variant's `pe-3`/`ps-3` gutter), set by the\n // `sidebarColumn` variant below. Published for consumers only (the\n // sidebar sizes itself): it settles after the first render, `0px` until\n // a Sidebar registers, so use a fallback where a flash matters. `0px`\n // when there is no sidebar column:\n // no Sidebar in the layout, below the breakpoint, or collapsed with\n // `collapsible=\"offcanvas\"`.\n // - `--app-bottomnav-height`: the `BottomNav` bar's full height, the row\n // plus the safe-area inset (the literals in `bottom-nav.ts`), set\n // by the `bottomNavRow` variant below. `0px` when no bar is shown, so\n // consumers can offset by it unconditionally.\n //\n // The navbar and sidebar header read `--app-navbar-height` (always set)\n // with a literal fallback for parts rendered outside an `AppLayout`.\n base: [\n 'relative grid w-full text-on-surface-app',\n 'grid-cols-[auto_minmax(0,1fr)_auto]',\n '[--app-navbar-height:3rem]',\n // The frame's gradient, painted over the variant's `bg-surface-*`\n // color. Its two stop colors are properties (set per `frameGradient`\n // below), so an app can swap a stop without rewriting the gradient:\n // `@classes={{hash base='[--app-frame-gradient-from:...]'}}`.\n // `--app-frame-gradient` itself takes any `<image>`, or `none`. The tint\n // holds at full strength across the sidebar and fades across the content,\n // so the first stop is the sidebar's edge (`--app-sidebar-width`). It\n // runs away from the sidebar: `--app-frame-gradient-direction` flips for\n // a right-to-left document and for `sidebarSide=\"end\"` (a gradient has\n // no logical direction of its own).\n 'bg-(image:--app-frame-gradient)',\n '[--app-frame-gradient-direction:to_right] rtl:[--app-frame-gradient-direction:to_left]',\n '[--app-frame-gradient:linear-gradient(var(--app-frame-gradient-direction),var(--app-frame-gradient-from)_var(--app-sidebar-width,0px),var(--app-frame-gradient-to)_100%)]'\n ],\n\n // `group/sidebar` plus `data-collapsed` on the element lets any descendant\n // react to the icon rail with `group-data-[collapsed=true]/sidebar:`.\n // Labels written as `<span data-sidebar-label>`, anywhere in the sidebar\n // (header, body or footer), are visually hidden in the icon rail but stay\n // in the accessibility tree (`sr-only`, never `display: none`).\n sidebar: [\n 'group/sidebar col-start-1 row-[1/-1] shrink-0 flex-col',\n 'data-[collapsed=true]:[&_[data-sidebar-label]]:sr-only',\n // Expanding, a label fades in once the width has mostly opened. It is\n // already visually hidden when collapsing, so the fade-out is unseen.\n 'data-[collapsed=true]:[&_[data-sidebar-label]]:opacity-0',\n '[&_[data-sidebar-label]]:transition-opacity [&_[data-sidebar-label]]:delay-100 [&_[data-sidebar-label]]:duration-150',\n // `visibility` is listed so an offcanvas sidebar stays visible while it\n // closes and becomes hidden only once its width reaches 0.\n 'transition-[width,padding,visibility] duration-200',\n 'motion-reduce:transition-none motion-reduce:[&_[data-sidebar-label]]:transition-none'\n ],\n // The sidebar's `nav` inside the mobile drawer: always expanded, as tall\n // as the drawer.\n mobileSidebar: 'group/sidebar flex min-h-0 flex-1 flex-col',\n // The drawer's close button, merged over the Drawer's own position. The\n // drawer is portalled out of the layout, so the layout's custom\n // properties do not reach it: the values are the defaults written out.\n // The 36px button is centered in the 3rem header row (top 6px), and its\n // icon ends 22px from the edge, where a row's trailing content does.\n drawerCloseButton: 'top-1.5 right-3.5 rtl:right-auto rtl:left-3.5',\n // In the icon rail the header stacks its children: the brand on its\n // content line (where the items' icons sit, so it does not move when the\n // rail opens) and the `Toggle` under it. The end is the gutter, so the\n // toggle's fill lines up with a row's.\n //\n // The layout flips in one frame while the width eases over 200ms, so the\n // header carries its own motion. Its content box is always the navbar\n // height (`box-content`), so the row centers the same way in both states;\n // the stacked toggle hangs below it in `padding-bottom`, which eases on the\n // width's curve, so the body glides rather than jumps. The toggle fades in\n // at its new spot on collapse, and `overflow-x-clip` keeps a toggle that is\n // still arriving inside the narrow rail on expand (0.375rem of clip margin\n // leaves its focus ring visible). A header that is only a `Toggle` keeps\n // its one row.\n //\n // The two ends mirror each other: the brand's start and the end toggle's\n // icon are both half a rail minus half an icon from the sidebar's edge,\n // the same inset a row gives its icon and its trailing chevron or badge.\n // The end padding is that inset less the toggle's 0.5rem icon padding.\n sidebarHeader: [\n 'box-content flex h-(--app-navbar-height,3rem) shrink-0 items-center gap-2 pb-0 ps-[calc((var(--sidebar-rail,4rem)_-_1.25rem)/2)] pe-[calc(var(--sidebar-rail,4rem)/2_-_1.125rem)]',\n 'overflow-x-clip [overflow-clip-margin:0.375rem]',\n 'transition-[padding-bottom] duration-200 motion-reduce:transition-none',\n 'group-data-[collapsed=true]/sidebar:flex-col',\n 'group-data-[collapsed=true]/sidebar:items-start',\n 'group-data-[collapsed=true]/sidebar:*:shrink-0',\n // An `ml-auto` meant for the expanded row (a toggle pushed to the end)\n // would shove a stacked child aside.\n 'group-data-[collapsed=true]/sidebar:*:mx-0',\n // Brand and toggle: the brand's top is where a 1.25rem icon centered in\n // the navbar height sits, so only the toggle travels.\n 'group-data-[collapsed=true]/sidebar:has-[>*:not([data-part=sidebar-toggle])]:pb-10',\n 'group-data-[collapsed=true]/sidebar:has-[>*:not([data-part=sidebar-toggle])]:*:first:mt-[calc((var(--app-navbar-height,3rem)-1.25rem)/2)]',\n 'group-data-[collapsed=true]/sidebar:not-has-[>*:not([data-part=sidebar-toggle])]:justify-center',\n // The toggle's icon sits 0.5rem inside its fill; pull the fill back so\n // the icon lands on the content line, centered in the rail.\n 'group-data-[collapsed=true]/sidebar:*:data-[part=sidebar-toggle]:-ms-2',\n 'group-data-[collapsed=true]/sidebar:*:data-[part=sidebar-toggle]:animate-[frontile-fade-in_160ms_60ms_ease-out_backwards]',\n 'group-data-[collapsed=true]/sidebar:*:data-[part=sidebar-toggle]:motion-reduce:animate-none'\n ],\n // Where a row's fill starts, from the sidebar's edge: `--sidebar-gutter`\n // (0.5rem by default, 0 in the inset variant, whose frame is the gutter).\n // The items' rail-centering, the header and the footer use it too.\n // `--sidebar-clip` is the room the scrolling body leaves for the focus\n // ring, which it would clip at its edge. It is padding with an equal\n // negative margin, so it does not move the rows: they start at the gutter.\n // The body is a column with the rows' 4px gap, so items placed straight in\n // it are spaced like those in a `Group` (a column that must not shrink).\n // With no header above it or footer below it, the body insets its first\n // and last rows by the gutter, as it does their sides. Inset's gutter is\n // 0: the frame's padding already holds them off the edge.\n sidebarBody: [\n '-mx-(--sidebar-clip,0px) flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto *:shrink-0 px-[calc(var(--sidebar-gutter,0.5rem)+var(--sidebar-clip,0px))]',\n 'first:pt-(--sidebar-gutter,0.5rem) last:pb-(--sidebar-gutter,0.5rem)'\n ],\n // A bare `Toggle` is offset so its icon sits on the content line.\n sidebarFooter: [\n 'shrink-0 px-(--sidebar-gutter,0.5rem) py-2',\n '*:data-[part=sidebar-toggle]:ms-[calc((var(--sidebar-rail,4rem)_-_1.25rem)/2_-_var(--sidebar-gutter,0.5rem)_-_0.5rem)]'\n ],\n // `Sidebar.Group`: a labelled set of items. The label is visually hidden\n // in the rail like any other sidebar label.\n sidebarGroup: 'flex flex-col gap-1 py-2',\n sidebarGroupLabel: [\n 'truncate ps-[calc((var(--sidebar-rail,4rem)_-_1.25rem)/2_-_var(--sidebar-gutter,0.5rem))] pe-2 pb-1 font-label text-label-2xs text-(--sidebar-group-label-fg,var(--color-neutral-firm))',\n 'group-data-[collapsed=true]/sidebar:sr-only'\n ],\n sidebarToggle: iconButton,\n\n // Opens the mobile drawer. Hidden from `breakpoint` up (see below).\n menuToggle: iconButton,\n\n // The navbar's side padding is the page header's, so its text lines up\n // with the page's. A toggle at either end is pulled back by its 0.5rem\n // icon padding, so its icon lines up instead of its fill.\n navbar: [\n 'col-[2/-1] row-start-1 flex h-(--app-navbar-height,3rem) min-w-0 items-center gap-2 px-4',\n '[&>[data-part$=-toggle]:first-child]:-ms-2 [&>[data-part$=-toggle]:last-child]:-me-2'\n ],\n\n main: 'col-start-2 row-start-2 min-h-0 min-w-0 outline-none',\n mainCard: 'pointer-events-none col-[2/-1]',\n\n // `BottomNav` inside the layout: the third row, across every column.\n // Merged over the bar's own (standalone, `fixed`) classes; the scroll\n // mode decides how it is positioned (see `scrollMode`).\n bottomNav: 'col-[1/-1] row-start-3',\n\n pageHeader: 'flex shrink-0 flex-wrap items-start gap-x-4 gap-y-2 px-4 py-4',\n pageHeaderContent: 'flex min-w-0 flex-1 flex-col gap-1',\n pageHeaderTitle: 'font-header text-header-lg text-neutral-strong',\n pageHeaderDescription: 'font-body text-body-sm text-neutral-firm',\n pageHeaderActions: 'flex shrink-0 items-center gap-2',\n\n // Literal `lg:block` here, not tied to `breakpoint`: the aside is a\n // wide-viewport affordance regardless of where the sidebar collapses.\n // Below `lg` the same block renders in a Drawer instead (`mobileAside`).\n aside:\n 'col-start-3 row-start-2 hidden w-72 shrink-0 overflow-y-auto p-4 font-body text-body-sm lg:block',\n // The aside's `aside` element inside the drawer: as tall as the drawer.\n mobileAside: 'min-h-0 flex-1 overflow-y-auto p-4 font-body text-body-sm',\n asideToggle: iconButton,\n\n skipLink: [\n ...focusVisibleRing,\n 'sr-only focus:not-sr-only',\n 'focus:absolute focus:start-2 focus:top-2 focus:z-50',\n 'focus:rounded-md focus:bg-surface-app focus:px-3 focus:py-2',\n 'focus:text-on-surface-app focus:shadow-md'\n ]\n },\n\n variants: {\n variant: {\n // The tinted frame shows through a gutter around the card. The content\n // is the lit surface in both schemes: on a `canvas` frame in light, and\n // in dark, where `app` is black, a `card` veil (white at 7%) on an `app`\n // frame.\n inset: {\n base: 'bg-surface-canvas p-3 dark:bg-surface-app',\n // 0.375rem of clip room clears the 5px focus ring, which the\n // scrolling body would otherwise clip at its edge. The ground and\n // gutter depend on the sidebar's surface (see the compound variants).\n sidebar: '[--sidebar-clip:0.375rem]',\n mainCard:\n 'rounded-xl bg-surface-app shadow-sm ring-1 ring-neutral-muted dark:bg-surface-card',\n aside: 'border-s border-neutral-muted',\n // The bottom bar runs edge to edge: it pulls out over the frame's\n // side and bottom gutter (`p-3`).\n bottomNav: '-mx-3 -mb-3'\n },\n // The sidebar's ground and border are the layout's (see the compound\n // variants), so a standalone sidebar draws neither.\n attached: {\n base: 'bg-surface-app dark:bg-surface-canvas',\n // Edge-to-edge content: no card chrome. The element is not rendered.\n mainCard: 'hidden',\n navbar:\n 'border-b border-neutral-muted bg-surface-app dark:bg-surface-canvas',\n aside: 'border-s border-neutral-muted'\n }\n },\n\n // `frame`: the navbar is a row on the tinted frame, above the card.\n // `content`: the card grows to cover the navbar row too.\n navbarPlacement: {\n frame: { mainCard: 'row-[2/3]' },\n content: { mainCard: 'row-[1/3]' }\n },\n\n // Where the sidebar stops being an off-canvas drawer and becomes inline.\n // Literal strings per breakpoint: Tailwind generates nothing from an\n // interpolated class.\n breakpoint: {\n sm: { sidebar: 'hidden sm:flex', menuToggle: 'sm:hidden' },\n md: { sidebar: 'hidden md:flex', menuToggle: 'md:hidden' },\n lg: { sidebar: 'hidden lg:flex', menuToggle: 'lg:hidden' }\n },\n\n collapsed: {\n true: {},\n false: {}\n },\n\n // What the layout's root reports for `--app-sidebar-width`: `shown` and\n // `collapsed` take the width from `variant` (compound variants below);\n // `none` is no sidebar column. Set by `AppLayout` only.\n sidebarColumn: {\n shown: {},\n collapsed: {},\n none: { base: '[--app-sidebar-width:0px]' }\n },\n\n // Whether the layout shows a `BottomNav` row: `@mobileNav=\"bottom\"`,\n // below the breakpoint, with a `BottomNav` registered. `shown` adds the\n // third `auto` row (compound variants below) and publishes the bar's\n // height; the row height and safe-area expression must match `bottom-nav.ts`,\n // written out because Tailwind generates nothing from an interpolated class.\n // Set by `AppLayout` only.\n bottomNavRow: {\n shown: {\n base: '[--app-bottomnav-height:calc(3.75rem+var(--bottomnav-safe-area,env(safe-area-inset-bottom,0px)))]'\n },\n none: { base: '[--app-bottomnav-height:0px]' }\n },\n\n // The sidebar's width preset: `default`, or `rail` for a narrow\n // icon-over-label rail. Set by `Sidebar`, and by `AppLayout` for the root's\n // token. Defaults to `default` so existing callers are unchanged.\n sidebarSize: {\n default: {},\n rail: {}\n },\n\n // `icon` shrinks to a rail, `offcanvas` hides entirely, `none` ignores\n // `collapsed` (the Sidebar passes `collapsed: false` for it).\n collapsible: {\n icon: {},\n // The sidebar closes to no width, so its contents fade rather than\n // being seen squeezed: out quickly on collapse, back in once the width\n // has mostly opened (the delay, cleared while collapsing).\n offcanvas: {\n sidebar: [\n 'overflow-x-clip',\n '*:transition-opacity *:delay-100 *:duration-150 motion-reduce:*:transition-none'\n ]\n },\n none: {}\n },\n\n // The shell's color: one semantic category, published as the\n // `--app-layout-color*` properties (see `nav-color.ts`). Declared on the\n // root, which the parts inherit from, and on the drawer's sidebar, which\n // is portalled out of the layout. It also picks the parts' tints below.\n color: perColor((classes) => ({ base: classes, mobileSidebar: classes })),\n\n // The color a sidebar or navbar declares on itself: its own `@color`, or\n // the layout's when there is no layout around it to inherit from. Unset,\n // the part inherits the root's.\n partColor: perColor((classes) => ({ sidebar: classes, navbar: classes })),\n\n // How the sidebar and the navbar wear the color. `plain` keeps the part's\n // ground and tints its rows; `solid` fills it with the color. The classes\n // are compound variants below, after the variant's own, so they win over\n // the attached variant's background and border.\n sidebarSurface: {\n plain: {},\n solid: {}\n },\n navbarSurface: {\n plain: {},\n solid: {}\n },\n\n // The frame's gradient: a left-to-right tint of the layout's color fading to a neutral grey,\n // both at a low alpha, over the variant's own surface (black in dark\n // mode). Both stops are theme colors, so none of it is hard-coded.\n frameGradient: {\n true: { base: frameGradientStops },\n false: { base: '[--app-frame-gradient:none]' }\n },\n\n // `translucent` lets the frame (and its gradient) show through the inset\n // card: the app surface at 50%, which is black at 50% in dark mode (the\n // design's card) and white at 50% in light. `solid` keeps the opaque\n // surface. The dark class is repeated because the variant's own `dark:`\n // background would otherwise win.\n cardSurface: {\n solid: {},\n translucent: {\n mainCard: 'bg-surface-app/50 dark:bg-surface-app/50'\n }\n },\n\n // `end` moves the sidebar to the last column and the aside to the first,\n // so the two stay on opposite sides of the page. The grid is reordered,\n // not the DOM: aside and main take columns 1 and 2, with the navbar and\n // card spanning both. Logical utilities flip all of this in a\n // right-to-left document.\n sidebarSide: {\n start: {},\n end: {\n base: '[--app-frame-gradient-direction:to_left] rtl:[--app-frame-gradient-direction:to_right]',\n sidebar: 'col-start-3',\n navbar: 'col-[1/-2]',\n main: 'col-start-2',\n mainCard: 'col-[1/-2]',\n aside: 'col-start-1'\n }\n },\n\n // The sidebar rendered in the mobile drawer. The drawer's close button\n // sits at the end of the first row: the header leaves room for it, and a\n // body with no header above it leaves that row empty.\n inDrawer: {\n true: {\n sidebarHeader: 'pe-[3.625rem]',\n sidebarBody: 'first:pt-(--app-navbar-height,3rem)'\n },\n false: {}\n },\n\n // Outside an `AppLayout` there is no grid and no drawer breakpoint, so the\n // sidebar is always shown and as tall as its container.\n standalone: {\n true: { sidebar: 'flex h-full' },\n false: {}\n },\n\n // `content`: the shell fills the viewport and `main` scrolls itself.\n // `page`: the document scrolls and the sidebar sticks.\n scrollMode: {\n content: {\n base: 'h-dvh grid-rows-[auto_minmax(0,1fr)] overflow-hidden',\n main: 'overflow-y-auto',\n // A plain grid row under `main`, which scrolls on its own.\n bottomNav: 'static'\n },\n page: {\n // `isolate` keeps the z-indexes below (the sticky bar, the sidebar\n // lifted for a flyout) inside the shell. Overlays portal to the end\n // of the body with no z-index of their own, so they paint above the\n // whole shell by DOM order. Without it, any positive z-index in here\n // would paint over every Modal, Drawer and Popover.\n base: 'isolate min-h-dvh grid-rows-[auto_1fr]',\n // No z-index: nothing in `main` needs to pass under it, and overlays\n // (Modal, Drawer, Popover, Tooltip, a rail `NavFolder`'s menu) are\n // portalled out of the shell.\n sidebar: 'sticky top-0 h-dvh self-start',\n // The document scrolls, so the bar sticks to the bottom of the\n // viewport over the content. `z-10` lifts it over in-page layers\n // (z-10 is the highest used in content; a tie goes to the later\n // element, so the bar should come after `Main` in the DOM). The\n // root's `isolate` keeps it under overlays.\n bottomNav: 'sticky bottom-0 z-10'\n }\n }\n },\n\n compoundVariants: [\n // The sidebar's own width and the root's `--app-sidebar-width` both come\n // from `sidebarWidths`, so they cannot drift.\n ...sidebarWidthVariants,\n\n // The rail is 5rem wide, so its body gives up some side padding to the\n // stacked labels. 0.3125rem still clears the 5px focus ring.\n {\n sidebarSize: 'rail',\n class: { sidebar: '[--sidebar-gutter:0.3125rem]' }\n },\n // The rail's items are centered columns (icon over label), and the header\n // assumes a 4rem `--sidebar-rail` that this 5rem column does not set. Give\n // it the body's gutter on both sides and center its content, so a brand\n // sits over the same box as the items. A group label is centered likewise.\n {\n sidebarSize: 'rail',\n class: {\n sidebarHeader:\n 'ps-(--sidebar-gutter,0.5rem) pe-(--sidebar-gutter,0.5rem) justify-center',\n sidebarGroupLabel: 'ps-0 pe-0 text-center'\n }\n },\n\n // The inset sidebar floats on the frame, so it supplies its own spacing\n // to the card (the grid has no gap).\n {\n variant: 'inset',\n sidebarSide: 'start',\n class: { sidebar: 'pe-3' }\n },\n {\n variant: 'inset',\n sidebarSide: 'end',\n class: { sidebar: 'ps-3' }\n },\n // Attached: the sidebar sits on the frame's ground, the same\n // ground the inset variant's sidebar floats on, with a border on\n // the side facing the content. Only in a layout: standalone, the sidebar\n // is transparent and borderless, and its container decides both.\n {\n variant: 'attached',\n standalone: false,\n class: {\n sidebar:\n 'border-e border-neutral-muted bg-surface-canvas dark:bg-surface-app'\n }\n },\n {\n variant: 'attached',\n standalone: false,\n sidebarSide: 'end',\n class: { sidebar: 'border-e-0 border-s' }\n },\n // The aside sits at the start with `sidebarSide=\"end\"`; its border\n // faces the content, on its end side.\n {\n variant: 'inset',\n sidebarSide: 'end',\n class: { aside: 'border-s-0 border-e' }\n },\n {\n variant: 'attached',\n sidebarSide: 'end',\n class: { aside: 'border-s-0 border-e' }\n },\n\n // The bottom nav's row, after the navbar and main rows.\n {\n scrollMode: 'content',\n bottomNavRow: 'shown',\n class: { base: 'grid-rows-[auto_minmax(0,1fr)_auto]' }\n },\n {\n scrollMode: 'page',\n bottomNavRow: 'shown',\n class: { base: 'grid-rows-[auto_1fr_auto]' }\n },\n\n // Page mode with the inset frame: the sticky sidebar sits inside the\n // root's `p-3` gutter, so it sticks below the top gutter and is shorter\n // by both gutters. With `top-0 h-dvh` the grid grew by the gutters and\n // the page always scrolled by 1.5rem.\n {\n variant: 'inset',\n scrollMode: 'page',\n class: { sidebar: 'top-3 h-[calc(100dvh-1.5rem)]' }\n },\n\n // A navbar on the frame is itself the top gutter: its row starts at the\n // frame's edge, so its content is centered between that edge and the\n // card instead of sitting a gutter low. Without a navbar, or with the\n // navbar inside the card (`content`), the card keeps the top gutter.\n {\n variant: 'inset',\n navbarPlacement: 'frame',\n class: { base: 'has-[>[data-part=navbar]]:pt-0' }\n },\n // The same in page mode: the sticky sidebar starts at the top and is\n // shorter by the bottom gutter only.\n {\n variant: 'inset',\n navbarPlacement: 'frame',\n scrollMode: 'page',\n class: {\n base: 'has-[>[data-part=navbar]]:[&>[data-part=sidebar]]:top-0 has-[>[data-part=navbar]]:[&>[data-part=sidebar]]:h-[calc(100dvh-0.75rem)]'\n }\n },\n\n // Offcanvas: collapsed is no width, no gutter, no border, and once the\n // width transition ends, `invisible`, so its links leave the tab order\n // and the accessibility tree. Comes after the width variants so `w-0`\n // wins.\n {\n collapsible: 'offcanvas',\n collapsed: true,\n class: {\n sidebar: 'invisible w-0 border-0 ps-0 pe-0 *:opacity-0 *:delay-0'\n }\n },\n\n // Main and navbar round their own corners to the card's, so content\n // scrolled inside `main` is clipped to the card's shape.\n {\n variant: 'inset',\n navbarPlacement: 'frame',\n class: { main: 'rounded-xl' }\n },\n {\n variant: 'inset',\n navbarPlacement: 'content',\n class: {\n navbar: 'rounded-t-xl border-b border-neutral-muted',\n main: 'rounded-b-xl'\n }\n },\n ...edgeToEdgeVariants,\n // Inset: a plain sidebar floats on the tinted frame, transparent, and the\n // frame's own padding is its gutter, so rows start at its edge.\n {\n variant: 'inset',\n sidebarSurface: 'plain',\n class: { sidebar: 'bg-transparent [--sidebar-gutter:0px]' }\n },\n // Color. Last, so the solid fill wins over the attached variant's\n // backgrounds and border.\n {\n color: tintedColors,\n sidebarSurface: 'plain',\n class: { sidebar: navTint }\n },\n {\n color: tintedColors,\n navbarSurface: 'plain',\n class: { navbar: navTint }\n },\n // The phone drawer is a surface of its own (the drawer's), so its rows\n // are tinted whatever the sidebar's surface: inverted rows would be\n // unreadable on it. The bottom bar is the same.\n {\n color: tintedColors,\n class: { mobileSidebar: navTint, bottomNav: navTint }\n },\n {\n sidebarSurface: 'solid',\n class: { sidebar: [...navSolid, 'border-transparent'] }\n },\n {\n navbarSurface: 'solid',\n class: { navbar: [...navSolid, 'border-transparent'] }\n },\n // On the inset frame a solid part is a panel of its own, with the card's\n // corners. The sidebar keeps the default gutter, so its rows stay off the\n // fill's edge.\n {\n sidebarSurface: 'solid',\n variant: 'inset',\n class: { sidebar: 'rounded-xl' }\n },\n {\n navbarSurface: 'solid',\n variant: 'inset',\n class: { navbar: 'rounded-xl' }\n }\n ],\n\n defaultVariants: {\n variant: 'inset',\n navbarPlacement: 'frame',\n breakpoint: 'md',\n collapsed: false,\n collapsible: 'icon',\n sidebarColumn: 'shown',\n bottomNavRow: 'none',\n sidebarSide: 'start',\n sidebarSize: 'default',\n color: 'neutral',\n sidebarSurface: 'plain',\n navbarSurface: 'plain',\n frameGradient: false,\n cardSurface: 'solid',\n standalone: false,\n inDrawer: false,\n scrollMode: 'content'\n }\n});\n\nexport { appLayout };\nexport type AppLayoutSlots = keyof ReturnType<typeof appLayout>;\nexport type AppLayoutVariants = VariantProps<typeof appLayout>;\n","import { tv } from '../tw';\nimport { focusVisibleRing } from './shared';\nimport type { VariantProps } from '../tw';\n\n// The icon's position never depends on the collapsed state, so the rail\n// closes over it instead of the icon sliding as the width animates.\n// Start padding puts it at the center of the rail's content box:\n// (rail - body padding on both sides - icon 1.25rem) / 2. The body's\n// side padding is `--sidebar-gutter` (0.5rem unless the variant sets it).\n// `--sidebar-rail` is the content width, so the inset variant excludes its\n// 0.75rem gap. Only the inline layout follows the rail.\n//\n// The end padding is the same inset, so a trailing chevron or badge sits as\n// far inside the row as the icon does. A `Toggle` at the header's end lines\n// its icon up with them (see `sidebarHeader` in `app-layout.ts`).\nconst railInset =\n 'ps-[calc((var(--sidebar-rail,4rem)_-_2*var(--sidebar-gutter,0.5rem)_-_1.25rem)/2)] pe-[calc((var(--sidebar-rail,4rem)_-_2*var(--sidebar-gutter,0.5rem)_-_1.25rem)/2)]';\n\n// A badge on an inline row with an icon: at the row's trailing end, like a\n// folder's chevron, and on the icon's top-end corner once the sidebar\n// collapses to the rail and the label is gone. The row is the containing\n// block, so the corner is measured from the row's start, where the icon\n// sits at the rail inset: 4px past the icon's 1.25rem end and above its\n// top. Written out in full: Tailwind only sees literal class names.\nconst railBadge = [\n 'ms-auto',\n 'group-data-[collapsed=true]/sidebar:absolute',\n 'group-data-[collapsed=true]/sidebar:start-[calc((var(--sidebar-rail,4rem)_-_2*var(--sidebar-gutter,0.5rem)_-_1.25rem)/2_+_1.5rem)]',\n 'group-data-[collapsed=true]/sidebar:top-[calc(50%_-_0.875rem)]',\n 'group-data-[collapsed=true]/sidebar:-translate-x-full rtl:group-data-[collapsed=true]/sidebar:translate-x-full'\n];\n\n// A row's colors are custom properties, read with the neutral defaults as\n// fallbacks. Nothing sets them by default; a colored `Sidebar` or `Navbar`\n// (`@color`, `@surface`) sets them on its own element, and an app can set\n// them on any ancestor. See `navTint` and `navSolid` in `nav-color.ts`.\n//\n// --nav-item-fg (default `--color-neutral-firm`)\n// --nav-item-hover-bg (default `--color-neutral-muted`)\n// --nav-item-hover-fg (default `--color-neutral-strong`)\n// --nav-item-active-bg (default `--color-neutral-soft`), also while hovered\n// --nav-item-active-fg (default `--color-neutral-strong`)\n// --nav-folder-border (default `--color-neutral-muted`), a folder's guide\nconst navRow = [\n ...focusVisibleRing,\n // 36px with a mouse; 44px where the pointer is coarse (touch).\n 'flex min-h-9 w-full items-center gap-2 rounded-lg px-2 py-1.5 font-body text-body-sm pointer-coarse:min-h-11',\n 'text-(--nav-item-fg,var(--color-neutral-firm))',\n 'not-data-[disabled=true]:hover:bg-(--nav-item-hover-bg,var(--color-neutral-muted))',\n 'not-data-[disabled=true]:hover:text-(--nav-item-hover-fg,var(--color-neutral-strong))',\n 'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-disabled'\n];\n\n// An item is filled while it is the current page. A folder is never the\n// current page, so its trigger takes `navRow` alone.\nconst navItemRow = [\n ...navRow,\n 'data-[active=true]:bg-(--nav-item-active-bg,var(--color-neutral-soft)) data-[active=true]:font-medium',\n // Hovering the current page keeps its fill rather than lightening it.\n 'not-data-[disabled=true]:data-[active=true]:hover:bg-(--nav-item-active-bg,var(--color-neutral-soft))',\n 'data-[active=true]:text-(--nav-item-active-fg,var(--color-neutral-strong))',\n 'not-data-[disabled=true]:data-[active=true]:hover:text-(--nav-item-active-fg,var(--color-neutral-strong))'\n];\n\n/**\n * Shared navigation row styles: `NavLink`, `NavItem` and `NavFolder`.\n * Slot names equal the kebab-cased `data-part` each component renders.\n */\nconst navItem = tv({\n slots: {\n navItem: navItemRow,\n // The slot sizes the icon, so an SVG that brings its own size (Lucide's\n // 24px attributes, a utility class) still matches the other rows.\n // `text-[1.25rem]` is for icons that size by font-size instead, such as\n // FontAwesome's 1em SVGs: their stylesheet is unlayered, so it beats\n // `size-5` (Tailwind utilities live in a layer) whatever the specificity.\n // It is set on the SVG, not the slot, so a badge inside the slot keeps\n // its own size. Keep it equal to `size-5`.\n navItemIcon:\n 'relative inline-flex shrink-0 items-center justify-center [&>svg]:size-5 [&>svg]:text-[1.25rem]',\n navItemLabel: 'truncate',\n // The short text shown under the icon in the stacked layout. A label, not\n // body copy: semibold in the label face, and the same weight whether or\n // not the item is current. `leading-tight` is kept over the token's\n // line-height of 1, which `truncate` (overflow hidden) would clip.\n navItemShortLabel:\n 'max-w-full truncate font-label text-label-micro leading-tight',\n navItemBadge:\n 'inline-flex h-4 min-w-4 items-center justify-center rounded-full bg-danger px-1 font-label text-label-micro leading-none text-on-danger',\n // Screen-reader text appended to the label for a badge.\n navItemBadgeLabel: 'sr-only',\n navFolder: 'flex flex-col',\n // A button, which browsers do not give a pointer cursor on their own.\n navFolderTrigger: [...navRow, 'not-data-[disabled=true]:cursor-pointer'],\n navFolderChevron: [\n 'ms-auto size-4 shrink-0 transition-transform data-[open=true]:rotate-90 motion-reduce:transition-none',\n // Mirrored right to left, so it points toward the inline end. CSS\n // applies `scale` before `rotate`, so the open state turns the other\n // way there to still point down.\n 'rtl:-scale-x-100 rtl:data-[open=true]:-rotate-90',\n 'group-data-[collapsed=true]/sidebar:hidden'\n ],\n // The first child's top margin spaces it from the trigger. It lives\n // inside the panel because the collapsed panel clips it; a gap or\n // padding on the folder would show 4px while closed.\n navFolderPanel:\n 'ms-4 flex flex-col gap-1 border-s border-(--nav-folder-border,var(--color-neutral-muted)) ps-2 *:first:mt-1'\n },\n variants: {\n layout: {\n inline: {\n // The containing block for a badge on the icon's corner in the rail.\n navItem: ['relative', railInset],\n navFolderTrigger: railInset,\n navItemIcon: 'size-5',\n // Hidden in the icon rail.\n navItemLabel: 'group-data-[collapsed=true]/sidebar:sr-only'\n },\n // Small icon over text. Ignores the sidebar's collapsed state.\n stacked: {\n navItem: [\n 'group/nav-item mx-auto min-h-14 w-full max-w-[72px] flex-col justify-center gap-0.5 px-0.5 py-1 text-body-4xs',\n // The active fill sits behind the icon, not the whole item.\n 'data-[active=true]:bg-transparent not-data-[disabled=true]:hover:bg-transparent',\n 'not-data-[disabled=true]:data-[active=true]:hover:bg-transparent'\n ],\n // The pill is themable from the item or any ancestor, without\n // reaching into the part with a descendant selector. Each falls back\n // to the row's own property, so a colored sidebar colors the pill:\n // --nav-item-pill-radius (default `--radius-lg`)\n // --nav-item-pill-hover-bg (default `--nav-item-hover-bg`)\n // --nav-item-pill-active-bg (default `--nav-item-active-bg`), also\n // used while the current item is hovered\n navItemIcon: [\n 'h-8 w-11 rounded-(--nav-item-pill-radius,var(--radius-lg))',\n 'group-data-[active=true]/nav-item:bg-(--nav-item-pill-active-bg,var(--nav-item-active-bg,var(--color-neutral-soft)))',\n 'group-not-data-[disabled=true]/nav-item:group-hover/nav-item:bg-(--nav-item-pill-hover-bg,var(--nav-item-hover-bg,var(--color-neutral-muted)))',\n 'group-not-data-[disabled=true]/nav-item:group-data-[active=true]/nav-item:group-hover/nav-item:bg-(--nav-item-pill-active-bg,var(--nav-item-active-bg,var(--color-neutral-soft)))'\n ]\n },\n // Icon only; the label is screen-reader text and a tooltip.\n icon: {\n navItem: 'size-11 min-h-11 justify-center rounded-lg px-0 py-0',\n navItemIcon: 'size-5',\n navItemLabel: 'sr-only'\n },\n // A row of a rail folder's `Dropdown` menu: the menu item draws the\n // row, the item only its icon, label and badge.\n menu: {\n navItemIcon: 'size-5'\n }\n },\n // The current page, in a rail folder's menu.\n current: {\n true: { navItemLabel: 'font-medium text-neutral-strong' }\n },\n // The visible text is the short label, so the full label is for\n // screen readers only.\n shortLabel: {\n true: { navItemLabel: 'sr-only' }\n },\n badgePlacement: {\n // At the icon's top-end corner.\n icon: { navItemBadge: 'absolute -top-1 -end-1' },\n end: { navItemBadge: 'ms-auto' },\n // At the end of an inline row with an icon; on the icon in the rail.\n rail: { navItemBadge: railBadge }\n },\n // A plain dot with no text (the More tab's \"something inside has a\n // badge\" marker).\n badgeDot: {\n true: { navItemBadge: 'size-2 min-w-2 p-0' }\n }\n },\n compoundVariants: [\n // The dot is smaller than the pill, so it sits closer to the corner.\n {\n badgeDot: true,\n badgePlacement: 'icon',\n class: { navItemBadge: '-top-0.5 -end-0.5' }\n },\n {\n badgeDot: true,\n badgePlacement: 'rail',\n class: {\n navItemBadge: [\n 'group-data-[collapsed=true]/sidebar:start-[calc((var(--sidebar-rail,4rem)_-_2*var(--sidebar-gutter,0.5rem)_-_1.25rem)/2_+_1.375rem)]',\n 'group-data-[collapsed=true]/sidebar:top-[calc(50%_-_0.75rem)]'\n ]\n }\n }\n ],\n defaultVariants: {\n layout: 'inline'\n }\n});\n\nexport { navItem };\nexport type NavItemSlots = keyof ReturnType<typeof navItem>;\nexport type NavItemVariants = VariantProps<typeof navItem>;\n","import { tv } from '../tw';\nimport type { VariantProps } from '../tw';\n\n/**\n * The mobile bottom tab bar. Slot names equal the kebab-cased `data-part`\n * each component renders.\n *\n * Standalone, the bar is fixed to the bottom of the viewport. There is no\n * z-index here on purpose; `AppLayout` positions it and layers it.\n */\nconst bottomNav = tv({\n slots: {\n // Class names are literal strings so Tailwind can see them.\n bottomNav: [\n 'fixed inset-x-0 bottom-0 box-border flex items-center justify-around',\n 'border-t border-neutral-muted bg-surface-app',\n 'min-h-[calc(3.75rem+var(--bottomnav-safe-area,env(safe-area-inset-bottom,0px)))]',\n 'pb-[var(--bottomnav-safe-area,env(safe-area-inset-bottom,0px))]'\n ],\n // `BottomNav.More`: the copy of its block that is always rendered, out\n // of sight, so its items can report active and badge state while the\n // sheet is closed. `hidden` backs up the `hidden` attribute.\n bottomNavMoreRegistry: 'hidden',\n // The More sheet, merged into the bottom `Drawer`'s base: as tall as its\n // items, up to 80% of the viewport.\n bottomNavMoreSheet: 'h-auto max-h-[80dvh]',\n // The sheet's scrolling body, merged into the `Drawer`'s. The bottom\n // padding is the safe-area inset alone, like the bar's.\n bottomNavMoreBody: [\n 'px-2 pt-6',\n 'pb-[var(--bottomnav-safe-area,env(safe-area-inset-bottom,0px))]'\n ],\n // The `nav` inside the sheet that holds its items.\n bottomNavMoreNav: 'flex flex-col gap-0.5 pb-2'\n }\n});\n\nexport { bottomNav };\nexport type BottomNavSlots = keyof ReturnType<typeof bottomNav>;\nexport type BottomNavVariants = VariantProps<typeof bottomNav>;\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 separated: {\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 soft: {\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: 'separated',\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 color.\n // Without the exclusion this rule wins on specificity -- it carries an\n // extra `:hover` over the color'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 color: {\n neutral: {\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 color: '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 // color needs both or the active chip is unreadable.\n color: {\n neutral: {\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 color: 'neutral',\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 color only\n // has to state the background once, on `base`. The border is stated on\n // both `base` and `arrow` for every color 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 color 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 color 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 color: {\n neutral: {\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 color: 'neutral'\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 status-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 `@status` 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 status: {\n neutral: {},\n primary: {},\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 surface: {\n base: 'bg-surface-modal border-surface-overlay-mild',\n description: 'text-neutral-firm'\n },\n // The outer surface/border is status-independent — every `soft`\n // compound variant below borrows the same neutral surface `surface`\n // uses (see the comment above the `soft` compound variants), so it\n // lives here once instead of repeating in each of them.\n soft: {\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 // surface: neutral surface, colour carried by the icon and title.\n // `default` status has no accent — icon and title stay neutral, same\n // `firm` level the other statuses use for their accent text.\n {\n variant: 'surface',\n status: 'neutral',\n class: { icon: 'text-neutral-firm', title: 'text-neutral-firm' }\n },\n {\n variant: 'surface',\n status: 'primary',\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: 'surface',\n status: '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: 'surface',\n status: 'warning',\n class: { icon: 'text-warning-bolder', title: 'text-warning-bolder' }\n },\n {\n variant: 'surface',\n status: 'danger',\n class: { icon: 'text-danger-firm', title: 'text-danger-firm' }\n },\n\n // soft: an opaque outer surface (so the floating card never lets page\n // content show through) with the translucent `{status}-soft` tint and its\n // `on-*` contrast ink applied to the *inner* element, which composites\n // over that opaque surface. The outer picks up the `surface` variant's\n // neutral surface/border instead of a colour-matched one, so it borrows\n // that treatment rather than inventing a new one.\n {\n variant: 'soft',\n status: 'neutral',\n class: {\n inner: 'bg-neutral-soft',\n icon: 'text-on-neutral-soft',\n title: 'text-on-neutral-soft'\n }\n },\n {\n variant: 'soft',\n status: 'primary',\n class: {\n inner: 'bg-primary-soft',\n icon: 'text-on-primary-soft',\n title: 'text-on-primary-soft'\n }\n },\n {\n variant: 'soft',\n status: '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: 'soft',\n status: '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: 'soft',\n status: '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-{status}` 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 `@status` on <Spinner> drives its\n // arc via `fill-{status}`, the exact same color as this variant's own\n // `bg-{status}` 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 status: 'neutral',\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 status: 'primary',\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 status: '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 status: '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 status: '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 status: 'neutral',\n variant: 'surface',\n hasDescription: false,\n stackPlacement: 'none'\n }\n});\n\nexport { notificationCard };\n","import { tv, type VariantProps } from '../../tw';\nimport { focusVisibleRing, focusVisibleWithinRing } from '../shared';\n\n/**\n * A note on the colour levels used for text and borders below.\n *\n * The `soft` level is a *translucent* fill (10-25% alpha) -- it exists to tint\n * a surface, and composites to ~1.1-1.5:1 against whatever is behind it. Used\n * as a border or a text colour it is effectively invisible, which is what the\n * invalid field state used to be in dark mode. Borders and rings here take an\n * opaque level instead, and the translucent-halo job is left to `muted`, which\n * is what `ring-focus` (`--color-primary-muted`) already resolves to.\n *\n * For text, the `DEFAULT` level of the tint-shaped categories (`secondary`,\n * `tertiary`, `success`, `warning`) is a light fill colour, not an ink: in\n * light mode it lands at 1.3-2.6:1, well under AA. `alert.ts` hit the same\n * thing first and settled on `bolder` for success/warning, `firm` for danger\n * and `neutral`, and plain `DEFAULT` for primary; the levels below match it so\n * that the same status reads the same weight in an Alert and in form feedback.\n *\n * Two known failures are deliberately left alone, because changing either one\n * restyles every field in the library and is a design decision rather than a\n * bug:\n * - the resting `border-neutral-soft` is 1.37:1 in light mode, against the\n * 3:1 WCAG 1.4.11 asks of a control's visual boundary (and in light mode\n * `surface-input` equals `surface-app`, so the border is the only boundary);\n * - `placeholder-neutral` is 3.13:1 in light mode, against AA's 4.5:1.\n * `tests/unit/forms/forms-contrast-test.ts` in test-app asserts everything\n * else, and documents these two as the deliberate gaps.\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-firm'\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. `text-neutral` (the DEFAULT level) is\n // only ~3:1 on a light surface; `firm` clears AA in both modes, and is the\n // same level `alert.ts` uses for its description.\n base: 'text-neutral-firm 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 // `status`, not `color`: this value also decides whether the message is\n // announced assertively. See `isError` in form-feedback.gts.\n status: {\n // Levels, not bare categories: see the note above `label`. Each one is\n // the lightest level that clears AA against both `surface-app` and\n // `surface-card` in light *and* dark mode.\n primary: 'text-primary',\n secondary: 'text-secondary-bolder',\n tertiary: 'text-tertiary-strong',\n success: 'text-success-bolder',\n danger: 'text-danger-firm',\n warning: 'text-warning-bolder'\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\n/**\n * The field shell for a segmented date field.\n *\n * It goes on the container rather than on the segment row, so the clear and\n * calendar buttons sit inside the border with the segments. Focus lands on an\n * individual segment, never on the container, so the ring is `focus-within`;\n * and `role=\"group\"` supports neither `aria-invalid` nor `aria-readonly`, so\n * the invalid and disabled states are read from data attributes the host\n * writes instead of from ARIA.\n */\nconst segmentedFieldShell = [\n 'relative flex items-center w-full',\n ...fieldShell,\n 'font-body text-base leading-tight text-neutral-strong',\n 'focus-within:ring-3',\n 'focus-within:ring-focus',\n 'focus-within:border-primary',\n 'data-[invalid=true]:border-danger',\n 'data-[invalid=true]:focus-within:ring-danger-muted',\n 'data-[disabled=true]:border-neutral-subtle',\n 'data-[disabled=true]:text-neutral-soft'\n];\n\n/**\n * The segment row, shared by `dateInput` and `datePicker`.\n *\n * Spread into both rather than duplicated: the tv() note below excuses\n * restating slots *inherited from `input`*, which is a typing constraint --\n * these are new strings, and keeping two copies had already let `gap-0` land\n * in one and not the other.\n */\nconst segmentRowSlots = {\n // `tabular-nums` stops the field twitching as digits change width;\n // `select-none` keeps a drag across segments from starting a text selection\n // that spans them.\n group: 'flex items-center flex-1 min-w-0 gap-0 tabular-nums select-none',\n segment: [\n 'rounded-xs px-px outline-none caret-transparent',\n 'focus:bg-primary focus:text-on-primary',\n 'data-[placeholder=true]:text-neutral',\n // The focused segment is filled with `primary`, so a placeholder sitting\n // in it has to take the contrast colour too. Stated as a combined variant\n // rather than relying on source order: both rules are one class deep\n // otherwise, and whichever Tailwind emits last would win.\n 'focus:data-[placeholder=true]:text-on-primary',\n 'data-[disabled=true]:pointer-events-none'\n ],\n // The separator before the hour is the one between the date and the time:\n // wider, so `01/20/2026 09:30` doesn't read as one run of digits.\n literal: 'text-neutral-soft px-px [&:has(+[data-type=hour])]:px-2'\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',\n 'disabled:border-neutral-subtle disabled:text-neutral-soft',\n 'aria-invalid:border-danger',\n // The invalid counterpart of `ring-focus`, which is `primary-muted`.\n 'aria-invalid:focus:ring-danger-muted'\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 ring-3 ring-focus' }\n },\n // Mirrors `input`'s `aria-invalid:focus:ring-danger-muted`: a focused\n // invalid cell must ring red, not keep the neutral focus ring.\n isInvalid: {\n true: { cell: 'border-danger ring-danger-muted' }\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 // The listbox scrolls itself, so the content below it (the display\n // limit's note) stays in view rather than being scrolled over.\n listbox: 'scroll-py-6 max-h-64 overflow-y-auto',\n icon: 'w-5 h-5',\n clearButton: 'pointer-events-auto',\n // The button trigger cannot carry `aria-invalid` (the button role does not\n // support it), so the component sets `data-invalid` and the input slot's\n // `aria-invalid:` treatment is restated against that.\n input: [\n '[button]:cursor-default',\n 'data-[invalid=true]:border-danger',\n 'data-[invalid=true]:focus:ring-danger-muted'\n ],\n emptyContent: 'p-2',\n displayLimitContent: 'p-2 text-body-2xs text-neutral-firm',\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',\n 'data-[invalid=true]:border-danger',\n 'data-[invalid=true]:focus-within:ring-danger-muted',\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 // Whether any key is selected. In chips mode an empty field shows the\n // placeholder in the bare trigger, which has to be offset to where a\n // single select's placeholder sits (see the compound variants below).\n hasSelection: {\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 // That padding is tight so chips fit, which leaves an empty field's\n // placeholder closer to the border than a single select's (`p-2`/`p-3`/\n // `p-4` on `input`). The trigger makes up the difference while nothing is\n // selected. Listed before the start-content rules so their `ps-0` wins:\n // with start content `chipsField` already reserves the same `ps-8` a\n // single select's input does.\n {\n hasChips: true,\n hasSelection: false,\n size: 'sm',\n class: { input: 'ps-1' }\n },\n {\n hasChips: true,\n hasSelection: false,\n size: 'md',\n class: { input: 'ps-1.5' }\n },\n {\n hasChips: true,\n hasSelection: false,\n size: 'lg',\n class: { input: 'ps-2' }\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. With no chips there is no last chip to\n // clear, and the placeholder offset above positions the text instead.\n {\n hasChips: true,\n isFilterable: true,\n class: { input: 'min-w-16' }\n },\n {\n hasChips: true,\n isFilterable: true,\n hasSelection: true,\n class: { input: 'ms-1' }\n }\n ],\n defaultVariants: {\n size: 'md'\n }\n});\n\n// Extends `input` directly rather than `select`, even though the two look\n// alike. tv() loses slot types across a two-level extend, and\n// input -> select -> datePicker would be that second level; the shared\n// appearance comes from the common base instead.\nconst datePicker = tv({\n extend: input,\n slots: {\n base: [],\n placeholder: 'text-neutral',\n input: 'cursor-default text-left',\n // Restated from `input` rather than inherited: tv() drops inherited slot\n // names from the variant type, and `isSegmented` below has to target\n // both of these.\n innerContainer: 'relative flex',\n endContent: 'absolute inset-y-0 right-0 flex items-center',\n // The calendar sits in the popover, which supplies its own surface and\n // padding, so this only reserves room around the grid.\n calendar: 'p-2',\n // `border-default` is not a generated utility -- there is no `default`\n // semantic level. `border-neutral-soft` is the same divider treatment\n // `command.ts` uses to separate a footer from the content above it.\n // `w-0 min-w-full` keeps the footer out of the popover's intrinsic width:\n // the popover is sized `auto`, so it takes the width of its widest child,\n // and a row of preset buttons would otherwise stretch it well past the\n // calendar. Contributing zero and then filling the resolved width lets the\n // calendar decide how wide the popover is, and the buttons wrap within it.\n footer: [\n 'flex flex-wrap items-center gap-2',\n 'w-0 min-w-full',\n 'border-t border-neutral-soft p-2'\n ],\n icon: 'w-5 h-5',\n clearButton: 'pointer-events-auto',\n ...segmentRowSlots,\n // Sits between the two groups of a `@mode=\"range\"` field. `DatePicker`\n // renders it, not `SegmentGroup` -- it separates groups rather than\n // living inside one.\n separator: 'text-neutral px-1',\n calendarButton: 'pointer-events-auto',\n // The popover's body: the calendar, and beside it the time columns of an\n // `hour` or `minute` granularity. Stacked on narrow screens, where a\n // calendar and two columns side by side no longer fit.\n panels: 'flex flex-col sm:flex-row',\n // The columns must not make the popover taller than the calendar: they\n // scroll within its height instead. That height is only known once the\n // calendar is laid out, so the columns are taken out of flow\n // (`timeColumns` is absolute) and this box, which stretches to the row,\n // reserves their width: `--time-columns` (set by the component) of them,\n // 3.5rem each, with the gaps and padding between.\n time: [\n 'relative shrink-0',\n 'border-t border-neutral-soft sm:border-t-0 sm:border-s',\n 'sm:w-[calc(var(--time-columns)*3.75rem+0.75rem)]'\n ],\n timeColumns:\n 'flex justify-center gap-1 p-2 h-56 sm:absolute sm:inset-0 sm:h-auto',\n timeColumn: 'flex flex-col w-14 min-h-0',\n // The column's accessible name as well as its heading, so it takes\n // `neutral-firm` (AA) rather than the weekday row's lighter `neutral`.\n timeColumnLabel:\n 'h-8 shrink-0 text-caption-sm text-neutral-firm text-center leading-8 truncate',\n // Positioned so the options measure their `offsetTop` against the list:\n // the component scrolls the selected option into view itself (see\n // `revealWithin`). The padding keeps the focus ring inside the clip.\n timeList: [\n 'relative flex flex-col gap-0.5 flex-1 min-h-0 p-1',\n 'overflow-y-auto overscroll-contain',\n '[scrollbar-width:thin]'\n ],\n timeOption: [\n ...focusVisibleRing,\n 'shrink-0 h-9 rounded-md',\n 'text-body-sm text-neutral-strong tabular-nums',\n 'cursor-pointer select-none',\n 'transition-colors duration-200 motion-reduce:transition-none',\n // Excluded from the selected option, which gets its own hover per\n // color -- see the calendar's `day` slot for why.\n 'not-data-[selected=true]:hover:bg-surface-overlay-soft',\n // A read-only column moves focus but picks nothing.\n 'in-aria-readonly:cursor-default in-aria-readonly:hover:bg-transparent'\n ]\n },\n variants: {\n // The selected time option takes the calendar's selected-day fill, so\n // the day and the time picked read as one choice.\n color: {\n neutral: {\n timeOption:\n 'data-[selected=true]:bg-neutral-strong data-[selected=true]:text-on-neutral-strong data-[selected=true]:hover:bg-neutral-bolder'\n },\n primary: {\n timeOption:\n 'data-[selected=true]:bg-primary data-[selected=true]:text-on-primary data-[selected=true]:hover:bg-primary-firm'\n },\n secondary: {\n timeOption:\n 'data-[selected=true]:bg-secondary data-[selected=true]:text-on-secondary data-[selected=true]:hover:bg-secondary-firm'\n },\n tertiary: {\n timeOption:\n 'data-[selected=true]:bg-tertiary data-[selected=true]:text-on-tertiary data-[selected=true]:hover:bg-tertiary-firm'\n },\n success: {\n timeOption:\n 'data-[selected=true]:bg-success data-[selected=true]:text-on-success data-[selected=true]:hover:bg-success-firm'\n },\n warning: {\n timeOption:\n 'data-[selected=true]:bg-warning data-[selected=true]:text-on-warning data-[selected=true]:hover:bg-warning-firm'\n },\n danger: {\n timeOption:\n 'data-[selected=true]:bg-danger data-[selected=true]:text-on-danger data-[selected=true]:hover:bg-danger-firm'\n }\n },\n // The trigger is a `<button>` whose text *is* the value, so with neither a\n // value nor a `@placeholder` it has no content at all and collapses to its\n // padding -- noticeably shorter than every other field on the form.\n // (Select hit the same thing once chips took over its trigger's content.)\n //\n // The floor has to be stated per size, and as a border-box total: Tailwind\n // sets `box-sizing: border-box`, so a bare `min-h-5` is already satisfied\n // by the padding alone and does nothing. Each value is one line of\n // `text-base`/`leading-tight` (1.25rem) plus that size's vertical padding\n // plus the 1px borders -- i.e. exactly the height the field has once it\n // holds a single line of text.\n size: {\n sm: { input: 'min-h-[calc(1.25rem+1rem+2px)]' },\n md: { input: 'min-h-[calc(1.25rem+1.5rem+2px)]' },\n lg: { input: 'min-h-[calc(1.25rem+2rem+2px)]' }\n },\n // The segmented trigger renders no `<button>`, so nothing carries the\n // field shell. It moves onto the container, which is also what puts the\n // clear and calendar buttons inside the border rather than beyond it.\n isSegmented: {\n true: {\n innerContainer: segmentedFieldShell,\n // With no trigger underneath to click through to, the cluster sits in\n // flow beside the segments instead of floating over the field's right\n // edge.\n // `ms-auto` rather than relying on the group's `flex-1` to push it:\n // in range mode the groups no longer grow (see `isRange`), so without\n // this the cluster would sit tight against the end group instead of\n // at the field's right edge.\n endContent:\n 'static top-auto bottom-auto right-auto p-0 gap-1 shrink-0 ms-auto'\n }\n },\n // Two groups sharing one shell must not each claim half of it -- growing\n // would strand the separator in the middle of the field with a gap of\n // dead space on either side, instead of reading as one `start - end`\n // phrase. The end content takes the slack instead.\n // `flex-none`, not `grow-0`: the group's `flex-1` is `flex: 1 1 0%`, so\n // removing only the grow leaves a 0% basis with shrink still on and the\n // group collapses to zero width with its segments overflowing it.\n isRange: {\n true: { group: 'flex-none' }\n }\n },\n compoundVariants: [\n // Padding follows the shell onto the container, for the same reason.\n { isSegmented: true, size: 'sm', class: { innerContainer: 'p-2' } },\n { isSegmented: true, size: 'md', class: { innerContainer: 'p-3' } },\n { isSegmented: true, size: 'lg', class: { innerContainer: 'p-4' } }\n ],\n defaultVariants: {\n size: 'md',\n color: 'primary'\n }\n});\n\n// Extends `input` directly, not `datePicker`: tv() loses slot types across a\n// two-level extend, which is why `datePicker` extends `input` too.\nconst dateInput = tv({\n extend: input,\n slots: {\n base: [],\n innerContainer: segmentedFieldShell,\n ...segmentRowSlots,\n endContent: 'flex items-center gap-1 shrink-0',\n icon: 'w-5 h-5',\n clearButton: 'pointer-events-auto',\n calendarButton: 'pointer-events-auto'\n },\n variants: {\n // `input`'s size variant pads the `input` slot, which a segmented field\n // does not render -- the padding has to move onto the container that\n // actually draws the shell.\n size: {\n sm: { innerContainer: 'p-2' },\n md: { innerContainer: 'p-3' },\n lg: { innerContainer: 'p-4' }\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 // The listbox scrolls itself, so the content below it (the display\n // limit's note) stays in view rather than being scrolled over.\n listbox: 'scroll-py-6 max-h-64 overflow-y-auto',\n icon: 'w-5 h-5',\n clearButton: 'pointer-events-auto',\n input: 'cursor-text',\n emptyContent: 'p-2',\n displayLimitContent: 'p-2 text-body-2xs text-neutral-firm'\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 color: {\n neutral: {\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 color: '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>;\nexport type DatePickerVariants = VariantProps<typeof datePicker>;\nexport type DatePickerSlots = keyof ReturnType<typeof datePicker>;\nexport type DateInputVariants = VariantProps<typeof dateInput>;\nexport type DateInputSlots = keyof ReturnType<typeof dateInput>;\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 datePicker,\n dateInput\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","status","neutral","primary","success","warning","danger","variant","surface","soft","solid","layout","inline","banner","hasDescription","true","false","hasCloseButton","compoundVariants","class","defaultVariants","avatar","img","name","shape","square","circle","size","xs","sm","md","lg","xl","fit","cover","contain","isBordered","badge","value","unit","dot","outline","color","secondary","tertiary","breadcrumbs","list","item","link","separator","ellipsis","underline","always","hover","none","baseButton","isInGroup","button","extend","subtle","ghost","plain","custom","isLoading","toggleButton","isSelected","buttonGroup","buttonSpinner","chip","isDisabled","progressBar","label","progress","isIndeterminate","radius","full","command","inputWrapper","inputIcon","input","empty","loading","footer","footerHint","kbd","commandDialog","panel","key","inherit","isMerged","listbox","listboxItem","descriptionWrapper","selectedIcon","submenuIndicator","isActive","withDivider","listboxGroup","divider","dropdownContent","popover","trigger","auto","orientation","horizontal","vertical","sketch","externalLink","iconPlacement","start","end","skeleton","text","rounded","rect","animation","shimmer","pulse","spinner","table","wrapper","toolbar","thead","tbody","tfoot","tr","th","sortButton","sortIcon","columnVisibilityButton","columnVisibilityIcon","td","skeletonRow","loadingColor","default","selectionColor","fixed","striped","isSticky","stickyPosition","left","right","top","bottom","isScrollable","hasStickyHeader","isInStickyRow","segmentedControl","indicator","isFullWidth","hasSeparators","stepper","step","check","connector","probe","triggerLabel","chevron","summaryText","summaryTitle","mark","invalidText","summary","labelPosition","collapse","menu","collapsed","tabs","tab","layoutColor","tintedColors","navTint","navSolid","frameGradientStops","sidebarWidths","attached","expanded","sidebar","token","rail","inset","sidebarWidthVariants","flatMap","sidebarSize","sidebarColumn","edgeToEdge","card","bar","edgeToEdgeVariants","breakpoint","e","mainCard","bottomNav","navbarPlacement","main","navbar","iconButton","perColor","entry","Object","fromEntries","entries","map","classes","appLayout","mobileSidebar","drawerCloseButton","sidebarHeader","sidebarBody","sidebarFooter","sidebarGroup","sidebarGroupLabel","sidebarToggle","menuToggle","pageHeader","pageHeaderContent","pageHeaderTitle","pageHeaderDescription","pageHeaderActions","aside","mobileAside","asideToggle","skipLink","frame","shown","bottomNavRow","collapsible","offcanvas","partColor","sidebarSurface","navbarSurface","frameGradient","cardSurface","translucent","sidebarSide","inDrawer","standalone","scrollMode","page","railInset","railBadge","navRow","navItemRow","navItem","navItemIcon","navItemLabel","navItemShortLabel","navItemBadge","navItemBadgeLabel","navFolder","navFolderTrigger","navFolderChevron","navFolderPanel","stacked","current","shortLabel","badgePlacement","badgeDot","bottomNavMoreRegistry","bottomNavMoreSheet","bottomNavMoreBody","bottomNavMoreNav","accordion","heading","startContent","titleWrapper","subtitle","contentBody","separated","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","prev","next","tooltip","arrow","notificationsContainer","stack","placement","notificationCard","customActions","customActionButton","stackPlacement","asterisk","formDescription","formFeedback","fieldShell","segmentedFieldShell","segmentRowSlots","group","segment","literal","innerContainer","endContent","hasStartContent","hasEndContent","hasChips","startContentPointerEvents","endContentPointerEvents","textarea","inputOtp","container","cellChar","caret","isInvalid","checkboxRadioBase","labelContainer","checkboxRadioGroupBase","optionsContainer","checkbox","radio","radioGroup","checkboxGroup","select","placeholder","clearButton","emptyContent","displayLimitContent","chipsField","chipsContainer","isFilterable","hasSelection","datePicker","calendarButton","panels","time","timeColumns","timeColumn","timeColumnLabel","timeList","timeOption","isSegmented","isRange","dateInput","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;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAME,sBAAsB,GAAG,CACpC,gBAAgB,EAChB,wBAAwB,EACxB,0BAA0B,EAC1B,8BAA8B,EAC9B,iCAAiC,EACjC,0CAA0C,CAC3C;;ACpCD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,cAAc,GAAG;AACrBC,EAAAA,IAAI,EAAE,8CAA8C;AACpDC,EAAAA,WAAW,EAAE;AACf,CAAC;AAED,MAAMC,KAAK,GAAGC,EAAE,CAAC;AACfC,EAAAA,KAAK,EAAE;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACAJ,IAAAA,IAAI,EAAE,0CAA0C;AAChD;AACA;AACA;AACA;AACA;AACAK,IAAAA,KAAK,EAAE,wCAAwC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACAC,IAAAA,IAAI,EAAE,0EAA0E;AAChFC,IAAAA,OAAO,EAAE,kCAAkC;AAC3CC,IAAAA,KAAK,EAAE,0BAA0B;AACjCP,IAAAA,WAAW,EAAE,eAAe;AAC5BQ,IAAAA,OAAO,EAAE,0DAA0D;AACnEC,IAAAA,WAAW,EAAEb;GACd;AAEDc,EAAAA,QAAQ,EAAE;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACAC,IAAAA,MAAM,EAAE;MACNC,OAAO,EAAE,EAAE;MACXC,OAAO,EA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