@coorpacademy/components 11.36.5-alpha.3 → 11.36.6
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.
- package/es/atom/button-link/index.d.ts +2 -0
- package/es/atom/button-link/index.d.ts.map +1 -1
- package/es/atom/button-link/index.js +6 -5
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link/types.d.ts +3 -0
- package/es/atom/button-link/types.d.ts.map +1 -1
- package/es/atom/button-link/types.js +3 -1
- package/es/atom/button-link/types.js.map +1 -1
- package/es/atom/button-menu/index.d.ts +2 -0
- package/es/atom/button-menu/index.d.ts.map +1 -1
- package/es/atom/button-menu/index.js +9 -3
- package/es/atom/button-menu/index.js.map +1 -1
- package/es/atom/button-menu/style.css +22 -0
- package/es/atom/button-menu/types.d.ts +5 -0
- package/es/atom/button-menu/types.d.ts.map +1 -1
- package/es/atom/button-menu/types.js +4 -2
- package/es/atom/button-menu/types.js.map +1 -1
- package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/es/atom/checkbox-with-title/index.js +2 -2
- package/es/atom/checkbox-with-title/index.js.map +1 -1
- package/es/atom/radio-with-title/index.d.ts +2 -0
- package/es/atom/radio-with-title/index.d.ts.map +1 -1
- package/es/atom/radio-with-title/types.d.ts +2 -0
- package/es/atom/radio-with-title/types.d.ts.map +1 -1
- package/es/atom/tag/index.d.ts +1 -1
- package/es/atom/tag/index.d.ts.map +1 -1
- package/es/atom/tag/index.js +3 -14
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/title/index.d.ts +2 -0
- package/es/molecule/bullet-point-menu-button/index.d.ts +1 -0
- package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/es/molecule/bullet-point-menu-button/types.d.ts +1 -0
- package/es/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
- package/es/molecule/button-menu-action/index.d.ts +5 -0
- package/es/molecule/button-menu-action/index.d.ts.map +1 -1
- package/es/molecule/button-menu-action/index.js +5 -2
- package/es/molecule/button-menu-action/index.js.map +1 -1
- package/es/molecule/button-menu-action/types.d.ts +9 -3
- package/es/molecule/button-menu-action/types.d.ts.map +1 -1
- package/es/molecule/button-menu-action/types.js +2 -1
- package/es/molecule/button-menu-action/types.js.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +24 -0
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/discipline-scope/index.d.ts.map +1 -1
- package/es/molecule/discipline-scope/index.js +3 -2
- package/es/molecule/discipline-scope/index.js.map +1 -1
- package/es/molecule/expandible-actionable-table/index.d.ts +4 -0
- package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/types.d.ts +4 -0
- package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/index.d.ts +17 -7
- package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/index.js +2 -2
- package/es/molecule/multi-filter-panel/index.js.map +1 -1
- package/es/molecule/multi-filter-panel/prop-types.d.ts +17 -7
- package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
- package/es/molecule/title-radio-wrapper/index.d.ts +2 -0
- package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/types.d.ts +2 -0
- package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/es/organism/content-skill-modal/index.d.ts +39 -7
- package/es/organism/content-skill-modal/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/types.d.ts +39 -7
- package/es/organism/content-skill-modal/types.d.ts.map +1 -1
- package/es/organism/filter-checkbox-and-search/index.d.ts +19 -9
- package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
- package/es/organism/filter-checkbox-and-search/index.js +7 -7
- package/es/organism/filter-checkbox-and-search/index.js.map +1 -1
- package/es/organism/filter-checkbox-and-search/props-types.d.ts +20 -18
- package/es/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
- package/es/organism/filter-checkbox-and-search/props-types.js +2 -2
- package/es/organism/filter-checkbox-and-search/props-types.js.map +1 -1
- package/es/organism/header-with-actions/index.d.ts +3 -0
- package/es/organism/header-with-actions/index.d.ts.map +1 -1
- package/es/organism/header-with-actions/types.d.ts +3 -0
- package/es/organism/header-with-actions/types.d.ts.map +1 -1
- package/es/organism/icon-editor/index.d.ts +2 -0
- package/es/organism/icon-editor/index.d.ts.map +1 -1
- package/es/organism/icon-editor/types.d.ts +2 -0
- package/es/organism/icon-editor/types.d.ts.map +1 -1
- package/es/organism/list-items/index.d.ts +22 -0
- package/es/organism/mooc-header/index.d.ts +1 -0
- package/es/organism/mooc-header/index.d.ts.map +1 -1
- package/es/organism/mooc-header/index.js +7 -3
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/mooc-header/style.css +7 -0
- package/es/organism/rewards-form/index.d.ts +2 -0
- package/es/organism/select-opponents/index.d.ts +2 -0
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +2 -0
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/setup-header/index.d.ts +8 -0
- package/es/organism/title-and-input/index.d.ts +6 -0
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +6 -0
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +10 -0
- package/es/template/app-player/loading/index.d.ts +24 -0
- package/es/template/app-player/player/index.d.ts +48 -0
- package/es/template/app-player/player/slides/index.d.ts +24 -0
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +24 -0
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +24 -0
- package/es/template/app-review/index.d.ts +24 -0
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +24 -0
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +24 -0
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-create/index.d.ts +8 -0
- package/es/template/back-office/brand-create/index.d.ts.map +1 -1
- package/es/template/back-office/brand-list/index.d.ts +8 -0
- package/es/template/back-office/brand-list/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +106 -7
- package/es/template/back-office/dashboard-preview/index.d.ts +8 -0
- package/es/template/back-office/layout/index.d.ts +8 -0
- package/es/template/back-office/layout/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.d.ts +48 -0
- package/es/template/common/discipline/index.d.ts.map +1 -1
- package/es/template/common/discipline/index.js +3 -3
- package/es/template/common/discipline/index.js.map +1 -1
- package/es/template/common/search-page/index.d.ts +24 -0
- package/es/template/external-course/index.d.ts +24 -0
- package/lib/atom/button-link/index.d.ts +2 -0
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/index.js +6 -5
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link/types.d.ts +3 -0
- package/lib/atom/button-link/types.d.ts.map +1 -1
- package/lib/atom/button-link/types.js +3 -1
- package/lib/atom/button-link/types.js.map +1 -1
- package/lib/atom/button-menu/index.d.ts +2 -0
- package/lib/atom/button-menu/index.d.ts.map +1 -1
- package/lib/atom/button-menu/index.js +9 -3
- package/lib/atom/button-menu/index.js.map +1 -1
- package/lib/atom/button-menu/style.css +22 -0
- package/lib/atom/button-menu/types.d.ts +5 -0
- package/lib/atom/button-menu/types.d.ts.map +1 -1
- package/lib/atom/button-menu/types.js +4 -2
- package/lib/atom/button-menu/types.js.map +1 -1
- package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/lib/atom/checkbox-with-title/index.js +2 -2
- package/lib/atom/checkbox-with-title/index.js.map +1 -1
- package/lib/atom/radio-with-title/index.d.ts +2 -0
- package/lib/atom/radio-with-title/index.d.ts.map +1 -1
- package/lib/atom/radio-with-title/types.d.ts +2 -0
- package/lib/atom/radio-with-title/types.d.ts.map +1 -1
- package/lib/atom/tag/index.d.ts +1 -1
- package/lib/atom/tag/index.d.ts.map +1 -1
- package/lib/atom/tag/index.js +3 -14
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/title/index.d.ts +2 -0
- package/lib/molecule/bullet-point-menu-button/index.d.ts +1 -0
- package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/lib/molecule/bullet-point-menu-button/types.d.ts +1 -0
- package/lib/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
- package/lib/molecule/button-menu-action/index.d.ts +5 -0
- package/lib/molecule/button-menu-action/index.d.ts.map +1 -1
- package/lib/molecule/button-menu-action/index.js +5 -2
- package/lib/molecule/button-menu-action/index.js.map +1 -1
- package/lib/molecule/button-menu-action/types.d.ts +9 -3
- package/lib/molecule/button-menu-action/types.d.ts.map +1 -1
- package/lib/molecule/button-menu-action/types.js +2 -1
- package/lib/molecule/button-menu-action/types.js.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +24 -0
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/discipline-scope/index.d.ts.map +1 -1
- package/lib/molecule/discipline-scope/index.js +3 -2
- package/lib/molecule/discipline-scope/index.js.map +1 -1
- package/lib/molecule/expandible-actionable-table/index.d.ts +4 -0
- package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/types.d.ts +4 -0
- package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/index.d.ts +17 -7
- package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/index.js.map +1 -1
- package/lib/molecule/multi-filter-panel/prop-types.d.ts +17 -7
- package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts +2 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts +2 -0
- package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/index.d.ts +39 -7
- package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/types.d.ts +39 -7
- package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
- package/lib/organism/filter-checkbox-and-search/index.d.ts +19 -9
- package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
- package/lib/organism/filter-checkbox-and-search/index.js +7 -7
- package/lib/organism/filter-checkbox-and-search/index.js.map +1 -1
- package/lib/organism/filter-checkbox-and-search/props-types.d.ts +20 -18
- package/lib/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
- package/lib/organism/filter-checkbox-and-search/props-types.js +2 -2
- package/lib/organism/filter-checkbox-and-search/props-types.js.map +1 -1
- package/lib/organism/header-with-actions/index.d.ts +3 -0
- package/lib/organism/header-with-actions/index.d.ts.map +1 -1
- package/lib/organism/header-with-actions/types.d.ts +3 -0
- package/lib/organism/header-with-actions/types.d.ts.map +1 -1
- package/lib/organism/icon-editor/index.d.ts +2 -0
- package/lib/organism/icon-editor/index.d.ts.map +1 -1
- package/lib/organism/icon-editor/types.d.ts +2 -0
- package/lib/organism/icon-editor/types.d.ts.map +1 -1
- package/lib/organism/list-items/index.d.ts +22 -0
- package/lib/organism/mooc-header/index.d.ts +1 -0
- package/lib/organism/mooc-header/index.d.ts.map +1 -1
- package/lib/organism/mooc-header/index.js +7 -3
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/mooc-header/style.css +7 -0
- package/lib/organism/rewards-form/index.d.ts +2 -0
- package/lib/organism/select-opponents/index.d.ts +2 -0
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +2 -0
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/setup-header/index.d.ts +8 -0
- package/lib/organism/title-and-input/index.d.ts +6 -0
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +6 -0
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +10 -0
- package/lib/template/app-player/loading/index.d.ts +24 -0
- package/lib/template/app-player/player/index.d.ts +48 -0
- package/lib/template/app-player/player/slides/index.d.ts +24 -0
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +24 -0
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +24 -0
- package/lib/template/app-review/index.d.ts +24 -0
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +24 -0
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +24 -0
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-create/index.d.ts +8 -0
- package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-list/index.d.ts +8 -0
- package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +106 -7
- package/lib/template/back-office/dashboard-preview/index.d.ts +8 -0
- package/lib/template/back-office/layout/index.d.ts +8 -0
- package/lib/template/back-office/layout/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.d.ts +48 -0
- package/lib/template/common/discipline/index.d.ts.map +1 -1
- package/lib/template/common/discipline/index.js +3 -3
- package/lib/template/common/discipline/index.js.map +1 -1
- package/lib/template/common/search-page/index.d.ts +24 -0
- package/lib/template/external-course/index.d.ts +24 -0
- package/package.json +2 -2
|
@@ -44,6 +44,8 @@ declare const ContentSkillModal: {
|
|
|
44
44
|
customStyle: import("prop-types").Requireable<{
|
|
45
45
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
46
46
|
}>;
|
|
47
|
+
useTitle: import("prop-types").Requireable<boolean>;
|
|
48
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
47
49
|
}>>;
|
|
48
50
|
selectMultiple: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
49
51
|
title: import("prop-types").Requireable<string>;
|
|
@@ -196,6 +198,8 @@ declare const ContentSkillModal: {
|
|
|
196
198
|
customStyle: import("prop-types").Requireable<{
|
|
197
199
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
198
200
|
}>;
|
|
201
|
+
useTitle: import("prop-types").Requireable<boolean>;
|
|
202
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
199
203
|
}> | import("prop-types").InferProps<{
|
|
200
204
|
button: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
201
205
|
type: import("prop-types").Requireable<string>;
|
|
@@ -233,6 +237,8 @@ declare const ContentSkillModal: {
|
|
|
233
237
|
customStyle: import("prop-types").Requireable<{
|
|
234
238
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
235
239
|
}>;
|
|
240
|
+
useTitle: import("prop-types").Requireable<boolean>;
|
|
241
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
236
242
|
}>>>;
|
|
237
243
|
menu: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
238
244
|
buttons: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
@@ -259,9 +265,11 @@ declare const ContentSkillModal: {
|
|
|
259
265
|
customStyle: import("prop-types").Requireable<{
|
|
260
266
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
261
267
|
}>;
|
|
268
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
262
269
|
}> | null | undefined)[]>;
|
|
263
270
|
'data-name': import("prop-types").Requireable<string>;
|
|
264
271
|
'aria-label': import("prop-types").Requireable<string>;
|
|
272
|
+
enableScroll: import("prop-types").Requireable<boolean>;
|
|
265
273
|
}>>>;
|
|
266
274
|
menuWrapper: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
267
275
|
ariaLabel: import("prop-types").Requireable<string>;
|
|
@@ -272,6 +280,7 @@ declare const ContentSkillModal: {
|
|
|
272
280
|
type: import("prop-types").Requireable<string>;
|
|
273
281
|
primaryColor: import("prop-types").Requireable<string>;
|
|
274
282
|
closeOnClick: import("prop-types").Requireable<boolean>;
|
|
283
|
+
enableScroll: import("prop-types").Requireable<boolean>;
|
|
275
284
|
}> | null | undefined>>;
|
|
276
285
|
}>>;
|
|
277
286
|
}> | import("prop-types").InferProps<{
|
|
@@ -318,6 +327,7 @@ declare const ContentSkillModal: {
|
|
|
318
327
|
customStyle: import("prop-types").Requireable<{
|
|
319
328
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
320
329
|
}>;
|
|
330
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
321
331
|
}> | null | undefined)[]>;
|
|
322
332
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
323
333
|
menuButtonClassName: import("prop-types").Requireable<string>;
|
|
@@ -365,6 +375,8 @@ declare const ContentSkillModal: {
|
|
|
365
375
|
customStyle: import("prop-types").Requireable<{
|
|
366
376
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
367
377
|
}>;
|
|
378
|
+
useTitle: import("prop-types").Requireable<boolean>;
|
|
379
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
368
380
|
}> | import("prop-types").InferProps<{
|
|
369
381
|
componentType: import("prop-types").Requireable<string>;
|
|
370
382
|
'data-name': import("prop-types").Requireable<string>;
|
|
@@ -395,6 +407,7 @@ declare const ContentSkillModal: {
|
|
|
395
407
|
customStyle: import("prop-types").Requireable<{
|
|
396
408
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
397
409
|
}>;
|
|
410
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
398
411
|
}> | null | undefined)[]>;
|
|
399
412
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
400
413
|
menuButtonClassName: import("prop-types").Requireable<string>;
|
|
@@ -467,6 +480,8 @@ declare const ContentSkillModal: {
|
|
|
467
480
|
customStyle: import("prop-types").Requireable<{
|
|
468
481
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
469
482
|
}>;
|
|
483
|
+
useTitle: import("prop-types").Requireable<boolean>;
|
|
484
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
470
485
|
}>>;
|
|
471
486
|
required: import("prop-types").Requireable<boolean>;
|
|
472
487
|
}> | null | undefined>>;
|
|
@@ -533,6 +548,8 @@ declare const ContentSkillModal: {
|
|
|
533
548
|
customStyle: import("prop-types").Requireable<{
|
|
534
549
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
535
550
|
}>;
|
|
551
|
+
useTitle: import("prop-types").Requireable<boolean>;
|
|
552
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
536
553
|
}> | null | undefined)[]>;
|
|
537
554
|
buttonMenuAction: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
538
555
|
button: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
@@ -571,6 +588,8 @@ declare const ContentSkillModal: {
|
|
|
571
588
|
customStyle: import("prop-types").Requireable<{
|
|
572
589
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
573
590
|
}>;
|
|
591
|
+
useTitle: import("prop-types").Requireable<boolean>;
|
|
592
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
574
593
|
}>>>;
|
|
575
594
|
menu: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
576
595
|
buttons: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
@@ -597,9 +616,11 @@ declare const ContentSkillModal: {
|
|
|
597
616
|
customStyle: import("prop-types").Requireable<{
|
|
598
617
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
599
618
|
}>;
|
|
619
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
600
620
|
}> | null | undefined)[]>;
|
|
601
621
|
'data-name': import("prop-types").Requireable<string>;
|
|
602
622
|
'aria-label': import("prop-types").Requireable<string>;
|
|
623
|
+
enableScroll: import("prop-types").Requireable<boolean>;
|
|
603
624
|
}>>>;
|
|
604
625
|
menuWrapper: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
605
626
|
ariaLabel: import("prop-types").Requireable<string>;
|
|
@@ -610,6 +631,7 @@ declare const ContentSkillModal: {
|
|
|
610
631
|
type: import("prop-types").Requireable<string>;
|
|
611
632
|
primaryColor: import("prop-types").Requireable<string>;
|
|
612
633
|
closeOnClick: import("prop-types").Requireable<boolean>;
|
|
634
|
+
enableScroll: import("prop-types").Requireable<boolean>;
|
|
613
635
|
}>>;
|
|
614
636
|
}>>>;
|
|
615
637
|
filters: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
@@ -642,13 +664,23 @@ declare const ContentSkillModal: {
|
|
|
642
664
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
643
665
|
}> | null | undefined)[]>;
|
|
644
666
|
searchOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
667
|
+
action: import("prop-types").Requireable<string>;
|
|
668
|
+
method: import("prop-types").Requireable<string>;
|
|
669
|
+
onSubmit: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
670
|
+
onReset: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
671
|
+
onSearchFocus: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
672
|
+
onSearchBlur: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
673
|
+
search: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
674
|
+
value: import("prop-types").Requireable<string>;
|
|
675
|
+
placeholder: import("prop-types").Validator<string>;
|
|
676
|
+
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
677
|
+
onClear: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
678
|
+
onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
679
|
+
onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
680
|
+
theme: import("prop-types").Requireable<string>;
|
|
681
|
+
dataTestId: import("prop-types").Requireable<string>;
|
|
682
|
+
}>>;
|
|
683
|
+
'search-reset-aria-label': import("prop-types").Requireable<string>;
|
|
652
684
|
dataTestId: import("prop-types").Requireable<string>;
|
|
653
685
|
}>>;
|
|
654
686
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DvD,CAAC;AAQF,eAAe,iBAAiB,CAAC"}
|
|
@@ -41,6 +41,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
41
41
|
customStyle: PropTypes.Requireable<{
|
|
42
42
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
43
43
|
}>;
|
|
44
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
45
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
44
46
|
}>>;
|
|
45
47
|
selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
|
|
46
48
|
title: PropTypes.Requireable<string>;
|
|
@@ -193,6 +195,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
193
195
|
customStyle: PropTypes.Requireable<{
|
|
194
196
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
195
197
|
}>;
|
|
198
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
199
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
196
200
|
}> | PropTypes.InferProps<{
|
|
197
201
|
button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
198
202
|
type: PropTypes.Requireable<string>;
|
|
@@ -230,6 +234,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
230
234
|
customStyle: PropTypes.Requireable<{
|
|
231
235
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
232
236
|
}>;
|
|
237
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
238
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
233
239
|
}>>>;
|
|
234
240
|
menu: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
235
241
|
buttons: PropTypes.Validator<(PropTypes.InferProps<{
|
|
@@ -256,9 +262,11 @@ declare const ContentSkillModalPropTypes: {
|
|
|
256
262
|
customStyle: PropTypes.Requireable<{
|
|
257
263
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
258
264
|
}>;
|
|
265
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
259
266
|
}> | null | undefined)[]>;
|
|
260
267
|
'data-name': PropTypes.Requireable<string>;
|
|
261
268
|
'aria-label': PropTypes.Requireable<string>;
|
|
269
|
+
enableScroll: PropTypes.Requireable<boolean>;
|
|
262
270
|
}>>>;
|
|
263
271
|
menuWrapper: PropTypes.Requireable<PropTypes.InferProps<{
|
|
264
272
|
ariaLabel: PropTypes.Requireable<string>;
|
|
@@ -269,6 +277,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
269
277
|
type: PropTypes.Requireable<string>;
|
|
270
278
|
primaryColor: PropTypes.Requireable<string>;
|
|
271
279
|
closeOnClick: PropTypes.Requireable<boolean>;
|
|
280
|
+
enableScroll: PropTypes.Requireable<boolean>;
|
|
272
281
|
}> | null | undefined>>;
|
|
273
282
|
}>>;
|
|
274
283
|
}> | PropTypes.InferProps<{
|
|
@@ -315,6 +324,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
315
324
|
customStyle: PropTypes.Requireable<{
|
|
316
325
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
317
326
|
}>;
|
|
327
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
318
328
|
}> | null | undefined)[]>;
|
|
319
329
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
320
330
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -362,6 +372,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
362
372
|
customStyle: PropTypes.Requireable<{
|
|
363
373
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
364
374
|
}>;
|
|
375
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
376
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
365
377
|
}> | PropTypes.InferProps<{
|
|
366
378
|
componentType: PropTypes.Requireable<string>;
|
|
367
379
|
'data-name': PropTypes.Requireable<string>;
|
|
@@ -392,6 +404,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
392
404
|
customStyle: PropTypes.Requireable<{
|
|
393
405
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
394
406
|
}>;
|
|
407
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
395
408
|
}> | null | undefined)[]>;
|
|
396
409
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
397
410
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -464,6 +477,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
464
477
|
customStyle: PropTypes.Requireable<{
|
|
465
478
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
466
479
|
}>;
|
|
480
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
481
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
467
482
|
}>>;
|
|
468
483
|
required: PropTypes.Requireable<boolean>;
|
|
469
484
|
}> | null | undefined>>;
|
|
@@ -530,6 +545,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
530
545
|
customStyle: PropTypes.Requireable<{
|
|
531
546
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
532
547
|
}>;
|
|
548
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
549
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
533
550
|
}> | null | undefined)[]>;
|
|
534
551
|
buttonMenuAction: PropTypes.Requireable<PropTypes.InferProps<{
|
|
535
552
|
button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
@@ -568,6 +585,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
568
585
|
customStyle: PropTypes.Requireable<{
|
|
569
586
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
570
587
|
}>;
|
|
588
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
589
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
571
590
|
}>>>;
|
|
572
591
|
menu: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
573
592
|
buttons: PropTypes.Validator<(PropTypes.InferProps<{
|
|
@@ -594,9 +613,11 @@ declare const ContentSkillModalPropTypes: {
|
|
|
594
613
|
customStyle: PropTypes.Requireable<{
|
|
595
614
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
596
615
|
}>;
|
|
616
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
597
617
|
}> | null | undefined)[]>;
|
|
598
618
|
'data-name': PropTypes.Requireable<string>;
|
|
599
619
|
'aria-label': PropTypes.Requireable<string>;
|
|
620
|
+
enableScroll: PropTypes.Requireable<boolean>;
|
|
600
621
|
}>>>;
|
|
601
622
|
menuWrapper: PropTypes.Requireable<PropTypes.InferProps<{
|
|
602
623
|
ariaLabel: PropTypes.Requireable<string>;
|
|
@@ -607,6 +628,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
607
628
|
type: PropTypes.Requireable<string>;
|
|
608
629
|
primaryColor: PropTypes.Requireable<string>;
|
|
609
630
|
closeOnClick: PropTypes.Requireable<boolean>;
|
|
631
|
+
enableScroll: PropTypes.Requireable<boolean>;
|
|
610
632
|
}>>;
|
|
611
633
|
}>>>;
|
|
612
634
|
filters: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
@@ -639,13 +661,23 @@ declare const ContentSkillModalPropTypes: {
|
|
|
639
661
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
640
662
|
}> | null | undefined)[]>;
|
|
641
663
|
searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
664
|
+
action: PropTypes.Requireable<string>;
|
|
665
|
+
method: PropTypes.Requireable<string>;
|
|
666
|
+
onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
|
|
667
|
+
onReset: PropTypes.Requireable<(...args: any[]) => any>;
|
|
668
|
+
onSearchFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
669
|
+
onSearchBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
670
|
+
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
671
|
+
value: PropTypes.Requireable<string>;
|
|
672
|
+
placeholder: PropTypes.Validator<string>;
|
|
673
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
674
|
+
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
675
|
+
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
676
|
+
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
677
|
+
theme: PropTypes.Requireable<string>;
|
|
678
|
+
dataTestId: PropTypes.Requireable<string>;
|
|
679
|
+
}>>;
|
|
680
|
+
'search-reset-aria-label': PropTypes.Requireable<string>;
|
|
649
681
|
dataTestId: PropTypes.Requireable<string>;
|
|
650
682
|
}>>;
|
|
651
683
|
}>>;
|
|
@@ -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,E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MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;IACpD,OAAO,EAAE,qBAAqB,CAAC;IAC/B,KAAK,EAAE,UAAU,CAAC;CACnB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WebContextValues } from '../../atom/provider/web-context';
|
|
3
3
|
import { FilterCheckboxAndSearchProps } from './props-types';
|
|
4
|
-
declare const
|
|
4
|
+
declare const FilterCkeckboxAndSearch: {
|
|
5
5
|
(props: FilterCheckboxAndSearchProps, context: WebContextValues): JSX.Element;
|
|
6
6
|
propTypes: {
|
|
7
7
|
title: import("prop-types").Requireable<string>;
|
|
@@ -15,13 +15,23 @@ declare const FilterCheckboxAndSearch: {
|
|
|
15
15
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
16
16
|
}> | null | undefined)[]>;
|
|
17
17
|
searchOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
action: import("prop-types").Requireable<string>;
|
|
19
|
+
method: import("prop-types").Requireable<string>;
|
|
20
|
+
onSubmit: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
21
|
+
onReset: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
22
|
+
onSearchFocus: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
23
|
+
onSearchBlur: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
24
|
+
search: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
25
|
+
value: import("prop-types").Requireable<string>;
|
|
26
|
+
placeholder: import("prop-types").Validator<string>;
|
|
27
|
+
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
28
|
+
onClear: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
29
|
+
onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
30
|
+
onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
31
|
+
theme: import("prop-types").Requireable<string>;
|
|
32
|
+
dataTestId: import("prop-types").Requireable<string>;
|
|
33
|
+
}>>;
|
|
34
|
+
'search-reset-aria-label': import("prop-types").Requireable<string>;
|
|
25
35
|
dataTestId: import("prop-types").Requireable<string>;
|
|
26
36
|
}>>;
|
|
27
37
|
};
|
|
@@ -29,5 +39,5 @@ declare const FilterCheckboxAndSearch: {
|
|
|
29
39
|
translate: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
30
40
|
};
|
|
31
41
|
};
|
|
32
|
-
export default
|
|
42
|
+
export default FilterCkeckboxAndSearch;
|
|
33
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAIjE,OAAkB,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAiBtE,QAAA,MAAM,uBAAuB;YACpB,4BAA4B,WAC1B,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiG1B,CAAC;AAQF,eAAe,uBAAuB,CAAC"}
|
|
@@ -7,10 +7,10 @@ import React, { useCallback, useMemo, useState } from 'react';
|
|
|
7
7
|
import Title from '../../atom/title';
|
|
8
8
|
import Tag from '../../atom/tag';
|
|
9
9
|
import ButtonLink from '../../atom/button-link';
|
|
10
|
+
import SearchForm from '../../molecule/search-form';
|
|
10
11
|
import Provider, { GetTranslateFromContext } from '../../atom/provider';
|
|
11
12
|
import CheckboxWithTitle from '../../atom/checkbox-with-title';
|
|
12
13
|
import { COLORS } from '../../variables/colors';
|
|
13
|
-
import Search from '../../atom/input-search';
|
|
14
14
|
import style from './style.css';
|
|
15
15
|
import propTypes from './props-types';
|
|
16
16
|
const CLEAR_BUTTON_STYLE = {
|
|
@@ -30,7 +30,7 @@ const CHECKBOX_TITLE_STYLE = {
|
|
|
30
30
|
fontWeight: 'normal'
|
|
31
31
|
};
|
|
32
32
|
const INITIAL_VISIBLE_OPTIONS = 5;
|
|
33
|
-
const
|
|
33
|
+
const FilterCkeckboxAndSearch = (props, context) => {
|
|
34
34
|
const {
|
|
35
35
|
title,
|
|
36
36
|
searchOptions,
|
|
@@ -74,7 +74,7 @@ const FilterCheckboxAndSearch = (props, context) => {
|
|
|
74
74
|
customStyle: CLEAR_BUTTON_STYLE
|
|
75
75
|
})) : null), searchOptions ? /*#__PURE__*/React.createElement("div", {
|
|
76
76
|
className: style.search
|
|
77
|
-
}, /*#__PURE__*/React.createElement(
|
|
77
|
+
}, /*#__PURE__*/React.createElement(SearchForm, searchOptions)) : null, /*#__PURE__*/React.createElement("div", {
|
|
78
78
|
"data-testid": "filter-checkbox-and-search-options-container",
|
|
79
79
|
className: style.optionsContainer
|
|
80
80
|
}, _isEmpty(visibleOptions) ? /*#__PURE__*/React.createElement("p", {
|
|
@@ -99,7 +99,7 @@ const FilterCheckboxAndSearch = (props, context) => {
|
|
|
99
99
|
customStyle: CHECKBOX_TITLE_STYLE
|
|
100
100
|
}), /*#__PURE__*/React.createElement("p", {
|
|
101
101
|
className: style.optionCount
|
|
102
|
-
}, count)))),
|
|
102
|
+
}, count)))), options.length > INITIAL_VISIBLE_OPTIONS ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ButtonLink, {
|
|
103
103
|
label: showMore ? translate('Show less') : translate('Show more'),
|
|
104
104
|
type: "text",
|
|
105
105
|
icon: {
|
|
@@ -115,9 +115,9 @@ const FilterCheckboxAndSearch = (props, context) => {
|
|
|
115
115
|
"data-testid": "filter-checkbox-and-search-show-button"
|
|
116
116
|
})) : null);
|
|
117
117
|
};
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
FilterCkeckboxAndSearch.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
|
|
119
|
+
FilterCkeckboxAndSearch.contextTypes = {
|
|
120
120
|
translate: Provider.childContextTypes.translate
|
|
121
121
|
};
|
|
122
|
-
export default
|
|
122
|
+
export default FilterCkeckboxAndSearch;
|
|
123
123
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","useCallback","useMemo","useState","Title","Tag","ButtonLink","Provider","GetTranslateFromContext","CheckboxWithTitle","COLORS","
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","useCallback","useMemo","useState","Title","Tag","ButtonLink","SearchForm","Provider","GetTranslateFromContext","CheckboxWithTitle","COLORS","style","propTypes","CLEAR_BUTTON_STYLE","fontWeight","padding","SHOW_BUTTON_STYLE","fontSize","fontFamily","marginTop","CHECKBOX_TITLE_STYLE","marginRight","INITIAL_VISIBLE_OPTIONS","FilterCkeckboxAndSearch","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","length","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 SearchForm from '../../molecule/search-form';\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 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 marginTop: '16px'\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 FilterCkeckboxAndSearch = (\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 <SearchForm {...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 {options.length > INITIAL_VISIBLE_OPTIONS ? (\n <div>\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 </div>\n ) : null}\n </div>\n );\n};\n\nFilterCkeckboxAndSearch.propTypes = propTypes;\n\nFilterCkeckboxAndSearch.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default FilterCkeckboxAndSearch;\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,UAAU,MAAM,4BAA4B;AACnD,OAAOC,QAAQ,IAAGC,uBAAuB,QAAO,qBAAqB;AAErE,OAAOC,iBAAiB,MAAM,gCAAgC;AAC9D,SAAQC,MAAM,QAAO,wBAAwB;AAC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AA,CAAAC,GAAA,CAAAC,QAAA,oBAAGhE,SAAS;AAE7CW,uBAAuB,CAACsD,YAAY,GAAG;EACrC/C,SAAS,EAAEvB,QAAQ,CAACuE,iBAAiB,CAAChD;AACxC,CAAC;AAED,eAAeP,uBAAuB","ignoreList":[]}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
3
|
+
import SearchForm from '../../molecule/search-form';
|
|
2
4
|
declare const propTypes: {
|
|
3
5
|
title: PropTypes.Requireable<string>;
|
|
4
6
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -11,13 +13,23 @@ declare const propTypes: {
|
|
|
11
13
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
14
|
}> | null | undefined)[]>;
|
|
13
15
|
searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
action: PropTypes.Requireable<string>;
|
|
17
|
+
method: PropTypes.Requireable<string>;
|
|
18
|
+
onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
|
+
onReset: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
+
onSearchFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
+
onSearchBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
+
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
23
|
+
value: PropTypes.Requireable<string>;
|
|
24
|
+
placeholder: PropTypes.Validator<string>;
|
|
25
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
26
|
+
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
+
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
28
|
+
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
29
|
+
theme: PropTypes.Requireable<string>;
|
|
30
|
+
dataTestId: PropTypes.Requireable<string>;
|
|
31
|
+
}>>;
|
|
32
|
+
'search-reset-aria-label': PropTypes.Requireable<string>;
|
|
21
33
|
dataTestId: PropTypes.Requireable<string>;
|
|
22
34
|
}>>;
|
|
23
35
|
};
|
|
@@ -29,20 +41,10 @@ export declare type FilterCheckboxAndSearchOptions = {
|
|
|
29
41
|
count: number;
|
|
30
42
|
onClick: () => void;
|
|
31
43
|
};
|
|
32
|
-
declare type SearchType = {
|
|
33
|
-
value?: string;
|
|
34
|
-
placeholder: string;
|
|
35
|
-
onChange?: () => void;
|
|
36
|
-
onClear?: () => void;
|
|
37
|
-
onFocus?: () => void;
|
|
38
|
-
onBlur?: () => void;
|
|
39
|
-
theme?: 'default' | 'coorpmanager';
|
|
40
|
-
dataTestId?: string;
|
|
41
|
-
};
|
|
42
44
|
export declare type FilterCheckboxAndSearchProps = {
|
|
43
45
|
title: string;
|
|
44
46
|
onClear: () => void;
|
|
45
|
-
searchOptions:
|
|
47
|
+
searchOptions: React.ComponentProps<typeof SearchForm>;
|
|
46
48
|
options: FilterCheckboxAndSearchOptions[];
|
|
47
49
|
};
|
|
48
50
|
export default propTypes;
|
|
@@ -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;
|
|
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;AACnC,OAAO,UAAU,MAAM,4BAA4B,CAAC;AAEpD,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,oBAAY,4BAA4B,GAAG;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;IACvD,OAAO,EAAE,8BAA8B,EAAE,CAAC;CAC3C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import
|
|
2
|
+
import SearchForm from '../../molecule/search-form';
|
|
3
3
|
const propTypes = {
|
|
4
4
|
title: PropTypes.string,
|
|
5
5
|
onClear: PropTypes.func,
|
|
@@ -11,7 +11,7 @@ const propTypes = {
|
|
|
11
11
|
count: PropTypes.number,
|
|
12
12
|
onClick: PropTypes.func
|
|
13
13
|
})),
|
|
14
|
-
searchOptions: PropTypes.shape(
|
|
14
|
+
searchOptions: PropTypes.shape(SearchForm.propTypes)
|
|
15
15
|
};
|
|
16
16
|
export default propTypes;
|
|
17
17
|
//# sourceMappingURL=props-types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props-types.js","names":["PropTypes","
|
|
1
|
+
{"version":3,"file":"props-types.js","names":["PropTypes","SearchForm","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 SearchForm from '../../molecule/search-form';\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(SearchForm.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\nexport type FilterCheckboxAndSearchProps = {\n title: string;\n onClear: () => void;\n searchOptions: React.ComponentProps<typeof SearchForm>;\n options: FilterCheckboxAndSearchOptions[];\n};\n\nexport default propTypes;\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,UAAU,MAAM,4BAA4B;AAEnD,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,UAAU,CAACC,SAAS;AACrD,CAAC;AAkBD,eAAeA,SAAS","ignoreList":[]}
|
|
@@ -49,6 +49,7 @@ declare const HeaderWithActions: {
|
|
|
49
49
|
customStyle: import("prop-types").Requireable<{
|
|
50
50
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
51
51
|
}>;
|
|
52
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
52
53
|
}> | null | undefined)[]>;
|
|
53
54
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
54
55
|
menuButtonClassName: import("prop-types").Requireable<string>;
|
|
@@ -90,6 +91,8 @@ declare const HeaderWithActions: {
|
|
|
90
91
|
customStyle: import("prop-types").Requireable<{
|
|
91
92
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
92
93
|
}>;
|
|
94
|
+
useTitle: import("prop-types").Requireable<boolean>;
|
|
95
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
93
96
|
}> | null | undefined)[]>;
|
|
94
97
|
};
|
|
95
98
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/header-with-actions/index.tsx"],"names":[],"mappings":";AAQA,OAAmC,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAO3E,QAAA,MAAM,iBAAiB;YAAW,sBAAsB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/header-with-actions/index.tsx"],"names":[],"mappings":";AAQA,OAAmC,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAO3E,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCvD,CAAC;AAIF,eAAe,iBAAiB,CAAC"}
|
|
@@ -48,6 +48,7 @@ declare const headerWithActionsPropTypes: {
|
|
|
48
48
|
customStyle: PropTypes.Requireable<{
|
|
49
49
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
50
50
|
}>;
|
|
51
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
51
52
|
}> | null | undefined)[]>;
|
|
52
53
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
53
54
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -89,6 +90,8 @@ declare const headerWithActionsPropTypes: {
|
|
|
89
90
|
customStyle: PropTypes.Requireable<{
|
|
90
91
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
91
92
|
}>;
|
|
93
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
94
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
92
95
|
}> | null | undefined)[]>;
|
|
93
96
|
};
|
|
94
97
|
export default headerWithActionsPropTypes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/header-with-actions/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAuC,EACrC,0BAA0B,EAC3B,MAAM,+CAA+C,CAAC;AACvD,OAA4B,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AASlF,QAAA,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/header-with-actions/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAuC,EACrC,0BAA0B,EAC3B,MAAM,+CAA+C,CAAC;AACvD,OAA4B,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AASlF,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAc/B,CAAC;AAEF,eAAe,0BAA0B,CAAC;AAE1C,aAAK,QAAQ,GAAG;IACd,KAAK,EAAE,WAAW,GAAG,iBAAiB,GAAG,OAAO,GAAG,UAAU,CAAC;IAC9D,IAAI,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IACzC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,aAAK,eAAe,GAAG;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC;CACrC,CAAC;AAEF,aAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,YAAY,CAAC;IACzC,IAAI,EAAE,MAAM,CAA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