@salutejs/plasma-new-hope 0.192.3-dev.0 → 0.193.0-canary.1546.11814894884.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. package/cjs/components/Badge/Badge.css +4 -4
  2. package/cjs/components/Badge/Badge.js +17 -7
  3. package/cjs/components/Badge/Badge.js.map +1 -1
  4. package/cjs/components/Badge/Badge.tokens.js +10 -5
  5. package/cjs/components/Badge/Badge.tokens.js.map +1 -1
  6. package/cjs/components/Badge/variations/_clear/base.js +1 -1
  7. package/cjs/components/Badge/variations/_clear/base.js.map +1 -1
  8. package/cjs/components/Badge/variations/_clear/base_wiboj8.css +1 -0
  9. package/cjs/components/Badge/variations/_size/base.js +1 -1
  10. package/cjs/components/Badge/variations/_size/base.js.map +1 -1
  11. package/{es/components/Badge/variations/_size/base_to0y5x.css → cjs/components/Badge/variations/_size/base_bu5opk.css} +1 -1
  12. package/cjs/components/Badge/variations/_transparent/base.js +1 -1
  13. package/cjs/components/Badge/variations/_transparent/base.js.map +1 -1
  14. package/cjs/components/Badge/variations/_transparent/base_aapqhz.css +1 -0
  15. package/cjs/components/Badge/variations/_view/base.js +1 -1
  16. package/cjs/components/Badge/variations/_view/base.js.map +1 -1
  17. package/cjs/components/Badge/variations/_view/base_j3xzf3.css +1 -0
  18. package/cjs/index.css +4 -4
  19. package/emotion/cjs/components/Badge/Badge.js +17 -7
  20. package/emotion/cjs/components/Badge/Badge.tokens.js +10 -6
  21. package/emotion/cjs/components/Badge/variations/_clear/base.js +1 -1
  22. package/emotion/cjs/components/Badge/variations/_size/base.js +2 -1
  23. package/emotion/cjs/components/Badge/variations/_transparent/base.js +1 -1
  24. package/emotion/cjs/components/Badge/variations/_view/base.js +1 -1
  25. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +15 -15
  26. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
  27. package/emotion/cjs/examples/plasma_web/components/Badge/Badge.config.js +14 -14
  28. package/emotion/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
  29. package/emotion/es/components/Badge/Badge.js +18 -8
  30. package/emotion/es/components/Badge/Badge.tokens.js +9 -5
  31. package/emotion/es/components/Badge/variations/_clear/base.js +2 -2
  32. package/emotion/es/components/Badge/variations/_size/base.js +3 -2
  33. package/emotion/es/components/Badge/variations/_transparent/base.js +2 -2
  34. package/emotion/es/components/Badge/variations/_view/base.js +2 -2
  35. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +15 -15
  36. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
  37. package/emotion/es/examples/plasma_web/components/Badge/Badge.config.js +14 -14
  38. package/emotion/es/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
  39. package/es/components/Badge/Badge.css +4 -4
  40. package/es/components/Badge/Badge.js +20 -10
  41. package/es/components/Badge/Badge.js.map +1 -1
  42. package/es/components/Badge/Badge.tokens.js +10 -6
  43. package/es/components/Badge/Badge.tokens.js.map +1 -1
  44. package/es/components/Badge/variations/_clear/base.js +1 -1
  45. package/es/components/Badge/variations/_clear/base.js.map +1 -1
  46. package/es/components/Badge/variations/_clear/base_wiboj8.css +1 -0
  47. package/es/components/Badge/variations/_size/base.js +1 -1
  48. package/es/components/Badge/variations/_size/base.js.map +1 -1
  49. package/{cjs/components/Badge/variations/_size/base_to0y5x.css → es/components/Badge/variations/_size/base_bu5opk.css} +1 -1
  50. package/es/components/Badge/variations/_transparent/base.js +1 -1
  51. package/es/components/Badge/variations/_transparent/base.js.map +1 -1
  52. package/es/components/Badge/variations/_transparent/base_aapqhz.css +1 -0
  53. package/es/components/Badge/variations/_view/base.js +1 -1
  54. package/es/components/Badge/variations/_view/base.js.map +1 -1
  55. package/es/components/Badge/variations/_view/base_j3xzf3.css +1 -0
  56. package/es/index.css +4 -4
  57. package/package.json +2 -2
  58. package/styled-components/cjs/components/Badge/Badge.js +17 -7
  59. package/styled-components/cjs/components/Badge/Badge.tokens.js +10 -6
  60. package/styled-components/cjs/components/Badge/variations/_clear/base.js +1 -1
  61. package/styled-components/cjs/components/Badge/variations/_size/base.js +2 -1
  62. package/styled-components/cjs/components/Badge/variations/_transparent/base.js +1 -1
  63. package/styled-components/cjs/components/Badge/variations/_view/base.js +1 -1
  64. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
  65. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
  66. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.config.js +5 -5
  67. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
  68. package/styled-components/es/components/Badge/Badge.js +18 -8
  69. package/styled-components/es/components/Badge/Badge.tokens.js +9 -5
  70. package/styled-components/es/components/Badge/variations/_clear/base.js +2 -2
  71. package/styled-components/es/components/Badge/variations/_size/base.js +3 -2
  72. package/styled-components/es/components/Badge/variations/_transparent/base.js +2 -2
  73. package/styled-components/es/components/Badge/variations/_view/base.js +2 -2
  74. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
  75. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
  76. package/styled-components/es/examples/plasma_web/components/Badge/Badge.config.js +5 -5
  77. package/styled-components/es/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
  78. package/types/components/Badge/Badge.d.ts.map +1 -1
  79. package/types/components/Badge/Badge.tokens.d.ts +8 -4
  80. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  81. package/types/components/Badge/Badge.types.d.ts +18 -5
  82. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  83. package/types/components/Badge/variations/_clear/base.d.ts.map +1 -1
  84. package/types/components/Badge/variations/_size/base.d.ts.map +1 -1
  85. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  86. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +61 -4
  87. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  88. package/types/examples/plasma_web/components/Badge/Badge.config.d.ts.map +1 -1
  89. package/types/examples/plasma_web/components/Badge/Badge.d.ts +61 -4
  90. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  91. package/cjs/components/Badge/variations/_clear/base_oopyb7.css +0 -1
  92. package/cjs/components/Badge/variations/_transparent/base_1l6036y.css +0 -1
  93. package/cjs/components/Badge/variations/_view/base_qlxank.css +0 -1
  94. package/es/components/Badge/variations/_clear/base_oopyb7.css +0 -1
  95. package/es/components/Badge/variations/_transparent/base_1l6036y.css +0 -1
  96. package/es/components/Badge/variations/_view/base_qlxank.css +0 -1
