@coorpacademy/components 11.36.5-alpha.2 → 11.36.5-alpha.3

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 (35) hide show
  1. package/es/molecule/multi-filter-panel/index.d.ts +7 -17
  2. package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
  3. package/es/molecule/multi-filter-panel/prop-types.d.ts +7 -17
  4. package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  5. package/es/organism/content-skill-modal/index.d.ts +7 -17
  6. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  7. package/es/organism/content-skill-modal/types.d.ts +7 -17
  8. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  9. package/es/organism/filter-checkbox-and-search/index.d.ts +7 -17
  10. package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  11. package/es/organism/filter-checkbox-and-search/index.js +2 -2
  12. package/es/organism/filter-checkbox-and-search/index.js.map +1 -1
  13. package/es/organism/filter-checkbox-and-search/props-types.d.ts +18 -20
  14. package/es/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  15. package/es/organism/filter-checkbox-and-search/props-types.js +2 -2
  16. package/es/organism/filter-checkbox-and-search/props-types.js.map +1 -1
  17. package/es/template/back-office/brand-update/index.d.ts +7 -17
  18. package/lib/molecule/multi-filter-panel/index.d.ts +7 -17
  19. package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
  20. package/lib/molecule/multi-filter-panel/prop-types.d.ts +7 -17
  21. package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  22. package/lib/organism/content-skill-modal/index.d.ts +7 -17
  23. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  24. package/lib/organism/content-skill-modal/types.d.ts +7 -17
  25. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  26. package/lib/organism/filter-checkbox-and-search/index.d.ts +7 -17
  27. package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  28. package/lib/organism/filter-checkbox-and-search/index.js +2 -2
  29. package/lib/organism/filter-checkbox-and-search/index.js.map +1 -1
  30. package/lib/organism/filter-checkbox-and-search/props-types.d.ts +18 -20
  31. package/lib/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  32. package/lib/organism/filter-checkbox-and-search/props-types.js +2 -2
  33. package/lib/organism/filter-checkbox-and-search/props-types.js.map +1 -1
  34. package/lib/template/back-office/brand-update/index.d.ts +7 -17
  35. package/package.json +2 -2
@@ -33,23 +33,13 @@ declare const MultiFilterPanel: {
33
33
  onClick: import("prop-types").Requireable<(...args: any[]) => any>;
34
34
  }> | null | undefined)[]>;
35
35
  searchOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
36
- action: import("prop-types").Requireable<string>;
37
- method: import("prop-types").Requireable<string>;
38
- onSubmit: import("prop-types").Requireable<(...args: any[]) => any>;
39
- onReset: import("prop-types").Requireable<(...args: any[]) => any>;
40
- onSearchFocus: import("prop-types").Requireable<(...args: any[]) => any>;
41
- onSearchBlur: import("prop-types").Requireable<(...args: any[]) => any>;
42
- search: import("prop-types").Requireable<import("prop-types").InferProps<{
43
- value: import("prop-types").Requireable<string>;
44
- placeholder: import("prop-types").Validator<string>;
45
- onChange: import("prop-types").Requireable<(...args: any[]) => any>;
46
- onClear: import("prop-types").Requireable<(...args: any[]) => any>;
47
- onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
48
- onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
49
- theme: import("prop-types").Requireable<string>;
50
- dataTestId: import("prop-types").Requireable<string>;
51
- }>>;
52
- 'search-reset-aria-label': import("prop-types").Requireable<string>;
36
+ value: import("prop-types").Requireable<string>;
37
+ placeholder: import("prop-types").Validator<string>;
38
+ onChange: import("prop-types").Requireable<(...args: any[]) => any>;
39
+ onClear: import("prop-types").Requireable<(...args: any[]) => any>;
40
+ onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
41
+ onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
42
+ theme: import("prop-types").Requireable<string>;
53
43
  dataTestId: import("prop-types").Requireable<string>;
54
44
  }>>;
55
45
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAEjE,OAAkB,EAAC,qBAAqB,EAAqB,MAAM,cAAc,CAAC;AAqBlF,QAAA,MAAM,gBAAgB;YAAW,qBAAqB,WAAW,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDhF,CAAC;AAQF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAEjE,OAAkB,EAAC,qBAAqB,EAAqB,MAAM,cAAc,CAAC;AAqBlF,QAAA,MAAM,gBAAgB;YAAW,qBAAqB,WAAW,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDhF,CAAC;AAQF,eAAe,gBAAgB,CAAC"}
@@ -31,23 +31,13 @@ declare const propTypes: {
31
31
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
32
32
  }> | null | undefined)[]>;
33
33
  searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
