@prom-ui/core 1.0.0-alpha.1 → 1.0.0-alpha.3

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 (101) hide show
  1. package/Avatar/package.json +1 -1
  2. package/Backdrop/package.json +1 -1
  3. package/Body/package.json +1 -1
  4. package/BodyProvider/package.json +1 -1
  5. package/Box/cjs/index.development.js +0 -1
  6. package/Box/cjs/index.development.v2.js +0 -1
  7. package/Box/index.d.ts +2 -3
  8. package/Box/package.json +1 -1
  9. package/Button/index.d.ts +2 -3
  10. package/Button/package.json +1 -1
  11. package/ButtonPageUp/index.d.ts +2 -2
  12. package/ButtonPageUp/package.json +1 -1
  13. package/Checkbox/package.json +1 -1
  14. package/Flex/package.json +1 -1
  15. package/Grid/package.json +1 -1
  16. package/Icon/cjs/index.development.js +0 -1
  17. package/Icon/cjs/index.development.v2.js +0 -1
  18. package/Icon/index.d.ts +2 -3
  19. package/Icon/package.json +1 -1
  20. package/Image/cjs/index.development.js +3 -5
  21. package/Image/cjs/index.development.v2.js +3 -5
  22. package/Image/cjs/index.production.js +1 -1
  23. package/Image/cjs/index.production.v2.js +1 -1
  24. package/Image/index.d.ts +42 -2
  25. package/Image/package.json +1 -1
  26. package/ImageEmoji/cjs/index.development.js +2 -0
  27. package/ImageEmoji/cjs/index.development.v2.js +2 -0
  28. package/ImageEmoji/index.d.ts +6 -8
  29. package/ImageEmoji/package.json +1 -1
  30. package/Input/cjs/index.development.js +0 -1
  31. package/Input/cjs/index.development.v2.js +0 -1
  32. package/Input/index.d.ts +2 -3
  33. package/Input/package.json +1 -1
  34. package/InputField/cjs/index.development.js +0 -1
  35. package/InputField/cjs/index.development.v2.js +0 -1
  36. package/InputField/index.d.ts +3 -2
  37. package/InputField/package.json +1 -1
  38. package/KeyPress/package.json +1 -1
  39. package/Line/cjs/index.development.js +3 -5
  40. package/Line/cjs/index.development.v2.js +3 -5
  41. package/Line/cjs/index.production.js +1 -1
  42. package/Line/cjs/index.production.v2.js +1 -1
  43. package/Line/index.d.ts +13 -2
  44. package/Line/package.json +1 -1
  45. package/Link/cjs/index.development.js +0 -1
  46. package/Link/cjs/index.development.v2.js +0 -1
  47. package/Link/index.d.ts +3 -4
  48. package/Link/package.json +1 -1
  49. package/List/package.json +1 -1
  50. package/Media/package.json +1 -1
  51. package/OutsideClick/package.json +1 -1
  52. package/Overlay/package.json +1 -1
  53. package/Picture/package.json +1 -1
  54. package/PortableOverlay/package.json +1 -1
  55. package/Portal/package.json +1 -1
  56. package/QRCode/package.json +1 -1
  57. package/Rating/package.json +1 -1
  58. package/SafeQuery/package.json +1 -1
  59. package/Scroll/cjs/index.development.js +4 -5
  60. package/Scroll/cjs/index.development.v2.js +4 -5
  61. package/Scroll/cjs/index.production.js +1 -1
  62. package/Scroll/cjs/index.production.v2.js +1 -1
  63. package/Scroll/index.d.ts +16 -13
  64. package/Scroll/package.json +1 -1
  65. package/ScrollControls/package.json +1 -1
  66. package/SideOverlay/package.json +1 -1
  67. package/SimpleSlider/package.json +1 -1
  68. package/Skeleton/cjs/index.development.js +6 -8
  69. package/Skeleton/cjs/index.development.v2.js +6 -8
  70. package/Skeleton/cjs/index.production.js +1 -1
  71. package/Skeleton/cjs/index.production.v2.js +1 -1
  72. package/Skeleton/cjs/style.development.css +1 -1
  73. package/Skeleton/cjs/style.development.v2.css +1 -1
  74. package/Skeleton/cjs/style.production.css +1 -1
  75. package/Skeleton/cjs/style.production.v2.css +1 -1
  76. package/Skeleton/index.d.ts +30 -9
  77. package/Skeleton/package.json +1 -1
  78. package/Spinner/cjs/index.development.js +22 -8
  79. package/Spinner/cjs/index.development.v2.js +22 -8
  80. package/Spinner/cjs/index.production.js +1 -1
  81. package/Spinner/cjs/index.production.v2.js +1 -1
  82. package/Spinner/index.d.ts +21 -7
  83. package/Spinner/package.json +1 -1
  84. package/Text/cjs/index.development.js +0 -1
  85. package/Text/cjs/index.development.v2.js +0 -1
  86. package/Text/index.d.ts +2 -3
  87. package/Text/package.json +1 -1
  88. package/TextEmoji/index.d.ts +6 -4
  89. package/TextEmoji/package.json +1 -1
  90. package/Tooltip/package.json +1 -1
  91. package/Tumbler/package.json +1 -1
  92. package/base/types.d.ts +58 -0
  93. package/package.json +2 -2
  94. package/useDebounce/package.json +1 -1
  95. package/useIsMounted/package.json +1 -1
  96. package/useKeyPress/package.json +1 -1
  97. package/useMedia/package.json +1 -1
  98. package/useOutsideClick/package.json +1 -1
  99. package/usePortal/package.json +1 -1
  100. package/useScrollPosition/package.json +1 -1
  101. package/base/evokit.d.ts +0 -36
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("evokit");function n(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var o=n(e),r=function(){return r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)};var a=t.createBlock("div","skeleton",["align","theme","variant","opacity"],{css:{"ek-skeleton":"YQ77B","ek-skeleton_theme_grey":"fLU-I","skeleton-keyframes-wave":"tx4t3","ek-skeleton_theme_black-100":"_7Lfmq","ek-skeleton_theme_white":"HJ4sO","ek-skeleton_variant_text":"_8cqBE","ek-skeleton_variant_circle":"-y8Ac","ek-skeleton_variant_square":"ER7Aa","ek-skeleton_variant_rect":"PqK20","ek-skeleton_align_left":"vFpty","ek-skeleton_align_center":"xLcUn","ek-skeleton_align_right":"YXQvi","ek-skeleton_opacity_0":"hV3fo","ek-skeleton_opacity_10":"SWeYg","ek-skeleton_opacity_20":"uh-KW","ek-skeleton_opacity_30":"o-fsf","ek-skeleton_opacity_40":"yQNnj","ek-skeleton_opacity_50":"_8ChyF","ek-skeleton_opacity_60":"jPfCj","ek-skeleton_opacity_70":"yi2qY","ek-skeleton_opacity_80":"kUBbU","ek-skeleton_opacity_90":"C0qIh","ek-skeleton_opacity_100":"PYOu-"}}),i=o.forwardRef((function(e,t){var n=e.align,i=void 0===n?"left":n,l=e.height,c=e.opacity,k=e.style,s=e.theme,_=void 0===s?"grey":s,y=e.variant,f=void 0===y?"text":y,p=e.width,u=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["align","height","opacity","style","theme","variant","width"]),h=o.useMemo((function(){return r({height:l,width:p},k)}),[l,p,k]);return o.createElement(a,r({"skeleton-align":i,"skeleton-theme":_,"skeleton-variant":f,"skeleton-opacity":c,style:h},u,{ref:t}))}));exports.Skeleton=i,require("./style.production.css");
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("evokit");function n(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var o=n(e),r=function(){return r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)};var a=t.createBlock("div","skeleton",["align","theme","variant","opacity"],{css:{"ek-skeleton":"YQ77B","ek-skeleton_theme_grey":"fLU-I","skeleton-keyframes-wave":"tx4t3","ek-skeleton_theme_black-100":"_7Lfmq","ek-skeleton_theme_white":"HJ4sO","ek-skeleton_variant_text":"_8cqBE","ek-skeleton_variant_circle":"-y8Ac","ek-skeleton_variant_square":"ER7Aa","ek-skeleton_align_left":"vFpty","ek-skeleton_align_center":"xLcUn","ek-skeleton_align_right":"YXQvi","ek-skeleton_opacity_0":"hV3fo","ek-skeleton_opacity_10":"SWeYg","ek-skeleton_opacity_20":"uh-KW","ek-skeleton_opacity_30":"o-fsf","ek-skeleton_opacity_40":"yQNnj","ek-skeleton_opacity_50":"_8ChyF","ek-skeleton_opacity_60":"jPfCj","ek-skeleton_opacity_70":"yi2qY","ek-skeleton_opacity_80":"kUBbU","ek-skeleton_opacity_90":"C0qIh","ek-skeleton_opacity_100":"PYOu-"}}),i=o.forwardRef((function(e,t){var n=e.align,i=void 0===n?"left":n,l=e.height,c=e.opacity,k=e.style,s=e.theme,y=void 0===s?"grey":s,_=e.variant,p=void 0===_?"text":_,f=e.width,u=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["align","height","opacity","style","theme","variant","width"]);return o.createElement(a,r({"skeleton-align":i,"skeleton-theme":y,"skeleton-variant":p,"skeleton-opacity":c,style:r({height:l,width:f},k)},u,{ref:t}))}));i.displayName="Skeleton",exports.Skeleton=i,require("./style.production.css");
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("evokit");function r(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var n=r(e),o=function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};var a=t.createBlock("div","skeleton",["align","theme","variant","opacity"],{css:{"ek-skeleton":"k6rop","ek-skeleton_theme_grey":"vl5ae","skeleton-keyframes-wave":"kzrO0","ek-skeleton_theme_black-100":"eJWcz","ek-skeleton_theme_white":"PCwFG","ek-skeleton_variant_text":"NbT89","ek-skeleton_variant_circle":"SlAh0","ek-skeleton_variant_square":"_7p339","ek-skeleton_variant_rect":"BP9h-","ek-skeleton_align_left":"TbAuG","ek-skeleton_align_center":"De09W","ek-skeleton_align_right":"C-QUn","ek-skeleton_opacity_0":"BV48x","ek-skeleton_opacity_10":"oVBvx","ek-skeleton_opacity_20":"F--5F","ek-skeleton_opacity_30":"rwtgY","ek-skeleton_opacity_40":"iR-d8","ek-skeleton_opacity_50":"r6goB","ek-skeleton_opacity_60":"-DW2y","ek-skeleton_opacity_70":"zqdBc","ek-skeleton_opacity_80":"Vc9gU","ek-skeleton_opacity_90":"t9rT-","ek-skeleton_opacity_100":"lw65w"}}),i=n.forwardRef((function(e,t){var r=e.align,i=void 0===r?"left":r,l=e.height,c=e.opacity,k=e.style,s=e.theme,_=void 0===s?"grey":s,p=e.variant,y=void 0===p?"text":p,u=e.width,f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["align","height","opacity","style","theme","variant","width"]),v=n.useMemo((function(){return o({height:l,width:u},k)}),[l,u,k]);return n.createElement(a,o({"skeleton-align":i,"skeleton-theme":_,"skeleton-variant":y,"skeleton-opacity":c,style:v},f,{ref:t}))}));exports.Skeleton=i,require("./style.production.v2.css");
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("evokit");function o(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(o){if("default"!==o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}})),t.default=e,Object.freeze(t)}var r=o(e),n=function(){return n=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},n.apply(this,arguments)};var a=t.createBlock("div","skeleton",["align","theme","variant","opacity"],{css:{"ek-skeleton":"k6rop","ek-skeleton_theme_grey":"vl5ae","skeleton-keyframes-wave":"kzrO0","ek-skeleton_theme_black-100":"eJWcz","ek-skeleton_theme_white":"PCwFG","ek-skeleton_variant_text":"NbT89","ek-skeleton_variant_circle":"SlAh0","ek-skeleton_variant_square":"_7p339","ek-skeleton_align_left":"TbAuG","ek-skeleton_align_center":"De09W","ek-skeleton_align_right":"C-QUn","ek-skeleton_opacity_0":"BV48x","ek-skeleton_opacity_10":"oVBvx","ek-skeleton_opacity_20":"F--5F","ek-skeleton_opacity_30":"rwtgY","ek-skeleton_opacity_40":"iR-d8","ek-skeleton_opacity_50":"r6goB","ek-skeleton_opacity_60":"-DW2y","ek-skeleton_opacity_70":"zqdBc","ek-skeleton_opacity_80":"Vc9gU","ek-skeleton_opacity_90":"t9rT-","ek-skeleton_opacity_100":"lw65w"}}),l=r.forwardRef((function(e,t){var o=e.align,l=void 0===o?"left":o,i=e.height,c=e.opacity,k=e.style,s=e.theme,_=void 0===s?"grey":s,p=e.variant,y=void 0===p?"text":p,f=e.width,u=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o}(e,["align","height","opacity","style","theme","variant","width"]);return r.createElement(a,n({"skeleton-align":l,"skeleton-theme":_,"skeleton-variant":y,"skeleton-opacity":c,style:n({height:i,width:f},k)},u,{ref:t}))}));l.displayName="Skeleton",exports.Skeleton=l,require("./style.production.v2.css");
@@ -1 +1 @@
1
- @keyframes Skeleton__skeleton-keyframes-wave___tx4t3{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}.Skeleton__ek-skeleton___YQ77B{display:block;clear:both;line-height:100%;border-radius:var(--pds-round-m);overflow:hidden;pointer-events:none;position:relative;transform:translate3d(0,0,0)}.Skeleton__ek-skeleton___YQ77B+.Skeleton__ek-skeleton___YQ77B{margin-top:var(--pds-spacing-s)}.Skeleton__ek-skeleton___YQ77B::after{position:absolute;left:0;top:0;width:100%;height:100%}.Skeleton__ek-skeleton___YQ77B::before{color:transparent}.Skeleton__ek-skeleton_theme_grey___fLU-I{background-color:var(--black-100)}.Skeleton__ek-skeleton_theme_grey___fLU-I::after{content:"";transform:translateX(-100%);will-change:transform;background-image:linear-gradient(to right,var(--black-100) 0%,var(--black-100) 20%,var(--black-50) 50%,var(--black-100) 80%,var(--black-100) 100%);animation:Skeleton__skeleton-keyframes-wave___tx4t3 1350ms linear infinite}.Skeleton__ek-skeleton_theme_black-100___7Lfmq{background:var(--black-100)}.Skeleton__ek-skeleton_theme_white___HJ4sO{background:var(--white)}.Skeleton__ek-skeleton_variant_text___8cqBE::before{content:" "}.Skeleton__ek-skeleton_variant_circle___-y8Ac{border-radius:50%}.Skeleton__ek-skeleton_variant_circle___-y8Ac::before,.Skeleton__ek-skeleton_variant_square___ER7Aa::before{content:"";display:block;padding-bottom:100%}.Skeleton__ek-skeleton_variant_rect___PqK20{border-radius:0}.Skeleton__ek-skeleton_align_left___vFpty{margin-right:auto}.Skeleton__ek-skeleton_align_center___xLcUn{margin-left:auto;margin-right:auto}.Skeleton__ek-skeleton_align_right___YXQvi{margin-left:auto}.Skeleton__ek-skeleton_opacity_0___hV3fo{opacity:0}.Skeleton__ek-skeleton_opacity_10___SWeYg{opacity:.1}.Skeleton__ek-skeleton_opacity_20___uh-KW{opacity:.2}.Skeleton__ek-skeleton_opacity_30___o-fsf{opacity:.3}.Skeleton__ek-skeleton_opacity_40___yQNnj{opacity:.4}.Skeleton__ek-skeleton_opacity_50___8ChyF{opacity:.5}.Skeleton__ek-skeleton_opacity_60___jPfCj{opacity:.6}.Skeleton__ek-skeleton_opacity_70___yi2qY{opacity:.7}.Skeleton__ek-skeleton_opacity_80___kUBbU{opacity:.8}.Skeleton__ek-skeleton_opacity_90___C0qIh{opacity:.9}.Skeleton__ek-skeleton_opacity_100___PYOu-{opacity:1}
1
+ @keyframes Skeleton__skeleton-keyframes-wave___tx4t3{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}.Skeleton__ek-skeleton___YQ77B{display:block;clear:both;line-height:100%;border-radius:var(--pds-round-m);overflow:hidden;pointer-events:none;position:relative;transform:translate3d(0,0,0)}.Skeleton__ek-skeleton___YQ77B+.Skeleton__ek-skeleton___YQ77B{margin-top:var(--pds-spacing-s)}.Skeleton__ek-skeleton___YQ77B::after{position:absolute;left:0;top:0;width:100%;height:100%}.Skeleton__ek-skeleton___YQ77B::before{color:transparent}.Skeleton__ek-skeleton_theme_grey___fLU-I{background-color:var(--black-100)}.Skeleton__ek-skeleton_theme_grey___fLU-I::after{content:"";transform:translateX(-100%);will-change:transform;background-image:linear-gradient(to right,var(--black-100) 0%,var(--black-100) 20%,var(--black-50) 50%,var(--black-100) 80%,var(--black-100) 100%);animation:Skeleton__skeleton-keyframes-wave___tx4t3 1350ms linear infinite}.Skeleton__ek-skeleton_theme_black-100___7Lfmq{background:var(--black-100)}.Skeleton__ek-skeleton_theme_white___HJ4sO{background:var(--white)}.Skeleton__ek-skeleton_variant_text___8cqBE::before{content:" "}.Skeleton__ek-skeleton_variant_circle___-y8Ac{border-radius:50%}.Skeleton__ek-skeleton_variant_circle___-y8Ac::before,.Skeleton__ek-skeleton_variant_square___ER7Aa::before{content:"";display:block;padding-bottom:100%}.Skeleton__ek-skeleton_align_left___vFpty{margin-right:auto}.Skeleton__ek-skeleton_align_center___xLcUn{margin-left:auto;margin-right:auto}.Skeleton__ek-skeleton_align_right___YXQvi{margin-left:auto}.Skeleton__ek-skeleton_opacity_0___hV3fo{opacity:0}.Skeleton__ek-skeleton_opacity_10___SWeYg{opacity:.1}.Skeleton__ek-skeleton_opacity_20___uh-KW{opacity:.2}.Skeleton__ek-skeleton_opacity_30___o-fsf{opacity:.3}.Skeleton__ek-skeleton_opacity_40___yQNnj{opacity:.4}.Skeleton__ek-skeleton_opacity_50___8ChyF{opacity:.5}.Skeleton__ek-skeleton_opacity_60___jPfCj{opacity:.6}.Skeleton__ek-skeleton_opacity_70___yi2qY{opacity:.7}.Skeleton__ek-skeleton_opacity_80___kUBbU{opacity:.8}.Skeleton__ek-skeleton_opacity_90___C0qIh{opacity:.9}.Skeleton__ek-skeleton_opacity_100___PYOu-{opacity:1}
@@ -1 +1 @@
1
- @keyframes Skeleton__skeleton-keyframes-wave___kzrO0{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}.Skeleton__ek-skeleton___k6rop{display:block;clear:both;line-height:100%;border-radius:var(--pds-round-m);overflow:hidden;pointer-events:none;position:relative;transform:translate3d(0,0,0)}.Skeleton__ek-skeleton___k6rop+.Skeleton__ek-skeleton___k6rop{margin-top:var(--pds-spacing-s)}.Skeleton__ek-skeleton___k6rop::after{position:absolute;left:0;top:0;width:100%;height:100%}.Skeleton__ek-skeleton___k6rop::before{color:transparent}.Skeleton__ek-skeleton_theme_grey___vl5ae{background-color:var(--black-100)}.Skeleton__ek-skeleton_theme_grey___vl5ae::after{content:"";transform:translateX(-100%);will-change:transform;background-image:linear-gradient(to right,var(--black-100) 0%,var(--black-100) 20%,var(--black-50) 50%,var(--black-100) 80%,var(--black-100) 100%);animation:Skeleton__skeleton-keyframes-wave___kzrO0 1350ms linear infinite}.Skeleton__ek-skeleton_theme_black-100___eJWcz{background:var(--black-100)}.Skeleton__ek-skeleton_theme_white___PCwFG{background:var(--white)}.Skeleton__ek-skeleton_variant_text___NbT89::before{content:" "}.Skeleton__ek-skeleton_variant_circle___SlAh0{border-radius:50%}.Skeleton__ek-skeleton_variant_circle___SlAh0::before,.Skeleton__ek-skeleton_variant_square___7p339::before{content:"";display:block;padding-bottom:100%}.Skeleton__ek-skeleton_variant_rect___BP9h-{border-radius:0}.Skeleton__ek-skeleton_align_left___TbAuG{margin-right:auto}.Skeleton__ek-skeleton_align_center___De09W{margin-left:auto;margin-right:auto}.Skeleton__ek-skeleton_align_right___C-QUn{margin-left:auto}.Skeleton__ek-skeleton_opacity_0___BV48x{opacity:0}.Skeleton__ek-skeleton_opacity_10___oVBvx{opacity:.1}.Skeleton__ek-skeleton_opacity_20___F--5F{opacity:.2}.Skeleton__ek-skeleton_opacity_30___rwtgY{opacity:.3}.Skeleton__ek-skeleton_opacity_40___iR-d8{opacity:.4}.Skeleton__ek-skeleton_opacity_50___r6goB{opacity:.5}.Skeleton__ek-skeleton_opacity_60___-DW2y{opacity:.6}.Skeleton__ek-skeleton_opacity_70___zqdBc{opacity:.7}.Skeleton__ek-skeleton_opacity_80___Vc9gU{opacity:.8}.Skeleton__ek-skeleton_opacity_90___t9rT-{opacity:.9}.Skeleton__ek-skeleton_opacity_100___lw65w{opacity:1}
1
+ @keyframes Skeleton__skeleton-keyframes-wave___kzrO0{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}.Skeleton__ek-skeleton___k6rop{display:block;clear:both;line-height:100%;border-radius:var(--pds-round-m);overflow:hidden;pointer-events:none;position:relative;transform:translate3d(0,0,0)}.Skeleton__ek-skeleton___k6rop+.Skeleton__ek-skeleton___k6rop{margin-top:var(--pds-spacing-s)}.Skeleton__ek-skeleton___k6rop::after{position:absolute;left:0;top:0;width:100%;height:100%}.Skeleton__ek-skeleton___k6rop::before{color:transparent}.Skeleton__ek-skeleton_theme_grey___vl5ae{background-color:var(--black-100)}.Skeleton__ek-skeleton_theme_grey___vl5ae::after{content:"";transform:translateX(-100%);will-change:transform;background-image:linear-gradient(to right,var(--black-100) 0%,var(--black-100) 20%,var(--black-50) 50%,var(--black-100) 80%,var(--black-100) 100%);animation:Skeleton__skeleton-keyframes-wave___kzrO0 1350ms linear infinite}.Skeleton__ek-skeleton_theme_black-100___eJWcz{background:var(--black-100)}.Skeleton__ek-skeleton_theme_white___PCwFG{background:var(--white)}.Skeleton__ek-skeleton_variant_text___NbT89::before{content:" "}.Skeleton__ek-skeleton_variant_circle___SlAh0{border-radius:50%}.Skeleton__ek-skeleton_variant_circle___SlAh0::before,.Skeleton__ek-skeleton_variant_square___7p339::before{content:"";display:block;padding-bottom:100%}.Skeleton__ek-skeleton_align_left___TbAuG{margin-right:auto}.Skeleton__ek-skeleton_align_center___De09W{margin-left:auto;margin-right:auto}.Skeleton__ek-skeleton_align_right___C-QUn{margin-left:auto}.Skeleton__ek-skeleton_opacity_0___BV48x{opacity:0}.Skeleton__ek-skeleton_opacity_10___oVBvx{opacity:.1}.Skeleton__ek-skeleton_opacity_20___F--5F{opacity:.2}.Skeleton__ek-skeleton_opacity_30___rwtgY{opacity:.3}.Skeleton__ek-skeleton_opacity_40___iR-d8{opacity:.4}.Skeleton__ek-skeleton_opacity_50___r6goB{opacity:.5}.Skeleton__ek-skeleton_opacity_60___-DW2y{opacity:.6}.Skeleton__ek-skeleton_opacity_70___zqdBc{opacity:.7}.Skeleton__ek-skeleton_opacity_80___Vc9gU{opacity:.8}.Skeleton__ek-skeleton_opacity_90___t9rT-{opacity:.9}.Skeleton__ek-skeleton_opacity_100___lw65w{opacity:1}
@@ -1 +1 @@
1
- @keyframes tx4t3{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}.YQ77B{display:block;clear:both;line-height:100%;border-radius:var(--pds-round-m);overflow:hidden;pointer-events:none;position:relative;transform:translate3d(0,0,0)}.YQ77B+.YQ77B{margin-top:var(--pds-spacing-s)}.YQ77B::after{position:absolute;left:0;top:0;width:100%;height:100%}.YQ77B::before{color:transparent}.fLU-I{background-color:var(--black-100)}.fLU-I::after{content:"";transform:translateX(-100%);will-change:transform;background-image:linear-gradient(to right,var(--black-100) 0%,var(--black-100) 20%,var(--black-50) 50%,var(--black-100) 80%,var(--black-100) 100%);animation:tx4t3 1350ms linear infinite}._7Lfmq{background:var(--black-100)}.HJ4sO{background:var(--white)}._8cqBE::before{content:" "}.-y8Ac{border-radius:50%}.-y8Ac::before,.ER7Aa::before{content:"";display:block;padding-bottom:100%}.PqK20{border-radius:0}.vFpty{margin-right:auto}.xLcUn{margin-left:auto;margin-right:auto}.YXQvi{margin-left:auto}.hV3fo{opacity:0}.SWeYg{opacity:.1}.uh-KW{opacity:.2}.o-fsf{opacity:.3}.yQNnj{opacity:.4}._8ChyF{opacity:.5}.jPfCj{opacity:.6}.yi2qY{opacity:.7}.kUBbU{opacity:.8}.C0qIh{opacity:.9}.PYOu-{opacity:1}
1
+ @keyframes tx4t3{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}.YQ77B{display:block;clear:both;line-height:100%;border-radius:var(--pds-round-m);overflow:hidden;pointer-events:none;position:relative;transform:translate3d(0,0,0)}.YQ77B+.YQ77B{margin-top:var(--pds-spacing-s)}.YQ77B::after{position:absolute;left:0;top:0;width:100%;height:100%}.YQ77B::before{color:transparent}.fLU-I{background-color:var(--black-100)}.fLU-I::after{content:"";transform:translateX(-100%);will-change:transform;background-image:linear-gradient(to right,var(--black-100) 0%,var(--black-100) 20%,var(--black-50) 50%,var(--black-100) 80%,var(--black-100) 100%);animation:tx4t3 1350ms linear infinite}._7Lfmq{background:var(--black-100)}.HJ4sO{background:var(--white)}._8cqBE::before{content:" "}.-y8Ac{border-radius:50%}.-y8Ac::before,.ER7Aa::before{content:"";display:block;padding-bottom:100%}.vFpty{margin-right:auto}.xLcUn{margin-left:auto;margin-right:auto}.YXQvi{margin-left:auto}.hV3fo{opacity:0}.SWeYg{opacity:.1}.uh-KW{opacity:.2}.o-fsf{opacity:.3}.yQNnj{opacity:.4}._8ChyF{opacity:.5}.jPfCj{opacity:.6}.yi2qY{opacity:.7}.kUBbU{opacity:.8}.C0qIh{opacity:.9}.PYOu-{opacity:1}
@@ -1 +1 @@
1
- @keyframes kzrO0{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}.k6rop{display:block;clear:both;line-height:100%;border-radius:var(--pds-round-m);overflow:hidden;pointer-events:none;position:relative;transform:translate3d(0,0,0)}.k6rop+.k6rop{margin-top:var(--pds-spacing-s)}.k6rop::after{position:absolute;left:0;top:0;width:100%;height:100%}.k6rop::before{color:transparent}.vl5ae{background-color:var(--black-100)}.vl5ae::after{content:"";transform:translateX(-100%);will-change:transform;background-image:linear-gradient(to right,var(--black-100) 0%,var(--black-100) 20%,var(--black-50) 50%,var(--black-100) 80%,var(--black-100) 100%);animation:kzrO0 1350ms linear infinite}.eJWcz{background:var(--black-100)}.PCwFG{background:var(--white)}.NbT89::before{content:" "}.SlAh0{border-radius:50%}.SlAh0::before,._7p339::before{content:"";display:block;padding-bottom:100%}.BP9h-{border-radius:0}.TbAuG{margin-right:auto}.De09W{margin-left:auto;margin-right:auto}.C-QUn{margin-left:auto}.BV48x{opacity:0}.oVBvx{opacity:.1}.F--5F{opacity:.2}.rwtgY{opacity:.3}.iR-d8{opacity:.4}.r6goB{opacity:.5}.-DW2y{opacity:.6}.zqdBc{opacity:.7}.Vc9gU{opacity:.8}.t9rT-{opacity:.9}.lw65w{opacity:1}
1
+ @keyframes kzrO0{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}.k6rop{display:block;clear:both;line-height:100%;border-radius:var(--pds-round-m);overflow:hidden;pointer-events:none;position:relative;transform:translate3d(0,0,0)}.k6rop+.k6rop{margin-top:var(--pds-spacing-s)}.k6rop::after{position:absolute;left:0;top:0;width:100%;height:100%}.k6rop::before{color:transparent}.vl5ae{background-color:var(--black-100)}.vl5ae::after{content:"";transform:translateX(-100%);will-change:transform;background-image:linear-gradient(to right,var(--black-100) 0%,var(--black-100) 20%,var(--black-50) 50%,var(--black-100) 80%,var(--black-100) 100%);animation:kzrO0 1350ms linear infinite}.eJWcz{background:var(--black-100)}.PCwFG{background:var(--white)}.NbT89::before{content:" "}.SlAh0{border-radius:50%}.SlAh0::before,._7p339::before{content:"";display:block;padding-bottom:100%}.TbAuG{margin-right:auto}.De09W{margin-left:auto;margin-right:auto}.C-QUn{margin-left:auto}.BV48x{opacity:0}.oVBvx{opacity:.1}.F--5F{opacity:.2}.rwtgY{opacity:.3}.iR-d8{opacity:.4}.r6goB{opacity:.5}.-DW2y{opacity:.6}.zqdBc{opacity:.7}.Vc9gU{opacity:.8}.t9rT-{opacity:.9}.lw65w{opacity:1}
@@ -1,16 +1,37 @@
1
1
  import * as React from 'react';
