@coorpacademy/components 11.40.4 → 11.40.6-alpha.5

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 (309) hide show
  1. package/es/atom/button-link/index.d.ts +15 -8
  2. package/es/atom/button-link/index.d.ts.map +1 -1
  3. package/es/atom/button-link/index.js +75 -37
  4. package/es/atom/button-link/index.js.map +1 -1
  5. package/es/atom/button-link/types.d.ts +20 -14
  6. package/es/atom/button-link/types.d.ts.map +1 -1
  7. package/es/atom/button-link/types.js +4 -3
  8. package/es/atom/button-link/types.js.map +1 -1
  9. package/es/atom/button-menu/index.d.ts +1 -3
  10. package/es/atom/button-menu/index.d.ts.map +1 -1
  11. package/es/atom/button-menu/index.js +1 -7
  12. package/es/atom/button-menu/index.js.map +1 -1
  13. package/es/atom/button-menu/types.d.ts +2 -6
  14. package/es/atom/button-menu/types.d.ts.map +1 -1
  15. package/es/atom/chip/index.d.ts +4 -0
  16. package/es/atom/chip/index.d.ts.map +1 -1
  17. package/es/atom/chip/index.js +12 -6
  18. package/es/atom/chip/index.js.map +1 -1
  19. package/es/atom/input-switch/index.d.ts.map +1 -1
  20. package/es/atom/input-switch/index.js +2 -1
  21. package/es/atom/input-switch/index.js.map +1 -1
  22. package/es/atom/input-switch/style.css +4 -1
  23. package/es/atom/radio-with-title/index.d.ts +16 -8
  24. package/es/atom/radio-with-title/index.d.ts.map +1 -1
  25. package/es/atom/radio-with-title/types.d.ts +16 -8
  26. package/es/atom/radio-with-title/types.d.ts.map +1 -1
  27. package/es/atom/title/index.d.ts +16 -8
  28. package/es/atom/title/index.d.ts.map +1 -1
  29. package/es/atom/title/index.js +5 -2
  30. package/es/atom/title/index.js.map +1 -1
  31. package/es/molecule/base-modal/index.d.ts +1 -0
  32. package/es/molecule/base-modal/index.d.ts.map +1 -1
  33. package/es/molecule/base-modal/index.js +6 -2
  34. package/es/molecule/base-modal/index.js.map +1 -1
  35. package/es/molecule/base-modal/style.css +5 -0
  36. package/es/molecule/bullet-point-menu-button/index.d.ts +1 -3
  37. package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  38. package/es/molecule/bullet-point-menu-button/types.d.ts +1 -3
  39. package/es/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
  40. package/es/molecule/button-menu-action/index.d.ts +19 -11
  41. package/es/molecule/button-menu-action/index.d.ts.map +1 -1
  42. package/es/molecule/button-menu-action/index.js +27 -3
  43. package/es/molecule/button-menu-action/index.js.map +1 -1
  44. package/es/molecule/button-menu-action/types.d.ts +22 -12
  45. package/es/molecule/button-menu-action/types.d.ts.map +1 -1
  46. package/es/molecule/button-menu-action/types.js +7 -2
  47. package/es/molecule/button-menu-action/types.js.map +1 -1
  48. package/es/molecule/cm-popin/types.d.ts +135 -85
  49. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  50. package/es/molecule/expandible-actionable-table/index.d.ts +17 -14
  51. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  52. package/es/molecule/expandible-actionable-table/types.d.ts +17 -14
  53. package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  54. package/es/molecule/icon-picker-modal/index.d.ts +1 -2
  55. package/es/molecule/icon-picker-modal/index.d.ts.map +1 -1
  56. package/es/molecule/icon-picker-modal/index.js +16 -43
  57. package/es/molecule/icon-picker-modal/index.js.map +1 -1
  58. package/es/molecule/multi-filter-panel/index.d.ts +19 -0
  59. package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
  60. package/es/molecule/multi-filter-panel/index.js +39 -10
  61. package/es/molecule/multi-filter-panel/index.js.map +1 -1
  62. package/es/molecule/multi-filter-panel/prop-types.d.ts +26 -1
  63. package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  64. package/es/molecule/multi-filter-panel/prop-types.js +5 -0
  65. package/es/molecule/multi-filter-panel/prop-types.js.map +1 -1
  66. package/es/molecule/multi-filter-panel/style.css +8 -0
  67. package/es/molecule/quick-filters/index.d.ts +15 -8
  68. package/es/molecule/quick-filters/index.d.ts.map +1 -1
  69. package/es/molecule/quick-filters/types.d.ts +15 -8
  70. package/es/molecule/quick-filters/types.d.ts.map +1 -1
  71. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +16 -8
  72. package/es/molecule/title-radio-wrapper/index.d.ts +16 -8
  73. package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  74. package/es/molecule/title-radio-wrapper/types.d.ts +16 -8
  75. package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  76. package/es/organism/content-skill-modal/index.d.ts +135 -68
  77. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  78. package/es/organism/content-skill-modal/types.d.ts +135 -68
  79. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  80. package/es/organism/filter-checkbox-and-search/index.d.ts +1 -0
  81. package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  82. package/es/organism/filter-checkbox-and-search/index.js +5 -2
  83. package/es/organism/filter-checkbox-and-search/index.js.map +1 -1
  84. package/es/organism/filter-checkbox-and-search/props-types.d.ts +2 -0
  85. package/es/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  86. package/es/organism/filter-checkbox-and-search/props-types.js +1 -0
  87. package/es/organism/filter-checkbox-and-search/props-types.js.map +1 -1
  88. package/es/organism/filter-checkbox-and-search/style.css +2 -0
  89. package/es/organism/filter-chip/index.d.ts +3 -0
  90. package/es/organism/filter-chip/index.d.ts.map +1 -1
  91. package/es/organism/filter-chip/index.js +12 -4
  92. package/es/organism/filter-chip/index.js.map +1 -1
  93. package/es/organism/filter-chip/prop-types.d.ts +14 -7
  94. package/es/organism/filter-chip/prop-types.d.ts.map +1 -1
  95. package/es/organism/filter-chip/prop-types.js +3 -0
  96. package/es/organism/filter-chip/prop-types.js.map +1 -1
  97. package/es/organism/filter-switch/index.d.ts +23 -0
  98. package/es/organism/filter-switch/index.d.ts.map +1 -0
  99. package/es/organism/filter-switch/index.js +76 -0
  100. package/es/organism/filter-switch/index.js.map +1 -0
  101. package/es/organism/filter-switch/prop-types.d.ts +28 -0
  102. package/es/organism/filter-switch/prop-types.d.ts.map +1 -0
  103. package/es/organism/filter-switch/prop-types.js +15 -0
  104. package/es/organism/filter-switch/prop-types.js.map +1 -0
  105. package/es/organism/filter-switch/style.css +46 -0
  106. package/es/organism/icon-editor/index.d.ts +15 -8
  107. package/es/organism/icon-editor/index.d.ts.map +1 -1
  108. package/es/organism/icon-editor/types.d.ts +15 -8
  109. package/es/organism/icon-editor/types.d.ts.map +1 -1
  110. package/es/organism/list-items/index.d.ts +116 -68
  111. package/es/organism/rewards-form/index.d.ts +16 -8
  112. package/es/organism/select-opponents/index.d.ts +16 -8
  113. package/es/organism/select-opponents/index.d.ts.map +1 -1
  114. package/es/organism/select-opponents/types.d.ts +16 -8
  115. package/es/organism/select-opponents/types.d.ts.map +1 -1
  116. package/es/organism/setup-header/index.d.ts +60 -32
  117. package/es/organism/title-and-input/index.d.ts +47 -24
  118. package/es/organism/title-and-input/index.d.ts.map +1 -1
  119. package/es/organism/title-and-input/types.d.ts +47 -24
  120. package/es/organism/title-and-input/types.d.ts.map +1 -1
  121. package/es/organism/wizard-contents/index.d.ts +63 -38
  122. package/es/template/app-player/loading/index.d.ts +135 -85
  123. package/es/template/app-player/player/index.d.ts +278 -170
  124. package/es/template/app-player/player/slides/header/index.d.ts +8 -0
  125. package/es/template/app-player/player/slides/header/index.d.ts.map +1 -1
  126. package/es/template/app-player/player/slides/header/index.js +89 -3
  127. package/es/template/app-player/player/slides/header/index.js.map +1 -1
  128. package/es/template/app-player/player/slides/header/style.css +1 -1
  129. package/es/template/app-player/player/slides/index.d.ts +143 -85
  130. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  131. package/es/template/app-player/popin-correction/index.d.ts +135 -85
  132. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  133. package/es/template/app-player/popin-end/index.d.ts +143 -85
  134. package/es/template/app-review/index.d.ts +135 -85
  135. package/es/template/app-review/index.d.ts.map +1 -1
  136. package/es/template/app-review/player/prop-types.d.ts +135 -85
  137. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  138. package/es/template/app-review/prop-types.d.ts +135 -85
  139. package/es/template/app-review/prop-types.d.ts.map +1 -1
  140. package/es/template/back-office/brand-create/index.d.ts +60 -32
  141. package/es/template/back-office/brand-create/index.d.ts.map +1 -1
  142. package/es/template/back-office/brand-list/index.d.ts +60 -32
  143. package/es/template/back-office/brand-list/index.d.ts.map +1 -1
  144. package/es/template/back-office/brand-update/index.d.ts +599 -298
  145. package/es/template/back-office/dashboard-preview/index.d.ts +60 -32
  146. package/es/template/back-office/layout/index.d.ts +60 -32
  147. package/es/template/back-office/layout/index.d.ts.map +1 -1
  148. package/es/template/common/dashboard/index.d.ts +270 -170
  149. package/es/template/common/search-page/index.d.ts +135 -85
  150. package/es/template/external-course/index.d.ts +135 -85
  151. package/es/variables/colors.d.ts +1 -0
  152. package/es/variables/colors.d.ts.map +1 -1
  153. package/es/variables/colors.js +1 -0
  154. package/es/variables/colors.js.map +1 -1
  155. package/lib/atom/button-link/index.d.ts +15 -8
  156. package/lib/atom/button-link/index.d.ts.map +1 -1
  157. package/lib/atom/button-link/index.js +75 -37
  158. package/lib/atom/button-link/index.js.map +1 -1
  159. package/lib/atom/button-link/types.d.ts +20 -14
  160. package/lib/atom/button-link/types.d.ts.map +1 -1
  161. package/lib/atom/button-link/types.js +4 -3
  162. package/lib/atom/button-link/types.js.map +1 -1
  163. package/lib/atom/button-menu/index.d.ts +1 -3
  164. package/lib/atom/button-menu/index.d.ts.map +1 -1
  165. package/lib/atom/button-menu/index.js +1 -7
  166. package/lib/atom/button-menu/index.js.map +1 -1
  167. package/lib/atom/button-menu/types.d.ts +2 -6
  168. package/lib/atom/button-menu/types.d.ts.map +1 -1
  169. package/lib/atom/chip/index.d.ts +4 -0
  170. package/lib/atom/chip/index.d.ts.map +1 -1
  171. package/lib/atom/chip/index.js +12 -6
  172. package/lib/atom/chip/index.js.map +1 -1
  173. package/lib/atom/input-switch/index.d.ts.map +1 -1
  174. package/lib/atom/input-switch/index.js +2 -1
  175. package/lib/atom/input-switch/index.js.map +1 -1
  176. package/lib/atom/input-switch/style.css +4 -1
  177. package/lib/atom/radio-with-title/index.d.ts +16 -8
  178. package/lib/atom/radio-with-title/index.d.ts.map +1 -1
  179. package/lib/atom/radio-with-title/types.d.ts +16 -8
  180. package/lib/atom/radio-with-title/types.d.ts.map +1 -1
  181. package/lib/atom/title/index.d.ts +16 -8
  182. package/lib/atom/title/index.d.ts.map +1 -1
  183. package/lib/atom/title/index.js +5 -2
  184. package/lib/atom/title/index.js.map +1 -1
  185. package/lib/molecule/base-modal/index.d.ts +1 -0
  186. package/lib/molecule/base-modal/index.d.ts.map +1 -1
  187. package/lib/molecule/base-modal/index.js +6 -2
  188. package/lib/molecule/base-modal/index.js.map +1 -1
  189. package/lib/molecule/base-modal/style.css +5 -0
  190. package/lib/molecule/bullet-point-menu-button/index.d.ts +1 -3
  191. package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  192. package/lib/molecule/bullet-point-menu-button/types.d.ts +1 -3
  193. package/lib/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
  194. package/lib/molecule/button-menu-action/index.d.ts +19 -11
  195. package/lib/molecule/button-menu-action/index.d.ts.map +1 -1
  196. package/lib/molecule/button-menu-action/index.js +26 -2
  197. package/lib/molecule/button-menu-action/index.js.map +1 -1
  198. package/lib/molecule/button-menu-action/types.d.ts +22 -12
  199. package/lib/molecule/button-menu-action/types.d.ts.map +1 -1
  200. package/lib/molecule/button-menu-action/types.js +7 -2
  201. package/lib/molecule/button-menu-action/types.js.map +1 -1
  202. package/lib/molecule/cm-popin/types.d.ts +135 -85
  203. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  204. package/lib/molecule/expandible-actionable-table/index.d.ts +17 -14
  205. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  206. package/lib/molecule/expandible-actionable-table/types.d.ts +17 -14
  207. package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  208. package/lib/molecule/icon-picker-modal/index.d.ts +1 -2
  209. package/lib/molecule/icon-picker-modal/index.d.ts.map +1 -1
  210. package/lib/molecule/icon-picker-modal/index.js +16 -43
  211. package/lib/molecule/icon-picker-modal/index.js.map +1 -1
  212. package/lib/molecule/multi-filter-panel/index.d.ts +19 -0
  213. package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
  214. package/lib/molecule/multi-filter-panel/index.js +39 -9
  215. package/lib/molecule/multi-filter-panel/index.js.map +1 -1
  216. package/lib/molecule/multi-filter-panel/prop-types.d.ts +26 -1
  217. package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  218. package/lib/molecule/multi-filter-panel/prop-types.js +5 -0
  219. package/lib/molecule/multi-filter-panel/prop-types.js.map +1 -1
  220. package/lib/molecule/multi-filter-panel/style.css +8 -0
  221. package/lib/molecule/quick-filters/index.d.ts +15 -8
  222. package/lib/molecule/quick-filters/index.d.ts.map +1 -1
  223. package/lib/molecule/quick-filters/types.d.ts +15 -8
  224. package/lib/molecule/quick-filters/types.d.ts.map +1 -1
  225. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +16 -8
  226. package/lib/molecule/title-radio-wrapper/index.d.ts +16 -8
  227. package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  228. package/lib/molecule/title-radio-wrapper/types.d.ts +16 -8
  229. package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  230. package/lib/organism/content-skill-modal/index.d.ts +135 -68
  231. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  232. package/lib/organism/content-skill-modal/types.d.ts +135 -68
  233. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  234. package/lib/organism/filter-checkbox-and-search/index.d.ts +1 -0
  235. package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  236. package/lib/organism/filter-checkbox-and-search/index.js +5 -2
  237. package/lib/organism/filter-checkbox-and-search/index.js.map +1 -1
  238. package/lib/organism/filter-checkbox-and-search/props-types.d.ts +2 -0
  239. package/lib/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  240. package/lib/organism/filter-checkbox-and-search/props-types.js +1 -0
  241. package/lib/organism/filter-checkbox-and-search/props-types.js.map +1 -1
  242. package/lib/organism/filter-checkbox-and-search/style.css +2 -0
  243. package/lib/organism/filter-chip/index.d.ts +3 -0
  244. package/lib/organism/filter-chip/index.d.ts.map +1 -1
  245. package/lib/organism/filter-chip/index.js +12 -4
  246. package/lib/organism/filter-chip/index.js.map +1 -1
  247. package/lib/organism/filter-chip/prop-types.d.ts +14 -7
  248. package/lib/organism/filter-chip/prop-types.d.ts.map +1 -1
  249. package/lib/organism/filter-chip/prop-types.js +3 -0
  250. package/lib/organism/filter-chip/prop-types.js.map +1 -1
  251. package/lib/organism/filter-switch/index.d.ts +23 -0
  252. package/lib/organism/filter-switch/index.d.ts.map +1 -0
  253. package/lib/organism/filter-switch/index.js +83 -0
  254. package/lib/organism/filter-switch/index.js.map +1 -0
  255. package/lib/organism/filter-switch/prop-types.d.ts +28 -0
  256. package/lib/organism/filter-switch/prop-types.d.ts.map +1 -0
  257. package/lib/organism/filter-switch/prop-types.js +20 -0
  258. package/lib/organism/filter-switch/prop-types.js.map +1 -0
  259. package/lib/organism/filter-switch/style.css +46 -0
  260. package/lib/organism/icon-editor/index.d.ts +15 -8
  261. package/lib/organism/icon-editor/index.d.ts.map +1 -1
  262. package/lib/organism/icon-editor/types.d.ts +15 -8
  263. package/lib/organism/icon-editor/types.d.ts.map +1 -1
  264. package/lib/organism/list-items/index.d.ts +116 -68
  265. package/lib/organism/rewards-form/index.d.ts +16 -8
  266. package/lib/organism/select-opponents/index.d.ts +16 -8
  267. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  268. package/lib/organism/select-opponents/types.d.ts +16 -8
  269. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  270. package/lib/organism/setup-header/index.d.ts +60 -32
  271. package/lib/organism/title-and-input/index.d.ts +47 -24
  272. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  273. package/lib/organism/title-and-input/types.d.ts +47 -24
  274. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  275. package/lib/organism/wizard-contents/index.d.ts +63 -38
  276. package/lib/template/app-player/loading/index.d.ts +135 -85
  277. package/lib/template/app-player/player/index.d.ts +278 -170
  278. package/lib/template/app-player/player/slides/header/index.d.ts +8 -0
  279. package/lib/template/app-player/player/slides/header/index.d.ts.map +1 -1
  280. package/lib/template/app-player/player/slides/header/index.js +89 -3
  281. package/lib/template/app-player/player/slides/header/index.js.map +1 -1
  282. package/lib/template/app-player/player/slides/header/style.css +1 -1
  283. package/lib/template/app-player/player/slides/index.d.ts +143 -85
  284. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  285. package/lib/template/app-player/popin-correction/index.d.ts +135 -85
  286. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  287. package/lib/template/app-player/popin-end/index.d.ts +143 -85
  288. package/lib/template/app-review/index.d.ts +135 -85
  289. package/lib/template/app-review/index.d.ts.map +1 -1
  290. package/lib/template/app-review/player/prop-types.d.ts +135 -85
  291. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  292. package/lib/template/app-review/prop-types.d.ts +135 -85
  293. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  294. package/lib/template/back-office/brand-create/index.d.ts +60 -32
  295. package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
  296. package/lib/template/back-office/brand-list/index.d.ts +60 -32
  297. package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
  298. package/lib/template/back-office/brand-update/index.d.ts +599 -298
  299. package/lib/template/back-office/dashboard-preview/index.d.ts +60 -32
  300. package/lib/template/back-office/layout/index.d.ts +60 -32
  301. package/lib/template/back-office/layout/index.d.ts.map +1 -1
  302. package/lib/template/common/dashboard/index.d.ts +270 -170
  303. package/lib/template/common/search-page/index.d.ts +135 -85
  304. package/lib/template/external-course/index.d.ts +135 -85
  305. package/lib/variables/colors.d.ts +1 -0
  306. package/lib/variables/colors.d.ts.map +1 -1
  307. package/lib/variables/colors.js +1 -0
  308. package/lib/variables/colors.js.map +1 -1
  309. package/package.json +2 -2
