@dss-kit/ui-kit 0.0.24 → 0.0.26

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.
Files changed (56) hide show
  1. package/README.md +21 -21
  2. package/dist/components/builders/Text/Text.d.ts +41 -0
  3. package/dist/components/builders/Text/Text.d.ts.map +1 -0
  4. package/dist/components/builders/Text/Text.stories.d.ts +11 -0
  5. package/dist/components/builders/Text/Text.stories.d.ts.map +1 -0
  6. package/dist/components/builders/Text/index.d.ts +2 -0
  7. package/dist/components/builders/Text/index.d.ts.map +1 -0
  8. package/dist/components/builders/Text/utils/systemToClass.d.ts +21 -0
  9. package/dist/components/builders/Text/utils/systemToClass.d.ts.map +1 -0
  10. package/dist/components/builders/index.d.ts.map +1 -0
  11. package/dist/components/controls/IconButton/IconButton.types.d.ts +3 -3
  12. package/dist/components/index.d.ts +1 -1
  13. package/dist/components/index.d.ts.map +1 -1
  14. package/dist/components/shared/Avatar/Avatar.types.d.ts +3 -3
  15. package/dist/components/shared/Hint/Hint.d.ts +3 -3
  16. package/dist/components/shared/Hint/Hint.d.ts.map +1 -1
  17. package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.d.ts +1 -1
  18. package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.d.ts.map +1 -1
  19. package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.types.d.ts +1 -0
  20. package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.types.d.ts.map +1 -1
  21. package/dist/root.css +1 -1
  22. package/dist/styles/utils/breakpoints/base.scss +11 -11
  23. package/dist/styles/utils/breakpoints/index.scss +3 -3
  24. package/dist/styles/utils/breakpoints/screen.scss +61 -67
  25. package/dist/styles/utils/breakpoints/semantic.scss +31 -31
  26. package/dist/styles/utils/fonts/font-family.scss +3 -3
  27. package/dist/styles/utils/fonts/index.scss +1 -2
  28. package/dist/styles/utils/index.scss +5 -5
  29. package/dist/styles/utils/size/index.scss +1 -1
  30. package/dist/styles/utils/size/modifiers.scss +29 -29
  31. package/dist/styles/utils/style/index.scss +1 -1
  32. package/dist/styles/utils/style/variants.scss +34 -34
  33. package/dist/styles/utils/typography/_font-weight.scss +33 -0
  34. package/dist/styles/utils/typography/_variants.scss +85 -0
  35. package/dist/styles/utils/typography/index.scss +2 -2
  36. package/dist/types/tokens.types.d.ts +11 -14
  37. package/dist/types/tokens.types.d.ts.map +1 -1
  38. package/dist/ui-kit.cjs.js +2 -2
  39. package/dist/ui-kit.cjs.js.map +1 -1
  40. package/dist/ui-kit.css +1 -1
  41. package/dist/ui-kit.es.js +1165 -210
  42. package/dist/ui-kit.es.js.map +1 -1
  43. package/package.json +77 -76
  44. package/dist/components/typography/Text/Text.d.ts +0 -3
  45. package/dist/components/typography/Text/Text.d.ts.map +0 -1
  46. package/dist/components/typography/Text/Text.stories.d.ts +0 -7
  47. package/dist/components/typography/Text/Text.stories.d.ts.map +0 -1
  48. package/dist/components/typography/Text/Text.types.d.ts +0 -14
  49. package/dist/components/typography/Text/Text.types.d.ts.map +0 -1
  50. package/dist/components/typography/Text/index.d.ts +0 -3
  51. package/dist/components/typography/Text/index.d.ts.map +0 -1
  52. package/dist/components/typography/index.d.ts.map +0 -1
  53. package/dist/styles/utils/fonts/font-weight.scss +0 -59
  54. package/dist/styles/utils/typography/text.scss +0 -52
  55. package/dist/styles/utils/typography/title.scss +0 -42
  56. /package/dist/components/{typography → builders}/index.d.ts +0 -0
