@stacksjs/components 0.2.345 → 0.2.346

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 (82) hide show
  1. package/dist/{Accordion-kescmd4y.stx → Accordion-py9ntmst.stx} +1 -1
  2. package/dist/{AccordionItem-1q9k2qyc.stx → AccordionItem-asmsqxz9.stx} +1 -1
  3. package/dist/{Audio-tnjd6anm.stx → Audio-byv8kkvt.stx} +1 -1
  4. package/dist/{Avatar-7vegrsg6.stx → Avatar-axrzqsdk.stx} +5 -5
  5. package/dist/{Badge-439n5p0a.stx → Badge-4jxqhkv9.stx} +1 -1
  6. package/dist/{Breadcrumb-7hwnfyyw.stx → Breadcrumb-pach6f1f.stx} +2 -2
  7. package/dist/{ComboboxInput-9q87fb22.stx → ComboboxInput-4jcpvw7e.stx} +1 -1
  8. package/dist/{ComboboxOption-qm38e8e9.stx → ComboboxOption-vnb67p8d.stx} +1 -1
  9. package/dist/{CommandPalette-mkqqep2s.stx → CommandPalette-6rjcgske.stx} +1 -1
  10. package/dist/{CommandPaletteItem-chdw0070.stx → CommandPaletteItem-6rp133ta.stx} +1 -1
  11. package/dist/{DefaultPaymentMethod-v11254p4.stx → DefaultPaymentMethod-r0hcjajr.stx} +1 -1
  12. package/dist/{Drawer-rymajw9v.stx → Drawer-jcdj3qk2.stx} +1 -1
  13. package/dist/{DropdownButton-n6gsmcte.stx → DropdownButton-tx9hb2de.stx} +1 -1
  14. package/dist/{DropdownItem-qs772agw.stx → DropdownItem-wht1vcm5.stx} +1 -1
  15. package/dist/{DropdownItems-yf25hdh1.stx → DropdownItems-v12h6zpf.stx} +1 -1
  16. package/dist/{ListboxButton-w3vfvte7.stx → ListboxButton-t43pp03e.stx} +1 -1
  17. package/dist/{ListboxOption-ea0j02a8.stx → ListboxOption-9c9jpz1n.stx} +1 -1
  18. package/dist/{Login-nmmkt5yd.stx → Login-j3pc04ka.stx} +7 -7
  19. package/dist/{Navigator-7rspzjys.stx → Navigator-1yk1c3pp.stx} +2 -2
  20. package/dist/{NumberInput-54d23rq0.stx → NumberInput-awn66hfs.stx} +5 -5
  21. package/dist/{Pagination-bvk2ss15.stx → Pagination-z9jxnaeq.stx} +3 -3
  22. package/dist/{PasswordInput-3snyppj4.stx → PasswordInput-hradj0xd.stx} +4 -4
  23. package/dist/{PaymentMethods-tttjpa1m.stx → PaymentMethods-z4hhr0kv.stx} +3 -3
  24. package/dist/{PopoverButton-panmcysh.stx → PopoverButton-70th24xc.stx} +1 -1
  25. package/dist/{Progress-cj0z83rx.stx → Progress-bv65bwh8.stx} +2 -2
  26. package/dist/{RadioGroup-jg9s4ttg.stx → RadioGroup-hzz4xep9.stx} +1 -1
  27. package/dist/{RadioGroupOption-zvp0y9sn.stx → RadioGroupOption-7fcgfsah.stx} +1 -1
  28. package/dist/{Select-pj584jza.stx → Select-sbr8dqzn.stx} +3 -3
  29. package/dist/{Signup-wa31mdyc.stx → Signup-77y9ea7t.stx} +6 -6
  30. package/dist/{Spinner-grahbp9a.stx → Spinner-vhnc3y03.stx} +3 -3
  31. package/dist/{StepperStep-xw55xjh0.stx → StepperStep-34kwv0t0.stx} +2 -2
  32. package/dist/{SubscriptionCheckout-5c1cy7az.stx → SubscriptionCheckout-pggq5a4k.stx} +7 -7
  33. package/dist/{TabBarItem-cnxhgy92.stx → TabBarItem-wv2r8496.stx} +1 -1
  34. package/dist/{TableBody-drxyz5jh.stx → TableBody-y49bqb1p.stx} +1 -1
  35. package/dist/{Tabs-esrn6j8p.stx → Tabs-51vr631j.stx} +2 -2
  36. package/dist/{TextInput-9wqzeeg1.stx → TextInput-48ghmccm.stx} +6 -6
  37. package/dist/{Textarea-xwkdg8se.stx → Textarea-dndmk6ah.stx} +3 -3
  38. package/dist/{TwoFactorChallenge-0200pjc0.stx → TwoFactorChallenge-n8fcm5ct.stx} +4 -4
  39. package/dist/{VirtualTable-jhdnq8xe.stx → VirtualTable-kp7b3wyv.stx} +1 -1
  40. package/dist/index.js +2 -2
  41. package/package.json +3 -3
  42. package/src/components/Footer.stx +8 -8
  43. package/src/components/Hero.stx +2 -2
  44. package/src/ui/accordion/Accordion.stx +1 -1
  45. package/src/ui/accordion/AccordionItem.stx +1 -1
  46. package/src/ui/audio/Audio.stx +1 -1
  47. package/src/ui/auth/Login.stx +7 -7
  48. package/src/ui/auth/Signup.stx +6 -6
  49. package/src/ui/auth/TwoFactorChallenge.stx +4 -4
  50. package/src/ui/avatar/Avatar.stx +5 -5
  51. package/src/ui/badge/Badge.stx +1 -1
  52. package/src/ui/breadcrumb/Breadcrumb.stx +2 -2
  53. package/src/ui/combobox/ComboboxInput.stx +1 -1
  54. package/src/ui/combobox/ComboboxOption.stx +1 -1
  55. package/src/ui/command-palette/CommandPalette.stx +1 -1
  56. package/src/ui/command-palette/CommandPaletteItem.stx +1 -1
  57. package/src/ui/drawer/Drawer.stx +1 -1
  58. package/src/ui/dropdown/DropdownButton.stx +1 -1
  59. package/src/ui/dropdown/DropdownItem.stx +1 -1
  60. package/src/ui/dropdown/DropdownItems.stx +1 -1
  61. package/src/ui/input/NumberInput.stx +5 -5
  62. package/src/ui/input/PasswordInput.stx +4 -4
  63. package/src/ui/input/TextInput.stx +6 -6
  64. package/src/ui/listbox/ListboxButton.stx +1 -1
  65. package/src/ui/listbox/ListboxOption.stx +1 -1
  66. package/src/ui/mobile/TabBarItem.stx +1 -1
  67. package/src/ui/navigator/Navigator.stx +2 -2
  68. package/src/ui/pagination/Pagination.stx +3 -3
  69. package/src/ui/payment/DefaultPaymentMethod.stx +1 -1
  70. package/src/ui/payment/PaymentMethods.stx +3 -3
  71. package/src/ui/payment/SubscriptionCheckout.stx +7 -7
  72. package/src/ui/popover/PopoverButton.stx +1 -1
  73. package/src/ui/progress/Progress.stx +2 -2
  74. package/src/ui/radio-group/RadioGroup.stx +1 -1
  75. package/src/ui/radio-group/RadioGroupOption.stx +1 -1
  76. package/src/ui/select/Select.stx +3 -3
  77. package/src/ui/spinner/Spinner.stx +3 -3
  78. package/src/ui/stepper/StepperStep.stx +2 -2
  79. package/src/ui/table/TableBody.stx +1 -1
  80. package/src/ui/tabs/Tabs.stx +2 -2
  81. package/src/ui/textarea/Textarea.stx +3 -3
  82. package/src/ui/virtual-table/VirtualTable.stx +1 -1
@@ -114,10 +114,10 @@ function isActive(index) {
114
114
 
115
115
  function getTabClasses(index) {
116
116
  const isActiveTab = isActive(index)
117
- const base = 'px-4 py-2 font-medium text-sm transition-colors duration-150 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 focus:ring-offset-panel'
117
+ const base = 'px-4 py-2 font-medium text-sm transition-colors duration-150 focus:outline-none focus:ring-2 focus:ring-accent-solid focus:ring-offset-2 focus:ring-offset-panel'
118
118
  if (variant === 'line') {
119
119
  const border = orientation === 'horizontal' ? 'border-b-2' : 'border-r-2'
120
- return `${base} ${border} ${isActiveTab ? 'border-blue-500 text-accent' : 'border-transparent text-fg-muted hover:text-fg hover:border-line-strong'}`
120
+ return `${base} ${border} ${isActiveTab ? 'border-accent text-accent' : 'border-transparent text-fg-muted hover:text-fg hover:border-line-strong'}`
121
121
  }
122
122
  if (variant === 'pills') {
123
123
  return `${base} rounded-control ${isActiveTab ? 'bg-field text-fg shadow-sm' : 'text-fg-muted hover:text-fg'}`
@@ -16,10 +16,10 @@ export const resize = $props.resize || 'vertical'
16
16
  export const className = $props.className || ''
17
17
 
18
18
  const resizeClasses = { none: 'resize-none', vertical: 'resize-y', horizontal: 'resize-x', both: 'resize' }
19
- const baseClasses = 'block w-full border-0 rounded-control shadow-sm ring-1 ring-inset transition-colors duration-200 focus:ring-2 focus:ring-inset px-4 py-2 text-base dark:bg-neutral-700 dark:text-neutral-100'
19
+ const baseClasses = 'block w-full border-0 rounded-control shadow-sm ring-1 ring-inset transition-colors duration-200 focus:ring-2 focus:ring-inset px-4 py-2 text-base bg-field'
20
20
  const stateClasses = error
21
- ? 'ring-danger-line text-danger-fg placeholder-danger-fg-subtle focus:ring-danger-focus'
22
- : 'ring-line-strong text-fg placeholder-fg-subtle focus:ring-accent'
21
+ ? 'ring-danger-line text-danger-fg placeholder-danger focus:ring-danger-focus'
22
+ : 'ring-line-strong text-fg placeholder-fg-soft focus:ring-accent'
23
23
  const disabledClasses = disabled
24
24
  ? 'opacity-50 cursor-not-allowed bg-surface'
25
25
  : readonly
@@ -13,7 +13,7 @@ export const totalHeight = data.length * rowHeight
13
13
  export const containerClasses = `border border-line rounded-panel overflow-hidden ${className}`.trim()
14
14
  export const headerClasses = `bg-surface border-b border-line flex`.trim()
15
15
  export const headerCellClasses = `px-6 py-3 text-left text-xs font-medium text-fg-soft uppercase tracking-wider`.trim()
16
- export const bodyClasses = `overflow-auto bg-white dark:bg-neutral-900`.trim()
16
+ export const bodyClasses = `overflow-auto bg-content`.trim()
17
17
  export const rowClasses = `absolute left-0 right-0 flex border-b border-line ${hoverable ? 'hover:bg-surface-hover' : ''}`.trim()
18
18
  export const cellClasses = `px-6 py-4 text-sm text-fg`.trim()
19
19
  </script>