2
- export type SkeletonProps = React.ComponentPropsWithRef<'div'> & {
2
+ import type { EvokitProp } from '@prom-ui/core/base/types';
3
+ type SkeletonBlockProps = {
4
+ 'skeleton-align'?: EvokitProp<'left' | 'center' | 'right'>;
5
+ 'skeleton-theme'?: EvokitProp<'black-100' | 'grey' | 'white'>;
6
+ 'skeleton-variant'?: EvokitProp<'text' | 'circle' | 'square'>;
7
+ 'skeleton-opacity'?: EvokitProp<0 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100>;
8
+ };
9
+ export type SkeletonProps = React.ComponentPropsWithoutRef<'div'> & {
3
10
  /** Выравнивание */
4
- align?: string;
11
+ align?: SkeletonBlockProps['skeleton-align'];
12
+ /** Устанавливает прозрачность в % */
13
+ opacity?: SkeletonBlockProps['skeleton-opacity'];
14
+ /** Устанавливает тему */
15
+ theme?: SkeletonBlockProps['skeleton-theme'];
16
+ /** Вариант отображения */
17
+ variant?: SkeletonBlockProps['skeleton-variant'];
5
18
  /** Устанавливает высоту */
6
- height?: string | number | null;
19
+ height?: string | number;
7
20
  /** Устанавливает ширину */
8
- width?: string | number | null;
21
+ width?: string | number;
22
+ };
23
+ export declare const Skeleton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
24
+ /** Выравнивание */
25
+ align?: SkeletonBlockProps['skeleton-align'];
9
26
  /** Устанавливает прозрачность в % */
10
- opacity?: 0 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 | null;
27
+ opacity?: SkeletonBlockProps['skeleton-opacity'];
11
28
  /** Устанавливает тему */
12
- theme?: 'black-100' | 'grey' | 'white';
29
+ theme?: SkeletonBlockProps['skeleton-theme'];
13
30
  /** Вариант отображения */
14
- variant?: 'text' | 'circle' | 'square';
15
- };
16
- export declare const Skeleton: React.ForwardRefExoticComponent<Omit<SkeletonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
31
+ variant?: SkeletonBlockProps['skeleton-variant'];
32
+ /** Устанавливает высоту */
33
+ height?: string | number | undefined;
34
+ /** Устанавливает ширину */
35
+ width?: string | number | undefined;
36
+ } & React.RefAttributes<HTMLDivElement>>;
37
+ export {};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prom-ui/core/Skeleton",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.3",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -49,7 +49,19 @@ var __assign = function() {
49
49
  return t;
50
50
  };
