@salutejs/plasma-new-hope 0.186.0-canary.1542.11716355955.0 → 0.186.0-canary.1546.11723696357.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. package/cjs/components/Badge/Badge.css +4 -4
  2. package/cjs/components/Badge/Badge.js +16 -4
  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_rn38n6.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/cjs/index.js +0 -2
  20. package/cjs/index.js.map +1 -1
  21. package/emotion/cjs/components/Badge/Badge.js +21 -4
  22. package/emotion/cjs/components/Badge/Badge.tokens.js +10 -6
  23. package/emotion/cjs/components/Badge/variations/_clear/base.js +1 -1
  24. package/emotion/cjs/components/Badge/variations/_size/base.js +2 -1
  25. package/emotion/cjs/components/Badge/variations/_transparent/base.js +1 -1
  26. package/emotion/cjs/components/Badge/variations/_view/base.js +1 -1
  27. package/emotion/cjs/components/Combobox/ComboboxNew/index.js +1 -8
  28. package/emotion/cjs/components/Combobox/index.js +0 -6
  29. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +14 -14
  30. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +8 -2
  31. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.js +2 -7
  32. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +4 -62
  33. package/emotion/cjs/examples/plasma_web/components/Badge/Badge.config.js +14 -14
  34. package/emotion/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +8 -2
  35. package/emotion/es/components/Badge/Badge.js +23 -5
  36. package/emotion/es/components/Badge/Badge.tokens.js +9 -5
  37. package/emotion/es/components/Badge/variations/_clear/base.js +2 -2
  38. package/emotion/es/components/Badge/variations/_size/base.js +3 -2
  39. package/emotion/es/components/Badge/variations/_transparent/base.js +2 -2
  40. package/emotion/es/components/Badge/variations/_view/base.js +2 -2
  41. package/emotion/es/components/Combobox/ComboboxNew/index.js +1 -2
  42. package/emotion/es/components/Combobox/index.js +1 -1
  43. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +14 -14
  44. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +8 -2
  45. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.js +2 -7
  46. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +4 -62
  47. package/emotion/es/examples/plasma_web/components/Badge/Badge.config.js +14 -14
  48. package/emotion/es/examples/plasma_web/components/Badge/Badge.stories.tsx +8 -2
  49. package/es/components/Badge/Badge.css +4 -4
  50. package/es/components/Badge/Badge.js +19 -7
  51. package/es/components/Badge/Badge.js.map +1 -1
  52. package/es/components/Badge/Badge.tokens.js +10 -6
  53. package/es/components/Badge/Badge.tokens.js.map +1 -1
  54. package/es/components/Badge/variations/_clear/base.js +1 -1
  55. package/es/components/Badge/variations/_clear/base.js.map +1 -1
  56. package/es/components/Badge/variations/_clear/base_wiboj8.css +1 -0
  57. package/es/components/Badge/variations/_size/base.js +1 -1
  58. package/es/components/Badge/variations/_size/base.js.map +1 -1
  59. package/{cjs/components/Badge/variations/_size/base_to0y5x.css → es/components/Badge/variations/_size/base_rn38n6.css} +1 -1
  60. package/es/components/Badge/variations/_transparent/base.js +1 -1
  61. package/es/components/Badge/variations/_transparent/base.js.map +1 -1
  62. package/es/components/Badge/variations/_transparent/base_aapqhz.css +1 -0
  63. package/es/components/Badge/variations/_view/base.js +1 -1
  64. package/es/components/Badge/variations/_view/base.js.map +1 -1
  65. package/es/components/Badge/variations/_view/base_j3xzf3.css +1 -0
  66. package/es/index.css +4 -4
  67. package/es/index.js +0 -1
  68. package/es/index.js.map +1 -1
  69. package/package.json +2 -2
  70. package/styled-components/cjs/components/Badge/Badge.js +21 -4
  71. package/styled-components/cjs/components/Badge/Badge.tokens.js +10 -6
  72. package/styled-components/cjs/components/Badge/variations/_clear/base.js +1 -1
  73. package/styled-components/cjs/components/Badge/variations/_size/base.js +2 -1
  74. package/styled-components/cjs/components/Badge/variations/_transparent/base.js +1 -1
  75. package/styled-components/cjs/components/Badge/variations/_view/base.js +1 -1
  76. package/styled-components/cjs/components/Combobox/ComboboxNew/index.js +1 -8
  77. package/styled-components/cjs/components/Combobox/index.js +0 -6
  78. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
  79. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +8 -2
  80. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.js +2 -7
  81. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +4 -62
  82. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.config.js +5 -5
  83. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +8 -2
  84. package/styled-components/es/components/Badge/Badge.js +23 -5
  85. package/styled-components/es/components/Badge/Badge.tokens.js +9 -5
  86. package/styled-components/es/components/Badge/variations/_clear/base.js +2 -2
  87. package/styled-components/es/components/Badge/variations/_size/base.js +3 -2
  88. package/styled-components/es/components/Badge/variations/_transparent/base.js +2 -2
  89. package/styled-components/es/components/Badge/variations/_view/base.js +2 -2
  90. package/styled-components/es/components/Combobox/ComboboxNew/index.js +1 -2
  91. package/styled-components/es/components/Combobox/index.js +1 -1
  92. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
  93. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +8 -2
  94. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.js +2 -7
  95. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +4 -62
  96. package/styled-components/es/examples/plasma_web/components/Badge/Badge.config.js +5 -5
  97. package/styled-components/es/examples/plasma_web/components/Badge/Badge.stories.tsx +8 -2
  98. package/types/components/Badge/Badge.d.ts.map +1 -1
  99. package/types/components/Badge/Badge.tokens.d.ts +8 -4
  100. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  101. package/types/components/Badge/Badge.types.d.ts +18 -5
  102. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  103. package/types/components/Badge/variations/_clear/base.d.ts.map +1 -1
  104. package/types/components/Badge/variations/_size/base.d.ts.map +1 -1
  105. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +0 -21
  106. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  107. package/types/components/Combobox/ComboboxNew/index.d.ts +0 -1
  108. package/types/components/Combobox/ComboboxNew/index.d.ts.map +1 -1
  109. package/types/components/Combobox/index.d.ts +1 -1
  110. package/types/components/Combobox/index.d.ts.map +1 -1
  111. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  112. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +58 -4
  113. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  114. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +2 -3
  115. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  116. package/types/examples/plasma_web/components/Badge/Badge.config.d.ts.map +1 -1
  117. package/types/examples/plasma_web/components/Badge/Badge.d.ts +58 -4
  118. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  119. package/cjs/components/Badge/variations/_clear/base_oopyb7.css +0 -1
  120. package/cjs/components/Badge/variations/_transparent/base_1l6036y.css +0 -1
  121. package/cjs/components/Badge/variations/_view/base_qlxank.css +0 -1
  122. package/cjs/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -22
  123. package/cjs/components/Combobox/ComboboxNew/Combobox.boundler.js.map +0 -1
  124. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -21
  125. package/emotion/cjs/components/Combobox/ComboboxNew/utils/getForm.js +0 -90
  126. package/emotion/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -53
  127. package/emotion/es/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -14
  128. package/emotion/es/components/Combobox/ComboboxNew/utils/getForm.js +0 -83
  129. package/emotion/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -47
  130. package/es/components/Badge/variations/_clear/base_oopyb7.css +0 -1
  131. package/es/components/Badge/variations/_transparent/base_1l6036y.css +0 -1
  132. package/es/components/Badge/variations/_view/base_qlxank.css +0 -1
  133. package/es/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -18
  134. package/es/components/Combobox/ComboboxNew/Combobox.boundler.js.map +0 -1
  135. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -21
  136. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/getForm.js +0 -90
  137. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -53
  138. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.boundler.js +0 -14
  139. package/styled-components/es/components/Combobox/ComboboxNew/utils/getForm.js +0 -83
  140. package/styled-components/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -47
  141. package/types/components/Combobox/ComboboxNew/Combobox.boundler.d.ts +0 -4
  142. package/types/components/Combobox/ComboboxNew/Combobox.boundler.d.ts.map +0 -1
  143. package/types/components/Combobox/ComboboxNew/utils/getForm.d.ts +0 -4
  144. package/types/components/Combobox/ComboboxNew/utils/getForm.d.ts.map +0 -1
  145. package/types/components/Combobox/ComboboxNew/utils/syntheticEvent.d.ts +0 -4
  146. package/types/components/Combobox/ComboboxNew/utils/syntheticEvent.d.ts.map +0 -1