@@ -29,11 +29,14 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
29
29
  };
30
30
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
31
31
  text?: string | undefined;
32
- contentLeft?: import("react").ReactNode;
33
- contentRight?: import("react").ReactNode;
32
+ customColor?: string | undefined;
33
+ customBackgroundColor?: string | undefined;
34
34
  maxWidth?: import("csstype").Property.Width<string | number> | undefined;
35
35
  size?: string | undefined;
36
36
  view?: string | undefined;
37
+ } & {
38
+ contentLeft?: import("react").ReactNode;
39
+ contentRight?: undefined;
37
40
  } & {
38
41
  children?: import("react").ReactNode;
39
42
  } & {
@@ -42,11 +45,14 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
42
45
  transparent?: false | undefined;
43
46
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
44
47
  text?: string | undefined;
45
- contentLeft?: import("react").ReactNode;
46
- contentRight?: import("react").ReactNode;
48
+ customColor?: string | undefined;
49
+ customBackgroundColor?: string | undefined;
47
50
  maxWidth?: import("csstype").Property.Width<string | number> | undefined;
48
51
  size?: string | undefined;
49
52
  view?: string | undefined;
53
+ } & {
54
+ contentLeft?: import("react").ReactNode;
55
+ contentRight?: undefined;
50
56
  } & {
51
57
  children?: import("react").ReactNode;
52
58
  } & {
@@ -55,11 +61,62 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
55
61
  clear?: false | undefined;
56
62
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
57
63
  text?: string | undefined;
64
+ customColor?: string | undefined;
65
+ customBackgroundColor?: string | undefined;
66
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
67
+ size?: string | undefined;
68
+ view?: string | undefined;
69
+ } & {
58
70
  contentLeft?: import("react").ReactNode;
71
+ contentRight?: undefined;
72
+ } & {
73
+ children?: import("react").ReactNode;
74
+ } & {
75
+ pilled?: boolean | undefined;
76
+ transparent?: true | undefined;
77
+ clear?: false | undefined;
78
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
79
+ text?: string | undefined;
80
+ customColor?: string | undefined;
81
+ customBackgroundColor?: string | undefined;
82
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
83
+ size?: string | undefined;
84
+ view?: string | undefined;
85
+ } & {
86
+ contentLeft?: undefined;
59
87
  contentRight?: import("react").ReactNode;
88
+ } & {
89
+ children?: import("react").ReactNode;
90
+ } & {
91
+ clear?: true | undefined;
92
+ pilled?: false | undefined;
93
+ transparent?: false | undefined;
94
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
95
+ text?: string | undefined;
96
+ customColor?: string | undefined;
97
+ customBackgroundColor?: string | undefined;
60
98
  maxWidth?: import("csstype").Property.Width<string | number> | undefined;
61
99
  size?: string | undefined;
62
100
  view?: string | undefined;
101
+ } & {
102
+ contentLeft?: undefined;
103
+ contentRight?: import("react").ReactNode;
104
+ } & {
105
+ children?: import("react").ReactNode;
106
+ } & {
107
+ pilled?: true | undefined;
108
+ transparent?: boolean | undefined;
109
+ clear?: false | undefined;
110
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
111
+ text?: string | undefined;
112
+ customColor?: string | undefined;
113
+ customBackgroundColor?: string | undefined;
114
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
115
+ size?: string | undefined;
116
+ view?: string | undefined;
117
+ } & {
118
+ contentLeft?: undefined;
119
+ contentRight?: import("react").ReactNode;
63
120
  } & {
64
121
  children?: import("react").ReactNode;
65
122
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Badge/Badge.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA0B,CAAC"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Badge/Badge.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Badge/Badge.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiKlB,CAAC"}
1
+ {"version":3,"file":"Badge.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Badge/Badge.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmKlB,CAAC"}
@@ -26,11 +26,14 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
26
26
  };
