@tempots/beatui 1.7.5 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/dist/{ar-Wr6gMs-M.cjs → ar-CEzAem0F.cjs} +1 -1
  2. package/dist/{ar-fdUqbCvM.js → ar-CQieaqsq.js} +1 -1
  3. package/dist/auth/index.cjs.js +1 -1
  4. package/dist/auth/index.es.js +1 -1
  5. package/dist/auth-divider-B8yr-E_b.cjs +1 -0
  6. package/dist/{auth-divider-D9KnNeyF.js → auth-divider-Byh5BWLc.js} +91 -88
  7. package/dist/better-auth/index.cjs.js +1 -1
  8. package/dist/better-auth/index.es.js +27 -26
  9. package/dist/card-BkA7Wvbh.cjs +1 -0
  10. package/dist/card-DX1DwGbL.js +62 -0
  11. package/dist/{colors-C2sgnzFH.js → colors-CyMhfbJi.js} +64 -58
  12. package/dist/{colors-DPCHjRMj.cjs → colors-IXZF9U-s.cjs} +1 -1
  13. package/dist/control-hqEuMzyI.js +343 -0
  14. package/dist/control-muup9GF1.cjs +1 -0
  15. package/dist/custom-validation-BA9iJWl_.cjs +1 -0
  16. package/dist/custom-validation-BOBoUwHY.js +181 -0
  17. package/dist/{de-C5-k5Eov.js → de-CBIwvkAH.js} +1 -1
  18. package/dist/{de-DZqdSEta.cjs → de-DdfxrlT3.cjs} +1 -1
  19. package/dist/deep-merge-8fwp1z4X.js +1346 -0
  20. package/dist/deep-merge-VDGE_HQD.cjs +1 -0
  21. package/dist/duration-input-DmsljXl3.cjs +1 -0
  22. package/dist/{duration-input-D4V_PHIg.js → duration-input-ZQlcqdXU.js} +32 -31
  23. package/dist/{editor-toolbar-group-FpOHrmtx.js → editor-toolbar-group-BNTBMJCe.js} +2 -2
  24. package/dist/{editor-toolbar-group-C_ft_T8D.cjs → editor-toolbar-group-DiMzqYgz.cjs} +1 -1
  25. package/dist/{es-h6jmoF4X.js → es--9HaEj2D.js} +1 -1
  26. package/dist/{es-CJgYfRap.cjs → es-DSdljxFJ.cjs} +1 -1
  27. package/dist/{fa-BuxK837l.js → fa-1Z-akcW7.js} +1 -1
  28. package/dist/{fa-BQ5PzwNY.cjs → fa-BolmeWRT.cjs} +1 -1
  29. package/dist/flyout-CuKFh_T7.js +151 -0
  30. package/dist/flyout-DC_tKaTG.cjs +1 -0
  31. package/dist/{fr-Bv3TG44U.cjs → fr-CODgUuoZ.cjs} +1 -1
  32. package/dist/{fr-BwILQ9G2.js → fr-DhHM9rou.js} +1 -1
  33. package/dist/{he-yC9Sc7JD.js → he-CBamXbGJ.js} +1 -1
  34. package/dist/{he-5LbvgMCC.cjs → he-Juw-dr28.cjs} +1 -1
  35. package/dist/{hi-Da7rcCpP.js → hi-DvvcX-Ra.js} +1 -1
  36. package/dist/{hi-YWhWcG_L.cjs → hi-R749jeg-.cjs} +1 -1
  37. package/dist/{index-CvU9E9wd.js → index-BfQaT5Jy.js} +104 -104
  38. package/dist/{index-XogEKwdt.cjs → index-Dv7nPuwA.cjs} +1 -1
  39. package/dist/index.cjs.js +4 -4
  40. package/dist/index.es.js +6713 -9831
  41. package/dist/{input-container-CyOgiiQD.cjs → input-container-BaWQLWB6.cjs} +1 -1
  42. package/dist/{input-container-8JFB11xN.js → input-container-DCS5oJ4S.js} +4 -4
  43. package/dist/{it-BxOIJE45.cjs → it-DT5oRZDH.cjs} +1 -1
  44. package/dist/{it-Yeklau78.js → it-aV6i8Qxz.js} +1 -1
  45. package/dist/{ja-Dxj9Q5Yd.js → ja-CuLhGnJX.js} +1 -1
  46. package/dist/{ja-CNhjK06P.cjs → ja-CwKaCYLB.cjs} +1 -1
  47. package/dist/json-schema/index.cjs.js +1 -1
  48. package/dist/json-schema/index.es.js +83 -79
  49. package/dist/json-schema-display/index.cjs.js +1 -1
  50. package/dist/json-schema-display/index.es.js +2 -2
  51. package/dist/json-structure/index.cjs.js +1 -1
  52. package/dist/json-structure/index.es.js +74 -72
  53. package/dist/{ko-DgkqcXTs.cjs → ko-Bucro9ID.cjs} +1 -1
  54. package/dist/{ko-gn_MsegK.js → ko-D-66BsEX.js} +1 -1
  55. package/dist/lexical/index.cjs.js +1 -1
  56. package/dist/lexical/index.es.js +5 -5
  57. package/dist/menu-BFLFKceF.cjs +1 -0
  58. package/dist/menu-BO6zqyfq.js +220 -0
  59. package/dist/modal-6Mq3vS5r.js +309 -0
  60. package/dist/modal-d77-TMc4.cjs +1 -0
  61. package/dist/{nl-vHNFtXXb.js → nl-CAny6wvm.js} +1 -1
  62. package/dist/{nl-Dy9lmbBO.cjs → nl-D7vHpehb.cjs} +1 -1
  63. package/dist/notice-BNGx86Yg.js +110 -0
  64. package/dist/notice-iF6zBMq9.cjs +1 -0
  65. package/dist/{oneof-branch-detection-Q_jxvJIA.js → oneof-branch-detection-Bm17RhC2.js} +27 -26
  66. package/dist/oneof-branch-detection-DZ4MrfBp.cjs +1 -0
  67. package/dist/openui/index.cjs.js +9 -0
  68. package/dist/openui/index.es.js +2174 -0
  69. package/dist/password-input-Bipt7Wsu.cjs +1 -0
  70. package/dist/password-input-mkRmrEPq.js +105 -0
  71. package/dist/{pl-BtYbtsmG.cjs → pl-CSiXoOKT.cjs} +1 -1
  72. package/dist/{pl-C0UdHla0.js → pl-rmZLgQ_V.js} +1 -1
  73. package/dist/prosemirror/index.cjs.js +1 -1
  74. package/dist/prosemirror/index.es.js +4 -4
  75. package/dist/{pt-CtNmqQ1X.cjs → pt-CJT-iq4y.cjs} +1 -1
  76. package/dist/{pt-DGKtfN0d.js → pt-DHnajqAi.js} +1 -1
  77. package/dist/{ru-CpXYLt-v.js → ru-C_E8OZNE.js} +1 -1
  78. package/dist/{ru-BaL_NPRU.cjs → ru-G3sr_ctV.cjs} +1 -1
  79. package/dist/slider-input-SLguFA0d.cjs +1 -0
  80. package/dist/slider-input-VYAMm7pE.js +285 -0
  81. package/dist/stepper-24p16Zsv.cjs +1 -0
  82. package/dist/stepper-TlzbfYWa.js +3222 -0
  83. package/dist/tailwind/preset.cjs.js +1 -1
  84. package/dist/tailwind/preset.es.js +38 -40
  85. package/dist/tailwind/vite-plugin.cjs.js +14 -12
  86. package/dist/tailwind/vite-plugin.es.js +317 -246
  87. package/dist/text-area-BdemKQ_w.cjs +1 -0
  88. package/dist/text-area-Br83-_PQ.js +431 -0
  89. package/dist/{text-input-NJypZSnE.js → text-input-ByuxdX8w.js} +5 -5
  90. package/dist/{text-input-DS5zlXb2.cjs → text-input-MjlUC_9u.cjs} +1 -1
  91. package/dist/{toolbar-BF2L6WKC.js → toolbar-CEBTTjHh.js} +1 -1
  92. package/dist/{toolbar-BBwfe8U9.cjs → toolbar-DWawYFFX.cjs} +1 -1
  93. package/dist/{tr-DwOd87oB.cjs → tr-DcxLHHTC.cjs} +1 -1
  94. package/dist/{tr-DIFZDFW_.js → tr-bVXwloKC.js} +1 -1
  95. package/dist/{translations-EwEmHe3v.cjs → translations-D3xqZUTA.cjs} +1 -1
  96. package/dist/{translations-BCMP-h52.js → translations-DU9wTV1y.js} +20 -19
  97. package/dist/{translations-5cXBrENb.js → translations-RT_UN8ny.js} +1 -1
  98. package/dist/{translations-BqWc0ZHz.cjs → translations-qljG2Chq.cjs} +1 -1
  99. package/dist/types/components/navigation/stepper.d.ts +4 -4
  100. package/dist/types/openui/index.d.ts +28 -0
  101. package/dist/types/openui/library/define-component.d.ts +15 -0
  102. package/dist/types/openui/library/library.d.ts +7 -0
  103. package/dist/types/openui/library/prompt-generator.d.ts +5 -0
  104. package/dist/types/openui/library/types.d.ts +33 -0
  105. package/dist/types/openui/parser/parser.d.ts +8 -0
  106. package/dist/types/openui/parser/streaming-parser.d.ts +14 -0
  107. package/dist/types/openui/parser/tokenizer.d.ts +9 -0
  108. package/dist/types/openui/parser/types.d.ts +46 -0
  109. package/dist/types/openui/registry/button.d.ts +148 -0
  110. package/dist/types/openui/registry/data.d.ts +177 -0
  111. package/dist/types/openui/registry/form.d.ts +65 -0
  112. package/dist/types/openui/registry/format.d.ts +67 -0
  113. package/dist/types/openui/registry/index.d.ts +9 -0
  114. package/dist/types/openui/registry/layout.d.ts +45 -0
  115. package/dist/types/openui/registry/navigation.d.ts +149 -0
  116. package/dist/types/openui/registry/overlay.d.ts +56 -0
  117. package/dist/types/openui/registry/typography.d.ts +17 -0
  118. package/dist/types/openui/renderer/action-context.d.ts +24 -0
  119. package/dist/types/openui/renderer/node-resolver.d.ts +9 -0
  120. package/dist/types/openui/renderer/openui-renderer.d.ts +32 -0
  121. package/dist/types/openui/renderer/skeleton.d.ts +2 -0
  122. package/dist/types/openui/streaming/from-fetch.d.ts +7 -0
  123. package/dist/types/openui/streaming/from-sse.d.ts +7 -0
  124. package/dist/types/openui/streaming/from-websocket.d.ts +10 -0
  125. package/dist/types/openui/streaming/types.d.ts +5 -0
  126. package/dist/types/tailwind/preset.d.ts +25 -4
  127. package/dist/types/tailwind/vite-plugin.d.ts +17 -5
  128. package/dist/types/tokens/colors.d.ts +87 -9
  129. package/dist/types/tokens/index.d.ts +7 -6
  130. package/dist/{ur-DBst-TXc.js → ur-Dls2qb4V.js} +1 -1
  131. package/dist/{ur-D9nLchps.cjs → ur-IRQoHh1E.cjs} +1 -1
  132. package/dist/use-form-BZ8vDYOv.cjs +2 -0
  133. package/dist/use-form-DsCzINfm.js +750 -0
  134. package/dist/utils-D3-NApSw.cjs +1 -0
  135. package/dist/utils-Nbh7yQ73.js +105 -0
  136. package/dist/{vi-Dg1aiMr5.cjs → vi-Bi9SvVCP.cjs} +1 -1
  137. package/dist/{vi-DQOJp32U.js → vi-C3mTzj50.js} +1 -1
  138. package/dist/widget-customization-BV6XB2v_.cjs +1 -0
  139. package/dist/widget-customization-Bso45ONQ.js +1198 -0
  140. package/dist/{zh-DPK4HXl2.js → zh-B4JRJBt2.js} +1 -1
  141. package/dist/{zh-tbwSTbmn.cjs → zh-BMU5rYu1.cjs} +1 -1
  142. package/package.json +31 -20
  143. package/dist/auth-divider-CjcrgXmq.cjs +0 -1
  144. package/dist/custom-validation-7por5nJN.js +0 -488
  145. package/dist/custom-validation-CLscGHY4.cjs +0 -1
  146. package/dist/deep-merge-D90SW1Ci.cjs +0 -1
  147. package/dist/deep-merge-DT2H9AGq.js +0 -1765
  148. package/dist/duration-input-4AQnQpyo.cjs +0 -1
  149. package/dist/menu-B60Q9j3-.cjs +0 -1
  150. package/dist/menu-BkqFGcXg.js +0 -366
  151. package/dist/notice-CQGJyZ8o.js +0 -211
  152. package/dist/notice-p2IqXS5-.cjs +0 -1
  153. package/dist/oneof-branch-detection-xDDDdYRk.cjs +0 -1
  154. package/dist/use-form-8NnZ-KHk.js +0 -1090
  155. package/dist/use-form-Dcra7GeE.cjs +0 -2
  156. package/dist/utils-DmEuG3Np.cjs +0 -1
  157. package/dist/utils-vUtP6iPG.js +0 -165
  158. package/dist/widget-customization-BIBva3f-.js +0 -1458
  159. package/dist/widget-customization-pqmtsraC.cjs +0 -1