51
51
  return __assign.apply(this, arguments);
52
- };
52
+ };
53
+
54
+ function __rest(s, e) {
55
+ var t = {};
56
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
57
+ t[p] = s[p];
58
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
59
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
60
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
61
+ t[p[i]] = s[p[i]];
62
+ }
63
+ return t;
64
+ }
53
65
 
54
66
  var css = {"ek-spinner":"Spinner__ek-spinner___K7r-c","rotate":"Spinner__rotate___aKoVD","ek-spinner__circle":"Spinner__ek-spinner__circle___a5Jex","dash":"Spinner__dash___bKr0a","ek-spinner_color_violet-500":"Spinner__ek-spinner_color_violet-500___9sMtP"};
55
67
 
@@ -59,14 +71,17 @@ var SpinnerBlock = evokit.createBlock('svg', 'spinner', ['color'], {
59
71
  var SpinnerCircleBlock = evokit.createBlock('circle', 'spinner__circle', [], {
60
72
  css: css
61
73
  });
62
- var defaultProps = {
63
- width: '1em',
64
- height: '1em'
65
- };
66
- var Spinner = React__namespace.forwardRef(function (props, ref) {
74
+ var Spinner = React__namespace.forwardRef(function (_a, ref) {
75
+ var _b = _a.width,
76
+ width = _b === void 0 ? '1em' : _b,
77
+ _c = _a.height,
78
+ height = _c === void 0 ? '1em' : _c,
79
+ props = __rest(_a, ["width", "height"]);
67
80
  return React__namespace.createElement(SpinnerBlock, __assign({
68
81
  ref: ref,
69
- role: 'progressbar'
82
+ role: 'progressbar',
83
+ width: width,
84
+ height: height
70
85
  }, props, {
71
86
  viewBox: '22 22 44 44'
72
87
  }), React__namespace.createElement(SpinnerCircleBlock, {
@@ -78,7 +93,6 @@ var Spinner = React__namespace.forwardRef(function (props, ref) {
78
93
  }));
79
94
  });
80
95
  Spinner.displayName = 'Spinner';
81
- Spinner.defaultProps = defaultProps;
82
96
 
83
97
  exports.Spinner = Spinner;
84
98
 
@@ -49,7 +49,19 @@ var __assign = function() {
49
49
  return t;
50
50
  };
51
51
  return __assign.apply(this, arguments);
52
- };
52
+ };
53
+
54
+ function __rest(s, e) {
55
+ var t = {};
56
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
57
+ t[p] = s[p];
58
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
59
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
60
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
61
+ t[p[i]] = s[p[i]];
62
+ }
63
+ return t;
64
+ }
53
65
 
54
66
  var css = {"ek-spinner":"Spinner__ek-spinner___rQ9Id","rotate":"Spinner__rotate___3-ehr","ek-spinner__circle":"Spinner__ek-spinner__circle___WUAuk","dash":"Spinner__dash___7Gan0","ek-spinner_color_violet-500":"Spinner__ek-spinner_color_violet-500___2-Ca6"};
55
67
 
@@ -59,14 +71,17 @@ var SpinnerBlock = evokit.createBlock('svg', 'spinner', ['color'], {
59
71
  var SpinnerCircleBlock = evokit.createBlock('circle', 'spinner__circle', [], {
60
72
  css: css
61
73
  });
62
- var defaultProps = {
63
- width: '1em',
64
- height: '1em'
65
- };
66
- var Spinner = React__namespace.forwardRef(function (props, ref) {
74
+ var Spinner = React__namespace.forwardRef(function (_a, ref) {
75
+ var _b = _a.width,
76
+ width = _b === void 0 ? '1em' : _b,
77
+ _c = _a.height,
78
+ height = _c === void 0 ? '1em' : _c,
79
+ props = __rest(_a, ["width", "height"]);
67
80
  return React__namespace.createElement(SpinnerBlock, __assign({
68
81
  ref: ref,
69
- role: 'progressbar'
82
+ role: 'progressbar',
83
+ width: width,
84
+ height: height
70
85
  }, props, {
71
86
  viewBox: '22 22 44 44'
72
87
  }), React__namespace.createElement(SpinnerCircleBlock, {
@@ -78,7 +93,6 @@ var Spinner = React__namespace.forwardRef(function (props, ref) {
78
93
  }));
79
94
  });
80
95
  Spinner.displayName = 'Spinner';
81
- Spinner.defaultProps = defaultProps;
82
96
 
83
97
  exports.Spinner = Spinner;
84
98
 
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("evokit");function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var n=t(e),c=function(){return c=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var c in r=arguments[t])Object.prototype.hasOwnProperty.call(r,c)&&(e[c]=r[c]);return e},c.apply(this,arguments)},o={"ek-spinner":"K7r-c",rotate:"aKoVD","ek-spinner__circle":"a5Jex",dash:"bKr0a","ek-spinner_color_violet-500":"_9sMtP"},i=r.createBlock("svg","spinner",["color"],{css:o}),a=r.createBlock("circle","spinner__circle",[],{css:o}),s=n.forwardRef((function(e,r){return n.createElement(i,c({ref:r,role:"progressbar"},e,{viewBox:"22 22 44 44"}),n.createElement(a,{fill:"none",cx:44,cy:44,r:20.2,strokeWidth:3.6}))}));s.displayName="Spinner",s.defaultProps={width:"1em",height:"1em"},exports.Spinner=s,require("./style.production.css");
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("evokit");function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var n=t(e),o=function(){return o=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},o.apply(this,arguments)};var c={"ek-spinner":"K7r-c",rotate:"aKoVD","ek-spinner__circle":"a5Jex",dash:"bKr0a","ek-spinner_color_violet-500":"_9sMtP"},i=r.createBlock("svg","spinner",["color"],{css:c}),a=r.createBlock("circle","spinner__circle",[],{css:c}),l=n.forwardRef((function(e,r){var t=e.width,c=void 0===t?"1em":t,l=e.height,s=void 0===l?"1em":l,p=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]])}return t}(e,["width","height"]);return n.createElement(i,o({ref:r,role:"progressbar",width:c,height:s},p,{viewBox:"22 22 44 44"}),n.createElement(a,{fill:"none",cx:44,cy:44,r:20.2,strokeWidth:3.6}))}));l.displayName="Spinner",exports.Spinner=l,require("./style.production.css");
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("evokit");function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var n=t(e),c=function(){return c=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var c in r=arguments[t])Object.prototype.hasOwnProperty.call(r,c)&&(e[c]=r[c]);return e},c.apply(this,arguments)},o={"ek-spinner":"rQ9Id",rotate:"_3-ehr","ek-spinner__circle":"WUAuk",dash:"_7Gan0","ek-spinner_color_violet-500":"_2-Ca6"},i=r.createBlock("svg","spinner",["color"],{css:o}),a=r.createBlock("circle","spinner__circle",[],{css:o}),s=n.forwardRef((function(e,r){return n.createElement(i,c({ref:r,role:"progressbar"},e,{viewBox:"22 22 44 44"}),n.createElement(a,{fill:"none",cx:44,cy:44,r:20.2,strokeWidth:3.6}))}));s.displayName="Spinner",s.defaultProps={width:"1em",height:"1em"},exports.Spinner=s,require("./style.production.v2.css");
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("evokit");function t(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var n=t(e),o=function(){return o=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},o.apply(this,arguments)};var i={"ek-spinner":"rQ9Id",rotate:"_3-ehr","ek-spinner__circle":"WUAuk",dash:"_7Gan0","ek-spinner_color_violet-500":"_2-Ca6"},c=r.createBlock("svg","spinner",["color"],{css:i}),a=r.createBlock("circle","spinner__circle",[],{css:i}),l=n.forwardRef((function(e,r){var t=e.width,i=void 0===t?"1em":t,l=e.height,s=void 0===l?"1em":l,p=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]])}return t}(e,["width","height"]);return n.createElement(c,o({ref:r,role:"progressbar",width:i,height:s},p,{viewBox:"22 22 44 44"}),n.createElement(a,{fill:"none",cx:44,cy:44,r:20.2,strokeWidth:3.6}))}));l.displayName="Spinner",exports.Spinner=l,require("./style.production.v2.css");
@@ -1,15 +1,29 @@
1
1
  import * as React from 'react';
