@salutejs/plasma-new-hope 0.84.2-canary.1217.9256888978.0 → 0.85.0-canary.1208.9252417590.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. package/cjs/components/Checkbox/Checkbox.styles.js.map +1 -1
  2. package/cjs/components/Radiobox/Radiobox.js.map +1 -1
  3. package/cjs/components/Range/Range.css +63 -0
  4. package/cjs/components/Range/Range.js +146 -0
  5. package/cjs/components/Range/Range.js.map +1 -0
  6. package/cjs/components/Range/Range.styles.js +63 -0
  7. package/cjs/components/Range/Range.styles.js.map +1 -0
  8. package/cjs/components/Range/Range.styles_mc4w65.css +8 -0
  9. package/cjs/components/Range/Range.tokens.js +106 -0
  10. package/cjs/components/Range/Range.tokens.js.map +1 -0
  11. package/cjs/components/Range/utils/index.js +24 -0
  12. package/cjs/components/Range/utils/index.js.map +1 -0
  13. package/cjs/components/Range/variations/_disabled/base.js +9 -0
  14. package/cjs/components/Range/variations/_disabled/base.js.map +1 -0
  15. package/cjs/components/Range/variations/_disabled/base_1ufizo4.css +1 -0
  16. package/cjs/components/Range/variations/_readonly/base.js +9 -0
  17. package/cjs/components/Range/variations/_readonly/base.js.map +1 -0
  18. package/cjs/components/Range/variations/_readonly/base_tzdxy8.css +1 -0
  19. package/cjs/components/Range/variations/_size/base.js +9 -0
  20. package/cjs/components/Range/variations/_size/base.js.map +1 -0
  21. package/cjs/components/Range/variations/_size/base_16xiubi.css +1 -0
  22. package/cjs/components/Range/variations/_view/base.js +9 -0
  23. package/cjs/components/Range/variations/_view/base.js.map +1 -0
  24. package/cjs/components/Range/variations/_view/base_5iz3nr.css +1 -0
  25. package/cjs/components/Slider/Slider.css +11 -9
  26. package/cjs/components/Slider/components/Double/Double.css +11 -9
  27. package/cjs/components/TextField/TextField.js +10 -10
  28. package/cjs/components/TextField/TextField.js.map +1 -1
  29. package/cjs/components/TextField/TextField.styles.js +13 -1
  30. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  31. package/cjs/components/TextField/{TextField.styles_1b1mddp.css → TextField.styles_aqmut.css} +2 -0
  32. package/cjs/components/TextField/TextField.tokens.js +5 -0
  33. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  34. package/cjs/components/TextField/variations/_label-placement/inner.js +1 -1
  35. package/cjs/components/TextField/variations/_label-placement/inner.js.map +1 -1
  36. package/cjs/components/TextField/variations/_label-placement/inner_7c08qb.css +1 -0
  37. package/cjs/components/TextField/variations/_size/base.js +1 -1
  38. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  39. package/{es/components/TextField/variations/_size/base_1khzr9t.css → cjs/components/TextField/variations/_size/base_ntoddv.css} +1 -1
  40. package/cjs/components/TextField/variations/_view/base.js +1 -1
  41. package/cjs/components/TextField/variations/_view/base.js.map +1 -1
  42. package/{es/components/TextField/variations/_view/base_1qd77x6.css → cjs/components/TextField/variations/_view/base_19gxyva.css} +1 -1
  43. package/cjs/index.css +28 -9
  44. package/cjs/index.js +5 -0
  45. package/cjs/index.js.map +1 -1
  46. package/es/components/Checkbox/Checkbox.styles.js.map +1 -1
  47. package/es/components/Radiobox/Radiobox.js.map +1 -1
  48. package/es/components/Range/Range.css +63 -0
  49. package/es/components/Range/Range.js +141 -0
  50. package/es/components/Range/Range.js.map +1 -0
  51. package/es/components/Range/Range.styles.js +52 -0
  52. package/es/components/Range/Range.styles.js.map +1 -0
  53. package/es/components/Range/Range.styles_mc4w65.css +8 -0
  54. package/es/components/Range/Range.tokens.js +101 -0
  55. package/es/components/Range/Range.tokens.js.map +1 -0
  56. package/es/components/Range/utils/index.js +19 -0
  57. package/es/components/Range/utils/index.js.map +1 -0
  58. package/es/components/Range/variations/_disabled/base.js +5 -0
  59. package/es/components/Range/variations/_disabled/base.js.map +1 -0
  60. package/es/components/Range/variations/_disabled/base_1ufizo4.css +1 -0
  61. package/es/components/Range/variations/_readonly/base.js +5 -0
  62. package/es/components/Range/variations/_readonly/base.js.map +1 -0
  63. package/es/components/Range/variations/_readonly/base_tzdxy8.css +1 -0
  64. package/es/components/Range/variations/_size/base.js +5 -0
  65. package/es/components/Range/variations/_size/base.js.map +1 -0
  66. package/es/components/Range/variations/_size/base_16xiubi.css +1 -0
  67. package/es/components/Range/variations/_view/base.js +5 -0
  68. package/es/components/Range/variations/_view/base.js.map +1 -0
  69. package/es/components/Range/variations/_view/base_5iz3nr.css +1 -0
  70. package/es/components/Slider/Slider.css +11 -9
  71. package/es/components/Slider/components/Double/Double.css +11 -9
  72. package/es/components/TextField/TextField.js +11 -11
  73. package/es/components/TextField/TextField.js.map +1 -1
  74. package/es/components/TextField/TextField.styles.js +12 -2
  75. package/es/components/TextField/TextField.styles.js.map +1 -1
  76. package/es/components/TextField/{TextField.styles_1b1mddp.css → TextField.styles_aqmut.css} +2 -0
  77. package/es/components/TextField/TextField.tokens.js +5 -0
  78. package/es/components/TextField/TextField.tokens.js.map +1 -1
  79. package/es/components/TextField/variations/_label-placement/inner.js +1 -1
  80. package/es/components/TextField/variations/_label-placement/inner.js.map +1 -1
  81. package/es/components/TextField/variations/_label-placement/inner_7c08qb.css +1 -0
  82. package/es/components/TextField/variations/_size/base.js +1 -1
  83. package/es/components/TextField/variations/_size/base.js.map +1 -1
  84. package/{cjs/components/TextField/variations/_size/base_1khzr9t.css → es/components/TextField/variations/_size/base_ntoddv.css} +1 -1
  85. package/es/components/TextField/variations/_view/base.js +1 -1
  86. package/es/components/TextField/variations/_view/base.js.map +1 -1
  87. package/{cjs/components/TextField/variations/_view/base_1qd77x6.css → es/components/TextField/variations/_view/base_19gxyva.css} +1 -1
  88. package/es/index.css +28 -9
  89. package/es/index.js +2 -0
  90. package/es/index.js.map +1 -1
  91. package/package.json +2 -2
  92. package/styled-components/cjs/components/Range/Range.js +148 -0
  93. package/styled-components/cjs/components/Range/Range.styles.js +39 -0
  94. package/styled-components/cjs/components/Range/Range.template-doc.mdx +323 -0
  95. package/styled-components/cjs/components/Range/Range.tokens.js +104 -0
  96. package/styled-components/cjs/components/Range/Range.types.js +5 -0
  97. package/styled-components/cjs/components/Range/index.js +25 -0
  98. package/styled-components/cjs/components/Range/utils/index.js +22 -0
  99. package/styled-components/cjs/components/Range/variations/_disabled/base.js +9 -0
  100. package/styled-components/cjs/components/Range/variations/_disabled/tokens.json +4 -0
  101. package/styled-components/cjs/components/Range/variations/_readonly/base.js +10 -0
  102. package/styled-components/cjs/components/Range/variations/_readonly/tokens.json +4 -0
  103. package/styled-components/cjs/components/Range/variations/_size/base.js +10 -0
  104. package/styled-components/cjs/components/Range/variations/_size/tokens.json +26 -0
  105. package/styled-components/cjs/components/Range/variations/_view/base.js +10 -0
  106. package/styled-components/cjs/components/Range/variations/_view/tokens.json +6 -0
  107. package/styled-components/cjs/components/TextField/TextField.js +10 -10
  108. package/styled-components/cjs/components/TextField/TextField.styles.js +7 -1
  109. package/styled-components/cjs/components/TextField/TextField.tokens.js +5 -0
  110. package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +1 -1
  111. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  112. package/styled-components/cjs/components/TextField/variations/_view/base.js +1 -1
  113. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.config.js +31 -0
  114. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.js +11 -0
  115. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +312 -0
  116. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +8 -8
  117. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +2 -0
  118. package/styled-components/cjs/examples/plasma_web/components/Range/Range.config.js +31 -0
  119. package/styled-components/cjs/examples/plasma_web/components/Range/Range.js +11 -0
  120. package/styled-components/cjs/examples/plasma_web/components/Range/Range.stories.tsx +312 -0
  121. package/styled-components/cjs/index.js +11 -0
  122. package/styled-components/es/components/Range/Range.js +139 -0
  123. package/styled-components/es/components/Range/Range.styles.js +31 -0
  124. package/styled-components/es/components/Range/Range.template-doc.mdx +323 -0
  125. package/styled-components/es/components/Range/Range.tokens.js +98 -0
  126. package/styled-components/es/components/Range/Range.types.js +1 -0
  127. package/styled-components/es/components/Range/index.js +2 -0
  128. package/styled-components/es/components/Range/utils/index.js +16 -0
  129. package/styled-components/es/components/Range/variations/_disabled/base.js +3 -0
  130. package/styled-components/es/components/Range/variations/_disabled/tokens.json +4 -0
  131. package/styled-components/es/components/Range/variations/_readonly/base.js +4 -0
  132. package/styled-components/es/components/Range/variations/_readonly/tokens.json +4 -0
  133. package/styled-components/es/components/Range/variations/_size/base.js +4 -0
  134. package/styled-components/es/components/Range/variations/_size/tokens.json +26 -0
  135. package/styled-components/es/components/Range/variations/_view/base.js +4 -0
  136. package/styled-components/es/components/Range/variations/_view/tokens.json +6 -0
  137. package/styled-components/es/components/TextField/TextField.js +11 -11
  138. package/styled-components/es/components/TextField/TextField.styles.js +6 -0
  139. package/styled-components/es/components/TextField/TextField.tokens.js +5 -0
  140. package/styled-components/es/components/TextField/variations/_label-placement/inner.js +2 -2
  141. package/styled-components/es/components/TextField/variations/_size/base.js +2 -2
  142. package/styled-components/es/components/TextField/variations/_view/base.js +2 -2
  143. package/styled-components/es/examples/plasma_b2c/components/Range/Range.config.js +25 -0
  144. package/styled-components/es/examples/plasma_b2c/components/Range/Range.js +5 -0
  145. package/styled-components/es/examples/plasma_b2c/components/Range/Range.stories.tsx +312 -0
  146. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +8 -8
  147. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +2 -0
  148. package/styled-components/es/examples/plasma_web/components/Range/Range.config.js +25 -0
  149. package/styled-components/es/examples/plasma_web/components/Range/Range.js +5 -0
  150. package/styled-components/es/examples/plasma_web/components/Range/Range.stories.tsx +312 -0
  151. package/styled-components/es/index.js +2 -1
  152. package/types/components/Radiobox/Radiobox.d.ts +3 -3
  153. package/types/components/Radiobox/Radiobox.d.ts.map +1 -1
  154. package/types/components/Range/Range.d.ts +31 -0
  155. package/types/components/Range/Range.d.ts.map +1 -0
  156. package/types/components/Range/Range.styles.d.ts +48 -0
  157. package/types/components/Range/Range.styles.d.ts.map +1 -0
  158. package/types/components/Range/Range.tokens.d.ts +99 -0
  159. package/types/components/Range/Range.tokens.d.ts.map +1 -0
  160. package/types/components/Range/Range.types.d.ts +143 -0
  161. package/types/components/Range/Range.types.d.ts.map +1 -0
  162. package/types/components/Range/index.d.ts +4 -0
  163. package/types/components/Range/index.d.ts.map +1 -0
  164. package/types/components/Range/utils/index.d.ts +5 -0
  165. package/types/components/Range/utils/index.d.ts.map +1 -0
  166. package/types/components/Range/variations/_disabled/base.d.ts +2 -0
  167. package/types/components/Range/variations/_disabled/base.d.ts.map +1 -0
  168. package/types/components/Range/variations/_readonly/base.d.ts +2 -0
  169. package/types/components/Range/variations/_readonly/base.d.ts.map +1 -0
  170. package/types/components/Range/variations/_size/base.d.ts +2 -0
  171. package/types/components/Range/variations/_size/base.d.ts.map +1 -0
  172. package/types/components/Range/variations/_view/base.d.ts +2 -0
  173. package/types/components/Range/variations/_view/base.d.ts.map +1 -0
  174. package/types/components/Slider/components/Double/Double.styles.d.ts +4 -0
  175. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  176. package/types/components/TextField/TextField.d.ts.map +1 -1
  177. package/types/components/TextField/TextField.styles.d.ts +2 -0
  178. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  179. package/types/components/TextField/TextField.tokens.d.ts +5 -0
  180. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  181. package/types/components/TextField/TextField.types.d.ts +8 -0
  182. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  183. package/types/components/TextField/variations/_label-placement/inner.d.ts.map +1 -1
  184. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  185. package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
  186. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts +1 -1
  187. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts.map +1 -1
  188. package/types/examples/plasma_b2c/components/Range/Range.config.d.ts +24 -0
  189. package/types/examples/plasma_b2c/components/Range/Range.config.d.ts.map +1 -0
  190. package/types/examples/plasma_b2c/components/Range/Range.d.ts +127 -0
  191. package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -0
  192. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  193. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +4 -0
  194. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  195. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts +1 -1
  196. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts.map +1 -1
  197. package/types/examples/plasma_web/components/Range/Range.config.d.ts +24 -0
  198. package/types/examples/plasma_web/components/Range/Range.config.d.ts.map +1 -0
  199. package/types/examples/plasma_web/components/Range/Range.d.ts +127 -0
  200. package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -0
  201. package/types/examples/plasma_web/components/TextField/TextField.d.ts +4 -0
  202. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  203. package/types/examples/sds_engineer/components/Radiobox/Radiobox.d.ts +1 -1
  204. package/types/examples/sds_engineer/components/Radiobox/Radiobox.d.ts.map +1 -1
  205. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +4 -0
  206. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -1
  207. package/types/index.d.ts +1 -0
  208. package/types/index.d.ts.map +1 -1
  209. package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
  210. package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