@@ -2,6 +2,11 @@ export declare const classes: {
2
2
  badgePilled: string;
3
3
  badgeTransparent: string;
4
4
  badgeClear: string;
5
+ iconOnly: string;
6
+ };
7
+ export declare const privateTokens: {
8
+ customBackground: string;
9
+ customColor: string;
5
10
  };
6
11
  export declare const tokens: {
7
12
  background: string;
@@ -9,13 +14,12 @@ export declare const tokens: {
9
14
  backgroundTransparent: string;
10
15
  colorTransparent: string;
11
16
  colorClear: string;
17
+ backgroundClear: string;
12
18
  borderRadius: string;
13
19
  pilledBorderRadius: string;
14
20
  height: string;
15
- paddingTop: string;
16
- paddingRight: string;
17
- paddingBottom: string;
18
- paddingLeft: string;
21
+ padding: string;
22
+ paddingIconOnly: string;
19
23
  fontFamily: string;
20
24
  fontSize: string;
21
25
  fontStyle: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CA0BlB,CAAC"}
1
+ {"version":3,"file":"Badge.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,aAAa;;;CAGzB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAyBlB,CAAC"}
@@ -45,19 +45,32 @@ declare type ClearViewProps = {
45
45
  */
46
46
  clear?: false;
47
47
  };
48
+ declare type IconContentProps = {
49
+ /**
50
+ * Слот для контента слева, например `Icon`
51
+ */
52
+ contentLeft?: ReactNode;
53
+ /**
54
+ * Слот для контента справа, например `Icon`
55
+ */
56
+ contentRight?: never;
57
+ } | {
58
+ contentLeft?: never;
59
+ contentRight?: ReactNode;
60
+ };
48
61
  declare type CustomBadgeProps = {
49
62
  /**
50
63
  * Текстовая надпись
51
64
  */
52
65
  text?: string;
53
66
  /**
54
- * Слот для контента слева, например `Icon`
67
+ * Пользовательский цвет текста и иконок
55
68
  */
56
- contentLeft?: ReactNode;
69
+ customColor?: string;
57
70
  /**
58
- * Слот для контента справа, например `Icon`
71
+ * Пользовательский цвет фона
59
72
  */
60
- contentRight?: ReactNode;
73
+ customBackgroundColor?: string;
61
74
  /**
62
75
  * Размер Badge
63
76
  * @default
@@ -70,7 +83,7 @@ declare type CustomBadgeProps = {
70
83
  * default
71
84
  */
72
85
  view?: string;
73
- } & PropsWithChildren;
86
+ } & IconContentProps & PropsWithChildren;
74
87
  export declare type BadgeProps = HTMLAttributes<HTMLDivElement> & CustomBadgeProps & ClearViewProps;
75
88
  export declare type BadgeRootProps = HTMLAttributes<HTMLDivElement> & CustomBadgeProps & {
76
89
  pilled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.types.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1E,aAAK,cAAc,GACb;IACI;;;;OAIG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;CACvB,GACD;IACI;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB,GACD;IACI;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAER,aAAK,gBAAgB,GAAG;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,iBAAiB,CAAC;AAEtB,oBAAY,UAAU,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,GAAG,cAAc,CAAC;AAC5F,oBAAY,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,GACvD,gBAAgB,GAAG;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
1
+ {"version":3,"file":"Badge.types.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1E,aAAK,cAAc,GACb;IACI;;;;OAIG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;CACvB,GACD;IACI;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB,GACD;IACI;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAER,aAAK,gBAAgB,GACf;IACI;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACI,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,YAAY,CAAC,EAAE,SAAS,CAAC;CAC5B,CAAC;AAER,aAAK,gBAAgB,GAAG;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,gBAAgB,GAChB,iBAAiB,CAAC;AAEtB,oBAAY,UAAU,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,GAAG,cAAc,CAAC;AAC5F,oBAAY,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,GACvD,gBAAgB,GAAG;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/variations/_clear/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAMhB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/variations/_clear/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAKhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/variations/_size/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAgBhB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/variations/_size/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAqBhB,CAAC"}
@@ -177,26 +177,5 @@ export declare type ItemContext = {
177
177
  valueToItemMap: ValueToItemMapType;
178
178
  treeId: string;
179
179
  };
180
- declare type ComboboxFormBaseProps = {
181
- onChange?: (event: React.ChangeEvent<HTMLSelectElement> | null) => void;
182
- defaultValue?: string;
183
- multiple?: false;
184
- } | {
185
- onChange?: (event: React.ChangeEvent<HTMLSelectElement> | null) => void;
186
- defaultValue?: string[];
187
- multiple?: true;
188
- };
189
- export declare type ComboboxFormProps = Omit<ComboboxProps, 'onChange' | 'defaultValue' | 'multiple'> & ComboboxFormBaseProps;
190
- export declare type ComboboxBoundlerProps = {
191
- base: React.FC<ComboboxProps>;
192
- baseForm: React.FC<ComboboxFormPropsAll>;
193
- };
194
- export declare type ComboboxFormPropsAll = ComboboxFormProps & {
195
- formType: true;
196
- };
197
- export declare type ComboboxPropsAll = ComboboxProps & {
198
- formType: false;
199
- };
200
- export declare type ComboboxBoundlerPropsComponent = ComboboxFormPropsAll | ComboboxPropsAll;
201
180
  export {};
202
181
  //# sourceMappingURL=Combobox.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO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AC;IAC/B,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACpC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5B,oBAAoB,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC5D,eAAe,EAAE,CAAC,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzF,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,UAAU,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACxC,cAAc,EAAE,kBAAkB,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -2,5 +2,4 @@ export { comboboxConfig, comboboxRoot } from './Combobox';
2
2
  export { tokens as comboboxTokens } from './Combobox.tokens';
3
3
  export type { ComboboxProps } from './Combobox.types';
4
4
  export type { ItemOption } from './ui/Inner/ui/Item/Item.types';
5
- export { boundCombobox } from './Combobox.boundler';
6
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE7D,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE7D,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export { comboboxRoot as comboboxOldRoot, comboboxConfig as comboboxOldConfig, comboboxDividerRoot, comboboxDividerConfig, comboboxFooterRoot, comboboxFooterConfig, comboboxGroupRoot, comboboxGroupConfig, comboboxHeaderRoot, comboboxHeaderConfig, comboboxItemRoot, comboboxItemConfig, ComboboxTarget, comboboxClasses as comboboxOldClasses, comboboxTokens as comboboxOldTokens, } from './ComboboxOld';
2
2
  export type { ComboboxProps as ComboboxOldProps } from './ComboboxOld';
3
- export { comboboxTokens as comboboxNewTokens, comboboxRoot as comboboxNewRoot, comboboxConfig as comboboxNewConfig, boundCombobox, } from './ComboboxNew';
3
+ export { comboboxTokens as comboboxNewTokens, comboboxRoot as comboboxNewRoot, comboboxConfig as comboboxNewConfig, } from './ComboboxNew';
4
4
  export type { ItemOption, ComboboxProps } from './ComboboxNew';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,IAAI,eAAe,EAC/B,cAAc,IAAI,iBAAiB,EACnC,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,eAAe,IAAI,kBAAkB,EACrC,cAAc,IAAI,iBAAiB,GACtC,MAAM,eAAe,CAAC;AAEvB,YAAY,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EACH,cAAc,IAAI,iBAAiB,EACnC,YAAY,IAAI,eAAe,EAC/B,cAAc,IAAI,iBAAiB,EACnC,aAAa,GAChB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,IAAI,eAAe,EAC/B,cAAc,IAAI,iBAAiB,EACnC,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,eAAe,IAAI,kBAAkB,EACrC,cAAc,IAAI,iBAAiB,GACtC,MAAM,eAAe,CAAC;AAEvB,YAAY,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EACH,cAAc,IAAI,iBAAiB,EACnC,YAAY,IAAI,eAAe,EAC/B,cAAc,IAAI,iBAAiB,GACtC,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/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_b2c/components/Badge/Badge.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmKlB,CAAC"}
@@ -26,10 +26,13 @@ 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
  size?: string | undefined;
32
32
  view?: string | undefined;
33
+ } & {
34
+ contentLeft?: import("react").ReactNode;
35
+ contentRight?: undefined;
33
36
  } & {
34
37
  children?: import("react").ReactNode;
35
38
  } & {
@@ -38,10 +41,13 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
38
41
  transparent?: false | undefined;
39
42
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
40
43
  text?: string | undefined;
41
- contentLeft?: import("react").ReactNode;
42
- contentRight?: import("react").ReactNode;
44
+ customColor?: string | undefined;
45
+ customBackgroundColor?: string | undefined;
43
46
  size?: string | undefined;
44
47
  view?: string | undefined;
48
+ } & {
49
+ contentLeft?: import("react").ReactNode;
50
+ contentRight?: undefined;
45
51
  } & {
46
52
  children?: import("react").ReactNode;
47
53
  } & {
@@ -50,10 +56,58 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
50
56
  clear?: false | undefined;
51
57
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
52
58
  text?: string | undefined;
59
+ customColor?: string | undefined;
60
+ customBackgroundColor?: string | undefined;
61
+ size?: string | undefined;
62
+ view?: string | undefined;
63
+ } & {
53
64
  contentLeft?: import("react").ReactNode;
65
+ contentRight?: undefined;
66
+ } & {
67
+ children?: import("react").ReactNode;
68
+ } & {
69
+ pilled?: boolean | undefined;
70
+ transparent?: true | undefined;
71
+ clear?: false | undefined;
72
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
73
+ text?: string | undefined;
74
+ customColor?: string | undefined;
75
+ customBackgroundColor?: string | undefined;
76
+ size?: string | undefined;
77
+ view?: string | undefined;
78
+ } & {
79
+ contentLeft?: undefined;
54
80
  contentRight?: import("react").ReactNode;
81
+ } & {
82
+ children?: import("react").ReactNode;
83
+ } & {
84
+ clear?: true | undefined;
85
+ pilled?: false | undefined;
86
+ transparent?: false | undefined;
87
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
88
+ text?: string | undefined;
89
+ customColor?: string | undefined;
90
+ customBackgroundColor?: string | undefined;
91
+ size?: string | undefined;
92
+ view?: string | undefined;
93
+ } & {
94
+ contentLeft?: undefined;
95
+ contentRight?: import("react").ReactNode;
96
+ } & {
97
+ children?: import("react").ReactNode;
98
+ } & {
99
+ pilled?: true | undefined;
100
+ transparent?: boolean | undefined;
101
+ clear?: false | undefined;
102
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
103
+ text?: string | undefined;
104
+ customColor?: string | undefined;
105
+ customBackgroundColor?: string | undefined;
55
106
  size?: string | undefined;
56
107
  view?: string | undefined;
108
+ } & {
109
+ contentLeft?: undefined;
110
+ contentRight?: import("react").ReactNode;
57
111
  } & {
58
112
  children?: import("react").ReactNode;
59
113
  } & {
@@ -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,4 +1,4 @@
1
- import type { ForwardedRef, ComponentProps, ReactElement, FC } from 'react';
1
+ import type { ForwardedRef, ComponentProps, ReactElement } from 'react';
2
2
  import type { ComboboxProps, ItemOption } from '../../../../components/Combobox';
3
3
  import { config } from './Combobox.config';
4
4
  declare const ComboboxComponent: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
@@ -917,6 +917,5 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
917
917
  } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>)), "view" | "disabled" | "readOnly" | "size" | "labelPlacement"> & {
918
918
  ref?: ForwardedRef<HTMLInputElement> | undefined;
919
919
  }) => ReactElement | null;
