@salutejs/plasma-new-hope 0.81.0-canary.1206.9109080964.0 → 0.81.0-canary.1208.9111977682.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. package/cjs/components/Range/Range.css +63 -0
  2. package/cjs/components/Range/Range.js +146 -0
  3. package/cjs/components/Range/Range.js.map +1 -0
  4. package/cjs/components/Range/Range.styles.js +63 -0
  5. package/cjs/components/Range/Range.styles.js.map +1 -0
  6. package/cjs/components/Range/Range.styles_mc4w65.css +8 -0
  7. package/cjs/components/Range/Range.tokens.js +105 -0
  8. package/cjs/components/Range/Range.tokens.js.map +1 -0
  9. package/cjs/components/Range/utils/index.js +24 -0
  10. package/cjs/components/Range/utils/index.js.map +1 -0
  11. package/cjs/components/Range/variations/_disabled/base.js +9 -0
  12. package/cjs/components/Range/variations/_disabled/base.js.map +1 -0
  13. package/cjs/components/Range/variations/_disabled/base_1ufizo4.css +1 -0
  14. package/cjs/components/Range/variations/_readonly/base.js +9 -0
  15. package/cjs/components/Range/variations/_readonly/base.js.map +1 -0
  16. package/cjs/components/Range/variations/_readonly/base_hzmd8h.css +1 -0
  17. package/cjs/components/Range/variations/_size/base.js +9 -0
  18. package/cjs/components/Range/variations/_size/base.js.map +1 -0
  19. package/cjs/components/Range/variations/_size/base_f8ah3.css +1 -0
  20. package/cjs/components/Range/variations/_view/base.js +9 -0
  21. package/cjs/components/Range/variations/_view/base.js.map +1 -0
  22. package/cjs/components/Range/variations/_view/base_5iz3nr.css +1 -0
  23. package/cjs/components/TextField/TextField.js +10 -4
  24. package/cjs/components/TextField/TextField.js.map +1 -1
  25. package/cjs/components/TextField/TextField.styles.js +13 -1
  26. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  27. package/cjs/components/TextField/{TextField.styles_1b1mddp.css → TextField.styles_aqmut.css} +2 -0
  28. package/cjs/components/TextField/TextField.tokens.js +5 -0
  29. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  30. package/cjs/components/TextField/variations/_label-placement/inner.js +1 -1
  31. package/cjs/components/TextField/variations/_label-placement/inner.js.map +1 -1
  32. package/cjs/components/TextField/variations/_label-placement/inner_7c08qb.css +1 -0
  33. package/cjs/components/TextField/variations/_size/base.js +1 -1
  34. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  35. package/{es/components/TextField/variations/_size/base_1khzr9t.css → cjs/components/TextField/variations/_size/base_ntoddv.css} +1 -1
  36. package/cjs/components/TextField/variations/_view/base.js +1 -1
  37. package/cjs/components/TextField/variations/_view/base.js.map +1 -1
  38. package/{es/components/TextField/variations/_view/base_1qd77x6.css → cjs/components/TextField/variations/_view/base_19gxyva.css} +1 -1
  39. package/cjs/index.css +28 -9
  40. package/cjs/index.js +5 -0
  41. package/cjs/index.js.map +1 -1
  42. package/es/components/Range/Range.css +63 -0
  43. package/es/components/Range/Range.js +141 -0
  44. package/es/components/Range/Range.js.map +1 -0
  45. package/es/components/Range/Range.styles.js +52 -0
  46. package/es/components/Range/Range.styles.js.map +1 -0
  47. package/es/components/Range/Range.styles_mc4w65.css +8 -0
  48. package/es/components/Range/Range.tokens.js +100 -0
  49. package/es/components/Range/Range.tokens.js.map +1 -0
  50. package/es/components/Range/utils/index.js +19 -0
  51. package/es/components/Range/utils/index.js.map +1 -0
  52. package/es/components/Range/variations/_disabled/base.js +5 -0
  53. package/es/components/Range/variations/_disabled/base.js.map +1 -0
  54. package/es/components/Range/variations/_disabled/base_1ufizo4.css +1 -0
  55. package/es/components/Range/variations/_readonly/base.js +5 -0
  56. package/es/components/Range/variations/_readonly/base.js.map +1 -0
  57. package/es/components/Range/variations/_readonly/base_hzmd8h.css +1 -0
  58. package/es/components/Range/variations/_size/base.js +5 -0
  59. package/es/components/Range/variations/_size/base.js.map +1 -0
  60. package/es/components/Range/variations/_size/base_f8ah3.css +1 -0
  61. package/es/components/Range/variations/_view/base.js +5 -0
  62. package/es/components/Range/variations/_view/base.js.map +1 -0
  63. package/es/components/Range/variations/_view/base_5iz3nr.css +1 -0
  64. package/es/components/TextField/TextField.js +11 -5
  65. package/es/components/TextField/TextField.js.map +1 -1
  66. package/es/components/TextField/TextField.styles.js +12 -2
  67. package/es/components/TextField/TextField.styles.js.map +1 -1
  68. package/es/components/TextField/{TextField.styles_1b1mddp.css → TextField.styles_aqmut.css} +2 -0
  69. package/es/components/TextField/TextField.tokens.js +5 -0
  70. package/es/components/TextField/TextField.tokens.js.map +1 -1
  71. package/es/components/TextField/variations/_label-placement/inner.js +1 -1
  72. package/es/components/TextField/variations/_label-placement/inner.js.map +1 -1
  73. package/es/components/TextField/variations/_label-placement/inner_7c08qb.css +1 -0
  74. package/es/components/TextField/variations/_size/base.js +1 -1
  75. package/es/components/TextField/variations/_size/base.js.map +1 -1
  76. package/{cjs/components/TextField/variations/_size/base_1khzr9t.css → es/components/TextField/variations/_size/base_ntoddv.css} +1 -1
  77. package/es/components/TextField/variations/_view/base.js +1 -1
  78. package/es/components/TextField/variations/_view/base.js.map +1 -1
  79. package/{cjs/components/TextField/variations/_view/base_1qd77x6.css → es/components/TextField/variations/_view/base_19gxyva.css} +1 -1
  80. package/es/index.css +28 -9
  81. package/es/index.js +2 -0
  82. package/es/index.js.map +1 -1
  83. package/package.json +4 -4
  84. package/styled-components/cjs/components/Range/Range.js +148 -0
  85. package/styled-components/cjs/components/Range/Range.styles.js +39 -0
  86. package/styled-components/cjs/components/Range/Range.tokens.js +103 -0
  87. package/styled-components/cjs/components/Range/Range.types.js +5 -0
  88. package/styled-components/cjs/components/Range/index.js +25 -0
  89. package/styled-components/cjs/components/Range/utils/index.js +22 -0
  90. package/styled-components/cjs/components/Range/variations/_disabled/base.js +9 -0
  91. package/styled-components/cjs/components/Range/variations/_disabled/tokens.json +4 -0
  92. package/styled-components/cjs/components/Range/variations/_readonly/base.js +10 -0
  93. package/styled-components/cjs/components/Range/variations/_readonly/tokens.json +4 -0
  94. package/styled-components/cjs/components/Range/variations/_size/base.js +10 -0
  95. package/styled-components/cjs/components/Range/variations/_size/tokens.json +26 -0
  96. package/styled-components/cjs/components/Range/variations/_view/base.js +10 -0
  97. package/styled-components/cjs/components/Range/variations/_view/tokens.json +6 -0
  98. package/styled-components/cjs/components/TextField/TextField.js +10 -4
  99. package/styled-components/cjs/components/TextField/TextField.styles.js +7 -1
  100. package/styled-components/cjs/components/TextField/TextField.tokens.js +5 -0
  101. package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +1 -1
  102. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  103. package/styled-components/cjs/components/TextField/variations/_view/base.js +1 -1
  104. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.config.js +31 -0
  105. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.js +11 -0
  106. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +312 -0
  107. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +8 -8
  108. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +2 -0
  109. package/styled-components/cjs/examples/plasma_web/components/Range/Range.config.js +31 -0
  110. package/styled-components/cjs/examples/plasma_web/components/Range/Range.js +11 -0
  111. package/styled-components/cjs/examples/plasma_web/components/Range/Range.stories.tsx +312 -0
  112. package/styled-components/cjs/index.js +11 -0
  113. package/styled-components/es/components/Range/Range.js +139 -0
  114. package/styled-components/es/components/Range/Range.styles.js +31 -0
  115. package/styled-components/es/components/Range/Range.tokens.js +97 -0
  116. package/styled-components/es/components/Range/Range.types.js +1 -0
  117. package/styled-components/es/components/Range/index.js +2 -0
  118. package/styled-components/es/components/Range/utils/index.js +16 -0
  119. package/styled-components/es/components/Range/variations/_disabled/base.js +3 -0
  120. package/styled-components/es/components/Range/variations/_disabled/tokens.json +4 -0
  121. package/styled-components/es/components/Range/variations/_readonly/base.js +4 -0
  122. package/styled-components/es/components/Range/variations/_readonly/tokens.json +4 -0
  123. package/styled-components/es/components/Range/variations/_size/base.js +4 -0
  124. package/styled-components/es/components/Range/variations/_size/tokens.json +26 -0
  125. package/styled-components/es/components/Range/variations/_view/base.js +4 -0
  126. package/styled-components/es/components/Range/variations/_view/tokens.json +6 -0
  127. package/styled-components/es/components/TextField/TextField.js +11 -5
  128. package/styled-components/es/components/TextField/TextField.styles.js +6 -0
  129. package/styled-components/es/components/TextField/TextField.tokens.js +5 -0
  130. package/styled-components/es/components/TextField/variations/_label-placement/inner.js +2 -2
  131. package/styled-components/es/components/TextField/variations/_size/base.js +2 -2
  132. package/styled-components/es/components/TextField/variations/_view/base.js +2 -2
  133. package/styled-components/es/examples/plasma_b2c/components/Range/Range.config.js +25 -0
  134. package/styled-components/es/examples/plasma_b2c/components/Range/Range.js +5 -0
  135. package/styled-components/es/examples/plasma_b2c/components/Range/Range.stories.tsx +312 -0
  136. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +8 -8
  137. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +2 -0
  138. package/styled-components/es/examples/plasma_web/components/Range/Range.config.js +25 -0
  139. package/styled-components/es/examples/plasma_web/components/Range/Range.js +5 -0
  140. package/styled-components/es/examples/plasma_web/components/Range/Range.stories.tsx +312 -0
  141. package/styled-components/es/index.js +2 -1
  142. package/types/components/Range/Range.d.ts +31 -0
  143. package/types/components/Range/Range.d.ts.map +1 -0
  144. package/types/components/Range/Range.styles.d.ts +48 -0
  145. package/types/components/Range/Range.styles.d.ts.map +1 -0
  146. package/types/components/Range/Range.tokens.d.ts +98 -0
  147. package/types/components/Range/Range.tokens.d.ts.map +1 -0
  148. package/types/components/Range/Range.types.d.ts +143 -0
  149. package/types/components/Range/Range.types.d.ts.map +1 -0
  150. package/types/components/Range/index.d.ts +4 -0
  151. package/types/components/Range/index.d.ts.map +1 -0
  152. package/types/components/Range/utils/index.d.ts +5 -0
  153. package/types/components/Range/utils/index.d.ts.map +1 -0
  154. package/types/components/Range/variations/_disabled/base.d.ts +2 -0
  155. package/types/components/Range/variations/_disabled/base.d.ts.map +1 -0
  156. package/types/components/Range/variations/_readonly/base.d.ts +2 -0
  157. package/types/components/Range/variations/_readonly/base.d.ts.map +1 -0
  158. package/types/components/Range/variations/_size/base.d.ts +2 -0
  159. package/types/components/Range/variations/_size/base.d.ts.map +1 -0
  160. package/types/components/Range/variations/_view/base.d.ts +2 -0
  161. package/types/components/Range/variations/_view/base.d.ts.map +1 -0
  162. package/types/components/TextField/TextField.d.ts.map +1 -1
  163. package/types/components/TextField/TextField.styles.d.ts +2 -0
  164. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  165. package/types/components/TextField/TextField.tokens.d.ts +5 -0
  166. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  167. package/types/components/TextField/TextField.types.d.ts +8 -0
  168. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  169. package/types/components/TextField/variations/_label-placement/inner.d.ts.map +1 -1
  170. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  171. package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
  172. package/types/examples/plasma_b2c/components/Range/Range.config.d.ts +24 -0
  173. package/types/examples/plasma_b2c/components/Range/Range.config.d.ts.map +1 -0
  174. package/types/examples/plasma_b2c/components/Range/Range.d.ts +127 -0
  175. package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -0
  176. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  177. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +4 -0
  178. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  179. package/types/examples/plasma_web/components/Range/Range.config.d.ts +24 -0
  180. package/types/examples/plasma_web/components/Range/Range.config.d.ts.map +1 -0
  181. package/types/examples/plasma_web/components/Range/Range.d.ts +127 -0
  182. package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -0
  183. package/types/examples/plasma_web/components/TextField/TextField.d.ts +4 -0
  184. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  185. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +4 -0
  186. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -1
  187. package/types/index.d.ts +1 -0
  188. package/types/index.d.ts.map +1 -1
  189. package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
  190. package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
@@ -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"}
@@ -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
@@ -44,4 +44,5 @@ export * from './components/Progress';
44
44
  export * from './components/Select';
45
45
  export * from './components/Divider';
46
46
  export * from './components/Toolbar';
47
+ export * from './components/Range';
47
48
  //# 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"}
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,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);}