@@ -1 +1 @@
1
- @forward 'variants';
1
+ @forward "variants";
@@ -1,34 +1,34 @@
1
- @mixin style-variant-text($map, $pseudo-class: null, $postfix: '') {
2
- @each $style, $color in $map {
3
- &_#{$style}#{$postfix}#{if($pseudo-class, ':' + $pseudo-class, '')} {
4
- color: $color;
5
- }
6
- }
7
- }
8
-
9
- @mixin style-variant-border($width: 1px, $map, $pseudo-class: null, $postfix: '') {
10
- border: $width solid transparent;
11
- @each $style, $color in $map {
12
- &_#{$style}#{$postfix}#{if($pseudo-class, ':' + $pseudo-class, '')} {
13
- border-color: $color;
14
- }
15
- }
16
- }
17
-
18
- @mixin style-variant-bg($map, $pseudo-class: null, $postfix: '') {
19
- @each $style, $color in $map {
20
- &_#{$style}#{$postfix}#{if($pseudo-class, ':' + $pseudo-class, '')} {
21
- background-color: $color;
22
- }
23
- }
24
- }
25
-
26
- @mixin style-variant-svg($map, $pseudo-class: null, $postfix: '') {
27
- @each $style, $color in $map {
28
- &_#{$style}#{$postfix}#{if($pseudo-class, ':' + $pseudo-class, '')} {
29
- svg {
30
- color: $color;
31
- }
32
- }
33
- }
34
- }
1
+ @mixin style-variant-text($map, $pseudo-class: null, $postfix: "") {
2
+ @each $style, $color in $map {
3
+ &_#{$style}#{$postfix}#{if($pseudo-class, ':' + $pseudo-class, '')} {
4
+ color: $color;
5
+ }
6
+ }
7
+ }
8
+
9
+ @mixin style-variant-border($width: 1px, $map, $pseudo-class: null, $postfix: "") {
10
+ border: $width solid transparent;
11
+ @each $style, $color in $map {
12
+ &_#{$style}#{$postfix}#{if($pseudo-class, ':' + $pseudo-class, '')} {
13
+ border-color: $color;
14
+ }
15
+ }
16
+ }
17
+
18
+ @mixin style-variant-bg($map, $pseudo-class: null, $postfix: "") {
19
+ @each $style, $color in $map {
20
+ &_#{$style}#{$postfix}#{if($pseudo-class, ':' + $pseudo-class, '')} {
21
+ background-color: $color;
22
+ }
23
+ }
24
+ }
25
+
26
+ @mixin style-variant-svg($map, $pseudo-class: null, $postfix: "") {
27
+ @each $style, $color in $map {
28
+ &_#{$style}#{$postfix}#{if($pseudo-class, ':' + $pseudo-class, '')} {
29
+ svg {
30
+ color: $color;
31
+ }
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,33 @@
1
+ @use "sass:map";
2
+
3
+ $font-weight: (
4
+ regular: 400,
5
+ medium: 500,
6
+ semibold: 600,
7
+ bold: 700,
8
+ ) !default;
9
+
10
+ @function font-weight-token($name) {
11
+ @if not map.has-key($font-weight, $name) {
12
+ @error "Unknown font-weight token `#{$name}`";
13
+ }
14
+ @return map.get($font-weight, $name);
15
+ }
16
+
17
+ @mixin font-weight($name) {
18
+ font-weight: font-weight-token($name);
19
+ }
20
+
21
+ // опциональные алиасы ради DX/совместимости
22
+ @mixin font-regular {
23
+ @include font-weight(regular);
24
+ }
25
+ @mixin font-medium {
26
+ @include font-weight(medium);
27
+ }
28
+ @mixin font-semibold {
29
+ @include font-weight(semibold);
30
+ }
31
+ @mixin font-bold {
32
+ @include font-weight(bold);
33
+ }
@@ -0,0 +1,85 @@
1
+ @use "../fonts";
2
+ @use "../breakpoints/semantic.scss" as breakpoints;
3
+
4
+ /* Общий базовый стиль для любого текста */
5
+ @mixin common {
6
+ @include fonts.Inter;
7
+ word-break: break-word;
8
+ }
9
+
10
+ /* Быстрое объявление font-size + line-height */
11
+ @mixin text-size($font-size, $line-height) {
12
+ font-size: $font-size;
13
+ line-height: $line-height;
14
+ }
15
+
16
+ /* ==== Titles ==== */
17
+ @mixin title-1 {
18
+ @include text-size(32px, 36px);
19
+
20
+ // md = 768px
21
+ @include breakpoints.bp-md() {
22
+ font-size: 24px;
23
+ }
24
+ }
25
+
26
+ @mixin title-2 {
27
+ @include text-size(24px, 28px);
28
+
29
+ // md = 768px
30
+ @include breakpoints.bp-md() {
31
+ font-size: 20px;
32
+ }
33
+ }
34
+
35
+ @mixin title-3 {
36
+ @include text-size(20px, 28px);
37
+
38
+ // md = 768px
39
+ @include breakpoints.bp-md() {
40
+ font-size: 18px;
41
+ }
42
+
43
+ // xs = 480px
44
+ @include breakpoints.bp-xs() {
45
+ font-size: 16px;
46
+ }
47
+ }
48
+
49
+ /* ==== Headline ==== */
50
+ @mixin headline-1 {
51
+ font-size: 22px;
52
+ line-height: 26px;
53
+ }
54
+
55
+ @mixin headline-2 {
56
+ font-size: 18px;
57
+ line-height: 22px;
58
+ }
59
+
60
+ @mixin headline-3 {
61
+ font-size: 16px;
62
+ line-height: 20px;
63
+ }
64
+
65
+ /* ==== Body ==== */
66
+ @mixin body-1 {
67
+ font-size: 16px;
68
+ line-height: 24px;
69
+ }
70
+
71
+ @mixin body-2 {
72
+ font-size: 14px;
73
+ line-height: 20px;
74
+ }
75
+
76
+ /* ==== Caption ==== */
77
+ @mixin caption-1 {
78
+ font-size: 12px;
79
+ line-height: 16px;
80
+ }
81
+
82
+ @mixin caption-2 {
83
+ font-size: 10px;
84
+ line-height: 14px;
85
+ }
@@ -1,2 +1,2 @@
1
- @forward 'text';
2
- @forward 'title';
1
+ @forward "_variants";
2
+ @forward "_font-weight";
@@ -1,16 +1,13 @@
1
- export type PrimaryType = 'primary';
2
- export type SecondaryType = 'secondary';
3
- export type TertiaryType = 'tertiary';
4
- export type PositiveType = 'positive';
5
- export type NegativeType = 'negative';
6
- export type WarningType = 'warning';
7
- export type NeutralType = 'neutral';
8
- export type AccentType = 'accent';
9
- export type InverseType = 'inverse';
10
- export type CustomType = 'custom';
11
- export type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
12
- export type TextColor = PrimaryType | SecondaryType | TertiaryType | PositiveType | NegativeType | WarningType | AccentType | InverseType;
1
+ export type PrimaryType = "primary";
2
+ export type SecondaryType = "secondary";
3
+ export type TertiaryType = "tertiary";
4
+ export type PositiveType = "positive";
5
+ export type NegativeType = "negative";
6
+ export type WarningType = "warning";
7
+ export type NeutralType = "neutral";
8
+ export type AccentType = "accent";
9
+ export type InverseType = "inverse";
10
+ export type CustomType = "custom";
11
+ export type Size = "xs" | "sm" | "md" | "lg" | "xl";
13
12
  export type IconColor = PrimaryType | SecondaryType | TertiaryType | PositiveType | NegativeType | WarningType | AccentType | InverseType;
14
- export type TextVariant = 'body1' | 'body2' | 'caption1' | 'caption2';
15
- export type FontWeight = 'extrabold' | 'bold' | 'semibold' | 'medium' | 'regular' | 'light' | 'extralight';
16
13
  //# sourceMappingURL=tokens.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.types.d.ts","sourceRoot":"","sources":["../../src/types/tokens.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AACpC,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC;AACxC,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;AACtC,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;AACtC,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;AACtC,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AACpC,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AACpC,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;AAClC,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AACpC,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;AAElC,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,SAAS,GACjB,WAAW,GACX,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,UAAU,GACV,WAAW,CAAC;AAEhB,MAAM,MAAM,SAAS,GACjB,WAAW,GACX,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,UAAU,GACV,WAAW,CAAC;AAEhB,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;AAEtE,MAAM,MAAM,UAAU,GAClB,WAAW,GACX,MAAM,GACN,UAAU,GACV,QAAQ,GACR,SAAS,GACT,OAAO,GACP,YAAY,CAAC"}
1
+ {"version":3,"file":"tokens.types.d.ts","sourceRoot":"","sources":["../../src/types/tokens.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AACpC,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC;AACxC,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;AACtC,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;AACtC,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;AACtC,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AACpC,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AACpC,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;AAClC,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AACpC,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;AAElC,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,SAAS,GACjB,WAAW,GACX,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,UAAU,GACV,WAAW,CAAC"}
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),f=require("react");function S(t){const _=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(_,n,s.get?s:{enumerable:!0,get:()=>t[n]})}}return _.default=t,Object.freeze(_)}const l=S(f);function z(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var v={exports:{}};/*!
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react/jsx-runtime"),fe=require("react");function Ne(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const O=Ne(fe);function Le(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Ie(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Ge=function(){function e(r){var n=this;this._insertTag=function(a){var s;n.tags.length===0?n.insertionPoint?s=n.insertionPoint.nextSibling:n.prepend?s=n.container.firstChild:s=n.before:s=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,s),n.tags.push(a)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ie(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Le(a);try{s.insertRule(n,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var a;return(a=n.parentNode)==null?void 0:a.removeChild(n)}),this.tags=[],this.ctr=0},e}(),x="-ms-",X="-moz-",l="-webkit-",ke="comm",de="rule",he="decl",We="@import",$e="@keyframes",Be="@layer",Ve=Math.abs,ee=String.fromCharCode,De=Object.assign;function qe(e,t){return y(e,0)^45?(((t<<2^y(e,0))<<2^y(e,1))<<2^y(e,2))<<2^y(e,3):0}function Ee(e){return e.trim()}function Fe(e,t){return(e=t.exec(e))?e[0]:e}function d(e,t,r){return e.replace(t,r)}function ue(e,t){return e.indexOf(t)}function y(e,t){return e.charCodeAt(t)|0}function B(e,t,r){return e.slice(t,r)}function P(e){return e.length}function _e(e){return e.length}function H(e,t){return t.push(e),e}function He(e,t){return e.map(t).join("")}var te=1,I=1,Ae=0,k=0,g=0,G="";function re(e,t,r,n,a,s,i){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:te,column:I,length:i,return:""}}function W(e,t){return De(re("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ze(){return g}function Ke(){return g=k>0?y(G,--k):0,I--,g===10&&(I=1,te--),g}function $(){return g=k<Ae?y(G,k++):0,I++,g===10&&(I=1,te++),g}function R(){return y(G,k)}function K(){return k}function q(e,t){return B(G,e,t)}function V(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Oe(e){return te=I=1,Ae=P(G=e),k=0,[]}function je(e){return G="",e}function U(e){return Ee(q(k-1,le(e===91?e+2:e===40?e+1:e)))}function Ue(e){for(;(g=R())&&g<33;)$();return V(e)>2||V(g)>3?"":" "}function Ye(e,t){for(;--t&&$()&&!(g<48||g>102||g>57&&g<65||g>70&&g<97););return q(e,K()+(t<6&&R()==32&&$()==32))}function le(e){for(;$();)switch(g){case e:return k;case 34:case 39:e!==34&&e!==39&&le(g);break;case 40:e===41&&le(e);break;case 92:$();break}return k}function Xe(e,t){for(;$()&&e+g!==57;)if(e+g===84&&R()===47)break;return"/*"+q(t,k-1)+"*"+ee(e===47?e:$())}function Je(e){for(;!V(R());)$();return q(e,k)}function Qe(e){return je(Y("",null,null,null,[""],e=Oe(e),0,[0],e))}function Y(e,t,r,n,a,s,i,c,o){for(var u=0,f=0,h=i,S=0,j=0,w=0,_=1,b=1,p=1,v=0,E="",F=a,T=s,z=n,m=E;b;)switch(w=v,v=$()){case 40:if(w!=108&&y(m,h-1)==58){ue(m+=d(U(v),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:m+=U(v);break;case 9:case 10:case 13:case 32:m+=Ue(w);break;case 92:m+=Ye(K()-1,7);continue;case 47:switch(R()){case 42:case 47:H(et(Xe($(),K()),t,r),o);break;default:m+="/"}break;case 123*_:c[u++]=P(m)*p;case 125*_:case 59:case 0:switch(v){case 0:case 125:b=0;case 59+f:p==-1&&(m=d(m,/\f/g,"")),j>0&&P(m)-h&&H(j>32?pe(m+";",n,r,h-1):pe(d(m," ","")+";",n,r,h-2),o);break;case 59:m+=";";default:if(H(z=me(m,t,r,u,f,a,c,E,F=[],T=[],h),s),v===123)if(f===0)Y(m,t,z,z,F,s,h,c,T);else switch(S===99&&y(m,3)===110?100:S){case 100:case 108:case 109:case 115:Y(e,z,z,n&&H(me(e,z,z,0,0,a,c,E,a,F=[],h),T),a,T,h,c,n?F:T);break;default:Y(m,z,z,z,[""],T,0,c,T)}}u=f=j=0,_=p=1,E=m="",h=i;break;case 58:h=1+P(m),j=w;default:if(_<1){if(v==123)--_;else if(v==125&&_++==0&&Ke()==125)continue}switch(m+=ee(v),v*_){case 38:p=f>0?1:(m+="\f",-1);break;case 44:c[u++]=(P(m)-1)*p,p=1;break;case 64:R()===45&&(m+=U($())),S=R(),f=h=P(E=m+=Je(K())),v++;break;case 45:w===45&&P(m)==2&&(_=0)}}return s}function me(e,t,r,n,a,s,i,c,o,u,f){for(var h=a-1,S=a===0?s:[""],j=_e(S),w=0,_=0,b=0;w<n;++w)for(var p=0,v=B(e,h+1,h=Ve(_=i[w])),E=e;p<j;++p)(E=Ee(_>0?S[p]+" "+v:d(v,/&\f/g,S[p])))&&(o[b++]=E);return re(e,t,r,a===0?de:c,o,u,f)}function et(e,t,r){return re(e,t,r,ke,ee(Ze()),B(e,2,-2),0)}function pe(e,t,r,n){return re(e,t,r,he,B(e,0,n),B(e,n+1,-1),n)}function L(e,t){for(var r="",n=_e(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function tt(e,t,r,n){switch(e.type){case Be:if(e.children.length)break;case We:case he:return e.return=e.return||e.value;case ke:return"";case $e:return e.return=e.value+"{"+L(e.children,n)+"}";case de:e.value=e.props.join(",")}return P(r=L(e.children,n))?e.return=e.value+"{"+r+"}":""}function rt(e){var t=_e(e);return function(r,n,a,s){for(var i="",c=0;c<t;c++)i+=e[c](r,n,a,s)||"";return i}}function nt(e){return function(t){t.root||(t=t.return)&&e(t)}}function at(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var st=function(t,r,n){for(var a=0,s=0;a=s,s=R(),a===38&&s===12&&(r[n]=1),!V(s);)$();return q(t,k)},it=function(t,r){var n=-1,a=44;do switch(V(a)){case 0:a===38&&R()===12&&(r[n]=1),t[n]+=st(k-1,r,n);break;case 2:t[n]+=U(a);break;case 4:if(a===44){t[++n]=R()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=ee(a)}while(a=$());return t},ct=function(t,r){return je(it(Oe(t),r))},ge=new WeakMap,ot=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,a=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!ge.get(n))&&!a){ge.set(t,!0);for(var s=[],i=ct(r,s),c=n.props,o=0,u=0;o<i.length;o++)for(var f=0;f<c.length;f++,u++)t.props[u]=s[o]?i[o].replace(/&\f/g,c[f]):c[f]+" "+i[o]}}},ft=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function ze(e,t){switch(qe(e,t)){case 5103:return l+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return l+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return l+e+X+e+x+e+e;case 6828:case 4268:return l+e+x+e+e;case 6165:return l+e+x+"flex-"+e+e;case 5187:return l+e+d(e,/(\w+).+(:[^]+)/,l+"box-$1$2"+x+"flex-$1$2")+e;case 5443:return l+e+x+"flex-item-"+d(e,/flex-|-self/,"")+e;case 4675:return l+e+x+"flex-line-pack"+d(e,/align-content|flex-|-self/,"")+e;case 5548:return l+e+x+d(e,"shrink","negative")+e;case 5292:return l+e+x+d(e,"basis","preferred-size")+e;case 6060:return l+"box-"+d(e,"-grow","")+l+e+x+d(e,"grow","positive")+e;case 4554:return l+d(e,/([^-])(transform)/g,"$1"+l+"$2")+e;case 6187:return d(d(d(e,/(zoom-|grab)/,l+"$1"),/(image-set)/,l+"$1"),e,"")+e;case 5495:case 3959:return d(e,/(image-set\([^]*)/,l+"$1$`$1");case 4968:return d(d(e,/(.+:)(flex-)?(.*)/,l+"box-pack:$3"+x+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+l+e+e;case 4095:case 3583:case 4068:case 2532:return d(e,/(.+)-inline(.+)/,l+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(P(e)-1-t>6)switch(y(e,t+1)){case 109:if(y(e,t+4)!==45)break;case 102:return d(e,/(.+:)(.+)-([^]+)/,"$1"+l+"$2-$3$1"+X+(y(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ue(e,"stretch")?ze(d(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(y(e,t+1)!==115)break;case 6444:switch(y(e,P(e)-3-(~ue(e,"!important")&&10))){case 107:return d(e,":",":"+l)+e;case 101:return d(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+l+(y(e,14)===45?"inline-":"")+"box$3$1"+l+"$2$3$1"+x+"$2box$3")+e}break;case 5936:switch(y(e,t+11)){case 114:return l+e+x+d(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return l+e+x+d(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return l+e+x+d(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return l+e+x+e+e}return e}var ut=function(t,r,n,a){if(t.length>-1&&!t.return)switch(t.type){case he:t.return=ze(t.value,t.length);break;case $e:return L([W(t,{value:d(t.value,"@","@"+l)})],a);case de:if(t.length)return He(t.props,function(s){switch(Fe(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return L([W(t,{props:[d(s,/:(read-\w+)/,":"+X+"$1")]})],a);case"::placeholder":return L([W(t,{props:[d(s,/:(plac\w+)/,":"+l+"input-$1")]}),W(t,{props:[d(s,/:(plac\w+)/,":"+X+"$1")]}),W(t,{props:[d(s,/:(plac\w+)/,x+"input-$1")]})],a)}return""})}},lt=[ut],dt=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(_){var b=_.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(_),_.setAttribute("data-s",""))})}var a=t.stylisPlugins||lt,s={},i,c=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(_){for(var b=_.getAttribute("data-emotion").split(" "),p=1;p<b.length;p++)s[b[p]]=!0;c.push(_)});var o,u=[ot,ft];{var f,h=[tt,nt(function(_){f.insert(_)})],S=rt(u.concat(a,h)),j=function(b){return L(Qe(b),S)};o=function(b,p,v,E){f=v,j(b?b+"{"+p.styles+"}":p.styles),E&&(w.inserted[p.name]=!0)}}var w={key:r,sheet:new Ge({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:o};return w.sheet.hydrate(c),w};function ht(e){for(var t=0,r,n=0,a=e.length;a>=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var _t={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},mt=/[A-Z]|^ms/g,pt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pe=function(t){return t.charCodeAt(1)===45},ve=function(t){return t!=null&&typeof t!="boolean"},ae=at(function(e){return Pe(e)?e:e.replace(mt,"-$&").toLowerCase()}),be=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(pt,function(n,a,s){return M={name:a,styles:s,next:M},a})}return _t[t]!==1&&!Pe(t)&&typeof r=="number"&&r!==0?r+"px":r};function J(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var a=r;if(a.anim===1)return M={name:a.name,styles:a.styles,next:M},a.name;var s=r;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)M={name:i.name,styles:i.styles,next:M},i=i.next;var c=s.styles+";";return c}return gt(e,t,r)}}var o=r;if(t==null)return o;var u=t[o];return u!==void 0?u:o}function gt(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=J(e,t,r[a])+";";else for(var s in r){var i=r[s];if(typeof i!="object"){var c=i;t!=null&&t[c]!==void 0?n+=s+"{"+t[c]+"}":ve(c)&&(n+=ae(s)+":"+be(s,c)+";")}else if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var o=0;o<i.length;o++)ve(i[o])&&(n+=ae(s)+":"+be(s,i[o])+";");else{var u=J(e,t,i);switch(s){case"animation":case"animationName":{n+=ae(s)+":"+u+";";break}default:n+=s+"{"+u+"}"}}}return n}var ye=/label:\s*([^\s;{]+)\s*(;|$)/g,M;function se(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,a="";M=void 0;var s=e[0];if(s==null||s.raw===void 0)n=!1,a+=J(r,t,s);else{var i=s;a+=i[0]}for(var c=1;c<e.length;c++)if(a+=J(r,t,e[c]),n){var o=s;a+=o[c]}ye.lastIndex=0;for(var u="",f;(f=ye.exec(a))!==null;)u+="-"+f[1];var h=ht(a)+u;return{name:h,styles:a,next:M}}function Re(e,t,r){var n="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(n+=a+" ")}),n}var vt=function(t,r,n){var a=t.key+"-"+r.name;t.registered[a]===void 0&&(t.registered[a]=r.styles)},bt=function(t,r,n){vt(t,r);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+a:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function we(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function xe(e,t,r){var n=[],a=Re(e,n,r);return n.length<2?r:a+t(n)}var yt=function(t){var r=dt(t);r.sheet.speedy=function(c){this.isSpeedy=c},r.compat=!0;var n=function(){for(var o=arguments.length,u=new Array(o),f=0;f<o;f++)u[f]=arguments[f];var h=se(u,r.registered,void 0);return bt(r,h),r.key+"-"+h.name},a=function(){for(var o=arguments.length,u=new Array(o),f=0;f<o;f++)u[f]=arguments[f];var h=se(u,r.registered),S="animation-"+h.name;return we(r,{name:h.name,styles:"@keyframes "+S+"{"+h.styles+"}"}),S},s=function(){for(var o=arguments.length,u=new Array(o),f=0;f<o;f++)u[f]=arguments[f];var h=se(u,r.registered);we(r,h)},i=function(){for(var o=arguments.length,u=new Array(o),f=0;f<o;f++)u[f]=arguments[f];return xe(r.registered,n,wt(u))};return{css:n,cx:i,injectGlobal:s,keyframes:a,hydrate:function(o){o.forEach(function(u){r.inserted[u]=!0})},flush:function(){r.registered={},r.inserted={},r.sheet.flush()},sheet:r.sheet,cache:r,getRegisteredStyles:Re.bind(null,r.registered),merge:xe.bind(null,r.registered,n)}},wt=function e(t){for(var r="",n=0;n<t.length;n++){var a=t[n];if(a!=null){var s=void 0;switch(typeof a){case"boolean":break;case"object":{if(Array.isArray(a))s=e(a);else{s="";for(var i in a)a[i]&&i&&(s&&(s+=" "),s+=i)}break}default:s=a}s&&(r&&(r+=" "),r+=s)}}return r},Me=yt({key:"css"}),xt=Me.cx,Te=Me.css;const St=e=>{let t;e.center?t="center":e.left?t="left":e.right&&(t="right");let r;return e.uppercase?r="uppercase":e.lowercase?r="lowercase":e.capitalize&&(r="capitalize"),Te({marginTop:e.mt,marginBottom:e.mb,flex:e.flex,cursor:e.cursor,wordBreak:e.wordBreak,whiteSpace:e.whiteSpace,textOverflow:e.textOverflow,textDecoration:e.decoration,textAlign:t,textTransform:r,color:e.color})},Ct="_primary_13825_8",kt="_secondary_13825_12",$t="_tertiary_13825_16",Et="_positive_13825_20",At="_negative_13825_24",Ot="_warning_13825_28",jt="_accent_13825_32",zt="_inverse_13825_36",Pt="_text_13825_111",Rt="_regular_13825_117",Mt="_medium_13825_121",Tt="_semibold_13825_125",Nt="_bold_13825_129",Z={primary:Ct,secondary:kt,tertiary:$t,positive:Et,negative:At,warning:Ot,accent:jt,inverse:zt,"title-1":"_title-1_13825_41","title-2":"_title-2_13825_51","title-3":"_title-3_13825_61","headline-1":"_headline-1_13825_76","headline-2":"_headline-2_13825_81","headline-3":"_headline-3_13825_86","body-1":"_body-1_13825_91","body-2":"_body-2_13825_96","caption-1":"_caption-1_13825_101","caption-2":"_caption-2_13825_106",text:Pt,regular:Rt,medium:Mt,semibold:Tt,bold:Nt},Q=fe.forwardRef((e,t)=>{const{children:r,className:n,variant:a="body-1",fontWeight:s="medium",tag:i="p",colorName:c="primary",style:o,clickOpacity:u=.5,opacityDuration:f=200,onClick:h,...S}=e,[j,w]=fe.useState(!1),_=!!h,b=()=>_&&w(!0),p=()=>_&&w(!1),v=i,E=_?Te({opacity:j?u:1,transition:`opacity ${f}ms ease`}):"";return C.jsx(v,{ref:t,...S,className:xt(Z.text,Z[a],Z[s],Z[c],St(e),E,n),style:o,onClick:h,onMouseDown:b,onMouseUp:p,onMouseLeave:p,onTouchStart:b,onTouchEnd:p,role:_?"button":void 0,tabIndex:_?0:void 0,children:r})});Q.displayName="Text";function Lt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ie={exports:{}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */var p;function C(){return p||(p=1,function(t){(function(){var _={}.hasOwnProperty;function n(){for(var e="",r=0;r<arguments.length;r++){var o=arguments[r];o&&(e=a(e,s(o)))}return e}function s(e){if(typeof e=="string"||typeof e=="number")return e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var o in e)_.call(e,o)&&e[o]&&(r=a(r,o));return r}function a(e,r){return r?e?e+" "+r:e+r:e}t.exports?(n.default=n,t.exports=n):window.classNames=n})()}(v)),v.exports}var j=C();const d=z(j);function u(t,_,n,s=""){if(n)return t[`${_}_${n}${s}`]}function h(t,_,n){return u(t,_,n,"Size")}const k="_button_qsd3z_1",W="_button_primary_qsd3z_10",q="_button_secondary_qsd3z_13",E="_button_negative_qsd3z_16",M="_button_positive_qsd3z_19",N="_button_warning_qsd3z_22",O="_button_neutral_qsd3z_25",L="_button_mdSize_qsd3z_85",P="_button_smSize_qsd3z_95",B="_button_xsSize_qsd3z_105",g={button:k,button_primary:W,button_secondary:q,button_negative:E,button_positive:M,button_warning:N,button_neutral:O,button_mdSize:L,button_smSize:P,button_xsSize:B};function T({attr:t,children:_,className:n,type:s="button",color:a="primary",size:e="md",...r}){const o="button";return i.jsx("button",{...t,...r,type:s,className:d(g[o],n,h(g,o,e),u(g,o,a)),children:_})}const V="_avatar_1wk2b_1",$="_avatar_primary_1wk2b_15",A="_avatar_secondary_1wk2b_18",I="_avatar_negative_1wk2b_21",R="_avatar_positive_1wk2b_24",D="_avatar_warning_1wk2b_27",G="_avatar_lgSize_1wk2b_64",H="_avatar_mdSize_1wk2b_78",Z="_avatar_smSize_1wk2b_92",y={avatar:V,avatar_primary:$,avatar_secondary:A,avatar_negative:I,avatar_positive:R,avatar_warning:D,avatar_lgSize:G,avatar_mdSize:H,avatar_smSize:Z};function F({attr:t,children:_,className:n,color:s="primary",size:a="md",...e}){const r="avatar";return i.jsx("div",{...t,...e,className:d(y[r],n,h(y,r,a),u(y,r,s)),children:_})}const X=t=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("circle",{cx:12,cy:12,r:10,fill:"currentColor",fillOpacity:.15}),l.createElement("path",{d:"M16 9L10.0337 15L8 12.9548",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),w=t=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",fill:"currentColor",fillOpacity:.15}),l.createElement("path",{d:"M12 6C11.4477 6 11 6.44772 11 7V13C11 13.5523 11.4477 14 12 14C12.5523 14 13 13.5523 13 13V7C13 6.44772 12.5523 6 12 6Z",fill:"currentColor"}),l.createElement("path",{d:"M12 15C11.4477 15 11 15.4477 11 16V17C11 17.5523 11.4477 18 12 18C12.5523 18 13 17.5523 13 17V16C13 15.4477 12.5523 15 12 15Z",fill:"currentColor"})),J=t=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("circle",{cx:12,cy:12,r:10,fill:"currentColor",fillOpacity:.12}),l.createElement("path",{d:"M16 8L8 16M16 16L8 8",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})),K=t=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"black",...t},l.createElement("path",{d:"M12 2V22M19.0711 4.92893L4.92893 19.0711M22 12H2M19.0711 19.0711L4.92893 4.92893",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Q="_hint_1y0rh_1",U="_md_1y0rh_12",Y="_sm_1y0rh_17",tt="_icon_1y0rh_22",et="_content_1y0rh_33",nt="_title_1y0rh_39",_t="_title_mdSize_1y0rh_42",rt="_title_smSize_1y0rh_48",st="_subtitle_1y0rh_55",ot="_subtitle_mdSize_1y0rh_59",it="_subtitle_smSize_1y0rh_65",at="_disabled_1y0rh_72",ct="_warning_1y0rh_77",lt="_solid_1y0rh_77",dt="_negative_1y0rh_82",ut="_positive_1y0rh_87",mt="_accent_1y0rh_92",ht="_neutral_1y0rh_97",xt="_soft_1y0rh_102",c={hint:Q,md:U,sm:Y,icon:tt,content:et,title:nt,title_mdSize:_t,title_smSize:rt,subtitle:st,subtitle_mdSize:ot,subtitle_smSize:it,disabled:at,warning:ct,solid:lt,negative:dt,positive:ut,accent:mt,neutral:ht,soft:xt},vt={negative:i.jsx(J,{}),positive:i.jsx(X,{}),accent:i.jsx(w,{}),warning:i.jsx(w,{}),neutral:i.jsx(K,{})},gt=({title:t,subtitle:_,color:n="warning",variant:s="soft",size:a="md",icon:e,disabled:r=!1,className:o,style:m})=>{const b=e||vt[n];return i.jsxs("div",{className:d(c.hint,c[n],c[s],c[a],r&&c.disabled,o),style:m,"aria-disabled":r,children:[b&&i.jsx("span",{className:d(c.icon,c[n]),children:b}),i.jsxs("div",{className:c.content,children:[i.jsx("div",{className:d(c.title,h(c,"title",a)),children:t}),_&&i.jsx("div",{className:d(c.subtitle,h(c,"subtitle",a)),children:_})]})]})};function yt(t,_,n){return u(t,_,n,"Weight")}const bt="_text_primary_dy5tw_1",pt="_text_secondary_dy5tw_4",wt="_text_tertiary_dy5tw_7",ft="_text_positive_dy5tw_10",St="_text_negative_dy5tw_13",zt="_text_warning_dy5tw_16",Ct="_text_accent_dy5tw_19",jt="_text_inverse_dy5tw_22",kt="_text_body1_dy5tw_25",Wt="_text_body2_dy5tw_31",qt="_text_caption1_dy5tw_37",Et="_text_caption2_dy5tw_43",Mt="_text_extraboldWeight_dy5tw_49",Nt="_text_boldWeight_dy5tw_52",Ot="_text_semiboldWeight_dy5tw_55",Lt="_text_mediumWeight_dy5tw_58",Pt="_text_regularWeight_dy5tw_61",Bt="_text_lightWeight_dy5tw_64",Tt="_text_extralightWeight_dy5tw_67",x={text_primary:bt,text_secondary:pt,text_tertiary:wt,text_positive:ft,text_negative:St,text_warning:zt,text_accent:Ct,text_inverse:jt,text_body1:kt,text_body2:Wt,text_caption1:qt,text_caption2:Et,text_extraboldWeight:Mt,text_boldWeight:Nt,text_semiboldWeight:Ot,text_mediumWeight:Lt,text_regularWeight:Pt,text_lightWeight:Bt,text_extralightWeight:Tt};function Vt({attr:t,children:_,className:n,color:s="primary",variant:a="body1",weight:e="regular",tag:r="p",...o}){const m="text";return i.jsx(r,{...t,...o,className:d(x[m],n,u(x,m,s),u(x,m,a),yt(x,m,e)),children:_})}const $t="_themeProviderScoped_18ok7_2",At={themeProviderScoped:$t};function It({className:t,children:_}){return i.jsx("div",{className:d(At.themeProviderScoped,t),children:_})}exports.Avatar=F;exports.Hint=gt;exports.IconButton=T;exports.Text=Vt;exports.ThemeProviderScoped=It;exports.getSizeClass=h;exports.getStyleClass=u;
5
+ */var Se;function It(){return Se||(Se=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",i=0;i<arguments.length;i++){var c=arguments[i];c&&(s=a(s,n(c)))}return s}function n(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return r.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var i="";for(var c in s)t.call(s,c)&&s[c]&&(i=a(i,c));return i}function a(s,i){return i?s?s+" "+i:s+i:s}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(ie)),ie.exports}var Gt=It();const N=Lt(Gt);function ne(e,t,r,n=""){if(r)return e[`${t}_${r}${n}`]}function D(e,t,r){return ne(e,t,r,"Size")}const Wt="_button_ke15b_8",Bt="_button_primary_ke15b_17",Vt="_button_secondary_ke15b_20",Dt="_button_negative_ke15b_23",qt="_button_positive_ke15b_26",Ft="_button_warning_ke15b_29",Ht="_button_neutral_ke15b_32",Zt="_button_mdSize_ke15b_92",Kt="_button_smSize_ke15b_102",Ut="_button_xsSize_ke15b_112",ce={button:Wt,button_primary:Bt,button_secondary:Vt,button_negative:Dt,button_positive:qt,button_warning:Ft,button_neutral:Ht,button_mdSize:Zt,button_smSize:Kt,button_xsSize:Ut};function Yt({attr:e,children:t,className:r,type:n="button",color:a="primary",size:s="md",...i}){const c="button";return C.jsx("button",{...e,...i,type:n,className:N(ce[c],r,D(ce,c,s),ne(ce,c,a)),children:t})}const Xt="_avatar_1gzg8_8",Jt="_avatar_primary_1gzg8_22",Qt="_avatar_secondary_1gzg8_25",er="_avatar_negative_1gzg8_28",tr="_avatar_positive_1gzg8_31",rr="_avatar_warning_1gzg8_34",nr="_avatar_lgSize_1gzg8_71",ar="_avatar_mdSize_1gzg8_83",sr="_avatar_smSize_1gzg8_95",oe={avatar:Xt,avatar_primary:Jt,avatar_secondary:Qt,avatar_negative:er,avatar_positive:tr,avatar_warning:rr,avatar_lgSize:nr,avatar_mdSize:ar,avatar_smSize:sr};function ir({attr:e,children:t,className:r,color:n="primary",size:a="md",...s}){const i="avatar";return C.jsx("div",{...e,...s,className:N(oe[i],r,D(oe,i,a),ne(oe,i,n)),children:t})}const cr=e=>O.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},O.createElement("circle",{cx:12,cy:12,r:10,fill:"currentColor",fillOpacity:.15}),O.createElement("path",{d:"M16 9L10.0337 15L8 12.9548",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Ce=e=>O.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},O.createElement("path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",fill:"currentColor",fillOpacity:.15}),O.createElement("path",{d:"M12 6C11.4477 6 11 6.44772 11 7V13C11 13.5523 11.4477 14 12 14C12.5523 14 13 13.5523 13 13V7C13 6.44772 12.5523 6 12 6Z",fill:"currentColor"}),O.createElement("path",{d:"M12 15C11.4477 15 11 15.4477 11 16V17C11 17.5523 11.4477 18 12 18C12.5523 18 13 17.5523 13 17V16C13 15.4477 12.5523 15 12 15Z",fill:"currentColor"})),or=e=>O.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},O.createElement("circle",{cx:12,cy:12,r:10,fill:"currentColor",fillOpacity:.12}),O.createElement("path",{d:"M16 8L8 16M16 16L8 8",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})),fr=e=>O.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"black",...e},O.createElement("path",{d:"M12 2V22M19.0711 4.92893L4.92893 19.0711M22 12H2M19.0711 19.0711L4.92893 4.92893",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),ur="_hint_prca1_8",lr="_md_prca1_19",dr="_sm_prca1_24",hr="_icon_prca1_29",_r="_content_prca1_40",mr="_title_prca1_46",pr="_subtitle_prca1_50",gr="_disabled_prca1_55",vr="_warning_prca1_60",br="_solid_prca1_60",yr="_negative_prca1_65",wr="_positive_prca1_70",xr="_accent_prca1_75",Sr="_neutral_prca1_80",Cr="_soft_prca1_85",A={hint:ur,md:lr,sm:dr,icon:hr,content:_r,title:mr,subtitle:pr,disabled:gr,warning:vr,solid:br,negative:yr,positive:wr,accent:xr,neutral:Sr,soft:Cr},kr={negative:C.jsx(or,{}),positive:C.jsx(cr,{}),accent:C.jsx(Ce,{}),warning:C.jsx(Ce,{}),neutral:C.jsx(fr,{})},$r=({title:e,subtitle:t,color:r="warning",variant:n="soft",size:a="md",icon:s,disabled:i=!1,className:c,style:o})=>{const u=s||kr[r];return C.jsxs("div",{className:N(A.hint,A[r],A[n],A[a],i&&A.disabled,c),style:o,"aria-disabled":i,children:[u&&C.jsx("span",{className:N(A.icon,A[r]),children:u}),C.jsxs("div",{className:A.content,children:[e&&C.jsx(Q,{className:N(A.title,D(A,"title",a)),variant:a==="md"?"body-1":"caption-2",children:e}),t&&C.jsx(Q,{className:N(A.subtitle,D(A,"subtitle",a)),variant:a==="md"?"body-2":"caption-1",children:t})]})]})},Er="_themeProviderScoped_w4jta_8",Ar={themeProviderScoped:Er};function Or({className:e,children:t,theme:r}){return C.jsx("div",{className:N(Ar.themeProviderScoped,e),"data-theme":r,children:t})}exports.Avatar=ir;exports.Hint=$r;exports.IconButton=Yt;exports.Text=Q;exports.ThemeProviderScoped=Or;exports.getSizeClass=D;exports.getStyleClass=ne;
6
6
  //# sourceMappingURL=ui-kit.cjs.js.map