34
- action: PropTypes.Requireable<string>;
35
- method: PropTypes.Requireable<string>;
36
- onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
37
- onReset: PropTypes.Requireable<(...args: any[]) => any>;
38
- onSearchFocus: PropTypes.Requireable<(...args: any[]) => any>;
39
- onSearchBlur: PropTypes.Requireable<(...args: any[]) => any>;
40
- search: PropTypes.Requireable<PropTypes.InferProps<{
41
- value: PropTypes.Requireable<string>;
42
- placeholder: PropTypes.Validator<string>;
43
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
44
- onClear: PropTypes.Requireable<(...args: any[]) => any>;
45
- onFocus: PropTypes.Requireable<(...args: any[]) => any>;
46
- onBlur: PropTypes.Requireable<(...args: any[]) => any>;
47
- theme: PropTypes.Requireable<string>;
48
- dataTestId: PropTypes.Requireable<string>;
49
- }>>;
50
- 'search-reset-aria-label': PropTypes.Requireable<string>;
34
+ value: PropTypes.Requireable<string>;
35
+ placeholder: PropTypes.Validator<string>;
36
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
37
+ onClear: PropTypes.Requireable<(...args: any[]) => any>;
38
+ onFocus: PropTypes.Requireable<(...args: any[]) => any>;
39
+ onBlur: PropTypes.Requireable<(...args: any[]) => any>;
40
+ theme: PropTypes.Requireable<string>;
51
41
  dataTestId: PropTypes.Requireable<string>;
52
42
  }>>;
53
43
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAA4B,EAAC,eAAe,EAAC,MAAM,uCAAuC,CAAC;AAC3F,OAAyC,EACvC,4BAA4B,EAC7B,MAAM,uDAAuD,CAAC;AAE/D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAed,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,4BAA4B,CAAC;CACvC,CAAC;AAEF,oBAAY,kBAAkB,GAAG,gBAAgB,GAAG,oBAAoB,CAAC;AAEzE,oBAAY,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAA4B,EAAC,eAAe,EAAC,MAAM,uCAAuC,CAAC;AAC3F,OAAyC,EACvC,4BAA4B,EAC7B,MAAM,uDAAuD,CAAC;AAE/D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAed,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,4BAA4B,CAAC;CACvC,CAAC;AAEF,oBAAY,kBAAkB,GAAG,gBAAgB,GAAG,oBAAoB,CAAC;AAEzE,oBAAY,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -642,23 +642,13 @@ declare const ContentSkillModal: {
642
642
  onClick: import("prop-types").Requireable<(...args: any[]) => any>;
643
643
  }> | null | undefined)[]>;
644
644
  searchOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
645
- action: import("prop-types").Requireable<string>;
646
- method: import("prop-types").Requireable<string>;
647
- onSubmit: import("prop-types").Requireable<(...args: any[]) => any>;
648
- onReset: import("prop-types").Requireable<(...args: any[]) => any>;
649
- onSearchFocus: import("prop-types").Requireable<(...args: any[]) => any>;
650
- onSearchBlur: import("prop-types").Requireable<(...args: any[]) => any>;
651
- search: import("prop-types").Requireable<import("prop-types").InferProps<{
652
- value: import("prop-types").Requireable<string>;
653
- placeholder: import("prop-types").Validator<string>;
654
- onChange: import("prop-types").Requireable<(...args: any[]) => any>;
655
- onClear: import("prop-types").Requireable<(...args: any[]) => any>;
656
- onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
657
- onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
658
- theme: import("prop-types").Requireable<string>;
659
- dataTestId: import("prop-types").Requireable<string>;
660
- }>>;
661
- 'search-reset-aria-label': import("prop-types").Requireable<string>;
645
+ value: import("prop-types").Requireable<string>;
646
+ placeholder: import("prop-types").Validator<string>;
647
+ onChange: import("prop-types").Requireable<(...args: any[]) => any>;
648
+ onClear: import("prop-types").Requireable<(...args: any[]) => any>;
649
+ onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
650
+ onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
651
+ theme: import("prop-types").Requireable<string>;
662
652
  dataTestId: import("prop-types").Requireable<string>;
663
653
  }>>;
664
654
  }>>;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DvD,CAAC;AAQF,eAAe,iBAAiB,CAAC"}
@@ -639,23 +639,13 @@ declare const ContentSkillModalPropTypes: {
639
639
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
640
640
  }> | null | undefined)[]>;
641
641
  searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
642
- action: PropTypes.Requireable<string>;
643
- method: PropTypes.Requireable<string>;
644
- onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
645
- onReset: PropTypes.Requireable<(...args: any[]) => any>;
646
- onSearchFocus: PropTypes.Requireable<(...args: any[]) => any>;
647
- onSearchBlur: PropTypes.Requireable<(...args: any[]) => any>;
648
- search: PropTypes.Requireable<PropTypes.InferProps<{
649
- value: PropTypes.Requireable<string>;
650
- placeholder: PropTypes.Validator<string>;
651
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
652
- onClear: PropTypes.Requireable<(...args: any[]) => any>;
653
- onFocus: PropTypes.Requireable<(...args: any[]) => any>;
654
- onBlur: PropTypes.Requireable<(...args: any[]) => any>;
655
- theme: PropTypes.Requireable<string>;
656
- dataTestId: PropTypes.Requireable<string>;
657
- }>>;
658
- 'search-reset-aria-label': PropTypes.Requireable<string>;
642
+ value: PropTypes.Requireable<string>;
643
+ placeholder: PropTypes.Validator<string>;
644
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
645
+ onClear: PropTypes.Requireable<(...args: any[]) => any>;
646
+ onFocus: PropTypes.Requireable<(...args: any[]) => any>;
647
+ onBlur: PropTypes.Requireable<(...args: any[]) => any>;
648
+ theme: PropTypes.Requireable<string>;
659
649
  dataTestId: PropTypes.Requireable<string>;
