@validationcloud/fractal-ui 1.17.0 → 1.18.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.
@@ -8,7 +8,7 @@ import { default as React } from 'react';
8
8
  */
9
9
  export declare const Button: React.ForwardRefExoticComponent<{
10
10
  className?: string;
11
- variant?: "primary" | "warning" | "info" | "gradient" | "secondary" | "ghost" | "text";
11
+ variant?: "primary" | "warning" | "info" | "gradient" | "secondary" | "ghost" | "text" | "light";
12
12
  size?: "large" | "medium" | "small" | "xsmall";
13
13
  } & Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
14
14
  asChild?: boolean;
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
2
2
  declare const meta: {
3
3
  component: import('react').ForwardRefExoticComponent<{
4
4
  className?: string;
5
- variant?: "primary" | "warning" | "info" | "gradient" | "secondary" | "ghost" | "text";
5
+ variant?: "primary" | "warning" | "info" | "gradient" | "secondary" | "ghost" | "text" | "light";
6
6
  size?: "large" | "medium" | "small" | "xsmall";
7
7
  } & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
8
8
  asChild?: boolean;
@@ -15,6 +15,7 @@ export default meta;
15
15
  type Story = StoryObj<typeof meta>;
16
16
  export declare const Primary: Story;
17
17
  export declare const Secondary: Story;
18
+ export declare const Light: Story;
18
19
  export declare const Gradient: Story;
19
20
  export declare const Warning: Story;
20
21
  export declare const Info: Story;
@@ -79,14 +79,14 @@ function S1() {
79
79
  case U:
80
80
  return (c._context.displayName || "Context") + ".Consumer";
81
81
  case z:
82
- var g = c.render;
83
- return c = c.displayName, c || (c = g.displayName || g.name || "", c = c !== "" ? "ForwardRef(" + c + ")" : "ForwardRef"), c;
82
+ var b = c.render;
83
+ return c = c.displayName, c || (c = b.displayName || b.name || "", c = c !== "" ? "ForwardRef(" + c + ")" : "ForwardRef"), c;
84
84
  case m:
85
- return g = c.displayName || null, g !== null ? g : l(c.type) || "Memo";
85
+ return b = c.displayName || null, b !== null ? b : l(c.type) || "Memo";
86
86
  case x:
87
- g = c._payload, c = c._init;
87
+ b = c._payload, c = c._init;
88
88
  try {
89
- return l(c(g));
89
+ return l(c(b));
90
90
  } catch {
91
91
  }
92
92
  }
@@ -98,15 +98,15 @@ function S1() {
98
98
  function o(c) {
99
99
  try {
100
100
  i(c);
101
- var g = !1;
101
+ var b = !1;
102
102
  } catch {
103
- g = !0;
103
+ b = !0;
104
104
  }
105
- if (g) {
106
- g = console;
107
- var b = g.error, y = typeof Symbol == "function" && Symbol.toStringTag && c[Symbol.toStringTag] || c.constructor.name || "Object";
108
- return b.call(
109
- g,
105
+ if (b) {
106
+ b = console;
107
+ var g = b.error, y = typeof Symbol == "function" && Symbol.toStringTag && c[Symbol.toStringTag] || c.constructor.name || "Object";
108
+ return g.call(
109
+ b,
110
110
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
111
111
  y
112
112
  ), i(c);
@@ -117,8 +117,8 @@ function S1() {
117
117
  if (typeof c == "object" && c !== null && c.$$typeof === x)
118
118
  return "<...>";
119
119
  try {
120
- var g = l(c);
121
- return g ? "<" + g + ">" : "<...>";
120
+ var b = l(c);
121
+ return b ? "<" + b + ">" : "<...>";
122
122
  } catch {
123
123
  return "<...>";
124
124
  }
@@ -132,20 +132,20 @@ function S1() {
132
132
  }
133
133
  function n(c) {
134
134
  if (s2.call(c, "key")) {
135
- var g = Object.getOwnPropertyDescriptor(c, "key").get;
136
- if (g && g.isReactWarning) return !1;
135
+ var b = Object.getOwnPropertyDescriptor(c, "key").get;
136
+ if (b && b.isReactWarning) return !1;
137
137
  }
138
138
  return c.key !== void 0;
139
139
  }
140
- function a(c, g) {
141
- function b() {
140
+ function a(c, b) {
141
+ function g() {
142
142
  O || (O = !0, console.error(
143
143
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
144
- g
144
+ b
145
145
  ));
146
146
  }
147
- b.isReactWarning = !0, Object.defineProperty(c, "key", {
148
- get: b,
147
+ g.isReactWarning = !0, Object.defineProperty(c, "key", {
148
+ get: g,
149
149
  configurable: !0
150
150
  });
151
151
  }
@@ -155,14 +155,14 @@ function S1() {
155
155
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
156
156
  )), c = this.props.ref, c !== void 0 ? c : null;
157
157
  }
158
- function p(c, g, b, y, R, T, _, o2) {
159
- return b = T.ref, c = {
158
+ function p(c, b, g, y, R, T, _, o2) {
159
+ return g = T.ref, c = {
160
160
  $$typeof: w,
161
161
  type: c,
162
- key: g,
162
+ key: b,
163
163
  props: T,
164
164
  _owner: R
165
- }, (b !== void 0 ? b : null) !== null ? Object.defineProperty(c, "ref", {
165
+ }, (g !== void 0 ? g : null) !== null ? Object.defineProperty(c, "ref", {
166
166
  enumerable: !1,
167
167
  get: f
168
168
  }) : Object.defineProperty(c, "ref", { enumerable: !1, value: null }), c._store = {}, Object.defineProperty(c._store, "validated", {
@@ -187,8 +187,8 @@ function S1() {
187
187
  value: o2
188
188
  }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
189
189
  }
190
- function v(c, g, b, y, R, T, _, o2) {
191
- var E = g.children;
190
+ function v(c, b, g, y, R, T, _, o2) {
191
+ var E = b.children;
192
192
  if (E !== void 0)
193
193
  if (y)
194
194
  if (f2(E)) {
@@ -200,9 +200,9 @@ function S1() {
200
200
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
201
201
  );
202
202
  else C(E);
203
- if (s2.call(g, "key")) {
203
+ if (s2.call(b, "key")) {
204
204
  E = l(c);
205
- var q = Object.keys(g).filter(function(r2) {
205
+ var q = Object.keys(b).filter(function(r2) {
206
206
  return r2 !== "key";
207
207
  });
208
208
  y = 0 < q.length ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}", h2[E + y] || (q = 0 < q.length ? "{" + q.join(": ..., ") + ": ...}" : "{}", console.error(
@@ -218,13 +218,13 @@ React keys must be passed directly to JSX without using spread:
218
218
  E
219
219
  ), h2[E + y] = !0);
220
220
  }
221
- if (E = null, b !== void 0 && (o(b), E = "" + b), n(g) && (o(g.key), E = "" + g.key), "key" in g) {
222
- b = {};
223
- for (var K in g)
224
- K !== "key" && (b[K] = g[K]);
225
- } else b = g;
221
+ if (E = null, g !== void 0 && (o(g), E = "" + g), n(b) && (o(b.key), E = "" + b.key), "key" in b) {
222
+ g = {};
223
+ for (var K in b)
224
+ K !== "key" && (g[K] = b[K]);
225
+ } else g = b;
226
226
  return E && a(
227
- b,
227
+ g,
228
228
  typeof c == "function" ? c.displayName || c.name || "Unknown" : c
229
229
  ), p(
230
230
  c,
@@ -232,7 +232,7 @@ React keys must be passed directly to JSX without using spread:
232
232
  T,
233
233
  R,
234
234
  r(),
235
- b,
235
+ g,
236
236
  _,
237
237
  o2
238
238
  );
@@ -252,24 +252,24 @@ React keys must be passed directly to JSX without using spread:
252
252
  M,
253
253
  d
254
254
  )(), p2 = W(t(d)), h2 = {};
255
- L2.Fragment = P, L2.jsx = function(c, g, b, y, R) {
255
+ L2.Fragment = P, L2.jsx = function(c, b, g, y, R) {
256
256
  var T = 1e4 > X.recentlyCreatedOwnerStacks++;
257
257
  return v(
258
258
  c,
259
- g,
260
259
  b,
260
+ g,
261
261
  !1,
262
262
  y,
263
263
  R,
264
264
  T ? Error("react-stack-top-frame") : F,
265
265
  T ? W(t(c)) : p2
266
266
  );
267
- }, L2.jsxs = function(c, g, b, y, R) {
267
+ }, L2.jsxs = function(c, b, g, y, R) {
268
268
  var T = 1e4 > X.recentlyCreatedOwnerStacks++;
269
269
  return v(
270
270
  c,
271
- g,
272
271
  b,
272
+ g,
273
273
  !0,
274
274
  y,
275
275
  R,
@@ -462,19 +462,19 @@ function j1(e) {
462
462
  }
463
463
  });
464
464
  return s.useEffect(() => {
465
- const f = g2(o.current);
465
+ const f = b2(o.current);
466
466
  r.current = n === "mounted" ? f : "none";
467
467
  }, [n]), D2(() => {
468
468
  const f = o.current, p = t.current;
469
469
  if (p !== e) {
470
- const C = r.current, M = g2(f);
470
+ const C = r.current, M = b2(f);
471
471
  e ? a("MOUNT") : M === "none" || (f == null ? void 0 : f.display) === "none" ? a("UNMOUNT") : a(p && C !== M ? "ANIMATION_OUT" : "UNMOUNT"), t.current = e;
472
472
  }
473
473
  }, [e, a]), D2(() => {
474
474
  if (l) {
475
475
  let f;
476
476
  const p = l.ownerDocument.defaultView ?? window, v = (M) => {
477
- const A = g2(o.current).includes(M.animationName);
477
+ const A = b2(o.current).includes(M.animationName);
478
478
  if (M.target === l && A && (a("ANIMATION_END"), !t.current)) {
479
479
  const P = l.style.animationFillMode;
480
480
  l.style.animationFillMode = "forwards", f = p.setTimeout(() => {
@@ -482,7 +482,7 @@ function j1(e) {
482
482
  });
483
483
  }
484
484
  }, C = (M) => {
485
- M.target === l && (r.current = g2(o.current));
485
+ M.target === l && (r.current = b2(o.current));
486
486
  };
487
487
  return l.addEventListener("animationstart", C), l.addEventListener("animationcancel", v), l.addEventListener("animationend", v), () => {
488
488
  p.clearTimeout(f), l.removeEventListener("animationstart", C), l.removeEventListener("animationcancel", v), l.removeEventListener("animationend", v);
@@ -496,7 +496,7 @@ function j1(e) {
496
496
  }, [])
497
497
  };
498
498
  }
499
- function g2(e) {
499
+ function b2(e) {
500
500
  return (e == null ? void 0 : e.animationName) || "none";
501
501
  }
502
502
  function G1(e) {
@@ -1240,7 +1240,7 @@ const G2 = "-", c3 = (e) => {
1240
1240
  }
1241
1241
  return a;
1242
1242
  };
1243
- function g3() {
1243
+ function b3() {
1244
1244
  let e = 0, l, i, o = "";
1245
1245
  for (; e < arguments.length; )
1246
1246
  (l = arguments[e++]) && (i = m1(l)) && (o && (o += " "), o += i);
@@ -1268,22 +1268,22 @@ function J2(e, ...l) {
1268
1268
  return t(a, p), p;
1269
1269
  }
1270
1270
  return function() {
1271
- return r(g3.apply(null, arguments));
1271
+ return r(b3.apply(null, arguments));
1272
1272
  };
1273
1273
  }
1274
1274
  const k = (e) => {
1275
1275
  const l = (i) => i[e] || [];
1276
1276
  return l.isThemeGetter = !0, l;
1277
- }, M1 = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, g1 = /^\((?:(\w[\w-]*):)?(.+)\)$/i, b3 = /^\d+\/\d+$/, Z3 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, w3 = /\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$/, x3 = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, y3 = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, A3 = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, d2 = (e) => b3.test(e), Z = (e) => !!e && !Number.isNaN(Number(e)), Q = (e) => !!e && Number.isInteger(Number(e)), P2 = (e) => e.endsWith("%") && Z(e.slice(0, -1)), J = (e) => Z3.test(e), _3 = () => !0, E3 = (e) => (
1277
+ }, M1 = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, b1 = /^\((?:(\w[\w-]*):)?(.+)\)$/i, g3 = /^\d+\/\d+$/, Z3 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, w3 = /\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$/, x3 = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, y3 = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, A3 = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, d2 = (e) => g3.test(e), Z = (e) => !!e && !Number.isNaN(Number(e)), Q = (e) => !!e && Number.isInteger(Number(e)), P2 = (e) => e.endsWith("%") && Z(e.slice(0, -1)), J = (e) => Z3.test(e), _3 = () => !0, E3 = (e) => (
1278
1278
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
1279
1279
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
1280
1280
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1281
1281
  w3.test(e) && !x3.test(e)
1282
- ), b1 = () => !1, B3 = (e) => y3.test(e), S3 = (e) => A3.test(e), k3 = (e) => !h(e) && !u(e), P3 = (e) => a2(e, x1, b1), h = (e) => M1.test(e), e2 = (e) => a2(e, y1, E3), V2 = (e) => a2(e, R3, Z), Q2 = (e) => a2(e, Z1, b1), V3 = (e) => a2(e, w1, S3), b2 = (e) => a2(e, A1, B3), u = (e) => g1.test(e), v2 = (e) => c2(e, y1), D3 = (e) => c2(e, T3), K2 = (e) => c2(e, Z1), H3 = (e) => c2(e, x1), z3 = (e) => c2(e, w1), Z2 = (e) => c2(e, A1, !0), a2 = (e, l, i) => {
1282
+ ), g1 = () => !1, B3 = (e) => y3.test(e), S3 = (e) => A3.test(e), k3 = (e) => !h(e) && !u(e), P3 = (e) => a2(e, x1, g1), h = (e) => M1.test(e), e2 = (e) => a2(e, y1, E3), V2 = (e) => a2(e, R3, Z), Q2 = (e) => a2(e, Z1, g1), V3 = (e) => a2(e, w1, S3), g2 = (e) => a2(e, A1, B3), u = (e) => b1.test(e), v2 = (e) => c2(e, y1), D3 = (e) => c2(e, T3), K2 = (e) => c2(e, Z1), H3 = (e) => c2(e, x1), z3 = (e) => c2(e, w1), Z2 = (e) => c2(e, A1, !0), a2 = (e, l, i) => {
1283
1283
  const o = M1.exec(e);
1284
1284
  return o ? o[1] ? l(o[1]) : i(o[2]) : !1;
1285
1285
  }, c2 = (e, l, i = !1) => {
1286
- const o = g1.exec(e);
1286
+ const o = b1.exec(e);
1287
1287
  return o ? o[1] ? l(o[1]) : i : !1;
1288
1288
  }, Z1 = (e) => e === "position" || e === "percentage", w1 = (e) => e === "image" || e === "url", x1 = (e) => e === "length" || e === "size" || e === "bg-size", y1 = (e) => e === "length", R3 = (e) => e === "number", T3 = (e) => e === "family-name", A1 = (e) => e === "shadow", e1 = () => {
1289
1289
  const e = k("color"), l = k("font"), i = k("text"), o = k("font-weight"), t = k("tracking"), r = k("leading"), d = k("breakpoint"), n = k("container"), a = k("spacing"), f = k("radius"), p = k("shadow"), v = k("inset-shadow"), C = k("text-shadow"), M = k("drop-shadow"), w = k("blur"), A = k("perspective"), P = k("aspect"), B = k("ease"), G = k("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], H = () => [
@@ -1312,7 +1312,7 @@ const k = (e) => {
1312
1312
  repeat: ["", "x", "y", "space", "round"]
1313
1313
  }], c = () => ["auto", "cover", "contain", H3, P3, {
1314
1314
  size: [u, h]
1315
- }], g = () => [P2, v2, e2], b = () => [
1315
+ }], b = () => [P2, v2, e2], g = () => [
1316
1316
  // Deprecated since Tailwind CSS v4.0.0
1317
1317
  "",
1318
1318
  "none",
@@ -2320,21 +2320,21 @@ const k = (e) => {
2320
2320
  * @see https://tailwindcss.com/docs/gradient-color-stops
2321
2321
  */
2322
2322
  "gradient-from-pos": [{
2323
- from: g()
2323
+ from: b()
2324
2324
  }],
2325
2325
  /**
2326
2326
  * Gradient Color Stops Via Position
2327
2327
  * @see https://tailwindcss.com/docs/gradient-color-stops
2328
2328
  */
2329
2329
  "gradient-via-pos": [{
2330
- via: g()
2330
+ via: b()
2331
2331
  }],
2332
2332
  /**
2333
2333
  * Gradient Color Stops To Position
2334
2334
  * @see https://tailwindcss.com/docs/gradient-color-stops
2335
2335
  */
2336
2336
  "gradient-to-pos": [{
2337
- to: g()
2337
+ to: b()
2338
2338
  }],
2339
2339
  /**
2340
2340
  * Gradient Color Stops From
@@ -2365,105 +2365,105 @@ const k = (e) => {
2365
2365
  * @see https://tailwindcss.com/docs/border-radius
2366
2366
  */
2367
2367
  rounded: [{
2368
- rounded: b()
2368
+ rounded: g()
2369
2369
  }],
2370
2370
  /**
2371
2371
  * Border Radius Start
2372
2372
  * @see https://tailwindcss.com/docs/border-radius
2373
2373
  */
2374
2374
  "rounded-s": [{
2375
- "rounded-s": b()
2375
+ "rounded-s": g()
2376
2376
  }],
2377
2377
  /**
2378
2378
  * Border Radius End
2379
2379
  * @see https://tailwindcss.com/docs/border-radius
2380
2380
  */
2381
2381
  "rounded-e": [{
2382
- "rounded-e": b()
2382
+ "rounded-e": g()
2383
2383
  }],
2384
2384
  /**
2385
2385
  * Border Radius Top
2386
2386
  * @see https://tailwindcss.com/docs/border-radius
2387
2387
  */
2388
2388
  "rounded-t": [{
2389
- "rounded-t": b()
2389
+ "rounded-t": g()
2390
2390
  }],
2391
2391
  /**
2392
2392
  * Border Radius Right
2393
2393
  * @see https://tailwindcss.com/docs/border-radius
2394
2394
  */
2395
2395
  "rounded-r": [{
2396
- "rounded-r": b()
2396
+ "rounded-r": g()
2397
2397
  }],
2398
2398
  /**
2399
2399
  * Border Radius Bottom
2400
2400
  * @see https://tailwindcss.com/docs/border-radius
2401
2401
  */
2402
2402
  "rounded-b": [{
2403
- "rounded-b": b()
2403
+ "rounded-b": g()
2404
2404
  }],
2405
2405
  /**
2406
2406
  * Border Radius Left
2407
2407
  * @see https://tailwindcss.com/docs/border-radius
2408
2408
  */
2409
2409
  "rounded-l": [{
2410
- "rounded-l": b()
2410
+ "rounded-l": g()
2411
2411
  }],
2412
2412
  /**
2413
2413
  * Border Radius Start Start
2414
2414
  * @see https://tailwindcss.com/docs/border-radius
2415
2415
  */
2416
2416
  "rounded-ss": [{
2417
- "rounded-ss": b()
2417
+ "rounded-ss": g()
2418
2418
  }],
2419
2419
  /**
2420
2420
  * Border Radius Start End
2421
2421
  * @see https://tailwindcss.com/docs/border-radius
2422
2422
  */
2423
2423
  "rounded-se": [{
2424
- "rounded-se": b()
2424
+ "rounded-se": g()
2425
2425
  }],
2426
2426
  /**
2427
2427
  * Border Radius End End
2428
2428
  * @see https://tailwindcss.com/docs/border-radius
2429
2429
  */
2430
2430
  "rounded-ee": [{
2431
- "rounded-ee": b()
2431
+ "rounded-ee": g()
2432
2432
  }],
2433
2433
  /**
2434
2434
  * Border Radius End Start
2435
2435
  * @see https://tailwindcss.com/docs/border-radius
2436
2436
  */
2437
2437
  "rounded-es": [{
2438
- "rounded-es": b()
2438
+ "rounded-es": g()
2439
2439
  }],
2440
2440
  /**
2441
2441
  * Border Radius Top Left
2442
2442
  * @see https://tailwindcss.com/docs/border-radius
2443
2443
  */
2444
2444
  "rounded-tl": [{
2445
- "rounded-tl": b()
2445
+ "rounded-tl": g()
2446
2446
  }],
2447
2447
  /**
2448
2448
  * Border Radius Top Right
2449
2449
  * @see https://tailwindcss.com/docs/border-radius
2450
2450
  */
2451
2451
  "rounded-tr": [{
2452
- "rounded-tr": b()
2452
+ "rounded-tr": g()
2453
2453
  }],
2454
2454
  /**
2455
2455
  * Border Radius Bottom Right
2456
2456
  * @see https://tailwindcss.com/docs/border-radius
2457
2457
  */
2458
2458
  "rounded-br": [{
2459
- "rounded-br": b()
2459
+ "rounded-br": g()
2460
2460
  }],
2461
2461
  /**
2462
2462
  * Border Radius Bottom Left
2463
2463
  * @see https://tailwindcss.com/docs/border-radius
2464
2464
  */
2465
2465
  "rounded-bl": [{
2466
- "rounded-bl": b()
2466
+ "rounded-bl": g()
2467
2467
  }],
2468
2468
  /**
2469
2469
  * Border Width
@@ -2678,7 +2678,7 @@ const k = (e) => {
2678
2678
  "none",
2679
2679
  p,
2680
2680
  Z2,
2681
- b2
2681
+ g2
2682
2682
  ]
2683
2683
  }],
2684
2684
  /**
@@ -2693,7 +2693,7 @@ const k = (e) => {
2693
2693
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2694
2694
  */
2695
2695
  "inset-shadow": [{
2696
- "inset-shadow": ["none", v, Z2, b2]
2696
+ "inset-shadow": ["none", v, Z2, g2]
2697
2697
  }],
2698
2698
  /**
2699
2699
  * Inset Box Shadow Color
@@ -2760,7 +2760,7 @@ const k = (e) => {
2760
2760
  * @see https://tailwindcss.com/docs/text-shadow
2761
2761
  */
2762
2762
  "text-shadow": [{
2763
- "text-shadow": ["none", C, Z2, b2]
2763
+ "text-shadow": ["none", C, Z2, g2]
2764
2764
  }],
2765
2765
  /**
2766
2766
  * Text Shadow Color
@@ -3034,7 +3034,7 @@ const k = (e) => {
3034
3034
  "none",
3035
3035
  M,
3036
3036
  Z2,
3037
- b2
3037
+ g2
3038
3038
  ]
3039
3039
  }],
3040
3040
  /**
@@ -3939,6 +3939,16 @@ const y2 = {
3939
3939
  // Disabled
3940
3940
  "disabled:bg-neutral-70 disabled:text-neutral-40 disabled:ring-1.5 disabled:ring-neutral-60"
3941
3941
  ],
3942
+ light: [
3943
+ // Base
3944
+ "bg-neutral-10 text-neutral-60",
3945
+ // Hover
3946
+ "hover:bg-neutral-20",
3947
+ // Disabled
3948
+ "disabled:bg-neutral-30 disabled:text-neutral-50",
3949
+ // Focus
3950
+ "focus-visible:ring-neutral-40"
3951
+ ],
3942
3952
  ghost: [
3943
3953
  // Base
3944
3954
  "inline-flex text-current bg-transparent",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@validationcloud/fractal-ui",
3
3
  "private": false,
4
- "version": "1.17.0",
4
+ "version": "1.18.0",
5
5
  "module": "./dist/fractal-ui.js",
6
6
  "type": "module",
7
7
  "files": [