@@ -15,7 +15,7 @@ declare const ContentSkillModalPropTypes: {
15
15
  tooltipPlacement: PropTypes.Requireable<string>;
16
16
  'data-name': PropTypes.Requireable<string>;
17
17
  'data-testid': PropTypes.Requireable<string>;
18
- icon: PropTypes.Requireable<PropTypes.InferProps<{
18
+ icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
19
19
  position: PropTypes.Requireable<string>;
20
20
  type: PropTypes.Requireable<string>;
21
21
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -23,11 +23,19 @@ declare const ContentSkillModalPropTypes: {
23
23
  color: PropTypes.Requireable<string>;
24
24
  backgroundColor: PropTypes.Requireable<string>;
25
25
  size: PropTypes.Requireable<number>;
26
- customStyle: PropTypes.Requireable<{
27
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
28
- }>;
26
+ customStyle: PropTypes.Requireable<object>;
29
27
  }>>;
30
- }>>;
28
+ }> | (PropTypes.InferProps<{
29
+ position: PropTypes.Requireable<string>;
30
+ type: PropTypes.Requireable<string>;
31
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
32
+ name: PropTypes.Validator<string>;
33
+ color: PropTypes.Requireable<string>;
34
+ backgroundColor: PropTypes.Requireable<string>;
35
+ size: PropTypes.Requireable<number>;
36
+ customStyle: PropTypes.Requireable<object>;
37
+ }>>;
38
+ }> | null | undefined)[] | null | undefined>>;
31
39
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
32
40
  link: PropTypes.Requireable<PropTypes.InferProps<{
33
41
  href: PropTypes.Requireable<string>;
@@ -38,9 +46,8 @@ declare const ContentSkillModalPropTypes: {
38
46
  hoverColor: PropTypes.Requireable<string>;
39
47
  disabled: PropTypes.Requireable<boolean>;
40
48
  className: PropTypes.Requireable<string>;
41
- customStyle: PropTypes.Requireable<{
42
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
43
- }>;
49
+ customStyle: PropTypes.Requireable<object>;
50
+ contentCustomStyle: PropTypes.Requireable<object>;
44
51
  useTitle: PropTypes.Requireable<boolean>;
45
52
  customLabelClassName: PropTypes.Requireable<string>;
46
53
  }>>;
@@ -169,7 +176,7 @@ declare const ContentSkillModalPropTypes: {
169
176
  tooltipPlacement: PropTypes.Requireable<string>;
170
177
  'data-name': PropTypes.Requireable<string>;
171
178
  'data-testid': PropTypes.Requireable<string>;
172
- icon: PropTypes.Requireable<PropTypes.InferProps<{
179
+ icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
173
180
  position: PropTypes.Requireable<string>;
174
181
  type: PropTypes.Requireable<string>;
175
182
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -177,11 +184,19 @@ declare const ContentSkillModalPropTypes: {
177
184
  color: PropTypes.Requireable<string>;
178
185
  backgroundColor: PropTypes.Requireable<string>;
179
186
  size: PropTypes.Requireable<number>;
180
- customStyle: PropTypes.Requireable<{
181
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
182
- }>;
187
+ customStyle: PropTypes.Requireable<object>;
183
188
  }>>;
184
- }>>;
189
+ }> | (PropTypes.InferProps<{
190
+ position: PropTypes.Requireable<string>;
191
+ type: PropTypes.Requireable<string>;
192
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
193
+ name: PropTypes.Validator<string>;
194
+ color: PropTypes.Requireable<string>;
195
+ backgroundColor: PropTypes.Requireable<string>;
196
+ size: PropTypes.Requireable<number>;
197
+ customStyle: PropTypes.Requireable<object>;
198
+ }>>;
199
+ }> | null | undefined)[] | null | undefined>>;
185
200
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
186
201
  link: PropTypes.Requireable<PropTypes.InferProps<{
187
202
  href: PropTypes.Requireable<string>;
@@ -192,13 +207,13 @@ declare const ContentSkillModalPropTypes: {
192
207
  hoverColor: PropTypes.Requireable<string>;
193
208
  disabled: PropTypes.Requireable<boolean>;
194
209
  className: PropTypes.Requireable<string>;
195
- customStyle: PropTypes.Requireable<{
196
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
197
- }>;
210
+ customStyle: PropTypes.Requireable<object>;
211
+ contentCustomStyle: PropTypes.Requireable<object>;
198
212
  useTitle: PropTypes.Requireable<boolean>;
199
213
  customLabelClassName: PropTypes.Requireable<string>;
200
214
  }> | PropTypes.InferProps<{
201
215
  button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
216
+ withChevron: PropTypes.Requireable<boolean>;
202
217
  type: PropTypes.Requireable<string>;
203
218
  usage: PropTypes.Requireable<string>;
204
219
  label: PropTypes.Requireable<string>;
@@ -208,7 +223,7 @@ declare const ContentSkillModalPropTypes: {
208
223
  tooltipPlacement: PropTypes.Requireable<string>;
209
224
  'data-name': PropTypes.Requireable<string>;
210
225
  'data-testid': PropTypes.Requireable<string>;
211
- icon: PropTypes.Requireable<PropTypes.InferProps<{
226
+ icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
212
227
  position: PropTypes.Requireable<string>;
213
228
  type: PropTypes.Requireable<string>;
214
229
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -216,11 +231,19 @@ declare const ContentSkillModalPropTypes: {
216
231
  color: PropTypes.Requireable<string>;
217
232
  backgroundColor: PropTypes.Requireable<string>;
218
233
  size: PropTypes.Requireable<number>;
219
- customStyle: PropTypes.Requireable<{
220
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
221
- }>;
234
+ customStyle: PropTypes.Requireable<object>;
222
235
  }>>;
223
- }>>;
236
+ }> | (PropTypes.InferProps<{
237
+ position: PropTypes.Requireable<string>;
238
+ type: PropTypes.Requireable<string>;
239
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
240
+ name: PropTypes.Validator<string>;
241
+ color: PropTypes.Requireable<string>;
242
+ backgroundColor: PropTypes.Requireable<string>;
243
+ size: PropTypes.Requireable<number>;
244
+ customStyle: PropTypes.Requireable<object>;
245
+ }>>;
246
+ }> | null | undefined)[] | null | undefined>>;
224
247
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
225
248
  link: PropTypes.Requireable<PropTypes.InferProps<{
226
249
  href: PropTypes.Requireable<string>;
@@ -231,9 +254,8 @@ declare const ContentSkillModalPropTypes: {
231
254
  hoverColor: PropTypes.Requireable<string>;
232
255
  disabled: PropTypes.Requireable<boolean>;
233
256
  className: PropTypes.Requireable<string>;
234
- customStyle: PropTypes.Requireable<{
235
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
236
- }>;
257
+ customStyle: PropTypes.Requireable<object>;
258
+ contentCustomStyle: PropTypes.Requireable<object>;
237
259
  useTitle: PropTypes.Requireable<boolean>;
238
260
  customLabelClassName: PropTypes.Requireable<string>;
239
261
  }>>>;
@@ -254,9 +276,7 @@ declare const ContentSkillModalPropTypes: {
254
276
  color: PropTypes.Requireable<string>;
255
277
  backgroundColor: PropTypes.Requireable<string>;
256
278
  size: PropTypes.Requireable<number>;
257
- customStyle: PropTypes.Requireable<{
258
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
259
- }>;
279
+ customStyle: PropTypes.Requireable<object>;
260
280
  }>>;
261
281
  }>>;
262
282
  customStyle: PropTypes.Requireable<{
@@ -278,6 +298,8 @@ declare const ContentSkillModalPropTypes: {
278
298
  primaryColor: PropTypes.Requireable<string>;
279
299
  closeOnClick: PropTypes.Requireable<boolean>;
280
300
  enableScroll: PropTypes.Requireable<boolean>;
301
+ containerCustom: PropTypes.Requireable<object>;
302
+ showFade: PropTypes.Requireable<boolean>;
281
303
  }> | null | undefined>>;
282
304
  }>>;
283
305
  }> | PropTypes.InferProps<{
@@ -316,9 +338,7 @@ declare const ContentSkillModalPropTypes: {
316
338
  color: PropTypes.Requireable<string>;
317
339
  backgroundColor: PropTypes.Requireable<string>;
318
340
  size: PropTypes.Requireable<number>;
319
- customStyle: PropTypes.Requireable<{
320
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
321
- }>;
341
+ customStyle: PropTypes.Requireable<object>;
322
342
  }>>;
323
343
  }>>;
