@takecasper/acuity-design-system 1.13.0 → 1.14.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.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { AnchorHTMLAttributes } from 'react';
2
4
  import { ClassProp } from 'class-variance-authority/types';
3
5
  import { JSX as JSX_2 } from 'react/jsx-runtime';
@@ -61,13 +63,14 @@ declare interface HeadingProps extends VariantProps<typeof headingVariants> {
61
63
  hasMarginBottom?: boolean;
62
64
  className?: string;
63
65
  headingTag?: 'h1' | 'h2' | 'h3' | 'div';
66
+ id?: string;
64
67
  }
65
68
 
66
69
  declare const headingVariants: (props?: ({
67
70
  size?: "large" | "small" | "medium" | "extra-large" | null | undefined;
68
71
  } & ClassProp) | undefined) => string;
69
72
 
70
- export declare const Icon: ({ size, name, hasIndicator, className, altText }: IconProps) => JSX_2.Element;
73
+ export declare const Icon: ({ size, name, hasIndicator, className, altText }: IconProps) => React.ReactNode;
71
74
 
72
75
  declare type IconNames = 'settings' | 'questionCircle' | 'notifications' | 'flag' | 'edit' | 'delete' | 'resourceCenter' | 'search' | 'error' | 'warning' | 'dropdown' | 'calendar' | 'bookmark' | 'infoCircle' | 'menu' | 'add' | 'exclude' | 'email' | 'close' | 'checkCircle' | 'linkNewTab';
73
76
 
package/dist/index.es.js CHANGED
@@ -17,14 +17,14 @@ function ot() {
17
17
  rr = 1;
18
18
  var e = fr, s = Symbol.for("react.element"), a = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
19
19
  function d(u, p, g) {
20
- var f, m = {}, k = null, _ = null;
20
+ var f, x = {}, k = null, _ = null;
21
21
  g !== void 0 && (k = "" + g), p.key !== void 0 && (k = "" + p.key), p.ref !== void 0 && (_ = p.ref);
22
22
  for (f in p)
23
- r.call(p, f) && !i.hasOwnProperty(f) && (m[f] = p[f]);
23
+ r.call(p, f) && !i.hasOwnProperty(f) && (x[f] = p[f]);
24
24
  if (u && u.defaultProps)
25
25
  for (f in p = u.defaultProps, p)
26
- m[f] === void 0 && (m[f] = p[f]);
27
- return { $$typeof: s, type: u, key: k, ref: _, props: m, _owner: n.current };
26
+ x[f] === void 0 && (x[f] = p[f]);
27
+ return { $$typeof: s, type: u, key: k, ref: _, props: x, _owner: n.current };
28
28
  }
29
29
  return fe.Fragment = a, fe.jsx = d, fe.jsxs = d, fe;
30
30
  }
@@ -41,7 +41,7 @@ var pe = {};
41
41
  var tr;