920
- declare const ComboboxWithForm: FC<import("../../../../components/Combobox/ComboboxNew/Combobox.types").ComboboxBoundlerPropsComponent>;
921
- export { Combobox, ComboboxWithForm };
920
+ export { Combobox };
922
921
  //# sourceMappingURL=Combobox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Combobox/Combobox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI5E,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAGjF,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAET,YAAY,GAAG,IAAI,CAAC;AAEzB,OAAO,EAAE,QAAQ,EAAE,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,10 +26,13 @@ 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
  size?: string | undefined;
32
32
  view?: string | undefined;
33
+ } & {
34
+ contentLeft?: import("react").ReactNode;
35
+ contentRight?: undefined;
33
36
  } & {
34
37
  children?: import("react").ReactNode;
35
38
  } & {
@@ -38,10 +41,13 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
38
41
  transparent?: false | undefined;
39
42
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
40
43
  text?: string | undefined;
41
- contentLeft?: import("react").ReactNode;
42
- contentRight?: import("react").ReactNode;
44
+ customColor?: string | undefined;
45
+ customBackgroundColor?: string | undefined;
43
46
  size?: string | undefined;
44
47
  view?: string | undefined;
48
+ } & {
49
+ contentLeft?: import("react").ReactNode;
50
+ contentRight?: undefined;
45
51
  } & {
46
52
  children?: import("react").ReactNode;
47
53
  } & {
@@ -50,10 +56,58 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
50
56
  clear?: false | undefined;
51
57
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
52
58
  text?: string | undefined;
59
+ customColor?: string | undefined;
60
+ customBackgroundColor?: string | undefined;
61
+ size?: string | undefined;
62
+ view?: string | undefined;
63
+ } & {
53
64
  contentLeft?: import("react").ReactNode;
65
+ contentRight?: undefined;
66
+ } & {
67
+ children?: import("react").ReactNode;
68
+ } & {
69
+ pilled?: boolean | undefined;
70
+ transparent?: true | undefined;
71
+ clear?: false | undefined;
72
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
73
+ text?: string | undefined;
74
+ customColor?: string | undefined;
75
+ customBackgroundColor?: string | undefined;
76
+ size?: string | undefined;
77
+ view?: string | undefined;
78
+ } & {
79
+ contentLeft?: undefined;
54
80
  contentRight?: import("react").ReactNode;
81
+ } & {
82
+ children?: import("react").ReactNode;
83
+ } & {
84
+ clear?: true | undefined;
85
+ pilled?: false | undefined;
86
+ transparent?: false | undefined;
87
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
88
+ text?: string | undefined;
89
+ customColor?: string | undefined;
90
+ customBackgroundColor?: string | undefined;
91
+ size?: string | undefined;
92
+ view?: string | undefined;
93
+ } & {
94
+ contentLeft?: undefined;
95
+ contentRight?: import("react").ReactNode;
96
+ } & {
97
+ children?: import("react").ReactNode;
98
+ } & {
99
+ pilled?: true | undefined;
100
+ transparent?: boolean | undefined;
101
+ clear?: false | undefined;
102
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
103
+ text?: string | undefined;
104
+ customColor?: string | undefined;
105
+ customBackgroundColor?: string | undefined;
55
106
  size?: string | undefined;
56
107
  view?: string | undefined;
108
+ } & {
109
+ contentLeft?: undefined;
110
+ contentRight?: import("react").ReactNode;
57
111
  } & {
58
112
  children?: import("react").ReactNode;
59
113
  } & {
@@ -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,22 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var React = require('react');
6
-
7
- var boundCombobox = function boundCombobox(_ref) {
8
- var ComboboxBase = _ref.base,
9
- ComboboxBaseForm = _ref.baseForm;
10
- return function (rest) {
11
- if (rest.formType) {
12
- return /*#__PURE__*/React.createElement(ComboboxBaseForm, rest);
13
- }
14
- if (!rest.formType) {
15
- return /*#__PURE__*/React.createElement(ComboboxBase, rest);
16
- }
17
- return null;
18
- };
19
- };
20
-
21
- exports.boundCombobox = boundCombobox;
22
- //# sourceMappingURL=Combobox.boundler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Combobox.boundler.js","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.boundler.tsx"],"sourcesContent":["import React from 'react';\n\nimport { ComboboxBoundlerProps, ComboboxBoundlerPropsComponent } from './Combobox.types';\n\nexport const boundCombobox: (args: ComboboxBoundlerProps) => React.FC<ComboboxBoundlerPropsComponent> = ({\n base: ComboboxBase,\n baseForm: ComboboxBaseForm,\n}) => (rest) => {\n if (rest.formType) {\n return <ComboboxBaseForm {...rest} />;\n }\n\n if (!rest.formType) {\n return <ComboboxBase {...rest} />;\n }\n\n return null;\n};\n"],"names":["boundCombobox","_ref","ComboboxBase","base","ComboboxBaseForm","baseForm","rest","formType","React","createElement"],"mappings":";;;;;;IAIaA,aAAwF,GAAG,SAA3FA,aAAwFA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAC3FC,YAAY,GAAAD,IAAA,CAAlBE,IAAI;IACMC,gBAAgB,GAAAH,IAAA,CAA1BI,QAAQ,CAAA;EAAA,OACN,UAACC,IAAI,EAAK;IACZ,IAAIA,IAAI,CAACC,QAAQ,EAAE;AACf,MAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACL,gBAAgB,EAAKE,IAAO,CAAC,CAAA;AACzC,KAAA;AAEA,IAAA,IAAI,CAACA,IAAI,CAACC,QAAQ,EAAE;AAChB,MAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACP,YAAY,EAAKI,IAAO,CAAC,CAAA;AACrC,KAAA;AAEA,IAAA,OAAO,IAAI,CAAA;GACd,CAAA;AAAA;;;;"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.boundCombobox = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
- var boundCombobox = exports.boundCombobox = function boundCombobox(_ref) {
10
- var ComboboxBase = _ref.base,
11
- ComboboxBaseForm = _ref.baseForm;
12
- return function (rest) {
13
- if (rest.formType) {
14
- return /*#__PURE__*/_react["default"].createElement(ComboboxBaseForm, rest);
15
- }
16
- if (!rest.formType) {
17
- return /*#__PURE__*/_react["default"].createElement(ComboboxBase, rest);
18
- }
19
- return null;
20
- };
21
- };
@@ -1,90 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.getFormComponentGenerator = void 0;
8
- var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
- var _syntheticEvent = /*#__PURE__*/require("./syntheticEvent");
10
- var _excluded = ["onChange", "component"],
11
- _excluded2 = ["onChange", "component"]; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
12
- // @ts-nocheck
13
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
16
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
17
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
18
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
19
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
20
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
21
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
22
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
24
- var SingleForm = function SingleForm(args) {
25
- var onChange = args.onChange,
26
- Component = args.component,
27
- rest = _objectWithoutProperties(args, _excluded);
28
- var _useState = (0, _react.useState)(),
29
- _useState2 = _slicedToArray(_useState, 2),
30
- value = _useState2[0],
31
- setValue = _useState2[1];
32
- var selectRef = (0, _react.useRef)(null);
33
- var handleChange = function handleChange(value) {
34
- setValue(value);
35
- };
36
- (0, _react.useEffect)(function () {
37
- var event = (0, _syntheticEvent.createEvent)(selectRef);
38
- onChange && onChange(event);
39
- }, [value]);
40
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("select", {
41
- ref: selectRef,
42
- value: value,
43
- hidden: true
44
- }, /*#__PURE__*/_react["default"].createElement("option", {
45
- value: value
46
- }, value)), /*#__PURE__*/_react["default"].createElement(Component, _extends({}, rest, {
47
- value: value,
48
- onChange: handleChange
49
- })));
50
- };
51
- var MultipleForm = function MultipleForm(args) {
52
- var onChange = args.onChange,
53
- Component = args.component,
54
- rest = _objectWithoutProperties(args, _excluded2);
55
- var _useState3 = (0, _react.useState)([]),
56
- _useState4 = _slicedToArray(_useState3, 2),
57
- values = _useState4[0],
58
- setValues = _useState4[1];
59
- var selectRef = (0, _react.useRef)(null);
60
- var handleChange = function handleChange(value) {
61
- setValues(value);
62
- };
63
- (0, _react.useEffect)(function () {
64
- var event = (0, _syntheticEvent.createEvent)(selectRef);
65
- onChange && onChange(event);
66
- }, [values]);
67
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("select", {
68
- ref: selectRef,
69
- value: values,
70
- multiple: true,
71
- hidden: true
72
- }, values.map(function (value) {
73
- return /*#__PURE__*/_react["default"].createElement("option", {
74
- key: value,
75
- value: value
76
- }, value);
77
- })), /*#__PURE__*/_react["default"].createElement(Component, _extends({}, rest, {
78
- value: values,
79
- onChange: handleChange
80
- })));
81
- };
82
- var getFormComponentGenerator = exports.getFormComponentGenerator = function getFormComponentGenerator(Component) {
83
- return function (args) {
84
- return args.multiple ? /*#__PURE__*/_react["default"].createElement(MultipleForm, _extends({}, args, {
85
- component: Component
86
- })) : /*#__PURE__*/_react["default"].createElement(SingleForm, _extends({}, args, {
87
- component: Component
88
- }));
89
- };
90
- };
@@ -1,53 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.createSyntheticEvent = exports.createEvent = void 0;
7
- var createEvent = exports.createEvent = function createEvent(ref) {
8
- if (ref.current) {
9
- var event = new Event('change', {
10
- bubbles: true
11
- });
12
- Object.defineProperty(event, 'target', {
13
- writable: false,
14
- value: ref.current
15
- });
16
- var syntheticEvent = createSyntheticEvent(event);
17
- return syntheticEvent;
18
- }
19
- return null;
20
- };
21
- var createSyntheticEvent = exports.createSyntheticEvent = function createSyntheticEvent(event) {
22
- var _isDefaultPrevented = false;
23
- var _isPropagationStopped = false;
24
- var preventDefault = function preventDefault() {
25
- _isDefaultPrevented = true;
26
- event.preventDefault();
27
- };
28
- var stopPropagation = function stopPropagation() {
29
- _isPropagationStopped = true;
30
- event.stopPropagation();
31
- };
32
- return {
33
- nativeEvent: event,
34
- currentTarget: event.currentTarget,
35
- target: event.target,
36
- bubbles: event.bubbles,
37
- cancelable: event.cancelable,
38
- defaultPrevented: event.defaultPrevented,
39
- eventPhase: event.eventPhase,
40
- isTrusted: event.isTrusted,
41
- preventDefault: preventDefault,
42
- isDefaultPrevented: function isDefaultPrevented() {
43
- return _isDefaultPrevented;
44
- },
45
- stopPropagation: stopPropagation,
46
- isPropagationStopped: function isPropagationStopped() {
47
- return _isPropagationStopped;
48
- },
49
- persist: function persist() {},
50
- timeStamp: event.timeStamp,
51
- type: event.type
52
- };
53
- };
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- export var boundCombobox = function boundCombobox(_ref) {
3
- var ComboboxBase = _ref.base,
4
- ComboboxBaseForm = _ref.baseForm;
5
- return function (rest) {
6
- if (rest.formType) {
7
- return /*#__PURE__*/React.createElement(ComboboxBaseForm, rest);
8
- }
9
- if (!rest.formType) {
10
- return /*#__PURE__*/React.createElement(ComboboxBase, rest);
11
- }
12
- return null;
13
- };
14
- };