660
650
  }>>;
661
651
  }>>;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI/B,CAAC;AAEF,eAAe,0BAA0B,CAAC;AAE1C,aAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,E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;;;;;;;;;;;;;;;;;;;;;;;;;;CAI/B,CAAC;AAEF,eAAe,0BAA0B,CAAC;AAE1C,aAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,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"}
@@ -15,23 +15,13 @@ 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
- 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>;
18
+ value: import("prop-types").Requireable<string>;
19
+ placeholder: import("prop-types").Validator<string>;
20
+ onChange: import("prop-types").Requireable<(...args: any[]) => any>;
21
+ onClear: import("prop-types").Requireable<(...args: any[]) => any>;
22
+ onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
23
+ onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
24
+ theme: import("prop-types").Requireable<string>;
35
25
  dataTestId: import("prop-types").Requireable<string>;
36
26
  }>>;
37
27
  };
@@ -1 +1 @@
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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;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';
11
10
  import Provider, { GetTranslateFromContext } from '../../atom/provider';
12
11
  import CheckboxWithTitle from '../../atom/checkbox-with-title';
13
12
  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 = {
@@ -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(SearchForm, searchOptions)) : null, /*#__PURE__*/React.createElement("div", {
77
+ }, /*#__PURE__*/React.createElement(Search, 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", {
@@ -1 +1 @@
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","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 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 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 <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 {size(options) > 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\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,UAAU,MAAM,4BAA4B;AACnD,OAAOC,QAAQ,IAAGC,uBAAuB,QAAO,qBAAqB;AAErE,OAAOC,iBAAiB,MAAM,gCAAgC;AAC9D,SAAQC,MAAM,QAAO,wBAAwB;AAC7C,OAAOC,KAAK,MAAM,aAAa;AAC/B,OAAOC,SAAS,MAAsC,eAAe;AAErE,MAAMC,kBAAkB,GAAG;EAACC,UAAU,EAAE,QAAQ;EAAEC,OAAO,EAAE;AAAC,CAAC;AAC7D,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AED,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","marginTop","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 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 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 <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\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;EACpBC,SAAS,EAAE;AACb,CAAC;AACD,MAAMC,oBAAoB,GAAG;EAC3BC,WAAW,EAAE,MAAM;EACnBJ,QAAQ,EAAE,MAAM;EAChBC,UAAU,EAAE,QAAQ;EACpBJ,UAAU,EAAE;AACd,CAAC;AACD,MAAMQ,uBAAuB,GAAG,CAAC;AAEjC,MAAMC,uBAAuB,GAAGA,CAC9BC,KAAmC,EACnCC,OAAyB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;EAAqB,CACnC,CAAC,eACFrB,KAAA,CAAA2C,aAAA;IAAGC,SAAS,EAAEhC,KAAK,CAACwD;EAAY,GAAEP,KAAS,CACxC,CACN,CAEA,CAAC,EACLvB,KAAA,CAAKR,OAAO,CAAC,GAAGP,uBAAuB,gBACtCvB,KAAA,CAAA2C,aAAA,2BACE3C,KAAA,CAAA2C,aAAA,CAACrC,UAAU;IACT0C,KAAK,EAAEhB,QAAQ,GAAGD,SAAS,CAAC,WAAW,CAAC,GAAGA,SAAS,CAAC,WAAW,CAAE;IAClEmB,IAAI,EAAC,MAAM;IACXmB,IAAI,EAAE;MACJC,QAAQ,EAAE,OAAO;MACjBC,MAAM,EAAE;QACNL,IAAI,EAAElC,QAAQ,GAAG,YAAY,GAAG,cAAc;QAC9CmB,IAAI,EAAE,EAAE;QACRqB,KAAK,EAAE9D,MAAM,CAAC+D;MAChB;IACF,CAAE;IACFnB,WAAW,EAAErC,iBAAkB;IAC/BoC,OAAO,EAAEb,cAAe;IACxB,eAAY;EAAwC,CACrD,CACE,CAAC,GACJ,IACD,CAAC;AAEV,CAAC;AAEDhB,uBAAuB,CAACX,SAAS,GAAA6D,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG/D,SAAS;AAE7CW,uBAAuB,CAACqD,YAAY,GAAG;EACrC9C,SAAS,EAAExB,QAAQ,CAACuE,iBAAiB,CAAC/C;AACxC,CAAC;AAED,eAAeP,uBAAuB","ignoreList":[]}
@@ -1,6 +1,4 @@
1
- /// <reference types="react" />
2
1
  import PropTypes from 'prop-types';
3
- import SearchForm from '../../molecule/search-form';
4
2
  declare const propTypes: {
5
3
  title: PropTypes.Requireable<string>;
6
4
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
@@ -13,23 +11,13 @@ declare const propTypes: {
13
11
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
14
12
  }> | null | undefined)[]>;
15
13
  searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
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>;
14
+ value: PropTypes.Requireable<string>;
15
+ placeholder: PropTypes.Validator<string>;
16
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
17
+ onClear: PropTypes.Requireable<(...args: any[]) => any>;
18
+ onFocus: PropTypes.Requireable<(...args: any[]) => any>;
19
+ onBlur: PropTypes.Requireable<(...args: any[]) => any>;
20
+ theme: PropTypes.Requireable<string>;
33
21
  dataTestId: PropTypes.Requireable<string>;
34
22
  }>>;
35
23
  };
@@ -41,10 +29,20 @@ export declare type FilterCheckboxAndSearchOptions = {
41
29
  count: number;
42
30
  onClick: () => void;
43
31
  };
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
+ };
44
42
  export declare type FilterCheckboxAndSearchProps = {
45
43
  title: string;
46
44
  onClear: () => void;
47
- searchOptions: React.ComponentProps<typeof SearchForm>;
45
+ searchOptions: SearchType;
48
46
  options: FilterCheckboxAndSearchOptions[];
49
47
  };