42
42
  function nt() {
43
43
  return tr || (tr = 1, process.env.NODE_ENV !== "production" && function() {
44
- var e = fr, s = Symbol.for("react.element"), a = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), u = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), I = Symbol.iterator, M = "@@iterator";
44
+ var e = fr, s = Symbol.for("react.element"), a = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), u = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), I = Symbol.iterator, M = "@@iterator";
45
45
  function R(t) {
46
46
  if (t === null || typeof t != "object")
47
47
  return null;
@@ -60,16 +60,16 @@ function nt() {
60
60
  {
61
61
  var h = S.ReactDebugCurrentFrame, v = h.getStackAddendum();
62
62
  v !== "" && (l += "%s", c = c.concat([v]));
63
- var j = c.map(function(x) {
64
- return String(x);
63
+ var j = c.map(function(m) {
64
+ return String(m);
65
65
  });
66
66
  j.unshift("Warning: " + l), Function.prototype.apply.call(console[t], console, j);
67
67
  }
68
68
  }
69
- var ie = !1, Ce = !1, me = !1, xe = !1, ve = !1, J;
69
+ var ie = !1, Ce = !1, xe = !1, me = !1, ve = !1, J;
70
70
  J = Symbol.for("react.module.reference");
71
71
  function ae(t) {
72
- return !!(typeof t == "string" || typeof t == "function" || t === r || t === i || ve || t === n || t === g || t === f || xe || t === _ || ie || Ce || me || typeof t == "object" && t !== null && (t.$$typeof === k || t.$$typeof === m || t.$$typeof === d || t.$$typeof === u || t.$$typeof === p || // This needs to include all possible module reference object
72
+ return !!(typeof t == "string" || typeof t == "function" || t === r || t === i || ve || t === n || t === g || t === f || me || t === _ || ie || Ce || xe || typeof t == "object" && t !== null && (t.$$typeof === k || t.$$typeof === x || t.$$typeof === d || t.$$typeof === u || t.$$typeof === p || // This needs to include all possible module reference object
73
73
  // types supported by any Flight configuration anywhere since
74
74
  // we don't know which Flight build this will end up being used
75
75
  // with.
@@ -116,13 +116,13 @@ function nt() {
116
116
  return w(c._context) + ".Provider";
117
117
  case p:
118
118
  return le(t, t.render, "ForwardRef");
119
- case m:
119
+ case x:
120
120
  var h = t.displayName || null;
121
121
  return h !== null ? h : V(t.type) || "Memo";
122
122
  case k: {
123
- var v = t, j = v._payload, x = v._init;
123
+ var v = t, j = v._payload, m = v._init;
124
124
  try {
125
- return V(x(j));
125
+ return V(m(j));
126
126
  } catch (C) {
127
127
  return null;
128
128
  }
@@ -227,27 +227,27 @@ function nt() {
227
227
  j = Re.current, Re.current = null, _r();
228
228
  try {
229
229
  if (l) {
230
- var x = function() {
230
+ var m = function() {
231
231
  throw Error();
232
232
  };
233
- if (Object.defineProperty(x.prototype, "props", {
233
+ if (Object.defineProperty(m.prototype, "props", {
234
234
  set: function() {
235
235
  throw Error();
236
236
  }
237
237
  }), typeof Reflect == "object" && Reflect.construct) {
238
238
  try {
239
- Reflect.construct(x, []);
239
+ Reflect.construct(m, []);
240
240
  } catch (N) {
241
241
  h = N;
242
242
  }
243
- Reflect.construct(t, [], x);
243
+ Reflect.construct(t, [], m);
244
244
  } else {
245
245
  try {
246
- x.call();
246
+ m.call();
247
247
  } catch (N) {
248
248
  h = N;
249
249
  }
250
- t.call(x.prototype);
250
+ t.call(m.prototype);
251
251
  }
252
252
  } else {
253
253
  try {
@@ -306,13 +306,13 @@ function nt() {
306
306
  switch (t.$$typeof) {
307
307
  case p:
308
308
  return Vr(t.render);
309
- case m:
309
+ case x:
310
310
  return je(t.type, l, c);
311
311
  case k: {
312
312
  var h = t, v = h._payload, j = h._init;
313
313
  try {
314
314
  return je(j(v), l, c);
315
- } catch (x) {
315
+ } catch (m) {
316
316
  }
317
317
  }
318
318
  }
@@ -329,19 +329,19 @@ function nt() {
329
329
  function Tr(t, l, c, h, v) {
330
330
  {
331
331
  var j = Function.call.bind(ye);
332
- for (var x in t)
333
- if (j(t, x)) {
332
+ for (var m in t)
333
+ if (j(t, m)) {
334
334
  var C = void 0;
335
335
  try {
336
- if (typeof t[x] != "function") {
337
- var $ = Error((h || "React class") + ": " + c + " type `" + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[x] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
336
+ if (typeof t[m] != "function") {
337
+ var $ = Error((h || "React class") + ": " + c + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
338
  throw $.name = "Invariant Violation", $;
339
339
  }
340
- C = t[x](l, x, h, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ C = t[m](l, m, h, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
341
  } catch (E) {
342
342
  C = E;
343
343
  }
344
- C && !(C instanceof Error) && (Le(v), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", h || "React class", c, x, typeof C), Le(null)), C instanceof Error && !(C.message in Fe) && (Fe[C.message] = !0, Le(v), y("Failed %s type: %s", c, C.message), Le(null));
344
+ C && !(C instanceof Error) && (Le(v), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", h || "React class", c, m, typeof C), Le(null)), C instanceof Error && !(C.message in Fe) && (Fe[C.message] = !0, Le(v), y("Failed %s type: %s", c, C.message), Le(null));
345
345
  }
346
346
  }
347
347
  }
@@ -420,7 +420,7 @@ function nt() {
420
420
  });
421
421
  }
422
422
  }
423
- var Gr = function(t, l, c, h, v, j, x) {
423
+ var Gr = function(t, l, c, h, v, j, m) {
424
424
  var C = {
425
425
  // This tag allows us to uniquely identify this as a React Element
426
426
  $$typeof: s,
@@ -428,7 +428,7 @@ function nt() {
428
428
  type: t,
429
429
  key: l,
430
430
  ref: c,
431
- props: x,
431
+ props: m,
432
432
  // Record the component responsible for creating this element.
433
433
  _owner: j
434
434
  };
@@ -451,20 +451,20 @@ function nt() {
451
451
  };
452
452
  function Zr(t, l, c, h, v) {
453
453
  {
454
- var j, x = {}, C = null, $ = null;
454
+ var j, m = {}, C = null, $ = null;
455
455
  c !== void 0 && (Ge(c), C = "" + c), zr(l) && (Ge(l.key), C = "" + l.key), Br(l) && ($ = l.ref, Fr(l, v));
456
456
  for (j in l)
457
- ye.call(l, j) && !Or.hasOwnProperty(j) && (x[j] = l[j]);
457
+ ye.call(l, j) && !Or.hasOwnProperty(j) && (m[j] = l[j]);
458
458
  if (t && t.defaultProps) {
459
459
  var E = t.defaultProps;
460
460
  for (j in E)
461
- x[j] === void 0 && (x[j] = E[j]);
461
+ m[j] === void 0 && (m[j] = E[j]);
462
462
  }
463
463
  if (C || $) {
464
464
  var W = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
465
- C && Hr(x, W), $ && Dr(x, W);
465
+ C && Hr(m, W), $ && Dr(m, W);
466
466
  }
467
- return Gr(t, C, $, v, h, ue.current, x);
467
+ return Gr(t, C, $, v, h, ue.current, m);
468
468
  }
469
469
  }
470
470
  var Ve = S.ReactCurrentOwner, Ye = S.ReactDebugCurrentFrame;
@@ -543,8 +543,8 @@ Check the top-level render call using <` + c + ">.");
543
543
  else if (t) {
544
544
  var v = R(t);
545
545
  if (typeof v == "function" && v !== t.entries)
546
- for (var j = v.call(t), x; !(x = j.next()).done; )
547
- Te(x.value) && Ke(x.value, l);
546
+ for (var j = v.call(t), m; !(m = j.next()).done; )
547
+ Te(m.value) && Ke(m.value, l);
548
548
  }
549
549
  }
550
550
  }
@@ -558,7 +558,7 @@ Check the top-level render call using <` + c + ">.");
558
558
  c = l.propTypes;
559
559
  else if (typeof l == "object" && (l.$$typeof === p || // Note: Memo only checks outer props here.
560
560
  // Inner props are checked in the reconciler.
561
- l.$$typeof === m))
561
+ l.$$typeof === x))
562
562
  c = l.propTypes;
563
563
  else
564
564
  return;
@@ -587,8 +587,8 @@ Check the top-level render call using <` + c + ">.");
587
587
  }
588
588
  function Qe(t, l, c, h, v, j) {
589
589
  {
590
- var x = ae(t);
591
- if (!x) {
590
+ var m = ae(t);
591
+ if (!m) {
592
592
  var C = "";
593
593
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (C += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
594
594
  var $ = Ur(v);
@@ -599,7 +599,7 @@ Check the top-level render call using <` + c + ">.");
599
599
  var W = Zr(t, l, c, v, j);
600
600
  if (W == null)
601
601
  return W;
602
- if (x) {
602
+ if (m) {
603
603
  var T = l.children;
604
604
  if (T !== void 0)
605
605
  if (h)
@@ -1152,7 +1152,7 @@ const st = ({
1152
1152
  ]
1153
1153
  }
1154
1154
  );
1155
- }, Ct = bt, mt = ({
1155
+ }, Ct = bt, xt = ({
1156
1156
  width: e = "24",
1157
1157
  height: s = "24",
1158
1158
  className: a = "",
@@ -1212,7 +1212,7 @@ const st = ({
1212
1212
  ]
1213
1213
  }
1214
1214
  );
1215
- }, xt = mt, vt = ({
1215
+ }, mt = xt, vt = ({
1216
1216
  width: e = "24",
1217
1217
  height: s = "24",
1218
1218
  className: a = "",
@@ -1853,7 +1853,12 @@ const st = ({
1853
1853
  ]
1854
1854
  }
1855
1855
  );
1856
- }, Ot = Nt, Bt = ({ width: e = "24", height: s = "24", className: a = "", title: r = "" }) => {
1856
+ }, Ot = Nt, Bt = ({
1857
+ width: e = "24",
1858
+ height: s = "24",
1859
+ className: a = "",
1860
+ title: r = ""
1861
+ }) => {
1857
1862
  const n = !(r && r.length > 0);
1858
1863
  return /* @__PURE__ */ o.jsxs(
1859
1864
  "svg",
@@ -2073,14 +2078,14 @@ const st = ({
2073
2078
  }
2074
2079
  );
2075
2080
  }, Ut = Zt;
2076
- function mr(e) {
2081
+ function xr(e) {
2077
2082
  var s, a, r = "";
2078
2083
  if (typeof e == "string" || typeof e == "number")
2079
2084
  r += e;
2080
2085
  else if (typeof e == "object")
2081
2086
  if (Array.isArray(e))
2082
2087
  for (s = 0; s < e.length; s++)
2083
- e[s] && (a = mr(e[s])) && (r && (r += " "), r += a);
2088
+ e[s] && (a = xr(e[s])) && (r && (r += " "), r += a);
2084
2089
  else
2085
2090
  for (s in e)
2086
2091
  e[s] && (r && (r += " "), r += s);
@@ -2088,7 +2093,7 @@ function mr(e) {
2088
2093
  }
2089
2094
  function Yt() {
2090
2095
  for (var e, s, a = 0, r = ""; a < arguments.length; )
2091
- (e = arguments[a++]) && (s = mr(e)) && (r && (r += " "), r += s);
2096
+ (e = arguments[a++]) && (s = xr(e)) && (r && (r += " "), r += s);
2092
2097
  return r;
2093
2098
  }
2094
2099
  const or = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, nr = Yt, P = (e, s) => (a) => {
@@ -2096,16 +2101,16 @@ const or = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, nr =
2096
2101
  if ((s == null ? void 0 : s.variants) == null)
2097
2102
  return nr(e, a == null ? void 0 : a.class, a == null ? void 0 : a.className);
2098
2103
  const { variants: n, defaultVariants: i } = s, d = Object.keys(n).map((g) => {
2099
- const f = a == null ? void 0 : a[g], m = i == null ? void 0 : i[g];
2104
+ const f = a == null ? void 0 : a[g], x = i == null ? void 0 : i[g];
2100
2105
  if (f === null)
2101
2106
  return null;
2102
- const k = or(f) || or(m);
2107
+ const k = or(f) || or(x);
2103
2108
  return n[g][k];
2104
2109
  }), u = a && Object.entries(a).reduce((g, f) => {
2105
- let [m, k] = f;
2106
- return k === void 0 || (g[m] = k), g;
2110
+ let [x, k] = f;
2111
+ return k === void 0 || (g[x] = k), g;
2107
2112
  }, {}), p = s == null || (r = s.compoundVariants) === null || r === void 0 ? void 0 : r.reduce((g, f) => {
2108
- let { class: m, className: k, ..._ } = f;
2113
+ let { class: x, className: k, ..._ } = f;
2109
2114
  return Object.entries(_).every((I) => {
2110
2115
  let [M, R] = I;
2111
2116
  return Array.isArray(R) ? R.includes({
@@ -2117,7 +2122,7 @@ const or = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, nr =
2117
2122
  }[M] === R;
2118
2123
  }) ? [
2119
2124
  ...g,
2120
- m,
2125
+ x,
2121
2126
  k
2122
2127
  ] : g;
2123
2128
  }, []);
@@ -2130,7 +2135,7 @@ function qt(e) {
2130
2135
  } = e;
2131
2136
  function n(d) {
2132
2137
  const u = d.split(Oe);
2133
- return u[0] === "" && u.length !== 1 && u.shift(), xr(u, s) || Jt(d);
2138
+ return u[0] === "" && u.length !== 1 && u.shift(), mr(u, s) || Jt(d);
2134
2139
  }
2135
2140
  function i(d, u) {
2136
2141
  const p = a[d] || [];
@@ -2141,11 +2146,11 @@ function qt(e) {
2141
2146
  getConflictingClassGroupIds: i
2142
2147
  };
2143
2148
  }
2144
- function xr(e, s) {
2149
+ function mr(e, s) {
2145
2150
  var d;
2146
2151
  if (e.length === 0)
2147
2152
  return s.classGroupId;
2148
- const a = e[0], r = s.nextPart.get(a), n = r ? xr(e.slice(1), r) : void 0;
2153
+ const a = e[0], r = s.nextPart.get(a), n = r ? mr(e.slice(1), r) : void 0;
2149
2154
  if (n)
2150
2155
  return n;
2151
2156
  if (s.validators.length === 0)
@@ -2261,7 +2266,7 @@ function ro(e) {
2261
2266
  }
2262
2267
  R === "[" ? p++ : R === "]" && p--;
2263
2268
  }
2264
- const m = u.length === 0 ? d : d.substring(g), k = m.startsWith(vr), _ = k ? m.substring(1) : m, I = f && f > g ? f - g : void 0;
2269
+ const x = u.length === 0 ? d : d.substring(g), k = x.startsWith(vr), _ = k ? x.substring(1) : x, I = f && f > g ? f - g : void 0;
2265
2270
  return {
2266
2271
  modifiers: u,
2267
2272
  hasImportantModifier: k,
@@ -2300,14 +2305,14 @@ function so(e, s) {
2300
2305
  baseClassName: g,
2301
2306
  maybePostfixModifierPosition: f
2302
2307
  } = a(d);
2303
- let m = r(f ? g.substring(0, f) : g), k = !!f;
2304
- if (!m) {
2308
+ let x = r(f ? g.substring(0, f) : g), k = !!f;
2309
+ if (!x) {
2305
2310
  if (!f)
2306
2311
  return {
2307
2312
  isTailwindClass: !1,
2308
2313
  originalClassName: d
2309
2314
  };
2310
- if (m = r(g), !m)
2315
+ if (x = r(g), !x)
2311
2316
  return {
2312
2317
  isTailwindClass: !1,
2313
2318
  originalClassName: d
@@ -2318,7 +2323,7 @@ function so(e, s) {
2318
2323
  return {
2319
2324
  isTailwindClass: !0,
2320
2325
  modifierId: p ? _ + vr : _,
2321
- classGroupId: m,
2326
+ classGroupId: x,
2322
2327
  originalClassName: d,
2323
2328
  hasPostfixModifier: k
2324
2329
  };
@@ -2330,7 +2335,7 @@ function so(e, s) {
2330
2335
  classGroupId: p,
2331
2336
  hasPostfixModifier: g
2332
2337
  } = d, f = u + p;
2333
- return i.has(f) ? !1 : (i.add(f), n(p, g).forEach((m) => i.add(u + m)), !0);
2338
+ return i.has(f) ? !1 : (i.add(f), n(p, g).forEach((x) => i.add(u + x)), !0);
2334
2339
  }).reverse().map((d) => d.originalClassName).join(" ");
2335
2340
  }
2336
2341
  function io() {
@@ -2350,7 +2355,7 @@ function kr(e) {
2350
2355
  function ao(e, ...s) {
2351
2356
  let a, r, n, i = d;
2352
2357
  function d(p) {
2353
- const g = s.reduce((f, m) => m(f), e());
2358
+ const g = s.reduce((f, x) => x(f), e());
2354
2359
  return a = oo(g), r = a.cache.get, n = a.cache.set, i = u, u(p);
2355
2360
  }
2356
2361
  function u(p) {
@@ -2394,10 +2399,10 @@ function G(e) {
2394
2399
  return uo.test(e);
2395
2400
  }
2396
2401
  const Co = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
2397
- function mo(e) {
2402
+ function xo(e) {
2398
2403
  return te(e, Co, jr);
2399
2404
  }
2400
- function xo(e) {
2405
+ function mo(e) {
2401
2406
  return te(e, "position", jr);
2402
2407
  }
2403
2408
  const vo = /* @__PURE__ */ new Set(["image", "url"]);
@@ -2427,7 +2432,7 @@ function Lo(e) {
2427
2432
  return go.test(e);
2428
2433
  }
2429
2434
  function Mo() {
2430
- const e = L("colors"), s = L("spacing"), a = L("blur"), r = L("brightness"), n = L("borderColor"), i = L("borderRadius"), d = L("borderSpacing"), u = L("borderWidth"), p = L("contrast"), g = L("grayscale"), f = L("hueRotate"), m = L("invert"), k = L("gap"), _ = L("gradientColorStops"), I = L("gradientColorStopPositions"), M = L("inset"), R = L("margin"), S = L("opacity"), y = L("padding"), be = L("saturate"), ie = L("scale"), Ce = L("sepia"), me = L("skew"), xe = L("space"), ve = L("translate"), J = () => ["auto", "contain", "none"], ae = () => ["auto", "hidden", "clip", "visible", "scroll"], le = () => ["auto", b, s], w = () => [b, s], V = () => ["", O, D], A = () => ["auto", Y, b], z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Z = () => ["solid", "dashed", "dotted", "double", "none"], de = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], F = () => ["", "0", b], ce = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], H = () => [Y, Me], U = () => [Y, b];
2435
+ const e = L("colors"), s = L("spacing"), a = L("blur"), r = L("brightness"), n = L("borderColor"), i = L("borderRadius"), d = L("borderSpacing"), u = L("borderWidth"), p = L("contrast"), g = L("grayscale"), f = L("hueRotate"), x = L("invert"), k = L("gap"), _ = L("gradientColorStops"), I = L("gradientColorStopPositions"), M = L("inset"), R = L("margin"), S = L("opacity"), y = L("padding"), be = L("saturate"), ie = L("scale"), Ce = L("sepia"), xe = L("skew"), me = L("space"), ve = L("translate"), J = () => ["auto", "contain", "none"], ae = () => ["auto", "hidden", "clip", "visible", "scroll"], le = () => ["auto", b, s], w = () => [b, s], V = () => ["", O, D], A = () => ["auto", Y, b], z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Z = () => ["solid", "dashed", "dotted", "double", "none"], de = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], F = () => ["", "0", b], ce = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], H = () => [Y, Me], U = () => [Y, b];
2431
2436
  return {
2432
2437
  cacheSize: 500,
2433
2438
  separator: ":",
@@ -3021,7 +3026,7 @@ function Mo() {
3021
3026
  * @see https://tailwindcss.com/docs/space
3022
3027
  */
3023
3028
  "space-x": [{
3024
- "space-x": [xe]
3029
+ "space-x": [me]
3025
3030
  }],
3026
3031
  /**
3027
3032
  * Space Between X Reverse
@@ -3033,7 +3038,7 @@ function Mo() {
3033
3038
  * @see https://tailwindcss.com/docs/space
3034
3039
  */
3035
3040
  "space-y": [{
3036
- "space-y": [xe]
3041
+ "space-y": [me]
3037
3042
  }],
3038
3043
  /**
3039
3044
  * Space Between Y Reverse
@@ -3359,7 +3364,7 @@ function Mo() {
3359
3364
  * @see https://tailwindcss.com/docs/background-position
3360
3365
  */
3361
3366
  "bg-position": [{
3362
- bg: [...z(), xo]
3367
+ bg: [...z(), mo]
3363
3368
  }],
3364
3369
  /**
3365
3370
  * Background Repeat
@@ -3375,7 +3380,7 @@ function Mo() {
3375
3380
  * @see https://tailwindcss.com/docs/background-size
3376
3381
  */
3377
3382
  "bg-size": [{
3378
- bg: ["auto", "cover", "contain", mo]
3383
+ bg: ["auto", "cover", "contain", xo]
3379
3384
  }],
3380
3385
  /**
3381
3386
  * Background Image
@@ -3872,7 +3877,7 @@ function Mo() {
3872
3877
  * @see https://tailwindcss.com/docs/invert
3873
3878
  */
3874
3879
  invert: [{
3875
- invert: [m]
3880
+ invert: [x]
3876
3881
  }],
3877
3882
  /**
3878
3883
  * Saturate
@@ -3936,7 +3941,7 @@ function Mo() {
3936
3941
  * @see https://tailwindcss.com/docs/backdrop-invert
3937
3942
  */
3938
3943
  "backdrop-invert": [{
3939
- "backdrop-invert": [m]
3944
+ "backdrop-invert": [x]
3940
3945
  }],
3941
3946
  /**
3942
3947
  * Backdrop Opacity
@@ -4093,14 +4098,14 @@ function Mo() {
4093
4098
  * @see https://tailwindcss.com/docs/skew
4094
4099
  */
4095
4100
  "skew-x": [{
4096
- "skew-x": [me]
4101
+ "skew-x": [xe]
4097
4102
  }],
4098
4103
  /**
4099
4104
  * Skew Y
4100
4105
  * @see https://tailwindcss.com/docs/skew
4101
4106
  */
4102
4107
  "skew-y": [{
4103
- "skew-y": [me]
4108
+ "skew-y": [xe]
4104
4109
  }],
4105
4110
  /**
4106
4111
  * Transform Origin
@@ -4503,7 +4508,7 @@ const Ro = P(
4503
4508
  info: /* @__PURE__ */ o.jsx(pr, { className: ee({ variant: e }) }),
4504
4509
  warning: /* @__PURE__ */ o.jsx(gr, { className: ee({ variant: e }) }),
4505
4510
  error: /* @__PURE__ */ o.jsx(br, { className: ee({ variant: e }) })
4506
- }, m = () => d !== void 0 && i !== "" && !(r !== "none" || n !== ""), k = () => r === "large" ? "ds-flex-col ds-flex ds-gap-3" : r === "small" ? "ds-flex-row ds-flex ds-gap-3" : "ds-flex";
4511
+ }, x = () => d !== void 0 && i !== "" && !(r !== "none" || n !== ""), k = () => r === "large" ? "ds-flex-col ds-flex ds-gap-3" : r === "small" ? "ds-flex-row ds-flex ds-gap-3" : "ds-flex";
4507
4512
  return /* @__PURE__ */ o.jsxs("div", { id: p, className: Wo({ variant: e }), children: [
4508
4513
  /* @__PURE__ */ o.jsxs("div", { className: "ds-flex ds-flex-row", children: [
4509
4514
  a && /* @__PURE__ */ o.jsx(
@@ -4546,7 +4551,7 @@ const Ro = P(
4546
4551
  d && /* @__PURE__ */ o.jsx(
4547
4552
  "div",
4548
4553
  {
4549
- className: `${ar({ variant: e })} ${m() ? "ds-mt-3" : ""}`,
4554
+ className: `${ar({ variant: e })} ${x() ? "ds-mt-3" : ""}`,
4550
4555
  children: d
4551
4556
  }
4552
4557
  )
@@ -4559,9 +4564,8 @@ const Ro = P(
4559
4564
  }, r1 = $o, yr = (e, s, a, r) => {
4560
4565
  const n = `preflight ${a}`;
4561
4566
  return {
4562
- // TODO: Construct class that includes passed classes plus preflight
4563
4567
  settings: /* @__PURE__ */ o.jsx(kt, { width: e, height: s, className: n, title: r }),
4564
- questionCircle: /* @__PURE__ */ o.jsx(xt, { width: e, height: s, className: n, title: r }),
4568
+ questionCircle: /* @__PURE__ */ o.jsx(mt, { width: e, height: s, className: n, title: r }),
4565
4569
  notifications: /* @__PURE__ */ o.jsx(gt, { width: e, height: s, className: n, title: r }),
4566
4570
  flag: /* @__PURE__ */ o.jsx(pt, { width: e, height: s, className: n, title: r }),
4567
4571
  edit: /* @__PURE__ */ o.jsx(ut, { width: e, height: s, className: n, title: r }),
@@ -4678,7 +4682,7 @@ const lr = (...e) => B(Ao(...e)), Pe = [
4678
4682
  "disabled:ds-border-neutrals-lighter",
4679
4683
  "disabled:ds-cursor-not-allowed"
4680
4684
  ], dr = [
4681
- "ds-p-[0.75rem]",
4685
+ "ds-p-3",
4682
4686
  "ds-text-neutrals-black",
4683
4687
  "ds-bg-neutrals-white",
4684
4688
  "ds-border-neutrals-white",
@@ -4836,7 +4840,7 @@ const lr = (...e) => B(Ao(...e)), Pe = [
4836
4840
  children: e === "icon-no-label" ? /* @__PURE__ */ o.jsx(
4837
4841
  re,
4838
4842
  {
4839
- size: "medium",
4843
+ size: "small",
4840
4844
  name: d != null ? d : "edit",
4841
4845
  hasIndicator: u,
4842
4846
  className: r ? "ds-text-neutrals-dark" : "ds-text-neutrals-black",
@@ -5025,7 +5029,7 @@ const Do = P("preflight ds-font-sans", {
5025
5029
  headingTag: u,
5026
5030
  ...p
5027
5031
  }) => {
5028
- const g = r ? /* @__PURE__ */ o.jsx("p", { className: Go({ size: e }), children: r }) : null, f = n ? /* @__PURE__ */ o.jsx("p", { className: Zo({ size: e }), children: n }) : null, m = i ? /* @__PURE__ */ o.jsx("hr", { className: Uo({ size: e }) }) : null, k = d ? Do({ size: e }) : "preflight", _ = {
5032
+ const g = r ? /* @__PURE__ */ o.jsx("p", { className: Go({ size: e }), children: r }) : null, f = n ? /* @__PURE__ */ o.jsx("p", { className: Zo({ size: e }), children: n }) : null, x = i ? /* @__PURE__ */ o.jsx("hr", { className: Uo({ size: e }) }) : null, k = d ? Do({ size: e }) : "preflight", _ = {
5029
5033
  div: /* @__PURE__ */ o.jsx("div", { className: Ee({ size: e }), children: a }),
5030
5034
  h3: /* @__PURE__ */ o.jsx("h3", { className: Ee({ size: e }), children: a }),
5031
5035
  h2: /* @__PURE__ */ o.jsx("h2", { className: Ee({ size: e }), children: a }),
@@ -5035,7 +5039,7 @@ const Do = P("preflight ds-font-sans", {
5035
5039
  g,
5036
5040
  _[u || Ho(e)],
5037
5041
  f,
5038
- m
5042
+ x
5039
5043
  ] });
5040
5044
  }, qo = Yo, Jo = ({ label: e = "", name: s, id: a, disabled: r = !1, ...n }) => /* @__PURE__ */ o.jsxs("div", { className: "ds-flex ds-h-4 ds-items-center", children: [
5041
5045
  /* @__PURE__ */ o.jsx(