@dimasbaguspm/versaur 0.0.10 → 0.0.12

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 (180) hide show
  1. package/dist/{calendar-DwRERSxq.js → js/calendar-De5dCVnE.js} +149 -137
  2. package/dist/{enforce-subpath-import.js → js/enforce-subpath-import.js} +29 -13
  3. package/dist/{feedbacks → js/feedbacks}/index.js +1 -1
  4. package/dist/{form-layout-COQbtyW5.js → js/form-layout-BBDs1Y8m.js} +12 -12
  5. package/dist/{forms → js/forms}/index.js +1 -1
  6. package/dist/{index.js → js/index.js} +7 -7
  7. package/dist/{layouts → js/layouts}/index.js +1 -1
  8. package/dist/{menu--hEHXVZf.js → js/menu-Du409VIG.js} +15 -15
  9. package/dist/js/navigation/index.js +5 -0
  10. package/dist/{overlays → js/overlays}/index.js +1 -1
  11. package/dist/{primitive → js/primitive}/index.js +2 -2
  12. package/dist/{skeleton-DwqjRsF-.js → js/skeleton-BNZyaRjo.js} +19 -19
  13. package/dist/{styles.css → js/styles.css} +62 -37
  14. package/dist/{switch-input-DRNFMsqC.js → js/switch-input-B-pwBWbi.js} +266 -262
  15. package/dist/{tabs-KyFmo5cA.js → js/tabs-BbOkYchB.js} +53 -53
  16. package/dist/{tile-BinjKW_i.js → js/tile-6SeBYc08.js} +162 -162
  17. package/dist/types/primitive/anchor/anchor.d.ts +7 -0
  18. package/dist/types/primitive/anchor/index.d.ts +2 -0
  19. package/dist/types/primitive/anchor/types.d.ts +19 -0
  20. package/dist/{primitive → types/primitive}/icon/types.d.ts +1 -1
  21. package/dist/{primitive → types/primitive}/text/types.d.ts +1 -1
  22. package/package.json +17 -17
  23. package/dist/navigation/index.js +0 -5
  24. /package/dist/{drawer-Cn7sreJG.js → js/drawer-Cn7sreJG.js} +0 -0
  25. /package/dist/{index-DOdDlCoL.js → js/index-DOdDlCoL.js} +0 -0
  26. /package/dist/{feedbacks → types/feedbacks}/index.d.ts +0 -0
  27. /package/dist/{feedbacks → types/feedbacks}/loading-indicator/index.d.ts +0 -0
  28. /package/dist/{feedbacks → types/feedbacks}/loading-indicator/loading-indicator.atoms.d.ts +0 -0
  29. /package/dist/{feedbacks → types/feedbacks}/loading-indicator/loading-indicator.d.ts +0 -0
  30. /package/dist/{feedbacks → types/feedbacks}/loading-indicator/types.d.ts +0 -0
  31. /package/dist/{feedbacks → types/feedbacks}/progress-indicator/index.d.ts +0 -0
  32. /package/dist/{feedbacks → types/feedbacks}/progress-indicator/progress-indicator.d.ts +0 -0
  33. /package/dist/{feedbacks → types/feedbacks}/progress-indicator/types.d.ts +0 -0
  34. /package/dist/{feedbacks → types/feedbacks}/skeleton/index.d.ts +0 -0
  35. /package/dist/{feedbacks → types/feedbacks}/skeleton/skeleton.d.ts +0 -0
  36. /package/dist/{feedbacks → types/feedbacks}/skeleton/types.d.ts +0 -0
  37. /package/dist/{forms → types/forms}/calculator-input/calculator-input.atoms.d.ts +0 -0
  38. /package/dist/{forms → types/forms}/calculator-input/calculator-input.d.ts +0 -0
  39. /package/dist/{forms → types/forms}/calculator-input/index.d.ts +0 -0
  40. /package/dist/{forms → types/forms}/calculator-input/types.d.ts +0 -0
  41. /package/dist/{forms → types/forms}/checkbox-input/checkbox-input.atoms.d.ts +0 -0
  42. /package/dist/{forms → types/forms}/checkbox-input/checkbox-input.d.ts +0 -0
  43. /package/dist/{forms → types/forms}/checkbox-input/index.d.ts +0 -0
  44. /package/dist/{forms → types/forms}/checkbox-input/types.d.ts +0 -0
  45. /package/dist/{forms → types/forms}/chip-input/chip-input.atoms.d.ts +0 -0
  46. /package/dist/{forms → types/forms}/chip-input/chip-input.d.ts +0 -0
  47. /package/dist/{forms → types/forms}/chip-input/index.d.ts +0 -0
  48. /package/dist/{forms → types/forms}/chip-input/types.d.ts +0 -0
  49. /package/dist/{forms → types/forms}/date-single-picker-input/date-single-picker-input.atoms.d.ts +0 -0
  50. /package/dist/{forms → types/forms}/date-single-picker-input/date-single-picker-input.d.ts +0 -0
  51. /package/dist/{forms → types/forms}/date-single-picker-input/date-single-picker-input.docked.d.ts +0 -0
  52. /package/dist/{forms → types/forms}/date-single-picker-input/date-single-picker-input.modal.d.ts +0 -0
  53. /package/dist/{forms → types/forms}/date-single-picker-input/index.d.ts +0 -0
  54. /package/dist/{forms → types/forms}/date-single-picker-input/types.d.ts +0 -0
  55. /package/dist/{forms → types/forms}/date-single-picker-input/use-date-single-picker.d.ts +0 -0
  56. /package/dist/{forms → types/forms}/index.d.ts +0 -0
  57. /package/dist/{forms → types/forms}/radio-input/index.d.ts +0 -0
  58. /package/dist/{forms → types/forms}/radio-input/radio-input.atoms.d.ts +0 -0
  59. /package/dist/{forms → types/forms}/radio-input/radio-input.d.ts +0 -0
  60. /package/dist/{forms → types/forms}/radio-input/types.d.ts +0 -0
  61. /package/dist/{forms → types/forms}/segment-multiple-input/index.d.ts +0 -0
  62. /package/dist/{forms → types/forms}/segment-multiple-input/segment-multiple-input.atoms.d.ts +0 -0
  63. /package/dist/{forms → types/forms}/segment-multiple-input/segment-multiple-input.d.ts +0 -0
  64. /package/dist/{forms → types/forms}/segment-multiple-input/types.d.ts +0 -0
  65. /package/dist/{forms → types/forms}/segment-single-input/index.d.ts +0 -0
  66. /package/dist/{forms → types/forms}/segment-single-input/segment-single-input.atoms.d.ts +0 -0
  67. /package/dist/{forms → types/forms}/segment-single-input/segment-single-input.d.ts +0 -0
  68. /package/dist/{forms → types/forms}/segment-single-input/types.d.ts +0 -0
  69. /package/dist/{forms → types/forms}/select-input/index.d.ts +0 -0
  70. /package/dist/{forms → types/forms}/select-input/select-input.d.ts +0 -0
  71. /package/dist/{forms → types/forms}/select-input/types.d.ts +0 -0
  72. /package/dist/{forms → types/forms}/switch-input/index.d.ts +0 -0
  73. /package/dist/{forms → types/forms}/switch-input/switch-input.atoms.d.ts +0 -0
  74. /package/dist/{forms → types/forms}/switch-input/switch-input.d.ts +0 -0
  75. /package/dist/{forms → types/forms}/switch-input/types.d.ts +0 -0
  76. /package/dist/{forms → types/forms}/text-input/index.d.ts +0 -0
  77. /package/dist/{forms → types/forms}/text-input/text-input.d.ts +0 -0
  78. /package/dist/{forms → types/forms}/text-input/types.d.ts +0 -0
  79. /package/dist/{forms → types/forms}/textarea-input/index.d.ts +0 -0
  80. /package/dist/{forms → types/forms}/textarea-input/textarea-input.d.ts +0 -0
  81. /package/dist/{forms → types/forms}/textarea-input/types.d.ts +0 -0
  82. /package/dist/{forms → types/forms}/time-picker-input/index.d.ts +0 -0
  83. /package/dist/{forms → types/forms}/time-picker-input/time-picker-input.atoms.d.ts +0 -0
  84. /package/dist/{forms → types/forms}/time-picker-input/time-picker-input.d.ts +0 -0
  85. /package/dist/{forms → types/forms}/time-picker-input/types.d.ts +0 -0
  86. /package/dist/{index.d.ts → types/index.d.ts} +0 -0
  87. /package/dist/{layouts → types/layouts}/app-bar/app-bar.atoms.d.ts +0 -0
  88. /package/dist/{layouts → types/layouts}/app-bar/app-bar.d.ts +0 -0
  89. /package/dist/{layouts → types/layouts}/app-bar/index.d.ts +0 -0
  90. /package/dist/{layouts → types/layouts}/app-bar/types.d.ts +0 -0
  91. /package/dist/{layouts → types/layouts}/bottom-bar/bottom-bar.atoms.d.ts +0 -0
  92. /package/dist/{layouts → types/layouts}/bottom-bar/bottom-bar.d.ts +0 -0
  93. /package/dist/{layouts → types/layouts}/bottom-bar/index.d.ts +0 -0
  94. /package/dist/{layouts → types/layouts}/bottom-bar/types.d.ts +0 -0
  95. /package/dist/{layouts → types/layouts}/form-layout/form-layout.d.ts +0 -0
  96. /package/dist/{layouts → types/layouts}/form-layout/index.d.ts +0 -0
  97. /package/dist/{layouts → types/layouts}/form-layout/types.d.ts +0 -0
  98. /package/dist/{layouts → types/layouts}/index.d.ts +0 -0
  99. /package/dist/{layouts → types/layouts}/page-layout/index.d.ts +0 -0
  100. /package/dist/{layouts → types/layouts}/page-layout/page-layout.d.ts +0 -0
  101. /package/dist/{layouts → types/layouts}/page-layout/types.d.ts +0 -0
  102. /package/dist/{layouts → types/layouts}/top-bar/index.d.ts +0 -0
  103. /package/dist/{layouts → types/layouts}/top-bar/top-bar.atoms.d.ts +0 -0
  104. /package/dist/{layouts → types/layouts}/top-bar/top-bar.d.ts +0 -0
  105. /package/dist/{layouts → types/layouts}/top-bar/types.d.ts +0 -0
  106. /package/dist/{navigation → types/navigation}/breadcrumbs/breadcrumbs.atoms.d.ts +0 -0
  107. /package/dist/{navigation → types/navigation}/breadcrumbs/breadcrumbs.d.ts +0 -0
  108. /package/dist/{navigation → types/navigation}/breadcrumbs/index.d.ts +0 -0
  109. /package/dist/{navigation → types/navigation}/breadcrumbs/types.d.ts +0 -0
  110. /package/dist/{navigation → types/navigation}/index.d.ts +0 -0
  111. /package/dist/{navigation → types/navigation}/tabs/index.d.ts +0 -0
  112. /package/dist/{navigation → types/navigation}/tabs/tabs.atoms.d.ts +0 -0
  113. /package/dist/{navigation → types/navigation}/tabs/tabs.d.ts +0 -0
  114. /package/dist/{navigation → types/navigation}/tabs/types.d.ts +0 -0
  115. /package/dist/{navigation → types/navigation}/tabs/use-tab-indicator.d.ts +0 -0
  116. /package/dist/{overlays → types/overlays}/drawer/drawer.atoms.d.ts +0 -0
  117. /package/dist/{overlays → types/overlays}/drawer/drawer.d.ts +0 -0
  118. /package/dist/{overlays → types/overlays}/drawer/index.d.ts +0 -0
  119. /package/dist/{overlays → types/overlays}/drawer/types.d.ts +0 -0
  120. /package/dist/{overlays → types/overlays}/index.d.ts +0 -0
  121. /package/dist/{overlays → types/overlays}/menu/index.d.ts +0 -0
  122. /package/dist/{overlays → types/overlays}/menu/menu.atoms.d.ts +0 -0
  123. /package/dist/{overlays → types/overlays}/menu/menu.d.ts +0 -0
  124. /package/dist/{overlays → types/overlays}/menu/types.d.ts +0 -0
  125. /package/dist/{overlays → types/overlays}/menu/use-menu.d.ts +0 -0
  126. /package/dist/{overlays → types/overlays}/modal/index.d.ts +0 -0
  127. /package/dist/{overlays → types/overlays}/modal/modal.atoms.d.ts +0 -0
  128. /package/dist/{overlays → types/overlays}/modal/modal.d.ts +0 -0
  129. /package/dist/{overlays → types/overlays}/modal/types.d.ts +0 -0
  130. /package/dist/{overlays → types/overlays}/modal/use-escape-close.d.ts +0 -0
  131. /package/dist/{overlays → types/overlays}/modal/use-focus-trap.d.ts +0 -0
  132. /package/dist/{primitive → types/primitive}/alert/alert.atoms.d.ts +0 -0
  133. /package/dist/{primitive → types/primitive}/alert/alert.d.ts +0 -0
  134. /package/dist/{primitive → types/primitive}/alert/index.d.ts +0 -0
  135. /package/dist/{primitive → types/primitive}/alert/types.d.ts +0 -0
  136. /package/dist/{primitive → types/primitive}/avatar/avatar.atoms.d.ts +0 -0
  137. /package/dist/{primitive → types/primitive}/avatar/avatar.d.ts +0 -0
  138. /package/dist/{primitive → types/primitive}/avatar/index.d.ts +0 -0
  139. /package/dist/{primitive → types/primitive}/avatar/types.d.ts +0 -0
  140. /package/dist/{primitive → types/primitive}/badge/badge.d.ts +0 -0
  141. /package/dist/{primitive → types/primitive}/badge/index.d.ts +0 -0
  142. /package/dist/{primitive → types/primitive}/badge/types.d.ts +0 -0
  143. /package/dist/{primitive → types/primitive}/brand/brand.atoms.d.ts +0 -0
  144. /package/dist/{primitive → types/primitive}/brand/brand.d.ts +0 -0
  145. /package/dist/{primitive → types/primitive}/brand/index.d.ts +0 -0
  146. /package/dist/{primitive → types/primitive}/brand/types.d.ts +0 -0
  147. /package/dist/{primitive → types/primitive}/button/button.d.ts +0 -0
  148. /package/dist/{primitive → types/primitive}/button/index.d.ts +0 -0
  149. /package/dist/{primitive → types/primitive}/button/types.d.ts +0 -0
  150. /package/dist/{primitive → types/primitive}/button-float/button-float.d.ts +0 -0
  151. /package/dist/{primitive → types/primitive}/button-float/index.d.ts +0 -0
  152. /package/dist/{primitive → types/primitive}/button-float/types.d.ts +0 -0
  153. /package/dist/{primitive → types/primitive}/button-float/use-floating-position.d.ts +0 -0
  154. /package/dist/{primitive → types/primitive}/button-icon/button-icon.d.ts +0 -0
  155. /package/dist/{primitive → types/primitive}/button-icon/index.d.ts +0 -0
  156. /package/dist/{primitive → types/primitive}/button-icon/types.d.ts +0 -0
  157. /package/dist/{primitive → types/primitive}/calculator/calculator.atoms.d.ts +0 -0
  158. /package/dist/{primitive → types/primitive}/calculator/calculator.d.ts +0 -0
  159. /package/dist/{primitive → types/primitive}/calculator/index.d.ts +0 -0
  160. /package/dist/{primitive → types/primitive}/calculator/types.d.ts +0 -0
  161. /package/dist/{primitive → types/primitive}/calculator/use-calculator.d.ts +0 -0
  162. /package/dist/{primitive → types/primitive}/calendar/calendar.d.ts +0 -0
  163. /package/dist/{primitive → types/primitive}/calendar/index.d.ts +0 -0
  164. /package/dist/{primitive → types/primitive}/calendar/types.d.ts +0 -0
  165. /package/dist/{primitive → types/primitive}/icon/icon.d.ts +0 -0
  166. /package/dist/{primitive → types/primitive}/icon/index.d.ts +0 -0
  167. /package/dist/{primitive → types/primitive}/index.d.ts +0 -0
  168. /package/dist/{primitive → types/primitive}/snackbar/index.d.ts +0 -0
  169. /package/dist/{primitive → types/primitive}/snackbar/snackbar.atoms.d.ts +0 -0
  170. /package/dist/{primitive → types/primitive}/snackbar/snackbar.d.ts +0 -0
  171. /package/dist/{primitive → types/primitive}/snackbar/types.d.ts +0 -0
  172. /package/dist/{primitive → types/primitive}/table/index.d.ts +0 -0
  173. /package/dist/{primitive → types/primitive}/table/table.atoms.d.ts +0 -0
  174. /package/dist/{primitive → types/primitive}/table/table.d.ts +0 -0
  175. /package/dist/{primitive → types/primitive}/table/types.d.ts +0 -0
  176. /package/dist/{primitive → types/primitive}/text/index.d.ts +0 -0
  177. /package/dist/{primitive → types/primitive}/text/text.d.ts +0 -0
  178. /package/dist/{primitive → types/primitive}/tile/index.d.ts +0 -0
  179. /package/dist/{primitive → types/primitive}/tile/tile.d.ts +0 -0
  180. /package/dist/{primitive → types/primitive}/tile/types.d.ts +0 -0
@@ -7,6 +7,7 @@ const symbolToSubpath = {
7
7
  Button: 'primitive',
8
8
  ButtonFloat: 'primitive',
9
9
  ButtonIcon: 'primitive',
10
+ Anchor: 'primitive',
10
11
  Avatar: 'primitive',
11
12
  Badge: 'primitive',
12
13
  Brand: 'primitive',
@@ -65,28 +66,43 @@ const rules = {
65
66
  return {
66
67
  ImportDeclaration(node) {
67
68
  if (node.source.value === '@dimasbaguspm/versaur') {
68
- const importSpecifiers = node.specifiers
69
- .filter(s => s.type === 'ImportSpecifier')
70
- .map(s => s.imported.name)
71
- const known = importSpecifiers.find(name => symbolToSubpath[name])
72
- const subpath = known ? symbolToSubpath[known] : null
69
+ const importSpecifiers = node.specifiers.filter(
70
+ s => s.type === 'ImportSpecifier'
71
+ )
72
+ // Group symbols by subpath
73
+ const subpathGroups = {}
74
+ importSpecifiers.forEach(s => {
75
+ const name = s.imported.name
76
+ const subpath = symbolToSubpath[name]
77
+ if (subpath) {
78
+ if (!subpathGroups[subpath]) subpathGroups[subpath] = []
79
+ subpathGroups[subpath].push(name)
80
+ }
81
+ })
82
+ // If no known symbol, fallback to generic message
83
+ const allKnown = Object.keys(subpathGroups).length > 0
73
84
  let message =
74
85
  'Use sub-path import for better tree-shaking (e.g., @dimasbaguspm/versaur/primitive)'
75
- if (subpath) {
76
- message = `Import { ${known} } from '@dimasbaguspm/versaur/${subpath}' instead.`
86
+ if (allKnown) {
87
+ message =
88
+ 'Split imports by sub-path for optimal tree-shaking (e.g., import {A} from .../primitive, {B} from .../overlays)'
77
89
  }
78
90
  context.report({
79
91
  node,
80
92
  message,
81
- suggest: subpath
93
+ suggest: allKnown
82
94
  ? [
83
95
  {
84
- desc: `Change to import { ${known} } from '@dimasbaguspm/versaur/${subpath}'`,
96
+ desc: 'Split imports by sub-path for all symbols',
85
97
  fix(fixer) {
86
- return fixer.replaceText(
87
- node.source,
88
- `'@dimasbaguspm/versaur/${subpath}'`
89
- )
98
+ // Build new import statements
99
+ const newImports = Object.entries(subpathGroups)
100
+ .map(
101
+ ([subpath, names]) =>
102
+ `import { ${names.join(', ')} } from '@dimasbaguspm/versaur/${subpath}';`
103
+ )
104
+ .join('\n')
105
+ return fixer.replaceText(node, newImports)
90
106
  },
91
107
  },
92
108
  ]
@@ -1,4 +1,4 @@
1
- import { L as r, P as s, S as e } from "../skeleton-DwqjRsF-.js";
1
+ import { L as r, P as s, S as e } from "../skeleton-BNZyaRjo.js";
2
2
  export {
3
3
  r as LoadingIndicator,
4
4
  s as ProgressIndicator,
@@ -1,5 +1,5 @@
1
1
  import { c as i, j as o, a as l } from "./index-DOdDlCoL.js";
2
- import * as m from "react";
2
+ import * as p from "react";
3
3
  import { forwardRef as n } from "react";
4
4
  const u = i(
5
5
  "w-full flex flex-wrap items-center px-4 py-3 gap-2 bg-white [&>[data-versaur-appbar-bottom]]:basis-full [&>[data-versaur-appbar-bottom]]:w-full",
@@ -57,7 +57,7 @@ const u = i(
57
57
  "div",
58
58
  {
59
59
  ref: t,
60
- className: l("text-xs text-slate-400 truncate min-w-0", a),
60
+ className: l("text-xs text-ghost-400 truncate min-w-0", a),
61
61
  children: e
62
62
  }
63
63
  )
@@ -124,8 +124,8 @@ const u = i(
124
124
  {
125
125
  variants: {
126
126
  active: {
127
- true: "font-semibold text-coral",
128
- false: "text-slate"
127
+ true: "font-semibold text-primary",
128
+ false: "text-ghost"
129
129
  }
130
130
  },
131
131
  defaultVariants: {
@@ -174,8 +174,8 @@ const u = i(
174
174
  {
175
175
  variants: {
176
176
  active: {
177
- true: "bg-coral/10 text-coral",
178
- false: "hover:text-coral text-ghost"
177
+ true: "bg-primary/10 text-primary",
178
+ false: "hover:text-primary text-ghost"
179
179
  }
180
180
  },
181
181
  defaultVariants: {
@@ -219,18 +219,18 @@ const u = i(
219
219
  NavItem: O,
220
220
  Nav: C,
221
221
  Actions: I
222
- }), P = i("w-full bg-white mx-aut relative", {
222
+ }), P = i("w-full mx-auto relative", {
223
223
  variants: {
224
224
  type: {
225
225
  desktop: "max-w-7xl px-6 py-10",
226
- tablet: "max-w-3xl px-4 py-8",
227
- mobile: "w-full px-2 py-4"
226
+ tablet: "max-w-3xl",
227
+ mobile: "w-full"
228
228
  }
229
229
  },
230
230
  defaultVariants: {
231
231
  type: "desktop"
232
232
  }
233
- }), Q = m.forwardRef(
233
+ }), Q = p.forwardRef(
234
234
  function({ type: a = "desktop", className: t, children: s, ...r }, c) {
235
235
  return /* @__PURE__ */ o.jsx(
236
236
  "div",
@@ -276,13 +276,13 @@ const u = i(
276
276
  }
277
277
  ), $ = n(
278
278
  function({ span: a = 4, className: t, children: s, ...r }, c) {
279
- const p = Math.min(12, Math.max(1, a));
279
+ const m = Math.min(12, Math.max(1, a));
280
280
  return /* @__PURE__ */ o.jsx(
281
281
  "div",
282
282
  {
283
283
  ref: c,
284
284
  className: l(
285
- M({ span: `${p}` }),
285
+ M({ span: `${m}` }),
286
286
  t
287
287
  ),
288
288
  ...r,
@@ -1,4 +1,4 @@
1
- import { C as e, a as n, b as p, D as s, R as u, c as i, S as I, d as c, g as S, j as h, i as l, h as r, e as T, T as g, f as m } from "../switch-input-DRNFMsqC.js";
1
+ import { C as e, a as n, b as p, D as s, R as u, c as i, S as I, d as c, g as S, j as h, i as l, h as r, e as T, T as g, f as m } from "../switch-input-B-pwBWbi.js";
2
2
  export {
3
3
  e as CalculatorInput,
4
4
  n as CheckboxInput,
@@ -1,11 +1,11 @@
1
- import { L as s, P as e, S as r } from "./skeleton-DwqjRsF-.js";
2
- import { A as n, B as p, F as u, P as c, T as i } from "./form-layout-COQbtyW5.js";
3
- import { C as I, a as m, b as T, D as B, R as S, c as x, S as d, d as b, g as f, j as g, i as h, h as C, e as k, T as A, f as P } from "./switch-input-DRNFMsqC.js";
1
+ import { L as s, P as e, S as r } from "./skeleton-BNZyaRjo.js";
2
+ import { A as n, B as p, F as u, P as c, T as i } from "./form-layout-BBDs1Y8m.js";
3
+ import { C as I, a as m, b as T, D as B, R as S, c as x, S as d, d as b, g as f, j as g, i as h, h as C, e as k, T as A, f as P } from "./switch-input-B-pwBWbi.js";
4
4
  import { D as L } from "./drawer-Cn7sreJG.js";
5
- import { M, a as F } from "./menu--hEHXVZf.js";
6
- import { A as R, a as j, B as v, b as q, c as z, S as E, T as G, d as H } from "./tile-BinjKW_i.js";
7
- import { B as K, a as N, C as O, b as Q, I as U, T as V } from "./calendar-DwRERSxq.js";
8
- import { B as X, T as Y } from "./tabs-KyFmo5cA.js";
5
+ import { M, a as F } from "./menu-Du409VIG.js";
6
+ import { A as R, a as j, B as v, b as q, c as z, S as E, T as G, d as H } from "./tile-6SeBYc08.js";
7
+ import { B as K, a as N, C as O, b as Q, I as U, T as V } from "./calendar-De5dCVnE.js";
8
+ import { B as X, T as Y } from "./tabs-BbOkYchB.js";
9
9
  export {
10
10
  R as Alert,
11
11
  n as AppBar,
@@ -1,4 +1,4 @@
1
- import { A as r, B as s, F as t, P as B, T as p } from "../form-layout-COQbtyW5.js";
1
+ import { A as r, B as s, F as t, P as B, T as p } from "../form-layout-BBDs1Y8m.js";
2
2
  export {
3
3
  r as AppBar,
4
4
  s as BottomBar,
@@ -1,6 +1,6 @@
1
1
  import { j as u, a as x, c as y } from "./index-DOdDlCoL.js";
2
- import { forwardRef as f, useEffect as m, useRef as v, useState as M, createContext as j, useContext as k, useId as I } from "react";
3
- const z = f(
2
+ import { forwardRef as m, useEffect as f, useRef as v, useState as M, createContext as j, useContext as k, useId as I } from "react";
3
+ const z = m(
4
4
  ({ className: e, ...t }, n) => /* @__PURE__ */ u.jsx(
5
5
  "div",
6
6
  {
@@ -9,7 +9,7 @@ const z = f(
9
9
  ...t
10
10
  }
11
11
  )
12
- ), D = f(
12
+ ), D = m(
13
13
  ({ className: e, ...t }, n) => /* @__PURE__ */ u.jsx(
14
14
  "div",
15
15
  {
@@ -18,9 +18,9 @@ const z = f(
18
18
  ...t
19
19
  }
20
20
  )
21
- ), V = f(
21
+ ), V = m(
22
22
  ({ className: e, ...t }, n) => /* @__PURE__ */ u.jsx("div", { ref: n, className: x("px-6 py-2", e), ...t })
23
- ), A = f(
23
+ ), A = m(
24
24
  ({ onOverlayClick: e, ...t }, n) => /* @__PURE__ */ u.jsx(
25
25
  "div",
26
26
  {
@@ -75,7 +75,7 @@ const z = f(
75
75
  }
76
76
  );
77
77
  function R(e, t) {
78
- m(() => {
78
+ f(() => {
79
79
  if (t && e.current) {
80
80
  const n = e.current.querySelectorAll(
81
81
  'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
@@ -85,7 +85,7 @@ function R(e, t) {
85
85
  }, [t, e]);
86
86
  }
87
87
  function F(e, t) {
88
- m(() => {
88
+ f(() => {
89
89
  if (!e) return;
90
90
  const n = (o) => {
91
91
  o.key === "Escape" && t();
@@ -104,7 +104,7 @@ const L = 200, T = ({
104
104
  ...s
105
105
  }) => {
106
106
  const d = v(null), c = v(null), [p, l] = M(e), [h, b] = M(!1);
107
- return m(() => {
107
+ return f(() => {
108
108
  if (e)
109
109
  l(!0), b(!1), d.current = document.activeElement;
110
110
  else if (p) {
@@ -167,7 +167,7 @@ const L = 200, T = ({
167
167
  }
168
168
  }
169
169
  ), q = y(
170
- "w-full text-left px-4 rounded-md cursor-pointer transition-colors duration-150 font-medium select-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-coral/70 hover:bg-slate-100 active:bg-slate-200 disabled:opacity-50 disabled:cursor-not-allowed",
170
+ "w-full text-left px-4 rounded-md cursor-pointer transition-colors duration-150 font-medium select-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/70 hover:bg-ghost-100 active:bg-ghost-200 disabled:opacity-50 disabled:cursor-not-allowed",
171
171
  {
172
172
  variants: {
173
173
  variant: {
@@ -184,7 +184,7 @@ const L = 200, T = ({
184
184
  size: "md"
185
185
  }
186
186
  }
187
- ), B = f(
187
+ ), B = m(
188
188
  ({ children: e, ...t }, n) => {
189
189
  const { open: o, triggerRef: r } = w();
190
190
  return /* @__PURE__ */ u.jsx(
@@ -201,7 +201,7 @@ const L = 200, T = ({
201
201
  }
202
202
  );
203
203
  }
204
- ), H = f(
204
+ ), H = m(
205
205
  ({ children: e, className: t, ...n }, o) => {
206
206
  const { open: r, contentRef: a, triggerRef: i, size: s } = w(), d = I();
207
207
  let c = 0, p = 0;
@@ -237,7 +237,7 @@ const L = 200, T = ({
237
237
  }
238
238
  );
239
239
  }
240
- ), K = f(
240
+ ), K = m(
241
241
  ({ children: e, disabled: t, className: n, ...o }, r) => {
242
242
  const { size: a } = w();
243
243
  return /* @__PURE__ */ u.jsx(
@@ -261,7 +261,7 @@ const L = 200, T = ({
261
261
  }
262
262
  );
263
263
  function $(e, t, n, o) {
264
- m(() => {
264
+ f(() => {
265
265
  if (!e) return;
266
266
  function r(a) {
267
267
  !t.current?.contains(a.target) && !n.current?.contains(a.target) && o();
@@ -270,7 +270,7 @@ function $(e, t, n, o) {
270
270
  }, [e, o, t, n]);
271
271
  }
272
272
  function U(e, t) {
273
- m(() => {
273
+ f(() => {
274
274
  if (e && t.current) {
275
275
  const n = t.current.querySelectorAll('[role="menuitem"]');
276
276
  n.length && n[0].focus();
@@ -278,7 +278,7 @@ function U(e, t) {
278
278
  }, [e, t]);
279
279
  }
280
280
  function W(e, t, n, o) {
281
- m(() => {
281
+ f(() => {
282
282
  if (!e || !t.current) return;
283
283
  const r = t.current;
284
284
  function a(i) {
@@ -0,0 +1,5 @@
1
+ import { B as s, T as b } from "../tabs-BbOkYchB.js";
2
+ export {
3
+ s as Breadcrumbs,
4
+ b as Tabs
5
+ };
@@ -1,5 +1,5 @@
1
1
  import { D as o } from "../drawer-Cn7sreJG.js";
2
- import { M as s, a as M } from "../menu--hEHXVZf.js";
2
+ import { M as s, a as M } from "../menu-Du409VIG.js";
3
3
  export {
4
4
  o as Drawer,
5
5
  s as Menu,
@@ -1,5 +1,5 @@
1
- import { A as t, a as o, B as r, b as e, c as n, S as l, T as B, d as c } from "../tile-BinjKW_i.js";
2
- import { B as b, a as d, C as u, b as x, I as A, T as C } from "../calendar-DwRERSxq.js";
1
+ import { A as t, a as o, B as r, b as e, c as n, S as l, T as B, d as c } from "../tile-6SeBYc08.js";
2
+ import { B as b, a as d, C as u, b as x, I as A, T as C } from "../calendar-De5dCVnE.js";
3
3
  export {
4
4
  t as Alert,
5
5
  o as Avatar,
@@ -11,10 +11,10 @@ const p = l(
11
11
  lg: "w-8 h-8 border-4"
12
12
  },
13
13
  color: {
14
- primary: "border-coral border-t-transparent ",
15
- secondary: "border-sage border-t-transparent",
16
- tertiary: "border-mist border-t-transparent",
17
- ghost: "border-slate border-t-transparent",
14
+ primary: "border-primary border-t-transparent ",
15
+ secondary: "border-secondary border-t-transparent",
16
+ tertiary: "border-tertiary border-t-transparent",
17
+ ghost: "border-ghost border-t-transparent",
18
18
  neutral: "border-neutral border-t-transparent",
19
19
  success: "border-success border-t-transparent",
20
20
  info: "border-info border-t-transparent",
@@ -30,10 +30,10 @@ const p = l(
30
30
  ), h = l("relative w-full h-1 overflow-hidden rounded", {
31
31
  variants: {
32
32
  color: {
33
- primary: "bg-coral",
34
- secondary: "bg-sage",
35
- tertiary: "bg-mist",
36
- ghost: "bg-slate",
33
+ primary: "bg-primary",
34
+ secondary: "bg-secondary",
35
+ tertiary: "bg-tertiary",
36
+ ghost: "bg-ghost",
37
37
  neutral: "bg-neutral",
38
38
  success: "bg-success",
39
39
  info: "bg-info",
@@ -50,16 +50,16 @@ const p = l(
50
50
  color: "primary",
51
51
  size: "md"
52
52
  }
53
- }), w = (a) => {
53
+ }), y = (a) => {
54
54
  switch (a) {
55
55
  case "primary":
56
- return "bg-coral";
56
+ return "bg-primary";
57
57
  case "secondary":
58
- return "bg-sage";
58
+ return "bg-secondary";
59
59
  case "tertiary":
60
- return "bg-mist";
60
+ return "bg-tertiary";
61
61
  case "ghost":
62
- return "bg-slate";
62
+ return "bg-ghost";
63
63
  case "neutral":
64
64
  return "bg-neutral";
65
65
  case "success":
@@ -71,9 +71,9 @@ const p = l(
71
71
  case "danger":
72
72
  return "bg-danger";
73
73
  default:
74
- return "bg-coral";
74
+ return "bg-primary";
75
75
  }
76
- }, v = u.forwardRef(
76
+ }, w = u.forwardRef(
77
77
  ({
78
78
  color: a = "primary",
79
79
  size: e = "md",
@@ -90,7 +90,7 @@ const p = l(
90
90
  ...s
91
91
  }
92
92
  )
93
- ), y = u.forwardRef(
93
+ ), v = u.forwardRef(
94
94
  ({
95
95
  color: a = "primary",
96
96
  size: e = "md",
@@ -124,7 +124,7 @@ const p = l(
124
124
  {
125
125
  className: d(
126
126
  "absolute left-0 top-0 h-full w-1/3 animate-loading-bar rounded-full",
127
- w(a)
127
+ y(a)
128
128
  ),
129
129
  "aria-hidden": "true"
130
130
  }
@@ -141,7 +141,7 @@ const p = l(
141
141
  className: s,
142
142
  ...t
143
143
  }, i) => a === "bar" ? /* @__PURE__ */ o.jsx(
144
- y,
144
+ v,
145
145
  {
146
146
  ref: i,
147
147
  color: n,
@@ -151,7 +151,7 @@ const p = l(
151
151
  ...t
152
152
  }
153
153
  ) : /* @__PURE__ */ o.jsx(
154
- v,
154
+ w,
155
155
  {
156
156
  ref: i,
157
157
  color: n,
@@ -1,4 +1,3 @@
1
-
2
1
  @import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');
3
2
  @import 'tailwindcss';
4
3
 
@@ -16,51 +15,79 @@
16
15
  }
17
16
 
18
17
  /* Versaur Design System - Spenicle Color Palette */
18
+
19
19
  @theme {
20
- /* Font Families */
21
20
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
22
21
 
23
- /* Core Colors */
24
- --color-coral: #e07a5f;
25
- --color-coral-soft: #fff8f6;
26
- --color-sage: #81b29a;
27
- --color-sage-soft: #f6fffa;
28
- --color-mist: #84a5c0;
29
- --color-mist-soft: #f5faff;
30
- --color-slate: #3d405b;
31
- --color-slate-soft: #e3e4ea;
32
- --color-cream: #f4f1de;
33
- --color-cream-soft: #fefdfb;
34
- --color-light-gray: #f8f9fa;
35
- --color-light-gray-soft: #fcfcfd;
36
-
37
- /* Semantic Colors */
22
+ /* Primary (Coral) */
23
+ --color-primary: #e07a5f;
24
+ --color-primary-light: #ffd9cb;
25
+ --color-primary-bold: #a95a3a;
26
+ --color-primary-soft: #fff8f6;
27
+
28
+ /* Secondary (Sage) */
29
+ --color-secondary: #81b29a;
30
+ --color-secondary-light: #d9ffe6;
31
+ --color-secondary-bold: #56806b;
32
+ --color-secondary-soft: #f6fffa;
33
+
34
+ /* Tertiary (Mist) */
35
+ --color-tertiary: #84a5c0;
36
+ --color-tertiary-light: #d8ebff;
37
+ --color-tertiary-bold: #5a7a99;
38
+ --color-tertiary-soft: #f5faff;
39
+
40
+ /* Ghost (Slate) */
41
+ --color-ghost: #3d405b;
42
+ --color-ghost-light: #b6b8db;
43
+ --color-ghost-bold: #23243a;
44
+ --color-ghost-soft: #e3e4ea;
45
+
46
+ /* Neutral (Light Gray) */
47
+ --color-neutral: #e9ecef;
48
+ --color-neutral-light: #f4f6f8;
49
+ --color-neutral-bold: #b0b3b8;
50
+ --color-neutral-soft: #f8f9fa;
51
+
52
+ /* Success */
38
53
  --color-success: #6db285;
54
+ --color-success-light: #c8ffdd;
55
+ --color-success-bold: #417a5a;
39
56
  --color-success-soft: #f4fff9;
57
+
58
+ /* Info */
40
59
  --color-info: #6b8fad;
60
+ --color-info-light: #b9e1ff;
61
+ --color-info-bold: #3c5a7a;
41
62
  --color-info-soft: #f0f8ff;
63
+
64
+ /* Warning */
42
65
  --color-warning: #e08a47;
43
- --color-warning-soft: #fff9f2;
66
+ --color-warning-light: #ffdab5;
67
+ --color-warning-bold: #b86a2c;
68
+ --color-warning-soft: #fff1e4;
69
+
70
+ /* Danger */
44
71
  --color-danger: #e06650;
45
- --color-danger-soft: #fff5f4;
72
+ --color-danger-light: #ffbfb3;
73
+ --color-danger-bold: #b83c2a;
74
+ --color-danger-soft: #ffeeeb;
46
75
 
47
76
  /* Background and Foreground */
48
- --color-background: #ffffff; /* White */
49
- --color-foreground: #2d3748; /* Darker Slate */
50
-
51
- /* Button/Component Variants */
52
- --color-primary: #e07a5f; /* Coral */
53
- --color-primary-soft: #fff8f6; /* Soft Coral */
54
- --color-secondary: #81b29a; /* Sage */
55
- --color-secondary-soft: #f6fffa; /* Soft Sage */
56
- --color-tertiary: #84a5c0; /* Mist */
57
- --color-tertiary-soft: #f5faff; /* Soft Mist */
58
- --color-ghost: #3d405b; /* Slate */
59
- --color-ghost-soft: #e3e4ea; /* Soft Slate */
60
- --color-neutral: #e9ecef; /* Light Gray */
61
- --color-neutral-soft: #f8f9fa; /* Soft Light Gray */
62
-
63
- /* Utility Colors */
77
+ --color-background: #ffffff;
78
+ --color-background-light: #f8f9fa;
79
+ --color-background-bold: #e9ecef;
80
+ --color-foreground: #2d3748;
81
+ --color-foreground-light: #6b7280;
82
+ --color-foreground-bold: #1a202c;
83
+
84
+ /* Cream */
85
+ --color-cream: #f4f1de;
86
+ --color-cream-light: #f9f7f3;
87
+ --color-cream-bold: #e2d9b8;
88
+ --color-cream-soft: #f9f7f3;
89
+
90
+ /* Border and Accent */
64
91
  --color-border: #e0e0e0;
65
92
  --color-accent: #84a5c0;
66
93
  }
@@ -108,7 +135,6 @@ Our palette follows these harmonious relationships:
108
135
  animation: loading-bar 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
109
136
  }
110
137
 
111
-
112
138
  @keyframes spin-perfect {
113
139
  100% {
114
140
  transform: rotate(360deg);
@@ -131,4 +157,3 @@ Our palette follows these harmonious relationships:
131
157
  .animate-fab-in {
132
158
  animation: fab-in 0.32s cubic-bezier(0.4, 0, 0.2, 1);
133
159
  }
134
-