@ngrok/mantle 0.1.22 → 0.1.24

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 (46) hide show
  1. package/dist/badge.js +1 -1
  2. package/dist/badge.js.map +1 -1
  3. package/dist/button.js +1 -1
  4. package/dist/calendar.js +1 -1
  5. package/dist/calendar.js.map +1 -1
  6. package/dist/{chunk-UGQFL5HO.js → chunk-JBZQZ43T.js} +2 -2
  7. package/dist/chunk-JBZQZ43T.js.map +1 -0
  8. package/dist/chunk-MFBS3YLE.js +2 -0
  9. package/dist/chunk-MFBS3YLE.js.map +1 -0
  10. package/dist/chunk-MODFDUXR.js +2 -0
  11. package/dist/chunk-MODFDUXR.js.map +1 -0
  12. package/dist/chunk-U2AR6K4J.js +2 -0
  13. package/dist/chunk-U2AR6K4J.js.map +1 -0
  14. package/dist/dialog.js +1 -1
  15. package/dist/dialog.js.map +1 -1
  16. package/dist/dropdown-menu.js +1 -1
  17. package/dist/dropdown-menu.js.map +1 -1
  18. package/dist/input.js +1 -1
  19. package/dist/label.d.ts +7 -0
  20. package/dist/label.js +2 -0
  21. package/dist/label.js.map +1 -0
  22. package/dist/radio-group.js +1 -1
  23. package/dist/select.js +1 -1
  24. package/dist/select.js.map +1 -1
  25. package/dist/sheet.js +1 -1
  26. package/dist/sheet.js.map +1 -1
  27. package/dist/switch.d.ts +12 -0
  28. package/dist/switch.js +2 -0
  29. package/dist/switch.js.map +1 -0
  30. package/dist/tabs.d.ts +12 -0
  31. package/dist/tabs.js +2 -0
  32. package/dist/tabs.js.map +1 -0
  33. package/dist/tailwind-preset.cjs +1 -1
  34. package/dist/tailwind-preset.cjs.map +1 -1
  35. package/dist/tailwind-preset.d.cts +4 -2
  36. package/dist/tailwind-preset.d.ts +4 -2
  37. package/dist/tailwind-preset.js +1 -1
  38. package/dist/tailwind-preset.js.map +1 -1
  39. package/dist/types.d.ts +9 -0
  40. package/dist/types.js +1 -0
  41. package/package.json +28 -13
  42. package/dist/chunk-CACAUALH.js +0 -2
  43. package/dist/chunk-CACAUALH.js.map +0 -1
  44. package/dist/chunk-RSEHGHQT.js +0 -2
  45. package/dist/chunk-RSEHGHQT.js.map +0 -1
  46. package/dist/chunk-UGQFL5HO.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import i from"tailwindcss-animate";import o from"tailwindcss/defaultTheme";import c from"tailwindcss/plugin";import n from"tailwindcss/plugin";var s=n(a=>{a.addVariant("aria-enabled",({modifySelectors:e,separator:h})=>{e(({className:l})=>`:not([aria-disabled]).${a.e(`aria-enabled${h}${l}`)}`)})});import t from"tailwindcss/plugin";var v=t(a=>{a.addVariant("firefox",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"supports",params:"(-moz-appearance:none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`firefox${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})})});import u from"tailwindcss/plugin";var p=u(a=>{a.addVariant("pointer-coarse",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: coarse)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-coarse${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("pointer-fine",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: fine)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-fine${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("pointer-none",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-none${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("hover-hover",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(hover: hover)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`hover-hover${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("hover-none",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(hover: none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`hover-none${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})})});var d={inherit:"inherit",current:"currentColor",transparent:"transparent",white:"hsl(var(--white) / <alpha-value>)",black:"hsl(var(--black) / <alpha-value>)",gray:{50:"hsl(var(--gray-50) / <alpha-value>)",100:"hsl(var(--gray-100) / <alpha-value>)",200:"hsl(var(--gray-200) / <alpha-value>)",300:"hsl(var(--gray-300) / <alpha-value>)",400:"hsl(var(--gray-400) / <alpha-value>)",500:"hsl(var(--gray-500) / <alpha-value>)",600:"hsl(var(--gray-600) / <alpha-value>)",700:"hsl(var(--gray-700) / <alpha-value>)",800:"hsl(var(--gray-800) / <alpha-value>)",900:"hsl(var(--gray-900) / <alpha-value>)",950:"hsl(var(--gray-950) / <alpha-value>)"},red:{50:"hsl(var(--red-50) / <alpha-value>)",100:"hsl(var(--red-100) / <alpha-value>)",200:"hsl(var(--red-200) / <alpha-value>)",300:"hsl(var(--red-300) / <alpha-value>)",400:"hsl(var(--red-400) / <alpha-value>)",500:"hsl(var(--red-500) / <alpha-value>)",600:"hsl(var(--red-600) / <alpha-value>)",700:"hsl(var(--red-700) / <alpha-value>)",800:"hsl(var(--red-800) / <alpha-value>)",900:"hsl(var(--red-900) / <alpha-value>)",950:"hsl(var(--red-950) / <alpha-value>)"},orange:{50:"hsl(var(--orange-50) / <alpha-value>)",100:"hsl(var(--orange-100) / <alpha-value>)",200:"hsl(var(--orange-200) / <alpha-value>)",300:"hsl(var(--orange-300) / <alpha-value>)",400:"hsl(var(--orange-400) / <alpha-value>)",500:"hsl(var(--orange-500) / <alpha-value>)",600:"hsl(var(--orange-600) / <alpha-value>)",700:"hsl(var(--orange-700) / <alpha-value>)",800:"hsl(var(--orange-800) / <alpha-value>)",900:"hsl(var(--orange-900) / <alpha-value>)",950:"hsl(var(--orange-950) / <alpha-value>)"},amber:{50:"hsl(var(--amber-50) / <alpha-value>)",100:"hsl(var(--amber-100) / <alpha-value>)",200:"hsl(var(--amber-200) / <alpha-value>)",300:"hsl(var(--amber-300) / <alpha-value>)",400:"hsl(var(--amber-400) / <alpha-value>)",500:"hsl(var(--amber-500) / <alpha-value>)",600:"hsl(var(--amber-600) / <alpha-value>)",700:"hsl(var(--amber-700) / <alpha-value>)",800:"hsl(var(--amber-800) / <alpha-value>)",900:"hsl(var(--amber-900) / <alpha-value>)",950:"hsl(var(--amber-950) / <alpha-value>)"},yellow:{50:"hsl(var(--yellow-50) / <alpha-value>)",100:"hsl(var(--yellow-100) / <alpha-value>)",200:"hsl(var(--yellow-200) / <alpha-value>)",300:"hsl(var(--yellow-300) / <alpha-value>)",400:"hsl(var(--yellow-400) / <alpha-value>)",500:"hsl(var(--yellow-500) / <alpha-value>)",600:"hsl(var(--yellow-600) / <alpha-value>)",700:"hsl(var(--yellow-700) / <alpha-value>)",800:"hsl(var(--yellow-800) / <alpha-value>)",900:"hsl(var(--yellow-900) / <alpha-value>)",950:"hsl(var(--yellow-950) / <alpha-value>)"},lime:{50:"hsl(var(--lime-50) / <alpha-value>)",100:"hsl(var(--lime-100) / <alpha-value>)",200:"hsl(var(--lime-200) / <alpha-value>)",300:"hsl(var(--lime-300) / <alpha-value>)",400:"hsl(var(--lime-400) / <alpha-value>)",500:"hsl(var(--lime-500) / <alpha-value>)",600:"hsl(var(--lime-600) / <alpha-value>)",700:"hsl(var(--lime-700) / <alpha-value>)",800:"hsl(var(--lime-800) / <alpha-value>)",900:"hsl(var(--lime-900) / <alpha-value>)",950:"hsl(var(--lime-950) / <alpha-value>)"},green:{50:"hsl(var(--green-50) / <alpha-value>)",100:"hsl(var(--green-100) / <alpha-value>)",200:"hsl(var(--green-200) / <alpha-value>)",300:"hsl(var(--green-300) / <alpha-value>)",400:"hsl(var(--green-400) / <alpha-value>)",500:"hsl(var(--green-500) / <alpha-value>)",600:"hsl(var(--green-600) / <alpha-value>)",700:"hsl(var(--green-700) / <alpha-value>)",800:"hsl(var(--green-800) / <alpha-value>)",900:"hsl(var(--green-900) / <alpha-value>)",950:"hsl(var(--green-950) / <alpha-value>)"},emerald:{50:"hsl(var(--emerald-50) / <alpha-value>)",100:"hsl(var(--emerald-100) / <alpha-value>)",200:"hsl(var(--emerald-200) / <alpha-value>)",300:"hsl(var(--emerald-300) / <alpha-value>)",400:"hsl(var(--emerald-400) / <alpha-value>)",500:"hsl(var(--emerald-500) / <alpha-value>)",600:"hsl(var(--emerald-600) / <alpha-value>)",700:"hsl(var(--emerald-700) / <alpha-value>)",800:"hsl(var(--emerald-800) / <alpha-value>)",900:"hsl(var(--emerald-900) / <alpha-value>)",950:"hsl(var(--emerald-950) / <alpha-value>)"},teal:{50:"hsl(var(--teal-50) / <alpha-value>)",100:"hsl(var(--teal-100) / <alpha-value>)",200:"hsl(var(--teal-200) / <alpha-value>)",300:"hsl(var(--teal-300) / <alpha-value>)",400:"hsl(var(--teal-400) / <alpha-value>)",500:"hsl(var(--teal-500) / <alpha-value>)",600:"hsl(var(--teal-600) / <alpha-value>)",700:"hsl(var(--teal-700) / <alpha-value>)",800:"hsl(var(--teal-800) / <alpha-value>)",900:"hsl(var(--teal-900) / <alpha-value>)",950:"hsl(var(--teal-950) / <alpha-value>)"},cyan:{50:"hsl(var(--cyan-50) / <alpha-value>)",100:"hsl(var(--cyan-100) / <alpha-value>)",200:"hsl(var(--cyan-200) / <alpha-value>)",300:"hsl(var(--cyan-300) / <alpha-value>)",400:"hsl(var(--cyan-400) / <alpha-value>)",500:"hsl(var(--cyan-500) / <alpha-value>)",600:"hsl(var(--cyan-600) / <alpha-value>)",700:"hsl(var(--cyan-700) / <alpha-value>)",800:"hsl(var(--cyan-800) / <alpha-value>)",900:"hsl(var(--cyan-900) / <alpha-value>)",950:"hsl(var(--cyan-950) / <alpha-value>)"},sky:{50:"hsl(var(--sky-50) / <alpha-value>)",100:"hsl(var(--sky-100) / <alpha-value>)",200:"hsl(var(--sky-200) / <alpha-value>)",300:"hsl(var(--sky-300) / <alpha-value>)",400:"hsl(var(--sky-400) / <alpha-value>)",500:"hsl(var(--sky-500) / <alpha-value>)",600:"hsl(var(--sky-600) / <alpha-value>)",700:"hsl(var(--sky-700) / <alpha-value>)",800:"hsl(var(--sky-800) / <alpha-value>)",900:"hsl(var(--sky-900) / <alpha-value>)",950:"hsl(var(--sky-950) / <alpha-value>)"},blue:{50:"hsl(var(--blue-50) / <alpha-value>)",100:"hsl(var(--blue-100) / <alpha-value>)",200:"hsl(var(--blue-200) / <alpha-value>)",300:"hsl(var(--blue-300) / <alpha-value>)",400:"hsl(var(--blue-400) / <alpha-value>)",500:"hsl(var(--blue-500) / <alpha-value>)",600:"hsl(var(--blue-600) / <alpha-value>)",700:"hsl(var(--blue-700) / <alpha-value>)",800:"hsl(var(--blue-800) / <alpha-value>)",900:"hsl(var(--blue-900) / <alpha-value>)",950:"hsl(var(--blue-950) / <alpha-value>)"},indigo:{50:"hsl(var(--indigo-50) / <alpha-value>)",100:"hsl(var(--indigo-100) / <alpha-value>)",200:"hsl(var(--indigo-200) / <alpha-value>)",300:"hsl(var(--indigo-300) / <alpha-value>)",400:"hsl(var(--indigo-400) / <alpha-value>)",500:"hsl(var(--indigo-500) / <alpha-value>)",600:"hsl(var(--indigo-600) / <alpha-value>)",700:"hsl(var(--indigo-700) / <alpha-value>)",800:"hsl(var(--indigo-800) / <alpha-value>)",900:"hsl(var(--indigo-900) / <alpha-value>)",950:"hsl(var(--indigo-950) / <alpha-value>)"},violet:{50:"hsl(var(--violet-50) / <alpha-value>)",100:"hsl(var(--violet-100) / <alpha-value>)",200:"hsl(var(--violet-200) / <alpha-value>)",300:"hsl(var(--violet-300) / <alpha-value>)",400:"hsl(var(--violet-400) / <alpha-value>)",500:"hsl(var(--violet-500) / <alpha-value>)",600:"hsl(var(--violet-600) / <alpha-value>)",700:"hsl(var(--violet-700) / <alpha-value>)",800:"hsl(var(--violet-800) / <alpha-value>)",900:"hsl(var(--violet-900) / <alpha-value>)",950:"hsl(var(--violet-950) / <alpha-value>)"},purple:{50:"hsl(var(--purple-50) / <alpha-value>)",100:"hsl(var(--purple-100) / <alpha-value>)",200:"hsl(var(--purple-200) / <alpha-value>)",300:"hsl(var(--purple-300) / <alpha-value>)",400:"hsl(var(--purple-400) / <alpha-value>)",500:"hsl(var(--purple-500) / <alpha-value>)",600:"hsl(var(--purple-600) / <alpha-value>)",700:"hsl(var(--purple-700) / <alpha-value>)",800:"hsl(var(--purple-800) / <alpha-value>)",900:"hsl(var(--purple-900) / <alpha-value>)",950:"hsl(var(--purple-950) / <alpha-value>)"},fuchsia:{50:"hsl(var(--fuchsia-50) / <alpha-value>)",100:"hsl(var(--fuchsia-100) / <alpha-value>)",200:"hsl(var(--fuchsia-200) / <alpha-value>)",300:"hsl(var(--fuchsia-300) / <alpha-value>)",400:"hsl(var(--fuchsia-400) / <alpha-value>)",500:"hsl(var(--fuchsia-500) / <alpha-value>)",600:"hsl(var(--fuchsia-600) / <alpha-value>)",700:"hsl(var(--fuchsia-700) / <alpha-value>)",800:"hsl(var(--fuchsia-800) / <alpha-value>)",900:"hsl(var(--fuchsia-900) / <alpha-value>)",950:"hsl(var(--fuchsia-950) / <alpha-value>)"},pink:{50:"hsl(var(--pink-50) / <alpha-value>)",100:"hsl(var(--pink-100) / <alpha-value>)",200:"hsl(var(--pink-200) / <alpha-value>)",300:"hsl(var(--pink-300) / <alpha-value>)",400:"hsl(var(--pink-400) / <alpha-value>)",500:"hsl(var(--pink-500) / <alpha-value>)",600:"hsl(var(--pink-600) / <alpha-value>)",700:"hsl(var(--pink-700) / <alpha-value>)",800:"hsl(var(--pink-800) / <alpha-value>)",900:"hsl(var(--pink-900) / <alpha-value>)",950:"hsl(var(--pink-950) / <alpha-value>)"},rose:{50:"hsl(var(--rose-50) / <alpha-value>)",100:"hsl(var(--rose-100) / <alpha-value>)",200:"hsl(var(--rose-200) / <alpha-value>)",300:"hsl(var(--rose-300) / <alpha-value>)",400:"hsl(var(--rose-400) / <alpha-value>)",500:"hsl(var(--rose-500) / <alpha-value>)",600:"hsl(var(--rose-600) / <alpha-value>)",700:"hsl(var(--rose-700) / <alpha-value>)",800:"hsl(var(--rose-800) / <alpha-value>)",900:"hsl(var(--rose-900) / <alpha-value>)",950:"hsl(var(--rose-950) / <alpha-value>)"},neutral:{50:"hsl(var(--neutral-50) / <alpha-value>)",100:"hsl(var(--neutral-100) / <alpha-value>)",200:"hsl(var(--neutral-200) / <alpha-value>)",300:"hsl(var(--neutral-300) / <alpha-value>)",400:"hsl(var(--neutral-400) / <alpha-value>)",500:"hsl(var(--neutral-500) / <alpha-value>)",600:"hsl(var(--neutral-600) / <alpha-value>)",700:"hsl(var(--neutral-700) / <alpha-value>)",800:"hsl(var(--neutral-800) / <alpha-value>)",900:"hsl(var(--neutral-900) / <alpha-value>)",950:"hsl(var(--neutral-950) / <alpha-value>)"},accent:{50:"hsl(var(--accent-50) / <alpha-value>)",100:"hsl(var(--accent-100) / <alpha-value>)",200:"hsl(var(--accent-200) / <alpha-value>)",300:"hsl(var(--accent-300) / <alpha-value>)",400:"hsl(var(--accent-400) / <alpha-value>)",500:"hsl(var(--accent-500) / <alpha-value>)",600:"hsl(var(--accent-600) / <alpha-value>)",700:"hsl(var(--accent-700) / <alpha-value>)",800:"hsl(var(--accent-800) / <alpha-value>)",900:"hsl(var(--accent-900) / <alpha-value>)",950:"hsl(var(--accent-950) / <alpha-value>)"},danger:{50:"hsl(var(--danger-50) / <alpha-value>)",100:"hsl(var(--danger-100) / <alpha-value>)",200:"hsl(var(--danger-200) / <alpha-value>)",300:"hsl(var(--danger-300) / <alpha-value>)",400:"hsl(var(--danger-400) / <alpha-value>)",500:"hsl(var(--danger-500) / <alpha-value>)",600:"hsl(var(--danger-600) / <alpha-value>)",700:"hsl(var(--danger-700) / <alpha-value>)",800:"hsl(var(--danger-800) / <alpha-value>)",900:"hsl(var(--danger-900) / <alpha-value>)",950:"hsl(var(--danger-950) / <alpha-value>)"},warning:{50:"hsl(var(--warning-50) / <alpha-value>)",100:"hsl(var(--warning-100) / <alpha-value>)",200:"hsl(var(--warning-200) / <alpha-value>)",300:"hsl(var(--warning-300) / <alpha-value>)",400:"hsl(var(--warning-400) / <alpha-value>)",500:"hsl(var(--warning-500) / <alpha-value>)",600:"hsl(var(--warning-600) / <alpha-value>)",700:"hsl(var(--warning-700) / <alpha-value>)",800:"hsl(var(--warning-800) / <alpha-value>)",900:"hsl(var(--warning-900) / <alpha-value>)",950:"hsl(var(--warning-950) / <alpha-value>)"},success:{50:"hsl(var(--success-50) / <alpha-value>)",100:"hsl(var(--success-100) / <alpha-value>)",200:"hsl(var(--success-200) / <alpha-value>)",300:"hsl(var(--success-300) / <alpha-value>)",400:"hsl(var(--success-400) / <alpha-value>)",500:"hsl(var(--success-500) / <alpha-value>)",600:"hsl(var(--success-600) / <alpha-value>)",700:"hsl(var(--success-700) / <alpha-value>)",800:"hsl(var(--success-800) / <alpha-value>)",900:"hsl(var(--success-900) / <alpha-value>)",950:"hsl(var(--success-950) / <alpha-value>)"}},g={content:[],darkMode:"class",theme:{colors:d,container:{center:!0,padding:"2rem",screens:{"2xl":"1400px"}},extend:{animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},aria:{collapsed:'expanded="false"',invalid:'invalid="true"',unchecked:'checked="false"'},boxShadow:{sm:"0px 1px 2px 0 hsl(var(--shadow-color) / var(--shadow-first))",DEFAULT:"0px 1px 2px -1px hsl(var(--shadow-color) / var(--shadow-second)), 0px 1px 3px 0px hsl(var(--shadow-color) / var(--shadow-second))",md:"0px 2px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 2px 4px -2px hsl(var(--shadow-color) / var(--shadow-second)), 0px 4px 6px -1px hsl(var(--shadow-color) / var(--shadow-second))",lg:"0px 1px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 4px 6px -4px hsl(var(--shadow-color) / var(--shadow-second)), 0px 10px 15px -3px hsl(var(--shadow-color) / var(--shadow-second))",xl:"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 8px 10px -6px hsl(var(--shadow-color) / var(--shadow-second)), 0px 20px 25px -5px hsl(var(--shadow-color) / var(--shadow-second))","2xl":"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 11px 10px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 17px 25px 2px hsl(var(--shadow-color) / var(--shadow-second))",inner:"inset 0px 2px 4px 0px hsl(var(--shadow-color) / var(--shadow-first))"},backgroundColor:{base:"hsl(var(--bg-base))",card:"hsl(var(--bg-card))",dialog:"hsl(var(--bg-dialog))",form:"hsl(var(--bg-form))",overlay:"hsl(var(--bg-overlay))",popover:"hsl(var(--bg-popover))",tooltip:"hsl(var(--bg-tooltip))","base-hover":"hsl(var(--bg-base-hover))","card-hover":"hsl(var(--bg-card-hover))","filled-accent-active":"hsl(var(--bg-filled-accent-active))","filled-accent-hover":"hsl(var(--bg-filled-accent-hover))","filled-accent":"hsl(var(--bg-filled-accent))","filled-danger-active":"hsl(var(--bg-filled-danger-active))","filled-danger-hover":"hsl(var(--bg-filled-danger-hover))","filled-danger":"hsl(var(--bg-filled-danger))","filled-neutral-active":"hsl(var(--bg-filled-neutral-active))","filled-neutral-hover":"hsl(var(--bg-filled-neutral-hover))","filled-neutral":"hsl(var(--bg-filled-neutral))","filled-success-active":"hsl(var(--bg-filled-success-active))","filled-success-hover":"hsl(var(--bg-filled-success-hover))","filled-success":"hsl(var(--bg-filled-success))","filled-warning-active":"hsl(var(--bg-filled-warning-active))","filled-warning-hover":"hsl(var(--bg-filled-warning-hover))","filled-warning":"hsl(var(--bg-filled-warning))","form-active":"hsl(var(--bg-form-active))","form-hover":"hsl(var(--bg-form-hover))","popover-hover":"hsl(var(--bg-popover-hover))"},textColor:{body:"hsl(var(--text-body))",muted:"hsl(var(--text-muted))",placeholder:"hsl(var(--text-placeholder))",strong:"hsl(var(--text-strong))",tooltip:"hsl(var(--text-tooltip))","on-filled":"hsl(var(--text-on-filled))"},borderColor:{base:"hsl(var(--border-base))",card:"hsl(var(--border-card))",dialog:"hsl(var(--border-dialog))",form:"hsl(var(--border-form))",popover:"hsl(var(--border-popover))","base-muted":"hsl(var(--border-base-muted))","card-muted":"hsl(var(--border-card-muted))","dialog-muted":"hsl(var(--border-dialog-muted))","popover-muted":"hsl(var(--border-popover-muted))"},ringColor:{"focus-accent":"hsl(var(--ring-focus-accent))","focus-danger":"hsl(var(--ring-focus-danger))","focus-neutral":"hsl(var(--ring-focus-neutral))","focus-success":"hsl(var(--ring-focus-success))","focus-warning":"hsl(var(--ring-focus-warning))"},cursor:{inherit:"inherit",initial:"initial"},data:{"active-item":"active-item","drag-over":'drag-over="true"',"orientation-horizontal":'orientation="horizontal"',"orientation-vertical":'orientation="vertical"',"side-bottom":'side="bottom"',"side-left":'side="left"',"side-right":'side="right"',"side-top":'side="top"',"state-checked":'state~="checked"',"state-closed":'state~="closed"',"state-idle":'state~="idle"',"state-indeterminate":'state~="indeterminate"',"state-open":'state~="open"',"state-pending":'state~="pending"',"state-selected":'state~="selected"',"state-submitting":'state~="submitting"',"state-unchecked":'state~="unchecked"',disabled:"disabled",highlighted:"highlighted"},fontFamily:{sans:["EuclidSquare",...o.fontFamily.sans],mono:["IBMPlexMono",...o.fontFamily.mono]},fontSize:{"size-inherit":"inherit"},fontWeight:{initial:"initial"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},lineHeight:{0:"0",initial:"initial"},screens:{xs:"480px"},spacing:{"1.25":"0.3125rem"},transitionProperty:{"max-height":"max-height"},zIndex:{1:"1",max:"2147483647"}}},plugins:[i,v,p,c(function({addVariant:a}){a("dark-high-contrast",[":is(.dark-high-contrast &)"]),a("high-contrast",[":is(.light-high-contrast &)"])}),s]};export{g as mantlePreset};
1
+ import i from"tailwindcss-animate";import o from"tailwindcss/defaultTheme";import c from"tailwindcss/plugin";import t from"tailwindcss/plugin";var s=t(a=>{a.addVariant("aria-enabled",({modifySelectors:e,separator:h})=>{e(({className:l})=>`:not([aria-disabled]).${a.e(`aria-enabled${h}${l}`)}`)})});import n from"tailwindcss/plugin";var v=n(a=>{a.addVariant("firefox",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"supports",params:"(-moz-appearance:none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`firefox${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})})});import u from"tailwindcss/plugin";var p=u(a=>{a.addVariant("pointer-coarse",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: coarse)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-coarse${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("pointer-fine",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: fine)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-fine${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("pointer-none",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(pointer: none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`pointer-none${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("hover-hover",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(hover: hover)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`hover-hover${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})}),a.addVariant("hover-none",({container:e,separator:h})=>{let l=a.postcss.atRule({name:"media",params:"(hover: none)"});l.append(e.nodes),e.append(l),l.walkRules(r=>{r.selector=`.${a.e(`hover-none${h}${r.selector.slice(1).replace(/\\/g,"")}`)}`})})});var d={inherit:"inherit",current:"currentColor",transparent:"transparent",white:"hsl(var(--white) / <alpha-value>)",black:"hsl(var(--black) / <alpha-value>)",gray:{50:"hsl(var(--gray-50) / <alpha-value>)",100:"hsl(var(--gray-100) / <alpha-value>)",200:"hsl(var(--gray-200) / <alpha-value>)",300:"hsl(var(--gray-300) / <alpha-value>)",400:"hsl(var(--gray-400) / <alpha-value>)",500:"hsl(var(--gray-500) / <alpha-value>)",600:"hsl(var(--gray-600) / <alpha-value>)",700:"hsl(var(--gray-700) / <alpha-value>)",800:"hsl(var(--gray-800) / <alpha-value>)",900:"hsl(var(--gray-900) / <alpha-value>)",950:"hsl(var(--gray-950) / <alpha-value>)"},red:{50:"hsl(var(--red-50) / <alpha-value>)",100:"hsl(var(--red-100) / <alpha-value>)",200:"hsl(var(--red-200) / <alpha-value>)",300:"hsl(var(--red-300) / <alpha-value>)",400:"hsl(var(--red-400) / <alpha-value>)",500:"hsl(var(--red-500) / <alpha-value>)",600:"hsl(var(--red-600) / <alpha-value>)",700:"hsl(var(--red-700) / <alpha-value>)",800:"hsl(var(--red-800) / <alpha-value>)",900:"hsl(var(--red-900) / <alpha-value>)",950:"hsl(var(--red-950) / <alpha-value>)"},orange:{50:"hsl(var(--orange-50) / <alpha-value>)",100:"hsl(var(--orange-100) / <alpha-value>)",200:"hsl(var(--orange-200) / <alpha-value>)",300:"hsl(var(--orange-300) / <alpha-value>)",400:"hsl(var(--orange-400) / <alpha-value>)",500:"hsl(var(--orange-500) / <alpha-value>)",600:"hsl(var(--orange-600) / <alpha-value>)",700:"hsl(var(--orange-700) / <alpha-value>)",800:"hsl(var(--orange-800) / <alpha-value>)",900:"hsl(var(--orange-900) / <alpha-value>)",950:"hsl(var(--orange-950) / <alpha-value>)"},amber:{50:"hsl(var(--amber-50) / <alpha-value>)",100:"hsl(var(--amber-100) / <alpha-value>)",200:"hsl(var(--amber-200) / <alpha-value>)",300:"hsl(var(--amber-300) / <alpha-value>)",400:"hsl(var(--amber-400) / <alpha-value>)",500:"hsl(var(--amber-500) / <alpha-value>)",600:"hsl(var(--amber-600) / <alpha-value>)",700:"hsl(var(--amber-700) / <alpha-value>)",800:"hsl(var(--amber-800) / <alpha-value>)",900:"hsl(var(--amber-900) / <alpha-value>)",950:"hsl(var(--amber-950) / <alpha-value>)"},yellow:{50:"hsl(var(--yellow-50) / <alpha-value>)",100:"hsl(var(--yellow-100) / <alpha-value>)",200:"hsl(var(--yellow-200) / <alpha-value>)",300:"hsl(var(--yellow-300) / <alpha-value>)",400:"hsl(var(--yellow-400) / <alpha-value>)",500:"hsl(var(--yellow-500) / <alpha-value>)",600:"hsl(var(--yellow-600) / <alpha-value>)",700:"hsl(var(--yellow-700) / <alpha-value>)",800:"hsl(var(--yellow-800) / <alpha-value>)",900:"hsl(var(--yellow-900) / <alpha-value>)",950:"hsl(var(--yellow-950) / <alpha-value>)"},lime:{50:"hsl(var(--lime-50) / <alpha-value>)",100:"hsl(var(--lime-100) / <alpha-value>)",200:"hsl(var(--lime-200) / <alpha-value>)",300:"hsl(var(--lime-300) / <alpha-value>)",400:"hsl(var(--lime-400) / <alpha-value>)",500:"hsl(var(--lime-500) / <alpha-value>)",600:"hsl(var(--lime-600) / <alpha-value>)",700:"hsl(var(--lime-700) / <alpha-value>)",800:"hsl(var(--lime-800) / <alpha-value>)",900:"hsl(var(--lime-900) / <alpha-value>)",950:"hsl(var(--lime-950) / <alpha-value>)"},green:{50:"hsl(var(--green-50) / <alpha-value>)",100:"hsl(var(--green-100) / <alpha-value>)",200:"hsl(var(--green-200) / <alpha-value>)",300:"hsl(var(--green-300) / <alpha-value>)",400:"hsl(var(--green-400) / <alpha-value>)",500:"hsl(var(--green-500) / <alpha-value>)",600:"hsl(var(--green-600) / <alpha-value>)",700:"hsl(var(--green-700) / <alpha-value>)",800:"hsl(var(--green-800) / <alpha-value>)",900:"hsl(var(--green-900) / <alpha-value>)",950:"hsl(var(--green-950) / <alpha-value>)"},emerald:{50:"hsl(var(--emerald-50) / <alpha-value>)",100:"hsl(var(--emerald-100) / <alpha-value>)",200:"hsl(var(--emerald-200) / <alpha-value>)",300:"hsl(var(--emerald-300) / <alpha-value>)",400:"hsl(var(--emerald-400) / <alpha-value>)",500:"hsl(var(--emerald-500) / <alpha-value>)",600:"hsl(var(--emerald-600) / <alpha-value>)",700:"hsl(var(--emerald-700) / <alpha-value>)",800:"hsl(var(--emerald-800) / <alpha-value>)",900:"hsl(var(--emerald-900) / <alpha-value>)",950:"hsl(var(--emerald-950) / <alpha-value>)"},teal:{50:"hsl(var(--teal-50) / <alpha-value>)",100:"hsl(var(--teal-100) / <alpha-value>)",200:"hsl(var(--teal-200) / <alpha-value>)",300:"hsl(var(--teal-300) / <alpha-value>)",400:"hsl(var(--teal-400) / <alpha-value>)",500:"hsl(var(--teal-500) / <alpha-value>)",600:"hsl(var(--teal-600) / <alpha-value>)",700:"hsl(var(--teal-700) / <alpha-value>)",800:"hsl(var(--teal-800) / <alpha-value>)",900:"hsl(var(--teal-900) / <alpha-value>)",950:"hsl(var(--teal-950) / <alpha-value>)"},cyan:{50:"hsl(var(--cyan-50) / <alpha-value>)",100:"hsl(var(--cyan-100) / <alpha-value>)",200:"hsl(var(--cyan-200) / <alpha-value>)",300:"hsl(var(--cyan-300) / <alpha-value>)",400:"hsl(var(--cyan-400) / <alpha-value>)",500:"hsl(var(--cyan-500) / <alpha-value>)",600:"hsl(var(--cyan-600) / <alpha-value>)",700:"hsl(var(--cyan-700) / <alpha-value>)",800:"hsl(var(--cyan-800) / <alpha-value>)",900:"hsl(var(--cyan-900) / <alpha-value>)",950:"hsl(var(--cyan-950) / <alpha-value>)"},sky:{50:"hsl(var(--sky-50) / <alpha-value>)",100:"hsl(var(--sky-100) / <alpha-value>)",200:"hsl(var(--sky-200) / <alpha-value>)",300:"hsl(var(--sky-300) / <alpha-value>)",400:"hsl(var(--sky-400) / <alpha-value>)",500:"hsl(var(--sky-500) / <alpha-value>)",600:"hsl(var(--sky-600) / <alpha-value>)",700:"hsl(var(--sky-700) / <alpha-value>)",800:"hsl(var(--sky-800) / <alpha-value>)",900:"hsl(var(--sky-900) / <alpha-value>)",950:"hsl(var(--sky-950) / <alpha-value>)"},blue:{50:"hsl(var(--blue-50) / <alpha-value>)",100:"hsl(var(--blue-100) / <alpha-value>)",200:"hsl(var(--blue-200) / <alpha-value>)",300:"hsl(var(--blue-300) / <alpha-value>)",400:"hsl(var(--blue-400) / <alpha-value>)",500:"hsl(var(--blue-500) / <alpha-value>)",600:"hsl(var(--blue-600) / <alpha-value>)",700:"hsl(var(--blue-700) / <alpha-value>)",800:"hsl(var(--blue-800) / <alpha-value>)",900:"hsl(var(--blue-900) / <alpha-value>)",950:"hsl(var(--blue-950) / <alpha-value>)"},indigo:{50:"hsl(var(--indigo-50) / <alpha-value>)",100:"hsl(var(--indigo-100) / <alpha-value>)",200:"hsl(var(--indigo-200) / <alpha-value>)",300:"hsl(var(--indigo-300) / <alpha-value>)",400:"hsl(var(--indigo-400) / <alpha-value>)",500:"hsl(var(--indigo-500) / <alpha-value>)",600:"hsl(var(--indigo-600) / <alpha-value>)",700:"hsl(var(--indigo-700) / <alpha-value>)",800:"hsl(var(--indigo-800) / <alpha-value>)",900:"hsl(var(--indigo-900) / <alpha-value>)",950:"hsl(var(--indigo-950) / <alpha-value>)"},violet:{50:"hsl(var(--violet-50) / <alpha-value>)",100:"hsl(var(--violet-100) / <alpha-value>)",200:"hsl(var(--violet-200) / <alpha-value>)",300:"hsl(var(--violet-300) / <alpha-value>)",400:"hsl(var(--violet-400) / <alpha-value>)",500:"hsl(var(--violet-500) / <alpha-value>)",600:"hsl(var(--violet-600) / <alpha-value>)",700:"hsl(var(--violet-700) / <alpha-value>)",800:"hsl(var(--violet-800) / <alpha-value>)",900:"hsl(var(--violet-900) / <alpha-value>)",950:"hsl(var(--violet-950) / <alpha-value>)"},purple:{50:"hsl(var(--purple-50) / <alpha-value>)",100:"hsl(var(--purple-100) / <alpha-value>)",200:"hsl(var(--purple-200) / <alpha-value>)",300:"hsl(var(--purple-300) / <alpha-value>)",400:"hsl(var(--purple-400) / <alpha-value>)",500:"hsl(var(--purple-500) / <alpha-value>)",600:"hsl(var(--purple-600) / <alpha-value>)",700:"hsl(var(--purple-700) / <alpha-value>)",800:"hsl(var(--purple-800) / <alpha-value>)",900:"hsl(var(--purple-900) / <alpha-value>)",950:"hsl(var(--purple-950) / <alpha-value>)"},fuchsia:{50:"hsl(var(--fuchsia-50) / <alpha-value>)",100:"hsl(var(--fuchsia-100) / <alpha-value>)",200:"hsl(var(--fuchsia-200) / <alpha-value>)",300:"hsl(var(--fuchsia-300) / <alpha-value>)",400:"hsl(var(--fuchsia-400) / <alpha-value>)",500:"hsl(var(--fuchsia-500) / <alpha-value>)",600:"hsl(var(--fuchsia-600) / <alpha-value>)",700:"hsl(var(--fuchsia-700) / <alpha-value>)",800:"hsl(var(--fuchsia-800) / <alpha-value>)",900:"hsl(var(--fuchsia-900) / <alpha-value>)",950:"hsl(var(--fuchsia-950) / <alpha-value>)"},pink:{50:"hsl(var(--pink-50) / <alpha-value>)",100:"hsl(var(--pink-100) / <alpha-value>)",200:"hsl(var(--pink-200) / <alpha-value>)",300:"hsl(var(--pink-300) / <alpha-value>)",400:"hsl(var(--pink-400) / <alpha-value>)",500:"hsl(var(--pink-500) / <alpha-value>)",600:"hsl(var(--pink-600) / <alpha-value>)",700:"hsl(var(--pink-700) / <alpha-value>)",800:"hsl(var(--pink-800) / <alpha-value>)",900:"hsl(var(--pink-900) / <alpha-value>)",950:"hsl(var(--pink-950) / <alpha-value>)"},rose:{50:"hsl(var(--rose-50) / <alpha-value>)",100:"hsl(var(--rose-100) / <alpha-value>)",200:"hsl(var(--rose-200) / <alpha-value>)",300:"hsl(var(--rose-300) / <alpha-value>)",400:"hsl(var(--rose-400) / <alpha-value>)",500:"hsl(var(--rose-500) / <alpha-value>)",600:"hsl(var(--rose-600) / <alpha-value>)",700:"hsl(var(--rose-700) / <alpha-value>)",800:"hsl(var(--rose-800) / <alpha-value>)",900:"hsl(var(--rose-900) / <alpha-value>)",950:"hsl(var(--rose-950) / <alpha-value>)"},neutral:{50:"hsl(var(--neutral-50) / <alpha-value>)",100:"hsl(var(--neutral-100) / <alpha-value>)",200:"hsl(var(--neutral-200) / <alpha-value>)",300:"hsl(var(--neutral-300) / <alpha-value>)",400:"hsl(var(--neutral-400) / <alpha-value>)",500:"hsl(var(--neutral-500) / <alpha-value>)",600:"hsl(var(--neutral-600) / <alpha-value>)",700:"hsl(var(--neutral-700) / <alpha-value>)",800:"hsl(var(--neutral-800) / <alpha-value>)",900:"hsl(var(--neutral-900) / <alpha-value>)",950:"hsl(var(--neutral-950) / <alpha-value>)"},accent:{50:"hsl(var(--accent-50) / <alpha-value>)",100:"hsl(var(--accent-100) / <alpha-value>)",200:"hsl(var(--accent-200) / <alpha-value>)",300:"hsl(var(--accent-300) / <alpha-value>)",400:"hsl(var(--accent-400) / <alpha-value>)",500:"hsl(var(--accent-500) / <alpha-value>)",600:"hsl(var(--accent-600) / <alpha-value>)",700:"hsl(var(--accent-700) / <alpha-value>)",800:"hsl(var(--accent-800) / <alpha-value>)",900:"hsl(var(--accent-900) / <alpha-value>)",950:"hsl(var(--accent-950) / <alpha-value>)"},danger:{50:"hsl(var(--danger-50) / <alpha-value>)",100:"hsl(var(--danger-100) / <alpha-value>)",200:"hsl(var(--danger-200) / <alpha-value>)",300:"hsl(var(--danger-300) / <alpha-value>)",400:"hsl(var(--danger-400) / <alpha-value>)",500:"hsl(var(--danger-500) / <alpha-value>)",600:"hsl(var(--danger-600) / <alpha-value>)",700:"hsl(var(--danger-700) / <alpha-value>)",800:"hsl(var(--danger-800) / <alpha-value>)",900:"hsl(var(--danger-900) / <alpha-value>)",950:"hsl(var(--danger-950) / <alpha-value>)"},warning:{50:"hsl(var(--warning-50) / <alpha-value>)",100:"hsl(var(--warning-100) / <alpha-value>)",200:"hsl(var(--warning-200) / <alpha-value>)",300:"hsl(var(--warning-300) / <alpha-value>)",400:"hsl(var(--warning-400) / <alpha-value>)",500:"hsl(var(--warning-500) / <alpha-value>)",600:"hsl(var(--warning-600) / <alpha-value>)",700:"hsl(var(--warning-700) / <alpha-value>)",800:"hsl(var(--warning-800) / <alpha-value>)",900:"hsl(var(--warning-900) / <alpha-value>)",950:"hsl(var(--warning-950) / <alpha-value>)"},success:{50:"hsl(var(--success-50) / <alpha-value>)",100:"hsl(var(--success-100) / <alpha-value>)",200:"hsl(var(--success-200) / <alpha-value>)",300:"hsl(var(--success-300) / <alpha-value>)",400:"hsl(var(--success-400) / <alpha-value>)",500:"hsl(var(--success-500) / <alpha-value>)",600:"hsl(var(--success-600) / <alpha-value>)",700:"hsl(var(--success-700) / <alpha-value>)",800:"hsl(var(--success-800) / <alpha-value>)",900:"hsl(var(--success-900) / <alpha-value>)",950:"hsl(var(--success-950) / <alpha-value>)"}},g={content:[],darkMode:"class",theme:{colors:d,container:{center:!0,padding:"2rem",screens:{"2xl":"1400px"}},extend:{animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},aria:{collapsed:'expanded="false"',invalid:'invalid="true"',unchecked:'checked="false"'},boxShadow:{sm:"0px 1px 2px 0 hsl(var(--shadow-color) / var(--shadow-first))",DEFAULT:"0px 1px 2px -1px hsl(var(--shadow-color) / var(--shadow-second)), 0px 1px 3px 0px hsl(var(--shadow-color) / var(--shadow-second))",md:"0px 2px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 2px 4px -2px hsl(var(--shadow-color) / var(--shadow-second)), 0px 4px 6px -1px hsl(var(--shadow-color) / var(--shadow-second))",lg:"0px 1px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 4px 6px -4px hsl(var(--shadow-color) / var(--shadow-second)), 0px 10px 15px -3px hsl(var(--shadow-color) / var(--shadow-second))",xl:"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 8px 10px -6px hsl(var(--shadow-color) / var(--shadow-second)), 0px 20px 25px -5px hsl(var(--shadow-color) / var(--shadow-second))","2xl":"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 11px 10px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 17px 25px 2px hsl(var(--shadow-color) / var(--shadow-second))",inner:"inset 0px 2px 4px 0px hsl(var(--shadow-color) / var(--shadow-first))"},backgroundColor:{base:"hsl(var(--bg-base))",card:"hsl(var(--bg-card))",dialog:"hsl(var(--bg-dialog))",form:"hsl(var(--bg-form))",overlay:"hsl(var(--bg-overlay))",popover:"hsl(var(--bg-popover))",tooltip:"hsl(var(--bg-tooltip))","base-hover":"hsl(var(--bg-base-hover))","card-hover":"hsl(var(--bg-card-hover))","filled-accent-active":"hsl(var(--bg-filled-accent-active))","filled-accent-hover":"hsl(var(--bg-filled-accent-hover))","filled-accent":"hsl(var(--bg-filled-accent))","filled-danger-active":"hsl(var(--bg-filled-danger-active))","filled-danger-hover":"hsl(var(--bg-filled-danger-hover))","filled-danger":"hsl(var(--bg-filled-danger))","filled-neutral-active":"hsl(var(--bg-filled-neutral-active))","filled-neutral-hover":"hsl(var(--bg-filled-neutral-hover))","filled-neutral":"hsl(var(--bg-filled-neutral))","filled-success-active":"hsl(var(--bg-filled-success-active))","filled-success-hover":"hsl(var(--bg-filled-success-hover))","filled-success":"hsl(var(--bg-filled-success))","filled-warning-active":"hsl(var(--bg-filled-warning-active))","filled-warning-hover":"hsl(var(--bg-filled-warning-hover))","filled-warning":"hsl(var(--bg-filled-warning))","form-active":"hsl(var(--bg-form-active))","form-hover":"hsl(var(--bg-form-hover))","popover-hover":"hsl(var(--bg-popover-hover))"},textColor:{body:"hsl(var(--text-body))",muted:"hsl(var(--text-muted))",placeholder:"hsl(var(--text-placeholder))",strong:"hsl(var(--text-strong))",tooltip:"hsl(var(--text-tooltip))","on-filled":"hsl(var(--text-on-filled))"},borderColor:{base:"hsl(var(--border-base))",card:"hsl(var(--border-card))",dialog:"hsl(var(--border-dialog))",form:"hsl(var(--border-form))",popover:"hsl(var(--border-popover))","base-muted":"hsl(var(--border-base-muted))","card-muted":"hsl(var(--border-card-muted))","dialog-muted":"hsl(var(--border-dialog-muted))","popover-muted":"hsl(var(--border-popover-muted))"},ringColor:{"focus-accent":"hsl(var(--ring-focus-accent))","focus-danger":"hsl(var(--ring-focus-danger))","focus-neutral":"hsl(var(--ring-focus-neutral))","focus-success":"hsl(var(--ring-focus-success))","focus-warning":"hsl(var(--ring-focus-warning))"},cursor:{inherit:"inherit",initial:"initial"},data:{"active-item":"active-item","drag-over":'drag-over="true"',disabled:"disabled",highlighted:"highlighted","orientation-horizontal":'orientation="horizontal"',"orientation-vertical":'orientation="vertical"',"side-bottom":'side="bottom"',"side-left":'side="left"',"side-right":'side="right"',"side-top":'side="top"',"state-active":'state~="active"',"state-checked":'state~="checked"',"state-closed":'state~="closed"',"state-idle":'state~="idle"',"state-inactive":'state~="inactive"',"state-indeterminate":'state~="indeterminate"',"state-open":'state~="open"',"state-pending":'state~="pending"',"state-selected":'state~="selected"',"state-submitting":'state~="submitting"',"state-unchecked":'state~="unchecked"'},fontFamily:{sans:["EuclidSquare",...o.fontFamily.sans],mono:["IBMPlexMono",...o.fontFamily.mono]},fontSize:{"size-inherit":"inherit"},fontWeight:{initial:"initial"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},lineHeight:{0:"0",initial:"initial"},screens:{xs:"480px"},spacing:{"1.25":"0.3125rem"},transitionProperty:{"max-height":"max-height"},zIndex:{1:"1",max:"2147483647"}}},plugins:[i,v,p,c(function({addVariant:a}){a("dark-high-contrast",[":is(.dark-high-contrast &)"]),a("high-contrast",[":is(.light-high-contrast &)"])}),s]};export{g as mantlePreset};
2
2
  //# sourceMappingURL=tailwind-preset.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../packages/tailwind-preset/src/tailwind.preset.ts","../packages/tailwind-preset/src/tailwind-plugin-aria-enabled.ts","../packages/tailwind-preset/src/tailwind-plugin-firefox-variant.ts","../packages/tailwind-preset/src/tailwind-plugin-pointing-variants.ts"],"sourcesContent":["import type { Config } from \"tailwindcss\";\nimport tailwindCssAnimatePlugin from \"tailwindcss-animate\";\nimport defaultTheme from \"tailwindcss/defaultTheme\";\nimport plugin from \"tailwindcss/plugin\";\nimport { ariaEnabledVariantPlugin } from \"./tailwind-plugin-aria-enabled.js\";\nimport { firefoxVariantPlugin } from \"./tailwind-plugin-firefox-variant.js\";\nimport { pointingVariantsPlugin } from \"./tailwind-plugin-pointing-variants.js\";\n\nconst colors = {\n\tinherit: \"inherit\",\n\tcurrent: \"currentColor\",\n\ttransparent: \"transparent\",\n\twhite: \"hsl(var(--white) / <alpha-value>)\",\n\tblack: \"hsl(var(--black) / <alpha-value>)\",\n\tgray: {\n\t\t50: \"hsl(var(--gray-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--gray-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--gray-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--gray-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--gray-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--gray-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--gray-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--gray-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--gray-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--gray-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--gray-950) / <alpha-value>)\",\n\t},\n\tred: {\n\t\t50: \"hsl(var(--red-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--red-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--red-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--red-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--red-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--red-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--red-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--red-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--red-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--red-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--red-950) / <alpha-value>)\",\n\t},\n\torange: {\n\t\t50: \"hsl(var(--orange-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--orange-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--orange-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--orange-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--orange-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--orange-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--orange-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--orange-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--orange-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--orange-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--orange-950) / <alpha-value>)\",\n\t},\n\tamber: {\n\t\t50: \"hsl(var(--amber-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--amber-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--amber-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--amber-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--amber-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--amber-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--amber-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--amber-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--amber-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--amber-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--amber-950) / <alpha-value>)\",\n\t},\n\tyellow: {\n\t\t50: \"hsl(var(--yellow-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--yellow-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--yellow-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--yellow-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--yellow-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--yellow-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--yellow-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--yellow-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--yellow-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--yellow-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--yellow-950) / <alpha-value>)\",\n\t},\n\tlime: {\n\t\t50: \"hsl(var(--lime-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--lime-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--lime-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--lime-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--lime-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--lime-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--lime-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--lime-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--lime-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--lime-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--lime-950) / <alpha-value>)\",\n\t},\n\tgreen: {\n\t\t50: \"hsl(var(--green-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--green-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--green-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--green-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--green-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--green-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--green-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--green-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--green-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--green-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--green-950) / <alpha-value>)\",\n\t},\n\temerald: {\n\t\t50: \"hsl(var(--emerald-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--emerald-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--emerald-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--emerald-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--emerald-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--emerald-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--emerald-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--emerald-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--emerald-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--emerald-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--emerald-950) / <alpha-value>)\",\n\t},\n\tteal: {\n\t\t50: \"hsl(var(--teal-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--teal-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--teal-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--teal-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--teal-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--teal-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--teal-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--teal-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--teal-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--teal-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--teal-950) / <alpha-value>)\",\n\t},\n\tcyan: {\n\t\t50: \"hsl(var(--cyan-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--cyan-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--cyan-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--cyan-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--cyan-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--cyan-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--cyan-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--cyan-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--cyan-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--cyan-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--cyan-950) / <alpha-value>)\",\n\t},\n\tsky: {\n\t\t50: \"hsl(var(--sky-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--sky-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--sky-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--sky-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--sky-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--sky-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--sky-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--sky-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--sky-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--sky-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--sky-950) / <alpha-value>)\",\n\t},\n\tblue: {\n\t\t50: \"hsl(var(--blue-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--blue-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--blue-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--blue-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--blue-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--blue-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--blue-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--blue-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--blue-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--blue-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--blue-950) / <alpha-value>)\",\n\t},\n\tindigo: {\n\t\t50: \"hsl(var(--indigo-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--indigo-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--indigo-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--indigo-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--indigo-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--indigo-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--indigo-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--indigo-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--indigo-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--indigo-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--indigo-950) / <alpha-value>)\",\n\t},\n\tviolet: {\n\t\t50: \"hsl(var(--violet-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--violet-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--violet-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--violet-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--violet-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--violet-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--violet-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--violet-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--violet-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--violet-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--violet-950) / <alpha-value>)\",\n\t},\n\tpurple: {\n\t\t50: \"hsl(var(--purple-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--purple-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--purple-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--purple-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--purple-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--purple-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--purple-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--purple-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--purple-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--purple-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--purple-950) / <alpha-value>)\",\n\t},\n\tfuchsia: {\n\t\t50: \"hsl(var(--fuchsia-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--fuchsia-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--fuchsia-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--fuchsia-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--fuchsia-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--fuchsia-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--fuchsia-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--fuchsia-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--fuchsia-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--fuchsia-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--fuchsia-950) / <alpha-value>)\",\n\t},\n\tpink: {\n\t\t50: \"hsl(var(--pink-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--pink-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--pink-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--pink-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--pink-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--pink-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--pink-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--pink-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--pink-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--pink-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--pink-950) / <alpha-value>)\",\n\t},\n\trose: {\n\t\t50: \"hsl(var(--rose-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--rose-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--rose-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--rose-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--rose-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--rose-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--rose-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--rose-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--rose-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--rose-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--rose-950) / <alpha-value>)\",\n\t},\n\tneutral: {\n\t\t50: \"hsl(var(--neutral-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--neutral-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--neutral-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--neutral-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--neutral-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--neutral-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--neutral-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--neutral-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--neutral-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--neutral-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--neutral-950) / <alpha-value>)\",\n\t},\n\taccent: {\n\t\t50: \"hsl(var(--accent-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--accent-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--accent-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--accent-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--accent-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--accent-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--accent-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--accent-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--accent-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--accent-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--accent-950) / <alpha-value>)\",\n\t},\n\tdanger: {\n\t\t50: \"hsl(var(--danger-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--danger-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--danger-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--danger-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--danger-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--danger-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--danger-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--danger-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--danger-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--danger-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--danger-950) / <alpha-value>)\",\n\t},\n\twarning: {\n\t\t50: \"hsl(var(--warning-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--warning-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--warning-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--warning-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--warning-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--warning-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--warning-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--warning-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--warning-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--warning-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--warning-950) / <alpha-value>)\",\n\t},\n\tsuccess: {\n\t\t50: \"hsl(var(--success-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--success-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--success-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--success-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--success-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--success-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--success-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--success-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--success-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--success-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--success-950) / <alpha-value>)\",\n\t},\n};\n\nconst mantlePreset = {\n\tcontent: [],\n\tdarkMode: \"class\",\n\ttheme: {\n\t\tcolors,\n\t\tcontainer: {\n\t\t\tcenter: true,\n\t\t\tpadding: \"2rem\",\n\t\t\tscreens: {\n\t\t\t\t\"2xl\": \"1400px\",\n\t\t\t},\n\t\t},\n\t\textend: {\n\t\t\tanimation: {\n\t\t\t\t\"accordion-down\": \"accordion-down 0.2s ease-out\",\n\t\t\t\t\"accordion-up\": \"accordion-up 0.2s ease-out\",\n\t\t\t},\n\t\t\taria: {\n\t\t\t\tcollapsed: 'expanded=\"false\"',\n\t\t\t\tinvalid: 'invalid=\"true\"',\n\t\t\t\tunchecked: 'checked=\"false\"',\n\t\t\t},\n\t\t\tboxShadow: {\n\t\t\t\tsm: \"0px 1px 2px 0 hsl(var(--shadow-color) / var(--shadow-first))\",\n\t\t\t\tDEFAULT:\n\t\t\t\t\t\"0px 1px 2px -1px hsl(var(--shadow-color) / var(--shadow-second)), 0px 1px 3px 0px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tmd: \"0px 2px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 2px 4px -2px hsl(var(--shadow-color) / var(--shadow-second)), 0px 4px 6px -1px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tlg: \"0px 1px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 4px 6px -4px hsl(var(--shadow-color) / var(--shadow-second)), 0px 10px 15px -3px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\txl: \"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 8px 10px -6px hsl(var(--shadow-color) / var(--shadow-second)), 0px 20px 25px -5px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\t\"2xl\":\n\t\t\t\t\t\"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 11px 10px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 17px 25px 2px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tinner: \"inset 0px 2px 4px 0px hsl(var(--shadow-color) / var(--shadow-first))\",\n\t\t\t},\n\t\t\tbackgroundColor: {\n\t\t\t\tbase: \"hsl(var(--bg-base))\",\n\t\t\t\tcard: \"hsl(var(--bg-card))\",\n\t\t\t\tdialog: \"hsl(var(--bg-dialog))\",\n\t\t\t\tform: \"hsl(var(--bg-form))\",\n\t\t\t\toverlay: \"hsl(var(--bg-overlay))\",\n\t\t\t\tpopover: \"hsl(var(--bg-popover))\",\n\t\t\t\ttooltip: \"hsl(var(--bg-tooltip))\",\n\t\t\t\t\"base-hover\": \"hsl(var(--bg-base-hover))\",\n\t\t\t\t\"card-hover\": \"hsl(var(--bg-card-hover))\",\n\t\t\t\t\"filled-accent-active\": \"hsl(var(--bg-filled-accent-active))\",\n\t\t\t\t\"filled-accent-hover\": \"hsl(var(--bg-filled-accent-hover))\",\n\t\t\t\t\"filled-accent\": \"hsl(var(--bg-filled-accent))\",\n\t\t\t\t\"filled-danger-active\": \"hsl(var(--bg-filled-danger-active))\",\n\t\t\t\t\"filled-danger-hover\": \"hsl(var(--bg-filled-danger-hover))\",\n\t\t\t\t\"filled-danger\": \"hsl(var(--bg-filled-danger))\",\n\t\t\t\t\"filled-neutral-active\": \"hsl(var(--bg-filled-neutral-active))\",\n\t\t\t\t\"filled-neutral-hover\": \"hsl(var(--bg-filled-neutral-hover))\",\n\t\t\t\t\"filled-neutral\": \"hsl(var(--bg-filled-neutral))\",\n\t\t\t\t\"filled-success-active\": \"hsl(var(--bg-filled-success-active))\",\n\t\t\t\t\"filled-success-hover\": \"hsl(var(--bg-filled-success-hover))\",\n\t\t\t\t\"filled-success\": \"hsl(var(--bg-filled-success))\",\n\t\t\t\t\"filled-warning-active\": \"hsl(var(--bg-filled-warning-active))\",\n\t\t\t\t\"filled-warning-hover\": \"hsl(var(--bg-filled-warning-hover))\",\n\t\t\t\t\"filled-warning\": \"hsl(var(--bg-filled-warning))\",\n\t\t\t\t\"form-active\": \"hsl(var(--bg-form-active))\",\n\t\t\t\t\"form-hover\": \"hsl(var(--bg-form-hover))\",\n\t\t\t\t\"popover-hover\": \"hsl(var(--bg-popover-hover))\",\n\t\t\t},\n\t\t\ttextColor: {\n\t\t\t\tbody: \"hsl(var(--text-body))\",\n\t\t\t\tmuted: \"hsl(var(--text-muted))\",\n\t\t\t\tplaceholder: \"hsl(var(--text-placeholder))\",\n\t\t\t\tstrong: \"hsl(var(--text-strong))\",\n\t\t\t\ttooltip: \"hsl(var(--text-tooltip))\",\n\t\t\t\t\"on-filled\": \"hsl(var(--text-on-filled))\",\n\t\t\t},\n\t\t\tborderColor: {\n\t\t\t\tbase: \"hsl(var(--border-base))\",\n\t\t\t\tcard: \"hsl(var(--border-card))\",\n\t\t\t\tdialog: \"hsl(var(--border-dialog))\",\n\t\t\t\tform: \"hsl(var(--border-form))\",\n\t\t\t\tpopover: \"hsl(var(--border-popover))\",\n\t\t\t\t\"base-muted\": \"hsl(var(--border-base-muted))\",\n\t\t\t\t\"card-muted\": \"hsl(var(--border-card-muted))\",\n\t\t\t\t\"dialog-muted\": \"hsl(var(--border-dialog-muted))\",\n\t\t\t\t\"popover-muted\": \"hsl(var(--border-popover-muted))\",\n\t\t\t},\n\t\t\tringColor: {\n\t\t\t\t\"focus-accent\": \"hsl(var(--ring-focus-accent))\",\n\t\t\t\t\"focus-danger\": \"hsl(var(--ring-focus-danger))\",\n\t\t\t\t\"focus-neutral\": \"hsl(var(--ring-focus-neutral))\",\n\t\t\t\t\"focus-success\": \"hsl(var(--ring-focus-success))\",\n\t\t\t\t\"focus-warning\": \"hsl(var(--ring-focus-warning))\",\n\t\t\t},\n\t\t\tcursor: {\n\t\t\t\tinherit: \"inherit\",\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tdata: {\n\t\t\t\t\"active-item\": \"active-item\",\n\t\t\t\t\"drag-over\": 'drag-over=\"true\"',\n\t\t\t\t\"orientation-horizontal\": 'orientation=\"horizontal\"',\n\t\t\t\t\"orientation-vertical\": 'orientation=\"vertical\"',\n\t\t\t\t\"side-bottom\": 'side=\"bottom\"',\n\t\t\t\t\"side-left\": 'side=\"left\"',\n\t\t\t\t\"side-right\": 'side=\"right\"',\n\t\t\t\t\"side-top\": 'side=\"top\"',\n\t\t\t\t\"state-checked\": 'state~=\"checked\"',\n\t\t\t\t\"state-closed\": 'state~=\"closed\"',\n\t\t\t\t\"state-idle\": 'state~=\"idle\"',\n\t\t\t\t\"state-indeterminate\": 'state~=\"indeterminate\"',\n\t\t\t\t\"state-open\": 'state~=\"open\"',\n\t\t\t\t\"state-pending\": 'state~=\"pending\"',\n\t\t\t\t\"state-selected\": 'state~=\"selected\"',\n\t\t\t\t\"state-submitting\": 'state~=\"submitting\"',\n\t\t\t\t\"state-unchecked\": 'state~=\"unchecked\"',\n\t\t\t\tdisabled: \"disabled\",\n\t\t\t\thighlighted: \"highlighted\",\n\t\t\t},\n\t\t\tfontFamily: {\n\t\t\t\tsans: [\"EuclidSquare\", ...defaultTheme.fontFamily.sans],\n\t\t\t\tmono: [\"IBMPlexMono\", ...defaultTheme.fontFamily.mono],\n\t\t\t},\n\t\t\tfontSize: {\n\t\t\t\t\"size-inherit\": \"inherit\",\n\t\t\t},\n\t\t\tfontWeight: {\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tkeyframes: {\n\t\t\t\t\"accordion-down\": {\n\t\t\t\t\tfrom: { height: \"0\" },\n\t\t\t\t\tto: { height: \"var(--radix-accordion-content-height)\" },\n\t\t\t\t},\n\t\t\t\t\"accordion-up\": {\n\t\t\t\t\tfrom: { height: \"var(--radix-accordion-content-height)\" },\n\t\t\t\t\tto: { height: \"0\" },\n\t\t\t\t},\n\t\t\t},\n\t\t\tlineHeight: {\n\t\t\t\t0: \"0\",\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tscreens: {\n\t\t\t\txs: \"480px\",\n\t\t\t},\n\t\t\tspacing: {\n\t\t\t\t\"1.25\": \"0.3125rem\",\n\t\t\t},\n\t\t\ttransitionProperty: {\n\t\t\t\t\"max-height\": \"max-height\",\n\t\t\t},\n\t\t\tzIndex: {\n\t\t\t\t1: \"1\",\n\t\t\t\tmax: \"2147483647\",\n\t\t\t},\n\t\t},\n\t},\n\tplugins: [\n\t\ttailwindCssAnimatePlugin,\n\t\tfirefoxVariantPlugin,\n\t\tpointingVariantsPlugin,\n\t\tplugin(function ({ addVariant }) {\n\t\t\taddVariant(\"dark-high-contrast\", [\":is(.dark-high-contrast &)\"]);\n\t\t\taddVariant(\"high-contrast\", [\":is(.light-high-contrast &)\"]);\n\t\t}),\n\t\tariaEnabledVariantPlugin,\n\t],\n} satisfies Config;\n\nexport type MantlePreset = typeof mantlePreset;\n\nexport { mantlePreset };\n","import plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds the following variant: aria-enabled\n */\nconst ariaEnabledVariantPlugin = plugin((api: PluginAPI) => {\n\tapi.addVariant(\n\t\t\"aria-enabled\",\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\t({ modifySelectors, separator }: { modifySelectors: unknown; separator: string }) => {\n\t\t\t// @ts-expect-error modifySelectors is not typed correctly\n\t\t\tmodifySelectors(({ className }: { className: string }) => {\n\t\t\t\treturn `:not([aria-disabled]).${api.e(`aria-enabled${separator}${className}`)}`;\n\t\t\t});\n\t\t},\n\t);\n});\n\nexport { ariaEnabledVariantPlugin };\n","import type { Postcss, Root } from \"postcss\";\nimport plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds a `firefox` variant to TailwindCSS.\n *\n * @see https://gist.github.com/samselikoff/b3c5126ee4f4e69e60b0af0aa5bfb2e7\n */\nconst firefoxVariantPlugin = plugin(\n\t// @ts-expect-error PluginAPI is not typed correctly, missing postcss\n\t(api: PluginAPI & { postcss: Postcss }) => {\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"firefox\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst isFirefoxRule = api.postcss.atRule({\n\t\t\t\tname: \"supports\",\n\t\t\t\tparams: \"(-moz-appearance:none)\",\n\t\t\t});\n\t\t\tisFirefoxRule.append(container.nodes);\n\t\t\tcontainer.append(isFirefoxRule);\n\t\t\tisFirefoxRule.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`firefox${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\t},\n);\n\nexport { firefoxVariantPlugin };\n","import type { Postcss, Root } from \"postcss\";\nimport plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds the following variants to TailwindCSS:\n * - `pointer-coarse`\n * - `pointer-fine`\n * - `pointer-none`\n * - `hover-hover`\n * - `hover-none`\n *\n * @see https://css-tricks.com/touch-devices-not-judged-size/\n */\nconst pointingVariantsPlugin = plugin(\n\t// @ts-expect-error PluginAPI is not typed correctly, missing postcss\n\t(api: PluginAPI & { postcss: Postcss }) => {\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-coarse\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerCoarse = api.postcss.atRule({ name: \"media\", params: \"(pointer: coarse)\" });\n\t\t\tpointerCoarse.append(container.nodes);\n\t\t\tcontainer.append(pointerCoarse);\n\t\t\tpointerCoarse.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-coarse${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-fine\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerFine = api.postcss.atRule({ name: \"media\", params: \"(pointer: fine)\" });\n\t\t\tpointerFine.append(container.nodes);\n\t\t\tcontainer.append(pointerFine);\n\t\t\tpointerFine.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-fine${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-none\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerNone = api.postcss.atRule({ name: \"media\", params: \"(pointer: none)\" });\n\t\t\tpointerNone.append(container.nodes);\n\t\t\tcontainer.append(pointerNone);\n\t\t\tpointerNone.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-none${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"hover-hover\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst hoverHover = api.postcss.atRule({ name: \"media\", params: \"(hover: hover)\" });\n\t\t\thoverHover.append(container.nodes);\n\t\t\tcontainer.append(hoverHover);\n\t\t\thoverHover.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`hover-hover${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"hover-none\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst hoverNone = api.postcss.atRule({ name: \"media\", params: \"(hover: none)\" });\n\t\t\thoverNone.append(container.nodes);\n\t\t\tcontainer.append(hoverNone);\n\t\t\thoverNone.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`hover-none${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\t},\n);\n\nexport { pointingVariantsPlugin };\n"],"mappings":"AACA,OAAOA,MAA8B,sBACrC,OAAOC,MAAkB,2BACzB,OAAOC,MAAY,qBCHnB,OAAOC,MAAY,qBAMnB,IAAMC,EAA2BD,EAAQE,GAAmB,CAC3DA,EAAI,WACH,eAEA,CAAC,CAAE,gBAAAC,EAAiB,UAAAC,CAAU,IAAuD,CAEpF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sBAAuB,yBACvB,aAAc,gBACd,gBAAiB,mBACjB,iBAAkB,oBAClB,mBAAoB,sBACpB,kBAAmB,qBACnB,SAAU,WACV,YAAa,aACd,EACA,WAAY,CACX,KAAM,CAAC,eAAgB,GAAGE,EAAa,WAAW,IAAI,EACtD,KAAM,CAAC,cAAe,GAAGA,EAAa,WAAW,IAAI,CACtD,EACA,SAAU,CACT,eAAgB,SACjB,EACA,WAAY,CACX,QAAS,SACV,EACA,UAAW,CACV,iBAAkB,CACjB,KAAM,CAAE,OAAQ,GAAI,EACpB,GAAI,CAAE,OAAQ,uCAAwC,CACvD,EACA,eAAgB,CACf,KAAM,CAAE,OAAQ,uCAAwC,EACxD,GAAI,CAAE,OAAQ,GAAI,CACnB,CACD,EACA,WAAY,CACX,EAAG,IACH,QAAS,SACV,EACA,QAAS,CACR,GAAI,OACL,EACA,QAAS,CACR,OAAQ,WACT,EACA,mBAAoB,CACnB,aAAc,YACf,EACA,OAAQ,CACP,EAAG,IACH,IAAK,YACN,CACD,CACD,EACA,QAAS,CACRC,EACAC,EACAC,EACAC,EAAO,SAAU,CAAE,WAAAC,CAAW,EAAG,CAChCA,EAAW,qBAAsB,CAAC,4BAA4B,CAAC,EAC/DA,EAAW,gBAAiB,CAAC,6BAA6B,CAAC,CAC5D,CAAC,EACDC,CACD,CACD","names":["tailwindCssAnimatePlugin","defaultTheme","plugin","plugin","ariaEnabledVariantPlugin","api","modifySelectors","separator","className","plugin","firefoxVariantPlugin","api","container","separator","isFirefoxRule","rule","plugin","pointingVariantsPlugin","api","container","separator","pointerCoarse","rule","pointerFine","pointerNone","hoverHover","hoverNone","colors","mantlePreset","defaultTheme","tailwindCssAnimatePlugin","firefoxVariantPlugin","pointingVariantsPlugin","plugin","addVariant","ariaEnabledVariantPlugin"]}
1
+ {"version":3,"sources":["../packages/tailwind-preset/src/tailwind.preset.ts","../packages/tailwind-preset/src/tailwind-plugin-aria-enabled.ts","../packages/tailwind-preset/src/tailwind-plugin-firefox-variant.ts","../packages/tailwind-preset/src/tailwind-plugin-pointing-variants.ts"],"sourcesContent":["import type { Config } from \"tailwindcss\";\nimport tailwindCssAnimatePlugin from \"tailwindcss-animate\";\nimport defaultTheme from \"tailwindcss/defaultTheme\";\nimport plugin from \"tailwindcss/plugin\";\nimport { ariaEnabledVariantPlugin } from \"./tailwind-plugin-aria-enabled.js\";\nimport { firefoxVariantPlugin } from \"./tailwind-plugin-firefox-variant.js\";\nimport { pointingVariantsPlugin } from \"./tailwind-plugin-pointing-variants.js\";\n\nconst colors = {\n\tinherit: \"inherit\",\n\tcurrent: \"currentColor\",\n\ttransparent: \"transparent\",\n\twhite: \"hsl(var(--white) / <alpha-value>)\",\n\tblack: \"hsl(var(--black) / <alpha-value>)\",\n\tgray: {\n\t\t50: \"hsl(var(--gray-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--gray-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--gray-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--gray-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--gray-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--gray-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--gray-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--gray-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--gray-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--gray-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--gray-950) / <alpha-value>)\",\n\t},\n\tred: {\n\t\t50: \"hsl(var(--red-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--red-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--red-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--red-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--red-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--red-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--red-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--red-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--red-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--red-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--red-950) / <alpha-value>)\",\n\t},\n\torange: {\n\t\t50: \"hsl(var(--orange-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--orange-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--orange-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--orange-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--orange-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--orange-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--orange-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--orange-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--orange-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--orange-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--orange-950) / <alpha-value>)\",\n\t},\n\tamber: {\n\t\t50: \"hsl(var(--amber-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--amber-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--amber-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--amber-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--amber-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--amber-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--amber-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--amber-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--amber-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--amber-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--amber-950) / <alpha-value>)\",\n\t},\n\tyellow: {\n\t\t50: \"hsl(var(--yellow-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--yellow-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--yellow-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--yellow-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--yellow-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--yellow-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--yellow-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--yellow-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--yellow-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--yellow-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--yellow-950) / <alpha-value>)\",\n\t},\n\tlime: {\n\t\t50: \"hsl(var(--lime-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--lime-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--lime-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--lime-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--lime-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--lime-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--lime-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--lime-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--lime-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--lime-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--lime-950) / <alpha-value>)\",\n\t},\n\tgreen: {\n\t\t50: \"hsl(var(--green-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--green-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--green-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--green-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--green-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--green-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--green-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--green-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--green-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--green-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--green-950) / <alpha-value>)\",\n\t},\n\temerald: {\n\t\t50: \"hsl(var(--emerald-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--emerald-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--emerald-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--emerald-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--emerald-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--emerald-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--emerald-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--emerald-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--emerald-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--emerald-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--emerald-950) / <alpha-value>)\",\n\t},\n\tteal: {\n\t\t50: \"hsl(var(--teal-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--teal-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--teal-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--teal-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--teal-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--teal-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--teal-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--teal-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--teal-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--teal-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--teal-950) / <alpha-value>)\",\n\t},\n\tcyan: {\n\t\t50: \"hsl(var(--cyan-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--cyan-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--cyan-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--cyan-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--cyan-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--cyan-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--cyan-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--cyan-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--cyan-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--cyan-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--cyan-950) / <alpha-value>)\",\n\t},\n\tsky: {\n\t\t50: \"hsl(var(--sky-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--sky-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--sky-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--sky-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--sky-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--sky-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--sky-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--sky-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--sky-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--sky-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--sky-950) / <alpha-value>)\",\n\t},\n\tblue: {\n\t\t50: \"hsl(var(--blue-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--blue-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--blue-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--blue-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--blue-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--blue-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--blue-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--blue-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--blue-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--blue-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--blue-950) / <alpha-value>)\",\n\t},\n\tindigo: {\n\t\t50: \"hsl(var(--indigo-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--indigo-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--indigo-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--indigo-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--indigo-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--indigo-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--indigo-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--indigo-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--indigo-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--indigo-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--indigo-950) / <alpha-value>)\",\n\t},\n\tviolet: {\n\t\t50: \"hsl(var(--violet-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--violet-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--violet-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--violet-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--violet-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--violet-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--violet-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--violet-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--violet-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--violet-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--violet-950) / <alpha-value>)\",\n\t},\n\tpurple: {\n\t\t50: \"hsl(var(--purple-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--purple-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--purple-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--purple-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--purple-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--purple-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--purple-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--purple-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--purple-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--purple-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--purple-950) / <alpha-value>)\",\n\t},\n\tfuchsia: {\n\t\t50: \"hsl(var(--fuchsia-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--fuchsia-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--fuchsia-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--fuchsia-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--fuchsia-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--fuchsia-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--fuchsia-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--fuchsia-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--fuchsia-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--fuchsia-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--fuchsia-950) / <alpha-value>)\",\n\t},\n\tpink: {\n\t\t50: \"hsl(var(--pink-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--pink-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--pink-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--pink-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--pink-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--pink-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--pink-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--pink-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--pink-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--pink-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--pink-950) / <alpha-value>)\",\n\t},\n\trose: {\n\t\t50: \"hsl(var(--rose-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--rose-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--rose-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--rose-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--rose-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--rose-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--rose-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--rose-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--rose-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--rose-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--rose-950) / <alpha-value>)\",\n\t},\n\tneutral: {\n\t\t50: \"hsl(var(--neutral-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--neutral-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--neutral-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--neutral-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--neutral-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--neutral-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--neutral-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--neutral-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--neutral-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--neutral-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--neutral-950) / <alpha-value>)\",\n\t},\n\taccent: {\n\t\t50: \"hsl(var(--accent-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--accent-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--accent-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--accent-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--accent-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--accent-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--accent-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--accent-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--accent-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--accent-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--accent-950) / <alpha-value>)\",\n\t},\n\tdanger: {\n\t\t50: \"hsl(var(--danger-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--danger-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--danger-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--danger-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--danger-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--danger-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--danger-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--danger-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--danger-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--danger-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--danger-950) / <alpha-value>)\",\n\t},\n\twarning: {\n\t\t50: \"hsl(var(--warning-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--warning-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--warning-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--warning-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--warning-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--warning-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--warning-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--warning-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--warning-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--warning-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--warning-950) / <alpha-value>)\",\n\t},\n\tsuccess: {\n\t\t50: \"hsl(var(--success-50) / <alpha-value>)\",\n\t\t100: \"hsl(var(--success-100) / <alpha-value>)\",\n\t\t200: \"hsl(var(--success-200) / <alpha-value>)\",\n\t\t300: \"hsl(var(--success-300) / <alpha-value>)\",\n\t\t400: \"hsl(var(--success-400) / <alpha-value>)\",\n\t\t500: \"hsl(var(--success-500) / <alpha-value>)\",\n\t\t600: \"hsl(var(--success-600) / <alpha-value>)\",\n\t\t700: \"hsl(var(--success-700) / <alpha-value>)\",\n\t\t800: \"hsl(var(--success-800) / <alpha-value>)\",\n\t\t900: \"hsl(var(--success-900) / <alpha-value>)\",\n\t\t950: \"hsl(var(--success-950) / <alpha-value>)\",\n\t},\n};\n\nconst mantlePreset = {\n\tcontent: [],\n\tdarkMode: \"class\",\n\ttheme: {\n\t\tcolors,\n\t\tcontainer: {\n\t\t\tcenter: true,\n\t\t\tpadding: \"2rem\",\n\t\t\tscreens: {\n\t\t\t\t\"2xl\": \"1400px\",\n\t\t\t},\n\t\t},\n\t\textend: {\n\t\t\tanimation: {\n\t\t\t\t\"accordion-down\": \"accordion-down 0.2s ease-out\",\n\t\t\t\t\"accordion-up\": \"accordion-up 0.2s ease-out\",\n\t\t\t},\n\t\t\taria: {\n\t\t\t\tcollapsed: 'expanded=\"false\"',\n\t\t\t\tinvalid: 'invalid=\"true\"',\n\t\t\t\tunchecked: 'checked=\"false\"',\n\t\t\t},\n\t\t\tboxShadow: {\n\t\t\t\tsm: \"0px 1px 2px 0 hsl(var(--shadow-color) / var(--shadow-first))\",\n\t\t\t\tDEFAULT:\n\t\t\t\t\t\"0px 1px 2px -1px hsl(var(--shadow-color) / var(--shadow-second)), 0px 1px 3px 0px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tmd: \"0px 2px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 2px 4px -2px hsl(var(--shadow-color) / var(--shadow-second)), 0px 4px 6px -1px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tlg: \"0px 1px 13px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 4px 6px -4px hsl(var(--shadow-color) / var(--shadow-second)), 0px 10px 15px -3px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\txl: \"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 8px 10px -6px hsl(var(--shadow-color) / var(--shadow-second)), 0px 20px 25px -5px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\t\"2xl\":\n\t\t\t\t\t\"0px 0px 15px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 11px 10px 0px hsl(var(--shadow-color) / var(--shadow-first)), 0px 17px 25px 2px hsl(var(--shadow-color) / var(--shadow-second))\",\n\t\t\t\tinner: \"inset 0px 2px 4px 0px hsl(var(--shadow-color) / var(--shadow-first))\",\n\t\t\t},\n\t\t\tbackgroundColor: {\n\t\t\t\tbase: \"hsl(var(--bg-base))\",\n\t\t\t\tcard: \"hsl(var(--bg-card))\",\n\t\t\t\tdialog: \"hsl(var(--bg-dialog))\",\n\t\t\t\tform: \"hsl(var(--bg-form))\",\n\t\t\t\toverlay: \"hsl(var(--bg-overlay))\",\n\t\t\t\tpopover: \"hsl(var(--bg-popover))\",\n\t\t\t\ttooltip: \"hsl(var(--bg-tooltip))\",\n\t\t\t\t\"base-hover\": \"hsl(var(--bg-base-hover))\",\n\t\t\t\t\"card-hover\": \"hsl(var(--bg-card-hover))\",\n\t\t\t\t\"filled-accent-active\": \"hsl(var(--bg-filled-accent-active))\",\n\t\t\t\t\"filled-accent-hover\": \"hsl(var(--bg-filled-accent-hover))\",\n\t\t\t\t\"filled-accent\": \"hsl(var(--bg-filled-accent))\",\n\t\t\t\t\"filled-danger-active\": \"hsl(var(--bg-filled-danger-active))\",\n\t\t\t\t\"filled-danger-hover\": \"hsl(var(--bg-filled-danger-hover))\",\n\t\t\t\t\"filled-danger\": \"hsl(var(--bg-filled-danger))\",\n\t\t\t\t\"filled-neutral-active\": \"hsl(var(--bg-filled-neutral-active))\",\n\t\t\t\t\"filled-neutral-hover\": \"hsl(var(--bg-filled-neutral-hover))\",\n\t\t\t\t\"filled-neutral\": \"hsl(var(--bg-filled-neutral))\",\n\t\t\t\t\"filled-success-active\": \"hsl(var(--bg-filled-success-active))\",\n\t\t\t\t\"filled-success-hover\": \"hsl(var(--bg-filled-success-hover))\",\n\t\t\t\t\"filled-success\": \"hsl(var(--bg-filled-success))\",\n\t\t\t\t\"filled-warning-active\": \"hsl(var(--bg-filled-warning-active))\",\n\t\t\t\t\"filled-warning-hover\": \"hsl(var(--bg-filled-warning-hover))\",\n\t\t\t\t\"filled-warning\": \"hsl(var(--bg-filled-warning))\",\n\t\t\t\t\"form-active\": \"hsl(var(--bg-form-active))\",\n\t\t\t\t\"form-hover\": \"hsl(var(--bg-form-hover))\",\n\t\t\t\t\"popover-hover\": \"hsl(var(--bg-popover-hover))\",\n\t\t\t},\n\t\t\ttextColor: {\n\t\t\t\tbody: \"hsl(var(--text-body))\",\n\t\t\t\tmuted: \"hsl(var(--text-muted))\",\n\t\t\t\tplaceholder: \"hsl(var(--text-placeholder))\",\n\t\t\t\tstrong: \"hsl(var(--text-strong))\",\n\t\t\t\ttooltip: \"hsl(var(--text-tooltip))\",\n\t\t\t\t\"on-filled\": \"hsl(var(--text-on-filled))\",\n\t\t\t},\n\t\t\tborderColor: {\n\t\t\t\tbase: \"hsl(var(--border-base))\",\n\t\t\t\tcard: \"hsl(var(--border-card))\",\n\t\t\t\tdialog: \"hsl(var(--border-dialog))\",\n\t\t\t\tform: \"hsl(var(--border-form))\",\n\t\t\t\tpopover: \"hsl(var(--border-popover))\",\n\t\t\t\t\"base-muted\": \"hsl(var(--border-base-muted))\",\n\t\t\t\t\"card-muted\": \"hsl(var(--border-card-muted))\",\n\t\t\t\t\"dialog-muted\": \"hsl(var(--border-dialog-muted))\",\n\t\t\t\t\"popover-muted\": \"hsl(var(--border-popover-muted))\",\n\t\t\t},\n\t\t\tringColor: {\n\t\t\t\t\"focus-accent\": \"hsl(var(--ring-focus-accent))\",\n\t\t\t\t\"focus-danger\": \"hsl(var(--ring-focus-danger))\",\n\t\t\t\t\"focus-neutral\": \"hsl(var(--ring-focus-neutral))\",\n\t\t\t\t\"focus-success\": \"hsl(var(--ring-focus-success))\",\n\t\t\t\t\"focus-warning\": \"hsl(var(--ring-focus-warning))\",\n\t\t\t},\n\t\t\tcursor: {\n\t\t\t\tinherit: \"inherit\",\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tdata: {\n\t\t\t\t\"active-item\": \"active-item\",\n\t\t\t\t\"drag-over\": 'drag-over=\"true\"',\n\t\t\t\tdisabled: \"disabled\",\n\t\t\t\thighlighted: \"highlighted\",\n\t\t\t\t\"orientation-horizontal\": 'orientation=\"horizontal\"',\n\t\t\t\t\"orientation-vertical\": 'orientation=\"vertical\"',\n\t\t\t\t\"side-bottom\": 'side=\"bottom\"',\n\t\t\t\t\"side-left\": 'side=\"left\"',\n\t\t\t\t\"side-right\": 'side=\"right\"',\n\t\t\t\t\"side-top\": 'side=\"top\"',\n\t\t\t\t\"state-active\": 'state~=\"active\"',\n\t\t\t\t\"state-checked\": 'state~=\"checked\"',\n\t\t\t\t\"state-closed\": 'state~=\"closed\"',\n\t\t\t\t\"state-idle\": 'state~=\"idle\"',\n\t\t\t\t\"state-inactive\": 'state~=\"inactive\"',\n\t\t\t\t\"state-indeterminate\": 'state~=\"indeterminate\"',\n\t\t\t\t\"state-open\": 'state~=\"open\"',\n\t\t\t\t\"state-pending\": 'state~=\"pending\"',\n\t\t\t\t\"state-selected\": 'state~=\"selected\"',\n\t\t\t\t\"state-submitting\": 'state~=\"submitting\"',\n\t\t\t\t\"state-unchecked\": 'state~=\"unchecked\"',\n\t\t\t},\n\t\t\tfontFamily: {\n\t\t\t\tsans: [\"EuclidSquare\", ...defaultTheme.fontFamily.sans],\n\t\t\t\tmono: [\"IBMPlexMono\", ...defaultTheme.fontFamily.mono],\n\t\t\t},\n\t\t\tfontSize: {\n\t\t\t\t\"size-inherit\": \"inherit\",\n\t\t\t},\n\t\t\tfontWeight: {\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tkeyframes: {\n\t\t\t\t\"accordion-down\": {\n\t\t\t\t\tfrom: { height: \"0\" },\n\t\t\t\t\tto: { height: \"var(--radix-accordion-content-height)\" },\n\t\t\t\t},\n\t\t\t\t\"accordion-up\": {\n\t\t\t\t\tfrom: { height: \"var(--radix-accordion-content-height)\" },\n\t\t\t\t\tto: { height: \"0\" },\n\t\t\t\t},\n\t\t\t},\n\t\t\tlineHeight: {\n\t\t\t\t0: \"0\",\n\t\t\t\tinitial: \"initial\",\n\t\t\t},\n\t\t\tscreens: {\n\t\t\t\txs: \"480px\",\n\t\t\t},\n\t\t\tspacing: {\n\t\t\t\t\"1.25\": \"0.3125rem\",\n\t\t\t},\n\t\t\ttransitionProperty: {\n\t\t\t\t\"max-height\": \"max-height\",\n\t\t\t},\n\t\t\tzIndex: {\n\t\t\t\t1: \"1\",\n\t\t\t\tmax: \"2147483647\",\n\t\t\t},\n\t\t},\n\t},\n\tplugins: [\n\t\ttailwindCssAnimatePlugin,\n\t\tfirefoxVariantPlugin,\n\t\tpointingVariantsPlugin,\n\t\tplugin(function ({ addVariant }) {\n\t\t\taddVariant(\"dark-high-contrast\", [\":is(.dark-high-contrast &)\"]);\n\t\t\taddVariant(\"high-contrast\", [\":is(.light-high-contrast &)\"]);\n\t\t}),\n\t\tariaEnabledVariantPlugin,\n\t],\n} satisfies Config;\n\nexport type MantlePreset = typeof mantlePreset;\n\nexport { mantlePreset };\n","import plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds the following variant: aria-enabled\n */\nconst ariaEnabledVariantPlugin = plugin((api: PluginAPI) => {\n\tapi.addVariant(\n\t\t\"aria-enabled\",\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\t({ modifySelectors, separator }: { modifySelectors: unknown; separator: string }) => {\n\t\t\t// @ts-expect-error modifySelectors is not typed correctly\n\t\t\tmodifySelectors(({ className }: { className: string }) => {\n\t\t\t\treturn `:not([aria-disabled]).${api.e(`aria-enabled${separator}${className}`)}`;\n\t\t\t});\n\t\t},\n\t);\n});\n\nexport { ariaEnabledVariantPlugin };\n","import type { Postcss, Root } from \"postcss\";\nimport plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds a `firefox` variant to TailwindCSS.\n *\n * @see https://gist.github.com/samselikoff/b3c5126ee4f4e69e60b0af0aa5bfb2e7\n */\nconst firefoxVariantPlugin = plugin(\n\t// @ts-expect-error PluginAPI is not typed correctly, missing postcss\n\t(api: PluginAPI & { postcss: Postcss }) => {\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"firefox\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst isFirefoxRule = api.postcss.atRule({\n\t\t\t\tname: \"supports\",\n\t\t\t\tparams: \"(-moz-appearance:none)\",\n\t\t\t});\n\t\t\tisFirefoxRule.append(container.nodes);\n\t\t\tcontainer.append(isFirefoxRule);\n\t\t\tisFirefoxRule.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`firefox${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\t},\n);\n\nexport { firefoxVariantPlugin };\n","import type { Postcss, Root } from \"postcss\";\nimport plugin from \"tailwindcss/plugin\";\nimport type { PluginAPI } from \"tailwindcss/types/config\";\n\n/**\n * This plugin adds the following variants to TailwindCSS:\n * - `pointer-coarse`\n * - `pointer-fine`\n * - `pointer-none`\n * - `hover-hover`\n * - `hover-none`\n *\n * @see https://css-tricks.com/touch-devices-not-judged-size/\n */\nconst pointingVariantsPlugin = plugin(\n\t// @ts-expect-error PluginAPI is not typed correctly, missing postcss\n\t(api: PluginAPI & { postcss: Postcss }) => {\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-coarse\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerCoarse = api.postcss.atRule({ name: \"media\", params: \"(pointer: coarse)\" });\n\t\t\tpointerCoarse.append(container.nodes);\n\t\t\tcontainer.append(pointerCoarse);\n\t\t\tpointerCoarse.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-coarse${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-fine\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerFine = api.postcss.atRule({ name: \"media\", params: \"(pointer: fine)\" });\n\t\t\tpointerFine.append(container.nodes);\n\t\t\tcontainer.append(pointerFine);\n\t\t\tpointerFine.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-fine${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"pointer-none\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst pointerNone = api.postcss.atRule({ name: \"media\", params: \"(pointer: none)\" });\n\t\t\tpointerNone.append(container.nodes);\n\t\t\tcontainer.append(pointerNone);\n\t\t\tpointerNone.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`pointer-none${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"hover-hover\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst hoverHover = api.postcss.atRule({ name: \"media\", params: \"(hover: hover)\" });\n\t\t\thoverHover.append(container.nodes);\n\t\t\tcontainer.append(hoverHover);\n\t\t\thoverHover.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`hover-hover${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\n\t\t// @ts-expect-error addVariant is not typed correctly\n\t\tapi.addVariant(\"hover-none\", ({ container, separator }: { container: Root; separator: string }) => {\n\t\t\tconst hoverNone = api.postcss.atRule({ name: \"media\", params: \"(hover: none)\" });\n\t\t\thoverNone.append(container.nodes);\n\t\t\tcontainer.append(hoverNone);\n\t\t\thoverNone.walkRules((rule) => {\n\t\t\t\trule.selector = `.${api.e(`hover-none${separator}${rule.selector.slice(1).replace(/\\\\/g, \"\")}`)}`;\n\t\t\t});\n\t\t});\n\t},\n);\n\nexport { pointingVariantsPlugin };\n"],"mappings":"AACA,OAAOA,MAA8B,sBACrC,OAAOC,MAAkB,2BACzB,OAAOC,MAAY,qBCHnB,OAAOC,MAAY,qBAMnB,IAAMC,EAA2BD,EAAQE,GAAmB,CAC3DA,EAAI,WACH,eAEA,CAAC,CAAE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aAAc,eACd,WAAY,aACZ,eAAgB,kBAChB,gBAAiB,mBACjB,eAAgB,kBAChB,aAAc,gBACd,iBAAkB,oBAClB,sBAAuB,yBACvB,aAAc,gBACd,gBAAiB,mBACjB,iBAAkB,oBAClB,mBAAoB,sBACpB,kBAAmB,oBACpB,EACA,WAAY,CACX,KAAM,CAAC,eAAgB,GAAGE,EAAa,WAAW,IAAI,EACtD,KAAM,CAAC,cAAe,GAAGA,EAAa,WAAW,IAAI,CACtD,EACA,SAAU,CACT,eAAgB,SACjB,EACA,WAAY,CACX,QAAS,SACV,EACA,UAAW,CACV,iBAAkB,CACjB,KAAM,CAAE,OAAQ,GAAI,EACpB,GAAI,CAAE,OAAQ,uCAAwC,CACvD,EACA,eAAgB,CACf,KAAM,CAAE,OAAQ,uCAAwC,EACxD,GAAI,CAAE,OAAQ,GAAI,CACnB,CACD,EACA,WAAY,CACX,EAAG,IACH,QAAS,SACV,EACA,QAAS,CACR,GAAI,OACL,EACA,QAAS,CACR,OAAQ,WACT,EACA,mBAAoB,CACnB,aAAc,YACf,EACA,OAAQ,CACP,EAAG,IACH,IAAK,YACN,CACD,CACD,EACA,QAAS,CACRC,EACAC,EACAC,EACAC,EAAO,SAAU,CAAE,WAAAC,CAAW,EAAG,CAChCA,EAAW,qBAAsB,CAAC,4BAA4B,CAAC,EAC/DA,EAAW,gBAAiB,CAAC,6BAA6B,CAAC,CAC5D,CAAC,EACDC,CACD,CACD","names":["tailwindCssAnimatePlugin","defaultTheme","plugin","plugin","ariaEnabledVariantPlugin","api","modifySelectors","separator","className","plugin","firefoxVariantPlugin","api","container","separator","isFirefoxRule","rule","plugin","pointingVariantsPlugin","api","container","separator","pointerCoarse","rule","pointerFine","pointerNone","hoverHover","hoverNone","colors","mantlePreset","defaultTheme","tailwindCssAnimatePlugin","firefoxVariantPlugin","pointingVariantsPlugin","plugin","addVariant","ariaEnabledVariantPlugin"]}
package/dist/types.d.ts CHANGED
@@ -4,3 +4,12 @@ export { V as VariantProps } from './variant-props-Dc9PJLzN.js';
4
4
  export { D as DeepNonNullable } from './deep-non-nullable-SmpSvoSd.js';
5
5
  import 'react';
6
6
  import 'class-variance-authority';
7
+
8
+ type Booleanish = boolean | "true" | "false";
9
+ /**
10
+ * Parse/coerce a booleanish value (boolean | "true" | "false") into a boolean.
11
+ * @default false if the value is not a boolean or "true"
12
+ */
13
+ declare function parseBooleanish(value: Booleanish | (string & {}) | undefined | null): boolean;
14
+
15
+ export { type Booleanish, parseBooleanish };
package/dist/types.js CHANGED
@@ -1 +1,2 @@
1
+ import{a}from"./chunk-MODFDUXR.js";export{a as parseBooleanish};
1
2
  //# sourceMappingURL=types.js.map
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "mantle is ngrok's UI library and design system.",
4
4
  "author": "ngrok",
5
5
  "license": "MIT",
6
- "version": "0.1.22",
6
+ "version": "0.1.24",
7
7
  "homepage": "https://mantle.ngrok.com",
8
8
  "repository": {
9
9
  "type": "git",
@@ -32,6 +32,8 @@
32
32
  "@radix-ui/react-select": "2.0.0",
33
33
  "@radix-ui/react-separator": "1.0.3",
34
34
  "@radix-ui/react-slot": "1.0.2",
35
+ "@radix-ui/react-switch": "1.0.3",
36
+ "@radix-ui/react-tabs": "1.0.4",
35
37
  "@radix-ui/react-tooltip": "1.0.7",
36
38
  "@remix-run/css-bundle": "2.9.2",
37
39
  "@remix-run/node": "2.9.2",
@@ -40,7 +42,7 @@
40
42
  "@uidotdev/usehooks": "2.4.1",
41
43
  "class-variance-authority": "0.7.0",
42
44
  "clsx": "2.1.1",
43
- "isbot": "5.1.8",
45
+ "isbot": "5.1.9",
44
46
  "prismjs": "1.29.0",
45
47
  "react-day-picker": "8.10.1",
46
48
  "tailwind-merge": "2.3.0",
@@ -53,15 +55,16 @@
53
55
  "@phosphor-icons/react": "2.1.5",
54
56
  "@remix-run/dev": "2.9.2",
55
57
  "@remix-run/eslint-config": "2.9.2",
56
- "@testing-library/react": "15.0.7",
58
+ "@testing-library/dom": "10.1.0",
59
+ "@testing-library/react": "16.0.0",
57
60
  "@testing-library/user-event": "14.5.2",
58
61
  "@types/bun": "latest",
59
- "@types/node": "20.12.13",
62
+ "@types/node": "20.14.2",
60
63
  "@types/prismjs": "1.26.4",
61
64
  "@types/react": "18.3.3",
62
65
  "@types/react-dom": "18.3.0",
63
- "@typescript-eslint/eslint-plugin": "7.11.0",
64
- "@typescript-eslint/parser": "7.11.0",
66
+ "@typescript-eslint/eslint-plugin": "7.12.0",
67
+ "@typescript-eslint/parser": "7.12.0",
65
68
  "@vitejs/plugin-react": "4.3.0",
66
69
  "@vitest/ui": "1.6.0",
67
70
  "autoprefixer": "10.4.19",
@@ -75,15 +78,15 @@
75
78
  "eslint-plugin-react-hooks": "4.6.2",
76
79
  "jsdom": "24.1.0",
77
80
  "postcss": "8.4.38",
78
- "prettier": "3.2.5",
79
- "prettier-plugin-tailwindcss": "0.6.0",
81
+ "prettier": "3.3.1",
82
+ "prettier-plugin-tailwindcss": "0.6.2",
80
83
  "react": "18.3.1",
81
84
  "react-dom": "18.3.1",
82
85
  "react-router-dom": "6.23.1",
83
- "tailwindcss": "3.4.3",
84
- "tsup": "8.0.2",
86
+ "tailwindcss": "3.4.4",
87
+ "tsup": "8.1.0",
85
88
  "typescript": "5.4.5",
86
- "vite": "5.2.12",
89
+ "vite": "5.2.13",
87
90
  "vite-tsconfig-paths": "4.3.2",
88
91
  "vitest": "1.6.0",
89
92
  "vitest-dom": "0.1.1",
@@ -97,8 +100,8 @@
97
100
  "postcss": "^8.0.0",
98
101
  "react": "^18.3.1",
99
102
  "react-dom": "^18.3.1",
100
- "tailwindcss": "^3.4.3",
101
- "zod": "^3.22.4"
103
+ "tailwindcss": "^3.4.4",
104
+ "zod": "^3.23.8"
102
105
  },
103
106
  "exports": {
104
107
  "./mantle.css": "./assets/mantle.css",
@@ -175,6 +178,10 @@
175
178
  "import": "./dist/input.js",
176
179
  "types": "./dist/input.d.ts"
177
180
  },
181
+ "./label": {
182
+ "import": "./dist/label.js",
183
+ "types": "./dist/label.d.ts"
184
+ },
178
185
  "./media-object": {
179
186
  "import": "./dist/media-object.js",
180
187
  "types": "./dist/media-object.d.ts"
@@ -203,10 +210,18 @@
203
210
  "import": "./dist/skeleton.js",
204
211
  "types": "./dist/skeleton.d.ts"
205
212
  },
213
+ "./switch": {
214
+ "import": "./dist/switch.js",
215
+ "types": "./dist/switch.d.ts"
216
+ },
206
217
  "./table": {
207
218
  "import": "./dist/table.js",
208
219
  "types": "./dist/table.d.ts"
209
220
  },
221
+ "./tabs": {
222
+ "import": "./dist/tabs.js",
223
+ "types": "./dist/tabs.d.ts"
224
+ },
210
225
  "./text-area": {
211
226
  "import": "./dist/text-area.js",
212
227
  "types": "./dist/text-area.d.ts"
@@ -1,2 +0,0 @@
1
- import{a as p}from"./chunk-YPS473FU.js";import{a as u}from"./chunk-A5H52ODC.js";import{CircleNotch as H}from"@phosphor-icons/react/CircleNotch";import{Slot as M}from"@radix-ui/react-slot";import{cva as N}from"class-variance-authority";import g from"clsx";import{Children as T,cloneElement as E,forwardRef as I,isValidElement as L}from"react";import k from"tiny-invariant";function f(e){return typeof e=="boolean"?e:e==="true"}import{jsx as n,jsxs as S}from"react/jsx-runtime";var w=N("inline-flex cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-md focus-within:outline-none focus-visible:ring-4 disabled:cursor-default disabled:opacity-50 sm:text-sm [&>*]:focus-within:outline-none",{variants:{appearance:{filled:"h-11 border border-transparent bg-filled-accent px-3 font-medium text-on-filled focus-visible:border-accent-600 focus-visible:ring-focus-accent enabled:hover:bg-filled-accent-hover enabled:active:bg-filled-accent-active sm:h-9",ghost:"h-11 border border-transparent px-3 font-medium text-accent-600 focus-visible:ring-focus-accent enabled:hover:bg-accent-500/10 enabled:hover:text-accent-700 enabled:active:bg-accent-500/15 enabled:active:text-accent-700 sm:h-9",outlined:"h-11 border border-accent-600 bg-form px-3 font-medium text-accent-600 focus-visible:ring-focus-accent enabled:hover:border-accent-700 enabled:hover:bg-accent-500/10 enabled:hover:text-accent-700 enabled:active:border-accent-700 enabled:active:bg-accent-500/15 enabled:active:text-accent-700 sm:h-9",link:"group border-transparent text-accent-600 focus-visible:ring-focus-accent enabled:hover:underline"},isLoading:{false:"",true:"opacity-50"},priority:{danger:"",default:"",neutral:""}},defaultVariants:{appearance:"outlined",isLoading:!1,priority:"default"},compoundVariants:[{appearance:"ghost",priority:"danger",class:"border-transparent text-danger-600 focus-visible:ring-focus-danger enabled:hover:bg-danger-500/10 enabled:hover:text-danger-700 enabled:active:bg-danger-500/15 enabled:active:text-danger-700"},{appearance:"outlined",priority:"danger",class:"border-danger-600 bg-form text-danger-600 focus-visible:ring-focus-danger enabled:hover:border-danger-700 enabled:hover:bg-danger-500/10 enabled:hover:text-danger-700 enabled:active:border-danger-700 enabled:active:bg-danger-500/15 enabled:active:text-danger-700"},{appearance:"filled",priority:"danger",class:"border-transparent bg-filled-danger focus-visible:border-danger-600 focus-visible:ring-focus-danger enabled:hover:bg-filled-danger-hover enabled:active:bg-filled-danger-active"},{appearance:"link",priority:"danger",class:"text-danger-600 focus-visible:ring-focus-danger"},{appearance:"ghost",priority:"neutral",class:"border-transparent text-strong focus-visible:ring-focus-accent enabled:hover:bg-neutral-500/10 enabled:hover:text-strong enabled:active:bg-neutral-500/15 enabled:active:text-strong"},{appearance:"outlined",priority:"neutral",class:"border-form bg-form text-strong focus-visible:border-accent-600 focus-visible:ring-focus-accent enabled:hover:border-neutral-400 enabled:hover:bg-form-hover enabled:hover:text-strong enabled:active:border-neutral-400 enabled:active:bg-neutral-500/10 enabled:active:text-strong focus-visible:enabled:active:border-accent-600"},{appearance:"filled",priority:"neutral",class:"border-transparent bg-filled-neutral focus-visible:border-neutral-600 focus-visible:ring-focus-neutral enabled:hover:bg-filled-neutral-hover enabled:active:bg-filled-neutral-active"},{appearance:"link",priority:"neutral",class:"text-strong focus-visible:ring-focus-accent"}]}),A=I(({"aria-disabled":e,appearance:t="outlined",asChild:r,children:a,className:h,disabled:m,icon:x,iconPlacement:o="start",isLoading:i=!1,priority:y="default",type:B,...P},C)=>{let c=f(e??m??i),l=i?n(H,{className:"animate-spin"}):x,d=l&&t!=="link",b={"aria-disabled":c,className:u(w({appearance:t,priority:y,isLoading:i}),d&&o==="start"&&"ps-2.5",d&&o==="end"&&"pe-2.5",h),"data-loading":i,disabled:c,ref:C,...P};if(r){let s=T.only(a);k(L(s),"When using `asChild`, Button must be passed a single child as a JSX tag.");let V=s.props?.children;return n(M,{...b,children:E(s,{},n(v,{appearance:t,icon:l,iconPlacement:o,children:V}))})}return n("button",{...b,type:B,children:n(v,{appearance:t,icon:l,iconPlacement:o,children:a})})});A.displayName="Button";var v=({appearance:e,children:t,icon:r,iconPlacement:a})=>S("span",{className:g("inline-flex items-center gap-1.5 focus-within:outline-none focus-visible:outline-none",e==="link"&&"enabled:group-hover:underline"),children:[r&&n(p,{svg:r,className:g(a==="end"&&"order-last")}),t]});export{f as a,w as b,A as c};
2
- //# sourceMappingURL=chunk-CACAUALH.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../packages/button/src/button.tsx","../packages/button/src/parse-booleanish.tsx"],"sourcesContent":["import { CircleNotch } from \"@phosphor-icons/react/CircleNotch\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cva } from \"class-variance-authority\";\nimport clsx from \"clsx\";\nimport { Children, cloneElement, forwardRef, isValidElement } from \"react\";\nimport type { ButtonHTMLAttributes, PropsWithChildren, ReactNode } from \"react\";\nimport invariant from \"tiny-invariant\";\nimport { cx } from \"../../cx\";\nimport { Icon } from \"../../icon\";\nimport type { VariantProps } from \"../../types/src/variant-props\";\nimport { parseBooleanish } from \"./parse-booleanish\";\n\nconst buttonVariants = cva(\n\t\"inline-flex cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-md focus-within:outline-none focus-visible:ring-4 disabled:cursor-default disabled:opacity-50 sm:text-sm [&>*]:focus-within:outline-none\",\n\t{\n\t\tvariants: {\n\t\t\t/**\n\t\t\t * Defines the visual style of the Button.\n\t\t\t */\n\t\t\tappearance: {\n\t\t\t\tfilled:\n\t\t\t\t\t\"h-11 border border-transparent bg-filled-accent px-3 font-medium text-on-filled focus-visible:border-accent-600 focus-visible:ring-focus-accent enabled:hover:bg-filled-accent-hover enabled:active:bg-filled-accent-active sm:h-9\",\n\t\t\t\tghost:\n\t\t\t\t\t\"h-11 border border-transparent px-3 font-medium text-accent-600 focus-visible:ring-focus-accent enabled:hover:bg-accent-500/10 enabled:hover:text-accent-700 enabled:active:bg-accent-500/15 enabled:active:text-accent-700 sm:h-9\",\n\t\t\t\toutlined:\n\t\t\t\t\t\"h-11 border border-accent-600 bg-form px-3 font-medium text-accent-600 focus-visible:ring-focus-accent enabled:hover:border-accent-700 enabled:hover:bg-accent-500/10 enabled:hover:text-accent-700 enabled:active:border-accent-700 enabled:active:bg-accent-500/15 enabled:active:text-accent-700 sm:h-9\",\n\t\t\t\tlink: \"group border-transparent text-accent-600 focus-visible:ring-focus-accent enabled:hover:underline\",\n\t\t\t},\n\t\t\t/**\n\t\t\t * Whether or not the button is in a loading state, default `false`. Setting `isLoading` will\n\t\t\t * replace any `icon` with a spinner, or add one if an icon wasn't given.\n\t\t\t * It will also disable user interaction with the button and set `disabled`.\n\t\t\t */\n\t\t\tisLoading: {\n\t\t\t\tfalse: \"\",\n\t\t\t\ttrue: \"opacity-50\",\n\t\t\t},\n\t\t\t/**\n\t\t\t * Indicates the importance or impact level of the button, affecting its\n\t\t\t * color and styling to communicate its purpose to the user\n\t\t\t */\n\t\t\tpriority: {\n\t\t\t\tdanger: \"\",\n\t\t\t\tdefault: \"\",\n\t\t\t\tneutral: \"\",\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tappearance: \"outlined\",\n\t\t\tisLoading: false,\n\t\t\tpriority: \"default\",\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tappearance: \"ghost\",\n\t\t\t\tpriority: \"danger\",\n\t\t\t\tclass:\n\t\t\t\t\t\"border-transparent text-danger-600 focus-visible:ring-focus-danger enabled:hover:bg-danger-500/10 enabled:hover:text-danger-700 enabled:active:bg-danger-500/15 enabled:active:text-danger-700\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tappearance: \"outlined\",\n\t\t\t\tpriority: \"danger\",\n\t\t\t\tclass:\n\t\t\t\t\t\"border-danger-600 bg-form text-danger-600 focus-visible:ring-focus-danger enabled:hover:border-danger-700 enabled:hover:bg-danger-500/10 enabled:hover:text-danger-700 enabled:active:border-danger-700 enabled:active:bg-danger-500/15 enabled:active:text-danger-700\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tappearance: \"filled\",\n\t\t\t\tpriority: \"danger\",\n\t\t\t\tclass:\n\t\t\t\t\t\"border-transparent bg-filled-danger focus-visible:border-danger-600 focus-visible:ring-focus-danger enabled:hover:bg-filled-danger-hover enabled:active:bg-filled-danger-active\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tappearance: \"link\",\n\t\t\t\tpriority: \"danger\",\n\t\t\t\tclass: \"text-danger-600 focus-visible:ring-focus-danger\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tappearance: \"ghost\",\n\t\t\t\tpriority: \"neutral\",\n\t\t\t\tclass:\n\t\t\t\t\t\"border-transparent text-strong focus-visible:ring-focus-accent enabled:hover:bg-neutral-500/10 enabled:hover:text-strong enabled:active:bg-neutral-500/15 enabled:active:text-strong\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tappearance: \"outlined\",\n\t\t\t\tpriority: \"neutral\",\n\t\t\t\tclass:\n\t\t\t\t\t\"border-form bg-form text-strong focus-visible:border-accent-600 focus-visible:ring-focus-accent enabled:hover:border-neutral-400 enabled:hover:bg-form-hover enabled:hover:text-strong enabled:active:border-neutral-400 enabled:active:bg-neutral-500/10 enabled:active:text-strong focus-visible:enabled:active:border-accent-600\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tappearance: \"filled\",\n\t\t\t\tpriority: \"neutral\",\n\t\t\t\tclass:\n\t\t\t\t\t\"border-transparent bg-filled-neutral focus-visible:border-neutral-600 focus-visible:ring-focus-neutral enabled:hover:bg-filled-neutral-hover enabled:active:bg-filled-neutral-active\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tappearance: \"link\",\n\t\t\t\tpriority: \"neutral\",\n\t\t\t\tclass: \"text-strong focus-visible:ring-focus-accent\",\n\t\t\t},\n\t\t],\n\t},\n);\n\ntype ButtonVariants = VariantProps<typeof buttonVariants>;\n\n/**\n * The props for the `Button` component.\n */\ntype ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> &\n\tButtonVariants & {\n\t\t/**\n\t\t * An icon to render inside the button. If the `state` is `\"pending\"`, then\n\t\t * the icon will automatically be replaced with a spinner.\n\t\t */\n\t\ticon?: ReactNode;\n\t\t/**\n\t\t * The side that the icon will render on, if one is present. If `state=\"pending\"`,\n\t\t * then the loading icon will also render on this side.\n\t\t */\n\t\ticonPlacement?: \"start\" | \"end\";\n\t} & (\n\t\t| {\n\t\t\t\t/**\n\t\t\t\t * Use the `asChild` prop to compose Radix's functionality onto alternative\n\t\t\t\t * element types or your own React components.\n\t\t\t\t *\n\t\t\t\t * When `asChild` is set to `true`, mantle will not render a default DOM\n\t\t\t\t * element, instead cloning the component's child and passing it the props and\n\t\t\t\t * behavior required to make it functional.\n\t\t\t\t *\n\t\t\t\t * asChild can be used as deeply as you need to. This means it is a great way\n\t\t\t\t * to compose multiple primitive's behavior together.\n\t\t\t\t *\n\t\t\t\t * @see https://www.radix-ui.com/docs/primitives/guides/composition#composition\n\t\t\t\t */\n\t\t\t\tasChild: true;\n\t\t\t\t/**\n\t\t\t\t * The default behavior of the button. Possible values are: `\"button\"`, `\"submit\"`, and `\"reset\"`.\n\t\t\t\t *\n\t\t\t\t * if `asChild` is NOT used: Unlike the native `<button>` element, this prop is required and has no default value.\n\t\t\t\t *\n\t\t\t\t * If `asChild` IS used: This prop HAS NO EFFECT, is REMOVED, and has no default value. This is because we do not want the `button` `type` to automatically merge with any child anchor `type` attribute because the `anchor` `type` is _strictly different_ than the `button` type, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#type\n\t\t\t\t *\n\t\t\t\t * @enum\n\t\t\t\t * - `\"button\"`: The button has no default behavior, and does nothing when pressed by default. It can have client-side scripts listen to the element's events, which are triggered when the events occur.\n\t\t\t\t * - `\"reset\"`: The button resets all the controls to their initial values.\n\t\t\t\t * - `\"submit\"`: The button submits the form data to the server.\n\t\t\t\t *\n\t\t\t\t * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type\n\t\t\t\t */\n\t\t\t\ttype?: ButtonHTMLAttributes<HTMLButtonElement>[\"type\"];\n\t\t }\n\t\t| {\n\t\t\t\tasChild?: false | undefined;\n\t\t\t\t/**\n\t\t\t\t * The default behavior of the button. Possible values are: `\"button\"`, `\"submit\"`, and `\"reset\"`.\n\t\t\t\t *\n\t\t\t\t * if `asChild` is NOT used: Unlike the native `<button>` element, this prop is required and has no default value.\n\t\t\t\t *\n\t\t\t\t * If `asChild` IS used: This prop HAS NO EFFECT, is REMOVED, and has no default value. This is because we do not want the `button` `type` to automatically merge with any child anchor `type` attribute because the `anchor` `type` is _strictly different_ than the `button` type, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#type\n\t\t\t\t *\n\t\t\t\t * @enum\n\t\t\t\t * - `\"button\"`: The button has no default behavior, and does nothing when pressed by default. It can have client-side scripts listen to the element's events, which are triggered when the events occur.\n\t\t\t\t * - `\"reset\"`: The button resets all the controls to their initial values.\n\t\t\t\t * - `\"submit\"`: The button submits the form data to the server.\n\t\t\t\t *\n\t\t\t\t * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type\n\t\t\t\t */\n\t\t\t\ttype: Exclude<ButtonHTMLAttributes<HTMLButtonElement>[\"type\"], undefined>;\n\t\t }\n\t);\n\n/**\n * Renders a button or a component that looks like a button, an interactive\n * element activated by a user with a mouse, keyboard, finger, voice command, or\n * other assistive technology. Once activated, it then performs an action, such\n * as submitting a form or opening a dialog.\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button\n */\nconst Button = forwardRef<HTMLButtonElement, ButtonProps>(\n\t(\n\t\t{\n\t\t\t\"aria-disabled\": _ariaDisabled,\n\t\t\tappearance = \"outlined\",\n\t\t\tasChild,\n\t\t\tchildren,\n\t\t\tclassName,\n\t\t\tdisabled: _disabled,\n\t\t\ticon: propIcon,\n\t\t\ticonPlacement = \"start\",\n\t\t\tisLoading = false,\n\t\t\tpriority = \"default\",\n\t\t\ttype,\n\t\t\t...props\n\t\t},\n\t\tref,\n\t) => {\n\t\tconst disabled = parseBooleanish(_ariaDisabled ?? _disabled ?? isLoading);\n\t\tconst icon = isLoading ? <CircleNotch className=\"animate-spin\" /> : propIcon;\n\n\t\t/**\n\t\t * If the button has an icon and is not a link, add padding-start or padding-end to the button depending on the icon placement.\n\t\t */\n\t\tconst hasSpecialIconPadding = icon && appearance !== \"link\";\n\n\t\tconst buttonProps = {\n\t\t\t\"aria-disabled\": disabled,\n\t\t\tclassName: cx(\n\t\t\t\tbuttonVariants({ appearance, priority, isLoading }),\n\t\t\t\thasSpecialIconPadding && iconPlacement === \"start\" && \"ps-2.5\",\n\t\t\t\thasSpecialIconPadding && iconPlacement === \"end\" && \"pe-2.5\",\n\t\t\t\tclassName,\n\t\t\t),\n\t\t\t\"data-loading\": isLoading,\n\t\t\tdisabled,\n\t\t\tref,\n\t\t\t...props,\n\t\t};\n\n\t\tif (asChild) {\n\t\t\tconst singleChild = Children.only(children);\n\t\t\tinvariant(\n\t\t\t\tisValidElement<ButtonProps>(singleChild),\n\t\t\t\t\"When using `asChild`, Button must be passed a single child as a JSX tag.\",\n\t\t\t);\n\t\t\tconst grandchildren = singleChild.props?.children;\n\n\t\t\treturn (\n\t\t\t\t<Slot {...buttonProps}>\n\t\t\t\t\t{cloneElement(\n\t\t\t\t\t\tsingleChild,\n\t\t\t\t\t\t{},\n\t\t\t\t\t\t<InnerContent appearance={appearance} icon={icon} iconPlacement={iconPlacement}>\n\t\t\t\t\t\t\t{grandchildren}\n\t\t\t\t\t\t</InnerContent>,\n\t\t\t\t\t)}\n\t\t\t\t</Slot>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<button {...buttonProps} type={type}>\n\t\t\t\t<InnerContent appearance={appearance} icon={icon} iconPlacement={iconPlacement}>\n\t\t\t\t\t{children}\n\t\t\t\t</InnerContent>\n\t\t\t</button>\n\t\t);\n\t},\n);\nButton.displayName = \"Button\";\n\nexport { Button, buttonVariants };\nexport type { ButtonProps };\n\ntype InnerContentProps = PropsWithChildren & Pick<ButtonProps, \"appearance\" | \"icon\" | \"iconPlacement\">;\n\nconst InnerContent = ({ appearance, children, icon, iconPlacement }: InnerContentProps) => (\n\t<span\n\t\tclassName={clsx(\n\t\t\t\"inline-flex items-center gap-1.5 focus-within:outline-none focus-visible:outline-none\",\n\t\t\tappearance === \"link\" && \"enabled:group-hover:underline\",\n\t\t)}\n\t>\n\t\t{icon && <Icon svg={icon} className={clsx(iconPlacement === \"end\" && \"order-last\")} />}\n\t\t{children}\n\t</span>\n);\n","export type Booleanish = boolean | \"true\" | \"false\";\n\n/**\n * Parse/coerce a booleanish value (boolean | \"true\" | \"false\") into a boolean.\n * @default false if the value is not a boolean or \"true\"\n */\nexport function parseBooleanish(value: Booleanish | (string & {})): boolean {\n\tif (typeof value === \"boolean\") {\n\t\treturn value;\n\t} else {\n\t\treturn value === \"true\";\n\t}\n}\n"],"mappings":"gFAAA,OAAS,eAAAA,MAAmB,oCAC5B,OAAS,QAAAC,MAAY,uBACrB,OAAS,OAAAC,MAAW,2BACpB,OAAOC,MAAU,OACjB,OAAS,YAAAC,EAAU,gBAAAC,EAAc,cAAAC,EAAY,kBAAAC,MAAsB,QAEnE,OAAOC,MAAe,iBCAf,SAASC,EAAgBC,EAA4C,CAC3E,OAAI,OAAOA,GAAU,UACbA,EAEAA,IAAU,MAEnB,CD2L2B,cAAAC,EA2D1B,QAAA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,CACJ,EAEA,GAAIT,EAAS,CACZ,IAAMkB,EAAcC,EAAS,KAAKlB,CAAQ,EAC1CmB,EACCC,EAA4BH,CAAW,EACvC,0EACD,EACA,IAAMI,EAAgBJ,EAAY,OAAO,SAEzC,OACC1B,EAAC+B,EAAA,CAAM,GAAGP,EACR,SAAAQ,EACAN,EACA,CAAC,EACD1B,EAACiC,EAAA,CAAa,WAAY1B,EAAY,KAAMc,EAAM,cAAeR,EAC/D,SAAAiB,EACF,CACD,EACD,CAEF,CAEA,OACC9B,EAAC,UAAQ,GAAGwB,EAAa,KAAMR,EAC9B,SAAAhB,EAACiC,EAAA,CAAa,WAAY1B,EAAY,KAAMc,EAAM,cAAeR,EAC/D,SAAAJ,EACF,EACD,CAEF,CACD,EACAL,EAAO,YAAc,SAOrB,IAAM8B,EAAe,CAAC,CAAE,WAAAC,EAAY,SAAAC,EAAU,KAAAC,EAAM,cAAAC,CAAc,IACjEC,EAAC,QACA,UAAWC,EACV,wFACAL,IAAe,QAAU,+BAC1B,EAEC,UAAAE,GAAQI,EAACC,EAAA,CAAK,IAAKL,EAAM,UAAWG,EAAKF,IAAkB,OAAS,YAAY,EAAG,EACnFF,GACF","names":["CircleNotch","Slot","cva","clsx","Children","cloneElement","forwardRef","isValidElement","invariant","parseBooleanish","value","jsx","jsxs","buttonVariants","cva","Button","forwardRef","_ariaDisabled","appearance","asChild","children","className","_disabled","propIcon","iconPlacement","isLoading","priority","type","props","ref","disabled","parseBooleanish","icon","CircleNotch","hasSpecialIconPadding","buttonProps","cx","singleChild","Children","invariant","isValidElement","grandchildren","Slot","cloneElement","InnerContent","InnerContent","appearance","children","icon","iconPlacement","jsxs","clsx","jsx","Icon"]}
@@ -1,2 +0,0 @@
1
- import{a as w}from"./chunk-NREABJ6Y.js";import{a as f}from"./chunk-A5H52ODC.js";import{Warning as R}from"@phosphor-icons/react/Warning";import{createContext as E,forwardRef as v,useContext as L,useRef as g}from"react";import{jsx as i,jsxs as C}from"react/jsx-runtime";var m=v(({children:t,className:s,...r},p)=>{let e=!!t,n=g(null);return e?i(x,{className:s,forwardedRef:p,innerRef:n,...r,children:t}):i(x,{...r,className:s,forwardedRef:p,innerRef:n,children:i(d,{...r})})});m.displayName="Input";var d=v(({"aria-invalid":t,className:s,invalid:r=!1,...p},e)=>{let{"aria-invalid":n,invalid:l,forwardedRef:o,innerRef:a,...u}=L(P),I=n??l??t??r,c={...u,...p,type:p.type??u.type??"text"};return i("div",{className:f("min-w-0 flex-1"),children:i("input",{"aria-invalid":I,className:f("w-full bg-form placeholder:text-placeholder focus:outline-none",s),ref:w(e,o,a),...c})})});d.displayName="InputCapture";var P=E({invalid:!1,innerRef:{current:null}}),x=({"aria-invalid":t,children:s,className:r,forwardedRef:p,innerRef:e,invalid:n,style:l,type:o,...a})=>{let u=t??n;return i(P.Provider,{value:{"aria-invalid":t,invalid:n,type:o,...a,forwardedRef:p,innerRef:e},children:C("div",{"aria-invalid":u,className:f("relative flex h-11 w-full items-center gap-1.5 rounded-md border bg-form px-3 py-2 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-within:outline-none focus-within:ring-4 focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 sm:h-9 sm:text-sm","has-[input:not(:first-child)]:ps-2.5 has-[input:not(:last-child)]:pe-2.5 [&>:not(input)]:shrink-0 [&_svg]:size-6 sm:[&_svg]:size-5","border-form text-strong focus-within:border-accent-600 focus-within:ring-focus-accent",u&&"border-danger-600 pe-2.5 focus-within:border-danger-600 focus-within:ring-focus-danger",r),onClick:()=>{e?.current?.focus()},style:l,children:[s,n&&C("div",{className:"pointer-events-none order-last select-none text-danger-600",children:[i("span",{className:"sr-only",children:["The value entered for the",a.name,"input has failed validation."].filter(Boolean).join(" ")}),i(R,{"aria-hidden":!0,weight:"fill"})]})]})})};import{Eye as W}from"@phosphor-icons/react/Eye";import{EyeClosed as A}from"@phosphor-icons/react/EyeClosed";import N from"clsx";import{forwardRef as B,useEffect as k,useState as T}from"react";import{jsx as M,jsxs as h}from"react/jsx-runtime";var H=B(({maskHiddenValue:t=!1,onBlur:s,onFocus:r,onValueVisibilityChange:p,showValue:e=!1,...n},l)=>{let[o,a]=T(e),u=o?"text":"password",I=o?W:A;k(()=>{a(e)},[e]);let[c,b]=T(!1);return h(m,{onBlur:y=>{b(!1),s?.(y)},onFocus:y=>{b(!0),r?.(y)},type:u,ref:l,...n,children:[M(d,{className:N(t&&!o&&!c&&"max-w-6")}),h("button",{type:"button",tabIndex:-1,className:"ml-1 cursor-pointer bg-inherit p-0 text-body hover:text-strong",onClick:()=>{a(!o),p?.(!o)},children:[h("span",{className:"sr-only",children:["Turn password visibility ",o?"off":"on"]}),M(I,{"aria-hidden":!0})]})]})});H.displayName="PasswordInput";function F(t){return t!=null&&t instanceof HTMLInputElement}export{m as a,d as b,H as c,F as d};
2
- //# sourceMappingURL=chunk-RSEHGHQT.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../packages/input/src/input.tsx","../packages/input/src/password-input.tsx","../packages/input/src/is-input.ts"],"sourcesContent":["import { Warning } from \"@phosphor-icons/react/Warning\";\nimport type { ElementRef, ForwardedRef, InputHTMLAttributes, MutableRefObject, PropsWithChildren } from \"react\";\nimport { createContext, forwardRef, useContext, useRef } from \"react\";\nimport { composeRefs } from \"../../compose-refs\";\nimport { cx } from \"../../cx\";\nimport type { WithAutoComplete, WithInputType, WithInvalid } from \"./types\";\n\ntype BaseProps = WithAutoComplete & WithInputType & WithInvalid;\n\n/**\n * The props for the `Input` component.\n */\ntype InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, \"autoComplete\" | \"type\"> & BaseProps & PropsWithChildren;\n\n/**\n * Used to create interactive controls for web-based forms in order to accept data from the user\n */\nconst Input = forwardRef<HTMLInputElement, InputProps>(({ children, className, ...props }, forwardedRef) => {\n\tconst hasChildren = Boolean(children);\n\tconst innerRef = useRef<ElementRef<\"input\">>(null);\n\n\tif (hasChildren) {\n\t\treturn (\n\t\t\t<InputContainer className={className} forwardedRef={forwardedRef} innerRef={innerRef} {...props}>\n\t\t\t\t{children}\n\t\t\t</InputContainer>\n\t\t);\n\t}\n\n\treturn (\n\t\t<InputContainer {...props} className={className} forwardedRef={forwardedRef} innerRef={innerRef}>\n\t\t\t<InputCapture {...props} />\n\t\t</InputContainer>\n\t);\n});\nInput.displayName = \"Input\";\n\ntype InputCaptureProps = Omit<InputHTMLAttributes<HTMLInputElement>, \"autoComplete\" | \"type\"> & BaseProps;\n\n/**\n * The actual <input /> element that captures user input.\n */\nconst InputCapture = forwardRef<HTMLInputElement, InputCaptureProps>(\n\t({ \"aria-invalid\": _ariaInvalid, className, invalid = false, ...restProps }, ref) => {\n\t\tconst {\n\t\t\t\"aria-invalid\": ctxAriaInvalid,\n\t\t\tinvalid: ctxInvalid,\n\t\t\tforwardedRef: ctxForwardedRef,\n\t\t\tinnerRef: ctxInnerRef,\n\t\t\t...ctx\n\t\t} = useContext(InputContext);\n\t\tconst ariaInvalid = ctxAriaInvalid ?? ctxInvalid ?? _ariaInvalid ?? invalid;\n\t\tconst props = { ...ctx, ...restProps, type: restProps.type ?? ctx.type ?? \"text\" };\n\n\t\treturn (\n\t\t\t// <input\n\t\t\t// \taria-invalid={ariaInvalid}\n\t\t\t// \tclassName={cx(\"min-w-0 flex-1 bg-form placeholder:text-placeholder focus:outline-none\", className)}\n\t\t\t// \tref={composeRefs(ref, ctxForwardedRef, ctxInnerRef)}\n\t\t\t// \t{...props}\n\t\t\t// />\n\t\t\t<div className={cx(\"min-w-0 flex-1\")}>\n\t\t\t\t<input\n\t\t\t\t\taria-invalid={ariaInvalid}\n\t\t\t\t\tclassName={cx(\"w-full bg-form placeholder:text-placeholder focus:outline-none\", className)}\n\t\t\t\t\tref={composeRefs(ref, ctxForwardedRef, ctxInnerRef)}\n\t\t\t\t\t{...props}\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t},\n);\nInputCapture.displayName = \"InputCapture\";\n\ntype InputContextType = Omit<InputHTMLAttributes<HTMLInputElement>, \"autoComplete\" | \"type\"> &\n\tBaseProps & {\n\t\t/**\n\t\t * inner ref for the input element, controlled by `Input`\n\t\t */\n\t\tinnerRef: MutableRefObject<HTMLInputElement | null>;\n\t\t/**\n\t\t * forwarded ref to the input element, forwarded from `Input` to `InputCapture`\n\t\t */\n\t\tforwardedRef?: ForwardedRef<HTMLInputElement>;\n\t};\n\nconst InputContext = createContext<InputContextType>({ invalid: false, innerRef: { current: null } });\n\ntype InputContainerProps = InputHTMLAttributes<HTMLInputElement> &\n\tBaseProps & {\n\t\t/**\n\t\t * @private inner ref for the input element, controlled by `Input`\n\t\t */\n\t\tinnerRef: MutableRefObject<HTMLInputElement | null>;\n\t\t/**\n\t\t * @private ref to the input element, forwarded from `Input` to `InputCapture`\n\t\t */\n\t\tforwardedRef: ForwardedRef<HTMLInputElement>;\n\t};\n\n/**\n * The container for the input element.\n */\nconst InputContainer = ({\n\t\"aria-invalid\": _ariaInvalid,\n\tchildren,\n\tclassName,\n\tforwardedRef,\n\tinnerRef,\n\tinvalid,\n\tstyle,\n\ttype,\n\t...props\n}: InputContainerProps) => {\n\tconst ariaInvalid = _ariaInvalid ?? invalid;\n\n\treturn (\n\t\t<InputContext.Provider\n\t\t\tvalue={{\n\t\t\t\t\"aria-invalid\": _ariaInvalid,\n\t\t\t\tinvalid,\n\t\t\t\ttype,\n\t\t\t\t...props,\n\t\t\t\tforwardedRef,\n\t\t\t\tinnerRef,\n\t\t\t}}\n\t\t>\n\t\t\t<div\n\t\t\t\taria-invalid={ariaInvalid}\n\t\t\t\tclassName={cx(\n\t\t\t\t\t\"relative flex h-11 w-full items-center gap-1.5 rounded-md border bg-form px-3 py-2 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-within:outline-none focus-within:ring-4 focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 sm:h-9 sm:text-sm\",\n\t\t\t\t\t\"has-[input:not(:first-child)]:ps-2.5 has-[input:not(:last-child)]:pe-2.5 [&>:not(input)]:shrink-0 [&_svg]:size-6 sm:[&_svg]:size-5\",\n\t\t\t\t\t\"border-form text-strong focus-within:border-accent-600 focus-within:ring-focus-accent\",\n\t\t\t\t\tariaInvalid && \"border-danger-600 pe-2.5 focus-within:border-danger-600 focus-within:ring-focus-danger\",\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\tonClick={() => {\n\t\t\t\t\tinnerRef?.current?.focus();\n\t\t\t\t}}\n\t\t\t\tstyle={style}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t\t{invalid && (\n\t\t\t\t\t<div className=\"pointer-events-none order-last select-none text-danger-600\">\n\t\t\t\t\t\t<span className=\"sr-only\">\n\t\t\t\t\t\t\t{[\"The value entered for the\", props.name, \"input has failed validation.\"].filter(Boolean).join(\" \")}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<Warning aria-hidden weight=\"fill\" />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t</InputContext.Provider>\n\t);\n};\n\nexport { Input, InputCapture };\nexport type { InputProps, InputCaptureProps };\n","import { Eye } from \"@phosphor-icons/react/Eye\";\nimport { EyeClosed } from \"@phosphor-icons/react/EyeClosed\";\nimport clsx from \"clsx\";\nimport { forwardRef, useEffect, useState } from \"react\";\nimport type { InputHTMLAttributes } from \"react\";\nimport { Input, InputCapture } from \"./input\";\nimport type { InputType, WithAutoComplete, WithInvalid } from \"./types\";\n\ntype PasswordInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, \"autoComplete\" | \"type\"> &\n\tWithInvalid &\n\tWithAutoComplete & {\n\t\t/**\n\t\t * Mask the true length of the password input with a fixed width when the value is hidden and the input is not focused.\n\t\t * @default false\n\t\t */\n\t\tmaskHiddenValue?: boolean;\n\t\t/**\n\t\t * Callback for when the visibility of the password value changes.\n\t\t */\n\t\tonValueVisibilityChange?: (visible: boolean) => void;\n\t\t/**\n\t\t * Show/hide the password value as a controlled state.\n\t\t * @default false\n\t\t */\n\t\tshowValue?: boolean;\n\t};\n\ntype PasswordInputType = Extract<InputType, \"text\" | \"password\">;\n\nconst PasswordInput = forwardRef<HTMLInputElement, PasswordInputProps>(\n\t({ maskHiddenValue = false, onBlur, onFocus, onValueVisibilityChange, showValue = false, ...props }, ref) => {\n\t\tconst [showPassword, setShowPassword] = useState<boolean>(showValue);\n\t\tconst type: PasswordInputType = showPassword ? \"text\" : \"password\";\n\t\tconst EyeCon = showPassword ? Eye : EyeClosed;\n\n\t\tuseEffect(() => {\n\t\t\tsetShowPassword(showValue);\n\t\t}, [showValue]);\n\n\t\tconst [isFocused, setIsFocused] = useState(false);\n\t\tconst shouldMaskHiddenValue = maskHiddenValue && !showPassword && !isFocused;\n\n\t\treturn (\n\t\t\t<Input\n\t\t\t\tonBlur={(event) => {\n\t\t\t\t\tsetIsFocused(false);\n\t\t\t\t\tonBlur?.(event);\n\t\t\t\t}}\n\t\t\t\tonFocus={(event) => {\n\t\t\t\t\tsetIsFocused(true);\n\t\t\t\t\tonFocus?.(event);\n\t\t\t\t}}\n\t\t\t\ttype={type}\n\t\t\t\tref={ref}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t<InputCapture className={clsx(shouldMaskHiddenValue && \"max-w-6\")} />\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\ttabIndex={-1}\n\t\t\t\t\tclassName=\"ml-1 cursor-pointer bg-inherit p-0 text-body hover:text-strong\"\n\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\tsetShowPassword(!showPassword);\n\t\t\t\t\t\tonValueVisibilityChange?.(!showPassword);\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<span className=\"sr-only\">Turn password visibility {showPassword ? \"off\" : \"on\"}</span>\n\t\t\t\t\t<EyeCon aria-hidden />\n\t\t\t\t</button>\n\t\t\t</Input>\n\t\t);\n\t},\n);\nPasswordInput.displayName = \"PasswordInput\";\n\nexport { PasswordInput };\nexport type { PasswordInputProps };\n","/**\n * Type guard for an HTMLInputElement.\n */\nexport function isInput(value: unknown): value is HTMLInputElement {\n\treturn value != null && value instanceof HTMLInputElement;\n}\n"],"mappings":"gFAAA,OAAS,WAAAA,MAAe,gCAExB,OAAS,iBAAAC,EAAe,cAAAC,EAAY,cAAAC,EAAY,UAAAC,MAAc,QAqB3D,cAAAC,EAwHE,QAAAC,MAxHF,oBANH,IAAMC,EAAQC,EAAyC,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAAiB,CAC3G,IAAMC,EAAc,EAAQJ,EACtBK,EAAWC,EAA4B,IAAI,EAEjD,OAAIF,EAEFR,EAACW,EAAA,CAAe,UAAWN,EAAW,aAAcE,EAAc,SAAUE,EAAW,GAAGH,EACxF,SAAAF,EACF,EAKDJ,EAACW,EAAA,CAAgB,GAAGL,EAAO,UAAWD,EAAW,aAAcE,EAAc,SAAUE,EACtF,SAAAT,EAACY,EAAA,CAAc,GAAGN,EAAO,EAC1B,CAEF,CAAC,EACDJ,EAAM,YAAc,QAOpB,IAAMU,EAAeT,EACpB,CAAC,CAAE,eAAgBU,EAAc,UAAAR,EAAW,QAAAS,EAAU,GAAO,GAAGC,CAAU,EAAGC,IAAQ,CACpF,GAAM,CACL,eAAgBC,EAChB,QAASC,EACT,aAAcC,EACd,SAAUC,EACV,GAAGC,CACJ,EAAIC,EAAWC,CAAY,EACrBC,EAAcP,GAAkBC,GAAcL,GAAgBC,EAC9DR,EAAQ,CAAE,GAAGe,EAAK,GAAGN,EAAW,KAAMA,EAAU,MAAQM,EAAI,MAAQ,MAAO,EAEjF,OAOCrB,EAAC,OAAI,UAAWyB,EAAG,gBAAgB,EAClC,SAAAzB,EAAC,SACA,eAAcwB,EACd,UAAWC,EAAG,iEAAkEpB,CAAS,EACzF,IAAKqB,EAAYV,EAAKG,EAAiBC,CAAW,EACjD,GAAGd,EACL,EACD,CAEF,CACD,EACAM,EAAa,YAAc,eAc3B,IAAMW,EAAeI,EAAgC,CAAE,Q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,CAAC,EAEd,GAAM,CAACW,EAAWC,CAAY,EAAIP,EAAS,EAAK,EAGhD,OACCZ,EAACoB,EAAA,CACA,OAASC,GAAU,CAClBF,EAAa,EAAK,EAClBf,IAASiB,CAAK,CACf,EACA,QAAUA,GAAU,CACnBF,EAAa,EAAI,EACjBd,IAAUgB,CAAK,CAChB,EACA,KAAMR,EACN,IAAKJ,EACJ,GAAGD,EAEJ,UAAAT,EAACuB,EAAA,CAAa,UAAWC,EAhBGpB,GAAmB,CAACO,GAAgB,CAACQ,GAgBV,SAAS,EAAG,EACnElB,EAAC,UACA,KAAK,SACL,SAAU,GACV,UAAU,iEACV,QAAS,IAAM,CACdW,EAAgB,CAACD,CAAY,EAC7BJ,IAA0B,CAACI,CAAY,CACxC,EAEA,UAAAV,EAAC,QAAK,UAAU,UAAU,sCAA0BU,EAAe,MAAQ,MAAK,EAChFX,EAACe,EAAA,CAAO,cAAW,GAAC,GACrB,GACD,CAEF,CACD,EACAb,EAAc,YAAc,gBCtErB,SAASuB,EAAQC,EAA2C,CAClE,OAAOA,GAAS,MAAQA,aAAiB,gBAC1C","names":["Warning","createContext","forwardRef","useContext","useRef","jsx","jsxs","Input","forwardRef","children","className","props","forwardedRef","hasChildren","innerRef","useRef","InputContainer","InputCapture","_ariaInvalid","invalid","restProps","ref","ctxAriaInvalid","ctxInvalid","ctxForwardedRef","ctxInnerRef","ctx","useContext","InputContext","ariaInvalid","cx","composeRefs","createContext","style","type","Warning","Eye","EyeClosed","clsx","forwardRef","useEffect","useState","jsx","jsxs","PasswordInput","forwardRef","maskHiddenValue","onBlur","onFocus","onValueVisibilityChange","showValue","props","ref","showPassword","setShowPassword","useState","type","EyeCon","Eye","EyeClosed","useEffect","isFocused","setIsFocused","Input","event","InputCapture","clsx","isInput","value"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../packages/button/src/icon-button.tsx"],"sourcesContent":["import { CircleNotch } from \"@phosphor-icons/react/CircleNotch\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cva } from \"class-variance-authority\";\nimport { Children, cloneElement, forwardRef, isValidElement } from \"react\";\nimport type { ButtonHTMLAttributes, ReactNode } from \"react\";\nimport { cx } from \"../../cx\";\nimport { Icon } from \"../../icon\";\nimport type { VariantProps, WithAsChild } from \"../../types\";\nimport { parseBooleanish } from \"./parse-booleanish\";\n\nconst iconButtonVariants = cva(\n\t\"inline-flex cursor-pointer items-center justify-center rounded-md border focus-within:outline-none focus-visible:ring-4 disabled:cursor-default disabled:opacity-50\",\n\t{\n\t\tvariants: {\n\t\t\t/**\n\t\t\t * Defines the visual style of the Button.\n\t\t\t */\n\t\t\tappearance: {\n\t\t\t\tghost:\n\t\t\t\t\t\"border-transparent text-strong focus-visible:ring-focus-accent enabled:hover:bg-neutral-500/10 enabled:hover:text-strong enabled:active:bg-neutral-500/15 enabled:active:text-strong\",\n\t\t\t\toutlined:\n\t\t\t\t\t\"border-form bg-form text-strong focus-visible:border-accent-600 focus-visible:ring-focus-accent enabled:hover:border-neutral-400 enabled:hover:bg-form-hover enabled:hover:text-strong enabled:active:border-neutral-400 enabled:active:bg-neutral-500/10 enabled:active:text-strong focus-visible:enabled:active:border-accent-600\",\n\t\t\t},\n\t\t\t/**\n\t\t\t * Whether or not the button is in a loading state, default `false`. Setting `isLoading` will\n\t\t\t * replace the `icon` with a spinner.\n\t\t\t * It will also disable user interaction with the button and set `aria-disabled`.\n\t\t\t */\n\t\t\tisLoading: {\n\t\t\t\tfalse: \"\",\n\t\t\t\ttrue: \"opacity-50\",\n\t\t\t},\n\t\t\t/**\n\t\t\t * The size of the IconButton.\n\t\t\t */\n\t\t\tsize: {\n\t\t\t\txs: \"size-7 sm:size-6\",\n\t\t\t\tsm: \"size-9 sm:size-7\",\n\t\t\t\tmd: \"size-11 sm:size-9\",\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tappearance: \"outlined\",\n\t\t\tsize: \"md\",\n\t\t},\n\t},\n);\n\ntype IconButtonVariants = VariantProps<typeof iconButtonVariants>;\n\n/**\n * The props for the `Button` component.\n */\ntype IconButtonProps = ButtonHTMLAttributes<HTMLButtonElement> &\n\tWithAsChild &\n\tIconButtonVariants & {\n\t\t/**\n\t\t * The accessible label for the icon. This label will be visually hidden but announced to screen reader users, similar to alt text for img tags.\n\t\t */\n\t\tlabel: string;\n\t\t/**\n\t\t * An icon to render inside the button. If the `state` is `\"pending\"`, then\n\t\t * the icon will automatically be replaced with a spinner.\n\t\t */\n\t\ticon: ReactNode;\n\t} & (\n\t\t| {\n\t\t\t\t/**\n\t\t\t\t * Use the `asChild` prop to compose Radix's functionality onto alternative\n\t\t\t\t * element types or your own React components.\n\t\t\t\t *\n\t\t\t\t * When `asChild` is set to `true`, mantle will not render a default DOM\n\t\t\t\t * element, instead cloning the component's child and passing it the props and\n\t\t\t\t * behavior required to make it functional.\n\t\t\t\t *\n\t\t\t\t * asChild can be used as deeply as you need to. This means it is a great way\n\t\t\t\t * to compose multiple primitive's behavior together.\n\t\t\t\t *\n\t\t\t\t * @see https://www.radix-ui.com/docs/primitives/guides/composition#composition\n\t\t\t\t */\n\t\t\t\tasChild: true;\n\t\t\t\t/**\n\t\t\t\t * The default behavior of the button. Possible values are: `\"button\"`, `\"submit\"`, and `\"reset\"`.\n\t\t\t\t *\n\t\t\t\t * if `asChild` is NOT used: Unlike the native `<button>` element, this prop is required and has no default value.\n\t\t\t\t *\n\t\t\t\t * If `asChild` IS used: This prop HAS NO EFFECT, is REMOVED, and has no default value. This is because we do not want the `button` `type` to automatically merge with any child anchor `type` attribute because the `anchor` `type` is _strictly different_ than the `button` type, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#type\n\t\t\t\t *\n\t\t\t\t * @enum\n\t\t\t\t * - `\"button\"`: The button has no default behavior, and does nothing when pressed by default. It can have client-side scripts listen to the element's events, which are triggered when the events occur.\n\t\t\t\t * - `\"reset\"`: The button resets all the controls to their initial values.\n\t\t\t\t * - `\"submit\"`: The button submits the form data to the server.\n\t\t\t\t *\n\t\t\t\t * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type\n\t\t\t\t */\n\t\t\t\ttype?: ButtonHTMLAttributes<HTMLButtonElement>[\"type\"];\n\t\t }\n\t\t| {\n\t\t\t\tasChild?: false | undefined;\n\t\t\t\t/**\n\t\t\t\t * The default behavior of the button. Possible values are: `\"button\"`, `\"submit\"`, and `\"reset\"`.\n\t\t\t\t *\n\t\t\t\t * if `asChild` is NOT used: Unlike the native `<button>` element, this prop is required and has no default value.\n\t\t\t\t *\n\t\t\t\t * If `asChild` IS used: This prop HAS NO EFFECT, is REMOVED, and has no default value. This is because we do not want the `button` `type` to automatically merge with any child anchor `type` attribute because the `anchor` `type` is _strictly different_ than the `button` type, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#type\n\t\t\t\t *\n\t\t\t\t * @enum\n\t\t\t\t * - `\"button\"`: The button has no default behavior, and does nothing when pressed by default. It can have client-side scripts listen to the element's events, which are triggered when the events occur.\n\t\t\t\t * - `\"reset\"`: The button resets all the controls to their initial values.\n\t\t\t\t * - `\"submit\"`: The button submits the form data to the server.\n\t\t\t\t *\n\t\t\t\t * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type\n\t\t\t\t */\n\t\t\t\ttype: Exclude<ButtonHTMLAttributes<HTMLButtonElement>[\"type\"], undefined>;\n\t\t }\n\t);\n\n/**\n * Renders a button or a component that looks like a button, an interactive\n * element activated by a user with a mouse, keyboard, finger, voice command, or\n * other assistive technology. Once activated, it then performs an action, such\n * as submitting a form or opening a dialog.\n * Renders only a single icon as children with an accessible, screen-reader-only label.\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button\n */\nconst IconButton = forwardRef<HTMLButtonElement, IconButtonProps>(\n\t(\n\t\t{\n\t\t\t\"aria-disabled\": _ariaDisabled,\n\t\t\tappearance,\n\t\t\tasChild = false,\n\t\t\tchildren,\n\t\t\tclassName,\n\t\t\tdisabled: _disabled,\n\t\t\ticon: propIcon,\n\t\t\tisLoading = false,\n\t\t\tlabel,\n\t\t\tsize,\n\t\t\ttype,\n\t\t\t...props\n\t\t},\n\t\tref,\n\t) => {\n\t\tconst disabled = parseBooleanish(_ariaDisabled ?? _disabled ?? isLoading);\n\t\tconst icon = isLoading ? <CircleNotch className=\"animate-spin\" /> : propIcon;\n\n\t\tconst buttonProps = {\n\t\t\t\"aria-disabled\": disabled,\n\t\t\tclassName: cx(iconButtonVariants({ appearance, isLoading, size }), className),\n\t\t\t\"data-loading\": isLoading,\n\t\t\t\"data-size\": size,\n\t\t\tdisabled,\n\t\t\tref,\n\t\t\t...props,\n\t\t};\n\n\t\tif (asChild) {\n\t\t\tconst singleChild = Children.only(children);\n\t\t\tconst isValidChild = isValidElement(singleChild);\n\n\t\t\treturn <Slot {...buttonProps}>{isValidChild && cloneElement(singleChild, {}, <Icon svg={icon} />)}</Slot>;\n\t\t}\n\n\t\treturn (\n\t\t\t<button {...buttonProps} type={type}>\n\t\t\t\t<span className=\"sr-only\">{label}</span>\n\t\t\t\t<Icon svg={icon} />\n\t\t\t</button>\n\t\t);\n\t},\n);\nIconButton.displayName = \"IconButton\";\n\nexport { IconButton, iconButtonVariants };\nexport type { IconButtonProps };\n"],"mappings":"wHAAA,OAAS,eAAAA,MAAmB,oCAC5B,OAAS,QAAAC,MAAY,uBACrB,OAAS,OAAAC,MAAW,2BACpB,OAAS,YAAAC,EAAU,gBAAAC,EAAc,cAAAC,EAAY,kBAAAC,MAAsB,QA8IxC,cAAAC,EAoBxB,QAAAC,MApBwB,oBAvI3B,IAAMC,EAAqBC,EAC1B,sKACA,CACC,SAAU,CAIT,WAAY,CACX,MACC,uLACD,SACC,qUACF,EAMA,UAAW,CACV,MAAO,GACP,KAAM,YACP,EAIA,KAAM,CACL,GAAI,mBACJ,GAAI,mBACJ,GAAI,mBACL,CACD,EACA,gBAAiB,CAChB,WAAY,WACZ,KAAM,IACP,CACD,CACD,EAgFMC,EAAaC,EAClB,CACC,CACC,gBAAiBC,EACjB,WAAAC,EACA,QAAAC,EAAU,GACV,SAAAC,EACA,UAAAC,EACA,SAAUC,EACV,KAAMC,EACN,UAAAC,EAAY,GACZ,MAAAC,EACA,KAAAC,EACA,KAAAC,EACA,GAAGC,CACJ,EACAC,IACI,CACJ,IAAMC,EAAWC,EAAgBd,GAAiBK,GAAaE,CAAS,EAClEQ,EAAOR,EAAYb,EAACsB,EAAA,CAAY,UAAU,eAAe,EAAKV,EAE9DW,EAAc,CACnB,gBAAiBJ,EACjB,UAAWK,EAAGtB,EAAmB,CAAE,WAAAK,EAAY,UAAAM,EAAW,KAAAE,CAAK,CAAC,EAAGL,CAAS,EAC5E,eAAgBG,EAChB,YAAaE,EACb,SAAAI,EACA,IAAAD,EACA,GAAGD,CACJ,EAEA,GAAIT,EAAS,CACZ,IAAMiB,EAAcC,EAAS,KAAKjB,CAAQ,EACpCkB,EAAeC,EAAeH,CAAW,EAE/C,OAAOzB,EAAC6B,EAAA,CAAM,GAAGN,EAAc,SAAAI,GAAgBG,EAAaL,EAAa,CAAC,EAAGzB,EAAC+B,EAAA,CAAK,IAAKV,EAAM,CAAE,EAAE,CACnG,CAEA,OACCpB,EAAC,UAAQ,GAAGsB,EAAa,KAAMP,EAC9B,UAAAhB,EAAC,QAAK,UAAU,UAAW,SAAAc,EAAM,EACjCd,EAAC+B,EAAA,CAAK,IAAKV,EAAM,GAClB,CAEF,CACD,EACAjB,EAAW,YAAc","names":["CircleNotch","Slot","cva","Children","cloneElement","forwardRef","isValidElement","jsx","jsxs","iconButtonVariants","cva","IconButton","forwardRef","_ariaDisabled","appearance","asChild","children","className","_disabled","propIcon","isLoading","label","size","type","props","ref","disabled","parseBooleanish","icon","CircleNotch","buttonProps","cx","singleChild","Children","isValidChild","isValidElement","Slot","cloneElement","Icon"]}