@dss-kit/ui-kit 0.0.12 → 0.0.14
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/README.md +21 -19
- package/dist/components/typography/Text/Text.d.ts.map +1 -1
- package/dist/styles/utils/breakpoints/base.scss +11 -11
- package/dist/styles/utils/breakpoints/index.scss +3 -3
- package/dist/styles/utils/breakpoints/screen.scss +67 -67
- package/dist/styles/utils/breakpoints/semantic.scss +31 -31
- package/dist/styles/utils/fonts/font-family.scss +3 -3
- package/dist/styles/utils/fonts/font-weight.scss +59 -59
- package/dist/styles/utils/fonts/index.scss +2 -2
- package/dist/styles/utils/index.scss +5 -5
- package/dist/styles/utils/size/index.scss +1 -1
- package/dist/styles/utils/size/modifiers.scss +29 -29
- package/dist/styles/utils/style/index.scss +1 -1
- package/dist/styles/utils/style/variants.scss +34 -34
- package/dist/styles/utils/typography/index.scss +2 -2
- package/dist/styles/utils/typography/text.scss +52 -52
- package/dist/styles/utils/typography/title.scss +42 -42
- package/dist/ui-kit.cjs.js +8 -8
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.css +1 -1
- package/dist/ui-kit.es.js +48 -48
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +76 -76
- package/dist/root.css +0 -1
package/dist/ui-kit.es.js
CHANGED
|
@@ -56,12 +56,12 @@ function ht() {
|
|
|
56
56
|
}
|
|
57
57
|
function $e(e, t, r) {
|
|
58
58
|
{
|
|
59
|
-
var n = j.ReactDebugCurrentFrame,
|
|
60
|
-
|
|
61
|
-
var
|
|
59
|
+
var n = j.ReactDebugCurrentFrame, u = n.getStackAddendum();
|
|
60
|
+
u !== "" && (t += "%s", r = r.concat([u]));
|
|
61
|
+
var s = r.map(function(o) {
|
|
62
62
|
return String(o);
|
|
63
63
|
});
|
|
64
|
-
|
|
64
|
+
s.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, s);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
var Ie = !1, Ye = !1, Ne = !1, Ve = !1, Le = !1, ae;
|
|
@@ -77,8 +77,8 @@ function ht() {
|
|
|
77
77
|
var n = e.displayName;
|
|
78
78
|
if (n)
|
|
79
79
|
return n;
|
|
80
|
-
var
|
|
81
|
-
return
|
|
80
|
+
var u = t.displayName || t.name || "";
|
|
81
|
+
return u !== "" ? r + "(" + u + ")" : r;
|
|
82
82
|
}
|
|
83
83
|
function oe(e) {
|
|
84
84
|
return e.displayName || "Context";
|
|
@@ -118,9 +118,9 @@ function ht() {
|
|
|
118
118
|
var n = e.displayName || null;
|
|
119
119
|
return n !== null ? n : S(e.type) || "Memo";
|
|
120
120
|
case T: {
|
|
121
|
-
var
|
|
121
|
+
var u = e, s = u._payload, o = u._init;
|
|
122
122
|
try {
|
|
123
|
-
return S(o(
|
|
123
|
+
return S(o(s));
|
|
124
124
|
} catch {
|
|
125
125
|
return null;
|
|
126
126
|
}
|
|
@@ -128,14 +128,14 @@ function ht() {
|
|
|
128
128
|
}
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
131
|
-
var O = Object.assign, D = 0, ie,
|
|
131
|
+
var O = Object.assign, D = 0, ie, ue, se, ce, le, fe, _e;
|
|
132
132
|
function de() {
|
|
133
133
|
}
|
|
134
134
|
de.__reactDisabledLog = !0;
|
|
135
135
|
function Ue() {
|
|
136
136
|
{
|
|
137
137
|
if (D === 0) {
|
|
138
|
-
ie = console.log,
|
|
138
|
+
ie = console.log, ue = console.info, se = console.warn, ce = console.error, le = console.group, fe = console.groupCollapsed, _e = console.groupEnd;
|
|
139
139
|
var e = {
|
|
140
140
|
configurable: !0,
|
|
141
141
|
enumerable: !0,
|
|
@@ -168,10 +168,10 @@ function ht() {
|
|
|
168
168
|
value: ie
|
|
169
169
|
}),
|
|
170
170
|
info: O({}, e, {
|
|
171
|
-
value:
|
|
171
|
+
value: ue
|
|
172
172
|
}),
|
|
173
173
|
warn: O({}, e, {
|
|
174
|
-
value:
|
|
174
|
+
value: se
|
|
175
175
|
}),
|
|
176
176
|
error: O({}, e, {
|
|
177
177
|
value: ce
|
|
@@ -196,8 +196,8 @@ function ht() {
|
|
|
196
196
|
if (J === void 0)
|
|
197
197
|
try {
|
|
198
198
|
throw Error();
|
|
199
|
-
} catch (
|
|
200
|
-
var n =
|
|
199
|
+
} catch (u) {
|
|
200
|
+
var n = u.stack.trim().match(/\n( *(at )?)/);
|
|
201
201
|
J = n && n[1] || "";
|
|
202
202
|
}
|
|
203
203
|
return `
|
|
@@ -219,10 +219,10 @@ function ht() {
|
|
|
219
219
|
}
|
|
220
220
|
var n;
|
|
221
221
|
B = !0;
|
|
222
|
-
var
|
|
222
|
+
var u = Error.prepareStackTrace;
|
|
223
223
|
Error.prepareStackTrace = void 0;
|
|
224
|
-
var
|
|
225
|
-
|
|
224
|
+
var s;
|
|
225
|
+
s = q.current, q.current = null, Ue();
|
|
226
226
|
try {
|
|
227
227
|
if (t) {
|
|
228
228
|
var o = function() {
|
|
@@ -275,7 +275,7 @@ function ht() {
|
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
} finally {
|
|
278
|
-
B = !1, q.current =
|
|
278
|
+
B = !1, q.current = s, qe(), Error.prepareStackTrace = u;
|
|
279
279
|
}
|
|
280
280
|
var k = e ? e.displayName || e.name : "", P = k ? N(k) : "";
|
|
281
281
|
return typeof e == "function" && V.set(e, P), P;
|
|
@@ -307,9 +307,9 @@ function ht() {
|
|
|
307
307
|
case w:
|
|
308
308
|
return L(e.type, t, r);
|
|
309
309
|
case T: {
|
|
310
|
-
var n = e,
|
|
310
|
+
var n = e, u = n._payload, s = n._init;
|
|
311
311
|
try {
|
|
312
|
-
return L(u
|
|
312
|
+
return L(s(u), t, r);
|
|
313
313
|
} catch {
|
|
314
314
|
}
|
|
315
315
|
}
|
|
@@ -324,11 +324,11 @@ function ht() {
|
|
|
324
324
|
} else
|
|
325
325
|
ye.setExtraStackFrame(null);
|
|
326
326
|
}
|
|
327
|
-
function Ge(e, t, r, n,
|
|
327
|
+
function Ge(e, t, r, n, u) {
|
|
328
328
|
{
|
|
329
|
-
var
|
|
329
|
+
var s = Function.call.bind(F);
|
|
330
330
|
for (var o in e)
|
|
331
|
-
if (
|
|
331
|
+
if (s(e, o)) {
|
|
332
332
|
var a = void 0;
|
|
333
333
|
try {
|
|
334
334
|
if (typeof e[o] != "function") {
|
|
@@ -339,7 +339,7 @@ function ht() {
|
|
|
339
339
|
} catch (f) {
|
|
340
340
|
a = f;
|
|
341
341
|
}
|
|
342
|
-
a && !(a instanceof Error) && (M(
|
|
342
|
+
a && !(a instanceof Error) && (M(u), b("%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).", n || "React class", r, o, typeof a), M(null)), a instanceof Error && !(a.message in pe) && (pe[a.message] = !0, M(u), b("Failed %s type: %s", r, a.message), M(null));
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
}
|
|
@@ -414,7 +414,7 @@ function ht() {
|
|
|
414
414
|
});
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
-
var ot = function(e, t, r, n,
|
|
417
|
+
var ot = function(e, t, r, n, u, s, o) {
|
|
418
418
|
var a = {
|
|
419
419
|
// This tag allows us to uniquely identify this as a React Element
|
|
420
420
|
$$typeof: y,
|
|
@@ -424,7 +424,7 @@ function ht() {
|
|
|
424
424
|
ref: r,
|
|
425
425
|
props: o,
|
|
426
426
|
// Record the component responsible for creating this element.
|
|
427
|
-
_owner:
|
|
427
|
+
_owner: s
|
|
428
428
|
};
|
|
429
429
|
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
430
430
|
configurable: !1,
|
|
@@ -440,25 +440,25 @@ function ht() {
|
|
|
440
440
|
configurable: !1,
|
|
441
441
|
enumerable: !1,
|
|
442
442
|
writable: !1,
|
|
443
|
-
value:
|
|
443
|
+
value: u
|
|
444
444
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
445
445
|
};
|
|
446
|
-
function it(e, t, r, n,
|
|
446
|
+
function it(e, t, r, n, u) {
|
|
447
447
|
{
|
|
448
|
-
var
|
|
449
|
-
r !== void 0 && (ge(r), a = "" + r), tt(t) && (ge(t.key), a = "" + t.key), et(t) && (g = t.ref, rt(t,
|
|
450
|
-
for (
|
|
451
|
-
F.call(t,
|
|
448
|
+
var s, o = {}, a = null, g = null;
|
|
449
|
+
r !== void 0 && (ge(r), a = "" + r), tt(t) && (ge(t.key), a = "" + t.key), et(t) && (g = t.ref, rt(t, u));
|
|
450
|
+
for (s in t)
|
|
451
|
+
F.call(t, s) && !Qe.hasOwnProperty(s) && (o[s] = t[s]);
|
|
452
452
|
if (e && e.defaultProps) {
|
|
453
453
|
var f = e.defaultProps;
|
|
454
|
-
for (
|
|
455
|
-
o[
|
|
454
|
+
for (s in f)
|
|
455
|
+
o[s] === void 0 && (o[s] = f[s]);
|
|
456
456
|
}
|
|
457
457
|
if (a || g) {
|
|
458
458
|
var p = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
459
459
|
a && nt(o, p), g && at(o, p);
|
|
460
460
|
}
|
|
461
|
-
return ot(e, a, g,
|
|
461
|
+
return ot(e, a, g, u, n, he.current, o);
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
464
|
var G = j.ReactCurrentOwner, Ee = j.ReactDebugCurrentFrame;
|
|
@@ -486,11 +486,11 @@ Check the render method of \`` + e + "`.";
|
|
|
486
486
|
return "";
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function ut(e) {
|
|
490
490
|
return "";
|
|
491
491
|
}
|
|
492
492
|
var we = {};
|
|
493
|
-
function
|
|
493
|
+
function st(e) {
|
|
494
494
|
{
|
|
495
495
|
var t = Re();
|
|
496
496
|
if (!t) {
|
|
@@ -507,7 +507,7 @@ Check the top-level render call using <` + r + ">.");
|
|
|
507
507
|
if (!e._store || e._store.validated || e.key != null)
|
|
508
508
|
return;
|
|
509
509
|
e._store.validated = !0;
|
|
510
|
-
var r =
|
|
510
|
+
var r = st(t);
|
|
511
511
|
if (we[r])
|
|
512
512
|
return;
|
|
513
513
|
we[r] = !0;
|
|
@@ -527,9 +527,9 @@ Check the top-level render call using <` + r + ">.");
|
|
|
527
527
|
else if (H(e))
|
|
528
528
|
e._store && (e._store.validated = !0);
|
|
529
529
|
else if (e) {
|
|
530
|
-
var
|
|
531
|
-
if (typeof
|
|
532
|
-
for (var
|
|
530
|
+
var u = Ae(e);
|
|
531
|
+
if (typeof u == "function" && u !== e.entries)
|
|
532
|
+
for (var s = u.call(e), o; !(o = s.next()).done; )
|
|
533
533
|
H(o.value) && Se(o.value, t);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
@@ -553,8 +553,8 @@ Check the top-level render call using <` + r + ">.");
|
|
|
553
553
|
Ge(r, e.props, "prop", n, e);
|
|
554
554
|
} else if (t.PropTypes !== void 0 && !X) {
|
|
555
555
|
X = !0;
|
|
556
|
-
var
|
|
557
|
-
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
556
|
+
var u = S(t);
|
|
557
|
+
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", u || "Unknown");
|
|
558
558
|
}
|
|
559
559
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
560
560
|
}
|
|
@@ -572,18 +572,18 @@ Check the top-level render call using <` + r + ">.");
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
var Oe = {};
|
|
575
|
-
function Pe(e, t, r, n,
|
|
575
|
+
function Pe(e, t, r, n, u, s) {
|
|
576
576
|
{
|
|
577
577
|
var o = Me(e);
|
|
578
578
|
if (!o) {
|
|
579
579
|
var a = "";
|
|
580
580
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
581
|
-
var g =
|
|
581
|
+
var g = ut();
|
|
582
582
|
g ? a += g : a += Re();
|
|
583
583
|
var f;
|
|
584
584
|
e === null ? f = "null" : K(e) ? f = "array" : e !== void 0 && e.$$typeof === y ? (f = "<" + (S(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : f = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", f, a);
|
|
585
585
|
}
|
|
586
|
-
var p = it(e, t, r,
|
|
586
|
+
var p = it(e, t, r, u, s);
|
|
587
587
|
if (p == null)
|
|
588
588
|
return p;
|
|
589
589
|
if (o) {
|
|
@@ -670,7 +670,7 @@ function xt() {
|
|
|
670
670
|
}(Q)), Q.exports;
|
|
671
671
|
}
|
|
672
672
|
var Et = xt();
|
|
673
|
-
const re = /* @__PURE__ */ bt(Et), Rt = "
|
|
673
|
+
const re = /* @__PURE__ */ bt(Et), Rt = "_button_o4v3f_1", wt = "_button_primary_o4v3f_10", St = "_button_secondary_o4v3f_13", Tt = "_button_negative_o4v3f_16", Ot = "_button_positive_o4v3f_19", Pt = "_button_warning_o4v3f_22", Ct = "_button_neutral_o4v3f_25", jt = "_button_mdSize_o4v3f_85", Wt = "_button_smSize_o4v3f_95", kt = "_button_xsSize_o4v3f_105", ee = {
|
|
674
674
|
button: Rt,
|
|
675
675
|
button_primary: wt,
|
|
676
676
|
button_secondary: St,
|
|
@@ -766,7 +766,7 @@ function ar({
|
|
|
766
766
|
}
|
|
767
767
|
);
|
|
768
768
|
}
|
|
769
|
-
const er = "
|
|
769
|
+
const er = "_themeProviderScoped_2muxg_9", tr = {
|
|
770
770
|
themeProviderScoped: er
|
|
771
771
|
};
|
|
772
772
|
function or({ className: c, children: y }) {
|