324
344
  customStyle: PropTypes.Requireable<{
@@ -346,7 +366,7 @@ declare const ContentSkillModalPropTypes: {
346
366
  tooltipPlacement: PropTypes.Requireable<string>;
347
367
  'data-name': PropTypes.Requireable<string>;
348
368
  'data-testid': PropTypes.Requireable<string>;
349
- icon: PropTypes.Requireable<PropTypes.InferProps<{
369
+ icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
350
370
  position: PropTypes.Requireable<string>;
351
371
  type: PropTypes.Requireable<string>;
352
372
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -354,11 +374,19 @@ declare const ContentSkillModalPropTypes: {
354
374
  color: PropTypes.Requireable<string>;
355
375
  backgroundColor: PropTypes.Requireable<string>;
356
376
  size: PropTypes.Requireable<number>;
357
- customStyle: PropTypes.Requireable<{
358
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
359
- }>;
377
+ customStyle: PropTypes.Requireable<object>;
360
378
  }>>;
361
- }>>;
379
+ }> | (PropTypes.InferProps<{
380
+ position: PropTypes.Requireable<string>;
381
+ type: PropTypes.Requireable<string>;
382
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
383
+ name: PropTypes.Validator<string>;
384
+ color: PropTypes.Requireable<string>;
385
+ backgroundColor: PropTypes.Requireable<string>;
386
+ size: PropTypes.Requireable<number>;
387
+ customStyle: PropTypes.Requireable<object>;
388
+ }>>;
389
+ }> | null | undefined)[] | null | undefined>>;
362
390
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
363
391
  link: PropTypes.Requireable<PropTypes.InferProps<{
364
392
  href: PropTypes.Requireable<string>;
@@ -369,9 +397,8 @@ declare const ContentSkillModalPropTypes: {
369
397
  hoverColor: PropTypes.Requireable<string>;
370
398
  disabled: PropTypes.Requireable<boolean>;
371
399
  className: PropTypes.Requireable<string>;
372
- customStyle: PropTypes.Requireable<{
373
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
374
- }>;
400
+ customStyle: PropTypes.Requireable<object>;
401
+ contentCustomStyle: PropTypes.Requireable<object>;
375
402
  useTitle: PropTypes.Requireable<boolean>;
376
403
  customLabelClassName: PropTypes.Requireable<string>;
377
404
  }> | PropTypes.InferProps<{
@@ -396,9 +423,7 @@ declare const ContentSkillModalPropTypes: {
396
423
  color: PropTypes.Requireable<string>;
397
424
  backgroundColor: PropTypes.Requireable<string>;
398
425
  size: PropTypes.Requireable<number>;
399
- customStyle: PropTypes.Requireable<{
400
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
401
- }>;
426
+ customStyle: PropTypes.Requireable<object>;
402
427
  }>>;
403
428
  }>>;
404
429
  customStyle: PropTypes.Requireable<{
@@ -417,6 +442,7 @@ declare const ContentSkillModalPropTypes: {
417
442
  title: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
418
443
  title: PropTypes.Requireable<string>;
419
444
  subtitle: PropTypes.Requireable<string>;
445
+ ariaLabel: PropTypes.Requireable<string>;
420
446
  type: PropTypes.Requireable<string>;
421
447
  'data-name': PropTypes.Requireable<string>;
422
448
  titleSize: PropTypes.Requireable<string>;
@@ -451,7 +477,7 @@ declare const ContentSkillModalPropTypes: {
451
477
  tooltipPlacement: PropTypes.Requireable<string>;
452
478
  'data-name': PropTypes.Requireable<string>;
453
479
  'data-testid': PropTypes.Requireable<string>;
454
- icon: PropTypes.Requireable<PropTypes.InferProps<{
480
+ icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
455
481
  position: PropTypes.Requireable<string>;
456
482
  type: PropTypes.Requireable<string>;
457
483
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -459,11 +485,19 @@ declare const ContentSkillModalPropTypes: {
459
485
  color: PropTypes.Requireable<string>;
460
486
  backgroundColor: PropTypes.Requireable<string>;
461
487
  size: PropTypes.Requireable<number>;
462
- customStyle: PropTypes.Requireable<{
463
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
464
- }>;
488
+ customStyle: PropTypes.Requireable<object>;
465
489
  }>>;
466
- }>>;
490
+ }> | (PropTypes.InferProps<{
491
+ position: PropTypes.Requireable<string>;
492
+ type: PropTypes.Requireable<string>;
493
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
494
+ name: PropTypes.Validator<string>;
495
+ color: PropTypes.Requireable<string>;
496
+ backgroundColor: PropTypes.Requireable<string>;
497
+ size: PropTypes.Requireable<number>;
498
+ customStyle: PropTypes.Requireable<object>;
499
+ }>>;
500
+ }> | null | undefined)[] | null | undefined>>;
467
501
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
468
502
  link: PropTypes.Requireable<PropTypes.InferProps<{
469
503
  href: PropTypes.Requireable<string>;
@@ -474,9 +508,8 @@ declare const ContentSkillModalPropTypes: {
474
508
  hoverColor: PropTypes.Requireable<string>;
475
509
  disabled: PropTypes.Requireable<boolean>;
476
510
  className: PropTypes.Requireable<string>;
477
- customStyle: PropTypes.Requireable<{
478
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
479
- }>;
511
+ customStyle: PropTypes.Requireable<object>;
512
+ contentCustomStyle: PropTypes.Requireable<object>;
480
513
  useTitle: PropTypes.Requireable<boolean>;
481
514
  customLabelClassName: PropTypes.Requireable<string>;
482
515
  }>>;
@@ -522,7 +555,7 @@ declare const ContentSkillModalPropTypes: {
522
555
  tooltipPlacement: PropTypes.Requireable<string>;
523
556
  'data-name': PropTypes.Requireable<string>;
524
557
  'data-testid': PropTypes.Requireable<string>;
525
- icon: PropTypes.Requireable<PropTypes.InferProps<{
558
+ icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
526
559
  position: PropTypes.Requireable<string>;
527
560
  type: PropTypes.Requireable<string>;
528
561
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -530,11 +563,19 @@ declare const ContentSkillModalPropTypes: {
530
563
  color: PropTypes.Requireable<string>;
531
564
  backgroundColor: PropTypes.Requireable<string>;
532
565
  size: PropTypes.Requireable<number>;
533
- customStyle: PropTypes.Requireable<{
534
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
535
- }>;
566
+ customStyle: PropTypes.Requireable<object>;
536
567
  }>>;
537
- }>>;
568
+ }> | (PropTypes.InferProps<{
569
+ position: PropTypes.Requireable<string>;
570
+ type: PropTypes.Requireable<string>;
571
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
572
+ name: PropTypes.Validator<string>;
573
+ color: PropTypes.Requireable<string>;
574
+ backgroundColor: PropTypes.Requireable<string>;
575
+ size: PropTypes.Requireable<number>;
576
+ customStyle: PropTypes.Requireable<object>;
577
+ }>>;
578
+ }> | null | undefined)[] | null | undefined>>;
538
579
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
539
580
  link: PropTypes.Requireable<PropTypes.InferProps<{
540
581
  href: PropTypes.Requireable<string>;
@@ -545,14 +586,14 @@ declare const ContentSkillModalPropTypes: {
545
586
  hoverColor: PropTypes.Requireable<string>;
546
587
  disabled: PropTypes.Requireable<boolean>;
547
588
  className: PropTypes.Requireable<string>;
548
- customStyle: PropTypes.Requireable<{
549
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
550
- }>;
589
+ customStyle: PropTypes.Requireable<object>;
590
+ contentCustomStyle: PropTypes.Requireable<object>;
551
591
  useTitle: PropTypes.Requireable<boolean>;
552
592
  customLabelClassName: PropTypes.Requireable<string>;
553
593
  }> | null | undefined)[]>;
554
594
  buttonMenuAction: PropTypes.Requireable<PropTypes.InferProps<{
555
595
  button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
596
+ withChevron: PropTypes.Requireable<boolean>;
556
597
  type: PropTypes.Requireable<string>;
557
598
  usage: PropTypes.Requireable<string>;
558
599
  label: PropTypes.Requireable<string>;
@@ -562,7 +603,7 @@ declare const ContentSkillModalPropTypes: {
562
603
  tooltipPlacement: PropTypes.Requireable<string>;
563
604
  'data-name': PropTypes.Requireable<string>;
564
605
  'data-testid': PropTypes.Requireable<string>;
565
- icon: PropTypes.Requireable<PropTypes.InferProps<{
606
+ icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
566
607
  position: PropTypes.Requireable<string>;
567
608
  type: PropTypes.Requireable<string>;
568
609
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -570,11 +611,19 @@ declare const ContentSkillModalPropTypes: {
570
611
  color: PropTypes.Requireable<string>;
571
612
  backgroundColor: PropTypes.Requireable<string>;
572
613
  size: PropTypes.Requireable<number>;
573
- customStyle: PropTypes.Requireable<{
574
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
575
- }>;
614
+ customStyle: PropTypes.Requireable<object>;
576
615
  }>>;
577
- }>>;
616
+ }> | (PropTypes.InferProps<{
617
+ position: PropTypes.Requireable<string>;
618
+ type: PropTypes.Requireable<string>;
619
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
620
+ name: PropTypes.Validator<string>;
621
+ color: PropTypes.Requireable<string>;
622
+ backgroundColor: PropTypes.Requireable<string>;
623
+ size: PropTypes.Requireable<number>;
624
+ customStyle: PropTypes.Requireable<object>;
625
+ }>>;
626
+ }> | null | undefined)[] | null | undefined>>;
578
627
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
579
628
  link: PropTypes.Requireable<PropTypes.InferProps<{
580
629
  href: PropTypes.Requireable<string>;
@@ -585,9 +634,8 @@ declare const ContentSkillModalPropTypes: {
585
634
  hoverColor: PropTypes.Requireable<string>;
586
635
  disabled: PropTypes.Requireable<boolean>;
587
636
  className: PropTypes.Requireable<string>;
588
- customStyle: PropTypes.Requireable<{
589
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
590
- }>;
637
+ customStyle: PropTypes.Requireable<object>;
638
+ contentCustomStyle: PropTypes.Requireable<object>;
591
639
  useTitle: PropTypes.Requireable<boolean>;
592
640
  customLabelClassName: PropTypes.Requireable<string>;
593
641
  }>>>;
@@ -608,9 +656,7 @@ declare const ContentSkillModalPropTypes: {
608
656
  color: PropTypes.Requireable<string>;
609
657
  backgroundColor: PropTypes.Requireable<string>;
610
658
  size: PropTypes.Requireable<number>;
611
- customStyle: PropTypes.Requireable<{
612
- [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
613
- }>;
659
+ customStyle: PropTypes.Requireable<object>;
614
660
  }>>;
615
661
  }>>;
616
662
  customStyle: PropTypes.Requireable<{
@@ -632,21 +678,27 @@ declare const ContentSkillModalPropTypes: {
632
678
  primaryColor: PropTypes.Requireable<string>;
633
679
  closeOnClick: PropTypes.Requireable<boolean>;
634
680
  enableScroll: PropTypes.Requireable<boolean>;
681
+ containerCustom: PropTypes.Requireable<object>;
682
+ showFade: PropTypes.Requireable<boolean>;
635
683
  }>>;
636
684
  }>>>;
637
685
  filters: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
638
686
  title: PropTypes.Requireable<string>;
639
687
  onClearAll: PropTypes.Requireable<(...args: any[]) => any>;
688
+ onRemoveSelectedFilter: PropTypes.Requireable<(...args: any[]) => any>;
640
689
  options: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
641
690
  type: PropTypes.Requireable<string>;
642
691
  options: PropTypes.Requireable<PropTypes.InferProps<{
643
692
  title: PropTypes.Requireable<string>;
693
+ titleAriaLabel: PropTypes.Requireable<string>;
644
694
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
645
695
  options: PropTypes.Requireable<(PropTypes.InferProps<{
646
696
  label: PropTypes.Requireable<string>;
647
697
  type: PropTypes.Requireable<string>;
698
+ textColor: PropTypes.Requireable<string>;
648
699
  selected: PropTypes.Requireable<boolean>;
649
700
  icon: PropTypes.Requireable<string>;
701
+ customIcon: PropTypes.Requireable<string>;
650
702
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
651
703
  }> | null | undefined)[]>;
652
704
  }>>;
@@ -654,6 +706,7 @@ declare const ContentSkillModalPropTypes: {
654
706
  type: PropTypes.Requireable<string>;
655
707
  options: PropTypes.Requireable<PropTypes.InferProps<{
656
708
  title: PropTypes.Requireable<string>;
709
+ titleAriaLabel: PropTypes.Requireable<string>;
657
710
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
658
711
  options: PropTypes.Requireable<(PropTypes.InferProps<{
659
712
  label: PropTypes.Requireable<string>;
@@ -677,6 +730,20 @@ declare const ContentSkillModalPropTypes: {
677
730
  searchIconAriaLabel: PropTypes.Requireable<string>;
678
731
  }>>;
679
732
  }>>;
733
+ }> | PropTypes.InferProps<{
734
+ type: PropTypes.Requireable<string>;
735
+ options: PropTypes.Requireable<PropTypes.InferProps<{
736
+ title: PropTypes.Validator<string>;
737
+ titleAriaLabel: PropTypes.Requireable<string>;
738
+ onClear: PropTypes.Validator<(...args: any[]) => any>;
739
+ options: PropTypes.Requireable<(PropTypes.InferProps<{
740
+ label: PropTypes.Validator<string>;
741
+ value: PropTypes.Validator<boolean>;
742
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
743
+ theme: PropTypes.Validator<string>;
744
+ ariaLabel: PropTypes.Validator<string>;
745
+ }> | null | undefined)[]>;
746
+ }>>;
680
747
  }> | null | undefined> | null | undefined)[]>;
681
748
  }>>>;
682
749
  modal: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAkC,EAChC,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;AAStD,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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U,CAAC;CACnB,CAAC"}
@@ -5,6 +5,7 @@ declare const FilterCheckboxAndSearch: {
5
5
  (props: FilterCheckboxAndSearchProps, context: WebContextValues): JSX.Element;
6
6
  propTypes: {
7
7
  title: import("prop-types").Requireable<string>;
8
+ titleAriaLabel: import("prop-types").Requireable<string>;
8
9
  onClear: import("prop-types").Requireable<(...args: any[]) => any>;
9
10
  options: import("prop-types").Requireable<(import("prop-types").InferProps<{
10
11
  label: import("prop-types").Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAKjE,OAAkB,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAiBtE,QAAA,MAAM,uBAAuB;YACpB,4BAA4B,WAC1B,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+F1B,CAAC;AAQF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAKjE,OAAkB,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAiBtE,QAAA,MAAM,uBAAuB;YACpB,4BAA4B,WAC1B,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgG1B,CAAC;AAQF,eAAe,uBAAuB,CAAC"}
@@ -33,6 +33,7 @@ const INITIAL_VISIBLE_OPTIONS = 5;
33
33
  const FilterCheckboxAndSearch = (props, context) => {
34
34
  const {
35
35
  title,
36
+ titleAriaLabel,
36
37
  searchOptions,
37
38
  onClear,
38
39
  options
@@ -59,7 +60,8 @@ const FilterCheckboxAndSearch = (props, context) => {
59
60
  className: style.titleAndTagWrapper,
60
61
  "data-testid": "filter-checkbox-and-searh-title-and-tag-wrapper"
61
62
  }, /*#__PURE__*/React.createElement(Title, {
62
- title: title
63
+ title: title,
64
+ ariaLabel: titleAriaLabel
63
65
  }), hasSelectedFilters ? /*#__PURE__*/React.createElement(Tag, {
64
66
  label: _toString(selectedFiltersCount),
65
67
  type: "info",
@@ -71,7 +73,8 @@ const FilterCheckboxAndSearch = (props, context) => {
71
73
  type: "text",
72
74
  "data-testid": "filter-checkbox-and-search-clear-button",
73
75
  onClick: onClear,
74
- customStyle: CLEAR_BUTTON_STYLE
76
+ customStyle: CLEAR_BUTTON_STYLE,
77
+ hoverColor: COLORS.cm_grey_700
75
78
  })) : null), searchOptions ? /*#__PURE__*/React.createElement("div", {
76
79
  className: style.search
77
80
  }, /*#__PURE__*/React.createElement(Search, searchOptions)) : null, /*#__PURE__*/React.createElement("div", {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","useCallback","useMemo","useState","Title","Tag","ButtonLink","Provider","GetTranslateFromContext","CheckboxWithTitle","COLORS","Search","style","propTypes","CLEAR_BUTTON_STYLE","fontWeight","padding","SHOW_BUTTON_STYLE","fontSize","fontFamily","CHECKBOX_TITLE_STYLE","marginRight","INITIAL_VISIBLE_OPTIONS","FilterCheckboxAndSearch","props","context","title","searchOptions","onClear","options","translate","showMore","setShowMore","selectedFiltersCount","_pipe","_filter","selected","_size","hasSelectedFilters","handleShowMore","visibleOptions","slice","createElement","className","container","header","titleAndTagWrapper","label","_toString","type","size","clearButtonContainer","onClick","customStyle","search","optionsContainer","_isEmpty","emptySearchResult","map","value","count","index","key","optionRow","onChange","name","checked","optionCount","icon","position","faIcon","color","cm_grey_500","process","env","NODE_ENV","contextTypes","childContextTypes"],"sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"sourcesContent":["import React, {useCallback, useMemo, useState} from 'react';\nimport {filter, isEmpty, pipe, size, toString} from 'lodash/fp';\nimport Title from '../../atom/title';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport Provider, {GetTranslateFromContext} from '../../atom/provider';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport {COLORS} from '../../variables/colors';\nimport Search from '../../atom/input-search';\nimport style from './style.css';\nimport propTypes, {FilterCheckboxAndSearchProps} from './props-types';\n\nconst CLEAR_BUTTON_STYLE = {fontWeight: 'normal', padding: 0};\nconst SHOW_BUTTON_STYLE = {\n fontSize: '14px',\n fontWeight: '600',\n fontFamily: 'Gilroy',\n padding: '0'\n};\nconst CHECKBOX_TITLE_STYLE = {\n marginRight: '16px',\n fontSize: '14px',\n fontFamily: 'Gilroy',\n fontWeight: 'normal'\n};\nconst INITIAL_VISIBLE_OPTIONS = 5;\n\nconst FilterCheckboxAndSearch = (\n props: FilterCheckboxAndSearchProps,\n context: WebContextValues\n) => {\n const {title, searchOptions, onClear, options} = props;\n const translate = GetTranslateFromContext(context);\n const [showMore, setShowMore] = useState(false);\n const selectedFiltersCount = pipe(filter({selected: true}), size)(options);\n const hasSelectedFilters = selectedFiltersCount > 0;\n\n const handleShowMore = useCallback(() => {\n setShowMore(!showMore);\n }, [showMore]);\n\n const visibleOptions = useMemo(() => {\n return showMore ? options : options.slice(0, INITIAL_VISIBLE_OPTIONS);\n }, [options, showMore]);\n\n return (\n <div data-testid=\"filter-checkbox-and-search-container\" className={style.container}>\n <div className={style.header} data-testid=\"filter-checkbox-and-search-header\">\n <div\n className={style.titleAndTagWrapper}\n data-testid=\"filter-checkbox-and-searh-title-and-tag-wrapper\"\n >\n <Title title={title} />\n {hasSelectedFilters ? (\n <Tag label={toString(selectedFiltersCount)} type=\"info\" size=\"S\" />\n ) : null}\n </div>\n {hasSelectedFilters ? (\n <div className={style.clearButtonContainer}>\n <ButtonLink\n label={translate('clear')}\n type=\"text\"\n data-testid=\"filter-checkbox-and-search-clear-button\"\n onClick={onClear}\n customStyle={CLEAR_BUTTON_STYLE}\n />\n </div>\n ) : null}\n </div>\n {searchOptions ? (\n <div className={style.search}>\n <Search {...searchOptions} />\n </div>\n ) : null}\n <div\n data-testid=\"filter-checkbox-and-search-options-container\"\n className={style.optionsContainer}\n >\n {isEmpty(visibleOptions) ? (\n <p\n className={style.emptySearchResult}\n data-testid=\"filter-checkbox-and-search-empty-message\"\n >\n No results... Try adjusting your search.\n </p>\n ) : (\n visibleOptions.map(({value, label, selected, count, onClick}, index) => (\n <div\n key={value}\n className={style.optionRow}\n data-testid={`filter-checkbox-and-search-option-row-${index}`}\n >\n <CheckboxWithTitle\n key={value}\n title={label}\n onChange={onClick}\n name={label}\n checked={selected}\n customStyle={CHECKBOX_TITLE_STYLE}\n />\n <p className={style.optionCount}>{count}</p>\n </div>\n ))\n )}\n </div>\n {size(options) > INITIAL_VISIBLE_OPTIONS ? (\n <ButtonLink\n label={showMore ? translate('Show less') : translate('Show more')}\n type=\"text\"\n icon={{\n position: 'right',\n faIcon: {\n name: showMore ? 'chevron-up' : 'chevron-down',\n size: 16,\n color: COLORS.cm_grey_500\n }\n }}\n customStyle={SHOW_BUTTON_STYLE}\n onClick={handleShowMore}\n data-testid=\"filter-checkbox-and-search-show-button\"\n />\n ) : null}\n </div>\n );\n};\n\nFilterCheckboxAndSearch.propTypes = propTypes;\n\nFilterCheckboxAndSearch.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default FilterCheckboxAndSearch;\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAO,OAAO;AAE3D,OAAOC,KAAK,MAAM,kBAAkB;AACpC,OAAOC,GAAG,MAAM,gBAAgB;AAChC,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,QAAQ,IAAGC,uBAAuB,QAAO,qBAAqB;AAErE,OAAOC,iBAAiB,MAAM,gCAAgC;AAC9D,SAAQC,MAAM,QAAO,wBAAwB;AAC7C,OAAOC,MAAM,MAAM,yBAAyB;AAC5C,OAAOC,KAAK,MAAM,aAAa;AAC/B,OAAOC,SAAS,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G;EACrC9C,SAAS,EAAEvB,QAAQ,CAACsE,iBAAiB,CAAC/C;AACxC,CAAC;AAED,eAAeP,uBAAuB","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["React","useCallback","useMemo","useState","Title","Tag","ButtonLink","Provider","GetTranslateFromContext","CheckboxWithTitle","COLORS","Search","style","propTypes","CLEAR_BUTTON_STYLE","fontWeight","padding","SHOW_BUTTON_STYLE","fontSize","fontFamily","CHECKBOX_TITLE_STYLE","marginRight","INITIAL_VISIBLE_OPTIONS","FilterCheckboxAndSearch","props","context","title","titleAriaLabel","searchOptions","onClear","options","translate","showMore","setShowMore","selectedFiltersCount","_pipe","_filter","selected","_size","hasSelectedFilters","handleShowMore","visibleOptions","slice","createElement","className","container","header","titleAndTagWrapper","ariaLabel","label","_toString","type","size","clearButtonContainer","onClick","customStyle","hoverColor","cm_grey_700","search","optionsContainer","_isEmpty","emptySearchResult","map","value","count","index","key","optionRow","onChange","name","checked","optionCount","icon","position","faIcon","color","cm_grey_500","process","env","NODE_ENV","contextTypes","childContextTypes"],"sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"sourcesContent":["import React, {useCallback, useMemo, useState} from 'react';\nimport {filter, isEmpty, pipe, size, toString} from 'lodash/fp';\nimport Title from '../../atom/title';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport Provider, {GetTranslateFromContext} from '../../atom/provider';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport {COLORS} from '../../variables/colors';\nimport Search from '../../atom/input-search';\nimport style from './style.css';\nimport propTypes, {FilterCheckboxAndSearchProps} from './props-types';\n\nconst CLEAR_BUTTON_STYLE = {fontWeight: 'normal', padding: 0};\nconst SHOW_BUTTON_STYLE = {\n fontSize: '14px',\n fontWeight: '600',\n fontFamily: 'Gilroy',\n padding: '0'\n};\nconst CHECKBOX_TITLE_STYLE = {\n marginRight: '16px',\n fontSize: '14px',\n fontFamily: 'Gilroy',\n fontWeight: 'normal'\n};\nconst INITIAL_VISIBLE_OPTIONS = 5;\n\nconst FilterCheckboxAndSearch = (\n props: FilterCheckboxAndSearchProps,\n context: WebContextValues\n) => {\n const {title, titleAriaLabel, searchOptions, onClear, options} = props;\n const translate = GetTranslateFromContext(context);\n const [showMore, setShowMore] = useState(false);\n const selectedFiltersCount = pipe(filter({selected: true}), size)(options);\n const hasSelectedFilters = selectedFiltersCount > 0;\n\n const handleShowMore = useCallback(() => {\n setShowMore(!showMore);\n }, [showMore]);\n\n const visibleOptions = useMemo(() => {\n return showMore ? options : options.slice(0, INITIAL_VISIBLE_OPTIONS);\n }, [options, showMore]);\n\n return (\n <div data-testid=\"filter-checkbox-and-search-container\" className={style.container}>\n <div className={style.header} data-testid=\"filter-checkbox-and-search-header\">\n <div\n className={style.titleAndTagWrapper}\n data-testid=\"filter-checkbox-and-searh-title-and-tag-wrapper\"\n >\n <Title title={title} ariaLabel={titleAriaLabel} />\n {hasSelectedFilters ? (\n <Tag label={toString(selectedFiltersCount)} type=\"info\" size=\"S\" />\n ) : null}\n </div>\n {hasSelectedFilters ? (\n <div className={style.clearButtonContainer}>\n <ButtonLink\n label={translate('clear')}\n type=\"text\"\n data-testid=\"filter-checkbox-and-search-clear-button\"\n onClick={onClear}\n customStyle={CLEAR_BUTTON_STYLE}\n hoverColor={COLORS.cm_grey_700}\n />\n </div>\n ) : null}\n </div>\n {searchOptions ? (\n <div className={style.search}>\n <Search {...searchOptions} />\n </div>\n ) : null}\n <div\n data-testid=\"filter-checkbox-and-search-options-container\"\n className={style.optionsContainer}\n >\n {isEmpty(visibleOptions) ? (\n <p\n className={style.emptySearchResult}\n data-testid=\"filter-checkbox-and-search-empty-message\"\n >\n No results... Try adjusting your search.\n </p>\n ) : (\n visibleOptions.map(({value, label, selected, count, onClick}, index) => (\n <div\n key={value}\n className={style.optionRow}\n data-testid={`filter-checkbox-and-search-option-row-${index}`}\n >\n <CheckboxWithTitle\n key={value}\n title={label}\n onChange={onClick}\n name={label}\n checked={selected}\n customStyle={CHECKBOX_TITLE_STYLE}\n />\n <p className={style.optionCount}>{count}</p>\n </div>\n ))\n )}\n </div>\n {size(options) > INITIAL_VISIBLE_OPTIONS ? (\n <ButtonLink\n label={showMore ? translate('Show less') : translate('Show more')}\n type=\"text\"\n icon={{\n position: 'right',\n faIcon: {\n name: showMore ? 'chevron-up' : 'chevron-down',\n size: 16,\n color: COLORS.cm_grey_500\n }\n }}\n customStyle={SHOW_BUTTON_STYLE}\n onClick={handleShowMore}\n data-testid=\"filter-checkbox-and-search-show-button\"\n />\n ) : null}\n </div>\n );\n};\n\nFilterCheckboxAndSearch.propTypes = propTypes;\n\nFilterCheckboxAndSearch.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default FilterCheckboxAndSearch;\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAO,OAAO;AAE3D,OAAOC,KAAK,MAAM,kBAAkB;AACpC,OAAOC,GAAG,MAAM,gBAAgB;AAChC,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,QAAQ,IAAGC,uBAAuB,QAAO,qBAAqB;AAErE,OAAOC,iBAAiB,MAAM,gCAAgC;AAC9D,SAAQC,MAAM,QAAO,wBAAwB;AAC7C,OAAOC,MAAM,MAAM,yBAAyB;AAC5C,OAAOC,KAAK,MAAM,aAAa;AAC/B,OAAOC,SAAS,MAAsC,eAAe;AAErE,MAAMC,kBAAkB,GAAG;EAACC,UAAU,EAAE,QAAQ;EAAEC,OAAO,EAAE;AAAC,CAAC;AAC7D,MAAMC,iBAAiB,GAAG;EACxBC,QAAQ,EAAE,MAAM;EAChBH,UAAU,EAAE,KAAK;EACjBI,UAAU,EAAE,QAAQ;EACpBH,OAAO,EAAE;AACX,CAAC;AACD,MAAMI,oBAAoB,GAAG;EAC3BC,WAAW,EAAE,MAAM;EACnBH,QAAQ,EAAE,MAAM;EAChBC,UAAU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AAyCF,KAAK;EAAG,gBAE9DjE,KAAA,CAAA2C,aAAA,CAAClC,iBAAiB;IAChByD,GAAG,EAAEH,KAAM;IACXrC,KAAK,EAAEuB,KAAM;IACbmB,QAAQ,EAAEd,OAAQ;IAClBe,IAAI,EAAEpB,KAAM;IACZqB,OAAO,EAAEjC,QAAS;IAClBkB,WAAW,EAAEnC;EAAqB,CACnC,CAAC,eACFpB,KAAA,CAAA2C,aAAA;IAAGC,SAAS,EAAEhC,KAAK,CAAC2D;EAAY,GAAEP,KAAS,CACxC,CACN,CAEA,CAAC,EACL1B,KAAA,CAAKR,OAAO,CAAC,GAAGR,uBAAuB,gBACtCtB,KAAA,CAAA2C,aAAA,CAACrC,UAAU;IACT2C,KAAK,EAAEjB,QAAQ,GAAGD,SAAS,CAAC,WAAW,CAAC,GAAGA,SAAS,CAAC,WAAW,CAAE;IAClEoB,IAAI,EAAC,MAAM;IACXqB,IAAI,EAAE;MACJC,QAAQ,EAAE,OAAO;MACjBC,MAAM,EAAE;QACNL,IAAI,EAAErC,QAAQ,GAAG,YAAY,GAAG,cAAc;QAC9CoB,IAAI,EAAE,EAAE;QACRuB,KAAK,EAAEjE,MAAM,CAACkE;MAChB;IACF,CAAE;IACFrB,WAAW,EAAEtC,iBAAkB;IAC/BqC,OAAO,EAAEd,cAAe;IACxB,eAAY;EAAwC,CACrD,CAAC,GACA,IACD,CAAC;AAEV,CAAC;AAEDjB,uBAAuB,CAACV,SAAS,GAAAgE,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGlE,SAAS;AAE7CU,uBAAuB,CAACyD,YAAY,GAAG;EACrCjD,SAAS,EAAExB,QAAQ,CAAC0E,iBAAiB,CAAClD;AACxC,CAAC;AAED,eAAeR,uBAAuB","ignoreList":[]}
@@ -1,6 +1,7 @@
1
1
  import PropTypes from 'prop-types';
2
2
  declare const propTypes: {
3
3
  title: PropTypes.Requireable<string>;
4
+ titleAriaLabel: PropTypes.Requireable<string>;
4
5
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
5
6
  options: PropTypes.Requireable<(PropTypes.InferProps<{
6
7
  label: PropTypes.Requireable<string>;
@@ -44,6 +45,7 @@ declare type SearchType = {
44
45
  };
45
46
  export declare type FilterCheckboxAndSearchProps = {
46
47
  title: string;
48
+ titleAriaLabel?: string;
47
49
  onClear: () => void;
48
50
  searchOptions: SearchType;
49
51
  options: FilterCheckboxAndSearchOptions[];
@@ -1 +1 @@
1
- {"version":3,"file":"props-types.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/props-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;CAcd,CAAC;AAEF,oBAAY,8BAA8B,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,aAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,GAAG,cAAc,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,UAAU,CAAC;IAC1B,OAAO,EAAE,8BAA8B,EAAE,CAAC;CAC3C,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"props-types.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/props-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;CAed,CAAC;AAEF,oBAAY,8BAA8B,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,aAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,GAAG,cAAc,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,UAAU,CAAC;IAC1B,OAAO,EAAE,8BAA8B,EAAE,CAAC;CAC3C,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
2
2
  import Search from '../../atom/input-search';
3
3
  const propTypes = {
4
4
  title: PropTypes.string,
5
+ titleAriaLabel: PropTypes.string,
5
6
  onClear: PropTypes.func,
6
7
  options: PropTypes.arrayOf(PropTypes.shape({
7
8
  label: PropTypes.string,
@@ -1 +1 @@
1
- {"version":3,"file":"props-types.js","names":["PropTypes","Search","propTypes","title","string","onClear","func","options","arrayOf","shape","label","value","selected","bool","ref","count","number","onClick","searchOptions"],"sources":["../../../src/organism/filter-checkbox-and-search/props-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport Search from '../../atom/input-search';\n\nconst propTypes = {\n title: PropTypes.string,\n onClear: PropTypes.func,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n selected: PropTypes.bool,\n ref: PropTypes.string,\n count: PropTypes.number,\n onClick: PropTypes.func\n })\n ),\n searchOptions: PropTypes.shape(Search.propTypes)\n};\n\nexport type FilterCheckboxAndSearchOptions = {\n label: string;\n value: string;\n selected: boolean;\n ref: string;\n count: number;\n onClick: () => void;\n};\n\ntype SearchType = {\n value?: string;\n placeholder: string;\n onChange?: () => void;\n onClear?: () => void;\n onFocus?: () => void;\n onBlur?: () => void;\n theme?: 'default' | 'coorpmanager';\n dataTestId?: string;\n};\n\nexport type FilterCheckboxAndSearchProps = {\n title: string;\n onClear: () => void;\n searchOptions: SearchType;\n options: FilterCheckboxAndSearchOptions[];\n};\n\nexport default propTypes;\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,MAAM,MAAM,yBAAyB;AAE5C,MAAMC,SAAS,GAAG;EAChBC,KAAK,EAAEH,SAAS,CAACI,MAAM;EACvBC,OAAO,EAAEL,SAAS,CAACM,IAAI;EACvBC,OAAO,EAAEP,SAAS,CAACQ,OAAO,CACxBR,SAAS,CAACS,KAAK,CAAC;IACdC,KAAK,EAAEV,SAAS,CAACI,MAAM;IACvBO,KAAK,EAAEX,SAAS,CAACI,MAAM;IACvBQ,QAAQ,EAAEZ,SAAS,CAACa,IAAI;IACxBC,GAAG,EAAEd,SAAS,CAACI,MAAM;IACrBW,KAAK,EAAEf,SAAS,CAACgB,MAAM;IACvBC,OAAO,EAAEjB,SAAS,CAACM;EACrB,CAAC,CACH,CAAC;EACDY,aAAa,EAAElB,SAAS,CAACS,KAAK,CAACR,MAAM,CAACC,SAAS;AACjD,CAAC;AA6BD,eAAeA,SAAS","ignoreList":[]}
1
+ {"version":3,"file":"props-types.js","names":["PropTypes","Search","propTypes","title","string","titleAriaLabel","onClear","func","options","arrayOf","shape","label","value","selected","bool","ref","count","number","onClick","searchOptions"],"sources":["../../../src/organism/filter-checkbox-and-search/props-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport Search from '../../atom/input-search';\n\nconst propTypes = {\n title: PropTypes.string,\n titleAriaLabel: PropTypes.string,\n onClear: PropTypes.func,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n selected: PropTypes.bool,\n ref: PropTypes.string,\n count: PropTypes.number,\n onClick: PropTypes.func\n })\n ),\n searchOptions: PropTypes.shape(Search.propTypes)\n};\n\nexport type FilterCheckboxAndSearchOptions = {\n label: string;\n value: string;\n selected: boolean;\n ref: string;\n count: number;\n onClick: () => void;\n};\n\ntype SearchType = {\n value?: string;\n placeholder: string;\n onChange?: () => void;\n onClear?: () => void;\n onFocus?: () => void;\n onBlur?: () => void;\n theme?: 'default' | 'coorpmanager';\n dataTestId?: string;\n};\n\nexport type FilterCheckboxAndSearchProps = {\n title: string;\n titleAriaLabel?: string;\n onClear: () => void;\n searchOptions: SearchType;\n options: FilterCheckboxAndSearchOptions[];\n};\n\nexport default propTypes;\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,MAAM,MAAM,yBAAyB;AAE5C,MAAMC,SAAS,GAAG;EAChBC,KAAK,EAAEH,SAAS,CAACI,MAAM;EACvBC,cAAc,EAAEL,SAAS,CAACI,MAAM;EAChCE,OAAO,EAAEN,SAAS,CAACO,IAAI;EACvBC,OAAO,EAAER,SAAS,CAACS,OAAO,CACxBT,SAAS,CAACU,KAAK,CAAC;IACdC,KAAK,EAAEX,SAAS,CAACI,MAAM;IACvBQ,KAAK,EAAEZ,SAAS,CAACI,MAAM;IACvBS,QAAQ,EAAEb,SAAS,CAACc,IAAI;IACxBC,GAAG,EAAEf,SAAS,CAACI,MAAM;IACrBY,KAAK,EAAEhB,SAAS,CAACiB,MAAM;IACvBC,OAAO,EAAElB,SAAS,CAACO;EACrB,CAAC,CACH,CAAC;EACDY,aAAa,EAAEnB,SAAS,CAACU,KAAK,CAACT,MAAM,CAACC,SAAS;AACjD,CAAC;AA8BD,eAAeA,SAAS","ignoreList":[]}
@@ -2,6 +2,7 @@
2
2
  @value cm_grey_500 from colors;
3
3
  @value cm_grey_100 from colors;
4
4
  @value cm_grey_400 from colors;
5
+ @value cm_grey_700 from colors;
5
6
 
6
7
  .container {
7
8
  display: flex;
@@ -46,6 +47,7 @@
46
47
  justify-content: space-between;
47
48
  align-items: center;
48
49
  height: 20px;
50
+ cursor: pointer;
49
51
  }
50
52
 
51
53
  .optionCount {
@@ -5,12 +5,15 @@ declare const FilterChip: {
5
5
  (props: FilterChipProps, context: WebContextValues): JSX.Element;
6
6
  propTypes: {
7
7
  title: import("prop-types").Requireable<string>;
8
+ titleAriaLabel: import("prop-types").Requireable<string>;
8
9
  onClear: import("prop-types").Requireable<(...args: any[]) => any>;
9
10
  options: import("prop-types").Requireable<(import("prop-types").InferProps<{
10
11
  label: import("prop-types").Requireable<string>;
11
12
  type: import("prop-types").Requireable<string>;
13
+ textColor: import("prop-types").Requireable<string>;
12
14
  selected: import("prop-types").Requireable<boolean>;
13
15
  icon: import("prop-types").Requireable<string>;
16
+ customIcon: import("prop-types").Requireable<string>;
14
17
  onClick: import("prop-types").Requireable<(...args: any[]) => any>;
15
18
  }> | null | undefined)[]>;
16
19
  };