@@ -1,10 +1,11 @@
1
1
  import { prop as b, computedOf as _, makeProviderMark as E, Task as U, Provide as D, When as k, Empty as O, Unless as B, Use as L, html as i, attr as d, Ensure as v, OneOfValue as M, Fragment as T, NotEmpty as N, ForEach as $, on as P } from "@tempots/dom";
2
- import { b as V, d as x } from "../auth-divider-D9KnNeyF.js";
3
- import { m as z } from "../translations-BCMP-h52.js";
4
- import { N as g, P as j, E as q } from "../notice-CQGJyZ8o.js";
2
+ import { b as V, d as x } from "../auth-divider-Byh5BWLc.js";
3
+ import { m as z } from "../translations-DU9wTV1y.js";
4
+ import { N as g } from "../notice-BNGx86Yg.js";
5
5
  import { S as C } from "../stack-BLMteGTn.js";
6
- import { B as y } from "../input-container-8JFB11xN.js";
7
- import { T as A } from "../text-input-NJypZSnE.js";
6
+ import { B as y } from "../input-container-DCS5oJ4S.js";
7
+ import { T as A } from "../text-input-ByuxdX8w.js";
8
+ import { P as j, E as q } from "../password-input-mkRmrEPq.js";
8
9
  function I(t, e) {
9
10
  if (t.error) {
10
11
  e.onError?.({
@@ -192,7 +193,7 @@ function Q(t, e = {}) {
192
193
  dispose: h
193
194
  };
194
195
  }
195
- const ie = {
196
+ const ce = {
196
197
  mark: E("BetterAuth"),
197
198
  create: (t) => {
198
199
  if (!t)
@@ -204,9 +205,9 @@ const ie = {
204
205
  };
205
206
  }
206
207
  };
207
- function ce(t, e, ...a) {
208
+ function le(t, e, ...a) {
208
209
  return U(
209
- () => import("../translations-5cXBrENb.js").then((s) => s.t),
210
+ () => import("../translations-RT_UN8ny.js").then((s) => s.t),
210
211
  ({ AuthI18n: s }) => D(
211
212
  s,
212
213
  {},
@@ -214,19 +215,19 @@ function ce(t, e, ...a) {
214
215
  )
215
216
  );
216
217
  }
217
- function le(t, e) {
218
+ function ue(t, e) {
218
219
  return x(
219
220
  (a) => e((s) => a({ ...t.containerOptions, ...s }))
220
221
  );
221
222
  }
222
- function ue(t, e) {
223
+ function de(t, e) {
223
224
  return k(
224
225
  t.isPending,
225
226
  e.loading ?? (() => O),
226
227
  () => k(t.isAuthenticated, e.children)
227
228
  );
228
229
  }
229
- function de(t, e) {
230
+ function fe(t, e) {
230
231
  return k(
231
232
  t.isPending,
232
233
  e.loading ?? e.children,
@@ -283,7 +284,7 @@ const X = {
283
284
  },
284
285
  providerName: "BetterAuthI18n"
285
286
  });
286
- function fe({
287
+ function me({
287
288
  twoFactor: t,
288
289
  issuer: e,
289
290
  onComplete: a
@@ -397,7 +398,7 @@ function fe({
397
398
  )
398
399
  );
399
400
  }
400
- function me({
401
+ function pe({
401
402
  twoFactor: t,
402
403
  methods: e = ["totp", "backup"],
403
404
  trustDevice: a,
@@ -514,7 +515,7 @@ function me({
514
515
  );
515
516
  });
516
517
  }
517
- function pe({
518
+ function be({
518
519
  client: t,
519
520
  callbackURL: e
520
521
  }) {
@@ -584,7 +585,7 @@ function pe({
584
585
  )
585
586
  );
586
587
  }
587
- function be({
588
+ function we({
588
589
  client: t,
589
590
  autoFill: e,
590
591
  onSuccess: a,
@@ -616,7 +617,7 @@ function be({
616
617
  )
617
618
  );
618
619
  }
619
- function we({
620
+ function he({
620
621
  passkey: t
621
622
  }) {
622
623
  const e = b([]), a = b(null), s = b(!1), o = b("");
@@ -777,17 +778,17 @@ function we({
777
778
  );
778
779
  }
779
780
  export {
780
- ue as Authenticated,
781
- ie as BetterAuth,
782
- ce as BetterAuthContainer,
781
+ de as Authenticated,
782
+ ce as BetterAuth,
783
+ le as BetterAuthContainer,
783
784
  S as BetterAuthI18n,
784
- le as BetterAuthModal,
785
- pe as MagicLinkForm,
786
- we as PasskeyManagement,
787
- be as PasskeySignIn,
788
- fe as TwoFactorSetup,
789
- me as TwoFactorVerify,
790
- de as Unauthenticated,
785
+ ue as BetterAuthModal,
786
+ be as MagicLinkForm,
787
+ he as PasskeyManagement,
788
+ we as PasskeySignIn,
789
+ me as TwoFactorSetup,
790
+ pe as TwoFactorVerify,
791
+ fe as Unauthenticated,
791
792
  Q as createBetterAuthBridge,
792
793
  J as createSessionManager,
793
794
  K as mapSocialProviders
@@ -0,0 +1 @@
1
+ "use strict";const r=require("@tempots/dom");function n(a,d,t){const c=["bc-card"];return a!=="default"&&c.push(`bc-card--${a}`),d!=="md"&&c.push(`bc-card--padding-${d}`),t!=="lg"&&c.push(`bc-card--rounded-${t}`),c.join(" ")}function o({variant:a="default",size:d="md",roundedness:t="lg"}={},...c){return r.html.div(r.attr.class(r.computedOf(a,d,t)((l,e,u)=>n(l??"default",e??"md",u??"lg"))),...c)}function s({class:a}={},...d){return r.html.div(r.attr.class(a!=null?r.Value.map(a,t=>`bc-card__header ${t}`):"bc-card__header"),...d)}function i({class:a}={},...d){return r.html.div(r.attr.class(a!=null?r.Value.map(a,t=>`bc-card__body ${t}`):"bc-card__body"),...d)}function f({class:a}={},...d){return r.html.div(r.attr.class(a!=null?r.Value.map(a,t=>`bc-card__footer ${t}`):"bc-card__footer"),...d)}function m({src:a,alt:d,height:t}){return r.html.img(r.attr.class("bc-card__cover-image"),r.attr.src(a),d!=null?r.attr.alt(d):null,t!=null?r.style.height(t):null)}exports.Card=o;exports.CardBody=i;exports.CardCoverImage=m;exports.CardFooter=f;exports.CardHeader=s;
@@ -0,0 +1,62 @@
1
+ import { html as n, attr as d, computedOf as o, Value as u, style as f } from "@tempots/dom";
2
+ function i(r, a, c) {
3
+ const l = ["bc-card"];
4
+ return r !== "default" && l.push(`bc-card--${r}`), a !== "md" && l.push(`bc-card--padding-${a}`), c !== "lg" && l.push(`bc-card--rounded-${c}`), l.join(" ");
5
+ }
6
+ function _({ variant: r = "default", size: a = "md", roundedness: c = "lg" } = {}, ...l) {
7
+ return n.div(
8
+ d.class(
9
+ o(
10
+ r,
11
+ a,
12
+ c
13
+ )(
14
+ (e, t, s) => i(
15
+ e ?? "default",
16
+ t ?? "md",
17
+ s ?? "lg"
18
+ )
19
+ )
20
+ ),
21
+ ...l
22
+ );
23
+ }
24
+ function m({ class: r } = {}, ...a) {
25
+ return n.div(
26
+ d.class(
27
+ r != null ? u.map(r, (c) => `bc-card__header ${c}`) : "bc-card__header"
28
+ ),
29
+ ...a
30
+ );
31
+ }
32
+ function p({ class: r } = {}, ...a) {
33
+ return n.div(
34
+ d.class(
35
+ r != null ? u.map(r, (c) => `bc-card__body ${c}`) : "bc-card__body"
36
+ ),
37
+ ...a
38
+ );
39
+ }
40
+ function C({ class: r } = {}, ...a) {
41
+ return n.div(
42
+ d.class(
43
+ r != null ? u.map(r, (c) => `bc-card__footer ${c}`) : "bc-card__footer"
44
+ ),
45
+ ...a
46
+ );
47
+ }
48
+ function g({ src: r, alt: a, height: c }) {
49
+ return n.img(
50
+ d.class("bc-card__cover-image"),
51
+ d.src(r),
52
+ a != null ? d.alt(a) : null,
53
+ c != null ? f.height(c) : null
54
+ );
55
+ }
56
+ export {
57
+ _ as C,
58
+ p as a,
59
+ g as b,
60
+ C as c,
61
+ m as d
62
+ };
@@ -1,5 +1,5 @@
1
- import { objectEntries as k } from "@tempots/std";
2
- const b = {
1
+ import { objectEntries as r } from "@tempots/std";
2
+ const i = {
3
3
  red: {
4
4
  50: "oklch(0.971 0.013 17.38)",
5
5
  100: "oklch(0.936 0.032 17.717)",
@@ -286,7 +286,7 @@ const b = {
286
286
  900: "oklch(0.216 0.006 56.043)",
287
287
  950: "oklch(0.147 0.004 49.25)"
288
288
  }
289
- }, g = [
289
+ }, b = [
290
290
  50,
291
291
  100,
292
292
  200,
@@ -306,9 +306,9 @@ const b = {
306
306
  "warning",
307
307
  "danger",
308
308
  "info"
309
- ], E = [
309
+ ], y = [
310
310
  ...n,
311
- ...k(b).map(([o]) => o),
311
+ ...r(i).map(([o]) => o),
312
312
  "black",
313
313
  "white"
314
314
  ], u = {
@@ -340,7 +340,7 @@ const v = {
340
340
  raised: ["base", 600],
341
341
  overlay: ["base", 500]
342
342
  }
343
- }, m = {
343
+ }, f = {
344
344
  light: {
345
345
  normal: ["base", 900],
346
346
  muted: ["base", 500],
@@ -351,7 +351,7 @@ const v = {
351
351
  muted: ["base", 400],
352
352
  inverted: ["base", 900]
353
353
  }
354
- }, C = {
354
+ }, m = {
355
355
  light: {
356
356
  subtle: ["base", 300],
357
357
  muted: ["base", 200],
@@ -370,7 +370,7 @@ const v = {
370
370
  strong: ["base", 400],
371
371
  inverted: ["base", 900]
372
372
  }
373
- }, f = {
373
+ }, C = {
374
374
  light: {
375
375
  focus: ["primary", 700],
376
376
  hover: ["base", 100],
@@ -383,16 +383,16 @@ const v = {
383
383
  }
384
384
  };
385
385
  function p(o, l) {
386
- const t = d(l);
387
- return n.includes(o) ? t[o] : o;
386
+ const a = d(l);
387
+ return n.includes(o) ? a[o] : o;
388
388
  }
389
- function i(o, l) {
389
+ function g(o, l) {
390
390
  return o === "white" ? "--color-white" : o === "black" ? "--color-black" : `--color-${o}-${l}`;
391
391
  }
392
392
  function s(o, l) {
393
- return `var(${i(o, l)})`;
393
+ return `var(${g(o, l)})`;
394
394
  }
395
- const S = {
395
+ const E = {
396
396
  // Special colors that don't follow the standard pattern
397
397
  special: {
398
398
  inherit: {
@@ -465,70 +465,76 @@ const S = {
465
465
  }
466
466
  }
467
467
  };
468
- function x() {
469
- const o = {};
470
- return o["--color-white"] = "white", o["--color-black"] = "black", o["--color-inherit"] = "inherit", k(b).forEach(([l, t]) => {
471
- k(t).forEach(([c, h]) => {
472
- o[i(l, c)] = h;
468
+ function x(o) {
469
+ const l = {};
470
+ if (l["--color-white"] = "white", l["--color-black"] = "black", l["--color-inherit"] = "inherit", r(i).forEach(([a, c]) => {
471
+ r(c).forEach(([h, k]) => {
472
+ l[g(a, h)] = k;
473
473
  });
474
- }), o;
474
+ }), o)
475
+ for (const [a, c] of Object.entries(o))
476
+ for (const h of b)
477
+ l[`--color-${a}-${h}`] = c[h];
478
+ return l;
475
479
  }
476
- function w(o) {
477
- const l = {}, t = d(o);
480
+ function $(o) {
481
+ const l = {}, a = d(
482
+ o
483
+ );
478
484
  return n.forEach((c) => {
479
- const h = p(t[c], o);
480
- g.forEach((r) => {
481
- l[i(c, r)] = s(
482
- h,
483
- r
484
- );
485
+ const h = p(
486
+ a[c],
487
+ o
488
+ );
489
+ b.forEach((k) => {
490
+ l[`--color-${c}-${k}`] = `var(--color-${h}-${k})`;
485
491
  });
486
- }), k(v).forEach(([c, h]) => {
487
- k(h).forEach(([r, [a, e]]) => {
488
- l[`--bg-${r}-${c}`] = s(a, e);
492
+ }), r(v).forEach(([c, h]) => {
493
+ r(h).forEach(([k, [e, t]]) => {
494
+ l[`--bg-${k}-${c}`] = s(e, t);
489
495
  });
490
- }), k(m).forEach(([c, h]) => {
491
- k(h).forEach(([r, [a, e]]) => {
492
- l[`--text-${r}-${c}`] = s(a, e);
496
+ }), r(f).forEach(([c, h]) => {
497
+ r(h).forEach(([k, [e, t]]) => {
498
+ l[`--text-${k}-${c}`] = s(e, t);
493
499
  });
494
- }), k(C).forEach(([c, h]) => {
495
- k(h).forEach(([r, [a, e]]) => {
496
- l[`--border-${r}-${c}`] = s(
497
- a,
498
- e
500
+ }), r(m).forEach(([c, h]) => {
501
+ r(h).forEach(([k, [e, t]]) => {
502
+ l[`--border-${k}-${c}`] = s(
503
+ e,
504
+ t
499
505
  );
500
506
  });
501
- }), k(f).forEach(([c, h]) => {
502
- k(h).forEach(([r, [a, e]]) => {
503
- l[`--interactive-${r}-${c}`] = s(
504
- a,
505
- e
507
+ }), r(C).forEach(([c, h]) => {
508
+ r(h).forEach(([k, [e, t]]) => {
509
+ l[`--interactive-${k}-${c}`] = s(
510
+ e,
511
+ t
506
512
  );
507
513
  });
508
514
  }), l;
509
515
  }
510
- function $() {
516
+ function S(o) {
511
517
  return {
512
- ...x(),
513
- ...w()
518
+ ...x(o),
519
+ ...$()
514
520
  };
515
521
  }
516
522
  export {
517
- x as a,
518
- S as b,
519
- g as c,
520
- w as d,
521
- v as e,
522
- C as f,
523
+ i as a,
524
+ E as b,
525
+ b as c,
526
+ x as d,
527
+ $ as e,
528
+ v as f,
523
529
  s as g,
524
- b as h,
525
- $ as i,
526
- i as j,
527
- f as k,
530
+ m as h,
531
+ S as i,
532
+ g as j,
533
+ C as k,
528
534
  u as l,
529
- E as m,
535
+ y as m,
530
536
  p as n,
531
537
  d as r,
532
538
  n as s,
533
- m as t
539
+ f as t
534
540
  };
@@ -1 +1 @@
1
- "use strict";const k=require("@tempots/std"),b={red:{50:"oklch(0.971 0.013 17.38)",100:"oklch(0.936 0.032 17.717)",200:"oklch(0.885 0.062 18.334)",300:"oklch(0.808 0.114 19.571)",400:"oklch(0.704 0.191 22.216)",500:"oklch(0.637 0.237 25.331)",600:"oklch(0.577 0.245 27.325)",700:"oklch(0.505 0.213 27.518)",800:"oklch(0.444 0.177 26.899)",900:"oklch(0.396 0.141 25.723)",950:"oklch(0.258 0.092 26.042)"},orange:{50:"oklch(0.98 0.016 73.684)",100:"oklch(0.954 0.038 75.164)",200:"oklch(0.901 0.076 70.697)",300:"oklch(0.837 0.128 66.29)",400:"oklch(0.75 0.183 55.934)",500:"oklch(0.705 0.213 47.604)",600:"oklch(0.646 0.222 41.116)",700:"oklch(0.553 0.195 38.402)",800:"oklch(0.47 0.157 37.304)",900:"oklch(0.408 0.123 38.172)",950:"oklch(0.266 0.079 36.259)"},amber:{50:"oklch(0.987 0.022 95.277)",100:"oklch(0.962 0.059 95.617)",200:"oklch(0.924 0.12 95.746)",300:"oklch(0.879 0.169 91.605)",400:"oklch(0.828 0.189 84.429)",500:"oklch(0.769 0.188 70.08)",600:"oklch(0.666 0.179 58.318)",700:"oklch(0.555 0.163 48.998)",800:"oklch(0.473 0.137 46.201)",900:"oklch(0.414 0.112 45.904)",950:"oklch(0.279 0.077 45.635)"},yellow:{50:"oklch(0.987 0.026 102.212)",100:"oklch(0.973 0.071 103.193)",200:"oklch(0.945 0.129 101.54)",300:"oklch(0.905 0.182 98.111)",400:"oklch(0.852 0.199 91.936)",500:"oklch(0.795 0.184 86.047)",600:"oklch(0.681 0.162 75.834)",700:"oklch(0.554 0.135 66.442)",800:"oklch(0.476 0.114 61.907)",900:"oklch(0.421 0.095 57.708)",950:"oklch(0.286 0.066 53.813)"},lime:{50:"oklch(0.986 0.031 120.757)",100:"oklch(0.967 0.067 122.328)",200:"oklch(0.938 0.127 124.321)",300:"oklch(0.897 0.196 126.665)",400:"oklch(0.841 0.238 128.85)",500:"oklch(0.768 0.233 130.85)",600:"oklch(0.648 0.2 131.684)",700:"oklch(0.532 0.157 131.589)",800:"oklch(0.453 0.124 130.933)",900:"oklch(0.405 0.101 131.063)",950:"oklch(0.274 0.072 132.109)"},green:{50:"oklch(0.982 0.018 155.826)",100:"oklch(0.962 0.044 156.743)",200:"oklch(0.925 0.084 155.995)",300:"oklch(0.871 0.15 154.449)",400:"oklch(0.792 0.209 151.711)",500:"oklch(0.723 0.219 149.579)",600:"oklch(0.627 0.194 149.214)",700:"oklch(0.527 0.154 150.069)",800:"oklch(0.448 0.119 151.328)",900:"oklch(0.393 0.095 152.535)",950:"oklch(0.266 0.065 152.934)"},emerald:{50:"oklch(0.979 0.021 166.113)",100:"oklch(0.95 0.052 163.051)",200:"oklch(0.905 0.093 164.15)",300:"oklch(0.845 0.143 164.978)",400:"oklch(0.765 0.177 163.223)",500:"oklch(0.696 0.17 162.48)",600:"oklch(0.596 0.145 163.225)",700:"oklch(0.508 0.118 165.612)",800:"oklch(0.432 0.095 166.913)",900:"oklch(0.378 0.077 168.94)",950:"oklch(0.262 0.051 172.552)"},teal:{50:"oklch(0.984 0.014 180.72)",100:"oklch(0.953 0.051 180.801)",200:"oklch(0.91 0.096 180.426)",300:"oklch(0.855 0.138 181.071)",400:"oklch(0.777 0.152 181.912)",500:"oklch(0.704 0.14 182.503)",600:"oklch(0.6 0.118 184.704)",700:"oklch(0.511 0.096 186.391)",800:"oklch(0.437 0.078 188.216)",900:"oklch(0.386 0.063 188.416)",950:"oklch(0.277 0.046 192.524)"},cyan:{50:"oklch(0.984 0.019 200.873)",100:"oklch(0.956 0.045 203.388)",200:"oklch(0.917 0.08 205.041)",300:"oklch(0.865 0.127 207.078)",400:"oklch(0.789 0.154 211.53)",500:"oklch(0.715 0.143 215.221)",600:"oklch(0.609 0.126 221.723)",700:"oklch(0.52 0.105 223.128)",800:"oklch(0.45 0.085 224.283)",900:"oklch(0.398 0.07 227.392)",950:"oklch(0.302 0.056 229.695)"},sky:{50:"oklch(0.977 0.013 236.62)",100:"oklch(0.951 0.026 236.824)",200:"oklch(0.901 0.058 230.902)",300:"oklch(0.828 0.111 230.318)",400:"oklch(0.746 0.16 232.661)",500:"oklch(0.685 0.169 237.323)",600:"oklch(0.588 0.158 241.966)",700:"oklch(0.5 0.134 242.749)",800:"oklch(0.443 0.11 240.79)",900:"oklch(0.391 0.09 240.876)",950:"oklch(0.293 0.066 243.157)"},blue:{50:"oklch(0.97 0.014 254.604)",100:"oklch(0.932 0.032 255.585)",200:"oklch(0.882 0.059 254.128)",300:"oklch(0.809 0.105 251.813)",400:"oklch(0.707 0.165 254.624)",500:"oklch(0.623 0.214 259.815)",600:"oklch(0.546 0.245 262.881)",700:"oklch(0.488 0.243 264.376)",800:"oklch(0.424 0.199 265.638)",900:"oklch(0.379 0.146 265.522)",950:"oklch(0.282 0.091 267.935)"},indigo:{50:"oklch(0.962 0.018 272.314)",100:"oklch(0.93 0.034 272.788)",200:"oklch(0.87 0.065 274.039)",300:"oklch(0.785 0.115 274.713)",400:"oklch(0.673 0.182 276.935)",500:"oklch(0.585 0.233 277.117)",600:"oklch(0.511 0.262 276.966)",700:"oklch(0.457 0.24 277.023)",800:"oklch(0.398 0.195 277.366)",900:"oklch(0.359 0.144 278.697)",950:"oklch(0.257 0.09 281.288)"},violet:{50:"oklch(0.969 0.016 293.756)",100:"oklch(0.943 0.029 294.588)",200:"oklch(0.894 0.057 293.283)",300:"oklch(0.811 0.111 293.571)",400:"oklch(0.702 0.183 293.541)",500:"oklch(0.606 0.25 292.717)",600:"oklch(0.541 0.281 293.009)",700:"oklch(0.491 0.27 292.581)",800:"oklch(0.432 0.232 292.759)",900:"oklch(0.38 0.189 293.745)",950:"oklch(0.283 0.141 291.089)"},purple:{50:"oklch(0.977 0.014 308.299)",100:"oklch(0.946 0.033 307.174)",200:"oklch(0.902 0.063 306.703)",300:"oklch(0.827 0.119 306.383)",400:"oklch(0.714 0.203 305.504)",500:"oklch(0.627 0.265 303.9)",600:"oklch(0.558 0.288 302.321)",700:"oklch(0.496 0.265 301.924)",800:"oklch(0.438 0.218 303.724)",900:"oklch(0.381 0.176 304.987)",950:"oklch(0.291 0.149 302.717)"},fuchsia:{50:"oklch(0.977 0.017 320.058)",100:"oklch(0.952 0.037 318.852)",200:"oklch(0.903 0.076 319.62)",300:"oklch(0.833 0.145 321.434)",400:"oklch(0.74 0.238 322.16)",500:"oklch(0.667 0.295 322.15)",600:"oklch(0.591 0.293 322.896)",700:"oklch(0.518 0.253 323.949)",800:"oklch(0.452 0.211 324.591)",900:"oklch(0.401 0.17 325.612)",950:"oklch(0.293 0.136 325.661)"},pink:{50:"oklch(0.971 0.014 343.198)",100:"oklch(0.948 0.028 342.258)",200:"oklch(0.899 0.061 343.231)",300:"oklch(0.823 0.12 346.018)",400:"oklch(0.718 0.202 349.761)",500:"oklch(0.656 0.241 354.308)",600:"oklch(0.592 0.249 0.584)",700:"oklch(0.525 0.223 3.958)",800:"oklch(0.459 0.187 3.815)",900:"oklch(0.408 0.153 2.432)",950:"oklch(0.284 0.109 3.907)"},rose:{50:"oklch(0.969 0.015 12.422)",100:"oklch(0.941 0.03 12.58)",200:"oklch(0.892 0.058 10.001)",300:"oklch(0.81 0.117 11.638)",400:"oklch(0.712 0.194 13.428)",500:"oklch(0.645 0.246 16.439)",600:"oklch(0.586 0.253 17.585)",700:"oklch(0.514 0.222 16.935)",800:"oklch(0.455 0.188 13.697)",900:"oklch(0.41 0.159 10.272)",950:"oklch(0.271 0.105 12.094)"},slate:{50:"oklch(0.984 0.003 247.858)",100:"oklch(0.968 0.007 247.896)",200:"oklch(0.929 0.013 255.508)",300:"oklch(0.869 0.022 252.894)",400:"oklch(0.704 0.04 256.788)",500:"oklch(0.554 0.046 257.417)",600:"oklch(0.446 0.043 257.281)",700:"oklch(0.372 0.044 257.287)",800:"oklch(0.279 0.041 260.031)",900:"oklch(0.208 0.042 265.755)",950:"oklch(0.129 0.042 264.695)"},gray:{50:"oklch(0.985 0.002 247.839)",100:"oklch(0.967 0.003 264.542)",200:"oklch(0.928 0.006 264.531)",300:"oklch(0.872 0.01 258.338)",400:"oklch(0.707 0.022 261.325)",500:"oklch(0.551 0.027 264.364)",600:"oklch(0.446 0.03 256.802)",700:"oklch(0.373 0.034 259.733)",800:"oklch(0.278 0.033 256.848)",900:"oklch(0.21 0.034 264.665)",950:"oklch(0.13 0.028 261.692)"},zinc:{50:"oklch(0.985 0 0)",100:"oklch(0.967 0.001 286.375)",200:"oklch(0.92 0.004 286.32)",300:"oklch(0.871 0.006 286.286)",400:"oklch(0.705 0.015 286.067)",500:"oklch(0.552 0.016 285.938)",600:"oklch(0.442 0.017 285.786)",700:"oklch(0.37 0.013 285.805)",800:"oklch(0.274 0.006 286.033)",900:"oklch(0.21 0.006 285.885)",950:"oklch(0.141 0.005 285.823)"},neutral:{50:"oklch(0.985 0 0)",100:"oklch(0.97 0 0)",200:"oklch(0.922 0 0)",300:"oklch(0.87 0 0)",400:"oklch(0.708 0 0)",500:"oklch(0.556 0 0)",600:"oklch(0.439 0 0)",700:"oklch(0.371 0 0)",800:"oklch(0.269 0 0)",900:"oklch(0.205 0 0)",950:"oklch(0.145 0 0)"},stone:{50:"oklch(0.985 0.001 106.423)",100:"oklch(0.97 0.001 106.424)",200:"oklch(0.923 0.003 48.717)",300:"oklch(0.869 0.005 56.366)",400:"oklch(0.709 0.01 56.259)",500:"oklch(0.553 0.013 58.071)",600:"oklch(0.444 0.011 73.639)",700:"oklch(0.374 0.01 67.558)",800:"oklch(0.268 0.007 34.298)",900:"oklch(0.216 0.006 56.043)",950:"oklch(0.147 0.004 49.25)"}},g=[50,100,200,300,400,500,600,700,800,900,950],s=["primary","secondary","base","success","warning","danger","info"],w=[...s,...k.objectEntries(b).map(([o])=>o),"black","white"],u={primary:"blue",secondary:"gray",base:"gray",success:"green",warning:"amber",danger:"red",info:"blue"};function d(o){return{...u,...o}}const C={light:{background:["base",50],surface:["base",100],subtle:["base",200],elevated:["base",300],raised:["base",400],overlay:["base",500]},dark:{background:["base",950],surface:["base",900],subtle:["base",800],elevated:["base",700],raised:["base",600],overlay:["base",500]}},m={light:{normal:["base",900],muted:["base",500],inverted:["base",100]},dark:{normal:["base",100],muted:["base",400],inverted:["base",900]}},v={light:{subtle:["base",300],muted:["base",200],border:["base",200],divider:["base",300],input:["base",300],strong:["base",500],inverted:["base",100]},dark:{subtle:["base",700],muted:["base",800],border:["base",800],divider:["base",600],input:["base",700],strong:["base",400],inverted:["base",900]}},f={light:{focus:["primary",700],hover:["base",100],active:["base",200]},dark:{focus:["primary",300],hover:["base",800],active:["base",700]}};function E(o,l){const n=d(l);return s.includes(o)?n[o]:o}function i(o,l){return o==="white"?"--color-white":o==="black"?"--color-black":`--color-${o}-${l}`}function t(o,l){return`var(${i(o,l)})`}const y={special:{inherit:{backgroundColor:"inherit",color:"inherit"},white:{backgroundColor:"var(--color-white)",color:"var(--color-base-900)"},black:{backgroundColor:"black",color:"var(--color-white)"},transparent:{backgroundColor:"transparent",color:"inherit"}},variants:{solid:{light:{bgShade:600,textColor:"var(--color-white)"},dark:{bgShade:400,textColor:"var(--color-black)"}},soft:{light:{bgShade:300,textColor:"var(--text-normal-light)"},dark:{bgShade:700,textColor:"var(--text-normal-dark)"}},light:{light:{bgShade:100,textColor:"var(--text-normal-light)"},dark:{bgShade:800,textColor:"var(--text-normal-dark)"}},lighter:{light:{bgShade:100,textColor:"var(--text-normal-light)"},dark:{bgShade:900,textColor:"var(--text-normal-dark)"}}},overrides:{white:{light:{backgroundColor:"var(--color-white)",color:"var(--color-base-900)"},dark:{backgroundColor:"var(--color-black)",color:"var(--color-base-100)"}},black:{light:{backgroundColor:"black",color:"var(--color-white)"},dark:{backgroundColor:"black",color:"var(--color-white)"}},transparent:{light:{backgroundColor:"transparent",color:"inherit"},dark:{backgroundColor:"transparent",color:"inherit"}}}};function p(){const o={};return o["--color-white"]="white",o["--color-black"]="black",o["--color-inherit"]="inherit",k.objectEntries(b).forEach(([l,n])=>{k.objectEntries(n).forEach(([c,h])=>{o[i(l,c)]=h})}),o}function x(o){const l={},n=d(o);return s.forEach(c=>{const h=E(n[c],o);g.forEach(r=>{l[i(c,r)]=t(h,r)})}),k.objectEntries(C).forEach(([c,h])=>{k.objectEntries(h).forEach(([r,[e,a]])=>{l[`--bg-${r}-${c}`]=t(e,a)})}),k.objectEntries(m).forEach(([c,h])=>{k.objectEntries(h).forEach(([r,[e,a]])=>{l[`--text-${r}-${c}`]=t(e,a)})}),k.objectEntries(v).forEach(([c,h])=>{k.objectEntries(h).forEach(([r,[e,a]])=>{l[`--border-${r}-${c}`]=t(e,a)})}),k.objectEntries(f).forEach(([c,h])=>{k.objectEntries(h).forEach(([r,[e,a]])=>{l[`--interactive-${r}-${c}`]=t(e,a)})}),l}function S(){return{...p(),...x()}}exports.backgroundConfig=y;exports.bgColors=C;exports.borderColors=v;exports.colorShades=g;exports.colors=b;exports.generateColorVariables=S;exports.generateCoreColorVariables=p;exports.generateSemanticColorVariables=x;exports.getColorVar=t;exports.getColorVarName=i;exports.interactiveColors=f;exports.normalizeColorName=E;exports.resolveSemanticColorMap=d;exports.semanticColorNames=s;exports.semanticColors=u;exports.textColors=m;exports.themeColorNames=w;
1
+ "use strict";const r=require("@tempots/std"),i={red:{50:"oklch(0.971 0.013 17.38)",100:"oklch(0.936 0.032 17.717)",200:"oklch(0.885 0.062 18.334)",300:"oklch(0.808 0.114 19.571)",400:"oklch(0.704 0.191 22.216)",500:"oklch(0.637 0.237 25.331)",600:"oklch(0.577 0.245 27.325)",700:"oklch(0.505 0.213 27.518)",800:"oklch(0.444 0.177 26.899)",900:"oklch(0.396 0.141 25.723)",950:"oklch(0.258 0.092 26.042)"},orange:{50:"oklch(0.98 0.016 73.684)",100:"oklch(0.954 0.038 75.164)",200:"oklch(0.901 0.076 70.697)",300:"oklch(0.837 0.128 66.29)",400:"oklch(0.75 0.183 55.934)",500:"oklch(0.705 0.213 47.604)",600:"oklch(0.646 0.222 41.116)",700:"oklch(0.553 0.195 38.402)",800:"oklch(0.47 0.157 37.304)",900:"oklch(0.408 0.123 38.172)",950:"oklch(0.266 0.079 36.259)"},amber:{50:"oklch(0.987 0.022 95.277)",100:"oklch(0.962 0.059 95.617)",200:"oklch(0.924 0.12 95.746)",300:"oklch(0.879 0.169 91.605)",400:"oklch(0.828 0.189 84.429)",500:"oklch(0.769 0.188 70.08)",600:"oklch(0.666 0.179 58.318)",700:"oklch(0.555 0.163 48.998)",800:"oklch(0.473 0.137 46.201)",900:"oklch(0.414 0.112 45.904)",950:"oklch(0.279 0.077 45.635)"},yellow:{50:"oklch(0.987 0.026 102.212)",100:"oklch(0.973 0.071 103.193)",200:"oklch(0.945 0.129 101.54)",300:"oklch(0.905 0.182 98.111)",400:"oklch(0.852 0.199 91.936)",500:"oklch(0.795 0.184 86.047)",600:"oklch(0.681 0.162 75.834)",700:"oklch(0.554 0.135 66.442)",800:"oklch(0.476 0.114 61.907)",900:"oklch(0.421 0.095 57.708)",950:"oklch(0.286 0.066 53.813)"},lime:{50:"oklch(0.986 0.031 120.757)",100:"oklch(0.967 0.067 122.328)",200:"oklch(0.938 0.127 124.321)",300:"oklch(0.897 0.196 126.665)",400:"oklch(0.841 0.238 128.85)",500:"oklch(0.768 0.233 130.85)",600:"oklch(0.648 0.2 131.684)",700:"oklch(0.532 0.157 131.589)",800:"oklch(0.453 0.124 130.933)",900:"oklch(0.405 0.101 131.063)",950:"oklch(0.274 0.072 132.109)"},green:{50:"oklch(0.982 0.018 155.826)",100:"oklch(0.962 0.044 156.743)",200:"oklch(0.925 0.084 155.995)",300:"oklch(0.871 0.15 154.449)",400:"oklch(0.792 0.209 151.711)",500:"oklch(0.723 0.219 149.579)",600:"oklch(0.627 0.194 149.214)",700:"oklch(0.527 0.154 150.069)",800:"oklch(0.448 0.119 151.328)",900:"oklch(0.393 0.095 152.535)",950:"oklch(0.266 0.065 152.934)"},emerald:{50:"oklch(0.979 0.021 166.113)",100:"oklch(0.95 0.052 163.051)",200:"oklch(0.905 0.093 164.15)",300:"oklch(0.845 0.143 164.978)",400:"oklch(0.765 0.177 163.223)",500:"oklch(0.696 0.17 162.48)",600:"oklch(0.596 0.145 163.225)",700:"oklch(0.508 0.118 165.612)",800:"oklch(0.432 0.095 166.913)",900:"oklch(0.378 0.077 168.94)",950:"oklch(0.262 0.051 172.552)"},teal:{50:"oklch(0.984 0.014 180.72)",100:"oklch(0.953 0.051 180.801)",200:"oklch(0.91 0.096 180.426)",300:"oklch(0.855 0.138 181.071)",400:"oklch(0.777 0.152 181.912)",500:"oklch(0.704 0.14 182.503)",600:"oklch(0.6 0.118 184.704)",700:"oklch(0.511 0.096 186.391)",800:"oklch(0.437 0.078 188.216)",900:"oklch(0.386 0.063 188.416)",950:"oklch(0.277 0.046 192.524)"},cyan:{50:"oklch(0.984 0.019 200.873)",100:"oklch(0.956 0.045 203.388)",200:"oklch(0.917 0.08 205.041)",300:"oklch(0.865 0.127 207.078)",400:"oklch(0.789 0.154 211.53)",500:"oklch(0.715 0.143 215.221)",600:"oklch(0.609 0.126 221.723)",700:"oklch(0.52 0.105 223.128)",800:"oklch(0.45 0.085 224.283)",900:"oklch(0.398 0.07 227.392)",950:"oklch(0.302 0.056 229.695)"},sky:{50:"oklch(0.977 0.013 236.62)",100:"oklch(0.951 0.026 236.824)",200:"oklch(0.901 0.058 230.902)",300:"oklch(0.828 0.111 230.318)",400:"oklch(0.746 0.16 232.661)",500:"oklch(0.685 0.169 237.323)",600:"oklch(0.588 0.158 241.966)",700:"oklch(0.5 0.134 242.749)",800:"oklch(0.443 0.11 240.79)",900:"oklch(0.391 0.09 240.876)",950:"oklch(0.293 0.066 243.157)"},blue:{50:"oklch(0.97 0.014 254.604)",100:"oklch(0.932 0.032 255.585)",200:"oklch(0.882 0.059 254.128)",300:"oklch(0.809 0.105 251.813)",400:"oklch(0.707 0.165 254.624)",500:"oklch(0.623 0.214 259.815)",600:"oklch(0.546 0.245 262.881)",700:"oklch(0.488 0.243 264.376)",800:"oklch(0.424 0.199 265.638)",900:"oklch(0.379 0.146 265.522)",950:"oklch(0.282 0.091 267.935)"},indigo:{50:"oklch(0.962 0.018 272.314)",100:"oklch(0.93 0.034 272.788)",200:"oklch(0.87 0.065 274.039)",300:"oklch(0.785 0.115 274.713)",400:"oklch(0.673 0.182 276.935)",500:"oklch(0.585 0.233 277.117)",600:"oklch(0.511 0.262 276.966)",700:"oklch(0.457 0.24 277.023)",800:"oklch(0.398 0.195 277.366)",900:"oklch(0.359 0.144 278.697)",950:"oklch(0.257 0.09 281.288)"},violet:{50:"oklch(0.969 0.016 293.756)",100:"oklch(0.943 0.029 294.588)",200:"oklch(0.894 0.057 293.283)",300:"oklch(0.811 0.111 293.571)",400:"oklch(0.702 0.183 293.541)",500:"oklch(0.606 0.25 292.717)",600:"oklch(0.541 0.281 293.009)",700:"oklch(0.491 0.27 292.581)",800:"oklch(0.432 0.232 292.759)",900:"oklch(0.38 0.189 293.745)",950:"oklch(0.283 0.141 291.089)"},purple:{50:"oklch(0.977 0.014 308.299)",100:"oklch(0.946 0.033 307.174)",200:"oklch(0.902 0.063 306.703)",300:"oklch(0.827 0.119 306.383)",400:"oklch(0.714 0.203 305.504)",500:"oklch(0.627 0.265 303.9)",600:"oklch(0.558 0.288 302.321)",700:"oklch(0.496 0.265 301.924)",800:"oklch(0.438 0.218 303.724)",900:"oklch(0.381 0.176 304.987)",950:"oklch(0.291 0.149 302.717)"},fuchsia:{50:"oklch(0.977 0.017 320.058)",100:"oklch(0.952 0.037 318.852)",200:"oklch(0.903 0.076 319.62)",300:"oklch(0.833 0.145 321.434)",400:"oklch(0.74 0.238 322.16)",500:"oklch(0.667 0.295 322.15)",600:"oklch(0.591 0.293 322.896)",700:"oklch(0.518 0.253 323.949)",800:"oklch(0.452 0.211 324.591)",900:"oklch(0.401 0.17 325.612)",950:"oklch(0.293 0.136 325.661)"},pink:{50:"oklch(0.971 0.014 343.198)",100:"oklch(0.948 0.028 342.258)",200:"oklch(0.899 0.061 343.231)",300:"oklch(0.823 0.12 346.018)",400:"oklch(0.718 0.202 349.761)",500:"oklch(0.656 0.241 354.308)",600:"oklch(0.592 0.249 0.584)",700:"oklch(0.525 0.223 3.958)",800:"oklch(0.459 0.187 3.815)",900:"oklch(0.408 0.153 2.432)",950:"oklch(0.284 0.109 3.907)"},rose:{50:"oklch(0.969 0.015 12.422)",100:"oklch(0.941 0.03 12.58)",200:"oklch(0.892 0.058 10.001)",300:"oklch(0.81 0.117 11.638)",400:"oklch(0.712 0.194 13.428)",500:"oklch(0.645 0.246 16.439)",600:"oklch(0.586 0.253 17.585)",700:"oklch(0.514 0.222 16.935)",800:"oklch(0.455 0.188 13.697)",900:"oklch(0.41 0.159 10.272)",950:"oklch(0.271 0.105 12.094)"},slate:{50:"oklch(0.984 0.003 247.858)",100:"oklch(0.968 0.007 247.896)",200:"oklch(0.929 0.013 255.508)",300:"oklch(0.869 0.022 252.894)",400:"oklch(0.704 0.04 256.788)",500:"oklch(0.554 0.046 257.417)",600:"oklch(0.446 0.043 257.281)",700:"oklch(0.372 0.044 257.287)",800:"oklch(0.279 0.041 260.031)",900:"oklch(0.208 0.042 265.755)",950:"oklch(0.129 0.042 264.695)"},gray:{50:"oklch(0.985 0.002 247.839)",100:"oklch(0.967 0.003 264.542)",200:"oklch(0.928 0.006 264.531)",300:"oklch(0.872 0.01 258.338)",400:"oklch(0.707 0.022 261.325)",500:"oklch(0.551 0.027 264.364)",600:"oklch(0.446 0.03 256.802)",700:"oklch(0.373 0.034 259.733)",800:"oklch(0.278 0.033 256.848)",900:"oklch(0.21 0.034 264.665)",950:"oklch(0.13 0.028 261.692)"},zinc:{50:"oklch(0.985 0 0)",100:"oklch(0.967 0.001 286.375)",200:"oklch(0.92 0.004 286.32)",300:"oklch(0.871 0.006 286.286)",400:"oklch(0.705 0.015 286.067)",500:"oklch(0.552 0.016 285.938)",600:"oklch(0.442 0.017 285.786)",700:"oklch(0.37 0.013 285.805)",800:"oklch(0.274 0.006 286.033)",900:"oklch(0.21 0.006 285.885)",950:"oklch(0.141 0.005 285.823)"},neutral:{50:"oklch(0.985 0 0)",100:"oklch(0.97 0 0)",200:"oklch(0.922 0 0)",300:"oklch(0.87 0 0)",400:"oklch(0.708 0 0)",500:"oklch(0.556 0 0)",600:"oklch(0.439 0 0)",700:"oklch(0.371 0 0)",800:"oklch(0.269 0 0)",900:"oklch(0.205 0 0)",950:"oklch(0.145 0 0)"},stone:{50:"oklch(0.985 0.001 106.423)",100:"oklch(0.97 0.001 106.424)",200:"oklch(0.923 0.003 48.717)",300:"oklch(0.869 0.005 56.366)",400:"oklch(0.709 0.01 56.259)",500:"oklch(0.553 0.013 58.071)",600:"oklch(0.444 0.011 73.639)",700:"oklch(0.374 0.01 67.558)",800:"oklch(0.268 0.007 34.298)",900:"oklch(0.216 0.006 56.043)",950:"oklch(0.147 0.004 49.25)"}},b=[50,100,200,300,400,500,600,700,800,900,950],s=["primary","secondary","base","success","warning","danger","info"],$=[...s,...r.objectEntries(i).map(([o])=>o),"black","white"],u={primary:"blue",secondary:"gray",base:"gray",success:"green",warning:"amber",danger:"red",info:"blue"};function d(o){return{...u,...o}}const C={light:{background:["base",50],surface:["base",100],subtle:["base",200],elevated:["base",300],raised:["base",400],overlay:["base",500]},dark:{background:["base",950],surface:["base",900],subtle:["base",800],elevated:["base",700],raised:["base",600],overlay:["base",500]}},m={light:{normal:["base",900],muted:["base",500],inverted:["base",100]},dark:{normal:["base",100],muted:["base",400],inverted:["base",900]}},v={light:{subtle:["base",300],muted:["base",200],border:["base",200],divider:["base",300],input:["base",300],strong:["base",500],inverted:["base",100]},dark:{subtle:["base",700],muted:["base",800],border:["base",800],divider:["base",600],input:["base",700],strong:["base",400],inverted:["base",900]}},f={light:{focus:["primary",700],hover:["base",100],active:["base",200]},dark:{focus:["primary",300],hover:["base",800],active:["base",700]}};function E(o,l){const e=d(l);return s.includes(o)?e[o]:o}function g(o,l){return o==="white"?"--color-white":o==="black"?"--color-black":`--color-${o}-${l}`}function n(o,l){return`var(${g(o,l)})`}const w={special:{inherit:{backgroundColor:"inherit",color:"inherit"},white:{backgroundColor:"var(--color-white)",color:"var(--color-base-900)"},black:{backgroundColor:"black",color:"var(--color-white)"},transparent:{backgroundColor:"transparent",color:"inherit"}},variants:{solid:{light:{bgShade:600,textColor:"var(--color-white)"},dark:{bgShade:400,textColor:"var(--color-black)"}},soft:{light:{bgShade:300,textColor:"var(--text-normal-light)"},dark:{bgShade:700,textColor:"var(--text-normal-dark)"}},light:{light:{bgShade:100,textColor:"var(--text-normal-light)"},dark:{bgShade:800,textColor:"var(--text-normal-dark)"}},lighter:{light:{bgShade:100,textColor:"var(--text-normal-light)"},dark:{bgShade:900,textColor:"var(--text-normal-dark)"}}},overrides:{white:{light:{backgroundColor:"var(--color-white)",color:"var(--color-base-900)"},dark:{backgroundColor:"var(--color-black)",color:"var(--color-base-100)"}},black:{light:{backgroundColor:"black",color:"var(--color-white)"},dark:{backgroundColor:"black",color:"var(--color-white)"}},transparent:{light:{backgroundColor:"transparent",color:"inherit"},dark:{backgroundColor:"transparent",color:"inherit"}}}};function p(o){const l={};if(l["--color-white"]="white",l["--color-black"]="black",l["--color-inherit"]="inherit",r.objectEntries(i).forEach(([e,c])=>{r.objectEntries(c).forEach(([h,k])=>{l[g(e,h)]=k})}),o)for(const[e,c]of Object.entries(o))for(const h of b)l[`--color-${e}-${h}`]=c[h];return l}function x(o){const l={},e=d(o);return s.forEach(c=>{const h=E(e[c],o);b.forEach(k=>{l[`--color-${c}-${k}`]=`var(--color-${h}-${k})`})}),r.objectEntries(C).forEach(([c,h])=>{r.objectEntries(h).forEach(([k,[a,t]])=>{l[`--bg-${k}-${c}`]=n(a,t)})}),r.objectEntries(m).forEach(([c,h])=>{r.objectEntries(h).forEach(([k,[a,t]])=>{l[`--text-${k}-${c}`]=n(a,t)})}),r.objectEntries(v).forEach(([c,h])=>{r.objectEntries(h).forEach(([k,[a,t]])=>{l[`--border-${k}-${c}`]=n(a,t)})}),r.objectEntries(f).forEach(([c,h])=>{r.objectEntries(h).forEach(([k,[a,t]])=>{l[`--interactive-${k}-${c}`]=n(a,t)})}),l}function y(o){return{...p(o),...x()}}exports.backgroundConfig=w;exports.bgColors=C;exports.borderColors=v;exports.colorShades=b;exports.colors=i;exports.generateColorVariables=y;exports.generateCoreColorVariables=p;exports.generateSemanticColorVariables=x;exports.getColorVar=n;exports.getColorVarName=g;exports.interactiveColors=f;exports.normalizeColorName=E;exports.resolveSemanticColorMap=d;exports.semanticColorNames=s;exports.semanticColors=u;exports.textColors=m;exports.themeColorNames=$;