@dss-kit/ui-kit 0.0.15 → 0.0.16
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 -21
- package/dist/components/controls/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/shared/Avatar/Avatar.d.ts +3 -0
- package/dist/components/shared/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/shared/Avatar/Avatar.stories.d.ts +13 -0
- package/dist/components/shared/Avatar/Avatar.stories.d.ts.map +1 -0
- package/dist/components/shared/Avatar/Avatar.types.d.ts +13 -0
- package/dist/components/shared/Avatar/Avatar.types.d.ts.map +1 -0
- package/dist/components/shared/Avatar/index.d.ts +3 -0
- package/dist/components/shared/Avatar/index.d.ts.map +1 -0
- package/dist/root.css +0 -0
- 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 +9 -9
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.css +1 -1
- package/dist/ui-kit.es.js +106 -105
- package/dist/ui-kit.es.js.map +1 -1
- package/dist/utils/styles/getSizeClass/getSizeClass.d.ts.map +1 -1
- package/package.json +76 -76
- package/dist/root10.css +0 -0
- package/dist/root11.css +0 -0
- package/dist/root12.css +0 -0
- package/dist/root13.css +0 -0
- package/dist/root14.css +0 -0
- package/dist/root15.css +0 -0
- package/dist/root16.css +0 -0
- package/dist/root17.css +0 -0
- package/dist/root18.css +0 -0
- package/dist/root19.css +0 -0
- package/dist/root2.css +0 -0
- package/dist/root20.css +0 -0
- package/dist/root21.css +0 -0
- package/dist/root22.css +0 -0
- package/dist/root23.css +0 -0
- package/dist/root24.css +0 -0
- package/dist/root25.css +0 -0
- package/dist/root26.css +0 -0
- package/dist/root27.css +0 -0
- package/dist/root28.css +0 -0
- package/dist/root29.css +0 -0
- package/dist/root3.css +0 -0
- package/dist/root30.css +0 -0
- package/dist/root31.css +0 -0
- package/dist/root32.css +0 -0
- package/dist/root33.css +0 -0
- package/dist/root34.css +0 -0
- package/dist/root35.css +0 -0
- package/dist/root36.css +0 -0
- package/dist/root37.css +0 -0
- package/dist/root38.css +0 -0
- package/dist/root39.css +0 -0
- package/dist/root4.css +0 -0
- package/dist/root40.css +0 -0
- package/dist/root41.css +0 -0
- package/dist/root42.css +0 -0
- package/dist/root43.css +0 -0
- package/dist/root44.css +0 -0
- package/dist/root45.css +0 -0
- package/dist/root46.css +0 -0
- package/dist/root47.css +0 -0
- package/dist/root48.css +0 -0
- package/dist/root49.css +0 -0
- package/dist/root5.css +0 -0
- package/dist/root50.css +0 -0
- package/dist/root51.css +0 -0
- package/dist/root52.css +0 -0
- package/dist/root53.css +0 -0
- package/dist/root54.css +0 -0
- package/dist/root55.css +0 -0
- package/dist/root56.css +0 -0
- package/dist/root57.css +0 -0
- package/dist/root58.css +0 -0
- package/dist/root59.css +0 -0
- package/dist/root6.css +0 -0
- package/dist/root60.css +0 -0
- package/dist/root61.css +0 -0
- package/dist/root62.css +0 -0
- package/dist/root63.css +0 -0
- package/dist/root64.css +0 -0
- package/dist/root65.css +0 -0
- package/dist/root66.css +0 -0
- package/dist/root67.css +0 -0
- package/dist/root68.css +0 -0
- package/dist/root69.css +0 -0
- package/dist/root7.css +0 -0
- package/dist/root70.css +0 -0
- package/dist/root71.css +0 -0
- package/dist/root72.css +0 -0
- package/dist/root73.css +0 -0
- package/dist/root74.css +0 -0
- package/dist/root75.css +0 -0
- package/dist/root76.css +0 -0
- package/dist/root77.css +0 -0
- package/dist/root78.css +0 -0
- package/dist/root79.css +0 -0
- package/dist/root8.css +0 -0
- package/dist/root80.css +0 -0
- package/dist/root81.css +0 -0
- package/dist/root82.css +0 -0
- package/dist/root83.css +0 -0
- package/dist/root84.css +0 -0
- package/dist/root85.css +0 -0
- package/dist/root86.css +0 -0
- package/dist/root87.css +0 -0
- package/dist/root88.css +0 -0
- package/dist/root89.css +0 -0
- package/dist/root9.css +0 -0
- package/dist/root90.css +0 -0
- package/dist/root91.css +0 -0
- package/dist/root92.css +0 -0
- package/dist/root93.css +0 -0
- package/dist/root94.css +0 -0
- package/dist/root95.css +0 -0
- package/dist/root96.css +0 -0
- package/dist/root97.css +0 -0
- package/dist/root98.css +0 -0
- package/dist/root99.css +0 -1
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
@use '../fonts';
|
|
2
|
-
|
|
3
|
-
@mixin _text-common {
|
|
4
|
-
@include fonts.Inter;
|
|
5
|
-
word-break: break-word;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
// Text Body 1
|
|
9
|
-
@mixin text-body1 {
|
|
10
|
-
@include _text-common;
|
|
11
|
-
font-size: 16px;
|
|
12
|
-
line-height: 24px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// Text Body 2
|
|
16
|
-
@mixin text-body2 {
|
|
17
|
-
@include _text-common;
|
|
18
|
-
font-size: 14px;
|
|
19
|
-
line-height: 20px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// Text Caption 1
|
|
23
|
-
@mixin text-caption1 {
|
|
24
|
-
@include _text-common;
|
|
25
|
-
font-size: 12px;
|
|
26
|
-
line-height: 16px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// Text Caption 2
|
|
30
|
-
@mixin text-caption2 {
|
|
31
|
-
@include _text-common;
|
|
32
|
-
font-size: 11px;
|
|
33
|
-
line-height: 12px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@mixin text-variants {
|
|
37
|
-
&_body1 {
|
|
38
|
-
@include text-body1;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&_body2 {
|
|
42
|
-
@include text-body2;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&_caption1 {
|
|
46
|
-
@include text-caption1;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&_caption2 {
|
|
50
|
-
@include text-caption2;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
1
|
+
@use '../fonts';
|
|
2
|
+
|
|
3
|
+
@mixin _text-common {
|
|
4
|
+
@include fonts.Inter;
|
|
5
|
+
word-break: break-word;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// Text Body 1
|
|
9
|
+
@mixin text-body1 {
|
|
10
|
+
@include _text-common;
|
|
11
|
+
font-size: 16px;
|
|
12
|
+
line-height: 24px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Text Body 2
|
|
16
|
+
@mixin text-body2 {
|
|
17
|
+
@include _text-common;
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
line-height: 20px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Text Caption 1
|
|
23
|
+
@mixin text-caption1 {
|
|
24
|
+
@include _text-common;
|
|
25
|
+
font-size: 12px;
|
|
26
|
+
line-height: 16px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// Text Caption 2
|
|
30
|
+
@mixin text-caption2 {
|
|
31
|
+
@include _text-common;
|
|
32
|
+
font-size: 11px;
|
|
33
|
+
line-height: 12px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@mixin text-variants {
|
|
37
|
+
&_body1 {
|
|
38
|
+
@include text-body1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&_body2 {
|
|
42
|
+
@include text-body2;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&_caption1 {
|
|
46
|
+
@include text-caption1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&_caption2 {
|
|
50
|
+
@include text-caption2;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
@use '../fonts';
|
|
2
|
-
|
|
3
|
-
@mixin _title-common {
|
|
4
|
-
@include fonts.Inter;
|
|
5
|
-
word-break: break-word;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@mixin title1 {
|
|
9
|
-
@include _title-common;
|
|
10
|
-
font-size: 32px;
|
|
11
|
-
line-height: 36px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@mixin title2 {
|
|
15
|
-
@include _title-common;
|
|
16
|
-
font-size: 24px;
|
|
17
|
-
line-height: 28px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@mixin title3 {
|
|
21
|
-
@include _title-common;
|
|
22
|
-
font-size: 20px;
|
|
23
|
-
line-height: 24px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@mixin headline1 {
|
|
27
|
-
@include _title-common;
|
|
28
|
-
font-size: 22px;
|
|
29
|
-
line-height: 26px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@mixin headline2 {
|
|
33
|
-
@include _title-common;
|
|
34
|
-
font-size: 18px;
|
|
35
|
-
line-height: 22px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@mixin headline3 {
|
|
39
|
-
@include _title-common;
|
|
40
|
-
font-size: 16px;
|
|
41
|
-
line-height: 20px;
|
|
42
|
-
}
|
|
1
|
+
@use '../fonts';
|
|
2
|
+
|
|
3
|
+
@mixin _title-common {
|
|
4
|
+
@include fonts.Inter;
|
|
5
|
+
word-break: break-word;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@mixin title1 {
|
|
9
|
+
@include _title-common;
|
|
10
|
+
font-size: 32px;
|
|
11
|
+
line-height: 36px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@mixin title2 {
|
|
15
|
+
@include _title-common;
|
|
16
|
+
font-size: 24px;
|
|
17
|
+
line-height: 28px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@mixin title3 {
|
|
21
|
+
@include _title-common;
|
|
22
|
+
font-size: 20px;
|
|
23
|
+
line-height: 24px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@mixin headline1 {
|
|
27
|
+
@include _title-common;
|
|
28
|
+
font-size: 22px;
|
|
29
|
+
line-height: 26px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@mixin headline2 {
|
|
33
|
+
@include _title-common;
|
|
34
|
+
font-size: 18px;
|
|
35
|
+
line-height: 22px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@mixin headline3 {
|
|
39
|
+
@include _title-common;
|
|
40
|
+
font-size: 16px;
|
|
41
|
+
line-height: 20px;
|
|
42
|
+
}
|
package/dist/ui-kit.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const De=require("react");function bt(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const De=require("react");function bt(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}var V={exports:{}},$={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Ce;function ht(){if(Ce)return $;Ce=1;var c=De,
|
|
9
|
+
*/var Ce;function ht(){if(Ce)return $;Ce=1;var c=De,y=Symbol.for("react.element"),_=Symbol.for("react.fragment"),h=Object.prototype.hasOwnProperty,R=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(d,v,C){var x,S={},T=null,z=null;C!==void 0&&(T=""+C),v.key!==void 0&&(T=""+v.key),v.ref!==void 0&&(z=v.ref);for(x in v)h.call(v,x)&&!i.hasOwnProperty(x)&&(S[x]=v[x]);if(d&&d.defaultProps)for(x in v=d.defaultProps,v)S[x]===void 0&&(S[x]=v[x]);return{$$typeof:y,type:d,key:T,ref:z,props:S,_owner:R.current}}return $.Fragment=_,$.jsx=l,$.jsxs=l,$}var I={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,22 +14,22 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var je;function mt(){return je||(je=1,process.env.NODE_ENV!=="production"&&function(){var c=De,
|
|
18
|
-
`+B+e}}var J=!1,
|
|
17
|
+
*/var je;function mt(){return je||(je=1,process.env.NODE_ENV!=="production"&&function(){var c=De,y=Symbol.for("react.element"),_=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),d=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),z=Symbol.for("react.offscreen"),ne=Symbol.iterator,Ae="@@iterator";function $e(e){if(e===null||typeof e!="object")return null;var t=ne&&e[ne]||e[Ae];return typeof t=="function"?t:null}var j=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function g(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];Ie("error",e,r)}}function Ie(e,t,r){{var n=j.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(t+="%s",r=r.concat([s]));var u=r.map(function(o){return String(o)});u.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,u)}}var ze=!1,qe=!1,Ye=!1,Ne=!1,Me=!1,ae;ae=Symbol.for("react.module.reference");function Ve(e){return!!(typeof e=="string"||typeof e=="function"||e===h||e===i||Me||e===R||e===C||e===x||Ne||e===z||ze||qe||Ye||typeof e=="object"&&e!==null&&(e.$$typeof===T||e.$$typeof===S||e.$$typeof===l||e.$$typeof===d||e.$$typeof===v||e.$$typeof===ae||e.getModuleId!==void 0))}function Le(e,t,r){var n=e.displayName;if(n)return n;var s=t.displayName||t.name||"";return s!==""?r+"("+s+")":r}function oe(e){return e.displayName||"Context"}function w(e){if(e==null)return null;if(typeof e.tag=="number"&&g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case h:return"Fragment";case _:return"Portal";case i:return"Profiler";case R:return"StrictMode";case C:return"Suspense";case x:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case d:var t=e;return oe(t)+".Consumer";case l:var r=e;return oe(r._context)+".Provider";case v:return Le(e,e.render,"ForwardRef");case S:var n=e.displayName||null;return n!==null?n:w(e.type)||"Memo";case T:{var s=e,u=s._payload,o=s._init;try{return w(o(u))}catch{return null}}}return null}var O=Object.assign,F=0,ie,se,ue,ce,le,fe,_e;function de(){}de.__reactDisabledLog=!0;function Ue(){{if(F===0){ie=console.log,se=console.info,ue=console.warn,ce=console.error,le=console.group,fe=console.groupCollapsed,_e=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}F++}}function Be(){{if(F--,F===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:ie}),info:O({},e,{value:se}),warn:O({},e,{value:ue}),error:O({},e,{value:ce}),group:O({},e,{value:le}),groupCollapsed:O({},e,{value:fe}),groupEnd:O({},e,{value:_e})})}F<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var U=j.ReactCurrentDispatcher,B;function q(e,t,r){{if(B===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);B=n&&n[1]||""}return`
|
|
18
|
+
`+B+e}}var J=!1,Y;{var Je=typeof WeakMap=="function"?WeakMap:Map;Y=new Je}function ve(e,t){if(!e||J)return"";{var r=Y.get(e);if(r!==void 0)return r}var n;J=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=U.current,U.current=null,Ue();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(m){n=m}Reflect.construct(e,[],o)}else{try{o.call()}catch(m){n=m}e.call(o.prototype)}}else{try{throw Error()}catch(m){n=m}e()}}catch(m){if(m&&n&&typeof m.stack=="string"){for(var a=m.stack.split(`
|
|
19
19
|
`),b=n.stack.split(`
|
|
20
20
|
`),f=a.length-1,p=b.length-1;f>=1&&p>=0&&a[f]!==b[p];)p--;for(;f>=1&&p>=0;f--,p--)if(a[f]!==b[p]){if(f!==1||p!==1)do if(f--,p--,p<0||a[f]!==b[p]){var E=`
|
|
21
|
-
`+a[f].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&
|
|
21
|
+
`+a[f].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&Y.set(e,E),E}while(f>=1&&p>=0);break}}}finally{J=!1,U.current=u,Be(),Error.prepareStackTrace=s}var k=e?e.displayName||e.name:"",P=k?q(k):"";return typeof e=="function"&&Y.set(e,P),P}function Ke(e,t,r){return ve(e,!1)}function Ge(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function N(e,t,r){if(e==null)return"";if(typeof e=="function")return ve(e,Ge(e));if(typeof e=="string")return q(e);switch(e){case C:return q("Suspense");case x:return q("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case v:return Ke(e.render);case S:return N(e.type,t,r);case T:{var n=e,s=n._payload,u=n._init;try{return N(u(s),t,r)}catch{}}}return""}var A=Object.prototype.hasOwnProperty,pe={},ye=j.ReactDebugCurrentFrame;function M(e){if(e){var t=e._owner,r=N(e.type,e._source,t?t.type:null);ye.setExtraStackFrame(r)}else ye.setExtraStackFrame(null)}function Xe(e,t,r,n,s){{var u=Function.call.bind(A);for(var o in e)if(u(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var b=Error((n||"React class")+": "+r+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw b.name="Invariant Violation",b}a=e[o](t,o,n,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(f){a=f}a&&!(a instanceof Error)&&(M(s),g("%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(s),g("Failed %s type: %s",r,a.message),M(null))}}}var He=Array.isArray;function K(e){return He(e)}function Ze(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Qe(e){try{return ge(e),!1}catch{return!0}}function ge(e){return""+e}function be(e){if(Qe(e))return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),ge(e)}var he=j.ReactCurrentOwner,et={key:!0,ref:!0,__self:!0,__source:!0},me,xe;function tt(e){if(A.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function rt(e){if(A.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function nt(e,t){typeof e.ref=="string"&&he.current}function at(e,t){{var r=function(){me||(me=!0,g("%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://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function ot(e,t){{var r=function(){xe||(xe=!0,g("%s: `ref` 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://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var it=function(e,t,r,n,s,u,o){var a={$$typeof:y,type:e,key:t,ref:r,props:o,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function st(e,t,r,n,s){{var u,o={},a=null,b=null;r!==void 0&&(be(r),a=""+r),rt(t)&&(be(t.key),a=""+t.key),tt(t)&&(b=t.ref,nt(t,s));for(u in t)A.call(t,u)&&!et.hasOwnProperty(u)&&(o[u]=t[u]);if(e&&e.defaultProps){var f=e.defaultProps;for(u in f)o[u]===void 0&&(o[u]=f[u])}if(a||b){var p=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&at(o,p),b&&ot(o,p)}return it(e,a,b,s,n,he.current,o)}}var G=j.ReactCurrentOwner,Ee=j.ReactDebugCurrentFrame;function W(e){if(e){var t=e._owner,r=N(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}var X;X=!1;function H(e){return typeof e=="object"&&e!==null&&e.$$typeof===y}function Re(){{if(G.current){var e=w(G.current.type);if(e)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+e+"`."}return""}}function ut(e){return""}var Se={};function ct(e){{var t=Re();if(!t){var r=typeof e=="string"?e:e.displayName||e.name;r&&(t=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+r+">.")}return t}}function we(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=ct(t);if(Se[r])return;Se[r]=!0;var n="";e&&e._owner&&e._owner!==G.current&&(n=" It was passed a child from "+w(e._owner.type)+"."),W(e),
|
|
25
|
+
Check the top-level render call using <`+r+">.")}return t}}function we(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=ct(t);if(Se[r])return;Se[r]=!0;var n="";e&&e._owner&&e._owner!==G.current&&(n=" It was passed a child from "+w(e._owner.type)+"."),W(e),g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,n),W(null)}}function Te(e,t){{if(typeof e!="object")return;if(K(e))for(var r=0;r<e.length;r++){var n=e[r];H(n)&&we(n,t)}else if(H(e))e._store&&(e._store.validated=!0);else if(e){var s=$e(e);if(typeof s=="function"&&s!==e.entries)for(var u=s.call(e),o;!(o=u.next()).done;)H(o.value)&&we(o.value,t)}}}function lt(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===v||t.$$typeof===S))r=t.propTypes;else return;if(r){var n=w(t);Xe(r,e.props,"prop",n,e)}else if(t.PropTypes!==void 0&&!X){X=!0;var s=w(t);g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ft(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if(n!=="children"&&n!=="key"){W(e),g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),W(null);break}}e.ref!==null&&(W(e),g("Invalid attribute `ref` supplied to `React.Fragment`."),W(null))}}var Oe={};function Pe(e,t,r,n,s,u){{var o=Ve(e);if(!o){var a="";(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.");var b=ut();b?a+=b:a+=Re();var f;e===null?f="null":K(e)?f="array":e!==void 0&&e.$$typeof===y?(f="<"+(w(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):f=typeof e,g("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)}var p=st(e,t,r,s,u);if(p==null)return p;if(o){var E=t.children;if(E!==void 0)if(n)if(K(E)){for(var k=0;k<E.length;k++)Te(E[k],e);Object.freeze&&Object.freeze(E)}else g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Te(E,e)}if(A.call(t,"key")){var P=w(e),m=Object.keys(t).filter(function(gt){return gt!=="key"}),Z=m.length>0?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}";if(!Oe[P+Z]){var yt=m.length>0?"{"+m.join(": ..., ")+": ...}":"{}";g(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,Z,P,
|
|
30
|
+
<%s key={someKey} {...props} />`,Z,P,yt,P),Oe[P+Z]=!0}}return e===h?ft(p):lt(p),p}}function _t(e,t,r){return Pe(e,t,r,!0)}function dt(e,t,r){return Pe(e,t,r,!1)}var vt=dt,pt=_t;I.Fragment=h,I.jsx=vt,I.jsxs=pt}()),I}var We;function xt(){return We||(We=1,process.env.NODE_ENV==="production"?V.exports=ht():V.exports=mt()),V.exports}var te=xt(),Q={exports:{}};/*!
|
|
31
31
|
Copyright (c) 2018 Jed Watson.
|
|
32
32
|
Licensed under the MIT License (MIT), see
|
|
33
33
|
http://jedwatson.github.io/classnames
|
|
34
|
-
*/var ke;function Et(){return ke||(ke=1,function(c){(function(){var
|
|
34
|
+
*/var ke;function Et(){return ke||(ke=1,function(c){(function(){var y={}.hasOwnProperty;function _(){for(var i="",l=0;l<arguments.length;l++){var d=arguments[l];d&&(i=R(i,h(d)))}return i}function h(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return _.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var l="";for(var d in i)y.call(i,d)&&i[d]&&(l=R(l,d));return l}function R(i,l){return l?i?i+" "+l:i+l:i}c.exports?(_.default=_,c.exports=_):window.classNames=_})()}(Q)),Q.exports}var Rt=Et();const re=bt(Rt);function D(c,y,_,h=""){if(_)return c[`${y}_${_}${h}`]}function Fe(c,y,_){return D(c,y,_,"Size")}const St="_button_qsd3z_1",wt="_button_primary_qsd3z_10",Tt="_button_secondary_qsd3z_13",Ot="_button_negative_qsd3z_16",Pt="_button_positive_qsd3z_19",Ct="_button_warning_qsd3z_22",jt="_button_neutral_qsd3z_25",Wt="_button_mdSize_qsd3z_85",kt="_button_smSize_qsd3z_95",Dt="_button_xsSize_qsd3z_105",ee={button:St,button_primary:wt,button_secondary:Tt,button_negative:Ot,button_positive:Pt,button_warning:Ct,button_neutral:jt,button_mdSize:Wt,button_smSize:kt,button_xsSize:Dt};function Ft({attr:c,children:y,className:_,type:h="button",color:R="primary",size:i="md",...l}){const d="button";return te.jsx("button",{...c,...l,type:h,className:re(ee[d],_,Fe(ee,d,i),D(ee,d,R)),children:y})}const At="_text_primary_dy5tw_1",$t="_text_secondary_dy5tw_4",It="_text_tertiary_dy5tw_7",zt="_text_positive_dy5tw_10",qt="_text_negative_dy5tw_13",Yt="_text_warning_dy5tw_16",Nt="_text_accent_dy5tw_19",Mt="_text_inverse_dy5tw_22",Vt="_text_body1_dy5tw_25",Lt="_text_body2_dy5tw_31",Ut="_text_caption1_dy5tw_37",Bt="_text_caption2_dy5tw_43",Jt="_text_extraboldWeight_dy5tw_49",Kt="_text_boldWeight_dy5tw_52",Gt="_text_semiboldWeight_dy5tw_55",Xt="_text_mediumWeight_dy5tw_58",Ht="_text_regularWeight_dy5tw_61",Zt="_text_lightWeight_dy5tw_64",Qt="_text_extralightWeight_dy5tw_67",L={text_primary:At,text_secondary:$t,text_tertiary:It,text_positive:zt,text_negative:qt,text_warning:Yt,text_accent:Nt,text_inverse:Mt,text_body1:Vt,text_body2:Lt,text_caption1:Ut,text_caption2:Bt,text_extraboldWeight:Jt,text_boldWeight:Kt,text_semiboldWeight:Gt,text_mediumWeight:Xt,text_regularWeight:Ht,text_lightWeight:Zt,text_extralightWeight:Qt};function er(c,y,_){return D(c,y,_,"Weight")}function tr({attr:c,children:y,className:_,color:h="primary",variant:R="body1",weight:i="regular",tag:l="p",...d}){const v="text";return te.jsx(l,{...c,...d,className:re(L[v],_,D(L,v,h),D(L,v,R),er(L,v,i)),children:y})}const rr="_themeProviderScoped_1f66y_2",nr={themeProviderScoped:rr};function ar({className:c,children:y}){return te.jsx("div",{className:re(nr.themeProviderScoped,c),children:y})}exports.IconButton=Ft;exports.Text=tr;exports.ThemeProviderScoped=ar;exports.getSizeClass=Fe;exports.getStyleClass=D;
|
|
35
35
|
//# sourceMappingURL=ui-kit.cjs.js.map
|