@prom-ui/core 0.0.22 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Body/cjs/index.development.js +14 -0
- package/Body/cjs/index.production.js +1 -0
- package/Body/cjs/style.development.css +1 -0
- package/Body/cjs/style.production.css +1 -0
- package/Body/index.js +5 -12
- package/Body/package.json +1 -1
- package/Box/cjs/index.development.js +20 -0
- package/Box/cjs/index.production.js +1 -0
- package/Box/cjs/style.development.css +1 -0
- package/Box/cjs/style.production.css +1 -0
- package/Box/index.js +5 -18
- package/Box/package.json +1 -1
- package/Button/cjs/index.development.js +95 -0
- package/Button/cjs/index.production.js +1 -0
- package/Button/cjs/style.development.css +1 -0
- package/Button/cjs/style.production.css +1 -0
- package/Button/index.d.ts +5 -4
- package/Button/index.js +4 -81
- package/Button/package.json +1 -1
- package/ButtonPageUp/cjs/index.development.js +170 -0
- package/ButtonPageUp/cjs/index.production.js +1 -0
- package/ButtonPageUp/index.d.ts +12 -5
- package/ButtonPageUp/index.js +4 -169
- package/ButtonPageUp/package.json +1 -2
- package/Checkbox/cjs/index.development.js +111 -0
- package/Checkbox/cjs/index.production.js +1 -0
- package/Checkbox/cjs/style.development.css +1 -0
- package/Checkbox/cjs/style.production.css +1 -0
- package/Checkbox/index.d.ts +4 -4
- package/Checkbox/index.js +4 -96
- package/Checkbox/package.json +1 -1
- package/Flex/cjs/index.development.js +25 -0
- package/Flex/cjs/index.production.js +1 -0
- package/Flex/cjs/style.development.css +1 -0
- package/Flex/cjs/style.production.css +1 -0
- package/Flex/index.js +5 -23
- package/Flex/package.json +1 -1
- package/Grid/cjs/index.development.js +25 -0
- package/Grid/cjs/index.production.js +1 -0
- package/Grid/cjs/style.development.css +1 -0
- package/Grid/cjs/style.production.css +1 -0
- package/Grid/index.js +5 -23
- package/Grid/package.json +1 -1
- package/Icon/cjs/index.development.js +41 -0
- package/Icon/cjs/index.production.js +1 -0
- package/Icon/cjs/style.development.css +1 -0
- package/Icon/cjs/style.production.css +1 -0
- package/Icon/index.d.ts +7 -12
- package/Icon/index.js +4 -76
- package/Icon/package.json +1 -1
- package/Image/cjs/index.development.js +20 -0
- package/Image/cjs/index.production.js +1 -0
- package/Image/cjs/style.development.css +1 -0
- package/Image/cjs/style.production.css +1 -0
- package/Image/index.js +5 -18
- package/Image/package.json +1 -1
- package/ImageEmoji/cjs/index.development.js +90 -0
- package/ImageEmoji/cjs/index.production.js +1 -0
- package/ImageEmoji/index.d.ts +6 -4
- package/ImageEmoji/index.js +4 -86
- package/ImageEmoji/package.json +1 -1
- package/Input/cjs/index.development.js +39 -0
- package/Input/cjs/index.production.js +1 -0
- package/Input/cjs/style.development.css +1 -0
- package/Input/cjs/style.production.css +1 -0
- package/Input/index.d.ts +23 -23
- package/Input/index.js +4 -81
- package/Input/package.json +1 -1
- package/KeyPress/cjs/index.development.js +56 -0
- package/KeyPress/cjs/index.production.js +1 -0
- package/KeyPress/index.d.ts +8 -7
- package/KeyPress/index.js +5 -53
- package/KeyPress/package.json +2 -5
- package/Line/cjs/index.development.js +20 -0
- package/Line/cjs/index.production.js +1 -0
- package/Line/cjs/style.development.css +1 -0
- package/Line/cjs/style.production.css +1 -0
- package/Line/index.js +5 -18
- package/Line/package.json +1 -1
- package/Link/cjs/index.development.js +22 -0
- package/Link/cjs/index.production.js +1 -0
- package/Link/cjs/style.development.css +1 -0
- package/Link/cjs/style.production.css +1 -0
- package/Link/index.js +5 -20
- package/Link/package.json +1 -1
- package/List/cjs/index.development.js +25 -0
- package/List/cjs/index.production.js +1 -0
- package/List/cjs/style.development.css +1 -0
- package/List/cjs/style.production.css +1 -0
- package/List/index.js +5 -23
- package/List/package.json +1 -1
- package/Media/breakpoints.d.ts +17 -0
- package/Media/cjs/index.development.js +60 -0
- package/Media/cjs/index.production.js +1 -0
- package/Media/index.d.ts +11 -0
- package/Media/index.js +7 -0
- package/{Tooltip → Media}/package.json +3 -3
- package/Media/useMedia.d.ts +7 -0
- package/{Tooltip/Trigger/index.js → OutsideClick/cjs/index.development.js} +32 -24
- package/OutsideClick/cjs/index.production.js +1 -0
- package/OutsideClick/index.d.ts +6 -3
- package/OutsideClick/index.js +4 -74
- package/OutsideClick/package.json +2 -5
- package/Picture/cjs/index.development.js +25 -0
- package/Picture/cjs/index.production.js +1 -0
- package/Picture/cjs/style.development.css +1 -0
- package/Picture/cjs/style.production.css +1 -0
- package/Picture/index.js +5 -23
- package/Picture/package.json +1 -1
- package/PortableOverlay/cjs/index.development.js +111 -0
- package/PortableOverlay/cjs/index.production.js +1 -0
- package/PortableOverlay/cjs/style.development.css +1 -0
- package/PortableOverlay/cjs/style.production.css +1 -0
- package/PortableOverlay/index.d.ts +6 -4
- package/PortableOverlay/index.js +5 -112
- package/PortableOverlay/package.json +1 -2
- package/Portal/cjs/index.development.js +57 -0
- package/Portal/cjs/index.production.js +1 -0
- package/Portal/index.d.ts +6 -4
- package/Portal/index.js +5 -52
- package/Portal/package.json +2 -5
- package/Rating/cjs/index.development.js +105 -0
- package/Rating/cjs/index.production.js +1 -0
- package/Rating/cjs/style.development.css +1 -0
- package/Rating/cjs/style.production.css +1 -0
- package/Rating/index.d.ts +6 -5
- package/Rating/index.js +4 -98
- package/Rating/package.json +1 -1
- package/SafeQuery/cjs/index.development.js +181 -0
- package/SafeQuery/cjs/index.production.js +1 -0
- package/SafeQuery/cjs/style.development.css +1 -0
- package/SafeQuery/cjs/style.production.css +1 -0
- package/SafeQuery/components/Error.d.ts +7 -0
- package/SafeQuery/index.d.ts +10 -0
- package/SafeQuery/index.js +7 -0
- package/SafeQuery/package.json +12 -0
- package/Scroll/cjs/index.development.js +40 -0
- package/Scroll/cjs/index.production.js +1 -0
- package/Scroll/cjs/style.development.css +1 -0
- package/Scroll/cjs/style.production.css +1 -0
- package/Scroll/index.d.ts +18 -16
- package/Scroll/index.js +4 -76
- package/Scroll/package.json +1 -1
- package/ScrollControls/cjs/index.development.js +243 -0
- package/ScrollControls/cjs/index.production.js +1 -0
- package/ScrollControls/cjs/style.development.css +1 -0
- package/ScrollControls/cjs/style.production.css +1 -0
- package/ScrollControls/index.d.ts +16 -6
- package/ScrollControls/index.js +4 -244
- package/ScrollControls/package.json +1 -2
- package/SideOverlay/cjs/index.development.js +210 -0
- package/SideOverlay/cjs/index.production.js +1 -0
- package/SideOverlay/cjs/style.development.css +1 -0
- package/SideOverlay/cjs/style.production.css +1 -0
- package/SideOverlay/index.d.ts +28 -13
- package/SideOverlay/index.js +4 -251
- package/SideOverlay/package.json +1 -1
- package/SimpleSlider/cjs/index.development.js +433 -0
- package/SimpleSlider/cjs/index.production.js +1 -0
- package/SimpleSlider/cjs/style.development.css +1 -0
- package/SimpleSlider/cjs/style.production.css +1 -0
- package/SimpleSlider/index.d.ts +17 -3
- package/SimpleSlider/index.js +4 -477
- package/SimpleSlider/package.json +1 -1
- package/Skeleton/cjs/index.development.js +103 -0
- package/Skeleton/cjs/index.production.js +1 -0
- package/Skeleton/cjs/style.development.css +1 -0
- package/Skeleton/cjs/style.production.css +1 -0
- package/Skeleton/index.d.ts +9 -5
- package/Skeleton/index.js +4 -110
- package/Skeleton/package.json +1 -1
- package/Spinner/cjs/index.development.js +85 -0
- package/Spinner/cjs/index.production.js +1 -0
- package/Spinner/cjs/style.development.css +1 -0
- package/Spinner/cjs/style.production.css +1 -0
- package/Spinner/index.d.ts +7 -6
- package/Spinner/index.js +5 -76
- package/Spinner/package.json +1 -1
- package/Text/cjs/index.development.js +20 -0
- package/Text/cjs/index.production.js +1 -0
- package/Text/cjs/style.development.css +1 -0
- package/Text/cjs/style.production.css +1 -0
- package/Text/index.js +5 -18
- package/Text/package.json +1 -1
- package/TextEmoji/cjs/index.development.js +94 -0
- package/TextEmoji/cjs/index.production.js +1 -0
- package/TextEmoji/index.d.ts +4 -4
- package/TextEmoji/index.js +4 -84
- package/TextEmoji/package.json +1 -1
- package/Tumbler/cjs/index.development.js +110 -0
- package/Tumbler/cjs/index.production.js +1 -0
- package/Tumbler/cjs/style.development.css +1 -0
- package/Tumbler/cjs/style.production.css +1 -0
- package/Tumbler/index.d.ts +4 -4
- package/Tumbler/index.js +4 -95
- package/Tumbler/package.json +1 -1
- package/package.json +15 -9
- package/Body/style.css +0 -741
- package/Box/style.css +0 -9676
- package/Button/style.css +0 -3393
- package/Checkbox/style.css +0 -133
- package/Flex/style.css +0 -786
- package/Grid/style.css +0 -7350
- package/Icon/style.css +0 -46
- package/Image/style.css +0 -664
- package/Input/style.css +0 -345
- package/Line/style.css +0 -138
- package/Link/style.css +0 -259
- package/List/style.css +0 -312
- package/Picture/style.css +0 -1426
- package/PortableOverlay/style.css +0 -44
- package/Rating/style.css +0 -26
- package/Scroll/style.css +0 -169
- package/ScrollControls/style.css +0 -67
- package/SideOverlay/style.css +0 -208
- package/SimpleSlider/style.css +0 -134
- package/Skeleton/style.css +0 -145
- package/Spinner/style.css +0 -80
- package/Text/style.css +0 -840
- package/Tooltip/Popper/index.d.ts +0 -12
- package/Tooltip/Popper/index.js +0 -88
- package/Tooltip/Popper/package.json +0 -9
- package/Tooltip/Popper/style.css +0 -133
- package/Tooltip/Trigger/index.d.ts +0 -5
- package/Tooltip/Trigger/package.json +0 -9
- package/Tooltip/Trigger/style.css +0 -36
- package/Tooltip/index.d.ts +0 -24
- package/Tooltip/index.js +0 -284
- package/Tooltip/style.css +0 -170
- package/Tooltip/utils.d.ts +0 -1
- package/Tumbler/style.css +0 -118
package/Text/index.js
CHANGED
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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-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-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_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_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
|
-
|
|
9
|
-
evokitText.Text.defaultProps = {
|
|
10
|
-
'text-preset': {
|
|
11
|
-
css: css
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
Object.defineProperty(exports, 'Text', {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return evokitText.Text; }
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
require('./style.css');
|
|
3
|
+
if (process.env.NODE_ENV === 'production') {
|
|
4
|
+
module.exports = require('./cjs/index.production.js');
|
|
5
|
+
} else {
|
|
6
|
+
module.exports = require('./cjs/index.development.js');
|
|
7
|
+
}
|
package/Text/package.json
CHANGED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var emojiText = require('@evo/emoji-text');
|
|
7
|
+
var Text = require('@prom-ui/core/Text');
|
|
8
|
+
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n["default"] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
28
|
+
|
|
29
|
+
/******************************************************************************
|
|
30
|
+
Copyright (c) Microsoft Corporation.
|
|
31
|
+
|
|
32
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
33
|
+
purpose with or without fee is hereby granted.
|
|
34
|
+
|
|
35
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
36
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
37
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
38
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
39
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
40
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
41
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
42
|
+
***************************************************************************** */
|
|
43
|
+
|
|
44
|
+
var __assign = function() {
|
|
45
|
+
__assign = Object.assign || function __assign(t) {
|
|
46
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
47
|
+
s = arguments[i];
|
|
48
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
49
|
+
}
|
|
50
|
+
return t;
|
|
51
|
+
};
|
|
52
|
+
return __assign.apply(this, arguments);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
function __rest(s, e) {
|
|
56
|
+
var t = {};
|
|
57
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
58
|
+
t[p] = s[p];
|
|
59
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
60
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
61
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
62
|
+
t[p[i]] = s[p[i]];
|
|
63
|
+
}
|
|
64
|
+
return t;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
var TEXT_SIZES_LIST = {
|
|
68
|
+
small: 11,
|
|
69
|
+
default: 13,
|
|
70
|
+
big: 15,
|
|
71
|
+
h1: 24,
|
|
72
|
+
h2: 22,
|
|
73
|
+
h3: 20,
|
|
74
|
+
h4: 18,
|
|
75
|
+
h5: 16,
|
|
76
|
+
h6: 14
|
|
77
|
+
};
|
|
78
|
+
var TextEmoji = React__namespace.forwardRef(function (_a, ref) {
|
|
79
|
+
var children = _a.children,
|
|
80
|
+
_b = _a.size,
|
|
81
|
+
size = _b === void 0 ? TEXT_SIZES_LIST.default : _b,
|
|
82
|
+
_c = _a.type,
|
|
83
|
+
type = _c === void 0 ? 'apple' : _c,
|
|
84
|
+
props = __rest(_a, ["children", "size", "type"]);
|
|
85
|
+
|
|
86
|
+
return React__namespace.createElement(Text.Text, __assign({
|
|
87
|
+
ref: ref
|
|
88
|
+
}, props), React__namespace.createElement(emojiText.EmojiText, {
|
|
89
|
+
size: TEXT_SIZES_LIST[props['text-size']] || size,
|
|
90
|
+
type: type
|
|
91
|
+
}, children));
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
exports.TextEmoji = TextEmoji;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("@evo/emoji-text"),r=require("@prom-ui/core/Text");function n(e){if(e&&e.__esModule)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 o=n(e),i=function(){return i=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},i.apply(this,arguments)};var a={small:11,default:13,big:15,h1:24,h2:22,h3:20,h4:18,h5:16,h6:14},c=o.forwardRef((function(e,n){var c=e.children,l=e.size,u=void 0===l?a.default:l,f=e.type,p=void 0===f?"apple":f,s=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,["children","size","type"]);return o.createElement(r.Text,i({ref:n},s),o.createElement(t.EmojiText,{size:a[s["text-size"]]||u,type:p},c))}));exports.TextEmoji=c;
|
package/TextEmoji/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare type TextEmojiProps = React.ComponentPropsWithRef<"span"> & {
|
|
3
|
+
/** @ignore */
|
|
3
4
|
size?: number;
|
|
4
5
|
type?: 'apple' | 'google';
|
|
5
6
|
};
|
|
6
|
-
export declare
|
|
7
|
-
export declare const TextEmoji: React.FC<Props>;
|
|
7
|
+
export declare const TextEmoji: React.ForwardRefExoticComponent<Pick<TextEmojiProps, "key" | keyof React.HTMLAttributes<HTMLSpanElement> | "size" | "type"> & React.RefAttributes<HTMLSpanElement>>;
|
package/TextEmoji/index.js
CHANGED
|
@@ -1,87 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var emojiText = require('@evo/emoji-text');
|
|
8
|
-
var Text = require('@prom-ui/core/Text');
|
|
9
|
-
|
|
10
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
-
|
|
12
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
14
|
-
|
|
15
|
-
/******************************************************************************
|
|
16
|
-
Copyright (c) Microsoft Corporation.
|
|
17
|
-
|
|
18
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
19
|
-
purpose with or without fee is hereby granted.
|
|
20
|
-
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
22
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
23
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
24
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
25
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
26
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
27
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
28
|
-
***************************************************************************** */
|
|
29
|
-
|
|
30
|
-
var __assign = function() {
|
|
31
|
-
__assign = Object.assign || function __assign(t) {
|
|
32
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
-
s = arguments[i];
|
|
34
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
35
|
-
}
|
|
36
|
-
return t;
|
|
37
|
-
};
|
|
38
|
-
return __assign.apply(this, arguments);
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
function __rest(s, e) {
|
|
42
|
-
var t = {};
|
|
43
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
44
|
-
t[p] = s[p];
|
|
45
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
46
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
47
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
48
|
-
t[p[i]] = s[p[i]];
|
|
49
|
-
}
|
|
50
|
-
return t;
|
|
3
|
+
if (process.env.NODE_ENV === 'production') {
|
|
4
|
+
module.exports = require('./cjs/index.production.js');
|
|
5
|
+
} else {
|
|
6
|
+
module.exports = require('./cjs/index.development.js');
|
|
51
7
|
}
|
|
52
|
-
|
|
53
|
-
var TEXT_SIZES_LIST = {
|
|
54
|
-
small: 11,
|
|
55
|
-
default: 13,
|
|
56
|
-
big: 15,
|
|
57
|
-
h1: 24,
|
|
58
|
-
h2: 22,
|
|
59
|
-
h3: 20,
|
|
60
|
-
h4: 18,
|
|
61
|
-
h5: 16,
|
|
62
|
-
h6: 14
|
|
63
|
-
};
|
|
64
|
-
var TextEmoji = React.forwardRef(function (_a, ref) {
|
|
65
|
-
var children = _a.children,
|
|
66
|
-
size = _a.size,
|
|
67
|
-
type = _a.type,
|
|
68
|
-
props = __rest(_a, ["children", "size", "type"]);
|
|
69
|
-
|
|
70
|
-
return React__default["default"].createElement(Text.Text, __assign({
|
|
71
|
-
ref: ref
|
|
72
|
-
}, props), React__default["default"].createElement(emojiText.EmojiText, {
|
|
73
|
-
size: TEXT_SIZES_LIST[props['text-size']] || size,
|
|
74
|
-
type: type
|
|
75
|
-
}, children));
|
|
76
|
-
});
|
|
77
|
-
TextEmoji.defaultProps = {
|
|
78
|
-
size: TEXT_SIZES_LIST.default,
|
|
79
|
-
type: 'apple'
|
|
80
|
-
};
|
|
81
|
-
TextEmoji.propTypes = {
|
|
82
|
-
/** @ignore */
|
|
83
|
-
size: PropTypes__default["default"].number,
|
|
84
|
-
type: PropTypes__default["default"].oneOf(['apple', 'google'])
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
exports.TextEmoji = TextEmoji;
|
package/TextEmoji/package.json
CHANGED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var reactTransitionGroup = require('react-transition-group');
|
|
7
|
+
var classNames = require('classnames');
|
|
8
|
+
var Spinner = require('@prom-ui/core/Spinner');
|
|
9
|
+
|
|
10
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
+
|
|
12
|
+
function _interopNamespace(e) {
|
|
13
|
+
if (e && e.__esModule) return e;
|
|
14
|
+
var n = Object.create(null);
|
|
15
|
+
if (e) {
|
|
16
|
+
Object.keys(e).forEach(function (k) {
|
|
17
|
+
if (k !== 'default') {
|
|
18
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
19
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return e[k]; }
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
n["default"] = e;
|
|
27
|
+
return Object.freeze(n);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
31
|
+
var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
32
|
+
|
|
33
|
+
/******************************************************************************
|
|
34
|
+
Copyright (c) Microsoft Corporation.
|
|
35
|
+
|
|
36
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
37
|
+
purpose with or without fee is hereby granted.
|
|
38
|
+
|
|
39
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
40
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
41
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
42
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
43
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
44
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
45
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
46
|
+
***************************************************************************** */
|
|
47
|
+
|
|
48
|
+
var __assign = function() {
|
|
49
|
+
__assign = Object.assign || function __assign(t) {
|
|
50
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
51
|
+
s = arguments[i];
|
|
52
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
53
|
+
}
|
|
54
|
+
return t;
|
|
55
|
+
};
|
|
56
|
+
return __assign.apply(this, arguments);
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
function __rest(s, e) {
|
|
60
|
+
var t = {};
|
|
61
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
62
|
+
t[p] = s[p];
|
|
63
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
64
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
65
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
66
|
+
t[p[i]] = s[p[i]];
|
|
67
|
+
}
|
|
68
|
+
return t;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
var css = {"root":"Tumbler__root___17yYC","view":"Tumbler__view___w66K2","viewCircle":"Tumbler__viewCircle___xvJqd","input":"Tumbler__input___Kg91O","inputLoading":"Tumbler__inputLoading___y1iJD","spinner":"Tumbler__spinner___CNMl7","spinnerEnterActive":"Tumbler__spinnerEnterActive___C2P5b","spinnerEnterDone":"Tumbler__spinnerEnterDone___cgEXP","spinnerExitActive":"Tumbler__spinnerExitActive___k-mzv","spinnerExitDone":"Tumbler__spinnerExitDone___XD0-8"};
|
|
72
|
+
|
|
73
|
+
var Tumbler = React__namespace.forwardRef(function (_a, ref) {
|
|
74
|
+
var _b;
|
|
75
|
+
|
|
76
|
+
var className = _a.className,
|
|
77
|
+
_c = _a.loading,
|
|
78
|
+
loading = _c === void 0 ? false : _c,
|
|
79
|
+
_d = _a.type,
|
|
80
|
+
type = _d === void 0 ? 'checkbox' : _d,
|
|
81
|
+
props = __rest(_a, ["className", "loading", "type"]);
|
|
82
|
+
|
|
83
|
+
return React__namespace.createElement("div", {
|
|
84
|
+
className: classNames__default["default"](css.root, className)
|
|
85
|
+
}, React__namespace.createElement("input", __assign({
|
|
86
|
+
ref: ref,
|
|
87
|
+
className: classNames__default["default"](css.input, (_b = {}, _b[css.inputLoading] = loading, _b)),
|
|
88
|
+
type: type
|
|
89
|
+
}, props)), React__namespace.createElement("div", {
|
|
90
|
+
className: css.view
|
|
91
|
+
}, React__namespace.createElement("div", {
|
|
92
|
+
className: css.viewCircle
|
|
93
|
+
}, React__namespace.createElement(reactTransitionGroup.CSSTransition, {
|
|
94
|
+
in: loading,
|
|
95
|
+
timeout: 100,
|
|
96
|
+
classNames: {
|
|
97
|
+
enterActive: css.spinnerEnterActive,
|
|
98
|
+
enterDone: css.spinnerEnterDone,
|
|
99
|
+
exitActive: css.spinnerExitActive,
|
|
100
|
+
exitDone: css.spinnerExitDone
|
|
101
|
+
},
|
|
102
|
+
unmountOnExit: true
|
|
103
|
+
}, React__namespace.createElement(Spinner.Spinner, {
|
|
104
|
+
className: css.spinner
|
|
105
|
+
})))));
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
exports.Tumbler = Tumbler;
|
|
109
|
+
|
|
110
|
+
require('./style.development.css');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("react-transition-group"),r=require("classnames"),n=require("@prom-ui/core/Spinner");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function o(e){if(e&&e.__esModule)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 c=o(e),i=a(r),l=function(){return l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},l.apply(this,arguments)};var u="_17yYC",s="w66K2",f="xvJqd",p="Kg91O",m="y1iJD",y="CNMl7",d="C2P5b",v="cgEXP",O="k-mzv",b="XD0-8",g=c.forwardRef((function(e,r){var a,o=e.className,g=e.loading,j=void 0!==g&&g,E=e.type,x=void 0===E?"checkbox":E,N=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 a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(e,["className","loading","type"]);return c.createElement("div",{className:i.default(u,o)},c.createElement("input",l({ref:r,className:i.default(p,(a={},a[m]=j,a)),type:x},N)),c.createElement("div",{className:s},c.createElement("div",{className:f},c.createElement(t.CSSTransition,{in:j,timeout:100,classNames:{enterActive:d,enterDone:v,exitActive:O,exitDone:b},unmountOnExit:!0},c.createElement(n.Spinner,{className:y})))))}));exports.Tumbler=g,require("./style.production.css");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Tumbler__root___17yYC{position:relative;display:block;width:34px;height:20px;padding:3px 0;box-sizing:border-box;margin:calc((var(--pds-line-height) - 20px)/2)0;flex-shrink:0}.Tumbler__view___w66K2{height:100%;border-radius:1em;background:var(--black-400);transition:background-color 120ms ease-in-out}.Tumbler__viewCircle___xvJqd{box-sizing:border-box;position:absolute;top:0;left:0;width:20px;height:20px;border-radius:100%;transform:translateX(0);display:flex;align-items:center;justify-content:center;color:var(--violet-500);background:var(--white);border:1px var(--black-400) solid;box-shadow:1px 1px 4px 0 var(--black-400);transition:120ms ease-in-out;transition-property:background-color,border-color,transform}.Tumbler__input___Kg91O{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;padding:0;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1;cursor:pointer}.Tumbler__input___Kg91O:disabled{cursor:default}.Tumbler__input___Kg91O:focus-visible+.Tumbler__view___w66K2 .Tumbler__viewCircle___xvJqd{outline:var(--pds-round-xxs) auto Highlight;outline:var(--pds-round-xxs) auto -webkit-focus-ring-color}.Tumbler__input___Kg91O:checked+.Tumbler__view___w66K2{background-color:var(--violet-50)}.Tumbler__input___Kg91O:checked+.Tumbler__view___w66K2 .Tumbler__viewCircle___xvJqd{transform:translateX(14px);color:var(--white);background-color:var(--violet-500);border-color:var(--violet-500)}.Tumbler__input___Kg91O:disabled+.Tumbler__view___w66K2{background-color:var(--black-200)}.Tumbler__input___Kg91O:disabled+.Tumbler__view___w66K2 .Tumbler__viewCircle___xvJqd{box-shadow:none;color:var(--violet-500);background-color:var(--black-400);border-color:var(--black-400)}.Tumbler__inputLoading___y1iJD{pointer-events:none;cursor:default}.Tumbler__spinner___CNMl7{opacity:0;transition:opacity 100ms ease-in-out;width:1em;height:1em}.Tumbler__spinnerEnterActive___C2P5b,.Tumbler__spinnerEnterDone___cgEXP{opacity:1}.Tumbler__spinnerExitActive___k-mzv,.Tumbler__spinnerExitDone___XD0-8{opacity:0}@media (hover){.Tumbler__input___Kg91O:hover+.Tumbler__view___w66K2 .Tumbler__viewCircle___xvJqd{border-color:var(--black-500)}.Tumbler__input___Kg91O:checked:hover+.Tumbler__view___w66K2 .Tumbler__viewCircle___xvJqd{border-color:var(--violet-500)}.Tumbler__input___Kg91O:disabled:hover+.Tumbler__view___w66K2 .Tumbler__viewCircle___xvJqd{border-color:var(--black-400)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._17yYC{position:relative;display:block;width:34px;height:20px;padding:3px 0;box-sizing:border-box;margin:calc((var(--pds-line-height) - 20px)/2)0;flex-shrink:0}.w66K2{height:100%;border-radius:1em;background:var(--black-400);transition:background-color 120ms ease-in-out}.xvJqd{box-sizing:border-box;position:absolute;top:0;left:0;width:20px;height:20px;border-radius:100%;transform:translateX(0);display:flex;align-items:center;justify-content:center;color:var(--violet-500);background:var(--white);border:1px var(--black-400) solid;box-shadow:1px 1px 4px 0 var(--black-400);transition:120ms ease-in-out;transition-property:background-color,border-color,transform}.Kg91O{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;padding:0;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1;cursor:pointer}.Kg91O:disabled{cursor:default}.Kg91O:focus-visible+.w66K2 .xvJqd{outline:var(--pds-round-xxs) auto Highlight;outline:var(--pds-round-xxs) auto -webkit-focus-ring-color}.Kg91O:checked+.w66K2{background-color:var(--violet-50)}.Kg91O:checked+.w66K2 .xvJqd{transform:translateX(14px);color:var(--white);background-color:var(--violet-500);border-color:var(--violet-500)}.Kg91O:disabled+.w66K2{background-color:var(--black-200)}.Kg91O:disabled+.w66K2 .xvJqd{box-shadow:none;color:var(--violet-500);background-color:var(--black-400);border-color:var(--black-400)}.y1iJD{pointer-events:none;cursor:default}.CNMl7{opacity:0;transition:opacity 100ms ease-in-out;width:1em;height:1em}.C2P5b,.cgEXP{opacity:1}.k-mzv,.XD0-8{opacity:0}@media (hover){.Kg91O:hover+.w66K2 .xvJqd{border-color:var(--black-500)}.Kg91O:checked:hover+.w66K2 .xvJqd{border-color:var(--violet-500)}.Kg91O:disabled:hover+.w66K2 .xvJqd{border-color:var(--black-400)}}
|
package/Tumbler/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare type
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare type TumblerProps = React.ComponentPropsWithRef<"input"> & {
|
|
3
3
|
type?: 'checkbox' | 'radio';
|
|
4
4
|
className?: string;
|
|
5
|
+
/** Спиннер */
|
|
5
6
|
loading?: boolean;
|
|
6
7
|
};
|
|
7
|
-
export declare const Tumbler: React.
|
|
8
|
-
export {};
|
|
8
|
+
export declare const Tumbler: React.ForwardRefExoticComponent<Pick<TumblerProps, "key" | keyof React.InputHTMLAttributes<HTMLInputElement> | "loading"> & React.RefAttributes<HTMLInputElement>>;
|
package/Tumbler/index.js
CHANGED
|
@@ -1,98 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var PropTypes = require('prop-types');
|
|
8
|
-
var classNames = require('classnames');
|
|
9
|
-
var Spinner = require('@prom-ui/core/Spinner');
|
|
10
|
-
|
|
11
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
|
-
|
|
13
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
14
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
15
|
-
var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
16
|
-
|
|
17
|
-
/******************************************************************************
|
|
18
|
-
Copyright (c) Microsoft Corporation.
|
|
19
|
-
|
|
20
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
21
|
-
purpose with or without fee is hereby granted.
|
|
22
|
-
|
|
23
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
24
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
25
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
26
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
27
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
28
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
29
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
30
|
-
***************************************************************************** */
|
|
31
|
-
|
|
32
|
-
var __assign = function() {
|
|
33
|
-
__assign = Object.assign || function __assign(t) {
|
|
34
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
35
|
-
s = arguments[i];
|
|
36
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
37
|
-
}
|
|
38
|
-
return t;
|
|
39
|
-
};
|
|
40
|
-
return __assign.apply(this, arguments);
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
function __rest(s, e) {
|
|
44
|
-
var t = {};
|
|
45
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
46
|
-
t[p] = s[p];
|
|
47
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
48
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
49
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
50
|
-
t[p[i]] = s[p[i]];
|
|
51
|
-
}
|
|
52
|
-
return t;
|
|
3
|
+
if (process.env.NODE_ENV === 'production') {
|
|
4
|
+
module.exports = require('./cjs/index.production.js');
|
|
5
|
+
} else {
|
|
6
|
+
module.exports = require('./cjs/index.development.js');
|
|
53
7
|
}
|
|
54
|
-
|
|
55
|
-
var css = {"root":"Tumbler__root___17yYC","view":"Tumbler__view___w66K2","viewCircle":"Tumbler__viewCircle___xvJqd","input":"Tumbler__input___Kg91O","inputLoading":"Tumbler__inputLoading___y1iJD","spinner":"Tumbler__spinner___CNMl7","spinnerEnterActive":"Tumbler__spinnerEnterActive___C2P5b","spinnerEnterDone":"Tumbler__spinnerEnterDone___cgEXP","spinnerExitActive":"Tumbler__spinnerExitActive___k-mzv","spinnerExitDone":"Tumbler__spinnerExitDone___XD0-8"};
|
|
56
|
-
|
|
57
|
-
var Tumbler = React.forwardRef(function (_a, ref) {
|
|
58
|
-
var _b;
|
|
59
|
-
|
|
60
|
-
var className = _a.className,
|
|
61
|
-
loading = _a.loading,
|
|
62
|
-
props = __rest(_a, ["className", "loading"]);
|
|
63
|
-
|
|
64
|
-
return React__default["default"].createElement("div", {
|
|
65
|
-
className: classNames__default["default"](css.root, className)
|
|
66
|
-
}, React__default["default"].createElement("input", __assign({
|
|
67
|
-
ref: ref,
|
|
68
|
-
className: classNames__default["default"](css.input, (_b = {}, _b[css.inputLoading] = loading, _b))
|
|
69
|
-
}, props)), React__default["default"].createElement("div", {
|
|
70
|
-
className: css.view
|
|
71
|
-
}, React__default["default"].createElement("div", {
|
|
72
|
-
className: css.viewCircle
|
|
73
|
-
}, React__default["default"].createElement(reactTransitionGroup.CSSTransition, {
|
|
74
|
-
in: loading,
|
|
75
|
-
timeout: 100,
|
|
76
|
-
classNames: {
|
|
77
|
-
enterActive: css.spinnerEnterActive,
|
|
78
|
-
enterDone: css.spinnerEnterDone,
|
|
79
|
-
exitActive: css.spinnerExitActive,
|
|
80
|
-
exitDone: css.spinnerExitDone
|
|
81
|
-
},
|
|
82
|
-
unmountOnExit: true
|
|
83
|
-
}, React__default["default"].createElement(Spinner.Spinner, {
|
|
84
|
-
className: css.spinner
|
|
85
|
-
})))));
|
|
86
|
-
});
|
|
87
|
-
Tumbler.defaultProps = {
|
|
88
|
-
type: 'checkbox',
|
|
89
|
-
loading: false
|
|
90
|
-
};
|
|
91
|
-
Tumbler.propTypes = {
|
|
92
|
-
type: PropTypes__default["default"].oneOf(['checkbox', 'radio']),
|
|
93
|
-
loading: PropTypes__default["default"].bool
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
exports.Tumbler = Tumbler;
|
|
97
|
-
|
|
98
|
-
require('./style.css');
|
package/Tumbler/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prom-ui/core",
|
|
3
3
|
"author": "e.marchenko",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.30",
|
|
5
5
|
"description": "core ui blocks",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"prebuild": "node ./preBuild.js",
|
|
8
|
-
"build": "rollup --config ./rollup.config.js",
|
|
9
|
-
"
|
|
8
|
+
"build": "NODE_ENV=development rollup --config ./rollup.config.js",
|
|
9
|
+
"postbuild": "NODE_ENV=production rollup --config ./rollup.config.js",
|
|
10
10
|
"prepublishOnly": "npm run build"
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|
|
@@ -20,15 +20,12 @@
|
|
|
20
20
|
"directory": "dist"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@
|
|
24
|
-
"@prom-ui/hooks": "file:../hooks/src",
|
|
25
|
-
"@prom-ui/icons": "file:../icons/src"
|
|
23
|
+
"@apollo/client": "^3.6.5"
|
|
26
24
|
},
|
|
27
25
|
"dependencies": {
|
|
28
26
|
"@evo/emoji": "^0.2.0",
|
|
29
27
|
"@evo/emoji-text": "^0.1.1",
|
|
30
|
-
"@
|
|
31
|
-
"@prom-ui/icons": "^0.0.5",
|
|
28
|
+
"@evo/errcatch": "^1.0.2",
|
|
32
29
|
"classnames": "^2.3.1",
|
|
33
30
|
"evokit": "^3.2.3",
|
|
34
31
|
"evokit-body": "^3.2.0",
|
|
@@ -45,15 +42,24 @@
|
|
|
45
42
|
"intersection-observer": "^0.12.0",
|
|
46
43
|
"react-easy-swipe": "^0.0.22",
|
|
47
44
|
"react-popper-tooltip": "2.10.1",
|
|
45
|
+
"react-responsive": "^8.1.0",
|
|
48
46
|
"react-scrolllock": "^5.0.1",
|
|
49
47
|
"react-transition-group": "^4.4.2",
|
|
50
48
|
"ts-debounce": "^4.0.0",
|
|
51
49
|
"ttag": "^1.7.24"
|
|
52
50
|
},
|
|
53
51
|
"peerDependencies": {
|
|
52
|
+
"@apollo/client": "*",
|
|
53
|
+
"@prom-ui/hooks": "*",
|
|
54
|
+
"@prom-ui/icons": "*",
|
|
54
55
|
"prop-types": "*",
|
|
55
56
|
"react": "*",
|
|
56
57
|
"react-dom": "*"
|
|
57
58
|
},
|
|
58
|
-
"
|
|
59
|
+
"peerDependenciesMeta": {
|
|
60
|
+
"@apollo/client": {
|
|
61
|
+
"optional": true
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"gitHead": "2481e353174b859b7a12e04368650eb5c5b8d041"
|
|
59
65
|
}
|