50
48
  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;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
+ {"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,5 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
- import SearchForm from '../../molecule/search-form';
2
+ import Search from '../../atom/input-search';
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(SearchForm.propTypes)
14
+ searchOptions: PropTypes.shape(Search.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","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":[]}
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":[]}
@@ -3143,23 +3143,13 @@ declare namespace BrandUpdate {
3143
3143
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
3144
3144
  }> | null | undefined)[]>;
3145
3145
  searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
3146
- action: PropTypes.Requireable<string>;
3147
- method: PropTypes.Requireable<string>;
3148
- onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
3149
- onReset: PropTypes.Requireable<(...args: any[]) => any>;
3150
- onSearchFocus: PropTypes.Requireable<(...args: any[]) => any>;
3151
- onSearchBlur: PropTypes.Requireable<(...args: any[]) => any>;
3152
- search: PropTypes.Requireable<PropTypes.InferProps<{
3153
- value: PropTypes.Requireable<string>;
3154
- placeholder: PropTypes.Validator<string>;
3155
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
3156
- onClear: PropTypes.Requireable<(...args: any[]) => any>;
3157
- onFocus: PropTypes.Requireable<(...args: any[]) => any>;
3158
- onBlur: PropTypes.Requireable<(...args: any[]) => any>;
3159
- theme: PropTypes.Requireable<string>;
3160
- dataTestId: PropTypes.Requireable<string>;
3161
- }>>;
3162
- 'search-reset-aria-label': PropTypes.Requireable<string>;
3146
+ value: PropTypes.Requireable<string>;
3147
+ placeholder: PropTypes.Validator<string>;
3148
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
3149
+ onClear: PropTypes.Requireable<(...args: any[]) => any>;
3150
+ onFocus: PropTypes.Requireable<(...args: any[]) => any>;
3151
+ onBlur: PropTypes.Requireable<(...args: any[]) => any>;
3152
+ theme: PropTypes.Requireable<string>;
3163
3153
  dataTestId: PropTypes.Requireable<string>;
3164
3154
  }>>;
3165
3155
  }>>;
@@ -33,23 +33,13 @@ declare const MultiFilterPanel: {
33
33
  onClick: import("prop-types").Requireable<(...args: any[]) => any>;
34
34
  }> | null | undefined)[]>;
35
35
  searchOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
36
- action: import("prop-types").Requireable<string>;
37
- method: import("prop-types").Requireable<string>;
38
- onSubmit: import("prop-types").Requireable<(...args: any[]) => any>;
39
- onReset: import("prop-types").Requireable<(...args: any[]) => any>;
40
- onSearchFocus: import("prop-types").Requireable<(...args: any[]) => any>;
41
- onSearchBlur: import("prop-types").Requireable<(...args: any[]) => any>;
42
- search: import("prop-types").Requireable<import("prop-types").InferProps<{
43
- value: import("prop-types").Requireable<string>;
44
- placeholder: import("prop-types").Validator<string>;
45
- onChange: import("prop-types").Requireable<(...args: any[]) => any>;
46
- onClear: import("prop-types").Requireable<(...args: any[]) => any>;
47
- onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
48
- onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
49
- theme: import("prop-types").Requireable<string>;
50
- dataTestId: import("prop-types").Requireable<string>;
51
- }>>;
52
- 'search-reset-aria-label': import("prop-types").Requireable<string>;
36
+ value: import("prop-types").Requireable<string>;
37
+ placeholder: import("prop-types").Validator<string>;
38
+ onChange: import("prop-types").Requireable<(...args: any[]) => any>;
39
+ onClear: import("prop-types").Requireable<(...args: any[]) => any>;
40
+ onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
41
+ onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
42
+ theme: import("prop-types").Requireable<string>;
53
43
  dataTestId: import("prop-types").Requireable<string>;
54
44
  }>>;
