@shmidko61/lc-ui-kit 0.0.5 → 0.2.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.
@@ -1,8 +1,9 @@
1
- import { jsx as q } from "react/jsx-runtime";
2
- import { a as j, c as $ } from "./responsive-style.config-DFuATrIM.js";
3
- import { n as k, m as J } from "./responsive-style.utils-D10sC561.js";
4
- const L = "text-[length:var(--typography-font-size)] font-[var(--typography-font-weight)] leading-[var(--typography-line-height)] text-[var(--typography-color,var(--color-text-primary))] tracking-[var(--typography-letter-spacing)] [font-family:var(--typography-font-family,var(--font-family))] [font-style:var(--typography-font-style)] [height:var(--typography-height)] [margin-bottom:var(--typography-margin-bottom,0)] [margin-left:var(--typography-margin-left,0)] [margin-right:var(--typography-margin-right,0)] [margin-top:var(--typography-margin-top,0)] [max-height:var(--typography-max-height)] [max-width:var(--typography-max-width)] [min-height:var(--typography-min-height)] [min-width:var(--typography-min-width)] [padding-bottom:var(--typography-padding-bottom,0)] [padding-left:var(--typography-padding-left,0)] [padding-right:var(--typography-padding-right,0)] [padding-top:var(--typography-padding-top,0)] [text-align:var(--typography-text-align)] [text-decoration:var(--typography-text-decoration)] [text-overflow:var(--typography-text-overflow)] [text-transform:var(--typography-text-transform)] [vertical-align:var(--typography-vertical-align)] [white-space:var(--typography-white-space)] [width:var(--typography-width)] [word-break:var(--typography-word-break)]", o = {
1
+ import { jsx as Q } from "react/jsx-runtime";
2
+ import { a as C, c as _ } from "./responsive-style.config-DFuATrIM.js";
3
+ import { n as O, m as X } from "./responsive-style.utils-D10sC561.js";
4
+ const Y = "text-[length:var(--typography-font-size)] font-[var(--typography-font-weight)] leading-[var(--typography-line-height)] text-[var(--typography-color,var(--color-text-primary))] tracking-[var(--typography-letter-spacing)] [display:var(--typography-display)] [font-family:var(--typography-font-family,var(--font-family))] [font-style:var(--typography-font-style)] [height:var(--typography-height)] [margin-bottom:var(--typography-margin-bottom,0)] [margin-left:var(--typography-margin-left,0)] [margin-right:var(--typography-margin-right,0)] [margin-top:var(--typography-margin-top,0)] [max-height:var(--typography-max-height)] [max-width:var(--typography-max-width)] [min-height:var(--typography-min-height)] [min-width:var(--typography-min-width)] [overflow:var(--typography-overflow)] [padding-bottom:var(--typography-padding-bottom,0)] [padding-left:var(--typography-padding-left,0)] [padding-right:var(--typography-padding-right,0)] [padding-top:var(--typography-padding-top,0)] [text-align:var(--typography-text-align)] [text-decoration:var(--typography-text-decoration)] [text-overflow:var(--typography-text-overflow)] [text-transform:var(--typography-text-transform)] [vertical-align:var(--typography-vertical-align)] [white-space:var(--typography-white-space)] [width:var(--typography-width)] [word-break:var(--typography-word-break)] [-webkit-box-orient:var(--typography-webkit-box-orient)] [-webkit-line-clamp:var(--typography-webkit-line-clamp)]", t = {
5
5
  color: "--typography-color",
6
+ display: "--typography-display",
6
7
  fontSize: "--typography-font-size",
7
8
  fontFamily: "--typography-font-family",
8
9
  fontStyle: "--typography-font-style",
@@ -18,6 +19,7 @@ const L = "text-[length:var(--typography-font-size)] font-[var(--typography-font
18
19
  maxWidth: "--typography-max-width",
19
20
  minHeight: "--typography-min-height",
20
21
  minWidth: "--typography-min-width",
22
+ overflow: "--typography-overflow",
21
23
  paddingBottom: "--typography-padding-bottom",
22
24
  paddingLeft: "--typography-padding-left",
23
25
  paddingRight: "--typography-padding-right",
@@ -29,53 +31,59 @@ const L = "text-[length:var(--typography-font-size)] font-[var(--typography-font
29
31
  verticalAlign: "--typography-vertical-align",
30
32
  whiteSpace: "--typography-white-space",
31
33
  width: "--typography-width",
32
- wordBreak: "--typography-word-break"
33
- }, K = {
34
- [o.color]: "color",
35
- [o.fontSize]: "font-size",
36
- [o.fontFamily]: "font-family",
37
- [o.fontStyle]: "font-style",
38
- [o.fontWeight]: "font-weight",
39
- [o.height]: "height",
40
- [o.letterSpacing]: "letter-spacing",
41
- [o.lineHeight]: "line-height",
42
- [o.marginBottom]: "margin-bottom",
43
- [o.marginLeft]: "margin-left",
44
- [o.marginRight]: "margin-right",
45
- [o.marginTop]: "margin-top",
46
- [o.maxHeight]: "max-height",
47
- [o.maxWidth]: "max-width",
48
- [o.minHeight]: "min-height",
49
- [o.minWidth]: "min-width",
50
- [o.paddingBottom]: "padding-bottom",
51
- [o.paddingLeft]: "padding-left",
52
- [o.paddingRight]: "padding-right",
53
- [o.paddingTop]: "padding-top",
54
- [o.textAlign]: "text-align",
55
- [o.textDecoration]: "text-decoration",
56
- [o.textOverflow]: "text-overflow",
57
- [o.textTransform]: "text-transform",
58
- [o.verticalAlign]: "vertical-align",
59
- [o.whiteSpace]: "white-space",
60
- [o.width]: "width",
61
- [o.wordBreak]: "word-break"
34
+ wordBreak: "--typography-word-break",
35
+ webkitBoxOrient: "--typography-webkit-box-orient",
36
+ webkitLineClamp: "--typography-webkit-line-clamp"
37
+ }, Z = {
38
+ [t.color]: "color",
39
+ [t.display]: "display",
40
+ [t.fontSize]: "font-size",
41
+ [t.fontFamily]: "font-family",
42
+ [t.fontStyle]: "font-style",
43
+ [t.fontWeight]: "font-weight",
44
+ [t.height]: "height",
45
+ [t.letterSpacing]: "letter-spacing",
46
+ [t.lineHeight]: "line-height",
47
+ [t.marginBottom]: "margin-bottom",
48
+ [t.marginLeft]: "margin-left",
49
+ [t.marginRight]: "margin-right",
50
+ [t.marginTop]: "margin-top",
51
+ [t.maxHeight]: "max-height",
52
+ [t.maxWidth]: "max-width",
53
+ [t.minHeight]: "min-height",
54
+ [t.minWidth]: "min-width",
55
+ [t.overflow]: "overflow",
56
+ [t.paddingBottom]: "padding-bottom",
57
+ [t.paddingLeft]: "padding-left",
58
+ [t.paddingRight]: "padding-right",
59
+ [t.paddingTop]: "padding-top",
60
+ [t.textAlign]: "text-align",
61
+ [t.textDecoration]: "text-decoration",
62
+ [t.textOverflow]: "text-overflow",
63
+ [t.textTransform]: "text-transform",
64
+ [t.verticalAlign]: "vertical-align",
65
+ [t.whiteSpace]: "white-space",
66
+ [t.width]: "width",
67
+ [t.wordBreak]: "word-break",
68
+ [t.webkitBoxOrient]: "-webkit-box-orient",
69
+ [t.webkitLineClamp]: "-webkit-line-clamp"
62
70
  };
63
- function Q(t) {
64
- const i = [], e = { ...t.vars ?? {} };
65
- for (const a of j)
66
- for (const [n, p] of Object.entries(t[a]?.vars ?? {})) {
67
- const h = K[n];
71
+ function tt(o) {
72
+ const i = [], r = { ...o.vars ?? {} };
73
+ for (const n of C)
74
+ for (const [a, p] of Object.entries(o[n]?.vars ?? {})) {
75
+ const h = Z[a];
68
76
  if (!h || p === void 0 || p === null)
69
77
  continue;
70
- const g = `--${a}-${n.slice(2)}`;
71
- e[g] = p, i.push(`${a}:[${h}:var(${g})]`);
78
+ const g = `--${n}-${a.slice(2)}`;
79
+ r[g] = p, i.push(`${n}:[${h}:var(${g})]`);
72
80
  }
73
81
  return {
74
82
  className: i.join(" "),
75
- style: Object.keys(e).length > 0 ? e : void 0
83
+ style: Object.keys(r).length > 0 ? r : void 0
76
84
  };
77
85
  }
78
- const _ = {
86
+ const D = {
79
87
  h1: {
80
88
  base: {
81
89
  fontSize: "--typo-fs-h1-sm",
@@ -188,156 +196,195 @@ const _ = {
188
196
  className: "uppercase"
189
197
  }
190
198
  };
191
- function yt({
192
- className: t,
199
+ function mt({
200
+ className: o,
193
201
  variant: i = "b2"
194
202
  } = {}) {
195
- const e = _[i];
196
- return $(L, e.className, t);
203
+ const r = D[i];
204
+ return _(Y, r.className, o);
197
205
  }
198
- function X(t) {
206
+ function ot(o) {
199
207
  return {
200
- vars: A(t.base),
201
- md: t.md ? { vars: A(t.md) } : void 0,
202
- lg: t.lg ? { vars: A(t.lg) } : void 0
208
+ vars: L(o.base),
209
+ md: o.md ? { vars: L(o.md) } : void 0,
210
+ lg: o.lg ? { vars: L(o.lg) } : void 0
203
211
  };
204
212
  }
205
- function Z({
206
- color: t,
213
+ function it({
214
+ color: o,
207
215
  fontSize: i,
208
- fontWeight: e,
216
+ fontWeight: r,
217
+ letterSpacing: n,
209
218
  lineHeight: a,
210
- verticalAlign: n,
211
- horizontalAlign: p,
212
- textTransform: h,
213
- textDecoration: g,
214
- textOverflow: y,
215
- whiteSpace: d,
216
- wordBreak: m,
217
- italic: c,
218
- fontFamily: v,
219
- width: b,
220
- minWidth: w,
221
- maxWidth: x,
222
- height: S,
223
- minHeight: u,
224
- maxHeight: z,
225
- p: W,
226
- m: T,
227
- md: r,
219
+ lineClamp: p,
220
+ verticalAlign: h,
221
+ horizontalAlign: g,
222
+ textTransform: y,
223
+ textDecoration: d,
224
+ textOverflow: m,
225
+ truncate: T,
226
+ whiteSpace: c,
227
+ wordBreak: v,
228
+ italic: b,
229
+ fontFamily: w,
230
+ width: x,
231
+ minWidth: u,
232
+ maxWidth: S,
233
+ height: k,
234
+ minHeight: z,
235
+ maxHeight: H,
236
+ p: B,
237
+ m: P,
238
+ md: e,
228
239
  lg: f,
229
240
  xl: s
230
241
  }) {
231
242
  return {
232
- vars: O({
233
- color: t,
243
+ vars: A({
244
+ color: o,
234
245
  fontSize: i,
235
- fontWeight: e,
246
+ fontWeight: r,
247
+ letterSpacing: n,
236
248
  lineHeight: a,
237
- verticalAlign: n,
238
- horizontalAlign: p,
239
- textTransform: h,
240
- textDecoration: g,
241
- textOverflow: y,
242
- whiteSpace: d,
243
- wordBreak: m,
244
- italic: c,
245
- fontFamily: v,
246
- width: b,
247
- minWidth: w,
248
- maxWidth: x,
249
- height: S,
250
- minHeight: u,
251
- maxHeight: z,
252
- p: W,
253
- m: T
249
+ lineClamp: p,
250
+ verticalAlign: h,
251
+ horizontalAlign: g,
252
+ textTransform: y,
253
+ textDecoration: d,
254
+ textOverflow: m,
255
+ truncate: T,
256
+ whiteSpace: c,
257
+ wordBreak: v,
258
+ italic: b,
259
+ fontFamily: w,
260
+ width: x,
261
+ minWidth: u,
262
+ maxWidth: S,
263
+ height: k,
264
+ minHeight: z,
265
+ maxHeight: H,
266
+ p: B,
267
+ m: P
254
268
  }),
255
- md: r ? { vars: O(r) } : void 0,
256
- lg: f ? { vars: O(f) } : void 0,
257
- xl: s ? { vars: O(s) } : void 0
269
+ md: e ? { vars: A(e) } : void 0,
270
+ lg: f ? { vars: A(f) } : void 0,
271
+ xl: s ? { vars: A(s) } : void 0
258
272
  };
259
273
  }
260
- function tt(t, i) {
261
- const e = new Set(Object.keys(i.vars ?? {})), a = {
262
- colors: t.colors,
263
- typography: t.typography,
264
- vars: t.vars
274
+ function et(o, i) {
275
+ const r = new Set(Object.keys(i.vars ?? {})), n = {
276
+ colors: o.colors,
277
+ typography: o.typography,
278
+ vars: o.vars
265
279
  };
266
- for (const n of j) {
267
- for (const y of Object.keys(i[n]?.vars ?? {}))
268
- e.add(y);
269
- const p = t[n];
280
+ for (const a of C) {
281
+ for (const y of Object.keys(i[a]?.vars ?? {}))
282
+ r.add(y);
283
+ const p = o[a];
270
284
  if (!p)
271
285
  continue;
272
286
  const h = Object.fromEntries(
273
287
  Object.entries(p.vars ?? {}).filter(
274
- ([y]) => !e.has(y)
288
+ ([y]) => !r.has(y)
275
289
  )
276
290
  ), g = {
277
291
  colors: p.colors,
278
292
  typography: p.typography,
279
293
  vars: Object.keys(h).length > 0 ? h : void 0
280
294
  };
281
- (g.colors || g.typography || g.vars) && (a[n] = g);
295
+ (g.colors || g.typography || g.vars) && (n[a] = g);
282
296
  }
283
- return a;
297
+ return n;
284
298
  }
285
- function A(t) {
299
+ function L(o) {
286
300
  return {
287
- [o.fontSize]: `var(${t.fontSize})`,
288
- [o.fontWeight]: `var(${t.fontWeight})`,
289
- [o.letterSpacing]: 0,
290
- [o.lineHeight]: `var(${t.lineHeight})`
301
+ [t.fontSize]: `var(${o.fontSize})`,
302
+ [t.fontWeight]: `var(${o.fontWeight})`,
303
+ [t.letterSpacing]: 0,
304
+ [t.lineHeight]: `var(${o.lineHeight})`
291
305
  };
292
306
  }
293
- function O({
294
- color: t,
307
+ function rt(o) {
308
+ return typeof o == "number" ? `${o}px` : String(O(o));
309
+ }
310
+ function nt({
311
+ lineClamp: o,
312
+ truncate: i
313
+ }) {
314
+ return o !== void 0 ? o === "none" ? {
315
+ [t.display]: "revert",
316
+ [t.overflow]: "visible",
317
+ [t.textOverflow]: "clip",
318
+ [t.whiteSpace]: "normal",
319
+ [t.webkitBoxOrient]: "unset",
320
+ [t.webkitLineClamp]: "unset"
321
+ } : {
322
+ [t.display]: "-webkit-box",
323
+ [t.overflow]: "hidden",
324
+ [t.textOverflow]: "clip",
325
+ [t.whiteSpace]: "normal",
326
+ [t.webkitBoxOrient]: "vertical",
327
+ [t.webkitLineClamp]: Math.max(1, Math.floor(o))
328
+ } : i !== void 0 ? {
329
+ [t.display]: "revert",
330
+ [t.overflow]: i ? "hidden" : "visible",
331
+ [t.textOverflow]: i ? "ellipsis" : "clip",
332
+ [t.whiteSpace]: i ? "nowrap" : "normal",
333
+ [t.webkitBoxOrient]: "unset",
334
+ [t.webkitLineClamp]: "unset"
335
+ } : {};
336
+ }
337
+ function A({
338
+ color: o,
295
339
  fontSize: i,
296
- fontWeight: e,
340
+ fontWeight: r,
341
+ letterSpacing: n,
297
342
  lineHeight: a,
298
- verticalAlign: n,
299
- horizontalAlign: p,
300
- textTransform: h,
301
- textDecoration: g,
302
- textOverflow: y,
303
- whiteSpace: d,
304
- wordBreak: m,
305
- italic: c,
306
- fontFamily: v,
307
- width: b,
308
- minWidth: w,
309
- maxWidth: x,
310
- height: S,
311
- minHeight: u,
312
- maxHeight: z,
313
- p: W,
314
- m: T
343
+ lineClamp: p,
344
+ verticalAlign: h,
345
+ horizontalAlign: g,
346
+ textTransform: y,
347
+ textDecoration: d,
348
+ textOverflow: m,
349
+ truncate: T,
350
+ whiteSpace: c,
351
+ wordBreak: v,
352
+ italic: b,
353
+ fontFamily: w,
354
+ width: x,
355
+ minWidth: u,
356
+ maxWidth: S,
357
+ height: k,
358
+ minHeight: z,
359
+ maxHeight: H,
360
+ p: B,
361
+ m: P
315
362
  }) {
316
- const r = {}, f = i, s = e, P = a;
317
- return t !== void 0 && (r[o.color] = k(t)), f !== void 0 && (r[o.fontSize] = k(f)), s !== void 0 && (r[o.fontWeight] = k(s)), P !== void 0 && (r[o.lineHeight] = k(P)), n !== void 0 && (r[o.verticalAlign] = n), p !== void 0 && (r[o.textAlign] = p), h !== void 0 && (r[o.textTransform] = rt(h)), g !== void 0 && (r[o.textDecoration] = nt(g)), y !== void 0 && (r[o.textOverflow] = y), d !== void 0 && (r[o.whiteSpace] = d), m !== void 0 && (r[o.wordBreak] = at(m)), c !== void 0 && (r[o.fontStyle] = c ? "italic" : "normal"), v !== void 0 && (r[o.fontFamily] = k(v)), b !== void 0 && (r[o.width] = H(b)), w !== void 0 && (r[o.minWidth] = H(w)), x !== void 0 && (r[o.maxWidth] = H(x)), S !== void 0 && (r[o.height] = H(S)), u !== void 0 && (r[o.minHeight] = H(u)), z !== void 0 && (r[o.maxHeight] = H(z)), Object.assign(r, ot({ p: W, m: T })), Object.keys(r).length > 0 ? r : void 0;
363
+ const e = {}, f = i, s = r, V = a;
364
+ return o !== void 0 && (e[t.color] = O(o)), f !== void 0 && (e[t.fontSize] = O(f)), s !== void 0 && (e[t.fontWeight] = O(s)), V !== void 0 && (e[t.lineHeight] = O(V)), n !== void 0 && (e[t.letterSpacing] = rt(n)), Object.assign(e, nt({ lineClamp: p, truncate: T })), h !== void 0 && (e[t.verticalAlign] = h), g !== void 0 && (e[t.textAlign] = g), y !== void 0 && (e[t.textTransform] = ht(y)), d !== void 0 && (e[t.textDecoration] = yt(d)), m !== void 0 && (e[t.textOverflow] = m), c !== void 0 && (e[t.whiteSpace] = c), v !== void 0 && (e[t.wordBreak] = lt(v)), b !== void 0 && (e[t.fontStyle] = b ? "italic" : "normal"), w !== void 0 && (e[t.fontFamily] = O(w)), x !== void 0 && (e[t.width] = W(x)), u !== void 0 && (e[t.minWidth] = W(u)), S !== void 0 && (e[t.maxWidth] = W(S)), k !== void 0 && (e[t.height] = W(k)), z !== void 0 && (e[t.minHeight] = W(z)), H !== void 0 && (e[t.maxHeight] = W(H)), Object.assign(e, at({ p: B, m: P })), Object.keys(e).length > 0 ? e : void 0;
318
365
  }
319
- function H(t) {
320
- return typeof t == "number" ? `${t}px` : t;
366
+ function W(o) {
367
+ return typeof o == "number" ? `${o}px` : o;
321
368
  }
322
- function ot({ p: t, m: i }) {
323
- const e = {}, a = it(t), n = et(i);
324
- return a.top !== void 0 && (e[o.paddingTop] = l(a.top)), a.right !== void 0 && (e[o.paddingRight] = l(a.right)), a.bottom !== void 0 && (e[o.paddingBottom] = l(a.bottom)), a.left !== void 0 && (e[o.paddingLeft] = l(a.left)), n.top !== void 0 && (e[o.marginTop] = l(n.top)), n.right !== void 0 && (e[o.marginRight] = l(n.right)), n.bottom !== void 0 && (e[o.marginBottom] = l(n.bottom)), n.left !== void 0 && (e[o.marginLeft] = l(n.left)), e;
369
+ function at({ p: o, m: i }) {
370
+ const r = {}, n = pt(o), a = gt(i);
371
+ return n.top !== void 0 && (r[t.paddingTop] = l(n.top)), n.right !== void 0 && (r[t.paddingRight] = l(n.right)), n.bottom !== void 0 && (r[t.paddingBottom] = l(n.bottom)), n.left !== void 0 && (r[t.paddingLeft] = l(n.left)), a.top !== void 0 && (r[t.marginTop] = l(a.top)), a.right !== void 0 && (r[t.marginRight] = l(a.right)), a.bottom !== void 0 && (r[t.marginBottom] = l(a.bottom)), a.left !== void 0 && (r[t.marginLeft] = l(a.left)), r;
325
372
  }
326
- function it(t) {
327
- if (t === void 0)
373
+ function pt(o) {
374
+ if (o === void 0)
328
375
  return {};
329
- if (Array.isArray(t)) {
330
- const [e, a, n, p] = t;
331
- return { top: e, right: a, bottom: n, left: p };
376
+ if (Array.isArray(o)) {
377
+ const [r, n, a, p] = o;
378
+ return { top: r, right: n, bottom: a, left: p };
332
379
  }
333
- if (typeof t != "object")
380
+ if (typeof o != "object")
334
381
  return {
335
- top: t,
336
- right: t,
337
- bottom: t,
338
- left: t
382
+ top: o,
383
+ right: o,
384
+ bottom: o,
385
+ left: o
339
386
  };
340
- const i = t;
387
+ const i = o;
341
388
  return {
342
389
  top: i.py ?? i.pt,
343
390
  right: i.px ?? i.pr,
@@ -345,21 +392,21 @@ function it(t) {
345
392
  left: i.px ?? i.pl
346
393
  };
347
394
  }
348
- function et(t) {
349
- if (t === void 0)
395
+ function gt(o) {
396
+ if (o === void 0)
350
397
  return {};
351
- if (Array.isArray(t)) {
352
- const [e, a, n, p] = t;
353
- return { top: e, right: a, bottom: n, left: p };
398
+ if (Array.isArray(o)) {
399
+ const [r, n, a, p] = o;
400
+ return { top: r, right: n, bottom: a, left: p };
354
401
  }
355
- if (typeof t != "object")
402
+ if (typeof o != "object")
356
403
  return {
357
- top: t,
358
- right: t,
359
- bottom: t,
360
- left: t
404
+ top: o,
405
+ right: o,
406
+ bottom: o,
407
+ left: o
361
408
  };
362
- const i = t;
409
+ const i = o;
363
410
  return {
364
411
  top: i.my ?? i.mt,
365
412
  right: i.mx ?? i.mr,
@@ -367,103 +414,109 @@ function et(t) {
367
414
  left: i.mx ?? i.ml
368
415
  };
369
416
  }
370
- function l(t) {
371
- return typeof t == "number" ? `${t}px` : t;
417
+ function l(o) {
418
+ return typeof o == "number" ? `${o}px` : o;
372
419
  }
373
- function rt(t) {
374
- return t === "normal-case" ? "none" : t;
420
+ function ht(o) {
421
+ return o === "normal-case" ? "none" : o;
375
422
  }
376
- function nt(t) {
377
- return t === "no-underline" ? "none" : t;
423
+ function yt(o) {
424
+ return o === "no-underline" ? "none" : o;
378
425
  }
379
- function at(t) {
426
+ function lt(o) {
380
427
  return {
381
428
  all: "break-all",
382
429
  keep: "keep-all",
383
430
  normal: "normal",
384
431
  word: "break-word"
385
- }[t];
432
+ }[o];
386
433
  }
387
- function lt({
388
- as: t,
434
+ function ct({
435
+ as: o,
389
436
  children: i,
390
- className: e,
391
- color: a,
392
- fontSize: n,
437
+ className: r,
438
+ color: n,
439
+ fontSize: a,
393
440
  fontWeight: p,
394
- lineHeight: h,
395
- verticalAlign: g,
396
- horizontalAlign: y,
397
- textTransform: d,
398
- textDecoration: m,
399
- textOverflow: c,
400
- whiteSpace: v,
401
- wordBreak: b,
402
- italic: w,
403
- fontFamily: x,
404
- width: S,
405
- minWidth: u,
406
- maxWidth: z,
407
- height: W,
408
- minHeight: T,
409
- maxHeight: r,
441
+ letterSpacing: h,
442
+ lineHeight: g,
443
+ lineClamp: y,
444
+ verticalAlign: d,
445
+ horizontalAlign: m,
446
+ textTransform: T,
447
+ textDecoration: c,
448
+ textOverflow: v,
449
+ truncate: b,
450
+ whiteSpace: w,
451
+ wordBreak: x,
452
+ italic: u,
453
+ fontFamily: S,
454
+ width: k,
455
+ minWidth: z,
456
+ maxWidth: H,
457
+ height: B,
458
+ minHeight: P,
459
+ maxHeight: e,
410
460
  p: f,
411
461
  m: s,
412
- md: P,
413
- lg: Y,
414
- xl: C,
415
- style: R,
416
- variant: D = "b2",
417
- ...E
462
+ md: V,
463
+ lg: E,
464
+ xl: F,
465
+ style: N,
466
+ variant: M = "b2",
467
+ ...G
418
468
  }) {
419
- const F = t ?? "p", B = _[D], G = X(B), N = Z({
420
- color: a,
421
- fontSize: n,
469
+ const I = o ?? "p", j = D[M], U = ot(j), $ = it({
470
+ color: n,
471
+ fontSize: a,
422
472
  fontWeight: p,
423
- lineHeight: h,
424
- verticalAlign: g,
425
- horizontalAlign: y,
426
- textTransform: d,
427
- textDecoration: m,
428
- textOverflow: c,
429
- whiteSpace: v,
430
- wordBreak: b,
431
- italic: w,
432
- fontFamily: x,
433
- width: S,
434
- minWidth: u,
435
- maxWidth: z,
436
- height: W,
437
- minHeight: T,
438
- maxHeight: r,
473
+ letterSpacing: h,
474
+ lineHeight: g,
475
+ lineClamp: y,
476
+ verticalAlign: d,
477
+ horizontalAlign: m,
478
+ textTransform: T,
479
+ textDecoration: c,
480
+ textOverflow: v,
481
+ truncate: b,
482
+ whiteSpace: w,
483
+ wordBreak: x,
484
+ italic: u,
485
+ fontFamily: S,
486
+ width: k,
487
+ minWidth: z,
488
+ maxWidth: H,
489
+ height: B,
490
+ minHeight: P,
491
+ maxHeight: e,
439
492
  p: f,
440
493
  m: s,
441
- md: P,
442
- lg: Y,
443
- xl: C
444
- }), I = tt(
445
- G,
446
- N
447
- ), M = J(I, N), V = Q(M), U = V.style || R ? {
448
- ...V.style,
449
- ...R
494
+ md: V,
495
+ lg: E,
496
+ xl: F
497
+ }), q = et(
498
+ U,
499
+ $
500
+ ), J = X(q, $), R = tt(J), K = R.style || N ? {
501
+ ...R.style,
502
+ ...N
450
503
  } : void 0;
451
- return /* @__PURE__ */ q(
452
- F,
504
+ return /* @__PURE__ */ Q(
505
+ I,
453
506
  {
454
- className: $(
455
- L,
456
- B.className,
457
- V.className,
458
- e
507
+ className: _(
508
+ Y,
509
+ j.className,
510
+ R.className,
511
+ r
459
512
  ),
460
- style: U,
461
- ...E,
513
+ style: K,
514
+ ...G,
462
515
  children: i
463
516
  }
464
517
  );
465
518
  }
466
519
  export {
467
- lt as Typography,
468
- yt as typographyVariants
520
+ ct as Typography,
521
+ mt as typographyVariants
469
522
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shmidko61/lc-ui-kit",
3
- "version": "0.0.5",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"