@@ -20,5 +20,5 @@ export declare const Radiobox: import("react").FunctionComponent<import("../../.
20
20
  focused: {
21
21
  true: import("@linaria/core").LinariaClassName;
22
22
  };
23
- }> & import("../../../../engines/types").Filter<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
23
+ }> & import("../../../../engines/types").Filter<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
24
24
  //# sourceMappingURL=Radiobox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;6NAA0B,CAAC"}
1
+ {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;6OAA0B,CAAC"}
@@ -0,0 +1,24 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ };
6
+ variations: {
7
+ view: {
8
+ default: import("@linaria/core").LinariaClassName;
9
+ };
10
+ size: {
11
+ l: import("@linaria/core").LinariaClassName;
12
+ m: import("@linaria/core").LinariaClassName;
13
+ s: import("@linaria/core").LinariaClassName;
14
+ xs: import("@linaria/core").LinariaClassName;
15
+ };
16
+ disabled: {
17
+ true: import("@linaria/core").LinariaClassName;
18
+ };
19
+ readOnly: {
20
+ true: import("@linaria/core").LinariaClassName;
21
+ };
22
+ };
23
+ };
24
+ //# sourceMappingURL=Range.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Range.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Range/Range.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsPlB,CAAC"}
@@ -0,0 +1,127 @@
1
+ /// <reference types="react" />
2
+ export declare const Range: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
+ view: {
4
+ default: import("@linaria/core").LinariaClassName;
5
+ };
6
+ size: {
7
+ l: import("@linaria/core").LinariaClassName;
8
+ m: import("@linaria/core").LinariaClassName;
9
+ s: import("@linaria/core").LinariaClassName;
10
+ xs: import("@linaria/core").LinariaClassName;
11
+ };
12
+ disabled: {
13
+ true: import("@linaria/core").LinariaClassName;
14
+ };
15
+ readOnly: {
16
+ true: import("@linaria/core").LinariaClassName;
17
+ };
18
+ }> & (({
19
+ label?: string | undefined;
20
+ leftHelper?: string | undefined;
21
+ contentLeft?: import("react").ReactNode;
22
+ contentRight?: import("react").ReactNode;
23
+ firstValue?: import("../../../../components/Range/Range.types").TextfieldPrimitiveValue | undefined;
24
+ secondValue?: import("../../../../components/Range/Range.types").TextfieldPrimitiveValue | undefined;
25
+ firstValueError?: boolean | undefined;
26
+ secondValueError?: boolean | undefined;
27
+ firstValueSuccess?: boolean | undefined;
28
+ secondValueSuccess?: boolean | undefined;
29
+ firstPlaceholder?: string | undefined;
30
+ secondPlaceholder?: string | undefined;
31
+ firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
32
+ firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
33
+ secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
34
+ secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
35
+ firstTextfieldTextAfter?: string | undefined;
36
+ secondTextfieldTextAfter?: string | undefined;
37
+ view?: string | undefined;
38
+ size?: string | undefined;
39
+ readOnly?: boolean | undefined;
40
+ disabled?: boolean | undefined;
41
+ onChangeFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
42
+ onChangeSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
43
+ onSearchFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
44
+ onSearchSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
45
+ onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
46
+ onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
47
+ onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
48
+ onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
49
+ } & {
50
+ firstTextfieldTextBefore: string;
51
+ secondTextfieldTextBefore: string;
52
+ dividerVariant?: "none" | undefined;
53
+ dividerIcon?: undefined;
54
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>) | ({
55
+ label?: string | undefined;
56
+ leftHelper?: string | undefined;
57
+ contentLeft?: import("react").ReactNode;
58
+ contentRight?: import("react").ReactNode;
59
+ firstValue?: import("../../../../components/Range/Range.types").TextfieldPrimitiveValue | undefined;
60
+ secondValue?: import("../../../../components/Range/Range.types").TextfieldPrimitiveValue | undefined;
61
+ firstValueError?: boolean | undefined;
62
+ secondValueError?: boolean | undefined;
63
+ firstValueSuccess?: boolean | undefined;
64
+ secondValueSuccess?: boolean | undefined;
65
+ firstPlaceholder?: string | undefined;
66
+ secondPlaceholder?: string | undefined;
67
+ firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
68
+ firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
69
+ secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
70
+ secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
71
+ firstTextfieldTextAfter?: string | undefined;
72
+ secondTextfieldTextAfter?: string | undefined;
73
+ view?: string | undefined;
74
+ size?: string | undefined;
75
+ readOnly?: boolean | undefined;
76
+ disabled?: boolean | undefined;
77
+ onChangeFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
78
+ onChangeSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
79
+ onSearchFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
80
+ onSearchSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
81
+ onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
82
+ onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
83
+ onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
84
+ onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
85
+ } & {
86
+ dividerVariant?: "dash" | undefined;
87
+ dividerIcon?: undefined;
88
+ firstTextfieldTextBefore?: string | undefined;
89
+ secondTextfieldTextBefore?: string | undefined;
90
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>) | ({
91
+ label?: string | undefined;
92
+ leftHelper?: string | undefined;
93
+ contentLeft?: import("react").ReactNode;
94
+ contentRight?: import("react").ReactNode;
95
+ firstValue?: import("../../../../components/Range/Range.types").TextfieldPrimitiveValue | undefined;
96
+ secondValue?: import("../../../../components/Range/Range.types").TextfieldPrimitiveValue | undefined;
97
+ firstValueError?: boolean | undefined;
98
+ secondValueError?: boolean | undefined;
99
+ firstValueSuccess?: boolean | undefined;
100
+ secondValueSuccess?: boolean | undefined;
101
+ firstPlaceholder?: string | undefined;
102
+ secondPlaceholder?: string | undefined;
103
+ firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
104
+ firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
105
+ secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
106
+ secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
107
+ firstTextfieldTextAfter?: string | undefined;
108
+ secondTextfieldTextAfter?: string | undefined;
109
+ view?: string | undefined;
110
+ size?: string | undefined;
111
+ readOnly?: boolean | undefined;
112
+ disabled?: boolean | undefined;
113
+ onChangeFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
114
+ onChangeSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
115
+ onSearchFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
116
+ onSearchSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
117
+ onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
118
+ onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
119
+ onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
120
+ onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
121
+ } & {
122
+ dividerIcon?: import("react").ReactNode;
123
+ dividerVariant?: "icon" | undefined;
124
+ firstTextfieldTextBefore?: string | undefined;
125
+ secondTextfieldTextBefore?: string | undefined;
126
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>))>;
127
+ //# sourceMappingURL=Range.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Range.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Range/Range.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uGAA0B,CAAC"}
@@ -33,6 +33,8 @@ export declare const TextField: import("react").FunctionComponent<import("../../
33
33
  leftHelper?: string | undefined;
34
34
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
35
35
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
+ textBefore?: string | undefined;
37
+ textAfter?: string | undefined;
36
38
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
37
39
  } & {
38
40
  chips?: undefined;
@@ -50,6 +52,8 @@ export declare const TextField: import("react").FunctionComponent<import("../../
50
52
  leftHelper?: string | undefined;
51
53
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
52
54
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
55
+ textBefore?: string | undefined;
56
+ textAfter?: string | undefined;
53
57
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
54
58
  } & {
55
59
  enumerationType: "chip";
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
@@ -20,5 +20,5 @@ export declare const Radiobox: import("react").FunctionComponent<import("../../.
20
20
  focused: {
21
21
  true: import("@linaria/core").LinariaClassName;
22
22
  };
23
- }> & import("../../../../engines/types").Filter<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
23
+ }> & import("../../../../engines/types").Filter<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
24
24
  //# sourceMappingURL=Radiobox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;6NAA0B,CAAC"}
1
+ {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;6OAA0B,CAAC"}
@@ -33,6 +33,8 @@ export declare const TextField: import("react").FunctionComponent<import("../../
33
33
  leftHelper?: string | undefined;
34
34
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
35
35
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
+ textBefore?: string | undefined;
37
+ textAfter?: string | undefined;
36
38
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
37
39
  } & {
38
40
  chips?: undefined;
@@ -50,6 +52,8 @@ export declare const TextField: import("react").FunctionComponent<import("../../
50
52
  leftHelper?: string | undefined;
51
53
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
52
54
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
55
+ textBefore?: string | undefined;
56
+ textAfter?: string | undefined;
53
57
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
54
58
  } & {
55
59
  enumerationType: "chip";
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
package/types/index.d.ts CHANGED
@@ -45,4 +45,5 @@ export * from './components/Select';
45
45
  export * from './components/Divider';
46
46
  export * from './components/Toolbar';
47
47
  export * from './components/Slider';
48
+ export * from './components/Range';
48
49
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- .l8oinlg .io4bpie{padding:var(--plasma-textfield-placement_inner__content-padding);}.l8oinlg .io4bpie:focus ~ .l13qvwoy,.l8oinlg .io4bpie:not(:placeholder-shown) ~ .l13qvwoy{height:auto;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.l8oinlg .io4bpie:not(:focus)::-webkit-input-placeholder{color:transparent;}.l8oinlg .io4bpie:not(:focus)::-moz-placeholder{color:transparent;}.l8oinlg .io4bpie:not(:focus):-ms-input-placeholder{color:transparent;}.l8oinlg .io4bpie:not(:focus)::placeholder{color:transparent;}.l8oinlg .io4bpie:focus::-webkit-input-placeholder{color:transparent;}.l8oinlg .io4bpie:focus::-moz-placeholder{color:transparent;}.l8oinlg .io4bpie:focus:-ms-input-placeholder{color:transparent;}.l8oinlg .io4bpie:focus::placeholder{color:transparent;}.l8oinlg .l13qvwoy{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-transition:padding 0.1s ease-in-out,height 0s;transition:padding 0.1s ease-in-out,height 0s;height:var(--plasma-textfield-height);padding-top:calc(var(--plasma-textfield-height) / 4);padding-bottom:calc(var(--plasma-textfield-height) / 4);}
@@ -1 +0,0 @@
1
- .l8oinlg .io4bpie{padding:var(--plasma-textfield-placement_inner__content-padding);}.l8oinlg .io4bpie:focus ~ .l13qvwoy,.l8oinlg .io4bpie:not(:placeholder-shown) ~ .l13qvwoy{height:auto;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.l8oinlg .io4bpie:not(:focus)::-webkit-input-placeholder{color:transparent;}.l8oinlg .io4bpie:not(:focus)::-moz-placeholder{color:transparent;}.l8oinlg .io4bpie:not(:focus):-ms-input-placeholder{color:transparent;}.l8oinlg .io4bpie:not(:focus)::placeholder{color:transparent;}.l8oinlg .io4bpie:focus::-webkit-input-placeholder{color:transparent;}.l8oinlg .io4bpie:focus::-moz-placeholder{color:transparent;}.l8oinlg .io4bpie:focus:-ms-input-placeholder{color:transparent;}.l8oinlg .io4bpie:focus::placeholder{color:transparent;}.l8oinlg .l13qvwoy{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-transition:padding 0.1s ease-in-out,height 0s;transition:padding 0.1s ease-in-out,height 0s;height:var(--plasma-textfield-height);padding-top:calc(var(--plasma-textfield-height) / 4);padding-bottom:calc(var(--plasma-textfield-height) / 4);}