55
45
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAEjE,OAAkB,EAAC,qBAAqB,EAAqB,MAAM,cAAc,CAAC;AAqBlF,QAAA,MAAM,gBAAgB;YAAW,qBAAqB,WAAW,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDhF,CAAC;AAQF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAEjE,OAAkB,EAAC,qBAAqB,EAAqB,MAAM,cAAc,CAAC;AAqBlF,QAAA,MAAM,gBAAgB;YAAW,qBAAqB,WAAW,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDhF,CAAC;AAQF,eAAe,gBAAgB,CAAC"}
@@ -31,23 +31,13 @@ declare const propTypes: {
31
31
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
32
32
  }> | null | undefined)[]>;
33
33
  searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
34
- action: PropTypes.Requireable<string>;
35
- method: PropTypes.Requireable<string>;
36
- onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
37
- onReset: PropTypes.Requireable<(...args: any[]) => any>;
38
- onSearchFocus: PropTypes.Requireable<(...args: any[]) => any>;
39
- onSearchBlur: PropTypes.Requireable<(...args: any[]) => any>;
40
- search: PropTypes.Requireable<PropTypes.InferProps<{
41
- value: PropTypes.Requireable<string>;
42
- placeholder: PropTypes.Validator<string>;
43
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
44
- onClear: PropTypes.Requireable<(...args: any[]) => any>;
45
- onFocus: PropTypes.Requireable<(...args: any[]) => any>;
46
- onBlur: PropTypes.Requireable<(...args: any[]) => any>;
47
- theme: PropTypes.Requireable<string>;
48
- dataTestId: PropTypes.Requireable<string>;
49
- }>>;
50
- 'search-reset-aria-label': PropTypes.Requireable<string>;
34
+ value: PropTypes.Requireable<string>;
35
+ placeholder: PropTypes.Validator<string>;
36
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
37
+ onClear: PropTypes.Requireable<(...args: any[]) => any>;
38
+ onFocus: PropTypes.Requireable<(...args: any[]) => any>;
39
+ onBlur: PropTypes.Requireable<(...args: any[]) => any>;
40
+ theme: PropTypes.Requireable<string>;
51
41
  dataTestId: PropTypes.Requireable<string>;
52
42
  }>>;
53
43
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAA4B,EAAC,eAAe,EAAC,MAAM,uCAAuC,CAAC;AAC3F,OAAyC,EACvC,4BAA4B,EAC7B,MAAM,uDAAuD,CAAC;AAE/D,QAAA,MAAM,SAAS;;;;;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e,SAAS,CAAC"}
@@ -642,23 +642,13 @@ declare const ContentSkillModal: {
642
642
  onClick: import("prop-types").Requireable<(...args: any[]) => any>;
643
643
  }> | null | undefined)[]>;
644
644
  searchOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
645
- action: import("prop-types").Requireable<string>;
646
- method: import("prop-types").Requireable<string>;
647
- onSubmit: import("prop-types").Requireable<(...args: any[]) => any>;
648
- onReset: import("prop-types").Requireable<(...args: any[]) => any>;
649
- onSearchFocus: import("prop-types").Requireable<(...args: any[]) => any>;
650
- onSearchBlur: import("prop-types").Requireable<(...args: any[]) => any>;
651
- search: import("prop-types").Requireable<import("prop-types").InferProps<{
652
- value: import("prop-types").Requireable<string>;
653
- placeholder: import("prop-types").Validator<string>;
654
- onChange: import("prop-types").Requireable<(...args: any[]) => any>;
655
- onClear: import("prop-types").Requireable<(...args: any[]) => any>;
656
- onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
657
- onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
658
- theme: import("prop-types").Requireable<string>;
659
- dataTestId: import("prop-types").Requireable<string>;
660
- }>>;
661
- 'search-reset-aria-label': import("prop-types").Requireable<string>;
645
+ value: import("prop-types").Requireable<string>;
646
+ placeholder: import("prop-types").Validator<string>;
647
+ onChange: import("prop-types").Requireable<(...args: any[]) => any>;
648
+ onClear: import("prop-types").Requireable<(...args: any[]) => any>;
649
+ onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
650
+ onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
651
+ theme: import("prop-types").Requireable<string>;
662
652
  dataTestId: import("prop-types").Requireable<string>;
663
653
  }>>;
664
654
  }>>;
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DvD,CAAC;AAQF,eAAe,iBAAiB,CAAC"}
@@ -639,23 +639,13 @@ declare const ContentSkillModalPropTypes: {
639
639
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
640
640
  }> | null | undefined)[]>;
641
641
  searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
642
- action: PropTypes.Requireable<string>;
643
- method: PropTypes.Requireable<string>;
644
- onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
645
- onReset: PropTypes.Requireable<(...args: any[]) => any>;
646
- onSearchFocus: PropTypes.Requireable<(...args: any[]) => any>;
647
- onSearchBlur: PropTypes.Requireable<(...args: any[]) => any>;
648
- search: PropTypes.Requireable<PropTypes.InferProps<{
649
- value: PropTypes.Requireable<string>;
650
- placeholder: PropTypes.Validator<string>;
651
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
652
- onClear: PropTypes.Requireable<(...args: any[]) => any>;
653
- onFocus: PropTypes.Requireable<(...args: any[]) => any>;
654
- onBlur: PropTypes.Requireable<(...args: any[]) => any>;
655
- theme: PropTypes.Requireable<string>;
656
- dataTestId: PropTypes.Requireable<string>;
657
- }>>;
658
- 'search-reset-aria-label': PropTypes.Requireable<string>;
642
+ value: PropTypes.Requireable<string>;
643
+ placeholder: PropTypes.Validator<string>;
644
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
645
+ onClear: PropTypes.Requireable<(...args: any[]) => any>;
646
+ onFocus: PropTypes.Requireable<(...args: any[]) => any>;
647
+ onBlur: PropTypes.Requireable<(...args: any[]) => any>;
648
+ theme: PropTypes.Requireable<string>;
659
649
  dataTestId: PropTypes.Requireable<string>;