27
27
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
28
28
  text?: string | undefined;
29
- contentLeft?: import("react").ReactNode;
30
- contentRight?: import("react").ReactNode;
29
+ customColor?: string | undefined;
30
+ customBackgroundColor?: string | undefined;
31
31
  maxWidth?: import("csstype").Property.Width<string | number> | undefined;
32
32
  size?: string | undefined;
33
33
  view?: string | undefined;
34
+ } & {
35
+ contentLeft?: import("react").ReactNode;
36
+ contentRight?: undefined;
34
37
  } & {
35
38
  children?: import("react").ReactNode;
36
39
  } & {
@@ -39,11 +42,14 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
39
42
  transparent?: false | undefined;
40
43
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
41
44
  text?: string | undefined;
42
- contentLeft?: import("react").ReactNode;
43
- contentRight?: import("react").ReactNode;
45
+ customColor?: string | undefined;
46
+ customBackgroundColor?: string | undefined;
44
47
  maxWidth?: import("csstype").Property.Width<string | number> | undefined;
45
48
  size?: string | undefined;
46
49
  view?: string | undefined;
50
+ } & {
51
+ contentLeft?: import("react").ReactNode;
52
+ contentRight?: undefined;
47
53
  } & {
48
54
  children?: import("react").ReactNode;
49
55
  } & {
@@ -52,11 +58,62 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
52
58
  clear?: false | undefined;
53
59
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
54
60
  text?: string | undefined;
61
+ customColor?: string | undefined;
62
+ customBackgroundColor?: string | undefined;
63
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
64
+ size?: string | undefined;
65
+ view?: string | undefined;
66
+ } & {
55
67
  contentLeft?: import("react").ReactNode;
68
+ contentRight?: undefined;
69
+ } & {
70
+ children?: import("react").ReactNode;
71
+ } & {
72
+ pilled?: boolean | undefined;
73
+ transparent?: true | undefined;
74
+ clear?: false | undefined;
75
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
76
+ text?: string | undefined;
77
+ customColor?: string | undefined;
78
+ customBackgroundColor?: string | undefined;
79
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
80
+ size?: string | undefined;
81
+ view?: string | undefined;
82
+ } & {
83
+ contentLeft?: undefined;
56
84
  contentRight?: import("react").ReactNode;
85
+ } & {
86
+ children?: import("react").ReactNode;
87
+ } & {
88
+ clear?: true | undefined;
89
+ pilled?: false | undefined;
90
+ transparent?: false | undefined;
91
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
92
+ text?: string | undefined;
93
+ customColor?: string | undefined;
94
+ customBackgroundColor?: string | undefined;
57
95
  maxWidth?: import("csstype").Property.Width<string | number> | undefined;
58
96
  size?: string | undefined;
59
97
  view?: string | undefined;
98
+ } & {
99
+ contentLeft?: undefined;
100
+ contentRight?: import("react").ReactNode;
101
+ } & {
102
+ children?: import("react").ReactNode;
103
+ } & {
104
+ pilled?: true | undefined;
105
+ transparent?: boolean | undefined;
106
+ clear?: false | undefined;
107
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
108
+ text?: string | undefined;
109
+ customColor?: string | undefined;
110
+ customBackgroundColor?: string | undefined;
111
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
112
+ size?: string | undefined;
113
+ view?: string | undefined;
114
+ } & {
115
+ contentLeft?: undefined;
116
+ contentRight?: import("react").ReactNode;
60
117
  } & {
61
118
  children?: import("react").ReactNode;
62
119
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Badge/Badge.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA0B,CAAC"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Badge/Badge.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA0B,CAAC"}
@@ -1 +0,0 @@
1
- .b1e1wuvi.badge-clear{color:var(--plasma-badge-color-clear);background-color:transparent;padding:0;}
@@ -1 +0,0 @@
1
- .binquhc.badge-transparent{color:var(--plasma-badge-color-transparent);background-color:var(--plasma-badge-background-transparent);}
@@ -1 +0,0 @@
1
- .b5zny0e{color:var(--plasma-badge-color);background-color:var(--plasma-badge-background);}
@@ -1 +0,0 @@
1
- .b1e1wuvi.badge-clear{color:var(--plasma-badge-color-clear);background-color:transparent;padding:0;}
@@ -1 +0,0 @@
1
- .binquhc.badge-transparent{color:var(--plasma-badge-color-transparent);background-color:var(--plasma-badge-background-transparent);}
@@ -1 +0,0 @@
1
- .b5zny0e{color:var(--plasma-badge-color);background-color:var(--plasma-badge-background);}