@alfalab/core-components 46.2.1 → 46.3.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (431) hide show
  1. package/confirmation/components/screens/initial/component.js +1 -1
  2. package/confirmation/components/screens/initial/countdown-section.js +1 -1
  3. package/confirmation/esm/component.responsive.js +1 -1
  4. package/confirmation/esm/components/base-confirmation/component.js +1 -1
  5. package/confirmation/esm/components/base-confirmation/index.js +1 -1
  6. package/confirmation/esm/components/index.js +1 -1
  7. package/confirmation/esm/components/screens/index.js +1 -1
  8. package/confirmation/esm/components/screens/initial/component.js +1 -1
  9. package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
  10. package/confirmation/esm/components/screens/initial/index.js +1 -1
  11. package/confirmation/esm/desktop/component.desktop.js +1 -1
  12. package/confirmation/esm/desktop/index.js +1 -1
  13. package/confirmation/esm/index.js +1 -1
  14. package/confirmation/esm/mobile/component.mobile.js +1 -1
  15. package/confirmation/esm/mobile/index.js +1 -1
  16. package/confirmation/esm/shared/index.js +1 -1
  17. package/confirmation/modern/component.responsive.js +1 -1
  18. package/confirmation/modern/components/base-confirmation/component.js +1 -1
  19. package/confirmation/modern/components/base-confirmation/index.js +1 -1
  20. package/confirmation/modern/components/index.js +1 -1
  21. package/confirmation/modern/components/screens/index.js +1 -1
  22. package/confirmation/modern/components/screens/initial/component.js +1 -1
  23. package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
  24. package/confirmation/modern/components/screens/initial/index.js +1 -1
  25. package/confirmation/modern/desktop/component.desktop.js +1 -1
  26. package/confirmation/modern/desktop/index.js +1 -1
  27. package/confirmation/modern/index.js +1 -1
  28. package/confirmation/modern/mobile/component.mobile.js +1 -1
  29. package/confirmation/modern/mobile/index.js +1 -1
  30. package/confirmation/modern/shared/index.js +1 -1
  31. package/gallery/components/header/Component.js +1 -1
  32. package/gallery/components/header/buttons.js +1 -1
  33. package/gallery/components/image-viewer/component.js +1 -1
  34. package/gallery/components/image-viewer/slide.js +1 -1
  35. package/gallery/esm/Component.js +2 -2
  36. package/gallery/esm/components/header/Component.js +1 -1
  37. package/gallery/esm/components/header/buttons.js +1 -1
  38. package/gallery/esm/components/header/index.js +1 -1
  39. package/gallery/esm/components/image-preview/Component.js +1 -1
  40. package/gallery/esm/components/image-preview/index.js +1 -1
  41. package/gallery/esm/components/image-viewer/component.js +1 -1
  42. package/gallery/esm/components/image-viewer/index.js +1 -1
  43. package/gallery/esm/components/image-viewer/slide.js +1 -1
  44. package/gallery/esm/components/index.js +2 -2
  45. package/gallery/esm/components/navigation-bar/Component.js +1 -1
  46. package/gallery/esm/components/navigation-bar/index.js +1 -1
  47. package/gallery/esm/index.js +2 -2
  48. package/gallery/modern/Component.js +2 -2
  49. package/gallery/modern/components/header/Component.js +1 -1
  50. package/gallery/modern/components/header/buttons.js +1 -1
  51. package/gallery/modern/components/header/index.js +1 -1
  52. package/gallery/modern/components/image-preview/Component.js +1 -1
  53. package/gallery/modern/components/image-preview/index.js +1 -1
  54. package/gallery/modern/components/image-viewer/component.js +1 -1
  55. package/gallery/modern/components/image-viewer/index.js +1 -1
  56. package/gallery/modern/components/image-viewer/slide.js +1 -1
  57. package/gallery/modern/components/index.js +2 -2
  58. package/gallery/modern/components/navigation-bar/Component.js +1 -1
  59. package/gallery/modern/components/navigation-bar/index.js +1 -1
  60. package/gallery/modern/index.js +2 -2
  61. package/international-phone-input/{Component-cc406ff0.d.ts → Component-cab56f5d.d.ts} +1 -1
  62. package/international-phone-input/Component.responsive.d.ts +4 -4
  63. package/international-phone-input/components/base-international-phone-input/Component.d.ts +1 -1
  64. package/international-phone-input/cssm/{Component-cc406ff0.d.ts → Component-cab56f5d.d.ts} +1 -1
  65. package/international-phone-input/cssm/Component.responsive.d.ts +4 -4
  66. package/international-phone-input/cssm/components/base-international-phone-input/Component.d.ts +1 -1
  67. package/international-phone-input/cssm/types.d.ts +1 -1
  68. package/international-phone-input/cssm/{typings-cc406ff0.d.ts → typings-cab56f5d.d.ts} +2 -0
  69. package/international-phone-input/{modern/utils-89376c31.d.ts → cssm/utils-edb3f7e8.d.ts} +4 -3
  70. package/international-phone-input/esm/{Component-cc406ff0.d.ts → Component-cab56f5d.d.ts} +1 -1
  71. package/international-phone-input/esm/Component.responsive.d.ts +4 -4
  72. package/international-phone-input/esm/components/base-international-phone-input/Component.d.ts +1 -1
  73. package/international-phone-input/esm/types.d.ts +1 -1
  74. package/international-phone-input/esm/{typings-cc406ff0.d.ts → typings-cab56f5d.d.ts} +2 -0
  75. package/international-phone-input/{utils-89376c31.d.ts → esm/utils-edb3f7e8.d.ts} +4 -3
  76. package/international-phone-input/modern/{Component-cc406ff0.d.ts → Component-cab56f5d.d.ts} +1 -1
  77. package/international-phone-input/modern/Component.responsive.d.ts +4 -4
  78. package/international-phone-input/modern/components/base-international-phone-input/Component.d.ts +1 -1
  79. package/international-phone-input/modern/types.d.ts +1 -1
  80. package/international-phone-input/modern/{typings-cc406ff0.d.ts → typings-cab56f5d.d.ts} +2 -0
  81. package/international-phone-input/{esm/utils-89376c31.d.ts → modern/utils-edb3f7e8.d.ts} +4 -3
  82. package/international-phone-input/types.d.ts +1 -1
  83. package/international-phone-input/{typings-cc406ff0.d.ts → typings-cab56f5d.d.ts} +2 -0
  84. package/international-phone-input/{cssm/utils-89376c31.d.ts → utils-edb3f7e8.d.ts} +4 -3
  85. package/modal/components/controls/Component.js +1 -1
  86. package/modal/components/footer/Component.js +1 -1
  87. package/modal/esm/Component.responsive.js +1 -1
  88. package/modal/esm/components/controls/Component.js +1 -1
  89. package/modal/esm/components/controls/index.js +1 -1
  90. package/modal/esm/components/footer/Component.js +1 -1
  91. package/modal/esm/desktop/Component.desktop.js +1 -1
  92. package/modal/esm/desktop/index.js +1 -1
  93. package/modal/esm/index.js +1 -1
  94. package/modal/esm/mobile/Component.mobile.js +1 -1
  95. package/modal/esm/mobile/index.js +1 -1
  96. package/modal/modern/Component.responsive.js +1 -1
  97. package/modal/modern/components/controls/Component.js +1 -1
  98. package/modal/modern/components/controls/index.js +1 -1
  99. package/modal/modern/components/footer/Component.js +1 -1
  100. package/modal/modern/desktop/Component.desktop.js +1 -1
  101. package/modal/modern/desktop/index.js +1 -1
  102. package/modal/modern/index.js +1 -1
  103. package/modal/modern/mobile/Component.mobile.js +1 -1
  104. package/modal/modern/mobile/index.js +1 -1
  105. package/package.json +1 -1
  106. package/picker-button/Component-cab56f5d.d.ts +5 -0
  107. package/picker-button/cssm/Component-cab56f5d.d.ts +5 -0
  108. package/picker-button/cssm/field/Component.d.ts +1 -1
  109. package/picker-button/cssm/{typings-cc406ff0.d.ts → typings-cab56f5d.d.ts} +2 -0
  110. package/picker-button/cssm/utils-edb3f7e8.d.ts +68 -0
  111. package/picker-button/esm/Component-cab56f5d.d.ts +5 -0
  112. package/picker-button/esm/field/Component.d.ts +1 -1
  113. package/picker-button/esm/{typings-cc406ff0.d.ts → typings-cab56f5d.d.ts} +2 -0
  114. package/picker-button/esm/utils-edb3f7e8.d.ts +68 -0
  115. package/picker-button/field/Component.d.ts +1 -1
  116. package/picker-button/modern/Component-cab56f5d.d.ts +5 -0
  117. package/picker-button/modern/field/Component.d.ts +1 -1
  118. package/picker-button/modern/{typings-cc406ff0.d.ts → typings-cab56f5d.d.ts} +2 -0
  119. package/picker-button/modern/utils-edb3f7e8.d.ts +68 -0
  120. package/picker-button/{typings-cc406ff0.d.ts → typings-cab56f5d.d.ts} +2 -0
  121. package/picker-button/utils-edb3f7e8.d.ts +68 -0
  122. package/pure-cell/component.js +1 -1
  123. package/pure-cell/components/addon/component.js +1 -1
  124. package/pure-cell/components/addon/index.d.ts +1 -1
  125. package/pure-cell/components/addon/index.js +1 -1
  126. package/pure-cell/components/amount/component.js +1 -1
  127. package/pure-cell/components/amount/index.d.ts +1 -1
  128. package/pure-cell/components/amount/index.js +1 -1
  129. package/pure-cell/components/amount-title/component.js +1 -1
  130. package/pure-cell/components/amount-title/index.d.ts +1 -1
  131. package/pure-cell/components/amount-title/index.js +1 -1
  132. package/pure-cell/components/category/component.js +1 -1
  133. package/pure-cell/components/category/index.d.ts +1 -1
  134. package/pure-cell/components/category/index.js +1 -1
  135. package/pure-cell/components/content/component.js +1 -1
  136. package/pure-cell/components/content/index.d.ts +1 -1
  137. package/pure-cell/components/content/index.js +1 -1
  138. package/pure-cell/components/footer/component.js +1 -1
  139. package/pure-cell/components/footer/index.d.ts +1 -1
  140. package/pure-cell/components/footer/index.js +1 -1
  141. package/pure-cell/components/footer-button/component.js +1 -1
  142. package/pure-cell/components/footer-button/index.d.ts +1 -1
  143. package/pure-cell/components/footer-button/index.js +1 -1
  144. package/pure-cell/components/footer-text/component.js +1 -1
  145. package/pure-cell/components/footer-text/index.d.ts +1 -1
  146. package/pure-cell/components/footer-text/index.js +1 -1
  147. package/pure-cell/components/graphics/component.js +1 -1
  148. package/pure-cell/components/graphics/index.d.ts +1 -1
  149. package/pure-cell/components/graphics/index.js +1 -1
  150. package/pure-cell/components/main/component.js +1 -1
  151. package/pure-cell/components/main/index.d.ts +1 -1
  152. package/pure-cell/components/main/index.js +1 -1
  153. package/pure-cell/components/text/component.js +1 -1
  154. package/pure-cell/components/text/index.d.ts +1 -1
  155. package/pure-cell/components/text/index.js +1 -1
  156. package/pure-cell/esm/component.js +1 -1
  157. package/pure-cell/esm/components/addon/component.js +1 -1
  158. package/pure-cell/esm/components/addon/index.d.ts +1 -1
  159. package/pure-cell/esm/components/addon/index.js +1 -1
  160. package/pure-cell/esm/components/amount/component.js +1 -1
  161. package/pure-cell/esm/components/amount/index.d.ts +1 -1
  162. package/pure-cell/esm/components/amount/index.js +1 -1
  163. package/pure-cell/esm/components/amount-title/component.js +1 -1
  164. package/pure-cell/esm/components/amount-title/index.d.ts +1 -1
  165. package/pure-cell/esm/components/amount-title/index.js +1 -1
  166. package/pure-cell/esm/components/category/component.js +1 -1
  167. package/pure-cell/esm/components/category/index.d.ts +1 -1
  168. package/pure-cell/esm/components/category/index.js +1 -1
  169. package/pure-cell/esm/components/content/component.js +1 -1
  170. package/pure-cell/esm/components/content/index.d.ts +1 -1
  171. package/pure-cell/esm/components/content/index.js +1 -1
  172. package/pure-cell/esm/components/footer/component.js +1 -1
  173. package/pure-cell/esm/components/footer/index.d.ts +1 -1
  174. package/pure-cell/esm/components/footer/index.js +1 -1
  175. package/pure-cell/esm/components/footer-button/component.js +1 -1
  176. package/pure-cell/esm/components/footer-button/index.d.ts +1 -1
  177. package/pure-cell/esm/components/footer-button/index.js +1 -1
  178. package/pure-cell/esm/components/footer-text/component.js +1 -1
  179. package/pure-cell/esm/components/footer-text/index.d.ts +1 -1
  180. package/pure-cell/esm/components/footer-text/index.js +1 -1
  181. package/pure-cell/esm/components/graphics/component.js +1 -1
  182. package/pure-cell/esm/components/graphics/index.d.ts +1 -1
  183. package/pure-cell/esm/components/graphics/index.js +1 -1
  184. package/pure-cell/esm/components/main/component.js +1 -1
  185. package/pure-cell/esm/components/main/index.d.ts +1 -1
  186. package/pure-cell/esm/components/main/index.js +1 -1
  187. package/pure-cell/esm/components/text/component.js +1 -1
  188. package/pure-cell/esm/components/text/index.d.ts +1 -1
  189. package/pure-cell/esm/components/text/index.js +1 -1
  190. package/pure-cell/esm/index.js +1 -1
  191. package/pure-cell/index.js +1 -1
  192. package/pure-cell/modern/component.js +1 -1
  193. package/pure-cell/modern/components/addon/component.js +1 -1
  194. package/pure-cell/modern/components/addon/index.d.ts +1 -1
  195. package/pure-cell/modern/components/addon/index.js +1 -1
  196. package/pure-cell/modern/components/amount/component.js +1 -1
  197. package/pure-cell/modern/components/amount/index.d.ts +1 -1
  198. package/pure-cell/modern/components/amount/index.js +1 -1
  199. package/pure-cell/modern/components/amount-title/component.js +1 -1
  200. package/pure-cell/modern/components/amount-title/index.d.ts +1 -1
  201. package/pure-cell/modern/components/amount-title/index.js +1 -1
  202. package/pure-cell/modern/components/category/component.js +1 -1
  203. package/pure-cell/modern/components/category/index.d.ts +1 -1
  204. package/pure-cell/modern/components/category/index.js +1 -1
  205. package/pure-cell/modern/components/content/component.js +1 -1
  206. package/pure-cell/modern/components/content/index.d.ts +1 -1
  207. package/pure-cell/modern/components/content/index.js +1 -1
  208. package/pure-cell/modern/components/footer/component.js +1 -1
  209. package/pure-cell/modern/components/footer/index.d.ts +1 -1
  210. package/pure-cell/modern/components/footer/index.js +1 -1
  211. package/pure-cell/modern/components/footer-button/component.js +1 -1
  212. package/pure-cell/modern/components/footer-button/index.d.ts +1 -1
  213. package/pure-cell/modern/components/footer-button/index.js +1 -1
  214. package/pure-cell/modern/components/footer-text/component.js +1 -1
  215. package/pure-cell/modern/components/footer-text/index.d.ts +1 -1
  216. package/pure-cell/modern/components/footer-text/index.js +1 -1
  217. package/pure-cell/modern/components/graphics/component.js +1 -1
  218. package/pure-cell/modern/components/graphics/index.d.ts +1 -1
  219. package/pure-cell/modern/components/graphics/index.js +1 -1
  220. package/pure-cell/modern/components/main/component.js +1 -1
  221. package/pure-cell/modern/components/main/index.d.ts +1 -1
  222. package/pure-cell/modern/components/main/index.js +1 -1
  223. package/pure-cell/modern/components/text/component.js +1 -1
  224. package/pure-cell/modern/components/text/index.d.ts +1 -1
  225. package/pure-cell/modern/components/text/index.js +1 -1
  226. package/pure-cell/modern/index.js +1 -1
  227. package/select/components/base-select/Component.js +22 -10
  228. package/select/components/base-select/mobile.css +2 -2
  229. package/select/cssm/components/base-select/Component.js +22 -10
  230. package/select/cssm/components/base-select/mobile.module.css +2 -2
  231. package/select/{hook-23a1acb8.js → cssm/hook-052c1a2e.js} +20 -8
  232. package/select/{esm/hook-64a8061f.d.ts → cssm/hook-2f4e96b2.d.ts} +9 -7
  233. package/select/cssm/mobile/Component.mobile.js +1 -1
  234. package/select/cssm/presets/index.d.ts +1 -1
  235. package/select/cssm/presets/index.js +1 -1
  236. package/select/cssm/presets/useSelectWithApply/hook.js +1 -1
  237. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  238. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  239. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  240. package/select/cssm/shared/index.js +2 -1
  241. package/select/cssm/typings.d.ts +3 -1
  242. package/select/cssm/utils.d.ts +3 -2
  243. package/select/cssm/utils.js +24 -9
  244. package/select/esm/Component.responsive.js +1 -1
  245. package/select/esm/components/base-select/Component.js +23 -11
  246. package/select/esm/components/base-select/mobile.css +2 -2
  247. package/select/esm/{hook-699ea205.js → hook-261ab63e.js} +21 -9
  248. package/select/{modern/hook-64a8061f.d.ts → esm/hook-2f4e96b2.d.ts} +9 -7
  249. package/select/esm/index.js +1 -1
  250. package/select/esm/mobile/Component.mobile.js +1 -1
  251. package/select/esm/mobile/Component.modal.mobile.js +1 -1
  252. package/select/esm/mobile/index.js +1 -1
  253. package/select/esm/presets/index.d.ts +1 -1
  254. package/select/esm/presets/index.js +1 -1
  255. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  256. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  257. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  258. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  259. package/select/esm/shared/index.js +2 -2
  260. package/select/esm/typings.d.ts +3 -1
  261. package/select/esm/utils.d.ts +3 -2
  262. package/select/esm/utils.js +24 -10
  263. package/select/{cssm/hook-546b2479.js → hook-06cf2830.js} +20 -8
  264. package/select/{cssm/hook-64a8061f.d.ts → hook-2f4e96b2.d.ts} +9 -7
  265. package/select/mobile/Component.mobile.js +1 -1
  266. package/select/modern/Component.responsive.js +1 -1
  267. package/select/modern/components/base-select/Component.js +11 -2
  268. package/select/modern/components/base-select/mobile.css +2 -2
  269. package/select/modern/{hook-b0f48fdd.js → hook-18077e63.js} +14 -3
  270. package/select/{hook-64a8061f.d.ts → modern/hook-2f4e96b2.d.ts} +9 -7
  271. package/select/modern/index.js +1 -1
  272. package/select/modern/mobile/Component.mobile.js +1 -1
  273. package/select/modern/mobile/Component.modal.mobile.js +1 -1
  274. package/select/modern/mobile/index.js +1 -1
  275. package/select/modern/presets/index.d.ts +1 -1
  276. package/select/modern/presets/index.js +1 -1
  277. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  278. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  279. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  280. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  281. package/select/modern/shared/index.js +2 -2
  282. package/select/modern/typings.d.ts +3 -1
  283. package/select/modern/utils.d.ts +3 -2
  284. package/select/modern/utils.js +23 -10
  285. package/select/presets/index.d.ts +1 -1
  286. package/select/presets/index.js +1 -1
  287. package/select/presets/useSelectWithApply/hook.js +1 -1
  288. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  289. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  290. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  291. package/select/shared/index.js +2 -1
  292. package/select/typings.d.ts +3 -1
  293. package/select/utils.d.ts +3 -2
  294. package/select/utils.js +24 -9
  295. package/side-panel/components/controls/Component.js +1 -1
  296. package/side-panel/components/footer/Component.js +1 -1
  297. package/side-panel/esm/Component.responsive.js +1 -1
  298. package/side-panel/esm/components/controls/Component.js +1 -1
  299. package/side-panel/esm/components/controls/index.js +1 -1
  300. package/side-panel/esm/components/footer/Component.desktop.js +1 -1
  301. package/side-panel/esm/components/footer/Component.js +1 -1
  302. package/side-panel/esm/components/footer/Component.mobile.js +1 -1
  303. package/side-panel/esm/desktop/Component.desktop.js +1 -1
  304. package/side-panel/esm/desktop/index.js +1 -1
  305. package/side-panel/esm/index.js +1 -1
  306. package/side-panel/esm/mobile/Component.mobile.js +1 -1
  307. package/side-panel/esm/mobile/index.js +1 -1
  308. package/side-panel/modern/Component.responsive.js +1 -1
  309. package/side-panel/modern/components/controls/Component.js +1 -1
  310. package/side-panel/modern/components/controls/index.js +1 -1
  311. package/side-panel/modern/components/footer/Component.desktop.js +1 -1
  312. package/side-panel/modern/components/footer/Component.js +1 -1
  313. package/side-panel/modern/components/footer/Component.mobile.js +1 -1
  314. package/side-panel/modern/desktop/Component.desktop.js +1 -1
  315. package/side-panel/modern/desktop/index.js +1 -1
  316. package/side-panel/modern/index.js +1 -1
  317. package/side-panel/modern/mobile/Component.mobile.js +1 -1
  318. package/side-panel/modern/mobile/index.js +1 -1
  319. package/tabs/components/primary-tablist/Component.collapsible.js +1 -1
  320. package/tabs/components/primary-tablist/Component.desktop.js +1 -1
  321. package/tabs/components/primary-tablist/Component.mobile.js +1 -1
  322. package/tabs/components/secondary-tablist/Component.desktop.js +1 -1
  323. package/tabs/components/secondary-tablist/Component.mobile.js +1 -1
  324. package/tabs/esm/collapsible/index.js +1 -1
  325. package/tabs/esm/components/primary-tablist/Component.collapsible.js +1 -1
  326. package/tabs/esm/components/primary-tablist/Component.desktop.js +1 -1
  327. package/tabs/esm/components/primary-tablist/Component.mobile.js +1 -1
  328. package/tabs/esm/components/primary-tablist/Component.responsive.js +1 -1
  329. package/tabs/esm/components/secondary-tablist/Component.desktop.js +1 -1
  330. package/tabs/esm/components/secondary-tablist/Component.mobile.js +1 -1
  331. package/tabs/esm/components/secondary-tablist/Component.responsive.js +1 -1
  332. package/tabs/esm/components/tabs/Component.collapsible.js +1 -1
  333. package/tabs/esm/components/tabs/Component.desktop.js +2 -2
  334. package/tabs/esm/components/tabs/Component.mobile.js +2 -2
  335. package/tabs/esm/components/tabs/Component.responsive.js +2 -2
  336. package/tabs/esm/desktop/index.js +2 -2
  337. package/tabs/esm/index.js +2 -2
  338. package/tabs/esm/mobile/index.js +2 -2
  339. package/tabs/modern/collapsible/index.js +1 -1
  340. package/tabs/modern/components/primary-tablist/Component.collapsible.js +1 -1
  341. package/tabs/modern/components/primary-tablist/Component.desktop.js +1 -1
  342. package/tabs/modern/components/primary-tablist/Component.mobile.js +1 -1
  343. package/tabs/modern/components/primary-tablist/Component.responsive.js +1 -1
  344. package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
  345. package/tabs/modern/components/secondary-tablist/Component.mobile.js +1 -1
  346. package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
  347. package/tabs/modern/components/tabs/Component.collapsible.js +1 -1
  348. package/tabs/modern/components/tabs/Component.desktop.js +2 -2
  349. package/tabs/modern/components/tabs/Component.mobile.js +2 -2
  350. package/tabs/modern/components/tabs/Component.responsive.js +2 -2
  351. package/tabs/modern/desktop/index.js +2 -2
  352. package/tabs/modern/index.js +2 -2
  353. package/tabs/modern/mobile/index.js +2 -2
  354. package/themes/compiled/mobile-dark-bluetint.css +74 -74
  355. package/toast-plate/components/base-toast-plate/component.js +1 -1
  356. package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
  357. package/toast-plate/esm/Component.responsive.js +1 -1
  358. package/toast-plate/esm/components/base-toast-plate/component.js +1 -1
  359. package/toast-plate/esm/components/base-toast-plate/index.js +1 -1
  360. package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
  361. package/toast-plate/esm/desktop/Component.desktop.js +1 -1
  362. package/toast-plate/esm/desktop/index.js +1 -1
  363. package/toast-plate/esm/index-307da6d7.d.ts +1 -1
  364. package/toast-plate/esm/index.js +1 -1
  365. package/toast-plate/esm/mobile/Component.mobile.js +1 -1
  366. package/toast-plate/esm/mobile/index.js +1 -1
  367. package/toast-plate/index-307da6d7.d.ts +1 -1
  368. package/toast-plate/modern/Component.responsive.js +1 -1
  369. package/toast-plate/modern/components/base-toast-plate/component.js +1 -1
  370. package/toast-plate/modern/components/base-toast-plate/index.js +1 -1
  371. package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
  372. package/toast-plate/modern/desktop/Component.desktop.js +1 -1
  373. package/toast-plate/modern/desktop/index.js +1 -1
  374. package/toast-plate/modern/index-307da6d7.d.ts +1 -1
  375. package/toast-plate/modern/index.js +1 -1
  376. package/toast-plate/modern/mobile/Component.mobile.js +1 -1
  377. package/toast-plate/modern/mobile/index.js +1 -1
  378. package/picker-button/Component-cc406ff0.d.ts +0 -5
  379. package/picker-button/cssm/Component-cc406ff0.d.ts +0 -5
  380. package/picker-button/cssm/utils-89376c31.d.ts +0 -67
  381. package/picker-button/esm/Component-cc406ff0.d.ts +0 -5
  382. package/picker-button/esm/utils-89376c31.d.ts +0 -67
  383. package/picker-button/modern/Component-cc406ff0.d.ts +0 -5
  384. package/picker-button/modern/utils-89376c31.d.ts +0 -67
  385. package/picker-button/utils-89376c31.d.ts +0 -67
  386. /package/confirmation/{countdown-section-382b7f1f.d.ts → countdown-section-81f3a586.d.ts} +0 -0
  387. /package/confirmation/{countdown-section-382b7f1f.js → countdown-section-81f3a586.js} +0 -0
  388. /package/confirmation/esm/{countdown-section-63e032d2.d.ts → countdown-section-ca33a1ef.d.ts} +0 -0
  389. /package/confirmation/esm/{countdown-section-63e032d2.js → countdown-section-ca33a1ef.js} +0 -0
  390. /package/confirmation/modern/{countdown-section-e9dca658.d.ts → countdown-section-288ae049.d.ts} +0 -0
  391. /package/confirmation/modern/{countdown-section-e9dca658.js → countdown-section-288ae049.js} +0 -0
  392. /package/gallery/{buttons-5ff2da5c.d.ts → buttons-09408c2b.d.ts} +0 -0
  393. /package/gallery/{buttons-5ff2da5c.js → buttons-09408c2b.js} +0 -0
  394. /package/gallery/esm/{buttons-bd41e568.d.ts → buttons-6ba5309f.d.ts} +0 -0
  395. /package/gallery/esm/{buttons-bd41e568.js → buttons-6ba5309f.js} +0 -0
  396. /package/gallery/esm/{slide-f51ba66f.d.ts → slide-0f9e38d8.d.ts} +0 -0
  397. /package/gallery/esm/{slide-f51ba66f.js → slide-0f9e38d8.js} +0 -0
  398. /package/gallery/modern/{buttons-cb3e3a20.d.ts → buttons-781f0415.d.ts} +0 -0
  399. /package/gallery/modern/{buttons-cb3e3a20.js → buttons-781f0415.js} +0 -0
  400. /package/gallery/modern/{slide-06a25c48.d.ts → slide-a4299878.d.ts} +0 -0
  401. /package/gallery/modern/{slide-06a25c48.js → slide-a4299878.js} +0 -0
  402. /package/gallery/{slide-357d6df0.d.ts → slide-dc8face5.d.ts} +0 -0
  403. /package/gallery/{slide-357d6df0.js → slide-dc8face5.js} +0 -0
  404. /package/modal/esm/{layout.module-ad0a095a.js → layout.module-efce6397.js} +0 -0
  405. /package/modal/{layout.module-ebc9b566.js → layout.module-adc14ed5.js} +0 -0
  406. /package/modal/modern/{layout.module-70908b3c.js → layout.module-883fd921.js} +0 -0
  407. /package/pure-cell/{component-8c2a1b0d.d.ts → component-c2fb11e8.d.ts} +0 -0
  408. /package/pure-cell/{component-8c2a1b0d.js → component-c2fb11e8.js} +0 -0
  409. /package/pure-cell/esm/{component-e6d0a502.d.ts → component-4457494c.d.ts} +0 -0
  410. /package/pure-cell/esm/{component-e6d0a502.js → component-4457494c.js} +0 -0
  411. /package/pure-cell/modern/{component-f35a3fea.d.ts → component-252ae14e.d.ts} +0 -0
  412. /package/pure-cell/modern/{component-f35a3fea.js → component-252ae14e.js} +0 -0
  413. /package/select/cssm/{hook-546b2479.d.ts → hook-052c1a2e.d.ts} +0 -0
  414. /package/select/esm/{hook-699ea205.d.ts → hook-261ab63e.d.ts} +0 -0
  415. /package/select/{hook-23a1acb8.d.ts → hook-06cf2830.d.ts} +0 -0
  416. /package/select/modern/{hook-b0f48fdd.d.ts → hook-18077e63.d.ts} +0 -0
  417. /package/side-panel/esm/{layout.module-85d901ef.js → layout.module-395452b5.js} +0 -0
  418. /package/side-panel/{layout.module-5552ce9a.js → layout.module-0e1747a9.js} +0 -0
  419. /package/side-panel/modern/{layout.module-0237c703.js → layout.module-e8468972.js} +0 -0
  420. /package/tabs/esm/{index.module-9a47e43a.js → index.module-a231a61b.js} +0 -0
  421. /package/tabs/esm/{index.module-a317c204.js → index.module-f9d4e5fd.js} +0 -0
  422. /package/tabs/{index.module-7b6d2d6f.js → index.module-57ded00d.js} +0 -0
  423. /package/tabs/{index.module-ef72aae7.js → index.module-d5711d51.js} +0 -0
  424. /package/tabs/modern/{index.module-266cdbfe.js → index.module-05463b83.js} +0 -0
  425. /package/tabs/modern/{index.module-46792af7.js → index.module-8baee2bc.js} +0 -0
  426. /package/toast-plate/esm/{getDataTestId-cb7cd71c.d.ts → getDataTestId-b5326fa6.d.ts} +0 -0
  427. /package/toast-plate/esm/{getDataTestId-cb7cd71c.js → getDataTestId-b5326fa6.js} +0 -0
  428. /package/toast-plate/{getDataTestId-0f11591a.d.ts → getDataTestId-09caf05d.d.ts} +0 -0
  429. /package/toast-plate/{getDataTestId-0f11591a.js → getDataTestId-09caf05d.js} +0 -0
  430. /package/toast-plate/modern/{getDataTestId-88511d88.d.ts → getDataTestId-bd9993b4.d.ts} +0 -0
  431. /package/toast-plate/modern/{getDataTestId-88511d88.js → getDataTestId-bd9993b4.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import 'react';
2
2
  import 'deep-equal';
3
3
  import '../../../../shared/modern';
4
- export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-b0f48fdd.js';
4
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-18077e63.js';
5
5
  import '../../utils.js';
6
6
  import '../../components/options-list/Component.js';
7
7
  import 'react-merge-refs';
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import '../../../components/options-list/Component.js';
3
- export { O as OptionsListWithApply } from '../../../hook-b0f48fdd.js';
3
+ export { O as OptionsListWithApply } from '../../../hook-18077e63.js';
4
4
  import './footer/Component.js';
5
5
  import './header/Component.js';
6
6
  import 'react-merge-refs';
@@ -1 +1 @@
1
- export * from "../../../hook-b0f48fdd";
1
+ export * from "../../../hook-18077e63";
@@ -1,4 +1,4 @@
1
- export { O as OptionsListWithApply } from '../../../hook-b0f48fdd.js';
1
+ export { O as OptionsListWithApply } from '../../../hook-18077e63.js';
2
2
  import 'react';
3
3
  import 'deep-equal';
4
4
  import '../../../utils.js';
@@ -1,7 +1,7 @@
1
1
  export { useSelectWithLoading } from '../presets/useSelectWithLoading/hook.js';
2
2
  export { useLazyLoading } from '../presets/useLazyLoading/hook.js';
3
- export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-b0f48fdd.js';
4
- export { defaultAccessor, defaultFilterFn, getSelectTestIds, isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions } from '../utils.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-18077e63.js';
4
+ export { defaultAccessor, defaultFilterFn, defaultGroupAccessor, getSelectTestIds, isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions } from '../utils.js';
5
5
  export { Option } from '../components/option/Component.js';
6
6
  export { BaseOption } from '../components/base-option/Component.js';
7
7
  export { OptionsList } from '../components/options-list/Component.js';
@@ -5,7 +5,7 @@ import { InputProps } from "../../input";
5
5
  import { ModalProps } from "../../modal";
6
6
  import { ModalFooterProps, ModalHeaderProps } from "../../modal/shared";
7
7
  import { PopoverProps } from "../../popover";
8
- import { UseSelectWithApplyProps } from "./hook-64a8061f";
8
+ import { UseSelectWithApplyProps } from "./hook-2f4e96b2";
9
9
  type AnyObject = Record<string, any>;
10
10
  type OptionShape = {
11
11
  /**
@@ -237,6 +237,8 @@ type BaseSelectProps = {
237
237
  filterFn?: (optionText: string, search: string) => boolean;
238
238
  value?: string;
239
239
  onChange?: (value: string) => void;
240
+ filterGroup?: boolean;
241
+ groupAccessor?: (group: GroupShape) => string | undefined;
240
242
  };
241
243
  /**
242
244
  * Обработчик выбора
@@ -6,7 +6,7 @@ declare const joinOptions: ({ selected, selectedMultiple, }: {
6
6
  selected?: OptionShape | undefined;
7
7
  selectedMultiple?: OptionShape[] | undefined;
8
8
  }) => ReactNode[] | null;
9
- declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape) => boolean): {
9
+ declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
10
10
  filteredOptions: (OptionShape | GroupShape)[];
11
11
  flatOptions: OptionShape[];
12
12
  selectedOptions: OptionShape[];
@@ -35,6 +35,7 @@ type useVisibleOptionsArgs = {
35
35
  };
36
36
  declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
37
37
  declare function defaultFilterFn(optionText: string, search: string): boolean;
38
+ declare function defaultGroupAccessor(option: GroupShape): string | undefined;
38
39
  declare function defaultAccessor(option: OptionShape): string;
39
40
  declare function usePrevious<T>(value: T): T | undefined;
40
41
  declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
@@ -64,4 +65,4 @@ declare function getSelectTestIds(dataTestId: string): {
64
65
  modalHeader: string;
65
66
  modalContent: string;
66
67
  };
67
- export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, defaultFilterFn, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
68
+ export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
@@ -20,7 +20,7 @@ const joinOptions = ({ selected, selectedMultiple, }) => {
20
20
  }, []);
21
21
  };
22
22
  // За один проход делает список пунктов меню плоским и находит выбранные пункты по ключу
23
- function processOptions(options, selected = [], filterFn = () => true) {
23
+ function processOptions(options, selected = [], filterFn = () => true, filterGroup = false) {
24
24
  const flatOptions = [];
25
25
  const filteredOptions = [];
26
26
  const selectedArray = Array.isArray(selected) ? selected : [selected];
@@ -28,12 +28,20 @@ function processOptions(options, selected = [], filterFn = () => true) {
28
28
  const selectedKeys = selectedArray.filter((option) => typeof option === 'string');
29
29
  const isSelected = (option) => selectedKeys.includes(option.key);
30
30
  const process = (option) => {
31
- if (isSelected(option)) {
31
+ const isGroupOption = isGroup(option);
32
+ if (!isGroupOption && isSelected(option)) {
32
33
  selectedOptions.push(option);
33
34
  }
34
35
  if (!filterFn(option))
35
36
  return false;
36
- flatOptions.push(option);
37
+ if (isGroupOption) {
38
+ if (filterGroup) {
39
+ Array.prototype.push.apply(flatOptions, option.options);
40
+ }
41
+ }
42
+ else {
43
+ flatOptions.push(option);
44
+ }
37
45
  return true;
38
46
  };
39
47
  options.forEach((option) => {
@@ -47,14 +55,16 @@ function processOptions(options, selected = [], filterFn = () => true) {
47
55
  if (matched)
48
56
  group.options.push(groupOption);
49
57
  });
50
- if (group.options.length)
58
+ if (group.options.length) {
51
59
  filteredOptions.push(group);
60
+ return;
61
+ }
62
+ if (!filterGroup)
63
+ return;
52
64
  }
53
- else {
54
- const matched = process(option);
55
- if (matched)
56
- filteredOptions.push(option);
57
- }
65
+ const matched = process(option);
66
+ if (matched)
67
+ filteredOptions.push(option);
58
68
  });
59
69
  return { filteredOptions, flatOptions, selectedOptions };
60
70
  }
@@ -84,6 +94,9 @@ function defaultFilterFn(optionText, search) {
84
94
  return true;
85
95
  return optionText.toLowerCase().includes(search.toLowerCase());
86
96
  }
97
+ function defaultGroupAccessor(option) {
98
+ return option.label;
99
+ }
87
100
  function defaultAccessor(option) {
88
101
  if (typeof option.content === 'string')
89
102
  return option.content;
@@ -136,4 +149,4 @@ function getSelectTestIds(dataTestId) {
136
149
  };
137
150
  }
138
151
 
139
- export { defaultAccessor, defaultFilterFn, getSelectTestIds, isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions };
152
+ export { defaultAccessor, defaultFilterFn, defaultGroupAccessor, getSelectTestIds, isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions };
@@ -1,3 +1,3 @@
1
1
  export * from "./useSelectWithLoading/hook";
2
2
  export * from "./useLazyLoading/hook";
3
- export * from "../hook-64a8061f";
3
+ export * from "../hook-2f4e96b2";
@@ -2,7 +2,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
3
  var presets_useSelectWithLoading_hook = require('./useSelectWithLoading/hook.js');
4
4
  var presets_useLazyLoading_hook = require('./useLazyLoading/hook.js');
5
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-23a1acb8.js');
5
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-06cf2830.js');
6
6
 
7
7
 
8
8
 
@@ -4,7 +4,7 @@ require('tslib');
4
4
  require('react');
5
5
  require('deep-equal');
6
6
  require('../../utils.js');
7
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../hook-23a1acb8.js');
7
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../hook-06cf2830.js');
8
8
 
9
9
 
10
10
 
@@ -4,7 +4,7 @@ require('tslib');
4
4
  require('react');
5
5
  require('../../../components/options-list/Component.js');
6
6
  require('../../../consts.js');
7
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-23a1acb8.js');
7
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-06cf2830.js');
8
8
  require('./footer/Component.js');
9
9
  require('./header/Component.js');
10
10
 
@@ -1 +1 @@
1
- export * from "../../../hook-23a1acb8";
1
+ export * from "../../../hook-06cf2830";
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-23a1acb8.js');
3
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-06cf2830.js');
4
4
 
5
5
 
6
6
 
@@ -2,7 +2,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
3
  var presets_useSelectWithLoading_hook = require('../presets/useSelectWithLoading/hook.js');
4
4
  var presets_useLazyLoading_hook = require('../presets/useLazyLoading/hook.js');
5
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-23a1acb8.js');
5
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-06cf2830.js');
6
6
  var utils = require('../utils.js');
7
7
  var components_option_Component = require('../components/option/Component.js');
8
8
  var components_baseOption_Component = require('../components/base-option/Component.js');
@@ -23,6 +23,7 @@ exports.SELECT_ALL_KEY = presets_useSelectWithApply_optionsListWithApply_Compone
23
23
  exports.useSelectWithApply = presets_useSelectWithApply_optionsListWithApply_Component.useSelectWithApply;
24
24
  exports.defaultAccessor = utils.defaultAccessor;
25
25
  exports.defaultFilterFn = utils.defaultFilterFn;
26
+ exports.defaultGroupAccessor = utils.defaultGroupAccessor;
26
27
  exports.getSelectTestIds = utils.getSelectTestIds;
27
28
  exports.isGroup = utils.isGroup;
28
29
  exports.isOptionShape = utils.isOptionShape;
@@ -5,7 +5,7 @@ import { InputProps } from "../input";
5
5
  import { ModalProps } from "../modal";
6
6
  import { ModalFooterProps, ModalHeaderProps } from "../modal/shared";
7
7
  import { PopoverProps } from "../popover";
8
- import { UseSelectWithApplyProps } from "./hook-64a8061f";
8
+ import { UseSelectWithApplyProps } from "./hook-2f4e96b2";
9
9
  type AnyObject = Record<string, any>;
10
10
  type OptionShape = {
11
11
  /**
@@ -237,6 +237,8 @@ type BaseSelectProps = {
237
237
  filterFn?: (optionText: string, search: string) => boolean;
238
238
  value?: string;
239
239
  onChange?: (value: string) => void;
240
+ filterGroup?: boolean;
241
+ groupAccessor?: (group: GroupShape) => string | undefined;
240
242
  };
241
243
  /**
242
244
  * Обработчик выбора
package/select/utils.d.ts CHANGED
@@ -6,7 +6,7 @@ declare const joinOptions: ({ selected, selectedMultiple, }: {
6
6
  selected?: OptionShape | undefined;
7
7
  selectedMultiple?: OptionShape[] | undefined;
8
8
  }) => ReactNode[] | null;
9
- declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape) => boolean): {
9
+ declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
10
10
  filteredOptions: (OptionShape | GroupShape)[];
11
11
  flatOptions: OptionShape[];
12
12
  selectedOptions: OptionShape[];
@@ -35,6 +35,7 @@ type useVisibleOptionsArgs = {
35
35
  };
36
36
  declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
37
37
  declare function defaultFilterFn(optionText: string, search: string): boolean;
38
+ declare function defaultGroupAccessor(option: GroupShape): string | undefined;
38
39
  declare function defaultAccessor(option: OptionShape): string;
39
40
  declare function usePrevious<T>(value: T): T | undefined;
40
41
  declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
@@ -64,4 +65,4 @@ declare function getSelectTestIds(dataTestId: string): {
64
65
  modalHeader: string;
65
66
  modalContent: string;
66
67
  };
67
- export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, defaultFilterFn, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
68
+ export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
package/select/utils.js CHANGED
@@ -28,9 +28,10 @@ var joinOptions = function (_a) {
28
28
  }, []);
29
29
  };
30
30
  // За один проход делает список пунктов меню плоским и находит выбранные пункты по ключу
31
- function processOptions(options, selected, filterFn) {
31
+ function processOptions(options, selected, filterFn, filterGroup) {
32
32
  if (selected === void 0) { selected = []; }
33
33
  if (filterFn === void 0) { filterFn = function () { return true; }; }
34
+ if (filterGroup === void 0) { filterGroup = false; }
34
35
  var flatOptions = [];
35
36
  var filteredOptions = [];
36
37
  var selectedArray = Array.isArray(selected) ? selected : [selected];
@@ -38,12 +39,20 @@ function processOptions(options, selected, filterFn) {
38
39
  var selectedKeys = selectedArray.filter(function (option) { return typeof option === 'string'; });
39
40
  var isSelected = function (option) { return selectedKeys.includes(option.key); };
40
41
  var process = function (option) {
41
- if (isSelected(option)) {
42
+ var isGroupOption = isGroup(option);
43
+ if (!isGroupOption && isSelected(option)) {
42
44
  selectedOptions.push(option);
43
45
  }
44
46
  if (!filterFn(option))
45
47
  return false;
46
- flatOptions.push(option);
48
+ if (isGroupOption) {
49
+ if (filterGroup) {
50
+ Array.prototype.push.apply(flatOptions, option.options);
51
+ }
52
+ }
53
+ else {
54
+ flatOptions.push(option);
55
+ }
47
56
  return true;
48
57
  };
49
58
  options.forEach(function (option) {
@@ -54,14 +63,16 @@ function processOptions(options, selected, filterFn) {
54
63
  if (matched)
55
64
  group_1.options.push(groupOption);
56
65
  });
57
- if (group_1.options.length)
66
+ if (group_1.options.length) {
58
67
  filteredOptions.push(group_1);
68
+ return;
69
+ }
70
+ if (!filterGroup)
71
+ return;
59
72
  }
60
- else {
61
- var matched = process(option);
62
- if (matched)
63
- filteredOptions.push(option);
64
- }
73
+ var matched = process(option);
74
+ if (matched)
75
+ filteredOptions.push(option);
65
76
  });
66
77
  return { filteredOptions: filteredOptions, flatOptions: flatOptions, selectedOptions: selectedOptions };
67
78
  }
@@ -92,6 +103,9 @@ function defaultFilterFn(optionText, search) {
92
103
  return true;
93
104
  return optionText.toLowerCase().includes(search.toLowerCase());
94
105
  }
106
+ function defaultGroupAccessor(option) {
107
+ return option.label;
108
+ }
95
109
  function defaultAccessor(option) {
96
110
  if (typeof option.content === 'string')
97
111
  return option.content;
@@ -146,6 +160,7 @@ function getSelectTestIds(dataTestId) {
146
160
 
147
161
  exports.defaultAccessor = defaultAccessor;
148
162
  exports.defaultFilterFn = defaultFilterFn;
163
+ exports.defaultGroupAccessor = defaultGroupAccessor;
149
164
  exports.getSelectTestIds = getSelectTestIds;
150
165
  exports.isGroup = isGroup;
151
166
  exports.isOptionShape = isOptionShape;
@@ -4,7 +4,7 @@ var React = require('react');
4
4
  var cn = require('classnames');
5
5
  var coreComponentsShared = require('../../../shared');
6
6
  var ResponsiveContext = require('../../ResponsiveContext.js');
7
- var layout_module = require('../../layout.module-5552ce9a.js');
7
+ var layout_module = require('../../layout.module-0e1747a9.js');
8
8
 
9
9
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
10
10
 
@@ -5,7 +5,7 @@ var cn = require('classnames');
5
5
  var coreComponentsShared = require('../../../shared');
6
6
  var Context = require('../../Context.js');
7
7
  var ResponsiveContext = require('../../ResponsiveContext.js');
8
- var layout_module = require('../../layout.module-5552ce9a.js');
8
+ var layout_module = require('../../layout.module-0e1747a9.js');
9
9
 
10
10
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
11
11
 
@@ -8,7 +8,7 @@ import { SidePanelDesktop } from './desktop/Component.desktop.js';
8
8
  import { SidePanelMobile } from './mobile/Component.mobile.js';
9
9
  import { ResponsiveContext } from './ResponsiveContext.js';
10
10
  import 'classnames';
11
- import './layout.module-85d901ef.js';
11
+ import './layout.module-395452b5.js';
12
12
  import '../../navigation-bar-private/esm';
13
13
  import './consts.js';
14
14
  import './Context.js';
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { getDataTestId } from '../../../../shared/esm';
4
4
  import { ResponsiveContext } from '../../ResponsiveContext.js';
5
- import { l as layoutStyles } from '../../layout.module-85d901ef.js';
5
+ import { l as layoutStyles } from '../../layout.module-395452b5.js';
6
6
 
7
7
  var styles = {"component":"side-panel__component_104vw"};
8
8
  require('./index.css');
@@ -3,4 +3,4 @@ import 'react';
3
3
  import 'classnames';
4
4
  import '../../../../shared/esm';
5
5
  import '../../ResponsiveContext.js';
6
- import '../../layout.module-85d901ef.js';
6
+ import '../../layout.module-395452b5.js';
@@ -7,7 +7,7 @@ import '../../../../shared/esm';
7
7
  import '../../Context.js';
8
8
  import '../../../../base-modal/esm';
9
9
  import '../../ResponsiveContext.js';
10
- import '../../layout.module-85d901ef.js';
10
+ import '../../layout.module-395452b5.js';
11
11
 
12
12
  var styles = {"sticky":"side-panel__sticky_s0qyl","size-500":"side-panel__size-500_s0qyl"};
13
13
  require('./desktop.css');
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { getDataTestId } from '../../../../shared/esm';
4
4
  import { ModalContext } from '../../Context.js';
5
5
  import { ResponsiveContext } from '../../ResponsiveContext.js';
6
- import { l as layoutStyles } from '../../layout.module-85d901ef.js';
6
+ import { l as layoutStyles } from '../../layout.module-395452b5.js';
7
7
  import '../../../../base-modal/esm';
8
8
 
9
9
  var styles = {"footer":"side-panel__footer_phk33","sticky":"side-panel__sticky_phk33","highlighted":"side-panel__highlighted_phk33"};
@@ -6,7 +6,7 @@ import '../../../../shared/esm';
6
6
  import '../../Context.js';
7
7
  import '../../../../base-modal/esm';
8
8
  import '../../ResponsiveContext.js';
9
- import '../../layout.module-85d901ef.js';
9
+ import '../../layout.module-395452b5.js';
10
10
 
11
11
  var styles = {"footer":"side-panel__footer_16cwh","sticky":"side-panel__sticky_16cwh"};
12
12
  require('./mobile.css');
@@ -13,7 +13,7 @@ import '../components/content/Component.js';
13
13
  import '../../../shared/esm';
14
14
  import '../Context.js';
15
15
  import '../../../base-modal/esm';
16
- import '../layout.module-85d901ef.js';
16
+ import '../layout.module-395452b5.js';
17
17
  import '../components/footer/Component.js';
18
18
  import '../../../navigation-bar-private/esm';
19
19
 
@@ -12,7 +12,7 @@ import '../Context.js';
12
12
  import '../../../base-modal/esm';
13
13
  import '../ResponsiveContext.js';
14
14
  import '../components/controls/Component.js';
15
- import '../layout.module-85d901ef.js';
15
+ import '../layout.module-395452b5.js';
16
16
  import '../components/footer/Component.desktop.js';
17
17
  import '../components/footer/Component.js';
18
18
  import '../components/header/Component.js';
@@ -6,7 +6,7 @@ import '../../shared/esm';
6
6
  import './components/controls/Component.js';
7
7
  import 'classnames';
8
8
  import './ResponsiveContext.js';
9
- import './layout.module-85d901ef.js';
9
+ import './layout.module-395452b5.js';
10
10
  import './components/header/Component.js';
11
11
  import '../../navigation-bar-private/esm';
12
12
  import './consts.js';
@@ -10,7 +10,7 @@ import { ResponsiveContext } from '../ResponsiveContext.js';
10
10
  import '../components/content/Component.js';
11
11
  import '../../../shared/esm';
12
12
  import '../Context.js';
13
- import '../layout.module-85d901ef.js';
13
+ import '../layout.module-395452b5.js';
14
14
  import '../components/footer/Component.js';
15
15
  import '../../../navigation-bar-private/esm';
16
16
  import '../consts.js';
@@ -9,7 +9,7 @@ import '../../../shared/esm';
9
9
  import '../Context.js';
10
10
  import '../ResponsiveContext.js';
11
11
  import '../components/controls/Component.js';
12
- import '../layout.module-85d901ef.js';
12
+ import '../layout.module-395452b5.js';
13
13
  import '../components/footer/Component.mobile.js';
14
14
  import '../components/footer/Component.js';
15
15
  import '../components/header/Component.js';
@@ -7,7 +7,7 @@ import { SidePanelDesktop } from './desktop/Component.desktop.js';
7
7
  import { SidePanelMobile } from './mobile/Component.mobile.js';
8
8
  import { ResponsiveContext } from './ResponsiveContext.js';
9
9
  import 'classnames';
10
- import './layout.module-0237c703.js';
10
+ import './layout.module-e8468972.js';
11
11
  import '../../navigation-bar-private/modern';
12
12
  import './consts.js';
13
13
  import './Context.js';
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { getDataTestId } from '../../../../shared/modern';
4
4
  import { ResponsiveContext } from '../../ResponsiveContext.js';
5
- import { l as layoutStyles } from '../../layout.module-0237c703.js';
5
+ import { l as layoutStyles } from '../../layout.module-e8468972.js';
6
6
 
7
7
  const styles = {"component":"side-panel__component_104vw"};
8
8
  require('./index.css');
@@ -3,4 +3,4 @@ import 'react';
3
3
  import 'classnames';
4
4
  import '../../../../shared/modern';
5
5
  import '../../ResponsiveContext.js';
6
- import '../../layout.module-0237c703.js';
6
+ import '../../layout.module-e8468972.js';
@@ -6,7 +6,7 @@ import '../../../../shared/modern';
6
6
  import '../../Context.js';
7
7
  import '../../../../base-modal/modern';
8
8
  import '../../ResponsiveContext.js';
9
- import '../../layout.module-0237c703.js';
9
+ import '../../layout.module-e8468972.js';
10
10
 
11
11
  const styles = {"sticky":"side-panel__sticky_s0qyl","size-500":"side-panel__size-500_s0qyl"};
12
12
  require('./desktop.css');
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { getDataTestId } from '../../../../shared/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
  import { ResponsiveContext } from '../../ResponsiveContext.js';
6
- import { l as layoutStyles } from '../../layout.module-0237c703.js';
6
+ import { l as layoutStyles } from '../../layout.module-e8468972.js';
7
7
  import '../../../../base-modal/modern';
8
8
 
9
9
  const styles = {"footer":"side-panel__footer_phk33","sticky":"side-panel__sticky_phk33","highlighted":"side-panel__highlighted_phk33"};
@@ -5,7 +5,7 @@ import '../../../../shared/modern';
5
5
  import '../../Context.js';
6
6
  import '../../../../base-modal/modern';
7
7
  import '../../ResponsiveContext.js';
8
- import '../../layout.module-0237c703.js';
8
+ import '../../layout.module-e8468972.js';
9
9
 
10
10
  const styles = {"footer":"side-panel__footer_16cwh","sticky":"side-panel__sticky_16cwh"};
11
11
  require('./mobile.css');
@@ -12,7 +12,7 @@ import '../components/content/Component.js';
12
12
  import '../../../shared/modern';
13
13
  import '../Context.js';
14
14
  import '../../../base-modal/modern';
15
- import '../layout.module-0237c703.js';
15
+ import '../layout.module-e8468972.js';
16
16
  import '../components/footer/Component.js';
17
17
  import '../../../navigation-bar-private/modern';
18
18
 
@@ -11,7 +11,7 @@ import '../Context.js';
11
11
  import '../../../base-modal/modern';
12
12
  import '../ResponsiveContext.js';
13
13
  import '../components/controls/Component.js';
14
- import '../layout.module-0237c703.js';
14
+ import '../layout.module-e8468972.js';
15
15
  import '../components/footer/Component.desktop.js';
16
16
  import '../components/footer/Component.js';
17
17
  import '../components/header/Component.js';
@@ -5,7 +5,7 @@ import '../../shared/modern';
5
5
  import './components/controls/Component.js';
6
6
  import 'classnames';
7
7
  import './ResponsiveContext.js';
8
- import './layout.module-0237c703.js';
8
+ import './layout.module-e8468972.js';
9
9
  import './components/header/Component.js';
10
10
  import '../../navigation-bar-private/modern';
11
11
  import './consts.js';
@@ -9,7 +9,7 @@ import { ResponsiveContext } from '../ResponsiveContext.js';
9
9
  import '../components/content/Component.js';
10
10
  import '../../../shared/modern';
11
11
  import '../Context.js';
12
- import '../layout.module-0237c703.js';
12
+ import '../layout.module-e8468972.js';
13
13
  import '../components/footer/Component.js';
14
14
  import '../../../navigation-bar-private/modern';
15
15
  import '../consts.js';
@@ -8,7 +8,7 @@ import '../../../shared/modern';
8
8
  import '../Context.js';
9
9
  import '../ResponsiveContext.js';
10
10
  import '../components/controls/Component.js';
11
- import '../layout.module-0237c703.js';
11
+ import '../layout.module-e8468972.js';
12
12
  import '../components/footer/Component.mobile.js';
13
13
  import '../components/footer/Component.js';
14
14
  import '../components/header/Component.js';
@@ -9,7 +9,7 @@ var desktop = require('../../../picker-button/desktop');
9
9
  var hooks_useTablistTitles = require('../../hooks/use-tablist-titles.js');
10
10
  var syntheticEvents = require('../../synthetic-events.js');
11
11
  var components_title_Component = require('../title/Component.js');
12
- var index_module = require('../../index.module-ef72aae7.js');
12
+ var index_module = require('../../index.module-d5711d51.js');
13
13
 
14
14
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
15
15
 
@@ -3,7 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var components_primaryTablist_Component = require('./Component.js');
6
- var index_module = require('../../index.module-ef72aae7.js');
6
+ var index_module = require('../../index.module-d5711d51.js');
7
7
 
8
8
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
9
 
@@ -3,7 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var components_primaryTablist_Component = require('./Component.js');
6
- var index_module = require('../../index.module-ef72aae7.js');
6
+ var index_module = require('../../index.module-d5711d51.js');
7
7
 
8
8
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
9
 
@@ -4,7 +4,7 @@ var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var desktop = require('../../../tag/desktop');
6
6
  var components_secondaryTablist_Component = require('./Component.js');
7
- var index_module = require('../../index.module-7b6d2d6f.js');
7
+ var index_module = require('../../index.module-57ded00d.js');
8
8
 
9
9
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
10
10