660
650
  }>>;
661
651
  }>>;
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI/B,CAAC;AAEF,eAAe,0BAA0B,CAAC;AAE1C,aAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,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"}
@@ -15,23 +15,13 @@ 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
- 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>;
18
+ value: import("prop-types").Requireable<string>;
19
+ placeholder: import("prop-types").Validator<string>;
20
+ onChange: import("prop-types").Requireable<(...args: any[]) => any>;
21
+ onClear: import("prop-types").Requireable<(...args: any[]) => any>;
22
+ onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
23
+ onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
24
+ theme: import("prop-types").Requireable<string>;
35
25
  dataTestId: import("prop-types").Requireable<string>;
36
26
  }>>;
37
27
  };
@@ -1 +1 @@
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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;CAiG1B,CAAC;AAQF,eAAe,uBAAuB,CAAC"}
@@ -11,10 +11,10 @@ var _react = _interopRequireWildcard(require("react"));
11
11
  var _title = _interopRequireDefault(require("../../atom/title"));
12
12
  var _tag = _interopRequireDefault(require("../../atom/tag"));
13
13
  var _buttonLink = _interopRequireDefault(require("../../atom/button-link"));
14
- var _searchForm = _interopRequireDefault(require("../../molecule/search-form"));
15
14
  var _provider = _interopRequireWildcard(require("../../atom/provider"));
16
15
  var _checkboxWithTitle = _interopRequireDefault(require("../../atom/checkbox-with-title"));
17
16
  var _colors = require("../../variables/colors");
17
+ var _inputSearch = _interopRequireDefault(require("../../atom/input-search"));
18
18
  var _style = _interopRequireDefault(require("./style.css"));
19
19
  var _propsTypes = _interopRequireDefault(require("./props-types"));