2
- export type SpinnerProps = React.ComponentPropsWithRef<'svg'> & {
2
+ import type { EvokitProp } from '@prom-ui/core/base/types';
3
+ type SpinnerBlockProps = {
4
+ /** Цвет */
5
+ 'spinner-color'?: EvokitProp<'violet-500'>;
6
+ };
7
+ export type SpinnerProps = React.ComponentPropsWithoutRef<'svg'> & SpinnerBlockProps & {
3
8
  /** Ширина */
4
- width?: string | number;
9
+ width?: React.ComponentPropsWithRef<'svg'>['width'];
5
10
  /** Высота */
6
- height?: string | number;
7
- /** Цвет */
8
- 'spinner-color'?: 'violet-500';
11
+ height?: React.ComponentPropsWithRef<'svg'>['height'];
9
12
  /**
10
13
  * @ignore
11
14
  * HIT FIX property 'fr' is missing in type '{}' but required in type
12
15
  * */
13
- fr?: string | number;
16
+ fr?: React.ComponentPropsWithRef<'svg'>['fr'];
14
17
  };
15
- export declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<HTMLOrSVGElement>>;
18
+ export declare const Spinner: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & SpinnerBlockProps & {
19
+ /** Ширина */
20
+ width?: React.ComponentPropsWithRef<'svg'>['width'];
21
+ /** Высота */
22
+ height?: React.ComponentPropsWithRef<'svg'>['height'];
23
+ /**
24
+ * @ignore
25
+ * HIT FIX property 'fr' is missing in type '{}' but required in type
26
+ * */
27
+ fr?: React.ComponentPropsWithRef<'svg'>['fr'];
28
+ } & React.RefAttributes<SVGSVGElement>>;
29
+ export {};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prom-ui/core/Spinner",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.3",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -7,7 +7,6 @@ var evokitText = require('evokit-text');
7
7
  var css = {"ek-text":"Text__ek-text___3Trjq","ek-text_display_inline":"Text__ek-text_display_inline___hPK83","ek-text_display_none":"Text__ek-text_display_none___EpkgL","ek-text_size_none":"Text__ek-text_size_none___3fCio","ek-text_size_inherit":"Text__ek-text_size_inherit___GeUFz","ek-text_size_small":"Text__ek-text_size_small___IfSYo","ek-text_size_default":"Text__ek-text_size_default___snf--","ek-text_size_big":"Text__ek-text_size_big___R2ynx","ek-text_size_h1":"Text__ek-text_size_h1___RLQ4A","ek-text_size_h2":"Text__ek-text_size_h2___OAv5u","ek-text_size_h3":"Text__ek-text_size_h3___jF03G","ek-text_size_h4":"Text__ek-text_size_h4___vj3pM","ek-text_size_h5":"Text__ek-text_size_h5___aeJVe","ek-text_size_h6":"Text__ek-text_size_h6___P9by2","ek-text_weight_default":"Text__ek-text_weight_default___wrQRQ","ek-text_weight_thin":"Text__ek-text_weight_thin___pmZOp","ek-text_weight_light":"Text__ek-text_weight_light___vEbTA","ek-text_weight_medium":"Text__ek-text_weight_medium___gfDGa","ek-text_weight_bold":"Text__ek-text_weight_bold___F7Tdh","ek-text_weight_black":"Text__ek-text_weight_black___Llirb","ek-text_align_left":"Text__ek-text_align_left___gwkkx","ek-text_align_center":"Text__ek-text_align_center___od97W","ek-text_align_right":"Text__ek-text_align_right___PatyF","ek-text_align_justify":"Text__ek-text_align_justify___WNRHD","ek-text_valign_baseline":"Text__ek-text_valign_baseline___BFQkO","ek-text_valign_bottom":"Text__ek-text_valign_bottom___uoQE-","ek-text_valign_middle":"Text__ek-text_valign_middle___wL4cB","ek-text_valign_sub":"Text__ek-text_valign_sub___oQuQV","ek-text_valign_super":"Text__ek-text_valign_super___GM270","ek-text_valign_text-bottom":"Text__ek-text_valign_text-bottom___i3gPf","ek-text_valign_text-top":"Text__ek-text_valign_text-top___Y-R3w","ek-text_valign_top":"Text__ek-text_valign_top___NSQH0","ek-text_transform_none":"Text__ek-text_transform_none___ioMWl","ek-text_transform_capitalize":"Text__ek-text_transform_capitalize___-nH9C","ek-text_transform_lowercase":"Text__ek-text_transform_lowercase___pYEmk","ek-text_transform_uppercase":"Text__ek-text_transform_uppercase___Ptm6g","ek-text_style_italic":"Text__ek-text_style_italic___Y01G5","ek-text_style_strike":"Text__ek-text_style_strike___powM8","ek-text_style_underline":"Text__ek-text_style_underline___ECUz1","ek-text_style_overline":"Text__ek-text_style_overline___E4jPq","ek-text_lheight_default":"Text__ek-text_lheight_default___ic9SB","ek-text_lheight_medium":"Text__ek-text_lheight_medium___QrtcH","ek-text_lheight_large":"Text__ek-text_lheight_large___G5HaP","ek-text_wrap_normal":"Text__ek-text_wrap_normal___vN11O","ek-text_wrap_nowrap":"Text__ek-text_wrap_nowrap___hJTsv","ek-text_wrap_pre":"Text__ek-text_wrap_pre___qtOKJ","ek-text_wrap_pre-wrap":"Text__ek-text_wrap_pre-wrap___55qRX","ek-text_wrap_pre-line":"Text__ek-text_wrap_pre-line___z-RVa","ek-text_wrap_break":"Text__ek-text_wrap_break___htldP","ek-text_wrap_ellipsis":"Text__ek-text_wrap_ellipsis___aXB7S","ek-text_wrap_two-line":"Text__ek-text_wrap_two-line___7NHpZ","ek-text_wrap_three-line":"Text__ek-text_wrap_three-line___SCVcX","ek-text_display_inline@small":"Text__ek-text_display_inline--small___tf5qK","ek-text_display_none@small":"Text__ek-text_display_none--small___QClAg","ek-text_size_none@small":"Text__ek-text_size_none--small___iNBWs","ek-text_size_inherit@small":"Text__ek-text_size_inherit--small___SleAe","ek-text_size_small@small":"Text__ek-text_size_small--small___JLdX7","ek-text_size_default@small":"Text__ek-text_size_default--small___lpjy2","ek-text_size_big@small":"Text__ek-text_size_big--small___tyFZq","ek-text_size_h1@small":"Text__ek-text_size_h1--small___bTc9i","ek-text_size_h2@small":"Text__ek-text_size_h2--small___fVsfH","ek-text_size_h3@small":"Text__ek-text_size_h3--small___9bupj","ek-text_size_h4@small":"Text__ek-text_size_h4--small___RLAjj","ek-text_size_h5@small":"Text__ek-text_size_h5--small___MSeBt","ek-text_size_h6@small":"Text__ek-text_size_h6--small___DGRDV","ek-text_weight_default@small":"Text__ek-text_weight_default--small___7u9ww","ek-text_weight_thin@small":"Text__ek-text_weight_thin--small___f3E1Z","ek-text_weight_light@small":"Text__ek-text_weight_light--small___UgVat","ek-text_weight_medium@small":"Text__ek-text_weight_medium--small___GhR2r","ek-text_weight_bold@small":"Text__ek-text_weight_bold--small___fdZOu","ek-text_weight_black@small":"Text__ek-text_weight_black--small___Txf2-","ek-text_align_left@small":"Text__ek-text_align_left--small___MOcbA","ek-text_align_center@small":"Text__ek-text_align_center--small___NDoRI","ek-text_align_right@small":"Text__ek-text_align_right--small___ertsn","ek-text_align_justify@small":"Text__ek-text_align_justify--small___VXEjp","ek-text_valign_baseline@small":"Text__ek-text_valign_baseline--small___NFaJ5","ek-text_valign_bottom@small":"Text__ek-text_valign_bottom--small___n-ZM1","ek-text_valign_middle@small":"Text__ek-text_valign_middle--small___1o-f9","ek-text_valign_sub@small":"Text__ek-text_valign_sub--small___7vrZ5","ek-text_valign_super@small":"Text__ek-text_valign_super--small___98wkH","ek-text_valign_text-bottom@small":"Text__ek-text_valign_text-bottom--small___x6B2v","ek-text_valign_text-top@small":"Text__ek-text_valign_text-top--small___LfpH0","ek-text_valign_top@small":"Text__ek-text_valign_top--small___kBQTl","ek-text_transform_none@small":"Text__ek-text_transform_none--small___lNIlb","ek-text_transform_capitalize@small":"Text__ek-text_transform_capitalize--small___wM1eM","ek-text_transform_lowercase@small":"Text__ek-text_transform_lowercase--small___bjZhn","ek-text_transform_uppercase@small":"Text__ek-text_transform_uppercase--small___QcGz5","ek-text_style_italic@small":"Text__ek-text_style_italic--small___RLkz-","ek-text_style_strike@small":"Text__ek-text_style_strike--small___--sCr","ek-text_style_underline@small":"Text__ek-text_style_underline--small___LXQS8","ek-text_style_overline@small":"Text__ek-text_style_overline--small___GNoIB","ek-text_lheight_default@small":"Text__ek-text_lheight_default--small___1W3d2","ek-text_lheight_medium@small":"Text__ek-text_lheight_medium--small___cZ7Yw","ek-text_lheight_large@small":"Text__ek-text_lheight_large--small___Q69Gt","ek-text_wrap_normal@small":"Text__ek-text_wrap_normal--small___OCeTY","ek-text_wrap_nowrap@small":"Text__ek-text_wrap_nowrap--small___feATc","ek-text_wrap_pre@small":"Text__ek-text_wrap_pre--small___VAue2","ek-text_wrap_pre-wrap@small":"Text__ek-text_wrap_pre-wrap--small___CrynB","ek-text_wrap_pre-line@small":"Text__ek-text_wrap_pre-line--small___2Zets","ek-text_wrap_break@small":"Text__ek-text_wrap_break--small___C6739","ek-text_wrap_ellipsis@small":"Text__ek-text_wrap_ellipsis--small___V-dhX","ek-text_wrap_two-line@small":"Text__ek-text_wrap_two-line--small___fqP29","ek-text_wrap_three-line@small":"Text__ek-text_wrap_three-line--small___Yh-Xv","ek-text_display_inline@medium":"Text__ek-text_display_inline--medium___q29UB","ek-text_display_none@medium":"Text__ek-text_display_none--medium___pS5WL","ek-text_size_none@medium":"Text__ek-text_size_none--medium___zmMXI","ek-text_size_inherit@medium":"Text__ek-text_size_inherit--medium___NyD6y","ek-text_size_small@medium":"Text__ek-text_size_small--medium___85MSY","ek-text_size_default@medium":"Text__ek-text_size_default--medium___NMxaK","ek-text_size_big@medium":"Text__ek-text_size_big--medium___Ua-Zk","ek-text_size_h1@medium":"Text__ek-text_size_h1--medium___thuyZ","ek-text_size_h2@medium":"Text__ek-text_size_h2--medium___ESQoF","ek-text_size_h3@medium":"Text__ek-text_size_h3--medium___KZmg9","ek-text_size_h4@medium":"Text__ek-text_size_h4--medium___ECj9y","ek-text_size_h5@medium":"Text__ek-text_size_h5--medium___2Egnj","ek-text_size_h6@medium":"Text__ek-text_size_h6--medium___EiSb9","ek-text_weight_default@medium":"Text__ek-text_weight_default--medium___tB-Ch","ek-text_weight_thin@medium":"Text__ek-text_weight_thin--medium___s8W0s","ek-text_weight_light@medium":"Text__ek-text_weight_light--medium___ltoWf","ek-text_weight_medium@medium":"Text__ek-text_weight_medium--medium___6tPBW","ek-text_weight_bold@medium":"Text__ek-text_weight_bold--medium___rpqZ0","ek-text_weight_black@medium":"Text__ek-text_weight_black--medium___GSyAT","ek-text_align_left@medium":"Text__ek-text_align_left--medium___P1t-C","ek-text_align_center@medium":"Text__ek-text_align_center--medium___EyFNY","ek-text_align_right@medium":"Text__ek-text_align_right--medium___pv76v","ek-text_align_justify@medium":"Text__ek-text_align_justify--medium___BPD5C","ek-text_valign_baseline@medium":"Text__ek-text_valign_baseline--medium___uudr0","ek-text_valign_bottom@medium":"Text__ek-text_valign_bottom--medium___PllPd","ek-text_valign_middle@medium":"Text__ek-text_valign_middle--medium___Ik6u5","ek-text_valign_sub@medium":"Text__ek-text_valign_sub--medium___utVwf","ek-text_valign_super@medium":"Text__ek-text_valign_super--medium___BbzMP","ek-text_valign_text-bottom@medium":"Text__ek-text_valign_text-bottom--medium___h-L8G","ek-text_valign_text-top@medium":"Text__ek-text_valign_text-top--medium___2Sxc3","ek-text_valign_top@medium":"Text__ek-text_valign_top--medium___oC57Z","ek-text_transform_none@medium":"Text__ek-text_transform_none--medium___VjPVc","ek-text_transform_capitalize@medium":"Text__ek-text_transform_capitalize--medium___D2Sqd","ek-text_transform_lowercase@medium":"Text__ek-text_transform_lowercase--medium___hjkKi","ek-text_transform_uppercase@medium":"Text__ek-text_transform_uppercase--medium___AEFL3","ek-text_style_italic@medium":"Text__ek-text_style_italic--medium___yckf-","ek-text_style_strike@medium":"Text__ek-text_style_strike--medium___Fc1Ji","ek-text_style_underline@medium":"Text__ek-text_style_underline--medium___d-Mrs","ek-text_style_overline@medium":"Text__ek-text_style_overline--medium___cBafd","ek-text_lheight_default@medium":"Text__ek-text_lheight_default--medium___UHfd4","ek-text_lheight_medium@medium":"Text__ek-text_lheight_medium--medium___K2JnS","ek-text_lheight_large@medium":"Text__ek-text_lheight_large--medium___7jFRq","ek-text_wrap_normal@medium":"Text__ek-text_wrap_normal--medium___tiKih","ek-text_wrap_nowrap@medium":"Text__ek-text_wrap_nowrap--medium___K2M6e","ek-text_wrap_pre@medium":"Text__ek-text_wrap_pre--medium___TpcHG","ek-text_wrap_pre-wrap@medium":"Text__ek-text_wrap_pre-wrap--medium___Z6C0k","ek-text_wrap_pre-line@medium":"Text__ek-text_wrap_pre-line--medium___Ajn6a","ek-text_wrap_break@medium":"Text__ek-text_wrap_break--medium___QtGGg","ek-text_wrap_ellipsis@medium":"Text__ek-text_wrap_ellipsis--medium___NyLo3","ek-text_wrap_two-line@medium":"Text__ek-text_wrap_two-line--medium___R6ga0","ek-text_wrap_three-line@medium":"Text__ek-text_wrap_three-line--medium___E2iMw","ek-text_display_inline@large":"Text__ek-text_display_inline--large___Qr7da","ek-text_display_none@large":"Text__ek-text_display_none--large___8q9MY","ek-text_size_none@large":"Text__ek-text_size_none--large___lhd15","ek-text_size_inherit@large":"Text__ek-text_size_inherit--large___JRmGP","ek-text_size_small@large":"Text__ek-text_size_small--large___gGYoF","ek-text_size_default@large":"Text__ek-text_size_default--large___f8ZGq","ek-text_size_big@large":"Text__ek-text_size_big--large___kXeDX","ek-text_size_h1@large":"Text__ek-text_size_h1--large___FnCNG","ek-text_size_h2@large":"Text__ek-text_size_h2--large___ud3vr","ek-text_size_h3@large":"Text__ek-text_size_h3--large___cQwu6","ek-text_size_h4@large":"Text__ek-text_size_h4--large___AeJ7R","ek-text_size_h5@large":"Text__ek-text_size_h5--large___5AP56","ek-text_size_h6@large":"Text__ek-text_size_h6--large___nXKYk","ek-text_weight_default@large":"Text__ek-text_weight_default--large___-KZf3","ek-text_weight_thin@large":"Text__ek-text_weight_thin--large___OtiPU","ek-text_weight_light@large":"Text__ek-text_weight_light--large___Q876R","ek-text_weight_medium@large":"Text__ek-text_weight_medium--large___ERwtC","ek-text_weight_bold@large":"Text__ek-text_weight_bold--large___-vQew","ek-text_weight_black@large":"Text__ek-text_weight_black--large___JfoJ2","ek-text_align_left@large":"Text__ek-text_align_left--large___eDuu-","ek-text_align_center@large":"Text__ek-text_align_center--large___0oej2","ek-text_align_right@large":"Text__ek-text_align_right--large___IruXn","ek-text_align_justify@large":"Text__ek-text_align_justify--large___eLevv","ek-text_valign_baseline@large":"Text__ek-text_valign_baseline--large___MwBxj","ek-text_valign_bottom@large":"Text__ek-text_valign_bottom--large___u2HmC","ek-text_valign_middle@large":"Text__ek-text_valign_middle--large___9wTU0","ek-text_valign_sub@large":"Text__ek-text_valign_sub--large___Vrz29","ek-text_valign_super@large":"Text__ek-text_valign_super--large___Kr93W","ek-text_valign_text-bottom@large":"Text__ek-text_valign_text-bottom--large___6eXdU","ek-text_valign_text-top@large":"Text__ek-text_valign_text-top--large___B3Fwm","ek-text_valign_top@large":"Text__ek-text_valign_top--large___cA4GU","ek-text_transform_none@large":"Text__ek-text_transform_none--large___cXpb9","ek-text_transform_capitalize@large":"Text__ek-text_transform_capitalize--large___pHMUF","ek-text_transform_lowercase@large":"Text__ek-text_transform_lowercase--large___DVgu-","ek-text_transform_uppercase@large":"Text__ek-text_transform_uppercase--large___35kha","ek-text_style_italic@large":"Text__ek-text_style_italic--large___fYSwX","ek-text_style_strike@large":"Text__ek-text_style_strike--large___q0PMX","ek-text_style_underline@large":"Text__ek-text_style_underline--large___sguGX","ek-text_style_overline@large":"Text__ek-text_style_overline--large___V9ewl","ek-text_lheight_default@large":"Text__ek-text_lheight_default--large___QI3Ow","ek-text_lheight_medium@large":"Text__ek-text_lheight_medium--large___dkKyS","ek-text_lheight_large@large":"Text__ek-text_lheight_large--large___LWOqd","ek-text_wrap_normal@large":"Text__ek-text_wrap_normal--large___1Sfs7","ek-text_wrap_nowrap@large":"Text__ek-text_wrap_nowrap--large___Ybix2","ek-text_wrap_pre@large":"Text__ek-text_wrap_pre--large___w4GA2","ek-text_wrap_pre-wrap@large":"Text__ek-text_wrap_pre-wrap--large___XNCfE","ek-text_wrap_pre-line@large":"Text__ek-text_wrap_pre-line--large___IIQMy","ek-text_wrap_break@large":"Text__ek-text_wrap_break--large___TMJei","ek-text_wrap_ellipsis@large":"Text__ek-text_wrap_ellipsis--large___eJt94","ek-text_wrap_two-line@large":"Text__ek-text_wrap_two-line--large___wf8-X","ek-text_wrap_three-line@large":"Text__ek-text_wrap_three-line--large___QM6Ob","ek-text_color_black-300":"Text__ek-text_color_black-300___PApP-","ek-text_color_black-300@small":"Text__ek-text_color_black-300--small___qTjrq","ek-text_color_black-300@medium":"Text__ek-text_color_black-300--medium___RrX-C","ek-text_color_black-300@large":"Text__ek-text_color_black-300--large___GN2gG","ek-text_color_black-300@wide":"Text__ek-text_color_black-300--wide___bEAT1","ek-text_color_black-300@huge":"Text__ek-text_color_black-300--huge___-Wlzu","ek-text_color_black-400":"Text__ek-text_color_black-400___IpUr5","ek-text_color_black-400@small":"Text__ek-text_color_black-400--small___tPsnx","ek-text_color_black-400@medium":"Text__ek-text_color_black-400--medium___YPsN-","ek-text_color_black-400@large":"Text__ek-text_color_black-400--large___l6ihP","ek-text_color_black-400@wide":"Text__ek-text_color_black-400--wide___80NyO","ek-text_color_black-400@huge":"Text__ek-text_color_black-400--huge___yzLun","ek-text_color_black-600":"Text__ek-text_color_black-600___iX-v2","ek-text_color_black-600@small":"Text__ek-text_color_black-600--small___4qrki","ek-text_color_black-600@medium":"Text__ek-text_color_black-600--medium___XfNNR","ek-text_color_black-600@large":"Text__ek-text_color_black-600--large___Owu7Q","ek-text_color_black-600@wide":"Text__ek-text_color_black-600--wide___EPhZb","ek-text_color_black-600@huge":"Text__ek-text_color_black-600--huge___kX-rO","ek-text_color_black-700":"Text__ek-text_color_black-700___ffgjE","ek-text_color_black-700@small":"Text__ek-text_color_black-700--small___VeJpW","ek-text_color_black-700@medium":"Text__ek-text_color_black-700--medium___tmDDJ","ek-text_color_black-700@large":"Text__ek-text_color_black-700--large___jRnbc","ek-text_color_black-700@wide":"Text__ek-text_color_black-700--wide___Skgn1","ek-text_color_black-700@huge":"Text__ek-text_color_black-700--huge___iT2UW","ek-text_color_black-800":"Text__ek-text_color_black-800___wMAjv","ek-text_color_black-800@small":"Text__ek-text_color_black-800--small___0tsz8","ek-text_color_black-800@medium":"Text__ek-text_color_black-800--medium___dKLRj","ek-text_color_black-800@large":"Text__ek-text_color_black-800--large___PThcN","ek-text_color_black-800@wide":"Text__ek-text_color_black-800--wide___4KAq8","ek-text_color_black-800@huge":"Text__ek-text_color_black-800--huge___sXPSW","ek-text_color_black-900":"Text__ek-text_color_black-900___ye2-Z","ek-text_color_black-900@small":"Text__ek-text_color_black-900--small___Tjehi","ek-text_color_black-900@medium":"Text__ek-text_color_black-900--medium___D7nHh","ek-text_color_black-900@large":"Text__ek-text_color_black-900--large___n8LrJ","ek-text_color_black-900@wide":"Text__ek-text_color_black-900--wide___O95o7","ek-text_color_black-900@huge":"Text__ek-text_color_black-900--huge___ufWB7","ek-text_color_blue-500":"Text__ek-text_color_blue-500___Pmash","ek-text_color_blue-500@small":"Text__ek-text_color_blue-500--small___myNLi","ek-text_color_blue-500@medium":"Text__ek-text_color_blue-500--medium___807O7","ek-text_color_blue-500@large":"Text__ek-text_color_blue-500--large___h7LoO","ek-text_color_blue-500@wide":"Text__ek-text_color_blue-500--wide___1Qk4y","ek-text_color_blue-500@huge":"Text__ek-text_color_blue-500--huge___VrBDq","ek-text_color_green-500":"Text__ek-text_color_green-500___9JoFY","ek-text_color_green-500@small":"Text__ek-text_color_green-500--small___A3k3K","ek-text_color_green-500@medium":"Text__ek-text_color_green-500--medium___EDZ-F","ek-text_color_green-500@large":"Text__ek-text_color_green-500--large___vV-gD","ek-text_color_green-500@wide":"Text__ek-text_color_green-500--wide___gDhg2","ek-text_color_green-500@huge":"Text__ek-text_color_green-500--huge___O5Wpa","ek-text_color_green-700":"Text__ek-text_color_green-700___NSmdF","ek-text_color_green-700@small":"Text__ek-text_color_green-700--small___QEems","ek-text_color_green-700@medium":"Text__ek-text_color_green-700--medium___-GH--","ek-text_color_green-700@large":"Text__ek-text_color_green-700--large___56wkM","ek-text_color_green-700@wide":"Text__ek-text_color_green-700--wide___xkvGD","ek-text_color_green-700@huge":"Text__ek-text_color_green-700--huge___IgnYm","ek-text_color_green-800":"Text__ek-text_color_green-800___Aahxa","ek-text_color_green-800@small":"Text__ek-text_color_green-800--small___x1p-D","ek-text_color_green-800@medium":"Text__ek-text_color_green-800--medium___EeAPc","ek-text_color_green-800@large":"Text__ek-text_color_green-800--large___KH2s5","ek-text_color_green-800@wide":"Text__ek-text_color_green-800--wide___6FDFy","ek-text_color_green-800@huge":"Text__ek-text_color_green-800--huge___V2JjF","ek-text_color_yellow-500":"Text__ek-text_color_yellow-500___7I4ks","ek-text_color_yellow-500@small":"Text__ek-text_color_yellow-500--small___XFBi-","ek-text_color_yellow-500@medium":"Text__ek-text_color_yellow-500--medium___I42SE","ek-text_color_yellow-500@large":"Text__ek-text_color_yellow-500--large___BGGYh","ek-text_color_yellow-500@wide":"Text__ek-text_color_yellow-500--wide___2WOin","ek-text_color_yellow-500@huge":"Text__ek-text_color_yellow-500--huge___6u99p","ek-text_color_orange-500":"Text__ek-text_color_orange-500___D39Cr","ek-text_color_orange-500@small":"Text__ek-text_color_orange-500--small___FCzuX","ek-text_color_orange-500@medium":"Text__ek-text_color_orange-500--medium___9gjQH","ek-text_color_orange-500@large":"Text__ek-text_color_orange-500--large___A3IlK","ek-text_color_orange-500@wide":"Text__ek-text_color_orange-500--wide___ye0vt","ek-text_color_orange-500@huge":"Text__ek-text_color_orange-500--huge___eLSt9","ek-text_color_orange-900":"Text__ek-text_color_orange-900___etfhZ","ek-text_color_orange-900@small":"Text__ek-text_color_orange-900--small___zjEFG","ek-text_color_orange-900@medium":"Text__ek-text_color_orange-900--medium___LUWSS","ek-text_color_orange-900@large":"Text__ek-text_color_orange-900--large___JXJvc","ek-text_color_orange-900@wide":"Text__ek-text_color_orange-900--wide___PWGFH","ek-text_color_orange-900@huge":"Text__ek-text_color_orange-900--huge___ljHb4","ek-text_color_red-500":"Text__ek-text_color_red-500___uyrQ6","ek-text_color_red-500@small":"Text__ek-text_color_red-500--small___hN5go","ek-text_color_red-500@medium":"Text__ek-text_color_red-500--medium___HROpc","ek-text_color_red-500@large":"Text__ek-text_color_red-500--large___DohkS","ek-text_color_red-500@wide":"Text__ek-text_color_red-500--wide___vXdZm","ek-text_color_red-500@huge":"Text__ek-text_color_red-500--huge___nEmHY","ek-text_color_red-900":"Text__ek-text_color_red-900___yKkMR","ek-text_color_red-900@small":"Text__ek-text_color_red-900--small___2MQqu","ek-text_color_red-900@medium":"Text__ek-text_color_red-900--medium___k9d1g","ek-text_color_red-900@large":"Text__ek-text_color_red-900--large___BYzxn","ek-text_color_red-900@wide":"Text__ek-text_color_red-900--wide___9S6GM","ek-text_color_red-900@huge":"Text__ek-text_color_red-900--huge___rMyDN","ek-text_color_violet-500":"Text__ek-text_color_violet-500___xrKUz","ek-text_color_violet-500@small":"Text__ek-text_color_violet-500--small___GkpkA","ek-text_color_violet-500@medium":"Text__ek-text_color_violet-500--medium___FYY0k","ek-text_color_violet-500@large":"Text__ek-text_color_violet-500--large___BX9sY","ek-text_color_violet-500@wide":"Text__ek-text_color_violet-500--wide___vjkvO","ek-text_color_violet-500@huge":"Text__ek-text_color_violet-500--huge___Ufx-e","ek-text_color_white":"Text__ek-text_color_white___ooRRq","ek-text_color_white@small":"Text__ek-text_color_white--small___aq8Bj","ek-text_color_white@medium":"Text__ek-text_color_white--medium___K2HII","ek-text_color_white@large":"Text__ek-text_color_white--large___fPDBy","ek-text_color_white@wide":"Text__ek-text_color_white--wide___KBwe0","ek-text_color_white@huge":"Text__ek-text_color_white--huge___pjee0"};
8
8
 
9
9
  var Text = evokitText.Text;
10
- // @ts-ignore
11
10
  Text.defaultProps = {
12
11
  'text-preset': {
13
12
  css: css
@@ -7,7 +7,6 @@ var evokitText = require('evokit-text');
7
7
  var css = {"ek-text":"Text__ek-text___-ROQ5","ek-text_display_inline":"Text__ek-text_display_inline___kf4Mg","ek-text_display_none":"Text__ek-text_display_none___6fCvf","ek-text_size_none":"Text__ek-text_size_none___d8slD","ek-text_size_inherit":"Text__ek-text_size_inherit___9ToCC","ek-text_size_small":"Text__ek-text_size_small___8UL-f","ek-text_size_default":"Text__ek-text_size_default___YVQjl","ek-text_size_big":"Text__ek-text_size_big___I52rt","ek-text_size_h1":"Text__ek-text_size_h1___7m6hu","ek-text_size_h2":"Text__ek-text_size_h2___6S-PU","ek-text_size_h3":"Text__ek-text_size_h3___wnvF4","ek-text_size_h4":"Text__ek-text_size_h4___zzaqf","ek-text_size_h5":"Text__ek-text_size_h5___vUE7N","ek-text_size_h6":"Text__ek-text_size_h6___gKgdr","ek-text_weight_default":"Text__ek-text_weight_default___C-jU2","ek-text_weight_thin":"Text__ek-text_weight_thin___zMjyu","ek-text_weight_light":"Text__ek-text_weight_light___B3Juk","ek-text_weight_medium":"Text__ek-text_weight_medium___mUSUr","ek-text_weight_bold":"Text__ek-text_weight_bold___nbc0F","ek-text_weight_black":"Text__ek-text_weight_black___pz2hz","ek-text_align_left":"Text__ek-text_align_left___ro7st","ek-text_align_center":"Text__ek-text_align_center___s56dr","ek-text_align_right":"Text__ek-text_align_right___hASYm","ek-text_align_justify":"Text__ek-text_align_justify___fDJbJ","ek-text_valign_baseline":"Text__ek-text_valign_baseline___4CWsl","ek-text_valign_bottom":"Text__ek-text_valign_bottom___KCjjL","ek-text_valign_middle":"Text__ek-text_valign_middle___LMYYJ","ek-text_valign_sub":"Text__ek-text_valign_sub___TP1BM","ek-text_valign_super":"Text__ek-text_valign_super___IDOKq","ek-text_valign_text-bottom":"Text__ek-text_valign_text-bottom___sRdol","ek-text_valign_text-top":"Text__ek-text_valign_text-top___A6EIe","ek-text_valign_top":"Text__ek-text_valign_top___LVyOZ","ek-text_transform_none":"Text__ek-text_transform_none___PdDdm","ek-text_transform_capitalize":"Text__ek-text_transform_capitalize___eAD7H","ek-text_transform_lowercase":"Text__ek-text_transform_lowercase___y03AI","ek-text_transform_uppercase":"Text__ek-text_transform_uppercase___c6JQ4","ek-text_style_italic":"Text__ek-text_style_italic___dS2Rq","ek-text_style_strike":"Text__ek-text_style_strike___W2q6D","ek-text_style_underline":"Text__ek-text_style_underline___ZeE-o","ek-text_style_overline":"Text__ek-text_style_overline___sG-pM","ek-text_lheight_default":"Text__ek-text_lheight_default___-PDYT","ek-text_lheight_medium":"Text__ek-text_lheight_medium___KRbsq","ek-text_lheight_large":"Text__ek-text_lheight_large___RzOhL","ek-text_wrap_normal":"Text__ek-text_wrap_normal___QgQy6","ek-text_wrap_nowrap":"Text__ek-text_wrap_nowrap___rPeKC","ek-text_wrap_pre":"Text__ek-text_wrap_pre___WbxaB","ek-text_wrap_pre-wrap":"Text__ek-text_wrap_pre-wrap___0FkSl","ek-text_wrap_pre-line":"Text__ek-text_wrap_pre-line___8gGHF","ek-text_wrap_break":"Text__ek-text_wrap_break___1wiJa","ek-text_wrap_ellipsis":"Text__ek-text_wrap_ellipsis___kPZxA","ek-text_wrap_two-line":"Text__ek-text_wrap_two-line___Cn-P6","ek-text_wrap_three-line":"Text__ek-text_wrap_three-line___B5qqt","ek-text_display_inline@small":"Text__ek-text_display_inline--small___nEpne","ek-text_display_none@small":"Text__ek-text_display_none--small___l-Tq0","ek-text_size_none@small":"Text__ek-text_size_none--small___kHOEL","ek-text_size_inherit@small":"Text__ek-text_size_inherit--small___g3F22","ek-text_size_small@small":"Text__ek-text_size_small--small___RiEYU","ek-text_size_default@small":"Text__ek-text_size_default--small___nw1GE","ek-text_size_big@small":"Text__ek-text_size_big--small___xC3yN","ek-text_size_h1@small":"Text__ek-text_size_h1--small___nU6xk","ek-text_size_h2@small":"Text__ek-text_size_h2--small___Dae8I","ek-text_size_h3@small":"Text__ek-text_size_h3--small___Q4Nk9","ek-text_size_h4@small":"Text__ek-text_size_h4--small___TsddL","ek-text_size_h5@small":"Text__ek-text_size_h5--small___7wm1E","ek-text_size_h6@small":"Text__ek-text_size_h6--small___SK6BU","ek-text_weight_default@small":"Text__ek-text_weight_default--small___aLolD","ek-text_weight_thin@small":"Text__ek-text_weight_thin--small___GECrZ","ek-text_weight_light@small":"Text__ek-text_weight_light--small___mQtje","ek-text_weight_medium@small":"Text__ek-text_weight_medium--small___tzni0","ek-text_weight_bold@small":"Text__ek-text_weight_bold--small___51e7l","ek-text_weight_black@small":"Text__ek-text_weight_black--small___SJl6O","ek-text_align_left@small":"Text__ek-text_align_left--small___R8kiT","ek-text_align_center@small":"Text__ek-text_align_center--small___hhKld","ek-text_align_right@small":"Text__ek-text_align_right--small___ROCrY","ek-text_align_justify@small":"Text__ek-text_align_justify--small___iASpp","ek-text_valign_baseline@small":"Text__ek-text_valign_baseline--small___w4B8L","ek-text_valign_bottom@small":"Text__ek-text_valign_bottom--small___rPQIr","ek-text_valign_middle@small":"Text__ek-text_valign_middle--small___d98jJ","ek-text_valign_sub@small":"Text__ek-text_valign_sub--small___Uxsul","ek-text_valign_super@small":"Text__ek-text_valign_super--small___asIdI","ek-text_valign_text-bottom@small":"Text__ek-text_valign_text-bottom--small___Xf76y","ek-text_valign_text-top@small":"Text__ek-text_valign_text-top--small___prKEV","ek-text_valign_top@small":"Text__ek-text_valign_top--small___p9RWj","ek-text_transform_none@small":"Text__ek-text_transform_none--small___QMWWm","ek-text_transform_capitalize@small":"Text__ek-text_transform_capitalize--small___qWZj-","ek-text_transform_lowercase@small":"Text__ek-text_transform_lowercase--small___-FFJj","ek-text_transform_uppercase@small":"Text__ek-text_transform_uppercase--small___TNi5m","ek-text_style_italic@small":"Text__ek-text_style_italic--small___auREO","ek-text_style_strike@small":"Text__ek-text_style_strike--small___QL9I9","ek-text_style_underline@small":"Text__ek-text_style_underline--small___VtVFz","ek-text_style_overline@small":"Text__ek-text_style_overline--small___OG-n3","ek-text_lheight_default@small":"Text__ek-text_lheight_default--small___dH-CH","ek-text_lheight_medium@small":"Text__ek-text_lheight_medium--small___tL32w","ek-text_lheight_large@small":"Text__ek-text_lheight_large--small___8UZ6F","ek-text_wrap_normal@small":"Text__ek-text_wrap_normal--small___0YiRQ","ek-text_wrap_nowrap@small":"Text__ek-text_wrap_nowrap--small___QcHuw","ek-text_wrap_pre@small":"Text__ek-text_wrap_pre--small___ds5sx","ek-text_wrap_pre-wrap@small":"Text__ek-text_wrap_pre-wrap--small___jppO3","ek-text_wrap_pre-line@small":"Text__ek-text_wrap_pre-line--small___-yFN4","ek-text_wrap_break@small":"Text__ek-text_wrap_break--small___ILjwS","ek-text_wrap_ellipsis@small":"Text__ek-text_wrap_ellipsis--small___Mag2F","ek-text_wrap_two-line@small":"Text__ek-text_wrap_two-line--small___rWq36","ek-text_wrap_three-line@small":"Text__ek-text_wrap_three-line--small___nmr3V","ek-text_display_inline@medium":"Text__ek-text_display_inline--medium___6WPtA","ek-text_display_none@medium":"Text__ek-text_display_none--medium___alVT3","ek-text_size_none@medium":"Text__ek-text_size_none--medium___it5oR","ek-text_size_inherit@medium":"Text__ek-text_size_inherit--medium___1yKv2","ek-text_size_small@medium":"Text__ek-text_size_small--medium___cCR-3","ek-text_size_default@medium":"Text__ek-text_size_default--medium___SMexC","ek-text_size_big@medium":"Text__ek-text_size_big--medium___mXQjH","ek-text_size_h1@medium":"Text__ek-text_size_h1--medium___Ud4fF","ek-text_size_h2@medium":"Text__ek-text_size_h2--medium___PLNaT","ek-text_size_h3@medium":"Text__ek-text_size_h3--medium___3pJSN","ek-text_size_h4@medium":"Text__ek-text_size_h4--medium___YrPdI","ek-text_size_h5@medium":"Text__ek-text_size_h5--medium___qDHn7","ek-text_size_h6@medium":"Text__ek-text_size_h6--medium___pWGaw","ek-text_weight_default@medium":"Text__ek-text_weight_default--medium___xD0Iw","ek-text_weight_thin@medium":"Text__ek-text_weight_thin--medium___qzPDr","ek-text_weight_light@medium":"Text__ek-text_weight_light--medium___7O1Tu","ek-text_weight_medium@medium":"Text__ek-text_weight_medium--medium___FU8iz","ek-text_weight_bold@medium":"Text__ek-text_weight_bold--medium___YPzM-","ek-text_weight_black@medium":"Text__ek-text_weight_black--medium___5HE0a","ek-text_align_left@medium":"Text__ek-text_align_left--medium___o05r5","ek-text_align_center@medium":"Text__ek-text_align_center--medium___7A8YW","ek-text_align_right@medium":"Text__ek-text_align_right--medium___eMgvR","ek-text_align_justify@medium":"Text__ek-text_align_justify--medium___r57iL","ek-text_valign_baseline@medium":"Text__ek-text_valign_baseline--medium___vHsUy","ek-text_valign_bottom@medium":"Text__ek-text_valign_bottom--medium___luFtn","ek-text_valign_middle@medium":"Text__ek-text_valign_middle--medium___OOe7y","ek-text_valign_sub@medium":"Text__ek-text_valign_sub--medium___2azhM","ek-text_valign_super@medium":"Text__ek-text_valign_super--medium___e7-YY","ek-text_valign_text-bottom@medium":"Text__ek-text_valign_text-bottom--medium___1fUJX","ek-text_valign_text-top@medium":"Text__ek-text_valign_text-top--medium___kBDBs","ek-text_valign_top@medium":"Text__ek-text_valign_top--medium___0Q7TJ","ek-text_transform_none@medium":"Text__ek-text_transform_none--medium___w8Mz-","ek-text_transform_capitalize@medium":"Text__ek-text_transform_capitalize--medium___YdtmG","ek-text_transform_lowercase@medium":"Text__ek-text_transform_lowercase--medium___tgBnk","ek-text_transform_uppercase@medium":"Text__ek-text_transform_uppercase--medium___QI6md","ek-text_style_italic@medium":"Text__ek-text_style_italic--medium___zP9h5","ek-text_style_strike@medium":"Text__ek-text_style_strike--medium___2tYmB","ek-text_style_underline@medium":"Text__ek-text_style_underline--medium___9cZlU","ek-text_style_overline@medium":"Text__ek-text_style_overline--medium___ZEFFo","ek-text_lheight_default@medium":"Text__ek-text_lheight_default--medium___8idJm","ek-text_lheight_medium@medium":"Text__ek-text_lheight_medium--medium___p5kXZ","ek-text_lheight_large@medium":"Text__ek-text_lheight_large--medium___p-Hhl","ek-text_wrap_normal@medium":"Text__ek-text_wrap_normal--medium___bpcbF","ek-text_wrap_nowrap@medium":"Text__ek-text_wrap_nowrap--medium___H5Tj4","ek-text_wrap_pre@medium":"Text__ek-text_wrap_pre--medium___HntAM","ek-text_wrap_pre-wrap@medium":"Text__ek-text_wrap_pre-wrap--medium___6vBUo","ek-text_wrap_pre-line@medium":"Text__ek-text_wrap_pre-line--medium___9rQ-Q","ek-text_wrap_break@medium":"Text__ek-text_wrap_break--medium___LVSiG","ek-text_wrap_ellipsis@medium":"Text__ek-text_wrap_ellipsis--medium___JirZA","ek-text_wrap_two-line@medium":"Text__ek-text_wrap_two-line--medium___g2ROw","ek-text_wrap_three-line@medium":"Text__ek-text_wrap_three-line--medium___HrMeM","ek-text_display_inline@large":"Text__ek-text_display_inline--large___Mo-LY","ek-text_display_none@large":"Text__ek-text_display_none--large___FX2qB","ek-text_size_none@large":"Text__ek-text_size_none--large___b1MRL","ek-text_size_inherit@large":"Text__ek-text_size_inherit--large___AmMoT","ek-text_size_small@large":"Text__ek-text_size_small--large___hIECr","ek-text_size_default@large":"Text__ek-text_size_default--large___urt2q","ek-text_size_big@large":"Text__ek-text_size_big--large___VKxWD","ek-text_size_h1@large":"Text__ek-text_size_h1--large___mNGan","ek-text_size_h2@large":"Text__ek-text_size_h2--large___iieFo","ek-text_size_h3@large":"Text__ek-text_size_h3--large___p0OYs","ek-text_size_h4@large":"Text__ek-text_size_h4--large___8R-X7","ek-text_size_h5@large":"Text__ek-text_size_h5--large___SisW8","ek-text_size_h6@large":"Text__ek-text_size_h6--large___xOt7K","ek-text_weight_default@large":"Text__ek-text_weight_default--large___cZUKq","ek-text_weight_thin@large":"Text__ek-text_weight_thin--large___ftNN2","ek-text_weight_light@large":"Text__ek-text_weight_light--large___mucsu","ek-text_weight_medium@large":"Text__ek-text_weight_medium--large___J1Abv","ek-text_weight_bold@large":"Text__ek-text_weight_bold--large___n5v86","ek-text_weight_black@large":"Text__ek-text_weight_black--large___lKODZ","ek-text_align_left@large":"Text__ek-text_align_left--large___XLFUT","ek-text_align_center@large":"Text__ek-text_align_center--large___XoXwL","ek-text_align_right@large":"Text__ek-text_align_right--large___cTzlR","ek-text_align_justify@large":"Text__ek-text_align_justify--large___83G-e","ek-text_valign_baseline@large":"Text__ek-text_valign_baseline--large___kqPo2","ek-text_valign_bottom@large":"Text__ek-text_valign_bottom--large___mu6P6","ek-text_valign_middle@large":"Text__ek-text_valign_middle--large___cDVtl","ek-text_valign_sub@large":"Text__ek-text_valign_sub--large___i4kJ5","ek-text_valign_super@large":"Text__ek-text_valign_super--large___fULH6","ek-text_valign_text-bottom@large":"Text__ek-text_valign_text-bottom--large___X1o4K","ek-text_valign_text-top@large":"Text__ek-text_valign_text-top--large___dyrpt","ek-text_valign_top@large":"Text__ek-text_valign_top--large___uuHb-","ek-text_transform_none@large":"Text__ek-text_transform_none--large___mXgSH","ek-text_transform_capitalize@large":"Text__ek-text_transform_capitalize--large___TZdWz","ek-text_transform_lowercase@large":"Text__ek-text_transform_lowercase--large___ucY62","ek-text_transform_uppercase@large":"Text__ek-text_transform_uppercase--large___C0w3A","ek-text_style_italic@large":"Text__ek-text_style_italic--large___J-VtC","ek-text_style_strike@large":"Text__ek-text_style_strike--large___T-zXX","ek-text_style_underline@large":"Text__ek-text_style_underline--large___eZ3MR","ek-text_style_overline@large":"Text__ek-text_style_overline--large___naG6m","ek-text_lheight_default@large":"Text__ek-text_lheight_default--large___68-KO","ek-text_lheight_medium@large":"Text__ek-text_lheight_medium--large___QGogG","ek-text_lheight_large@large":"Text__ek-text_lheight_large--large___BlPL-","ek-text_wrap_normal@large":"Text__ek-text_wrap_normal--large___6X7hf","ek-text_wrap_nowrap@large":"Text__ek-text_wrap_nowrap--large___xdhzo","ek-text_wrap_pre@large":"Text__ek-text_wrap_pre--large___qUMtK","ek-text_wrap_pre-wrap@large":"Text__ek-text_wrap_pre-wrap--large___HRo-u","ek-text_wrap_pre-line@large":"Text__ek-text_wrap_pre-line--large___q743W","ek-text_wrap_break@large":"Text__ek-text_wrap_break--large___Ushu6","ek-text_wrap_ellipsis@large":"Text__ek-text_wrap_ellipsis--large___xNEri","ek-text_wrap_two-line@large":"Text__ek-text_wrap_two-line--large___ZG36-","ek-text_wrap_three-line@large":"Text__ek-text_wrap_three-line--large___Pi0K9","ek-text_color_black-300":"Text__ek-text_color_black-300___rufn-","ek-text_color_black-300@small":"Text__ek-text_color_black-300--small___-QAn5","ek-text_color_black-300@medium":"Text__ek-text_color_black-300--medium___4KXpk","ek-text_color_black-300@large":"Text__ek-text_color_black-300--large___b5dBb","ek-text_color_black-300@wide":"Text__ek-text_color_black-300--wide___ADkkP","ek-text_color_black-300@huge":"Text__ek-text_color_black-300--huge___lLPjg","ek-text_color_black-400":"Text__ek-text_color_black-400___Abw9l","ek-text_color_black-400@small":"Text__ek-text_color_black-400--small___n6Jz-","ek-text_color_black-400@medium":"Text__ek-text_color_black-400--medium___OfeiL","ek-text_color_black-400@large":"Text__ek-text_color_black-400--large___nVbdh","ek-text_color_black-400@wide":"Text__ek-text_color_black-400--wide___P3n3p","ek-text_color_black-400@huge":"Text__ek-text_color_black-400--huge___-DT5c","ek-text_color_black-600":"Text__ek-text_color_black-600___lI2T-","ek-text_color_black-600@small":"Text__ek-text_color_black-600--small___dU5GE","ek-text_color_black-600@medium":"Text__ek-text_color_black-600--medium___-hGn6","ek-text_color_black-600@large":"Text__ek-text_color_black-600--large___3X27Q","ek-text_color_black-600@wide":"Text__ek-text_color_black-600--wide___jKvld","ek-text_color_black-600@huge":"Text__ek-text_color_black-600--huge___zxpTa","ek-text_color_black-700":"Text__ek-text_color_black-700___2-ihf","ek-text_color_black-700@small":"Text__ek-text_color_black-700--small___CVGTz","ek-text_color_black-700@medium":"Text__ek-text_color_black-700--medium___FG-Oi","ek-text_color_black-700@large":"Text__ek-text_color_black-700--large___BFdY2","ek-text_color_black-700@wide":"Text__ek-text_color_black-700--wide___5wBf3","ek-text_color_black-700@huge":"Text__ek-text_color_black-700--huge___C9RrK","ek-text_color_black-800":"Text__ek-text_color_black-800___WlClL","ek-text_color_black-800@small":"Text__ek-text_color_black-800--small___-eCZb","ek-text_color_black-800@medium":"Text__ek-text_color_black-800--medium___XmIPf","ek-text_color_black-800@large":"Text__ek-text_color_black-800--large___Sa9NU","ek-text_color_black-800@wide":"Text__ek-text_color_black-800--wide___1fbuU","ek-text_color_black-800@huge":"Text__ek-text_color_black-800--huge___BPs7Y","ek-text_color_black-900":"Text__ek-text_color_black-900___JbIle","ek-text_color_black-900@small":"Text__ek-text_color_black-900--small___qxurX","ek-text_color_black-900@medium":"Text__ek-text_color_black-900--medium___CF5Sk","ek-text_color_black-900@large":"Text__ek-text_color_black-900--large___eDR1H","ek-text_color_black-900@wide":"Text__ek-text_color_black-900--wide___XVnjF","ek-text_color_black-900@huge":"Text__ek-text_color_black-900--huge___dGgDV","ek-text_color_blue-500":"Text__ek-text_color_blue-500___LxCA2","ek-text_color_blue-500@small":"Text__ek-text_color_blue-500--small___-XPWr","ek-text_color_blue-500@medium":"Text__ek-text_color_blue-500--medium___RUw4a","ek-text_color_blue-500@large":"Text__ek-text_color_blue-500--large___Nu3iz","ek-text_color_blue-500@wide":"Text__ek-text_color_blue-500--wide___KrMiD","ek-text_color_blue-500@huge":"Text__ek-text_color_blue-500--huge___zVn4G","ek-text_color_green-500":"Text__ek-text_color_green-500___dtH5J","ek-text_color_green-500@small":"Text__ek-text_color_green-500--small___e2-vw","ek-text_color_green-500@medium":"Text__ek-text_color_green-500--medium___qIaqR","ek-text_color_green-500@large":"Text__ek-text_color_green-500--large___Zq6-1","ek-text_color_green-500@wide":"Text__ek-text_color_green-500--wide___QwWmd","ek-text_color_green-500@huge":"Text__ek-text_color_green-500--huge___1fLyf","ek-text_color_green-700":"Text__ek-text_color_green-700___y1ZED","ek-text_color_green-700@small":"Text__ek-text_color_green-700--small___bqWOX","ek-text_color_green-700@medium":"Text__ek-text_color_green-700--medium___z-Kit","ek-text_color_green-700@large":"Text__ek-text_color_green-700--large___BFZxc","ek-text_color_green-700@wide":"Text__ek-text_color_green-700--wide___TYTLk","ek-text_color_green-700@huge":"Text__ek-text_color_green-700--huge___s70yA","ek-text_color_green-800":"Text__ek-text_color_green-800___C0794","ek-text_color_green-800@small":"Text__ek-text_color_green-800--small___BsvbE","ek-text_color_green-800@medium":"Text__ek-text_color_green-800--medium___nJn7S","ek-text_color_green-800@large":"Text__ek-text_color_green-800--large___CkSUo","ek-text_color_green-800@wide":"Text__ek-text_color_green-800--wide___fAxaz","ek-text_color_green-800@huge":"Text__ek-text_color_green-800--huge___M7qQU","ek-text_color_yellow-500":"Text__ek-text_color_yellow-500___YiR8O","ek-text_color_yellow-500@small":"Text__ek-text_color_yellow-500--small___W91Jn","ek-text_color_yellow-500@medium":"Text__ek-text_color_yellow-500--medium___W9mZM","ek-text_color_yellow-500@large":"Text__ek-text_color_yellow-500--large___WD1wN","ek-text_color_yellow-500@wide":"Text__ek-text_color_yellow-500--wide___2IFe0","ek-text_color_yellow-500@huge":"Text__ek-text_color_yellow-500--huge___weEpN","ek-text_color_orange-500":"Text__ek-text_color_orange-500___JIlZq","ek-text_color_orange-500@small":"Text__ek-text_color_orange-500--small___mJIKt","ek-text_color_orange-500@medium":"Text__ek-text_color_orange-500--medium___wnD6k","ek-text_color_orange-500@large":"Text__ek-text_color_orange-500--large___t6-Wr","ek-text_color_orange-500@wide":"Text__ek-text_color_orange-500--wide___EfDjT","ek-text_color_orange-500@huge":"Text__ek-text_color_orange-500--huge___2Pjcj","ek-text_color_orange-900":"Text__ek-text_color_orange-900___j11Lg","ek-text_color_orange-900@small":"Text__ek-text_color_orange-900--small___Nu8xV","ek-text_color_orange-900@medium":"Text__ek-text_color_orange-900--medium___s59c-","ek-text_color_orange-900@large":"Text__ek-text_color_orange-900--large___p-isB","ek-text_color_orange-900@wide":"Text__ek-text_color_orange-900--wide___CE4UQ","ek-text_color_orange-900@huge":"Text__ek-text_color_orange-900--huge___dJRGe","ek-text_color_red-500":"Text__ek-text_color_red-500___HZ0cd","ek-text_color_red-500@small":"Text__ek-text_color_red-500--small___CSz-3","ek-text_color_red-500@medium":"Text__ek-text_color_red-500--medium___-7sbb","ek-text_color_red-500@large":"Text__ek-text_color_red-500--large___tt2En","ek-text_color_red-500@wide":"Text__ek-text_color_red-500--wide___z8fKs","ek-text_color_red-500@huge":"Text__ek-text_color_red-500--huge___lYfi7","ek-text_color_red-900":"Text__ek-text_color_red-900___zFkOn","ek-text_color_red-900@small":"Text__ek-text_color_red-900--small___IelQy","ek-text_color_red-900@medium":"Text__ek-text_color_red-900--medium___Orzyx","ek-text_color_red-900@large":"Text__ek-text_color_red-900--large___-tN-H","ek-text_color_red-900@wide":"Text__ek-text_color_red-900--wide___k7Es9","ek-text_color_red-900@huge":"Text__ek-text_color_red-900--huge___QQFpw","ek-text_color_violet-500":"Text__ek-text_color_violet-500___BMegd","ek-text_color_violet-500@small":"Text__ek-text_color_violet-500--small___G6mHV","ek-text_color_violet-500@medium":"Text__ek-text_color_violet-500--medium___sYupQ","ek-text_color_violet-500@large":"Text__ek-text_color_violet-500--large___Ug04a","ek-text_color_violet-500@wide":"Text__ek-text_color_violet-500--wide___cd6uK","ek-text_color_violet-500@huge":"Text__ek-text_color_violet-500--huge___lG1-E","ek-text_color_white":"Text__ek-text_color_white___7nID9","ek-text_color_white@small":"Text__ek-text_color_white--small___iGspg","ek-text_color_white@medium":"Text__ek-text_color_white--medium___b3kBz","ek-text_color_white@large":"Text__ek-text_color_white--large___Kn78I","ek-text_color_white@wide":"Text__ek-text_color_white--wide___lDPo3","ek-text_color_white@huge":"Text__ek-text_color_white--huge___0IWxt"};
8
8
 
9
9
  var Text = evokitText.Text;
10
- // @ts-ignore
11
10
  Text.defaultProps = {
12
11
  'text-preset': {
13
12
  css: css
package/Text/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { CreateBlock, EvokitProp, EvokitMediaSufix } from '@prom-ui/core/base/evokit';
1
+ import type { CreateBlock, EvokitProp, EvokitMediaSufix } from '@prom-ui/core/base/types';
2
2
  type TextAlign = EvokitMediaSufix<'left' | 'center' | 'right' | 'justify'>;
3
3
  type TextThemes = EvokitMediaSufix<'black-300' | 'black-400' | 'black-600' | 'black-700' | 'black-800' | 'black-900' | 'blue-500' | 'green-500' | 'green-700' | 'green-800' | 'yellow-500' | 'orange-500' | 'orange-900' | 'red-500' | 'red-900' | 'violet-500' | 'white'>;
4
4
  type TextDisplay = EvokitMediaSufix<'inline' | 'none'>;
@@ -21,6 +21,5 @@ export type TextProps = {
21
21
  'text-weight'?: EvokitProp<TextWeight>;
22
22
  'text-wrap'?: EvokitProp<TextWrap>;
23
23
  };
24
- export type TextWithProps<T = {}> = CreateBlock<'span', 'text', TextProps & T>;
25
- export declare const Text: TextWithProps;
24
+ export declare const Text: CreateBlock<'span', 'text', TextProps>;
26
25
  export {};
package/Text/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prom-ui/core/Text",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.3",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -1,7 +1,9 @@
1
1
  import * as React from 'react';
2
- export type TextEmojiProps = React.ComponentPropsWithRef<'span'> & {
2
+ import { EmojiText } from '@evo/emoji-text';
3
+ import type { TextProps } from '@prom-ui/core/Text';
4
+ export type TextEmojiProps = React.ComponentPropsWithRef<'span'> & TextProps & {
3
5
  /** @ignore */
4
- size?: number;
5
- type?: 'apple' | 'google';
6
+ size?: React.ComponentProps<typeof EmojiText>['size'];
7
+ type?: React.ComponentProps<typeof EmojiText>['type'];
6
8
  };
7
- export declare const TextEmoji: React.ForwardRefExoticComponent<Omit<TextEmojiProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
9
+ export declare const TextEmoji: React.FC<TextEmojiProps>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prom-ui/core/TextEmoji",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.3",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prom-ui/core/Tooltip",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.3",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prom-ui/core/Tumbler",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.3",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -0,0 +1,58 @@
1
+ import * as React from 'react';
2
+
3
+ // export type EvokitProps<P extends Record<string, string | number>> = {
4
+ // [K in keyof P]: P[K] | `${P[K]}` | P[K][] | `${P[K]}`[] | Partial<Record<`${P[K]}`, boolean>>;
5
+ // };
6
+ // type PolymorphicRef<T extends React.ElementType> = React.ComponentPropsWithRef<T>['ref'];
7
+ // type PropsToOmit<T extends React.ElementType, N extends string, P> = keyof (AsProp<T, N> & P);
8
+ // Omit<React.ComponentPropsWithoutRef<T>, keyof (P & BaseProps<T, N>)> &
9
+
10
+ type EvokitPreset = {
11
+ b?: string;
12
+ m?: string;
13
+ v?: string;
14
+ css?: Record<string, string>;
15
+ };
16
+
17
+ type EvokitMedia = 'small' | 'medium' | 'large' | 'wide' | 'huge';
18
+
19
+ type PropsPrefix<P extends string, T> = {
20
+ [Property in keyof T as `${P}-${string & Property}`]?: T[Property];
21
+ };
22
+
23
+ type BaseProps<T extends React.ElementType, N extends string> = PropsPrefix<
24
+ N,
25
+ {
26
+ as?: T;
27
+ preset?: EvokitPreset;
28
+ }
29
+ >;
30
+
31
+ type PolymorphicComponentProp<
32
+ T extends React.ElementType,
33
+ N extends string,
34
+ P = {}
35
+ > = React.ComponentPropsWithoutRef<T> & React.PropsWithChildren<P & BaseProps<T, N>>;
36
+
37
+ type PolymorphicComponentPropWithRef<T extends React.ElementType, N extends string, P = {}> = PolymorphicComponentProp<
38
+ T,
39
+ N,
40
+ P
41
+ > & {
42
+ ref?: React.ComponentPropsWithRef<T>['ref'];
43
+ };
44
+
45
+ export type EvokitMediaSufix<T extends string | number> = T | `${T}` | `${T}@${EvokitMedia}`;
46
+
47
+ export type EvokitProp<T extends string | number> = T | `${T}` | T[] | `${T}`[] | Partial<Record<`${T}`, boolean>>;
48
+
49
+ export interface CreateBlock<E extends React.ElementType, N extends string, P = {}> {
50
+ <T extends React.ElementType = E>(props: PolymorphicComponentPropWithRef<T, N, P>): React.ReactElement<
51
+ any,
52
+ any
53
+ > | null;
54
+ propTypes?: React.WeakValidationMap<PolymorphicComponentProp<E, N, P>> | undefined;
55
+ contextTypes?: React.ValidationMap<any> | undefined;
56
+ defaultProps?: Partial<PolymorphicComponentProp<E, N, P>> | undefined;
57
+ displayName?: string | undefined;
58
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prom-ui/core",
3
3
  "author": "e.marchenko",
4
- "version": "1.0.0-alpha.1",
4
+ "version": "1.0.0-alpha.3",
5
5
  "description": "core ui blocks",
6
6
  "scripts": {
7
7
  "test": "jest --verbose ./src",
@@ -70,5 +70,5 @@
70
70
  "optional": true
71
71
  }
72
72
  },
73
- "gitHead": "df649dc6986702621e6f004b4e7a030f21456d43"
73
+ "gitHead": "45b199e3bddb834d227dd89695e11366b52dca4b"
74
74
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prom-ui/core/useDebounce",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.3",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [