reactjs-tiptap-editor 1.0.12 → 1.0.13

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/lib/{ActionMenuButton-CPPHERbq.cjs → ActionMenuButton-DNj0f_A4.cjs} +1 -1
  2. package/lib/{ActionMenuButton-BKqin6Kz.js → ActionMenuButton-l5rSmAO_.js} +11 -11
  3. package/lib/Attachment.cjs +1 -1
  4. package/lib/Attachment.js +6 -6
  5. package/lib/Blockquote.cjs +1 -1
  6. package/lib/Blockquote.js +4 -4
  7. package/lib/Bold.cjs +1 -1
  8. package/lib/Bold.js +4 -4
  9. package/lib/BulletList.cjs +1 -1
  10. package/lib/BulletList.js +4 -4
  11. package/lib/Callout.cjs +1 -0
  12. package/lib/Callout.js +230 -0
  13. package/lib/Clear.cjs +1 -1
  14. package/lib/Clear.js +3 -3
  15. package/lib/Code.cjs +1 -1
  16. package/lib/Code.js +4 -4
  17. package/lib/CodeBlock.cjs +20 -20
  18. package/lib/CodeBlock.js +90 -89
  19. package/lib/CodeView.cjs +1 -1
  20. package/lib/CodeView.js +4 -4
  21. package/lib/Color.cjs +1 -1
  22. package/lib/Color.js +6 -6
  23. package/lib/Column.cjs +1 -1
  24. package/lib/Column.js +4 -4
  25. package/lib/{Drawer-DUPsBE0H.js → Drawer-Cbi_MURj.js} +16 -16
  26. package/lib/{Drawer-fplzqNI6.cjs → Drawer-DKU32YW_.cjs} +1 -1
  27. package/lib/Drawer.cjs +1 -1
  28. package/lib/Drawer.js +3 -3
  29. package/lib/Emoji.cjs +1 -1
  30. package/lib/Emoji.js +16 -16
  31. package/lib/{Excalidraw-BEzpvRLx.js → Excalidraw-CWrVL5hs.js} +30 -30
  32. package/lib/{Excalidraw-qjnQspLq.cjs → Excalidraw-Kb-TRcWY.cjs} +1 -1
  33. package/lib/Excalidraw.cjs +1 -1
  34. package/lib/Excalidraw.js +2 -2
  35. package/lib/ExportPdf.cjs +1 -1
  36. package/lib/ExportPdf.js +4 -4
  37. package/lib/ExportWord.cjs +1 -1
  38. package/lib/ExportWord.js +4 -4
  39. package/lib/FontFamily.cjs +1 -1
  40. package/lib/FontFamily.js +6 -6
  41. package/lib/FontSize.cjs +1 -1
  42. package/lib/FontSize.js +6 -6
  43. package/lib/Heading.cjs +1 -1
  44. package/lib/Heading.js +14 -14
  45. package/lib/Highlight.cjs +1 -1
  46. package/lib/Highlight.js +6 -6
  47. package/lib/History.cjs +1 -1
  48. package/lib/History.js +13 -13
  49. package/lib/HorizontalRule.cjs +1 -1
  50. package/lib/HorizontalRule.js +4 -4
  51. package/lib/{Icon-ONE1AwKo.js → Icon-Ctva8VeB.js} +2 -2
  52. package/lib/{Icon-CiR8RqdQ.cjs → Icon-yqCglrdK.cjs} +1 -1
  53. package/lib/{Iframe-DsUNJ2n2.cjs → Iframe-BczF8Hex.cjs} +1 -1
  54. package/lib/{Iframe-CBTnv2mk.js → Iframe-C942bNjs.js} +12 -12
  55. package/lib/Iframe.cjs +1 -1
  56. package/lib/Iframe.js +2 -2
  57. package/lib/Image.cjs +1 -1
  58. package/lib/Image.js +48 -48
  59. package/lib/ImageGif.cjs +1 -1
  60. package/lib/ImageGif.js +15 -15
  61. package/lib/ImportWord.cjs +2 -2
  62. package/lib/ImportWord.js +9 -9
  63. package/lib/{Indent-B00o0P0M.js → Indent-C_O5WdyR.js} +4 -4
  64. package/lib/{Indent-CaGP0qTp.cjs → Indent-CkEC7x36.cjs} +1 -1
  65. package/lib/Indent.cjs +1 -1
  66. package/lib/Indent.js +2 -2
  67. package/lib/Italic.cjs +1 -1
  68. package/lib/Italic.js +4 -4
  69. package/lib/{Katex-x370CSXZ.js → Katex-D3PEWimM.js} +24 -24
  70. package/lib/{Katex-XsfpKgJU.cjs → Katex-DW_HjgNM.cjs} +2 -2
  71. package/lib/Katex.cjs +1 -1
  72. package/lib/Katex.js +2 -2
  73. package/lib/LineHeight.cjs +1 -1
  74. package/lib/LineHeight.js +14 -14
  75. package/lib/Link.cjs +1 -1
  76. package/lib/Link.js +2 -2
  77. package/lib/{LinkEditBlock-xt88G5fb.cjs → LinkEditBlock-DL1e2ILk.cjs} +2 -2
  78. package/lib/{LinkEditBlock-C_ipl3EA.js → LinkEditBlock-h5054QDo.js} +31 -31
  79. package/lib/Mention.js +3 -3
  80. package/lib/Mermaid.cjs +2 -2
  81. package/lib/Mermaid.js +28 -29
  82. package/lib/MoreMark.cjs +1 -1
  83. package/lib/MoreMark.js +14 -14
  84. package/lib/OrderedList.cjs +1 -1
  85. package/lib/OrderedList.js +4 -4
  86. package/lib/SearchAndReplace.cjs +1 -1
  87. package/lib/SearchAndReplace.js +17 -17
  88. package/lib/SlashCommand.cjs +1 -1
  89. package/lib/SlashCommand.js +6 -6
  90. package/lib/{SlashCommandNodeView-BT5ystah.cjs → SlashCommandNodeView-BqrmHCpu.cjs} +1 -1
  91. package/lib/{SlashCommandNodeView-DX6axvLs.js → SlashCommandNodeView-DXUqkx82.js} +12 -12
  92. package/lib/Strike.cjs +1 -1
  93. package/lib/Strike.js +4 -4
  94. package/lib/{Table-DidusYID.js → Table-DdrY4jcM.js} +7 -7
  95. package/lib/{Table-DSRSwtXx.cjs → Table-kY0nbqJo.cjs} +1 -1
  96. package/lib/Table.cjs +1 -1
  97. package/lib/Table.js +1 -1
  98. package/lib/TaskList.cjs +1 -1
  99. package/lib/TaskList.js +4 -4
  100. package/lib/TextAlign.cjs +1 -1
  101. package/lib/TextAlign.js +16 -16
  102. package/lib/TextDirection.cjs +1 -1
  103. package/lib/TextDirection.js +16 -16
  104. package/lib/TextUnderline.cjs +1 -1
  105. package/lib/TextUnderline.js +4 -4
  106. package/lib/{Twitter-D58T0Zt3.js → Twitter-B-JQ3ZJ1.js} +18 -18
  107. package/lib/{Twitter-CBuVBQM1.cjs → Twitter-DjZcVa3l.cjs} +1 -1
  108. package/lib/Twitter.cjs +1 -1
  109. package/lib/Twitter.js +2 -2
  110. package/lib/Video.cjs +1 -1
  111. package/lib/Video.js +24 -24
  112. package/lib/bubble.cjs +4 -4
  113. package/lib/bubble.js +2083 -1950
  114. package/lib/button-BS3n6_Aq.cjs +1 -0
  115. package/lib/{button-9_8t7ca7.js → button-Uv01FNnd.js} +7 -7
  116. package/lib/{checkbox-BQRKTXXr.cjs → checkbox-C8ByRi7-.cjs} +1 -1
  117. package/lib/{checkbox-DnkkV6qo.js → checkbox-DEFNwGwb.js} +1 -1
  118. package/lib/{clsx-DmuN0U_8.js → clsx-BWSGDJNJ.js} +13 -13
  119. package/lib/components/Bubble/RichTextBubbleCallout.d.ts +1 -0
  120. package/lib/components/Bubble/index.d.ts +1 -0
  121. package/lib/components/ui/index.d.ts +1 -0
  122. package/lib/{dialog-BS3zm-T9.cjs → dialog-Bt5zwGYB.cjs} +1 -1
  123. package/lib/{dialog-DhayAPvV.js → dialog-DwTMZSt6.js} +1 -1
  124. package/lib/{dropdown-menu-DQqKeZcx.js → dropdown-menu-BetI14G6.js} +1 -1
  125. package/lib/{dropdown-menu-CxwWX0yj.cjs → dropdown-menu-Bo68IEOT.cjs} +1 -1
  126. package/lib/extensions/Callout/Callout.d.ts +18 -0
  127. package/lib/extensions/Callout/components/NodeViewCallout/NodeViewCallout.d.ts +1 -0
  128. package/lib/extensions/Callout/components/RichTextCallout.d.ts +1 -0
  129. package/lib/extensions/Callout/index.d.ts +1 -0
  130. package/lib/{index-D1jd7elj.js → index-BDKHXe7R.js} +1 -1
  131. package/lib/{index-CKmT9KAQ.js → index-CHKWG6E8.js} +1 -1
  132. package/lib/{index-EAK64CCA.js → index-CcoWj0mF.js} +131 -130
  133. package/lib/index-D3RLYf-J.cjs +1 -0
  134. package/lib/{index-D9JOHlso.js → index-DF5ZPtWM.js} +369 -482
  135. package/lib/{index-DdEmgiAA.js → index-DJbmnBzK.js} +1 -1
  136. package/lib/index-Doks9cbR.cjs +1 -0
  137. package/lib/{index-BDX1uE62.js → index-Dujzr6bY.js} +135 -39
  138. package/lib/{index-CBFmXCcU.cjs → index-VhKd73hZ.cjs} +1 -1
  139. package/lib/{index-DvvwJvau.js → index-mR8PNv5P.js} +23 -23
  140. package/lib/index.cjs +1 -1
  141. package/lib/index.js +3 -3
  142. package/lib/{input-YoheBL2D.js → input-DUBdJD3L.js} +5 -5
  143. package/lib/{input-BJ7ihMq-.cjs → input-Dt_BA_9B.cjs} +1 -1
  144. package/lib/{isNumber-DmQXlKp3.js → isNumber-CIgubz2e.js} +1 -1
  145. package/lib/{label-Y7_hvqf2.cjs → label-JNOksCA-.cjs} +1 -1
  146. package/lib/{label-C8PLcjFI.js → label-topD46-u.js} +2 -2
  147. package/lib/locale-bundle.cjs +1 -1
  148. package/lib/locale-bundle.js +1 -1
  149. package/lib/locales/en.d.ts +16 -0
  150. package/lib/locales/fi.d.ts +16 -0
  151. package/lib/locales/hu.d.ts +16 -0
  152. package/lib/locales/index.d.ts +96 -0
  153. package/lib/locales/pt-br.d.ts +16 -0
  154. package/lib/locales/vi.d.ts +16 -0
  155. package/lib/locales/zh-cn.d.ts +16 -0
  156. package/lib/{popover-CWmTzHSy.js → popover-LfNBhRyz.js} +1 -1
  157. package/lib/{popover-BiSrlM4j.cjs → popover-mL-2sX5r.cjs} +1 -1
  158. package/lib/select-CwGYPsPq.cjs +1 -0
  159. package/lib/select-DctYuHLH.js +117 -0
  160. package/lib/{separator-C-DKMYmg.js → separator-Ddfrhn4D.js} +18 -18
  161. package/lib/{separator-CJ_adziN.cjs → separator-NoH_SLRW.cjs} +1 -1
  162. package/lib/{store-BKMaw1AW.cjs → store-CkjKIgjQ.cjs} +1 -1
  163. package/lib/{store-DG7cMfET.js → store-DNpS8vXA.js} +1 -1
  164. package/lib/style.css +1 -1
  165. package/lib/{tabs-DxlKKM-N.js → tabs-BT3AeqQQ.js} +1 -1
  166. package/lib/{tabs-DpHSMyF_.cjs → tabs-DRSwUeKP.cjs} +1 -1
  167. package/lib/{textarea-DU9RMi6u.cjs → textarea-BDO6XQoF.cjs} +1 -1
  168. package/lib/{textarea-D7m-apUh.js → textarea-DZzMEDfZ.js} +1 -1
  169. package/lib/{throttle-BRtichEP.js → throttle-IERhwcLa.js} +1 -1
  170. package/lib/{toggle-BYvLnjCL.cjs → toggle-BQHMh_Q-.cjs} +1 -1
  171. package/lib/{toggle-Bxwwb_Kp.js → toggle-DKHg5sLm.js} +10 -10
  172. package/lib/{tooltip-COvf4_R-.cjs → tooltip-BYtGp6FM.cjs} +1 -1
  173. package/lib/{tooltip-BTy5CRrN.js → tooltip-DNKq7zgN.js} +1 -1
  174. package/lib/{updatePosition-CUukgu-Q.js → updatePosition-Bie75EFq.js} +2 -2
  175. package/lib/{useButtonProps-CydzndG1.cjs → useButtonProps-DBJkNDS2.cjs} +1 -1
  176. package/lib/{useButtonProps-CfYtuEnd.js → useButtonProps-DVP4s_ER.js} +3 -3
  177. package/package.json +1 -1
  178. package/lib/button-Cs9TroWr.cjs +0 -1
  179. package/lib/index-CVFzP1Dc.cjs +0 -1
  180. package/lib/index-CX4pNJlH.cjs +0 -1