20
20
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
@@ -81,7 +81,7 @@ const FilterCheckboxAndSearch = (props, context) => {
81
81
  customStyle: CLEAR_BUTTON_STYLE
82
82
  })) : null), searchOptions ? /*#__PURE__*/_react.default.createElement("div", {
83
83
  className: _style.default.search
84
- }, /*#__PURE__*/_react.default.createElement(_searchForm.default, searchOptions)) : null, /*#__PURE__*/_react.default.createElement("div", {
84
+ }, /*#__PURE__*/_react.default.createElement(_inputSearch.default, searchOptions)) : null, /*#__PURE__*/_react.default.createElement("div", {
85
85
  "data-testid": "filter-checkbox-and-search-options-container",
86
86
  className: _style.default.optionsContainer
87
87
  }, (0, _isEmpty2.default)(visibleOptions) ? /*#__PURE__*/_react.default.createElement("p", {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_title","_interopRequireDefault","_tag","_buttonLink","_searchForm","_provider","_checkboxWithTitle","_colors","_style","_propsTypes","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","CLEAR_BUTTON_STYLE","fontWeight","padding","SHOW_BUTTON_STYLE","fontSize","fontFamily","marginTop","CHECKBOX_TITLE_STYLE","marginRight","INITIAL_VISIBLE_OPTIONS","FilterCheckboxAndSearch","props","context","title","searchOptions","onClear","options","translate","GetTranslateFromContext","showMore","setShowMore","useState","selectedFiltersCount","_pipe2","_filter2","selected","_size2","hasSelectedFilters","handleShowMore","useCallback","visibleOptions","useMemo","slice","createElement","className","style","container","header","titleAndTagWrapper","label","_toString2","type","size","clearButtonContainer","onClick","customStyle","search","optionsContainer","_isEmpty2","emptySearchResult","map","value","count","index","key","optionRow","onChange","name","checked","optionCount","icon","position","faIcon","color","COLORS","cm_grey_500","propTypes","process","env","NODE_ENV","contextTypes","Provider","childContextTypes","_default","exports"],"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 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 <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 {size(options) > 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\nFilterCheckboxAndSearch.propTypes = propTypes;\n\nFilterCheckboxAndSearch.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default FilterCheckboxAndSearch;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,IAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,WAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,WAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,SAAA,GAAAP,uBAAA,CAAAC,OAAA;AAEA,IAAAO,kBAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,MAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,WAAA,GAAAR,sBAAA,CAAAF,OAAA;AAAsE,SAAAW,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAb,wBAAAa,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN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,CAACC,iBAAiB,CAACvD;AACxC,CAAC;AAAC,IAAAwD,QAAA,GAAAC,OAAA,CAAAxF,OAAA,GAEawB,uBAAuB","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_title","_interopRequireDefault","_tag","_buttonLink","_provider","_checkboxWithTitle","_colors","_inputSearch","_style","_propsTypes","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","CLEAR_BUTTON_STYLE","fontWeight","padding","SHOW_BUTTON_STYLE","fontSize","fontFamily","marginTop","CHECKBOX_TITLE_STYLE","marginRight","INITIAL_VISIBLE_OPTIONS","FilterCheckboxAndSearch","props","context","title","searchOptions","onClear","options","translate","GetTranslateFromContext","showMore","setShowMore","useState","selectedFiltersCount","_pipe2","_filter2","selected","_size2","hasSelectedFilters","handleShowMore","useCallback","visibleOptions","useMemo","slice","createElement","className","style","container","header","titleAndTagWrapper","label","_toString2","type","size","clearButtonContainer","onClick","customStyle","search","optionsContainer","_isEmpty2","emptySearchResult","map","value","count","index","key","optionRow","onChange","name","checked","optionCount","icon","position","faIcon","color","COLORS","cm_grey_500","propTypes","process","env","NODE_ENV","contextTypes","Provider","childContextTypes","_default","exports"],"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 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 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 <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\nFilterCheckboxAndSearch.propTypes = propTypes;\n\nFilterCheckboxAndSearch.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default FilterCheckboxAndSearch;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,IAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,WAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,SAAA,GAAAN,uBAAA,CAAAC,OAAA;AAEA,IAAAM,kBAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,MAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,WAAA,GAAAR,sBAAA,CAAAF,OAAA;AAAsE,SAAAW,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,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M,CAACC;MAChB;IACF,CAAE;IACFpB,WAAW,EAAE1C,iBAAkB;IAC/ByC,OAAO,EAAEhB,cAAe;IACxB,eAAY;EAAwC,CACrD,CACE,CAAC,GACJ,IACD,CAAC;AAEV,CAAC;AAEDlB,uBAAuB,CAACwD,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,mBAAS;AAE7CxD,uBAAuB,CAAC4D,YAAY,GAAG;EACrCrD,SAAS,EAAEsD,iBAAQ,CAACC,iBAAiB,CAACvD;AACxC,CAAC;AAAC,IAAAwD,QAAA,GAAAC,OAAA,CAAAxF,OAAA,GAEawB,uBAAuB","ignoreList":[]}
@@ -1,6 +1,4 @@
1
- /// <reference types="react" />
2
1
  import PropTypes from 'prop-types';
3
- import SearchForm from '../../molecule/search-form';
4
2
  declare const propTypes: {
5
3
  title: PropTypes.Requireable<string>;
6
4
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
@@ -13,23 +11,13 @@ declare const propTypes: {
13
11
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
14
12
  }> | null | undefined)[]>;
15
13
  searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
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>;
14
+ value: PropTypes.Requireable<string>;
15
+ placeholder: PropTypes.Validator<string>;
16
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
17
+ onClear: PropTypes.Requireable<(...args: any[]) => any>;
18
+ onFocus: PropTypes.Requireable<(...args: any[]) => any>;
19
+ onBlur: PropTypes.Requireable<(...args: any[]) => any>;
20
+ theme: PropTypes.Requireable<string>;
33
21
  dataTestId: PropTypes.Requireable<string>;
34
22
  }>>;
35
23
  };
@@ -41,10 +29,20 @@ export declare type FilterCheckboxAndSearchOptions = {
41
29
  count: number;
42
30
  onClick: () => void;
43
31
  };
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
+ };
44
42
  export declare type FilterCheckboxAndSearchProps = {
45
43
  title: string;
46
44
  onClear: () => void;
47
- searchOptions: React.ComponentProps<typeof SearchForm>;
45
+ searchOptions: SearchType;
48
46
  options: FilterCheckboxAndSearchOptions[];
49
47
  };
50
48
  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;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
+ {"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"}
@@ -3,7 +3,7 @@
3
3
  exports.__esModule = true;
4
4
  exports.default = void 0;
5
5
  var _propTypes = _interopRequireDefault(require("prop-types"));
6
- var _searchForm = _interopRequireDefault(require("../../molecule/search-form"));
6
+ var _inputSearch = _interopRequireDefault(require("../../atom/input-search"));
7
7
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
8
8
  const propTypes = {
9
9
  title: _propTypes.default.string,
@@ -16,7 +16,7 @@ const propTypes = {
16
16
  count: _propTypes.default.number,
17
17
  onClick: _propTypes.default.func
18
18
  })),
19
- searchOptions: _propTypes.default.shape(_searchForm.default.propTypes)
19
+ searchOptions: _propTypes.default.shape(_inputSearch.default.propTypes)
20
20
  };
21
21
  var _default = exports.default = propTypes;
22
22
  //# sourceMappingURL=props-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"props-types.js","names":["_propTypes","_interopRequireDefault","require","_searchForm","e","__esModule","default","propTypes","title","PropTypes","string","onClear","func","options","arrayOf","shape","label","value","selected","bool","ref","count","number","onClick","searchOptions","SearchForm","_default","exports"],"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,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAoD,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEpD,MAAMG,SAAS,GAAG;EAChBC,KAAK,EAAEC,kBAAS,CAACC,MAAM;EACvBC,OAAO,EAAEF,kBAAS,CAACG,IAAI;EACvBC,OAAO,EAAEJ,kBAAS,CAACK,OAAO,CACxBL,kBAAS,CAACM,KAAK,CAAC;IACdC,KAAK,EAAEP,kBAAS,CAACC,MAAM;IACvBO,KAAK,EAAER,kBAAS,CAACC,MAAM;IACvBQ,QAAQ,EAAET,kBAAS,CAACU,IAAI;IACxBC,GAAG,EAAEX,kBAAS,CAACC,MAAM;IACrBW,KAAK,EAAEZ,kBAAS,CAACa,MAAM;IACvBC,OAAO,EAAEd,kBAAS,CAACG;EACrB,CAAC,CACH,CAAC;EACDY,aAAa,EAAEf,kBAAS,CAACM,KAAK,CAACU,mBAAU,CAAClB,SAAS;AACrD,CAAC;AAAC,IAAAmB,QAAA,GAAAC,OAAA,CAAArB,OAAA,GAkBaC,SAAS","ignoreList":[]}
1
+ {"version":3,"file":"props-types.js","names":["_propTypes","_interopRequireDefault","require","_inputSearch","e","__esModule","default","propTypes","title","PropTypes","string","onClear","func","options","arrayOf","shape","label","value","selected","bool","ref","count","number","onClick","searchOptions","Search","_default","exports"],"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,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAF,sBAAA,CAAAC,OAAA;AAA6C,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE7C,MAAMG,SAAS,GAAG;EAChBC,KAAK,EAAEC,kBAAS,CAACC,MAAM;EACvBC,OAAO,EAAEF,kBAAS,CAACG,IAAI;EACvBC,OAAO,EAAEJ,kBAAS,CAACK,OAAO,CACxBL,kBAAS,CAACM,KAAK,CAAC;IACdC,KAAK,EAAEP,kBAAS,CAACC,MAAM;IACvBO,KAAK,EAAER,kBAAS,CAACC,MAAM;IACvBQ,QAAQ,EAAET,kBAAS,CAACU,IAAI;IACxBC,GAAG,EAAEX,kBAAS,CAACC,MAAM;IACrBW,KAAK,EAAEZ,kBAAS,CAACa,MAAM;IACvBC,OAAO,EAAEd,kBAAS,CAACG;EACrB,CAAC,CACH,CAAC;EACDY,aAAa,EAAEf,kBAAS,CAACM,KAAK,CAACU,oBAAM,CAAClB,SAAS;AACjD,CAAC;AAAC,IAAAmB,QAAA,GAAAC,OAAA,CAAArB,OAAA,GA6BaC,SAAS","ignoreList":[]}
@@ -3143,23 +3143,13 @@ declare namespace BrandUpdate {
3143
3143
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
3144
3144
  }> | null | undefined)[]>;
3145
3145
  searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
3146
- action: PropTypes.Requireable<string>;
3147
- method: PropTypes.Requireable<string>;
3148
- onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
3149
- onReset: PropTypes.Requireable<(...args: any[]) => any>;
3150
- onSearchFocus: PropTypes.Requireable<(...args: any[]) => any>;
3151
- onSearchBlur: PropTypes.Requireable<(...args: any[]) => any>;
3152
- search: PropTypes.Requireable<PropTypes.InferProps<{
3153
- value: PropTypes.Requireable<string>;
3154
- placeholder: PropTypes.Validator<string>;
3155
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
3156
- onClear: PropTypes.Requireable<(...args: any[]) => any>;
3157
- onFocus: PropTypes.Requireable<(...args: any[]) => any>;
3158
- onBlur: PropTypes.Requireable<(...args: any[]) => any>;
3159
- theme: PropTypes.Requireable<string>;
3160
- dataTestId: PropTypes.Requireable<string>;
3161
- }>>;
3162
- 'search-reset-aria-label': PropTypes.Requireable<string>;
3146
+ value: PropTypes.Requireable<string>;
3147
+ placeholder: PropTypes.Validator<string>;
3148
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
3149
+ onClear: PropTypes.Requireable<(...args: any[]) => any>;
3150
+ onFocus: PropTypes.Requireable<(...args: any[]) => any>;
3151
+ onBlur: PropTypes.Requireable<(...args: any[]) => any>;
3152
+ theme: PropTypes.Requireable<string>;
3163
3153
  dataTestId: PropTypes.Requireable<string>;
3164
3154
  }>>;
3165
3155
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "11.36.5-alpha.2+0b7059862",
3
+ "version": "11.36.5-alpha.3+447905b90",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -165,5 +165,5 @@
165
165
  "last 2 versions",
166
166
  "IE 11"
167
167
  ],
168
- "gitHead": "0b70598627932bbe3c4204d147dd478610ff8041"
168
+ "gitHead": "447905b90f480c533e18761a45cc657d5e0da0bb"
169
169
  }