@salutejs/plasma-new-hope 0.229.0-canary.1666.12456056975.0 → 0.230.0-canary.1670.12462995068.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. package/cjs/components/Breadcrumbs/Breadcrumbs.js +1 -2
  2. package/cjs/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
  3. package/cjs/components/Breadcrumbs/utils/index.js +38 -0
  4. package/cjs/components/Breadcrumbs/utils/index.js.map +1 -1
  5. package/cjs/components/Calendar/utils/getDateWithModification.js.map +1 -1
  6. package/cjs/components/Combobox/ComboboxNew/Combobox.js +3 -2
  7. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  8. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +75 -0
  9. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +112 -0
  10. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -2
  11. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  12. package/cjs/components/Dropdown/Dropdown.js +3 -2
  13. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  14. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -1
  15. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  16. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +25 -0
  17. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -2
  18. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  19. package/cjs/components/Select/Select.js +3 -2
  20. package/cjs/components/Select/Select.js.map +1 -1
  21. package/cjs/components/Select/ui/Inner/Inner.css +109 -0
  22. package/cjs/components/Select/ui/Inner/Inner.js +1 -1
  23. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  24. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +112 -0
  25. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +2 -2
  26. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  27. package/cjs/components/Slider/components/Double/Double.css +91 -0
  28. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +7 -0
  29. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  30. package/cjs/components/TextArea/TextArea.js +6 -0
  31. package/cjs/components/TextArea/TextArea.js.map +1 -1
  32. package/cjs/components/TextField/TextField.js +1 -0
  33. package/cjs/components/TextField/TextField.js.map +1 -1
  34. package/cjs/engines/common.js +36 -0
  35. package/cjs/engines/common.js.map +1 -1
  36. package/cjs/engines/linaria.js +3 -3
  37. package/cjs/engines/linaria.js.map +1 -1
  38. package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.js +1 -2
  39. package/emotion/cjs/components/Breadcrumbs/utils/index.js +37 -1
  40. package/emotion/cjs/components/Calendar/utils/getDateWithModification.js +3 -3
  41. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +4 -3
  42. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -1
  43. package/emotion/cjs/components/Dropdown/Dropdown.js +4 -3
  44. package/emotion/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +3 -3
  45. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -1
  46. package/emotion/cjs/components/Select/Select.js +4 -3
  47. package/emotion/cjs/components/Select/ui/Inner/Inner.js +3 -3
  48. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -1
  49. package/emotion/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +3 -3
  50. package/emotion/cjs/components/TextArea/TextArea.js +7 -1
  51. package/emotion/cjs/components/TextField/TextField.js +2 -1
  52. package/emotion/cjs/engines/common.js +42 -2
  53. package/emotion/cjs/engines/emotion.js +4 -4
  54. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +71 -8
  55. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +69 -7
  56. package/emotion/es/components/Breadcrumbs/Breadcrumbs.js +1 -2
  57. package/emotion/es/components/Breadcrumbs/utils/index.js +35 -0
  58. package/emotion/es/components/Calendar/utils/getDateWithModification.js +1 -1
  59. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +2 -2
  60. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -1
  61. package/emotion/es/components/Dropdown/Dropdown.js +2 -2
  62. package/emotion/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -1
  63. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -1
  64. package/emotion/es/components/Select/Select.js +2 -2
  65. package/emotion/es/components/Select/ui/Inner/Inner.js +1 -1
  66. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +1 -1
  67. package/emotion/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +1 -1
  68. package/emotion/es/components/TextArea/TextArea.js +8 -2
  69. package/emotion/es/components/TextField/TextField.js +2 -1
  70. package/emotion/es/engines/common.js +40 -0
  71. package/emotion/es/engines/emotion.js +2 -2
  72. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +71 -8
  73. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +69 -7
  74. package/es/components/Breadcrumbs/Breadcrumbs.js +1 -2
  75. package/es/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
  76. package/es/components/Breadcrumbs/utils/index.js +37 -1
  77. package/es/components/Breadcrumbs/utils/index.js.map +1 -1
  78. package/es/components/Calendar/utils/getDateWithModification.js.map +1 -1
  79. package/es/components/Combobox/ComboboxNew/Combobox.js +3 -3
  80. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  81. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +75 -0
  82. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +112 -0
  83. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -1
  84. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  85. package/es/components/Dropdown/Dropdown.js +3 -3
  86. package/es/components/Dropdown/Dropdown.js.map +1 -1
  87. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -1
  88. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  89. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +25 -0
  90. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -1
  91. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  92. package/es/components/Select/Select.js +3 -3
  93. package/es/components/Select/Select.js.map +1 -1
  94. package/es/components/Select/ui/Inner/Inner.css +109 -0
  95. package/es/components/Select/ui/Inner/Inner.js +1 -1
  96. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  97. package/es/components/Select/ui/Inner/ui/Item/Item.css +112 -0
  98. package/es/components/Select/ui/Inner/ui/Item/Item.js +1 -1
  99. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  100. package/es/components/Slider/components/Double/Double.css +91 -0
  101. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +7 -0
  102. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  103. package/es/components/TextArea/TextArea.js +7 -1
  104. package/es/components/TextArea/TextArea.js.map +1 -1
  105. package/es/components/TextField/TextField.js +1 -0
  106. package/es/components/TextField/TextField.js.map +1 -1
  107. package/es/engines/common.js +36 -2
  108. package/es/engines/common.js.map +1 -1
  109. package/es/engines/linaria.js +1 -1
  110. package/es/engines/linaria.js.map +1 -1
  111. package/package.json +5 -17
  112. package/styled-components/cjs/components/Breadcrumbs/Breadcrumbs.js +1 -2
  113. package/styled-components/cjs/components/Breadcrumbs/utils/index.js +37 -1
  114. package/styled-components/cjs/components/Calendar/utils/getDateWithModification.js +3 -3
  115. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +4 -3
  116. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -1
  117. package/styled-components/cjs/components/Dropdown/Dropdown.js +4 -3
  118. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +3 -3
  119. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -1
  120. package/styled-components/cjs/components/Select/Select.js +4 -3
  121. package/styled-components/cjs/components/Select/ui/Inner/Inner.js +3 -3
  122. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -1
  123. package/styled-components/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +3 -3
  124. package/styled-components/cjs/components/TextArea/TextArea.js +6 -0
  125. package/styled-components/cjs/components/TextField/TextField.js +1 -0
  126. package/styled-components/cjs/engines/common.js +42 -2
  127. package/styled-components/cjs/engines/styled-components.js +3 -3
  128. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +71 -8
  129. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +69 -7
  130. package/styled-components/es/components/Breadcrumbs/Breadcrumbs.js +1 -2
  131. package/styled-components/es/components/Breadcrumbs/utils/index.js +35 -0
  132. package/styled-components/es/components/Calendar/utils/getDateWithModification.js +1 -1
  133. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +2 -2
  134. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -1
  135. package/styled-components/es/components/Dropdown/Dropdown.js +2 -2
  136. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -1
  137. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -1
  138. package/styled-components/es/components/Select/Select.js +2 -2
  139. package/styled-components/es/components/Select/ui/Inner/Inner.js +1 -1
  140. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +1 -1
  141. package/styled-components/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +1 -1
  142. package/styled-components/es/components/TextArea/TextArea.js +7 -1
  143. package/styled-components/es/components/TextField/TextField.js +1 -0
  144. package/styled-components/es/engines/common.js +40 -0
  145. package/styled-components/es/engines/styled-components.js +1 -1
  146. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +71 -8
  147. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +69 -7
  148. package/types/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  149. package/types/components/Breadcrumbs/utils/index.d.ts +5 -2
  150. package/types/components/Breadcrumbs/utils/index.d.ts.map +1 -1
  151. package/types/components/Calendar/utils/getDateWithModification.d.ts +1 -1
  152. package/types/components/Calendar/utils/getDateWithModification.d.ts.map +1 -1
  153. package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -1
  154. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  155. package/types/components/Dropdown/Dropdown.d.ts +2 -1
  156. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  157. package/types/components/Select/Select.d.ts +2 -1
  158. package/types/components/Select/Select.d.ts.map +1 -1
  159. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  160. package/types/components/TextField/TextField.d.ts.map +1 -1
  161. package/types/engines/common.d.ts +3 -1
  162. package/types/engines/common.d.ts.map +1 -1
  163. package/cjs/components/Breadcrumbs/ui/BreadcrumbShorter/BreadcrumbShorter.css +0 -3
  164. package/cjs/components/Breadcrumbs/utils/getShortItems.js +0 -44
  165. package/cjs/components/Breadcrumbs/utils/getShortItems.js.map +0 -1
  166. package/cjs/components/Combobox/ComboboxNew/Combobox.context.js +0 -10
  167. package/cjs/components/Combobox/ComboboxNew/Combobox.context.js.map +0 -1
  168. package/cjs/components/Dropdown/Dropdown.context.js +0 -10
  169. package/cjs/components/Dropdown/Dropdown.context.js.map +0 -1
  170. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.css +0 -27
  171. package/cjs/components/Select/Select.context.js +0 -10
  172. package/cjs/components/Select/Select.context.js.map +0 -1
  173. package/cjs/engines/utils.js +0 -40
  174. package/cjs/engines/utils.js.map +0 -1
  175. package/emotion/cjs/components/Breadcrumbs/utils/getShortItems.js +0 -42
  176. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.context.js +0 -8
  177. package/emotion/cjs/components/Dropdown/Dropdown.context.js +0 -8
  178. package/emotion/cjs/components/Select/Select.context.js +0 -8
  179. package/emotion/cjs/engines/utils.js +0 -42
  180. package/emotion/es/components/Breadcrumbs/utils/getShortItems.js +0 -35
  181. package/emotion/es/components/Combobox/ComboboxNew/Combobox.context.js +0 -2
  182. package/emotion/es/components/Dropdown/Dropdown.context.js +0 -2
  183. package/emotion/es/components/Select/Select.context.js +0 -2
  184. package/emotion/es/engines/utils.js +0 -36
  185. package/es/components/Breadcrumbs/ui/BreadcrumbShorter/BreadcrumbShorter.css +0 -3
  186. package/es/components/Breadcrumbs/utils/getShortItems.js +0 -39
  187. package/es/components/Breadcrumbs/utils/getShortItems.js.map +0 -1
  188. package/es/components/Combobox/ComboboxNew/Combobox.context.js +0 -6
  189. package/es/components/Combobox/ComboboxNew/Combobox.context.js.map +0 -1
  190. package/es/components/Dropdown/Dropdown.context.js +0 -6
  191. package/es/components/Dropdown/Dropdown.context.js.map +0 -1
  192. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.css +0 -27
  193. package/es/components/Select/Select.context.js +0 -6
  194. package/es/components/Select/Select.context.js.map +0 -1
  195. package/es/engines/utils.js +0 -35
  196. package/es/engines/utils.js.map +0 -1
  197. package/styled-components/cjs/components/Breadcrumbs/utils/getShortItems.js +0 -42
  198. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.context.js +0 -8
  199. package/styled-components/cjs/components/Dropdown/Dropdown.context.js +0 -8
  200. package/styled-components/cjs/components/Select/Select.context.js +0 -8
  201. package/styled-components/cjs/engines/utils.js +0 -42
  202. package/styled-components/es/components/Breadcrumbs/utils/getShortItems.js +0 -35
  203. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.context.js +0 -2
  204. package/styled-components/es/components/Dropdown/Dropdown.context.js +0 -2
  205. package/styled-components/es/components/Select/Select.context.js +0 -2
  206. package/styled-components/es/engines/utils.js +0 -36
  207. package/types/components/Breadcrumbs/utils/getShortItems.d.ts +0 -6
  208. package/types/components/Breadcrumbs/utils/getShortItems.d.ts.map +0 -1
  209. package/types/components/Combobox/ComboboxNew/Combobox.context.d.ts +0 -4
  210. package/types/components/Combobox/ComboboxNew/Combobox.context.d.ts.map +0 -1
  211. package/types/components/Dropdown/Dropdown.context.d.ts +0 -4
  212. package/types/components/Dropdown/Dropdown.context.d.ts.map +0 -1
  213. package/types/components/Select/Select.context.d.ts +0 -4
  214. package/types/components/Select/Select.context.d.ts.map +0 -1
  215. package/types/engines/utils.d.ts +0 -4
  216. package/types/engines/utils.d.ts.map +0 -1
  217. /package/cjs/components/Breadcrumbs/utils/{getShortItems.css → index.css} +0 -0
  218. /package/es/components/Breadcrumbs/utils/{getShortItems.css → index.css} +0 -0
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { RootProps } from '../../../engines';
3
- import type { ComboboxProps } from './Combobox.types';
3
+ import type { ItemContext, ComboboxProps } from './Combobox.types';
4
+ export declare const Context: React.Context<ItemContext>;
4
5
  /**
5
6
  * Поле ввода с выпадающим списком и возможностью фильтрации и выбора элементов.
6
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6E,MAAM,OAAO,CAAC;AAIlG,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAqB7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOtD;;GAEG;AAEH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,+IAsdtF,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAxdQ,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;CA6e3F,CAAC"}
1
+ {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAIjH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAqB7C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMnE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AAEH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,+IAsdtF,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAxdQ,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;CA6e3F,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { RootProps } from '../../engines';
3
- import type { DropdownProps } from './Dropdown.types';
3
+ import type { DropdownProps, ItemContext } from './Dropdown.types';
4
+ export declare const Context: React.Context<ItemContext>;
4
5
  /**
5
6
  * Выпадающий список.
6
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAG9D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,kBAAkB,CAAC;AAO9E;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;+EAmKrF,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBArKQ,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsLzF,CAAC"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwD,MAAM,OAAO,CAAC;AAG7E,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,aAAa,EAA0B,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAM3F,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;+EAmKrF,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBArKQ,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsLzF,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { RootProps } from '../../engines';
3
- import type { MergedSelectProps } from './Select.types';
3
+ import type { ItemContext, MergedSelectProps } from './Select.types';
4
+ export declare const Context: React.Context<ItemContext>;
4
5
  /**
5
6
  * Выпадающий список. Поддерживает выбор одного или нескольких значений.
6
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAiB1C,OAAO,KAAK,EAAE,iBAAiB,EAAiB,MAAM,gBAAgB,CAAC;AAMvE;;GAEG;AACH,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC,kJAwXzF,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBA1XQ,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC;;;;;;;;;CAsY9F,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAUN,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAiB1C,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAiB,MAAM,gBAAgB,CAAC;AAKpF,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC,kJAwXzF,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBA1XQ,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC;;;;;;;;;CAsY9F,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkF,MAAM,OAAO,CAAC;AAKvG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AA+BrD,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAkCzE,eAAO,MAAM,sBAAsB,UAAW,aAAa,WAAW,OAAO,2BA2B5E,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,UAAU,mBAAmB,EAAE,iBAAiB,CAAC,8FA+S9E,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAjTQ,UAAU,mBAAmB,EAAE,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmVnF,CAAC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmG,MAAM,OAAO,CAAC;AAKxH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AA+BrD,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAkCzE,eAAO,MAAM,sBAAsB,UAAW,aAAa,WAAW,OAAO,2BA2B5E,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,UAAU,mBAAmB,EAAE,iBAAiB,CAAC,8FAsT9E,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAxTQ,UAAU,mBAAmB,EAAE,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0VnF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,KAAK,EAAuC,cAAc,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAqCjH,eAAO,MAAM,IAAI,0CAGhB,CAAC;AAIF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,kBAAkB,CAAC,4FA2c5E,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBA7cQ,UAAU,cAAc,EAAE,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmfhF,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,KAAK,EAAuC,cAAc,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAqCjH,eAAO,MAAM,IAAI,0CAGhB,CAAC;AAIF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,kBAAkB,CAAC,4FA4c5E,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBA9cQ,UAAU,cAAc,EAAE,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAofhF,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import React from 'react';
2
- import type { ComponentConfig, HTMLTagList, PropsType, Variants, HTMLAttributesWithoutOnChange, HTMLAttributesWithoutOnChangeAndDefaultValue } from './types';
2
+ import type { ComponentConfig, HTMLAnyAttributes, HTMLTagList, PropsType, Variants, HTMLAttributesWithoutOnChange, HTMLAttributesWithoutOnChangeAndDefaultValue } from './types';
3
+ export declare const getStaticVariants: (config: ComponentConfig) => (string | import("./types").SerializedStyles)[];
4
+ export declare const getDynamicVariants: (config: ComponentConfig) => (props: HTMLAnyAttributes) => any[];
3
5
  export declare const mergeConfig: <Tag extends HTMLTagList, VariantList extends Variants, VariantsProps extends PropsType<VariantList>, LayoutPropsBase extends React.HTMLAttributes<HTMLElement> | HTMLAttributesWithoutOnChange<HTMLElement> | HTMLAttributesWithoutOnChangeAndDefaultValue<HTMLElement>, LayoutPropsUser extends React.HTMLAttributes<HTMLElement> | HTMLAttributesWithoutOnChange<HTMLElement> | HTMLAttributesWithoutOnChangeAndDefaultValue<HTMLElement> | undefined = undefined>(baseConfig: ComponentConfig<Tag, Variants, PropsType<Variants> & LayoutPropsBase, LayoutPropsBase>, userConfig?: Partial<ComponentConfig<Tag, VariantList, VariantsProps, LayoutPropsUser>> | undefined) => ComponentConfig<Tag, VariantList, PropsType<VariantList>, LayoutPropsUser extends undefined ? LayoutPropsBase : LayoutPropsUser>;
4
6
  export declare function component<Tag extends HTMLTagList, VariantList extends Variants, VariantsProps extends PropsType<VariantList>, LayoutProps extends React.HTMLAttributes<HTMLElement> | HTMLAttributesWithoutOnChange<HTMLElement> | HTMLAttributesWithoutOnChangeAndDefaultValue<HTMLElement>>(config: ComponentConfig<Tag, VariantList, VariantsProps, LayoutProps>): React.FunctionComponent<VariantsProps & LayoutProps>;
5
7
  //# sourceMappingURL=common.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/engines/common.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EACR,eAAe,EACf,WAAW,EACX,SAAS,EACT,QAAQ,EACR,6BAA6B,EAC7B,4CAA4C,EAC/C,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,WAAW,oxBAkDvB,CAAC;AAEF,wBAAgB,SAAS,CACrB,GAAG,SAAS,WAAW,EACvB,WAAW,SAAS,QAAQ,EAC5B,aAAa,SAAS,SAAS,CAAC,WAAW,CAAC,EAC5C,WAAW,SACL,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GACjC,6BAA6B,CAAC,WAAW,CAAC,GAC1C,4CAA4C,CAAC,WAAW,CAAC,EAE/D,MAAM,EAAE,eAAe,CAAC,GAAG,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,CAAC,GACtE,KAAK,CAAC,iBAAiB,CAAC,aAAa,GAAG,WAAW,CAAC,CAMtD"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/engines/common.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EACR,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,QAAQ,EACR,6BAA6B,EAC7B,4CAA4C,EAC/C,MAAM,SAAS,CAAC;AAMjB,eAAO,MAAM,iBAAiB,WAAY,eAAe,oDAcxD,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAAY,eAAe,aACvC,iBAAiB,UAgBnC,CAAC;AAEF,eAAO,MAAM,WAAW,oxBAkDvB,CAAC;AAEF,wBAAgB,SAAS,CACrB,GAAG,SAAS,WAAW,EACvB,WAAW,SAAS,QAAQ,EAC5B,aAAa,SAAS,SAAS,CAAC,WAAW,CAAC,EAC5C,WAAW,SACL,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GACjC,6BAA6B,CAAC,WAAW,CAAC,GAC1C,4CAA4C,CAAC,WAAW,CAAC,EAE/D,MAAM,EAAE,eAAe,CAAC,GAAG,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,CAAC,GACtE,KAAK,CAAC,iBAAiB,CAAC,aAAa,GAAG,WAAW,CAAC,CAMtD"}
@@ -1,3 +0,0 @@
1
-
2
- .BreadcrumbShorter_styles_czqxks_s19f9x1v__c6484ba8{cursor:pointer;position:relative;}.BreadcrumbShorter_styles_czqxks_s19f9x1v__c6484ba8::before{content:'';position:absolute;top:0.125rem;left:0.125rem;right:0.125rem;bottom:0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.125rem solid transparent;border-radius:0;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.BreadcrumbShorter_styles_czqxks_s19f9x1v__c6484ba8.BreadcrumbShorter_styles_czqxks_focusVisible__c6484ba8:focus::before,.BreadcrumbShorter_styles_czqxks_s19f9x1v__c6484ba8[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.125rem var(--plasma-breadcrumbs-focus-outline-color);}
3
- .BreadcrumbShorter_styles_czqxks_s1ald2fi__c6484ba8{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;gap:var(--plasma-breadcrumbs-gap);}
@@ -1,44 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var React = require('react');
6
- var BreadcrumbShorter = require('../ui/BreadcrumbShorter/BreadcrumbShorter.js');
7
- var Breadcrumbs_styles = require('../Breadcrumbs.styles.js');
8
-
9
- var shortItems = function shortItems(items, renderSeparator, showItems) {
10
- if (!showItems || showItems < 2 || items.length <= showItems) {
11
- return items;
12
- }
13
- var leftSlice = Math.floor(showItems / 2);
14
- var rightSlice = items.length - leftSlice - showItems % 2;
15
- var renderItems = items.slice(leftSlice, rightSlice);
16
- var shorter = /*#__PURE__*/React.createElement(BreadcrumbShorter.BreadcrumbShorter, {
17
- separator: renderSeparator
18
- }, renderItems);
19
- items.splice(leftSlice, rightSlice - leftSlice, shorter);
20
- return items;
21
- };
22
- var getRenderItems = function getRenderItems(items, renderSeparator, showItems) {
23
- var renderItems = shortItems(items.map(function (item) {
24
- if (item.renderItem) {
25
- return item.renderItem();
26
- }
27
- var title = item.title,
28
- disabled = item.disabled,
29
- href = item.href,
30
- onClick = item.onClick;
31
- return /*#__PURE__*/React.createElement(Breadcrumbs_styles.StyledLink, {
32
- tabIndex: 0,
33
- href: href,
34
- disabled: disabled,
35
- onClick: onClick,
36
- isHref: Boolean(href || onClick)
37
- }, title);
38
- }), renderSeparator, showItems);
39
- return renderItems;
40
- };
41
-
42
- exports.getRenderItems = getRenderItems;
43
- exports.shortItems = shortItems;
44
- //# sourceMappingURL=getShortItems.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getShortItems.js","sources":["../../../../src/components/Breadcrumbs/utils/getShortItems.tsx"],"sourcesContent":["import React from 'react';\nimport type { ReactNode } from 'react';\n\nimport { BreadcrumbShorter } from '../ui/BreadcrumbShorter/BreadcrumbShorter';\nimport { StyledLink } from '../Breadcrumbs.styles';\nimport { BreadcrumbsItem } from '../Breadcrumbs.types';\n\nexport const shortItems = (items: ReactNode[], renderSeparator: ReactNode, showItems?: number) => {\n if (!showItems || showItems < 2 || items.length <= showItems) {\n return items;\n }\n\n const leftSlice = Math.floor(showItems / 2);\n const rightSlice = items.length - leftSlice - (showItems % 2);\n\n const renderItems: ReactNode[] = items.slice(leftSlice, rightSlice);\n const shorter = <BreadcrumbShorter separator={renderSeparator}>{renderItems}</BreadcrumbShorter>;\n items.splice(leftSlice, rightSlice - leftSlice, shorter);\n return items;\n};\n\nexport const getRenderItems = (items: BreadcrumbsItem[], renderSeparator: ReactNode, showItems?: number) => {\n const renderItems = shortItems(\n items.map((item: BreadcrumbsItem) => {\n if (item.renderItem) {\n return item.renderItem();\n }\n\n const { title, disabled, href, onClick } = item;\n\n return (\n <StyledLink\n tabIndex={0}\n href={href}\n disabled={disabled}\n onClick={onClick}\n isHref={Boolean(href || onClick)}\n >\n {title}\n </StyledLink>\n );\n }),\n renderSeparator,\n showItems,\n );\n\n return renderItems;\n};\n"],"names":["shortItems","items","renderSeparator","showItems","length","leftSlice","Math","floor","rightSlice","renderItems","slice","shorter","React","createElement","BreadcrumbShorter","separator","splice","getRenderItems","map","item","renderItem","title","disabled","href","onClick","StyledLink","tabIndex","isHref","Boolean"],"mappings":";;;;;;;;AAOO,IAAMA,UAAU,GAAG,SAAbA,UAAUA,CAAIC,KAAkB,EAAEC,eAA0B,EAAEC,SAAkB,EAAK;AAC9F,EAAA,IAAI,CAACA,SAAS,IAAIA,SAAS,GAAG,CAAC,IAAIF,KAAK,CAACG,MAAM,IAAID,SAAS,EAAE;AAC1D,IAAA,OAAOF,KAAK,CAAA;AAChB,GAAA;EAEA,IAAMI,SAAS,GAAGC,IAAI,CAACC,KAAK,CAACJ,SAAS,GAAG,CAAC,CAAC,CAAA;EAC3C,IAAMK,UAAU,GAAGP,KAAK,CAACG,MAAM,GAAGC,SAAS,GAAIF,SAAS,GAAG,CAAE,CAAA;EAE7D,IAAMM,WAAwB,GAAGR,KAAK,CAACS,KAAK,CAACL,SAAS,EAAEG,UAAU,CAAC,CAAA;AACnE,EAAA,IAAMG,OAAO,gBAAGC,KAAA,CAAAC,aAAA,CAACC,mCAAiB,EAAA;AAACC,IAAAA,SAAS,EAAEb,eAAAA;AAAgB,GAAA,EAAEO,WAA+B,CAAC,CAAA;EAChGR,KAAK,CAACe,MAAM,CAACX,SAAS,EAAEG,UAAU,GAAGH,SAAS,EAAEM,OAAO,CAAC,CAAA;AACxD,EAAA,OAAOV,KAAK,CAAA;AAChB,EAAC;AAEM,IAAMgB,cAAc,GAAG,SAAjBA,cAAcA,CAAIhB,KAAwB,EAAEC,eAA0B,EAAEC,SAAkB,EAAK;EACxG,IAAMM,WAAW,GAAGT,UAAU,CAC1BC,KAAK,CAACiB,GAAG,CAAC,UAACC,IAAqB,EAAK;IACjC,IAAIA,IAAI,CAACC,UAAU,EAAE;AACjB,MAAA,OAAOD,IAAI,CAACC,UAAU,EAAE,CAAA;AAC5B,KAAA;AAEA,IAAA,IAAQC,KAAK,GAA8BF,IAAI,CAAvCE,KAAK;MAAEC,QAAQ,GAAoBH,IAAI,CAAhCG,QAAQ;MAAEC,IAAI,GAAcJ,IAAI,CAAtBI,IAAI;MAAEC,OAAO,GAAKL,IAAI,CAAhBK,OAAO,CAAA;AAEtC,IAAA,oBACIZ,KAAA,CAAAC,aAAA,CAACY,6BAAU,EAAA;AACPC,MAAAA,QAAQ,EAAE,CAAE;AACZH,MAAAA,IAAI,EAAEA,IAAK;AACXD,MAAAA,QAAQ,EAAEA,QAAS;AACnBE,MAAAA,OAAO,EAAEA,OAAQ;AACjBG,MAAAA,MAAM,EAAEC,OAAO,CAACL,IAAI,IAAIC,OAAO,CAAA;AAAE,KAAA,EAEhCH,KACO,CAAC,CAAA;AAErB,GAAC,CAAC,EACFnB,eAAe,EACfC,SACJ,CAAC,CAAA;AAED,EAAA,OAAOM,WAAW,CAAA;AACtB;;;;;"}
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var React = require('react');
6
-
7
- var Context = /*#__PURE__*/React.createContext({});
8
-
9
- exports.Context = Context;
10
- //# sourceMappingURL=Combobox.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Combobox.context.js","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.context.tsx"],"sourcesContent":["import { createContext } from 'react';\n\nimport type { ItemContext } from './Combobox.types';\n\nexport const Context = createContext<ItemContext>({} as ItemContext);\n"],"names":["Context","createContext"],"mappings":";;;;;;IAIaA,OAAO,gBAAGC,mBAAa,CAAc,EAAiB;;;;"}
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var React = require('react');
6
-
7
- var Context = /*#__PURE__*/React.createContext({});
8
-
9
- exports.Context = Context;
10
- //# sourceMappingURL=Dropdown.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Dropdown.context.js","sources":["../../../src/components/Dropdown/Dropdown.context.tsx"],"sourcesContent":["import { createContext } from 'react';\n\nimport type { ItemContext } from './Dropdown.types';\n\nexport const Context = createContext<ItemContext>({} as ItemContext);\n"],"names":["Context","createContext"],"mappings":";;;;;;IAIaA,OAAO,gBAAGC,mBAAa,CAAc,EAAiB;;;;"}
@@ -1,27 +0,0 @@
1
- .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
2
-
3
- .CellTextboxLabel_styles_1x97zqi_supiagz__b05150dd{color:var(--plasma-cell-label-color);font-size:var(--plasma-cell-label-font-size);font-weight:var(--plasma-cell-label-font-weight);font-family:var(--plasma-cell-label-font-family);font-style:var(--plasma-cell-label-font-style);line-height:var(--plasma-cell-label-line-height);-webkit-letter-spacing:var(--plasma-cell-label-letter-spacing);-moz-letter-spacing:var(--plasma-cell-label-letter-spacing);-ms-letter-spacing:var(--plasma-cell-label-letter-spacing);letter-spacing:var(--plasma-cell-label-letter-spacing);}
4
-
5
- .CellTextboxTitle_styles_jogov7_s16psy9b__edbbb199{color:var(--plasma-cell-title-color);font-size:var(--plasma-cell-title-font-size);font-weight:var(--plasma-cell-title-font-weight);font-family:var(--plasma-cell-title-font-family);font-style:var(--plasma-cell-title-font-style);line-height:var(--plasma-cell-title-line-height);-webkit-letter-spacing:var(--plasma-cell-title-letter-spacing);-moz-letter-spacing:var(--plasma-cell-title-letter-spacing);-ms-letter-spacing:var(--plasma-cell-title-letter-spacing);letter-spacing:var(--plasma-cell-title-letter-spacing);}
6
-
7
- .CellTextboxSubtitle_styles_n7i06q_s1bdz4u4__8e9f9a5a{color:var(--plasma-cell-subtitle-color);font-size:var(--plasma-cell-subtitle-font-size);font-weight:var(--plasma-cell-subtitle-font-weight);font-family:var(--plasma-cell-subtitle-font-family);font-style:var(--plasma-cell-subtitle-font-style);line-height:var(--plasma-cell-subtitle-line-height);-webkit-letter-spacing:var(--plasma-cell-subtitle-letter-spacing);-moz-letter-spacing:var(--plasma-cell-subtitle-letter-spacing);-ms-letter-spacing:var(--plasma-cell-subtitle-letter-spacing);letter-spacing:var(--plasma-cell-subtitle-letter-spacing);}
8
-
9
- .Cell_styles_1lali49_b1wikybr__a35afa10.Cell_styles_1lali49_b1wikybr__a35afa10.Cell_styles_1lali49_cellStretchingFixed__a35afa10{width:var(--plasma-cell-width);}.Cell_styles_1lali49_b1wikybr__a35afa10.Cell_styles_1lali49_b1wikybr__a35afa10.Cell_styles_1lali49_cellStretchingFilled__a35afa10{width:100%;}.Cell_styles_1lali49_b1wikybr__a35afa10.Cell_styles_1lali49_b1wikybr__a35afa10.Cell_styles_1lali49_cellStretchingAuto__a35afa10{width:auto;}
10
- .Cell_styles_1lali49_c1e5qbb3__a35afa10{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:auto;-ms-flex:auto;flex:auto;-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;gap:var(--plasma-cell-gap);height:auto;}
11
- .Cell_styles_1lali49_cdgokyj__a35afa10{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;height:auto;}
12
- .Cell_styles_1lali49_c1k87ec1__a35afa10{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:var(--c1k87ec1-0);-webkit-box-align:var(--c1k87ec1-0);-ms-flex-align:var(--c1k87ec1-0);align-items:var(--c1k87ec1-0);}
13
- .Cell_styles_1lali49_c1spqh22__a35afa10{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:var(--c1spqh22-0);-webkit-box-align:var(--c1spqh22-0);-ms-flex-align:var(--c1spqh22-0);align-items:var(--c1spqh22-0);text-align:right;}
14
-
15
- .base_pir0qf_b1sr9i7l__baa3f156{color:var(--plasma-cell-color);background-color:var(--plasma-cell-background-color);width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;gap:var(--plasma-cell-gap);}.base_pir0qf_b1sr9i7l__baa3f156:focus{outline:0 none;}
16
-
17
- .CellTextbox_styles_rgpies_cz0uqdu__c842929b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:var(--plasma-cell-textbox-gap);}
18
-
19
- .DropdownItem_styles_14yih1y_c1gkzlls__bf539568{--plasma-cell-title-color:var(--text-primary);--plasma-cell-background-color:var(--plasma-colors-transparent);--plasma-cell-padding:var(--plasma-dropdown-cell-padding);--plasma-cell-padding-left-content:var(--plasma-dropdown-cell-padding-left-content);--plasma-cell-padding-content:var(--plasma-dropdown-cell-padding-content);--plasma-cell-padding-right-content:var(--plasma-dropdown-cell-padding-right-content);--plasma-cell-textbox-gap:var(--plasma-dropdown-cell-textbox-gap);--plasma-cell-gap:var(--plasma-dropdown-cell-gap);--plasma-cell-title-font-family:var(--plasma-dropdown-cell-title-font-family);--plasma-cell-title-font-size:var(--plasma-dropdown-cell-title-font-size);--plasma-cell-title-font-style:var(--plasma-dropdown-cell-title-font-style);--plasma-cell-title-font-weight:var(--plasma-dropdown-cell-title-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-dropdown-cell-title-letter-spacing);--plasma-cell-title-line-height:var(--plasma-dropdown-cell-title-line-height);width:100%;}
20
-
21
- .DropdownItem_styles_14yih1y_d1m97l2m__bf539568{line-height:0;color:var(--text-secondary);}
22
- .DropdownItem_styles_14yih1y_doib72h__bf539568{height:1px;margin-top:var(--doib72h-0);margin-right:var(--plasma-dropdown-divider-margin-right);margin-bottom:var(--doib72h-1);margin-left:var(--plasma-dropdown-divider-margin-left);background:var(--plasma-dropdown-divider-color);}
23
- .DropdownItem_styles_14yih1y_w6l2f0g__bf539568{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;min-height:var(--plasma-dropdown-item-height);margin:0;box-sizing:content-box;padding:var(--w6l2f0g-0);font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background-color:var(--plasma-colors-transparent);border-radius:var(--plasma-dropdown-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:0.125rem solid transparent;border-left:0.125rem solid transparent;background-clip:padding-box;position:relative;}.DropdownItem_styles_14yih1y_w6l2f0g__bf539568:hover:not(.DropdownItem_styles_14yih1y_dropdownItemIsDisabled__bf539568){cursor:pointer;background-color:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_14yih1y_w6l2f0g__bf539568.DropdownItem_styles_14yih1y_dropdownItemIsActive__bf539568{background-color:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_14yih1y_w6l2f0g__bf539568.DropdownItem_styles_14yih1y_dropdownItemIsDisabled__bf539568{opacity:0.4;cursor:not-allowed;}.DropdownItem_styles_14yih1y_w6l2f0g__bf539568:focus{outline:none;}.DropdownItem_styles_14yih1y_w6l2f0g__bf539568::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.DropdownItem_styles_14yih1y_w6l2f0g__bf539568.DropdownItem_styles_14yih1y_dropdownItemIsFocused__bf539568:before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
24
- .DropdownItem_styles_14yih1y_r1jav4ek__bf539568{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
25
-
26
- .Dropdown_styles_1ljmphy_un7uamp__8526f7b0{box-sizing:border-box;width:var(--un7uamp-0);max-height:var(--un7uamp-1);margin:var(--un7uamp-2);padding:var(--plasma-dropdown-padding) 0;overflow:var(--un7uamp-3);background:var(--surface-solid-card-brightness);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-dropdown-border-radius);border:var(--plasma-dropdown-border-width) solid var(--plasma-dropdown-border-color);}
27
-
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var React = require('react');
6
-
7
- var Context = /*#__PURE__*/React.createContext({});
8
-
9
- exports.Context = Context;
10
- //# sourceMappingURL=Select.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Select.context.js","sources":["../../../src/components/Select/Select.context.tsx"],"sourcesContent":["import { createContext } from 'react';\n\nimport type { ItemContext } from './Select.types';\n\nexport const Context = createContext<ItemContext>({} as ItemContext);\n"],"names":["Context","createContext"],"mappings":";;;;;;IAIaA,OAAO,gBAAGC,mBAAa,CAAc,EAAiB;;;;"}
@@ -1,40 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.js');
6
-
7
- var getStaticVariants = function getStaticVariants(config) {
8
- if (!config.variations) {
9
- return [];
10
- }
11
- var res = [];
12
- var variations = config.variations;
13
-
14
- // eslint-disable-next-line guard-for-in
15
- for (var key in variations) {
16
- var css = variations[key].css;
17
- css && res.push(css);
18
- }
19
- return res;
20
- };
21
- var getDynamicVariants = function getDynamicVariants(config) {
22
- return function (props) {
23
- var res = [];
24
-
25
- // eslint-disable-next-line guard-for-in
26
- for (var key in config.variations) {
27
- if (key in props) {
28
- var variant = config.variations[key];
29
- var css = variant[props[key]];
30
- // no css for { modifier: true }
31
- css && Array.isArray(css) ? res.push.apply(res, _rollupPluginBabelHelpers.toConsumableArray(css)) : res.push(css);
32
- }
33
- }
34
- return res;
35
- };
36
- };
37
-
38
- exports.getDynamicVariants = getDynamicVariants;
39
- exports.getStaticVariants = getStaticVariants;
40
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../../src/engines/utils.tsx"],"sourcesContent":["import type { ComponentConfig, HTMLAnyAttributes } from './types';\n\nexport const getStaticVariants = (config: ComponentConfig) => {\n if (!config.variations) {\n return [];\n }\n const res = [];\n const { variations } = config;\n\n // eslint-disable-next-line guard-for-in\n for (const key in variations) {\n const { css } = variations[key];\n css && res.push(css);\n }\n\n return res;\n};\n\nexport const getDynamicVariants = (config: ComponentConfig) => {\n return (props: HTMLAnyAttributes) => {\n const res = [];\n\n // eslint-disable-next-line guard-for-in\n for (const key in config.variations) {\n if (key in props) {\n const variant = config.variations[key];\n\n const css = variant[props[key]];\n // no css for { modifier: true }\n css && Array.isArray(css) ? res.push(...css) : res.push(css);\n }\n }\n\n return res;\n };\n};\n"],"names":["getStaticVariants","config","variations","res","key","css","push","getDynamicVariants","props","variant","Array","isArray","apply","_toConsumableArray"],"mappings":";;;;;;IAEaA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,MAAuB,EAAK;AAC1D,EAAA,IAAI,CAACA,MAAM,CAACC,UAAU,EAAE;AACpB,IAAA,OAAO,EAAE,CAAA;AACb,GAAA;EACA,IAAMC,GAAG,GAAG,EAAE,CAAA;AACd,EAAA,IAAQD,UAAU,GAAKD,MAAM,CAArBC,UAAU,CAAA;;AAElB;AACA,EAAA,KAAK,IAAME,GAAG,IAAIF,UAAU,EAAE;AAC1B,IAAA,IAAQG,GAAG,GAAKH,UAAU,CAACE,GAAG,CAAC,CAAvBC,GAAG,CAAA;AACXA,IAAAA,GAAG,IAAIF,GAAG,CAACG,IAAI,CAACD,GAAG,CAAC,CAAA;AACxB,GAAA;AAEA,EAAA,OAAOF,GAAG,CAAA;AACd,EAAC;IAEYI,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIN,MAAuB,EAAK;EAC3D,OAAO,UAACO,KAAwB,EAAK;IACjC,IAAML,GAAG,GAAG,EAAE,CAAA;;AAEd;AACA,IAAA,KAAK,IAAMC,GAAG,IAAIH,MAAM,CAACC,UAAU,EAAE;MACjC,IAAIE,GAAG,IAAII,KAAK,EAAE;AACd,QAAA,IAAMC,OAAO,GAAGR,MAAM,CAACC,UAAU,CAACE,GAAG,CAAC,CAAA;QAEtC,IAAMC,GAAG,GAAGI,OAAO,CAACD,KAAK,CAACJ,GAAG,CAAC,CAAC,CAAA;AAC/B;QACAC,GAAG,IAAIK,KAAK,CAACC,OAAO,CAACN,GAAG,CAAC,GAAGF,GAAG,CAACG,IAAI,CAAAM,KAAA,CAART,GAAG,EAAAU,2CAAA,CAASR,GAAG,CAAA,CAAC,GAAGF,GAAG,CAACG,IAAI,CAACD,GAAG,CAAC,CAAA;AAChE,OAAA;AACJ,KAAA;AAEA,IAAA,OAAOF,GAAG,CAAA;GACb,CAAA;AACL;;;;;"}
@@ -1,42 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.shortItems = exports.getRenderItems = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
- var _BreadcrumbShorter = /*#__PURE__*/require("../ui/BreadcrumbShorter/BreadcrumbShorter");
9
- var _Breadcrumbs = /*#__PURE__*/require("../Breadcrumbs.styles");
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- var shortItems = exports.shortItems = function shortItems(items, renderSeparator, showItems) {
12
- if (!showItems || showItems < 2 || items.length <= showItems) {
13
- return items;
14
- }
15
- var leftSlice = Math.floor(showItems / 2);
16
- var rightSlice = items.length - leftSlice - showItems % 2;
17
- var renderItems = items.slice(leftSlice, rightSlice);
18
- var shorter = /*#__PURE__*/_react["default"].createElement(_BreadcrumbShorter.BreadcrumbShorter, {
19
- separator: renderSeparator
20
- }, renderItems);
21
- items.splice(leftSlice, rightSlice - leftSlice, shorter);
22
- return items;
23
- };
24
- var getRenderItems = exports.getRenderItems = function getRenderItems(items, renderSeparator, showItems) {
25
- var renderItems = shortItems(items.map(function (item) {
26
- if (item.renderItem) {
27
- return item.renderItem();
28
- }
29
- var title = item.title,
30
- disabled = item.disabled,
31
- href = item.href,
32
- onClick = item.onClick;
33
- return /*#__PURE__*/_react["default"].createElement(_Breadcrumbs.StyledLink, {
34
- tabIndex: 0,
35
- href: href,
36
- disabled: disabled,
37
- onClick: onClick,
38
- isHref: Boolean(href || onClick)
39
- }, title);
40
- }), renderSeparator, showItems);
41
- return renderItems;
42
- };
@@ -1,8 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Context = void 0;
7
- var _react = /*#__PURE__*/require("react");
8
- var Context = exports.Context = /*#__PURE__*/(0, _react.createContext)({});
@@ -1,8 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Context = void 0;
7
- var _react = /*#__PURE__*/require("react");
8
- var Context = exports.Context = /*#__PURE__*/(0, _react.createContext)({});
@@ -1,8 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Context = void 0;
7
- var _react = /*#__PURE__*/require("react");
8
- var Context = exports.Context = /*#__PURE__*/(0, _react.createContext)({});
@@ -1,42 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getStaticVariants = exports.getDynamicVariants = void 0;
7
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
8
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
- 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); }
10
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
11
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
12
- 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; }
13
- var getStaticVariants = exports.getStaticVariants = function getStaticVariants(config) {
14
- if (!config.variations) {
15
- return [];
16
- }
17
- var res = [];
18
- var variations = config.variations;
19
-
20
- // eslint-disable-next-line guard-for-in
21
- for (var key in variations) {
22
- var css = variations[key].css;
23
- css && res.push(css);
24
- }
25
- return res;
26
- };
27
- var getDynamicVariants = exports.getDynamicVariants = function getDynamicVariants(config) {
28
- return function (props) {
29
- var res = [];
30
-
31
- // eslint-disable-next-line guard-for-in
32
- for (var key in config.variations) {
33
- if (key in props) {
34
- var variant = config.variations[key];
35
- var css = variant[props[key]];
36
- // no css for { modifier: true }
37
- css && Array.isArray(css) ? res.push.apply(res, _toConsumableArray(css)) : res.push(css);
38
- }
39
- }
40
- return res;
41
- };
42
- };
@@ -1,35 +0,0 @@
1
- import React from 'react';
2
- import { BreadcrumbShorter } from '../ui/BreadcrumbShorter/BreadcrumbShorter';
3
- import { StyledLink } from '../Breadcrumbs.styles';
4
- export var shortItems = function shortItems(items, renderSeparator, showItems) {
5
- if (!showItems || showItems < 2 || items.length <= showItems) {
6
- return items;
7
- }
8
- var leftSlice = Math.floor(showItems / 2);
9
- var rightSlice = items.length - leftSlice - showItems % 2;
10
- var renderItems = items.slice(leftSlice, rightSlice);
11
- var shorter = /*#__PURE__*/React.createElement(BreadcrumbShorter, {
12
- separator: renderSeparator
13
- }, renderItems);
14
- items.splice(leftSlice, rightSlice - leftSlice, shorter);
15
- return items;
16
- };
17
- export var getRenderItems = function getRenderItems(items, renderSeparator, showItems) {
18
- var renderItems = shortItems(items.map(function (item) {
19
- if (item.renderItem) {
20
- return item.renderItem();
21
- }
22
- var title = item.title,
23
- disabled = item.disabled,
24
- href = item.href,
25
- onClick = item.onClick;
26
- return /*#__PURE__*/React.createElement(StyledLink, {
27
- tabIndex: 0,
28
- href: href,
29
- disabled: disabled,
30
- onClick: onClick,
31
- isHref: Boolean(href || onClick)
32
- }, title);
33
- }), renderSeparator, showItems);
34
- return renderItems;
35
- };
@@ -1,2 +0,0 @@
1
- import { createContext } from 'react';
2
- export var Context = /*#__PURE__*/createContext({});
@@ -1,2 +0,0 @@
1
- import { createContext } from 'react';
2
- export var Context = /*#__PURE__*/createContext({});
@@ -1,2 +0,0 @@
1
- import { createContext } from 'react';
2
- export var Context = /*#__PURE__*/createContext({});
@@ -1,36 +0,0 @@
1
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
2
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
- 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); }
4
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
5
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
- 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; }
7
- export var getStaticVariants = function getStaticVariants(config) {
8
- if (!config.variations) {
9
- return [];
10
- }
11
- var res = [];
12
- var variations = config.variations;
13
-
14
- // eslint-disable-next-line guard-for-in
15
- for (var key in variations) {
16
- var css = variations[key].css;
17
- css && res.push(css);
18
- }
19
- return res;
20
- };
21
- export var getDynamicVariants = function getDynamicVariants(config) {
22
- return function (props) {
23
- var res = [];
24
-
25
- // eslint-disable-next-line guard-for-in
26
- for (var key in config.variations) {
27
- if (key in props) {
28
- var variant = config.variations[key];
29
- var css = variant[props[key]];
30
- // no css for { modifier: true }
31
- css && Array.isArray(css) ? res.push.apply(res, _toConsumableArray(css)) : res.push(css);
32
- }
33
- }
34
- return res;
35
- };
36
- };
@@ -1,3 +0,0 @@
1
-
2
- .BreadcrumbShorter_styles_czqxks_s19f9x1v__c6484ba8{cursor:pointer;position:relative;}.BreadcrumbShorter_styles_czqxks_s19f9x1v__c6484ba8::before{content:'';position:absolute;top:0.125rem;left:0.125rem;right:0.125rem;bottom:0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.125rem solid transparent;border-radius:0;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.BreadcrumbShorter_styles_czqxks_s19f9x1v__c6484ba8.BreadcrumbShorter_styles_czqxks_focusVisible__c6484ba8:focus::before,.BreadcrumbShorter_styles_czqxks_s19f9x1v__c6484ba8[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.125rem var(--plasma-breadcrumbs-focus-outline-color);}
3
- .BreadcrumbShorter_styles_czqxks_s1ald2fi__c6484ba8{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;gap:var(--plasma-breadcrumbs-gap);}
@@ -1,39 +0,0 @@
1
- import React from 'react';
2
- import { BreadcrumbShorter } from '../ui/BreadcrumbShorter/BreadcrumbShorter.js';
3
- import { StyledLink } from '../Breadcrumbs.styles.js';
4
-
5
- var shortItems = function shortItems(items, renderSeparator, showItems) {
6
- if (!showItems || showItems < 2 || items.length <= showItems) {
7
- return items;
8
- }
9
- var leftSlice = Math.floor(showItems / 2);
10
- var rightSlice = items.length - leftSlice - showItems % 2;
11
- var renderItems = items.slice(leftSlice, rightSlice);
12
- var shorter = /*#__PURE__*/React.createElement(BreadcrumbShorter, {
13
- separator: renderSeparator
14
- }, renderItems);
15
- items.splice(leftSlice, rightSlice - leftSlice, shorter);
16
- return items;
17
- };
18
- var getRenderItems = function getRenderItems(items, renderSeparator, showItems) {
19
- var renderItems = shortItems(items.map(function (item) {
20
- if (item.renderItem) {
21
- return item.renderItem();
22
- }
23
- var title = item.title,
24
- disabled = item.disabled,
25
- href = item.href,
26
- onClick = item.onClick;
27
- return /*#__PURE__*/React.createElement(StyledLink, {
28
- tabIndex: 0,
29
- href: href,
30
- disabled: disabled,
31
- onClick: onClick,
32
- isHref: Boolean(href || onClick)
33
- }, title);
34
- }), renderSeparator, showItems);
35
- return renderItems;
36
- };
37
-
38
- export { getRenderItems, shortItems };
39
- //# sourceMappingURL=getShortItems.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getShortItems.js","sources":["../../../../src/components/Breadcrumbs/utils/getShortItems.tsx"],"sourcesContent":["import React from 'react';\nimport type { ReactNode } from 'react';\n\nimport { BreadcrumbShorter } from '../ui/BreadcrumbShorter/BreadcrumbShorter';\nimport { StyledLink } from '../Breadcrumbs.styles';\nimport { BreadcrumbsItem } from '../Breadcrumbs.types';\n\nexport const shortItems = (items: ReactNode[], renderSeparator: ReactNode, showItems?: number) => {\n if (!showItems || showItems < 2 || items.length <= showItems) {\n return items;\n }\n\n const leftSlice = Math.floor(showItems / 2);\n const rightSlice = items.length - leftSlice - (showItems % 2);\n\n const renderItems: ReactNode[] = items.slice(leftSlice, rightSlice);\n const shorter = <BreadcrumbShorter separator={renderSeparator}>{renderItems}</BreadcrumbShorter>;\n items.splice(leftSlice, rightSlice - leftSlice, shorter);\n return items;\n};\n\nexport const getRenderItems = (items: BreadcrumbsItem[], renderSeparator: ReactNode, showItems?: number) => {\n const renderItems = shortItems(\n items.map((item: BreadcrumbsItem) => {\n if (item.renderItem) {\n return item.renderItem();\n }\n\n const { title, disabled, href, onClick } = item;\n\n return (\n <StyledLink\n tabIndex={0}\n href={href}\n disabled={disabled}\n onClick={onClick}\n isHref={Boolean(href || onClick)}\n >\n {title}\n </StyledLink>\n );\n }),\n renderSeparator,\n showItems,\n );\n\n return renderItems;\n};\n"],"names":["shortItems","items","renderSeparator","showItems","length","leftSlice","Math","floor","rightSlice","renderItems","slice","shorter","React","createElement","BreadcrumbShorter","separator","splice","getRenderItems","map","item","renderItem","title","disabled","href","onClick","StyledLink","tabIndex","isHref","Boolean"],"mappings":";;;;AAOO,IAAMA,UAAU,GAAG,SAAbA,UAAUA,CAAIC,KAAkB,EAAEC,eAA0B,EAAEC,SAAkB,EAAK;AAC9F,EAAA,IAAI,CAACA,SAAS,IAAIA,SAAS,GAAG,CAAC,IAAIF,KAAK,CAACG,MAAM,IAAID,SAAS,EAAE;AAC1D,IAAA,OAAOF,KAAK,CAAA;AAChB,GAAA;EAEA,IAAMI,SAAS,GAAGC,IAAI,CAACC,KAAK,CAACJ,SAAS,GAAG,CAAC,CAAC,CAAA;EAC3C,IAAMK,UAAU,GAAGP,KAAK,CAACG,MAAM,GAAGC,SAAS,GAAIF,SAAS,GAAG,CAAE,CAAA;EAE7D,IAAMM,WAAwB,GAAGR,KAAK,CAACS,KAAK,CAACL,SAAS,EAAEG,UAAU,CAAC,CAAA;AACnE,EAAA,IAAMG,OAAO,gBAAGC,KAAA,CAAAC,aAAA,CAACC,iBAAiB,EAAA;AAACC,IAAAA,SAAS,EAAEb,eAAAA;AAAgB,GAAA,EAAEO,WAA+B,CAAC,CAAA;EAChGR,KAAK,CAACe,MAAM,CAACX,SAAS,EAAEG,UAAU,GAAGH,SAAS,EAAEM,OAAO,CAAC,CAAA;AACxD,EAAA,OAAOV,KAAK,CAAA;AAChB,EAAC;AAEM,IAAMgB,cAAc,GAAG,SAAjBA,cAAcA,CAAIhB,KAAwB,EAAEC,eAA0B,EAAEC,SAAkB,EAAK;EACxG,IAAMM,WAAW,GAAGT,UAAU,CAC1BC,KAAK,CAACiB,GAAG,CAAC,UAACC,IAAqB,EAAK;IACjC,IAAIA,IAAI,CAACC,UAAU,EAAE;AACjB,MAAA,OAAOD,IAAI,CAACC,UAAU,EAAE,CAAA;AAC5B,KAAA;AAEA,IAAA,IAAQC,KAAK,GAA8BF,IAAI,CAAvCE,KAAK;MAAEC,QAAQ,GAAoBH,IAAI,CAAhCG,QAAQ;MAAEC,IAAI,GAAcJ,IAAI,CAAtBI,IAAI;MAAEC,OAAO,GAAKL,IAAI,CAAhBK,OAAO,CAAA;AAEtC,IAAA,oBACIZ,KAAA,CAAAC,aAAA,CAACY,UAAU,EAAA;AACPC,MAAAA,QAAQ,EAAE,CAAE;AACZH,MAAAA,IAAI,EAAEA,IAAK;AACXD,MAAAA,QAAQ,EAAEA,QAAS;AACnBE,MAAAA,OAAO,EAAEA,OAAQ;AACjBG,MAAAA,MAAM,EAAEC,OAAO,CAACL,IAAI,IAAIC,OAAO,CAAA;AAAE,KAAA,EAEhCH,KACO,CAAC,CAAA;AAErB,GAAC,CAAC,EACFnB,eAAe,EACfC,SACJ,CAAC,CAAA;AAED,EAAA,OAAOM,WAAW,CAAA;AACtB;;;;"}
@@ -1,6 +0,0 @@
1
- import { createContext } from 'react';
2
-
3
- var Context = /*#__PURE__*/createContext({});
4
-
5
- export { Context };
6
- //# sourceMappingURL=Combobox.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Combobox.context.js","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.context.tsx"],"sourcesContent":["import { createContext } from 'react';\n\nimport type { ItemContext } from './Combobox.types';\n\nexport const Context = createContext<ItemContext>({} as ItemContext);\n"],"names":["Context","createContext"],"mappings":";;IAIaA,OAAO,gBAAGC,aAAa,CAAc,EAAiB;;;;"}
@@ -1,6 +0,0 @@
1
- import { createContext } from 'react';
2
-
3
- var Context = /*#__PURE__*/createContext({});
4
-
5
- export { Context };
6
- //# sourceMappingURL=Dropdown.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Dropdown.context.js","sources":["../../../src/components/Dropdown/Dropdown.context.tsx"],"sourcesContent":["import { createContext } from 'react';\n\nimport type { ItemContext } from './Dropdown.types';\n\nexport const Context = createContext<ItemContext>({} as ItemContext);\n"],"names":["Context","createContext"],"mappings":";;IAIaA,OAAO,gBAAGC,aAAa,CAAc,EAAiB;;;;"}
@@ -1,27 +0,0 @@
1
- .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
2
-
3
- .CellTextboxLabel_styles_1x97zqi_supiagz__b05150dd{color:var(--plasma-cell-label-color);font-size:var(--plasma-cell-label-font-size);font-weight:var(--plasma-cell-label-font-weight);font-family:var(--plasma-cell-label-font-family);font-style:var(--plasma-cell-label-font-style);line-height:var(--plasma-cell-label-line-height);-webkit-letter-spacing:var(--plasma-cell-label-letter-spacing);-moz-letter-spacing:var(--plasma-cell-label-letter-spacing);-ms-letter-spacing:var(--plasma-cell-label-letter-spacing);letter-spacing:var(--plasma-cell-label-letter-spacing);}
4
-
5
- .CellTextboxTitle_styles_jogov7_s16psy9b__edbbb199{color:var(--plasma-cell-title-color);font-size:var(--plasma-cell-title-font-size);font-weight:var(--plasma-cell-title-font-weight);font-family:var(--plasma-cell-title-font-family);font-style:var(--plasma-cell-title-font-style);line-height:var(--plasma-cell-title-line-height);-webkit-letter-spacing:var(--plasma-cell-title-letter-spacing);-moz-letter-spacing:var(--plasma-cell-title-letter-spacing);-ms-letter-spacing:var(--plasma-cell-title-letter-spacing);letter-spacing:var(--plasma-cell-title-letter-spacing);}
6
-
7
- .CellTextboxSubtitle_styles_n7i06q_s1bdz4u4__8e9f9a5a{color:var(--plasma-cell-subtitle-color);font-size:var(--plasma-cell-subtitle-font-size);font-weight:var(--plasma-cell-subtitle-font-weight);font-family:var(--plasma-cell-subtitle-font-family);font-style:var(--plasma-cell-subtitle-font-style);line-height:var(--plasma-cell-subtitle-line-height);-webkit-letter-spacing:var(--plasma-cell-subtitle-letter-spacing);-moz-letter-spacing:var(--plasma-cell-subtitle-letter-spacing);-ms-letter-spacing:var(--plasma-cell-subtitle-letter-spacing);letter-spacing:var(--plasma-cell-subtitle-letter-spacing);}
8
-
9
- .Cell_styles_1lali49_b1wikybr__a35afa10.Cell_styles_1lali49_b1wikybr__a35afa10.Cell_styles_1lali49_cellStretchingFixed__a35afa10{width:var(--plasma-cell-width);}.Cell_styles_1lali49_b1wikybr__a35afa10.Cell_styles_1lali49_b1wikybr__a35afa10.Cell_styles_1lali49_cellStretchingFilled__a35afa10{width:100%;}.Cell_styles_1lali49_b1wikybr__a35afa10.Cell_styles_1lali49_b1wikybr__a35afa10.Cell_styles_1lali49_cellStretchingAuto__a35afa10{width:auto;}
10
- .Cell_styles_1lali49_c1e5qbb3__a35afa10{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:auto;-ms-flex:auto;flex:auto;-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;gap:var(--plasma-cell-gap);height:auto;}
11
- .Cell_styles_1lali49_cdgokyj__a35afa10{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;height:auto;}
12
- .Cell_styles_1lali49_c1k87ec1__a35afa10{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:var(--c1k87ec1-0);-webkit-box-align:var(--c1k87ec1-0);-ms-flex-align:var(--c1k87ec1-0);align-items:var(--c1k87ec1-0);}
13
- .Cell_styles_1lali49_c1spqh22__a35afa10{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:var(--c1spqh22-0);-webkit-box-align:var(--c1spqh22-0);-ms-flex-align:var(--c1spqh22-0);align-items:var(--c1spqh22-0);text-align:right;}
14
-
15
- .base_pir0qf_b1sr9i7l__baa3f156{color:var(--plasma-cell-color);background-color:var(--plasma-cell-background-color);width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;gap:var(--plasma-cell-gap);}.base_pir0qf_b1sr9i7l__baa3f156:focus{outline:0 none;}
16
-
17
- .CellTextbox_styles_rgpies_cz0uqdu__c842929b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:var(--plasma-cell-textbox-gap);}
18
-
19
- .DropdownItem_styles_14yih1y_c1gkzlls__bf539568{--plasma-cell-title-color:var(--text-primary);--plasma-cell-background-color:var(--plasma-colors-transparent);--plasma-cell-padding:var(--plasma-dropdown-cell-padding);--plasma-cell-padding-left-content:var(--plasma-dropdown-cell-padding-left-content);--plasma-cell-padding-content:var(--plasma-dropdown-cell-padding-content);--plasma-cell-padding-right-content:var(--plasma-dropdown-cell-padding-right-content);--plasma-cell-textbox-gap:var(--plasma-dropdown-cell-textbox-gap);--plasma-cell-gap:var(--plasma-dropdown-cell-gap);--plasma-cell-title-font-family:var(--plasma-dropdown-cell-title-font-family);--plasma-cell-title-font-size:var(--plasma-dropdown-cell-title-font-size);--plasma-cell-title-font-style:var(--plasma-dropdown-cell-title-font-style);--plasma-cell-title-font-weight:var(--plasma-dropdown-cell-title-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-dropdown-cell-title-letter-spacing);--plasma-cell-title-line-height:var(--plasma-dropdown-cell-title-line-height);width:100%;}
20
-
21
- .DropdownItem_styles_14yih1y_d1m97l2m__bf539568{line-height:0;color:var(--text-secondary);}
22
- .DropdownItem_styles_14yih1y_doib72h__bf539568{height:1px;margin-top:var(--doib72h-0);margin-right:var(--plasma-dropdown-divider-margin-right);margin-bottom:var(--doib72h-1);margin-left:var(--plasma-dropdown-divider-margin-left);background:var(--plasma-dropdown-divider-color);}
23
- .DropdownItem_styles_14yih1y_w6l2f0g__bf539568{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;min-height:var(--plasma-dropdown-item-height);margin:0;box-sizing:content-box;padding:var(--w6l2f0g-0);font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background-color:var(--plasma-colors-transparent);border-radius:var(--plasma-dropdown-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:0.125rem solid transparent;border-left:0.125rem solid transparent;background-clip:padding-box;position:relative;}.DropdownItem_styles_14yih1y_w6l2f0g__bf539568:hover:not(.DropdownItem_styles_14yih1y_dropdownItemIsDisabled__bf539568){cursor:pointer;background-color:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_14yih1y_w6l2f0g__bf539568.DropdownItem_styles_14yih1y_dropdownItemIsActive__bf539568{background-color:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_14yih1y_w6l2f0g__bf539568.DropdownItem_styles_14yih1y_dropdownItemIsDisabled__bf539568{opacity:0.4;cursor:not-allowed;}.DropdownItem_styles_14yih1y_w6l2f0g__bf539568:focus{outline:none;}.DropdownItem_styles_14yih1y_w6l2f0g__bf539568::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.DropdownItem_styles_14yih1y_w6l2f0g__bf539568.DropdownItem_styles_14yih1y_dropdownItemIsFocused__bf539568:before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
24
- .DropdownItem_styles_14yih1y_r1jav4ek__bf539568{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
25
-
26
- .Dropdown_styles_1ljmphy_un7uamp__8526f7b0{box-sizing:border-box;width:var(--un7uamp-0);max-height:var(--un7uamp-1);margin:var(--un7uamp-2);padding:var(--plasma-dropdown-padding) 0;overflow:var(--un7uamp-3);background:var(--surface-solid-card-brightness);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-dropdown-border-radius);border:var(--plasma-dropdown-border-width) solid var(--plasma-dropdown-border-color);}
27
-
@@ -1,6 +0,0 @@
1
- import { createContext } from 'react';
2
-
3
- var Context = /*#__PURE__*/createContext({});
4
-
5
- export { Context };
6
- //# sourceMappingURL=Select.context.js.map