@@ -1,89 +1,86 @@
1
- import { jsxs as X, jsx as m } from "react/jsx-runtime";
2
- import * as E from "react";
3
- import { createContext as he, useContext as fe, useSyncExternalStore as ge, useRef as re, useCallback as F } from "react";
4
- import * as b from "@radix-ui/react-select";
5
- import { ChevronDown as se, ChevronUp as me, Check as xe } from "lucide-react";
6
- import { B as ye } from "./clsx-DmuN0U_8.js";
7
- import { c as we } from "./react-c9FSfB30.js";
8
- const Z = "-", ve = (e) => {
9
- const t = Se(e), {
10
- conflictingClassGroups: r,
11
- conflictingClassGroupModifiers: o
1
+ import { j as le } from "./clsx-BWSGDJNJ.js";
2
+ import { jsx as ie } from "react/jsx-runtime";
3
+ import { createContext as ae, useContext as ce, useSyncExternalStore as de, useRef as Q, useCallback as _ } from "react";
4
+ import { c as ue } from "./react-c9FSfB30.js";
5
+ const F = "-", pe = (e) => {
6
+ const r = ge(e), {
7
+ conflictingClassGroups: t,
8
+ conflictingClassGroupModifiers: n
12
9
  } = e;
13
10
  return {
14
- getClassGroupId: (i) => {
15
- const s = i.split(Z);
16
- return s[0] === "" && s.length !== 1 && s.shift(), ie(s, t) || Ce(i);
11
+ getClassGroupId: (l) => {
12
+ const s = l.split(F);
13
+ return s[0] === "" && s.length !== 1 && s.shift(), ee(s, r) || be(l);
17
14
  },
18
- getConflictingClassGroupIds: (i, s) => {
19
- const p = r[i] || [];
20
- return s && o[i] ? [...p, ...o[i]] : p;
15
+ getConflictingClassGroupIds: (l, s) => {
16
+ const u = t[l] || [];
17
+ return s && n[l] ? [...u, ...n[l]] : u;
21
18
  }
22
19
  };
23
- }, ie = (e, t) => {
24
- var i;
20
+ }, ee = (e, r) => {
21
+ var l;
25
22
  if (e.length === 0)
26
- return t.classGroupId;
27
- const r = e[0], o = t.nextPart.get(r), a = o ? ie(e.slice(1), o) : void 0;
23
+ return r.classGroupId;
24
+ const t = e[0], n = r.nextPart.get(t), a = n ? ee(e.slice(1), n) : void 0;
28
25
  if (a)
29
26
  return a;
30
- if (t.validators.length === 0)
27
+ if (r.validators.length === 0)
31
28
  return;
32
- const n = e.join(Z);
33
- return (i = t.validators.find(({
29
+ const o = e.join(F);
30
+ return (l = r.validators.find(({
34
31
  validator: s
35
- }) => s(n))) == null ? void 0 : i.classGroupId;
36
- }, oe = /^\[(.+)\]$/, Ce = (e) => {
37
- if (oe.test(e)) {
38
- const t = oe.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
39
- if (r)
40
- return "arbitrary.." + r;
32
+ }) => s(o))) == null ? void 0 : l.classGroupId;
33
+ }, Y = /^\[(.+)\]$/, be = (e) => {
34
+ if (Y.test(e)) {
35
+ const r = Y.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
36
+ if (t)
37
+ return "arbitrary.." + t;
41
38
  }
42
- }, Se = (e) => {
39
+ }, ge = (e) => {
43
40
  const {
44
- theme: t,
45
- prefix: r
46
- } = e, o = {
41
+ theme: r,
42
+ prefix: t
43
+ } = e, n = {
47
44
  nextPart: /* @__PURE__ */ new Map(),
48
45
  validators: []
49
46
  };
50
- return ze(Object.entries(e.classGroups), r).forEach(([n, i]) => {
51
- J(i, o, n, t);
52
- }), o;
53
- }, J = (e, t, r, o) => {
47
+ return me(Object.entries(e.classGroups), t).forEach(([o, l]) => {
48
+ B(l, n, o, r);
49
+ }), n;
50
+ }, B = (e, r, t, n) => {
54
51
  e.forEach((a) => {
55
52
  if (typeof a == "string") {
56
- const n = a === "" ? t : ne(t, a);
57
- n.classGroupId = r;
53
+ const o = a === "" ? r : D(r, a);
54
+ o.classGroupId = t;
58
55
  return;
59
56
  }
60
57
  if (typeof a == "function") {
61
- if (ke(a)) {
62
- J(a(o), t, r, o);
58
+ if (fe(a)) {
59
+ B(a(n), r, t, n);
63
60
  return;
64
61
  }
65
- t.validators.push({
62
+ r.validators.push({
66
63
  validator: a,
67
- classGroupId: r
64
+ classGroupId: t
68
65
  });
69
66
  return;
70
67
  }
71
- Object.entries(a).forEach(([n, i]) => {
72
- J(i, ne(t, n), r, o);
68
+ Object.entries(a).forEach(([o, l]) => {
69
+ B(l, D(r, o), t, n);
73
70
  });
74
71
  });
75
- }, ne = (e, t) => {
76
- let r = e;
77
- return t.split(Z).forEach((o) => {
78
- r.nextPart.has(o) || r.nextPart.set(o, {
72
+ }, D = (e, r) => {
73
+ let t = e;
74
+ return r.split(F).forEach((n) => {
75
+ t.nextPart.has(n) || t.nextPart.set(n, {
79
76
  nextPart: /* @__PURE__ */ new Map(),
80
77
  validators: []
81
- }), r = r.nextPart.get(o);
82
- }), r;
83
- }, ke = (e) => e.isThemeGetter, ze = (e, t) => t ? e.map(([r, o]) => {
84
- const a = o.map((n) => typeof n == "string" ? t + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([i, s]) => [t + i, s])) : n);
85
- return [r, a];
86
- }) : e, Ne = (e) => {
78
+ }), t = t.nextPart.get(n);
79
+ }), t;
80
+ }, fe = (e) => e.isThemeGetter, me = (e, r) => r ? e.map(([t, n]) => {
81
+ const a = n.map((o) => typeof o == "string" ? r + o : typeof o == "object" ? Object.fromEntries(Object.entries(o).map(([l, s]) => [r + l, s])) : o);
82
+ return [t, a];
83
+ }) : e, he = (e) => {
87
84
  if (e < 1)
88
85
  return {
89
86
  get: () => {
@@ -91,177 +88,177 @@ const Z = "-", ve = (e) => {
91
88
  set: () => {
92
89
  }
93
90
  };
94
- let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
95
- const a = (n, i) => {
96
- r.set(n, i), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
91
+ let r = 0, t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
92
+ const a = (o, l) => {
93
+ t.set(o, l), r++, r > e && (r = 0, n = t, t = /* @__PURE__ */ new Map());
97
94
  };
98
95
  return {
99
- get(n) {
100
- let i = r.get(n);
101
- if (i !== void 0)
102
- return i;
103
- if ((i = o.get(n)) !== void 0)
104
- return a(n, i), i;
96
+ get(o) {
97
+ let l = t.get(o);
98
+ if (l !== void 0)
99
+ return l;
100
+ if ((l = n.get(o)) !== void 0)
101
+ return a(o, l), l;
105
102
  },
106
- set(n, i) {
107
- r.has(n) ? r.set(n, i) : a(n, i);
103
+ set(o, l) {
104
+ t.has(o) ? t.set(o, l) : a(o, l);
108
105
  }
109
106
  };
110
- }, ae = "!", Re = (e) => {
107
+ }, re = "!", xe = (e) => {
111
108
  const {
112
- separator: t,
113
- experimentalParseClassName: r
114
- } = e, o = t.length === 1, a = t[0], n = t.length, i = (s) => {
115
- const p = [];
116
- let f = 0, h = 0, y;
117
- for (let u = 0; u < s.length; u++) {
118
- let x = s[u];
119
- if (f === 0) {
120
- if (x === a && (o || s.slice(u, u + n) === t)) {
121
- p.push(s.slice(h, u)), h = u + n;
109
+ separator: r,
110
+ experimentalParseClassName: t
111
+ } = e, n = r.length === 1, a = r[0], o = r.length, l = (s) => {
112
+ const u = [];
113
+ let g = 0, b = 0, h;
114
+ for (let p = 0; p < s.length; p++) {
115
+ let m = s[p];
116
+ if (g === 0) {
117
+ if (m === a && (n || s.slice(p, p + o) === r)) {
118
+ u.push(s.slice(b, p)), b = p + o;
122
119
  continue;
123
120
  }
124
- if (x === "/") {
125
- y = u;
121
+ if (m === "/") {
122
+ h = p;
126
123
  continue;
127
124
  }
128
125
  }
129
- x === "[" ? f++ : x === "]" && f--;
126
+ m === "[" ? g++ : m === "]" && g--;
130
127
  }
131
- const v = p.length === 0 ? s : s.substring(h), S = v.startsWith(ae), C = S ? v.substring(1) : v, g = y && y > h ? y - h : void 0;
128
+ const y = u.length === 0 ? s : s.substring(b), v = y.startsWith(re), w = v ? y.substring(1) : y, f = h && h > b ? h - b : void 0;
132
129
  return {
133
- modifiers: p,
134
- hasImportantModifier: S,
135
- baseClassName: C,
136
- maybePostfixModifierPosition: g
130
+ modifiers: u,
131
+ hasImportantModifier: v,
132
+ baseClassName: w,
133
+ maybePostfixModifierPosition: f
137
134
  };
138
135
  };
139
- return r ? (s) => r({
136
+ return t ? (s) => t({
140
137
  className: s,
141
- parseClassName: i
142
- }) : i;
143
- }, Ae = (e) => {
138
+ parseClassName: l
139
+ }) : l;
140
+ }, ye = (e) => {
144
141
  if (e.length <= 1)
145
142
  return e;
146
- const t = [];
147
- let r = [];
148
- return e.forEach((o) => {
149
- o[0] === "[" ? (t.push(...r.sort(), o), r = []) : r.push(o);
150
- }), t.push(...r.sort()), t;
151
- }, Me = (e) => ({
152
- cache: Ne(e.cacheSize),
153
- parseClassName: Re(e),
154
- ...ve(e)
155
- }), Ee = /\s+/, Ie = (e, t) => {
143
+ const r = [];
144
+ let t = [];
145
+ return e.forEach((n) => {
146
+ n[0] === "[" ? (r.push(...t.sort(), n), t = []) : t.push(n);
147
+ }), r.push(...t.sort()), r;
148
+ }, we = (e) => ({
149
+ cache: he(e.cacheSize),
150
+ parseClassName: xe(e),
151
+ ...pe(e)
152
+ }), ve = /\s+/, Ce = (e, r) => {
156
153
  const {
157
- parseClassName: r,
158
- getClassGroupId: o,
154
+ parseClassName: t,
155
+ getClassGroupId: n,
159
156
  getConflictingClassGroupIds: a
160
- } = t, n = [], i = e.trim().split(Ee);
157
+ } = r, o = [], l = e.trim().split(ve);
161
158
  let s = "";
162
- for (let p = i.length - 1; p >= 0; p -= 1) {
163
- const f = i[p], {
164
- modifiers: h,
165
- hasImportantModifier: y,
166
- baseClassName: v,
167
- maybePostfixModifierPosition: S
168
- } = r(f);
169
- let C = !!S, g = o(C ? v.substring(0, S) : v);
170
- if (!g) {
171
- if (!C) {
172
- s = f + (s.length > 0 ? " " + s : s);
159
+ for (let u = l.length - 1; u >= 0; u -= 1) {
160
+ const g = l[u], {
161
+ modifiers: b,
162
+ hasImportantModifier: h,
163
+ baseClassName: y,
164
+ maybePostfixModifierPosition: v
165
+ } = t(g);
166
+ let w = !!v, f = n(w ? y.substring(0, v) : y);
167
+ if (!f) {
168
+ if (!w) {
169
+ s = g + (s.length > 0 ? " " + s : s);
173
170
  continue;
174
171
  }
175
- if (g = o(v), !g) {
176
- s = f + (s.length > 0 ? " " + s : s);
172
+ if (f = n(y), !f) {
173
+ s = g + (s.length > 0 ? " " + s : s);
177
174
  continue;
178
175
  }
179
- C = !1;
176
+ w = !1;
180
177
  }
181
- const u = Ae(h).join(":"), x = y ? u + ae : u, w = x + g;
182
- if (n.includes(w))
178
+ const p = ye(b).join(":"), m = h ? p + re : p, x = m + f;
179
+ if (o.includes(x))
183
180
  continue;
184
- n.push(w);
185
- const P = a(g, C);
186
- for (let M = 0; M < P.length; ++M) {
187
- const B = P[M];
188
- n.push(x + B);
181
+ o.push(x);
182
+ const G = a(f, w);
183
+ for (let A = 0; A < G.length; ++A) {
184
+ const j = G[A];
185
+ o.push(m + j);
189
186
  }
190
- s = f + (s.length > 0 ? " " + s : s);
187
+ s = g + (s.length > 0 ? " " + s : s);
191
188
  }
192
189
  return s;
193
190
  };
194
- function Ge() {
195
- let e = 0, t, r, o = "";
191
+ function ke() {
192
+ let e = 0, r, t, n = "";
196
193
  for (; e < arguments.length; )
197
- (t = arguments[e++]) && (r = le(t)) && (o && (o += " "), o += r);
198
- return o;
194
+ (r = arguments[e++]) && (t = te(r)) && (n && (n += " "), n += t);
195
+ return n;
199
196
  }
200
- const le = (e) => {
197
+ const te = (e) => {
201
198
  if (typeof e == "string")
202
199
  return e;
203
- let t, r = "";
204
- for (let o = 0; o < e.length; o++)
205
- e[o] && (t = le(e[o])) && (r && (r += " "), r += t);
206
- return r;
200
+ let r, t = "";
201
+ for (let n = 0; n < e.length; n++)
202
+ e[n] && (r = te(e[n])) && (t && (t += " "), t += r);
203
+ return t;
207
204
  };
208
- function Pe(e, ...t) {
209
- let r, o, a, n = i;
210
- function i(p) {
211
- const f = t.reduce((h, y) => y(h), e());
212
- return r = Me(f), o = r.cache.get, a = r.cache.set, n = s, s(p);
205
+ function ze(e, ...r) {
206
+ let t, n, a, o = l;
207
+ function l(u) {
208
+ const g = r.reduce((b, h) => h(b), e());
209
+ return t = we(g), n = t.cache.get, a = t.cache.set, o = s, s(u);
213
210
  }
214
- function s(p) {
215
- const f = o(p);
216
- if (f)
217
- return f;
218
- const h = Ie(p, r);
219
- return a(p, h), h;
211
+ function s(u) {
212
+ const g = n(u);
213
+ if (g)
214
+ return g;
215
+ const b = Ce(u, t);
216
+ return a(u, b), b;
220
217
  }
221
218
  return function() {
222
- return n(Ge.apply(null, arguments));
219
+ return o(ke.apply(null, arguments));
223
220
  };
224
221
  }
225
222
  const c = (e) => {
226
- const t = (r) => r[e] || [];
227
- return t.isThemeGetter = !0, t;
228
- }, ce = /^\[(?:([a-z-]+):)?(.+)\]$/i, je = /^\d+\/\d+$/, Te = /* @__PURE__ */ new Set(["px", "full", "screen"]), Le = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Be = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ve = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, We = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ue = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, z = (e) => I(e) || Te.has(e) || je.test(e), N = (e) => G(e, "length", Ze), I = (e) => !!e && !Number.isNaN(Number(e)), q = (e) => G(e, "number", I), T = (e) => !!e && Number.isInteger(Number(e)), Oe = (e) => e.endsWith("%") && I(e.slice(0, -1)), l = (e) => ce.test(e), R = (e) => Le.test(e), _e = /* @__PURE__ */ new Set(["length", "size", "percentage"]), $e = (e) => G(e, _e, de), Fe = (e) => G(e, "position", de), qe = /* @__PURE__ */ new Set(["image", "url"]), Je = (e) => G(e, qe, Ke), Xe = (e) => G(e, "", He), L = () => !0, G = (e, t, r) => {
229
- const o = ce.exec(e);
230
- return o ? o[1] ? typeof t == "string" ? o[1] === t : t.has(o[1]) : r(o[2]) : !1;
231
- }, Ze = (e) => (
223
+ const r = (t) => t[e] || [];
224
+ return r.isThemeGetter = !0, r;
225
+ }, oe = /^\[(?:([a-z-]+):)?(.+)\]$/i, Se = /^\d+\/\d+$/, Ae = /* @__PURE__ */ new Set(["px", "full", "screen"]), Me = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ee = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ge = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Re = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Pe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, k = (e) => M(e) || Ae.has(e) || Se.test(e), z = (e) => E(e, "length", Oe), M = (e) => !!e && !Number.isNaN(Number(e)), $ = (e) => E(e, "number", M), P = (e) => !!e && Number.isInteger(Number(e)), Ie = (e) => e.endsWith("%") && M(e.slice(0, -1)), i = (e) => oe.test(e), S = (e) => Me.test(e), je = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ne = (e) => E(e, je, ne), Te = (e) => E(e, "position", ne), Le = /* @__PURE__ */ new Set(["image", "url"]), We = (e) => E(e, Le, $e), Ve = (e) => E(e, "", _e), I = () => !0, E = (e, r, t) => {
226
+ const n = oe.exec(e);
227
+ return n ? n[1] ? typeof r == "string" ? n[1] === r : r.has(n[1]) : t(n[2]) : !1;
228
+ }, Oe = (e) => (
232
229
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
233
230
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
234
231
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
235
- Be.test(e) && !Ve.test(e)
236
- ), de = () => !1, He = (e) => We.test(e), Ke = (e) => Ue.test(e), Qe = () => {
237
- const e = c("colors"), t = c("spacing"), r = c("blur"), o = c("brightness"), a = c("borderColor"), n = c("borderRadius"), i = c("borderSpacing"), s = c("borderWidth"), p = c("contrast"), f = c("grayscale"), h = c("hueRotate"), y = c("invert"), v = c("gap"), S = c("gradientColorStops"), C = c("gradientColorStopPositions"), g = c("inset"), u = c("margin"), x = c("opacity"), w = c("padding"), P = c("saturate"), M = c("scale"), B = c("sepia"), H = c("skew"), K = c("space"), Q = c("translate"), U = () => ["auto", "contain", "none"], O = () => ["auto", "hidden", "clip", "visible", "scroll"], _ = () => ["auto", l, t], d = () => [l, t], Y = () => ["", z, N], V = () => ["auto", I, l], D = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], W = () => ["solid", "dashed", "dotted", "double", "none"], ee = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], j = () => ["", "0", l], te = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], k = () => [I, l];
232
+ Ee.test(e) && !Ge.test(e)
233
+ ), ne = () => !1, _e = (e) => Re.test(e), $e = (e) => Pe.test(e), Be = () => {
234
+ const e = c("colors"), r = c("spacing"), t = c("blur"), n = c("brightness"), a = c("borderColor"), o = c("borderRadius"), l = c("borderSpacing"), s = c("borderWidth"), u = c("contrast"), g = c("grayscale"), b = c("hueRotate"), h = c("invert"), y = c("gap"), v = c("gradientColorStops"), w = c("gradientColorStopPositions"), f = c("inset"), p = c("margin"), m = c("opacity"), x = c("padding"), G = c("saturate"), A = c("scale"), j = c("sepia"), U = c("skew"), q = c("space"), J = c("translate"), L = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", i, r], d = () => [i, r], X = () => ["", k, z], N = () => ["auto", M, i], Z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], T = () => ["solid", "dashed", "dotted", "double", "none"], H = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], R = () => ["", "0", i], K = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [M, i];
238
235
  return {
239
236
  cacheSize: 500,
240
237
  separator: ":",
241
238
  theme: {
242
- colors: [L],
243
- spacing: [z, N],
244
- blur: ["none", "", R, l],
245
- brightness: k(),
239
+ colors: [I],
240
+ spacing: [k, z],
241
+ blur: ["none", "", S, i],
242
+ brightness: C(),
246
243
  borderColor: [e],
247
- borderRadius: ["none", "", "full", R, l],
244
+ borderRadius: ["none", "", "full", S, i],
248
245
  borderSpacing: d(),
249
- borderWidth: Y(),
250
- contrast: k(),
251
- grayscale: j(),
252
- hueRotate: k(),
253
- invert: j(),
246
+ borderWidth: X(),
247
+ contrast: C(),
248
+ grayscale: R(),
249
+ hueRotate: C(),
250
+ invert: R(),
254
251
  gap: d(),
255
252
  gradientColorStops: [e],
256
- gradientColorStopPositions: [Oe, N],
257
- inset: _(),
258
- margin: _(),
259
- opacity: k(),
253
+ gradientColorStopPositions: [Ie, z],
254
+ inset: V(),
255
+ margin: V(),
256
+ opacity: C(),
260
257
  padding: d(),
261
- saturate: k(),
262
- scale: k(),
263
- sepia: j(),
264
- skew: k(),
258
+ saturate: C(),
259
+ scale: C(),
260
+ sepia: R(),
261
+ skew: C(),
265
262
  space: d(),
266
263
  translate: d()
267
264
  },
@@ -272,7 +269,7 @@ const c = (e) => {
272
269
  * @see https://tailwindcss.com/docs/aspect-ratio
273
270
  */
274
271
  aspect: [{
275
- aspect: ["auto", "square", "video", l]
272
+ aspect: ["auto", "square", "video", i]
276
273
  }],
277
274
  /**
278
275
  * Container
@@ -284,21 +281,21 @@ const c = (e) => {
284
281
  * @see https://tailwindcss.com/docs/columns
285
282
  */
286
283
  columns: [{
287
- columns: [R]
284
+ columns: [S]
288
285
  }],
289
286
  /**
290
287
  * Break After
291
288
  * @see https://tailwindcss.com/docs/break-after
292
289
  */
293
290
  "break-after": [{
294
- "break-after": te()
291
+ "break-after": K()
295
292
  }],
296
293
  /**
297
294
  * Break Before
298
295
  * @see https://tailwindcss.com/docs/break-before
299
296
  */
300
297
  "break-before": [{
301
- "break-before": te()
298
+ "break-before": K()
302
299
  }],
303
300
  /**
304
301
  * Break Inside
@@ -357,49 +354,49 @@ const c = (e) => {
357
354
  * @see https://tailwindcss.com/docs/object-position
358
355
  */
359
356
  "object-position": [{
360
- object: [...D(), l]
357
+ object: [...Z(), i]
361
358
  }],
362
359
  /**
363
360
  * Overflow
364
361
  * @see https://tailwindcss.com/docs/overflow
365
362
  */
366
363
  overflow: [{
367
- overflow: O()
364
+ overflow: W()
368
365
  }],
369
366
  /**
370
367
  * Overflow X
371
368
  * @see https://tailwindcss.com/docs/overflow
372
369
  */
373
370
  "overflow-x": [{
374
- "overflow-x": O()
371
+ "overflow-x": W()
375
372
  }],
376
373
  /**
377
374
  * Overflow Y
378
375
  * @see https://tailwindcss.com/docs/overflow
379
376
  */
380
377
  "overflow-y": [{
381
- "overflow-y": O()
378
+ "overflow-y": W()
382
379
  }],
383
380
  /**
384
381
  * Overscroll Behavior
385
382
  * @see https://tailwindcss.com/docs/overscroll-behavior
386
383
  */
387
384
  overscroll: [{
388
- overscroll: U()
385
+ overscroll: L()
389
386
  }],
390
387
  /**
391
388
  * Overscroll Behavior X
392
389
  * @see https://tailwindcss.com/docs/overscroll-behavior
393
390
  */
394
391
  "overscroll-x": [{
395
- "overscroll-x": U()
392
+ "overscroll-x": L()
396
393
  }],
397
394
  /**
398
395
  * Overscroll Behavior Y
399
396
  * @see https://tailwindcss.com/docs/overscroll-behavior
400
397
  */
401
398
  "overscroll-y": [{
402
- "overscroll-y": U()
399
+ "overscroll-y": L()
403
400
  }],
404
401
  /**
405
402
  * Position
@@ -411,63 +408,63 @@ const c = (e) => {
411
408
  * @see https://tailwindcss.com/docs/top-right-bottom-left
412
409
  */
413
410
  inset: [{
414
- inset: [g]
411
+ inset: [f]
415
412
  }],
416
413
  /**
417
414
  * Right / Left
418
415
  * @see https://tailwindcss.com/docs/top-right-bottom-left
419
416
  */
420
417
  "inset-x": [{
421
- "inset-x": [g]
418
+ "inset-x": [f]
422
419
  }],
423
420
  /**
424
421
  * Top / Bottom
425
422
  * @see https://tailwindcss.com/docs/top-right-bottom-left
426
423
  */
427
424
  "inset-y": [{
428
- "inset-y": [g]
425
+ "inset-y": [f]
429
426
  }],
430
427
  /**
431
428
  * Start
432
429
  * @see https://tailwindcss.com/docs/top-right-bottom-left
433
430
  */
434
431
  start: [{
435
- start: [g]
432
+ start: [f]
436
433
  }],
437
434
  /**
438
435
  * End
439
436
  * @see https://tailwindcss.com/docs/top-right-bottom-left
440
437
  */
441
438
  end: [{
442
- end: [g]
439
+ end: [f]
443
440
  }],
444
441
  /**
445
442
  * Top
446
443
  * @see https://tailwindcss.com/docs/top-right-bottom-left
447
444
  */
448
445
  top: [{
449
- top: [g]
446
+ top: [f]
450
447
  }],
451
448
  /**
452
449
  * Right
453
450
  * @see https://tailwindcss.com/docs/top-right-bottom-left
454
451
  */
455
452
  right: [{
456
- right: [g]
453
+ right: [f]
457
454
  }],
458
455
  /**
459
456
  * Bottom
460
457
  * @see https://tailwindcss.com/docs/top-right-bottom-left
461
458
  */
462
459
  bottom: [{
463
- bottom: [g]
460
+ bottom: [f]
464
461
  }],
465
462
  /**
466
463
  * Left
467
464
  * @see https://tailwindcss.com/docs/top-right-bottom-left
468
465
  */
469
466
  left: [{
470
- left: [g]
467
+ left: [f]
471
468
  }],
472
469
  /**
473
470
  * Visibility
@@ -479,7 +476,7 @@ const c = (e) => {
479
476
  * @see https://tailwindcss.com/docs/z-index
480
477
  */
481
478
  z: [{
482
- z: ["auto", T, l]
479
+ z: ["auto", P, i]
483
480
  }],
484
481
  // Flexbox and Grid
485
482
  /**
@@ -487,7 +484,7 @@ const c = (e) => {
487
484
  * @see https://tailwindcss.com/docs/flex-basis
488
485
  */
489
486
  basis: [{
490
- basis: _()
487
+ basis: V()
491
488
  }],
492
489
  /**
493
490
  * Flex Direction
@@ -508,35 +505,35 @@ const c = (e) => {
508
505
  * @see https://tailwindcss.com/docs/flex
509
506
  */
510
507
  flex: [{
511
- flex: ["1", "auto", "initial", "none", l]
508
+ flex: ["1", "auto", "initial", "none", i]
512
509
  }],
513
510
  /**
514
511
  * Flex Grow
515
512
  * @see https://tailwindcss.com/docs/flex-grow
516
513
  */
517
514
  grow: [{
518
- grow: j()
515
+ grow: R()
519
516
  }],
520
517
  /**
521
518
  * Flex Shrink
522
519
  * @see https://tailwindcss.com/docs/flex-shrink
523
520
  */
524
521
  shrink: [{
525
- shrink: j()
522
+ shrink: R()
526
523
  }],
527
524
  /**
528
525
  * Order
529
526
  * @see https://tailwindcss.com/docs/order
530
527
  */
531
528
  order: [{
532
- order: ["first", "last", "none", T, l]
529
+ order: ["first", "last", "none", P, i]
533
530
  }],
534
531
  /**
535
532
  * Grid Template Columns
536
533
  * @see https://tailwindcss.com/docs/grid-template-columns
537
534
  */
538
535
  "grid-cols": [{
539
- "grid-cols": [L]
536
+ "grid-cols": [I]
540
537
  }],
541
538
  /**
542
539
  * Grid Column Start / End
@@ -544,29 +541,29 @@ const c = (e) => {
544
541
  */
545
542
  "col-start-end": [{
546
543
  col: ["auto", {
547
- span: ["full", T, l]
548
- }, l]
544
+ span: ["full", P, i]
545
+ }, i]
549
546
  }],
550
547
  /**
551
548
  * Grid Column Start
552
549
  * @see https://tailwindcss.com/docs/grid-column
553
550
  */
554
551
  "col-start": [{
555
- "col-start": V()
552
+ "col-start": N()
556
553
  }],
557
554
  /**
558
555
  * Grid Column End
559
556
  * @see https://tailwindcss.com/docs/grid-column
560
557
  */
561
558
  "col-end": [{
562
- "col-end": V()
559
+ "col-end": N()
563
560
  }],
564
561
  /**
565
562
  * Grid Template Rows
566
563
  * @see https://tailwindcss.com/docs/grid-template-rows
567
564
  */
568
565
  "grid-rows": [{
569
- "grid-rows": [L]
566
+ "grid-rows": [I]
570
567
  }],
571
568
  /**
572
569
  * Grid Row Start / End
@@ -574,22 +571,22 @@ const c = (e) => {
574
571
  */
575
572
  "row-start-end": [{
576
573
  row: ["auto", {
577
- span: [T, l]
578
- }, l]
574
+ span: [P, i]
575
+ }, i]
579
576
  }],
580
577
  /**
581
578
  * Grid Row Start
582
579
  * @see https://tailwindcss.com/docs/grid-row
583
580
  */
584
581
  "row-start": [{
585
- "row-start": V()
582
+ "row-start": N()
586
583
  }],
587
584
  /**
588
585
  * Grid Row End
589
586
  * @see https://tailwindcss.com/docs/grid-row
590
587
  */
591
588
  "row-end": [{
592
- "row-end": V()
589
+ "row-end": N()
593
590
  }],
594
591
  /**
595
592
  * Grid Auto Flow
@@ -603,42 +600,42 @@ const c = (e) => {
603
600
  * @see https://tailwindcss.com/docs/grid-auto-columns
604
601
  */
605
602
  "auto-cols": [{
606
- "auto-cols": ["auto", "min", "max", "fr", l]
603
+ "auto-cols": ["auto", "min", "max", "fr", i]
607
604
  }],
608
605
  /**
609
606
  * Grid Auto Rows
610
607
  * @see https://tailwindcss.com/docs/grid-auto-rows
611
608
  */
612
609
  "auto-rows": [{
613
- "auto-rows": ["auto", "min", "max", "fr", l]
610
+ "auto-rows": ["auto", "min", "max", "fr", i]
614
611
  }],
615
612
  /**
616
613
  * Gap
617
614
  * @see https://tailwindcss.com/docs/gap
618
615
  */
619
616
  gap: [{
620
- gap: [v]
617
+ gap: [y]
621
618
  }],
622
619
  /**
623
620
  * Gap X
624
621
  * @see https://tailwindcss.com/docs/gap
625
622
  */
626
623
  "gap-x": [{
627
- "gap-x": [v]
624
+ "gap-x": [y]
628
625
  }],
629
626
  /**
630
627
  * Gap Y
631
628
  * @see https://tailwindcss.com/docs/gap
632
629
  */
633
630
  "gap-y": [{
634
- "gap-y": [v]
631
+ "gap-y": [y]
635
632
  }],
636
633
  /**
637
634
  * Justify Content
638
635
  * @see https://tailwindcss.com/docs/justify-content
639
636
  */
640
637
  "justify-content": [{
641
- justify: ["normal", ...$()]
638
+ justify: ["normal", ...O()]
642
639
  }],
643
640
  /**
644
641
  * Justify Items
@@ -659,7 +656,7 @@ const c = (e) => {
659
656
  * @see https://tailwindcss.com/docs/align-content
660
657
  */
661
658
  "align-content": [{
662
- content: ["normal", ...$(), "baseline"]
659
+ content: ["normal", ...O(), "baseline"]
663
660
  }],
664
661
  /**
665
662
  * Align Items
@@ -680,7 +677,7 @@ const c = (e) => {
680
677
  * @see https://tailwindcss.com/docs/place-content
681
678
  */
682
679
  "place-content": [{
683
- "place-content": [...$(), "baseline"]
680
+ "place-content": [...O(), "baseline"]
684
681
  }],
685
682
  /**
686
683
  * Place Items
@@ -702,133 +699,133 @@ const c = (e) => {
702
699
  * @see https://tailwindcss.com/docs/padding
703
700
  */
704
701
  p: [{
705
- p: [w]
702
+ p: [x]
706
703
  }],
707
704
  /**
708
705
  * Padding X
709
706
  * @see https://tailwindcss.com/docs/padding
710
707
  */
711
708
  px: [{
712
- px: [w]
709
+ px: [x]
713
710
  }],
714
711
  /**
715
712
  * Padding Y
716
713
  * @see https://tailwindcss.com/docs/padding
717
714
  */
718
715
  py: [{
719
- py: [w]
716
+ py: [x]
720
717
  }],
721
718
  /**
722
719
  * Padding Start
723
720
  * @see https://tailwindcss.com/docs/padding
724
721
  */
725
722
  ps: [{
726
- ps: [w]
723
+ ps: [x]
727
724
  }],
728
725
  /**
729
726
  * Padding End
730
727
  * @see https://tailwindcss.com/docs/padding
731
728
  */
732
729
  pe: [{
733
- pe: [w]
730
+ pe: [x]
734
731
  }],
735
732
  /**
736
733
  * Padding Top
737
734
  * @see https://tailwindcss.com/docs/padding
738
735
  */
739
736
  pt: [{
740
- pt: [w]
737
+ pt: [x]
741
738
  }],
742
739
  /**
743
740
  * Padding Right
744
741
  * @see https://tailwindcss.com/docs/padding
745
742
  */
746
743
  pr: [{
747
- pr: [w]
744
+ pr: [x]
748
745
  }],
749
746
  /**
750
747
  * Padding Bottom
751
748
  * @see https://tailwindcss.com/docs/padding
752
749
  */
753
750
  pb: [{
754
- pb: [w]
751
+ pb: [x]
755
752
  }],
756
753
  /**
757
754
  * Padding Left
758
755
  * @see https://tailwindcss.com/docs/padding
759
756
  */
760
757
  pl: [{
761
- pl: [w]
758
+ pl: [x]
762
759
  }],
763
760
  /**
764
761
  * Margin
765
762
  * @see https://tailwindcss.com/docs/margin
766
763
  */
767
764
  m: [{
768
- m: [u]
765
+ m: [p]
769
766
  }],
770
767
  /**
771
768
  * Margin X
772
769
  * @see https://tailwindcss.com/docs/margin
773
770
  */
774
771
  mx: [{
775
- mx: [u]
772
+ mx: [p]
776
773
  }],
777
774
  /**
778
775
  * Margin Y
779
776
  * @see https://tailwindcss.com/docs/margin
780
777
  */
781
778
  my: [{
782
- my: [u]
779
+ my: [p]
783
780
  }],
784
781
  /**
785
782
  * Margin Start
786
783
  * @see https://tailwindcss.com/docs/margin
787
784
  */
788
785
  ms: [{
789
- ms: [u]
786
+ ms: [p]
790
787
  }],
791
788
  /**
792
789
  * Margin End
793
790
  * @see https://tailwindcss.com/docs/margin
794
791
  */
795
792
  me: [{
796
- me: [u]
793
+ me: [p]
797
794
  }],
798
795
  /**
799
796
  * Margin Top
800
797
  * @see https://tailwindcss.com/docs/margin
801
798
  */
802
799
  mt: [{
803
- mt: [u]
800
+ mt: [p]
804
801
  }],
805
802
  /**
806
803
  * Margin Right
807
804
  * @see https://tailwindcss.com/docs/margin
808
805
  */
809
806
  mr: [{
810
- mr: [u]
807
+ mr: [p]
811
808
  }],
812
809
  /**
813
810
  * Margin Bottom
814
811
  * @see https://tailwindcss.com/docs/margin
815
812
  */
816
813
  mb: [{
817
- mb: [u]
814
+ mb: [p]
818
815
  }],
819
816
  /**
820
817
  * Margin Left
821
818
  * @see https://tailwindcss.com/docs/margin
822
819
  */
823
820
  ml: [{
824
- ml: [u]
821
+ ml: [p]
825
822
  }],
826
823
  /**
827
824
  * Space Between X
828
825
  * @see https://tailwindcss.com/docs/space
829
826
  */
830
827
  "space-x": [{
831
- "space-x": [K]
828
+ "space-x": [q]
832
829
  }],
833
830
  /**
834
831
  * Space Between X Reverse
@@ -840,7 +837,7 @@ const c = (e) => {
840
837
  * @see https://tailwindcss.com/docs/space
841
838
  */
842
839
  "space-y": [{
843
- "space-y": [K]
840
+ "space-y": [q]
844
841
  }],
845
842
  /**
846
843
  * Space Between Y Reverse
@@ -853,51 +850,51 @@ const c = (e) => {
853
850
  * @see https://tailwindcss.com/docs/width
854
851
  */
855
852
  w: [{
856
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", l, t]
853
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", i, r]
857
854
  }],
858
855
  /**
859
856
  * Min-Width
860
857
  * @see https://tailwindcss.com/docs/min-width
861
858
  */
862
859
  "min-w": [{
863
- "min-w": [l, t, "min", "max", "fit"]
860
+ "min-w": [i, r, "min", "max", "fit"]
864
861
  }],
865
862
  /**
866
863
  * Max-Width
867
864
  * @see https://tailwindcss.com/docs/max-width
868
865
  */
869
866
  "max-w": [{
870
- "max-w": [l, t, "none", "full", "min", "max", "fit", "prose", {
871
- screen: [R]
872
- }, R]
867
+ "max-w": [i, r, "none", "full", "min", "max", "fit", "prose", {
868
+ screen: [S]
869
+ }, S]
873
870
  }],
874
871
  /**
875
872
  * Height
876
873
  * @see https://tailwindcss.com/docs/height
877
874
  */
878
875
  h: [{
879
- h: [l, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
876
+ h: [i, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
880
877
  }],
881
878
  /**
882
879
  * Min-Height
883
880
  * @see https://tailwindcss.com/docs/min-height
884
881
  */
885
882
  "min-h": [{
886
- "min-h": [l, t, "min", "max", "fit", "svh", "lvh", "dvh"]
883
+ "min-h": [i, r, "min", "max", "fit", "svh", "lvh", "dvh"]
887
884
  }],
888
885
  /**
889
886
  * Max-Height
890
887
  * @see https://tailwindcss.com/docs/max-height
891
888
  */
892
889
  "max-h": [{
893
- "max-h": [l, t, "min", "max", "fit", "svh", "lvh", "dvh"]
890
+ "max-h": [i, r, "min", "max", "fit", "svh", "lvh", "dvh"]
894
891
  }],
895
892
  /**
896
893
  * Size
897
894
  * @see https://tailwindcss.com/docs/size
898
895
  */
899
896
  size: [{
900
- size: [l, t, "auto", "min", "max", "fit"]
897
+ size: [i, r, "auto", "min", "max", "fit"]
901
898
  }],
902
899
  // Typography
903
900
  /**
@@ -905,7 +902,7 @@ const c = (e) => {
905
902
  * @see https://tailwindcss.com/docs/font-size
906
903
  */
907
904
  "font-size": [{
908
- text: ["base", R, N]
905
+ text: ["base", S, z]
909
906
  }],
910
907
  /**
911
908
  * Font Smoothing
@@ -922,14 +919,14 @@ const c = (e) => {
922
919
  * @see https://tailwindcss.com/docs/font-weight
923
920
  */
924
921
  "font-weight": [{
925
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", q]
922
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", $]
926
923
  }],
927
924
  /**
928
925
  * Font Family
929
926
  * @see https://tailwindcss.com/docs/font-family
930
927
  */
931
928
  "font-family": [{
932
- font: [L]
929
+ font: [I]
933
930
  }],
934
931
  /**
935
932
  * Font Variant Numeric
@@ -966,35 +963,35 @@ const c = (e) => {
966
963
  * @see https://tailwindcss.com/docs/letter-spacing
967
964
  */
968
965
  tracking: [{
969
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", l]
966
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", i]
970
967
  }],
971
968
  /**
972
969
  * Line Clamp
973
970
  * @see https://tailwindcss.com/docs/line-clamp
974
971
  */
975
972
  "line-clamp": [{
976
- "line-clamp": ["none", I, q]
973
+ "line-clamp": ["none", M, $]
977
974
  }],
978
975
  /**
979
976
  * Line Height
980
977
  * @see https://tailwindcss.com/docs/line-height
981
978
  */
982
979
  leading: [{
983
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", z, l]
980
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", k, i]
984
981
  }],
985
982
  /**
986
983
  * List Style Image
987
984
  * @see https://tailwindcss.com/docs/list-style-image
988
985
  */
989
986
  "list-image": [{
990
- "list-image": ["none", l]
987
+ "list-image": ["none", i]
991
988
  }],
992
989
  /**
993
990
  * List Style Type
994
991
  * @see https://tailwindcss.com/docs/list-style-type
995
992
  */
996
993
  "list-style-type": [{
997
- list: ["none", "disc", "decimal", l]
994
+ list: ["none", "disc", "decimal", i]
998
995
  }],
999
996
  /**
1000
997
  * List Style Position
@@ -1016,7 +1013,7 @@ const c = (e) => {
1016
1013
  * @see https://tailwindcss.com/docs/placeholder-opacity
1017
1014
  */
1018
1015
  "placeholder-opacity": [{
1019
- "placeholder-opacity": [x]
1016
+ "placeholder-opacity": [m]
1020
1017
  }],
1021
1018
  /**
1022
1019
  * Text Alignment
@@ -1037,7 +1034,7 @@ const c = (e) => {
1037
1034
  * @see https://tailwindcss.com/docs/text-opacity
1038
1035
  */
1039
1036
  "text-opacity": [{
1040
- "text-opacity": [x]
1037
+ "text-opacity": [m]
1041
1038
  }],
1042
1039
  /**
1043
1040
  * Text Decoration
@@ -1049,21 +1046,21 @@ const c = (e) => {
1049
1046
  * @see https://tailwindcss.com/docs/text-decoration-style
1050
1047
  */
1051
1048
  "text-decoration-style": [{
1052
- decoration: [...W(), "wavy"]
1049
+ decoration: [...T(), "wavy"]
1053
1050
  }],
1054
1051
  /**
1055
1052
  * Text Decoration Thickness
1056
1053
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1057
1054
  */
1058
1055
  "text-decoration-thickness": [{
1059
- decoration: ["auto", "from-font", z, N]
1056
+ decoration: ["auto", "from-font", k, z]
1060
1057
  }],
1061
1058
  /**
1062
1059
  * Text Underline Offset
1063
1060
  * @see https://tailwindcss.com/docs/text-underline-offset
1064
1061
  */
1065
1062
  "underline-offset": [{
1066
- "underline-offset": ["auto", z, l]
1063
+ "underline-offset": ["auto", k, i]
1067
1064
  }],
1068
1065
  /**
1069
1066
  * Text Decoration Color
@@ -1101,7 +1098,7 @@ const c = (e) => {
1101
1098
  * @see https://tailwindcss.com/docs/vertical-align
1102
1099
  */
1103
1100
  "vertical-align": [{
1104
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l]
1101
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", i]
1105
1102
  }],
1106
1103
  /**
1107
1104
  * Whitespace
@@ -1129,7 +1126,7 @@ const c = (e) => {
1129
1126
  * @see https://tailwindcss.com/docs/content
1130
1127
  */
1131
1128
  content: [{
1132
- content: ["none", l]
1129
+ content: ["none", i]
1133
1130
  }],
1134
1131
  // Backgrounds
1135
1132
  /**
@@ -1152,7 +1149,7 @@ const c = (e) => {
1152
1149
  * @see https://tailwindcss.com/docs/background-opacity
1153
1150
  */
1154
1151
  "bg-opacity": [{
1155
- "bg-opacity": [x]
1152
+ "bg-opacity": [m]
1156
1153
  }],
1157
1154
  /**
1158
1155
  * Background Origin
@@ -1166,7 +1163,7 @@ const c = (e) => {
1166
1163
  * @see https://tailwindcss.com/docs/background-position
1167
1164
  */
1168
1165
  "bg-position": [{
1169
- bg: [...D(), Fe]
1166
+ bg: [...Z(), Te]
1170
1167
  }],
1171
1168
  /**
1172
1169
  * Background Repeat
@@ -1182,7 +1179,7 @@ const c = (e) => {
1182
1179
  * @see https://tailwindcss.com/docs/background-size
1183
1180
  */
1184
1181
  "bg-size": [{
1185
- bg: ["auto", "cover", "contain", $e]
1182
+ bg: ["auto", "cover", "contain", Ne]
1186
1183
  }],
1187
1184
  /**
1188
1185
  * Background Image
@@ -1191,7 +1188,7 @@ const c = (e) => {
1191
1188
  "bg-image": [{
1192
1189
  bg: ["none", {
1193
1190
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1194
- }, Je]
1191
+ }, We]
1195
1192
  }],
1196
1193
  /**
1197
1194
  * Background Color
@@ -1205,42 +1202,42 @@ const c = (e) => {
1205
1202
  * @see https://tailwindcss.com/docs/gradient-color-stops
1206
1203
  */
1207
1204
  "gradient-from-pos": [{
1208
- from: [C]
1205
+ from: [w]
1209
1206
  }],
1210
1207
  /**
1211
1208
  * Gradient Color Stops Via Position
1212
1209
  * @see https://tailwindcss.com/docs/gradient-color-stops
1213
1210
  */
1214
1211
  "gradient-via-pos": [{
1215
- via: [C]
1212
+ via: [w]
1216
1213
  }],
1217
1214
  /**
1218
1215
  * Gradient Color Stops To Position
1219
1216
  * @see https://tailwindcss.com/docs/gradient-color-stops
1220
1217
  */
1221
1218
  "gradient-to-pos": [{
1222
- to: [C]
1219
+ to: [w]
1223
1220
  }],
1224
1221
  /**
1225
1222
  * Gradient Color Stops From
1226
1223
  * @see https://tailwindcss.com/docs/gradient-color-stops
1227
1224
  */
1228
1225
  "gradient-from": [{
1229
- from: [S]
1226
+ from: [v]
1230
1227
  }],
1231
1228
  /**
1232
1229
  * Gradient Color Stops Via
1233
1230
  * @see https://tailwindcss.com/docs/gradient-color-stops
1234
1231
  */
1235
1232
  "gradient-via": [{
1236
- via: [S]
1233
+ via: [v]
1237
1234
  }],
1238
1235
  /**
1239
1236
  * Gradient Color Stops To
1240
1237
  * @see https://tailwindcss.com/docs/gradient-color-stops
1241
1238
  */
1242
1239
  "gradient-to": [{
1243
- to: [S]
1240
+ to: [v]
1244
1241
  }],
1245
1242
  // Borders
1246
1243
  /**
@@ -1248,105 +1245,105 @@ const c = (e) => {
1248
1245
  * @see https://tailwindcss.com/docs/border-radius
1249
1246
  */
1250
1247
  rounded: [{
1251
- rounded: [n]
1248
+ rounded: [o]
1252
1249
  }],
1253
1250
  /**
1254
1251
  * Border Radius Start
1255
1252
  * @see https://tailwindcss.com/docs/border-radius
1256
1253
  */
1257
1254
  "rounded-s": [{
1258
- "rounded-s": [n]
1255
+ "rounded-s": [o]
1259
1256
  }],
1260
1257
  /**
1261
1258
  * Border Radius End
1262
1259
  * @see https://tailwindcss.com/docs/border-radius
1263
1260
  */
1264
1261
  "rounded-e": [{
1265
- "rounded-e": [n]
1262
+ "rounded-e": [o]
1266
1263
  }],
1267
1264
  /**
1268
1265
  * Border Radius Top
1269
1266
  * @see https://tailwindcss.com/docs/border-radius
1270
1267
  */
1271
1268
  "rounded-t": [{
1272
- "rounded-t": [n]
1269
+ "rounded-t": [o]
1273
1270
  }],
1274
1271
  /**
1275
1272
  * Border Radius Right
1276
1273
  * @see https://tailwindcss.com/docs/border-radius
1277
1274
  */
1278
1275
  "rounded-r": [{
1279
- "rounded-r": [n]
1276
+ "rounded-r": [o]
1280
1277
  }],
1281
1278
  /**
1282
1279
  * Border Radius Bottom
1283
1280
  * @see https://tailwindcss.com/docs/border-radius
1284
1281
  */
1285
1282
  "rounded-b": [{
1286
- "rounded-b": [n]
1283
+ "rounded-b": [o]
1287
1284
  }],
1288
1285
  /**
1289
1286
  * Border Radius Left
1290
1287
  * @see https://tailwindcss.com/docs/border-radius
1291
1288
  */
1292
1289
  "rounded-l": [{
1293
- "rounded-l": [n]
1290
+ "rounded-l": [o]
1294
1291
  }],
1295
1292
  /**
1296
1293
  * Border Radius Start Start
1297
1294
  * @see https://tailwindcss.com/docs/border-radius
1298
1295
  */
1299
1296
  "rounded-ss": [{
1300
- "rounded-ss": [n]
1297
+ "rounded-ss": [o]
1301
1298
  }],
1302
1299
  /**
1303
1300
  * Border Radius Start End
1304
1301
  * @see https://tailwindcss.com/docs/border-radius
1305
1302
  */
1306
1303
  "rounded-se": [{
1307
- "rounded-se": [n]
1304
+ "rounded-se": [o]
1308
1305
  }],
1309
1306
  /**
1310
1307
  * Border Radius End End
1311
1308
  * @see https://tailwindcss.com/docs/border-radius
1312
1309
  */
1313
1310
  "rounded-ee": [{
1314
- "rounded-ee": [n]
1311
+ "rounded-ee": [o]
1315
1312
  }],
1316
1313
  /**
1317
1314
  * Border Radius End Start
1318
1315
  * @see https://tailwindcss.com/docs/border-radius
1319
1316
  */
1320
1317
  "rounded-es": [{
1321
- "rounded-es": [n]
1318
+ "rounded-es": [o]
1322
1319
  }],
1323
1320
  /**
1324
1321
  * Border Radius Top Left
1325
1322
  * @see https://tailwindcss.com/docs/border-radius
1326
1323
  */
1327
1324
  "rounded-tl": [{
1328
- "rounded-tl": [n]
1325
+ "rounded-tl": [o]
1329
1326
  }],
1330
1327
  /**
1331
1328
  * Border Radius Top Right
1332
1329
  * @see https://tailwindcss.com/docs/border-radius
1333
1330
  */
1334
1331
  "rounded-tr": [{
1335
- "rounded-tr": [n]
1332
+ "rounded-tr": [o]
1336
1333
  }],
1337
1334
  /**
1338
1335
  * Border Radius Bottom Right
1339
1336
  * @see https://tailwindcss.com/docs/border-radius
1340
1337
  */
1341
1338
  "rounded-br": [{
1342
- "rounded-br": [n]
1339
+ "rounded-br": [o]
1343
1340
  }],
1344
1341
  /**
1345
1342
  * Border Radius Bottom Left
1346
1343
  * @see https://tailwindcss.com/docs/border-radius
1347
1344
  */
1348
1345
  "rounded-bl": [{
1349
- "rounded-bl": [n]
1346
+ "rounded-bl": [o]
1350
1347
  }],
1351
1348
  /**
1352
1349
  * Border Width
@@ -1416,14 +1413,14 @@ const c = (e) => {
1416
1413
  * @see https://tailwindcss.com/docs/border-opacity
1417
1414
  */
1418
1415
  "border-opacity": [{
1419
- "border-opacity": [x]
1416
+ "border-opacity": [m]
1420
1417
  }],
1421
1418
  /**
1422
1419
  * Border Style
1423
1420
  * @see https://tailwindcss.com/docs/border-style
1424
1421
  */
1425
1422
  "border-style": [{
1426
- border: [...W(), "hidden"]
1423
+ border: [...T(), "hidden"]
1427
1424
  }],
1428
1425
  /**
1429
1426
  * Divide Width X
@@ -1454,14 +1451,14 @@ const c = (e) => {
1454
1451
  * @see https://tailwindcss.com/docs/divide-opacity
1455
1452
  */
1456
1453
  "divide-opacity": [{
1457
- "divide-opacity": [x]
1454
+ "divide-opacity": [m]
1458
1455
  }],
1459
1456
  /**
1460
1457
  * Divide Style
1461
1458
  * @see https://tailwindcss.com/docs/divide-style
1462
1459
  */
1463
1460
  "divide-style": [{
1464
- divide: W()
1461
+ divide: T()
1465
1462
  }],
1466
1463
  /**
1467
1464
  * Border Color
@@ -1538,21 +1535,21 @@ const c = (e) => {
1538
1535
  * @see https://tailwindcss.com/docs/outline-style
1539
1536
  */
1540
1537
  "outline-style": [{
1541
- outline: ["", ...W()]
1538
+ outline: ["", ...T()]
1542
1539
  }],
1543
1540
  /**
1544
1541
  * Outline Offset
1545
1542
  * @see https://tailwindcss.com/docs/outline-offset
1546
1543
  */
1547
1544
  "outline-offset": [{
1548
- "outline-offset": [z, l]
1545
+ "outline-offset": [k, i]
1549
1546
  }],
1550
1547
  /**
1551
1548
  * Outline Width
1552
1549
  * @see https://tailwindcss.com/docs/outline-width
1553
1550
  */
1554
1551
  "outline-w": [{
1555
- outline: [z, N]
1552
+ outline: [k, z]
1556
1553
  }],
1557
1554
  /**
1558
1555
  * Outline Color
@@ -1566,7 +1563,7 @@ const c = (e) => {
1566
1563
  * @see https://tailwindcss.com/docs/ring-width
1567
1564
  */
1568
1565
  "ring-w": [{
1569
- ring: Y()
1566
+ ring: X()
1570
1567
  }],
1571
1568
  /**
1572
1569
  * Ring Width Inset
@@ -1585,14 +1582,14 @@ const c = (e) => {
1585
1582
  * @see https://tailwindcss.com/docs/ring-opacity
1586
1583
  */
1587
1584
  "ring-opacity": [{
1588
- "ring-opacity": [x]
1585
+ "ring-opacity": [m]
1589
1586
  }],
1590
1587
  /**
1591
1588
  * Ring Offset Width
1592
1589
  * @see https://tailwindcss.com/docs/ring-offset-width
1593
1590
  */
1594
1591
  "ring-offset-w": [{
1595
- "ring-offset": [z, N]
1592
+ "ring-offset": [k, z]
1596
1593
  }],
1597
1594
  /**
1598
1595
  * Ring Offset Color
@@ -1607,35 +1604,35 @@ const c = (e) => {
1607
1604
  * @see https://tailwindcss.com/docs/box-shadow
1608
1605
  */
1609
1606
  shadow: [{
1610
- shadow: ["", "inner", "none", R, Xe]
1607
+ shadow: ["", "inner", "none", S, Ve]
1611
1608
  }],
1612
1609
  /**
1613
1610
  * Box Shadow Color
1614
1611
  * @see https://tailwindcss.com/docs/box-shadow-color
1615
1612
  */
1616
1613
  "shadow-color": [{
1617
- shadow: [L]
1614
+ shadow: [I]
1618
1615
  }],
1619
1616
  /**
1620
1617
  * Opacity
1621
1618
  * @see https://tailwindcss.com/docs/opacity
1622
1619
  */
1623
1620
  opacity: [{
1624
- opacity: [x]
1621
+ opacity: [m]
1625
1622
  }],
1626
1623
  /**
1627
1624
  * Mix Blend Mode
1628
1625
  * @see https://tailwindcss.com/docs/mix-blend-mode
1629
1626
  */
1630
1627
  "mix-blend": [{
1631
- "mix-blend": [...ee(), "plus-lighter", "plus-darker"]
1628
+ "mix-blend": [...H(), "plus-lighter", "plus-darker"]
1632
1629
  }],
1633
1630
  /**
1634
1631
  * Background Blend Mode
1635
1632
  * @see https://tailwindcss.com/docs/background-blend-mode
1636
1633
  */
1637
1634
  "bg-blend": [{
1638
- "bg-blend": ee()
1635
+ "bg-blend": H()
1639
1636
  }],
1640
1637
  // Filters
1641
1638
  /**
@@ -1651,63 +1648,63 @@ const c = (e) => {
1651
1648
  * @see https://tailwindcss.com/docs/blur
1652
1649
  */
1653
1650
  blur: [{
1654
- blur: [r]
1651
+ blur: [t]
1655
1652
  }],
1656
1653
  /**
1657
1654
  * Brightness
1658
1655
  * @see https://tailwindcss.com/docs/brightness
1659
1656
  */
1660
1657
  brightness: [{
1661
- brightness: [o]
1658
+ brightness: [n]
1662
1659
  }],
1663
1660
  /**
1664
1661
  * Contrast
1665
1662
  * @see https://tailwindcss.com/docs/contrast
1666
1663
  */
1667
1664
  contrast: [{
1668
- contrast: [p]
1665
+ contrast: [u]
1669
1666
  }],
1670
1667
  /**
1671
1668
  * Drop Shadow
1672
1669
  * @see https://tailwindcss.com/docs/drop-shadow
1673
1670
  */
1674
1671
  "drop-shadow": [{
1675
- "drop-shadow": ["", "none", R, l]
1672
+ "drop-shadow": ["", "none", S, i]
1676
1673
  }],
1677
1674
  /**
1678
1675
  * Grayscale
1679
1676
  * @see https://tailwindcss.com/docs/grayscale
1680
1677
  */
1681
1678
  grayscale: [{
1682
- grayscale: [f]
1679
+ grayscale: [g]
1683
1680
  }],
1684
1681
  /**
1685
1682
  * Hue Rotate
1686
1683
  * @see https://tailwindcss.com/docs/hue-rotate
1687
1684
  */
1688
1685
  "hue-rotate": [{
1689
- "hue-rotate": [h]
1686
+ "hue-rotate": [b]
1690
1687
  }],
1691
1688
  /**
1692
1689
  * Invert
1693
1690
  * @see https://tailwindcss.com/docs/invert
1694
1691
  */
1695
1692
  invert: [{
1696
- invert: [y]
1693
+ invert: [h]
1697
1694
  }],
1698
1695
  /**
1699
1696
  * Saturate
1700
1697
  * @see https://tailwindcss.com/docs/saturate
1701
1698
  */
1702
1699
  saturate: [{
1703
- saturate: [P]
1700
+ saturate: [G]
1704
1701
  }],
1705
1702
  /**
1706
1703
  * Sepia
1707
1704
  * @see https://tailwindcss.com/docs/sepia
1708
1705
  */
1709
1706
  sepia: [{
1710
- sepia: [B]
1707
+ sepia: [j]
1711
1708
  }],
1712
1709
  /**
1713
1710
  * Backdrop Filter
@@ -1722,63 +1719,63 @@ const c = (e) => {
1722
1719
  * @see https://tailwindcss.com/docs/backdrop-blur
1723
1720
  */
1724
1721
  "backdrop-blur": [{
1725
- "backdrop-blur": [r]
1722
+ "backdrop-blur": [t]
1726
1723
  }],
1727
1724
  /**
1728
1725
  * Backdrop Brightness
1729
1726
  * @see https://tailwindcss.com/docs/backdrop-brightness
1730
1727
  */
1731
1728
  "backdrop-brightness": [{
1732
- "backdrop-brightness": [o]
1729
+ "backdrop-brightness": [n]
1733
1730
  }],
1734
1731
  /**
1735
1732
  * Backdrop Contrast
1736
1733
  * @see https://tailwindcss.com/docs/backdrop-contrast
1737
1734
  */
1738
1735
  "backdrop-contrast": [{
1739
- "backdrop-contrast": [p]
1736
+ "backdrop-contrast": [u]
1740
1737
  }],
1741
1738
  /**
1742
1739
  * Backdrop Grayscale
1743
1740
  * @see https://tailwindcss.com/docs/backdrop-grayscale
1744
1741
  */
1745
1742
  "backdrop-grayscale": [{
1746
- "backdrop-grayscale": [f]
1743
+ "backdrop-grayscale": [g]
1747
1744
  }],
1748
1745
  /**
1749
1746
  * Backdrop Hue Rotate
1750
1747
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1751
1748
  */
1752
1749
  "backdrop-hue-rotate": [{
1753
- "backdrop-hue-rotate": [h]
1750
+ "backdrop-hue-rotate": [b]
1754
1751
  }],
1755
1752
  /**
1756
1753
  * Backdrop Invert
1757
1754
  * @see https://tailwindcss.com/docs/backdrop-invert
1758
1755
  */
1759
1756
  "backdrop-invert": [{
1760
- "backdrop-invert": [y]
1757
+ "backdrop-invert": [h]
1761
1758
  }],
1762
1759
  /**
1763
1760
  * Backdrop Opacity
1764
1761
  * @see https://tailwindcss.com/docs/backdrop-opacity
1765
1762
  */
1766
1763
  "backdrop-opacity": [{
1767
- "backdrop-opacity": [x]
1764
+ "backdrop-opacity": [m]
1768
1765
  }],
1769
1766
  /**
1770
1767
  * Backdrop Saturate
1771
1768
  * @see https://tailwindcss.com/docs/backdrop-saturate
1772
1769
  */
1773
1770
  "backdrop-saturate": [{
1774
- "backdrop-saturate": [P]
1771
+ "backdrop-saturate": [G]
1775
1772
  }],
1776
1773
  /**
1777
1774
  * Backdrop Sepia
1778
1775
  * @see https://tailwindcss.com/docs/backdrop-sepia
1779
1776
  */
1780
1777
  "backdrop-sepia": [{
1781
- "backdrop-sepia": [B]
1778
+ "backdrop-sepia": [j]
1782
1779
  }],
1783
1780
  // Tables
1784
1781
  /**
@@ -1793,21 +1790,21 @@ const c = (e) => {
1793
1790
  * @see https://tailwindcss.com/docs/border-spacing
1794
1791
  */
1795
1792
  "border-spacing": [{
1796
- "border-spacing": [i]
1793
+ "border-spacing": [l]
1797
1794
  }],
1798
1795
  /**
1799
1796
  * Border Spacing X
1800
1797
  * @see https://tailwindcss.com/docs/border-spacing
1801
1798
  */
1802
1799
  "border-spacing-x": [{
1803
- "border-spacing-x": [i]
1800
+ "border-spacing-x": [l]
1804
1801
  }],
1805
1802
  /**
1806
1803
  * Border Spacing Y
1807
1804
  * @see https://tailwindcss.com/docs/border-spacing
1808
1805
  */
1809
1806
  "border-spacing-y": [{
1810
- "border-spacing-y": [i]
1807
+ "border-spacing-y": [l]
1811
1808
  }],
1812
1809
  /**
1813
1810
  * Table Layout
@@ -1829,35 +1826,35 @@ const c = (e) => {
1829
1826
  * @see https://tailwindcss.com/docs/transition-property
1830
1827
  */
1831
1828
  transition: [{
1832
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", l]
1829
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", i]
1833
1830
  }],
1834
1831
  /**
1835
1832
  * Transition Duration
1836
1833
  * @see https://tailwindcss.com/docs/transition-duration
1837
1834
  */
1838
1835
  duration: [{
1839
- duration: k()
1836
+ duration: C()
1840
1837
  }],
1841
1838
  /**
1842
1839
  * Transition Timing Function
1843
1840
  * @see https://tailwindcss.com/docs/transition-timing-function
1844
1841
  */
1845
1842
  ease: [{
1846
- ease: ["linear", "in", "out", "in-out", l]
1843
+ ease: ["linear", "in", "out", "in-out", i]
1847
1844
  }],
1848
1845
  /**
1849
1846
  * Transition Delay
1850
1847
  * @see https://tailwindcss.com/docs/transition-delay
1851
1848
  */
1852
1849
  delay: [{
1853
- delay: k()
1850
+ delay: C()
1854
1851
  }],
1855
1852
  /**
1856
1853
  * Animation
1857
1854
  * @see https://tailwindcss.com/docs/animation
1858
1855
  */
1859
1856
  animate: [{
1860
- animate: ["none", "spin", "ping", "pulse", "bounce", l]
1857
+ animate: ["none", "spin", "ping", "pulse", "bounce", i]
1861
1858
  }],
1862
1859
  // Transforms
1863
1860
  /**
@@ -1872,63 +1869,63 @@ const c = (e) => {
1872
1869
  * @see https://tailwindcss.com/docs/scale
1873
1870
  */
1874
1871
  scale: [{
1875
- scale: [M]
1872
+ scale: [A]
1876
1873
  }],
1877
1874
  /**
1878
1875
  * Scale X
1879
1876
  * @see https://tailwindcss.com/docs/scale
1880
1877
  */
1881
1878
  "scale-x": [{
1882
- "scale-x": [M]
1879
+ "scale-x": [A]
1883
1880
  }],
1884
1881
  /**
1885
1882
  * Scale Y
1886
1883
  * @see https://tailwindcss.com/docs/scale
1887
1884
  */
1888
1885
  "scale-y": [{
1889
- "scale-y": [M]
1886
+ "scale-y": [A]
1890
1887
  }],
1891
1888
  /**
1892
1889
  * Rotate
1893
1890
  * @see https://tailwindcss.com/docs/rotate
1894
1891
  */
1895
1892
  rotate: [{
1896
- rotate: [T, l]
1893
+ rotate: [P, i]
1897
1894
  }],
1898
1895
  /**
1899
1896
  * Translate X
1900
1897
  * @see https://tailwindcss.com/docs/translate
1901
1898
  */
1902
1899
  "translate-x": [{
1903
- "translate-x": [Q]
1900
+ "translate-x": [J]
1904
1901
  }],
1905
1902
  /**
1906
1903
  * Translate Y
1907
1904
  * @see https://tailwindcss.com/docs/translate
1908
1905
  */
1909
1906
  "translate-y": [{
1910
- "translate-y": [Q]
1907
+ "translate-y": [J]
1911
1908
  }],
1912
1909
  /**
1913
1910
  * Skew X
1914
1911
  * @see https://tailwindcss.com/docs/skew
1915
1912
  */
1916
1913
  "skew-x": [{
1917
- "skew-x": [H]
1914
+ "skew-x": [U]
1918
1915
  }],
1919
1916
  /**
1920
1917
  * Skew Y
1921
1918
  * @see https://tailwindcss.com/docs/skew
1922
1919
  */
1923
1920
  "skew-y": [{
1924
- "skew-y": [H]
1921
+ "skew-y": [U]
1925
1922
  }],
1926
1923
  /**
1927
1924
  * Transform Origin
1928
1925
  * @see https://tailwindcss.com/docs/transform-origin
1929
1926
  */
1930
1927
  "transform-origin": [{
1931
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", l]
1928
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", i]
1932
1929
  }],
1933
1930
  // Interactivity
1934
1931
  /**
@@ -1950,7 +1947,7 @@ const c = (e) => {
1950
1947
  * @see https://tailwindcss.com/docs/cursor
1951
1948
  */
1952
1949
  cursor: [{
1953
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", l]
1950
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", i]
1954
1951
  }],
1955
1952
  /**
1956
1953
  * Caret Color
@@ -2172,7 +2169,7 @@ const c = (e) => {
2172
2169
  * @see https://tailwindcss.com/docs/will-change
2173
2170
  */
2174
2171
  "will-change": [{
2175
- "will-change": ["auto", "scroll", "contents", "transform", l]
2172
+ "will-change": ["auto", "scroll", "contents", "transform", i]
2176
2173
  }],
2177
2174
  // SVG
2178
2175
  /**
@@ -2187,7 +2184,7 @@ const c = (e) => {
2187
2184
  * @see https://tailwindcss.com/docs/stroke-width
2188
2185
  */
2189
2186
  "stroke-w": [{
2190
- stroke: [z, N, q]
2187
+ stroke: [k, z, $]
2191
2188
  }],
2192
2189
  /**
2193
2190
  * Stroke
@@ -2262,169 +2259,59 @@ const c = (e) => {
2262
2259
  "font-size": ["leading"]
2263
2260
  }
2264
2261
  };
2265
- }, Ye = /* @__PURE__ */ Pe(Qe);
2266
- function A(...e) {
2267
- return Ye(ye(e));
2262
+ }, Fe = /* @__PURE__ */ ze(Be);
2263
+ function He(...e) {
2264
+ return Fe(le(e));
2268
2265
  }
2269
- const dt = b.Root, pt = b.Value, De = E.forwardRef(({ className: e, children: t, ...r }, o) => /* @__PURE__ */ X(
2270
- b.Trigger,
2271
- {
2272
- ref: o,
2273
- className: A(
2274
- "richtext-flex richtext-h-10 richtext-w-full richtext-items-center richtext-justify-between richtext-rounded-md richtext-border richtext-border-input richtext-bg-background richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder:richtext-text-muted-foreground focus:richtext-outline-none focus:richtext-ring-2 focus:richtext-ring-ring focus:richtext-ring-offset-1 disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50 [&>span]:richtext-line-clamp-1",
2275
- e
2276
- ),
2277
- ...r,
2278
- children: [
2279
- t,
2280
- /* @__PURE__ */ m(b.Icon, { asChild: !0, children: /* @__PURE__ */ m(se, { className: "richtext-size-4 richtext-opacity-50" }) })
2281
- ]
2282
- }
2283
- ));
2284
- De.displayName = b.Trigger.displayName;
2285
- const pe = E.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(
2286
- b.ScrollUpButton,
2287
- {
2288
- ref: r,
2289
- className: A(
2290
- "richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",
2291
- e
2292
- ),
2293
- ...t,
2294
- children: /* @__PURE__ */ m(me, { className: "richtext-size-4" })
2295
- }
2296
- ));
2297
- pe.displayName = b.ScrollUpButton.displayName;
2298
- const ue = E.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(
2299
- b.ScrollDownButton,
2300
- {
2301
- ref: r,
2302
- className: A(
2303
- "richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",
2304
- e
2305
- ),
2306
- ...t,
2307
- children: /* @__PURE__ */ m(se, { className: "richtext-size-4" })
2308
- }
2309
- ));
2310
- ue.displayName = b.ScrollDownButton.displayName;
2311
- const et = E.forwardRef(({ className: e, children: t, position: r = "popper", ...o }, a) => /* @__PURE__ */ m(b.Portal, { children: /* @__PURE__ */ X(
2312
- b.Content,
2313
- {
2314
- "data-richtext-portal": !0,
2315
- position: r,
2316
- ref: a,
2317
- className: A(
2318
- "richtext-relative richtext-z-50 richtext-max-h-60 richtext-overflow-y-auto richtext-min-w-[8rem] richtext-overflow-hidden richtext-rounded-md richtext-border !richtext-border-border richtext-bg-popover richtext-text-popover-foreground richtext-shadow-md data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[state=closed]:richtext-fade-out-0 data-[state=open]:richtext-fade-in-0 data-[state=closed]:richtext-zoom-out-95 data-[state=open]:richtext-zoom-in-95 data-[side=bottom]:richtext-slide-in-from-top-2 data-[side=left]:richtext-slide-in-from-right-2 data-[side=right]:richtext-slide-in-from-left-2 data-[side=top]:richtext-slide-in-from-bottom-2",
2319
- r === "popper" && "data-[side=bottom]:richtext-translate-y-1 data-[side=left]:richtext--translate-x-1 data-[side=right]:richtext-translate-x-1 data-[side=top]:richtext--translate-y-1",
2320
- e
2321
- ),
2322
- ...o,
2323
- children: [
2324
- /* @__PURE__ */ m(pe, {}),
2325
- /* @__PURE__ */ m(
2326
- b.Viewport,
2327
- {
2328
- className: A(
2329
- "richtext-p-1",
2330
- r === "popper" && "richtext-h-[var(--radix-select-trigger-height)] richtext-w-full richtext-min-w-[var(--radix-select-trigger-width)]"
2331
- ),
2332
- children: t
2333
- }
2334
- ),
2335
- /* @__PURE__ */ m(ue, {})
2336
- ]
2337
- }
2338
- ) }));
2339
- et.displayName = b.Content.displayName;
2340
- const tt = E.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(
2341
- b.Label,
2342
- {
2343
- className: A("richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-font-semibold", e),
2344
- ref: r,
2345
- ...t
2346
- }
2347
- ));
2348
- tt.displayName = b.Label.displayName;
2349
- const rt = E.forwardRef(({ className: e, children: t, ...r }, o) => /* @__PURE__ */ X(
2350
- b.Item,
2351
- {
2352
- ref: o,
2353
- className: A(
2354
- "richtext-relative richtext-flex richtext-w-full richtext-cursor-default richtext-select-none richtext-items-center richtext-rounded-sm richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-outline-none focus:richtext-bg-accent focus:richtext-text-accent-foreground data-[disabled]:richtext-pointer-events-none data-[disabled]:richtext-opacity-50",
2355
- e
2356
- ),
2357
- ...r,
2358
- children: [
2359
- /* @__PURE__ */ m("span", { className: "richtext-absolute richtext-left-2 richtext-flex richtext-size-3.5 richtext-items-center richtext-justify-center", children: /* @__PURE__ */ m(b.ItemIndicator, { children: /* @__PURE__ */ m(xe, { className: "richtext-size-4" }) }) }),
2360
- /* @__PURE__ */ m(b.ItemText, { children: t })
2361
- ]
2362
- }
2363
- ));
2364
- rt.displayName = b.Item.displayName;
2365
- const ot = E.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(
2366
- b.Separator,
2367
- {
2368
- className: A("richtext--mx-1 richtext-my-1 richtext-h-px richtext-bg-muted", e),
2369
- ref: r,
2370
- ...t
2371
- }
2372
- ));
2373
- ot.displayName = b.Separator.displayName;
2374
- function be(e) {
2375
- function t() {
2376
- const n = re(e), i = F(() => n.current, []), s = re(/* @__PURE__ */ new Set()), p = F((h) => {
2377
- n.current = { ...n.current, ...h }, s.current.forEach((y) => y());
2378
- }, []), f = F((h) => (s.current.add(h), () => s.current.delete(h)), []);
2266
+ function se(e) {
2267
+ function r() {
2268
+ const o = Q(e), l = _(() => o.current, []), s = Q(/* @__PURE__ */ new Set()), u = _((b) => {
2269
+ o.current = { ...o.current, ...b }, s.current.forEach((h) => h());
2270
+ }, []), g = _((b) => (s.current.add(b), () => s.current.delete(b)), []);
2379
2271
  return {
2380
- get: i,
2381
- set: p,
2382
- subscribe: f
2272
+ get: l,
2273
+ set: u,
2274
+ subscribe: g
2383
2275
  };
2384
2276
  }
2385
- const r = he(null);
2386
- function o({ children: n }) {
2387
- return /* @__PURE__ */ m(r.Provider, { value: t(), children: n });
2277
+ const t = ae(null);
2278
+ function n({ children: o }) {
2279
+ return /* @__PURE__ */ ie(t.Provider, { value: r(), children: o });
2388
2280
  }
2389
- function a(n) {
2390
- const i = fe(r);
2391
- if (!i)
2281
+ function a(o) {
2282
+ const l = ce(t);
2283
+ if (!l)
2392
2284
  throw new Error("Store not found");
2393
- return [ge(
2394
- i.subscribe,
2395
- () => n(i.get()),
2396
- () => n(e)
2397
- ), i.set];
2285
+ return [de(
2286
+ l.subscribe,
2287
+ () => o(l.get()),
2288
+ () => o(e)
2289
+ ), l.set];
2398
2290
  }
2399
2291
  return {
2400
- Provider: o,
2292
+ Provider: n,
2401
2293
  useStore: a
2402
2294
  };
2403
2295
  }
2404
- be({
2296
+ se({
2405
2297
  value: !1
2406
2298
  });
2407
- be({
2299
+ se({
2408
2300
  value: !1
2409
2301
  });
2410
- const nt = we((e) => ({
2302
+ const Ue = ue((e) => ({
2411
2303
  value: !1,
2412
- setEditable: (t) => {
2304
+ setEditable: (r) => {
2413
2305
  e(() => ({
2414
- value: t.value
2306
+ value: r.value
2415
2307
  }));
2416
2308
  }
2417
2309
  }));
2418
- function ut() {
2419
- return nt((t) => t.value);
2310
+ function Ke() {
2311
+ return Ue((r) => r.value);
2420
2312
  }
2421
2313
  export {
2422
- dt as S,
2423
- ut as a,
2424
- De as b,
2425
- A as c,
2426
- pt as d,
2427
- et as e,
2428
- rt as f,
2429
- nt as u
2314
+ Ke as a,
2315
+ He as c,
2316
+ Ue as u
2430
2317
  };