@coorpacademy/components 11.36.5-alpha.3 → 11.36.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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/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/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/search-page/index.d.ts +24 -0
- package/lib/template/external-course/index.d.ts +24 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_map","_reactFontawesome","_buttonLink","_buttonMenu","_types","_style","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","ButtonMenuAction","props","button","menu","menuWrapper","type","primaryColor","containerCustom","closeOnClick","onClick","_noop2","visible","setVisible","useState","containerRef","useRef","toggleVisibility","useCallback","prevState","useEffect","handleMouseDown","event","current","contains","target","document","addEventListener","removeEventListener","menuWithClose","buttons","map","btn","_menu","createElement","className","classnames","style","ariaLabel","customStyle","container","ref","currentOption","color","undefined","label","FontAwesomeIcon","icon","caret","propTypes","process","env","NODE_ENV","_default","exports"],"sources":["../../../src/molecule/button-menu-action/index.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useState, useRef} from 'react';\nimport classnames from 'classnames';\nimport {noop} from 'lodash/fp';\nimport map from 'lodash/fp/map';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonMenu from '../../atom/button-menu';\nimport propTypes, {ButtonMenuActionProps} from './types';\nimport style from './style.css';\n\nconst ButtonMenuAction = (props: ButtonMenuActionProps) => {\n const {\n button,\n menu,\n menuWrapper,\n type = 'button',\n primaryColor,\n containerCustom,\n closeOnClick = false\n } = props;\n const {onClick = noop} = button;\n const [visible, setVisible] = useState(false);\n const containerRef = useRef<HTMLDivElement>(null);\n\n const toggleVisibility = useCallback(() => {\n onClick();\n setVisible(prevState => !prevState);\n }, [onClick]);\n\n useEffect(() => {\n const handleMouseDown = (event: MouseEvent) => {\n if (visible && containerRef.current && !containerRef.current.contains(event.target as Node)) {\n setVisible(false);\n }\n };\n\n document.addEventListener('mousedown', handleMouseDown);\n return () => {\n document.removeEventListener('mousedown', handleMouseDown);\n };\n }, [visible, containerRef]);\n\n const menuWithClose = closeOnClick\n ? {\n ...menu,\n buttons: map(\n btn => ({\n ...btn,\n onClick: () => setVisible(false)\n }),\n menu.buttons\n )\n }\n : menu;\n\n const _menu = (\n <div\n className={classnames(style.menuWrapper, visible && style.visible)}\n data-name=\"menu-wrapper\"\n aria-label={menuWrapper?.ariaLabel}\n style={menuWrapper?.customStyle}\n >\n <ButtonMenu {...menuWithClose} />\n </div>\n );\n\n return (\n <div\n className={style.container}\n data-name=\"button-menu-action-wrapper\"\n style={containerCustom}\n ref={containerRef}\n >\n {type === 'link' ? (\n <div\n className={style.currentOption}\n data-name={button['data-name']}\n onClick={toggleVisibility}\n aria-expanded={visible}\n aria-haspopup=\"true\"\n >\n <span style={{color: visible ? primaryColor : undefined}}>{button.label}</span>\n <FontAwesomeIcon\n icon={visible ? 'chevron-up' : 'chevron-down'}\n className={style.caret}\n style={{color: visible ? primaryColor : undefined}}\n aria-label={button['aria-label']}\n />\n </div>\n ) : (\n <ButtonLink {...button} onClick={toggleVisibility} />\n )}\n {_menu}\n </div>\n );\n};\n\nButtonMenuAction.propTypes = propTypes;\n\nexport default ButtonMenuAction;\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,IAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,iBAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,WAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,MAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,MAAA,GAAAN,sBAAA,CAAAF,OAAA;AAAgC,SAAAS,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,SAAAX,wBAAAW,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,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,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","_interopRequireDefault","_map","_reactFontawesome","_buttonLink","_buttonMenu","_types","_style","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","ButtonMenuAction","props","button","menu","menuWrapper","type","primaryColor","containerCustom","closeOnClick","enableScroll","onClick","_noop2","visible","setVisible","useState","containerRef","useRef","toggleVisibility","useCallback","prevState","useEffect","handleMouseDown","event","current","contains","target","document","addEventListener","removeEventListener","menuWithClose","buttons","map","btn","_menu","createElement","className","classnames","style","ariaLabel","customStyle","container","ref","currentOption","color","undefined","label","FontAwesomeIcon","icon","caret","propTypes","process","env","NODE_ENV","_default","exports"],"sources":["../../../src/molecule/button-menu-action/index.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useState, useRef} from 'react';\nimport classnames from 'classnames';\nimport {noop} from 'lodash/fp';\nimport map from 'lodash/fp/map';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonMenu from '../../atom/button-menu';\nimport propTypes, {ButtonMenuActionProps} from './types';\nimport style from './style.css';\n\nconst ButtonMenuAction = (props: ButtonMenuActionProps) => {\n const {\n button,\n menu,\n menuWrapper,\n type = 'button',\n primaryColor,\n containerCustom,\n closeOnClick = false,\n enableScroll = false\n } = props;\n const {onClick = noop} = button;\n const [visible, setVisible] = useState(false);\n const containerRef = useRef<HTMLDivElement>(null);\n\n const toggleVisibility = useCallback(() => {\n onClick();\n setVisible(prevState => !prevState);\n }, [onClick]);\n\n useEffect(() => {\n const handleMouseDown = (event: MouseEvent) => {\n if (visible && containerRef.current && !containerRef.current.contains(event.target as Node)) {\n setVisible(false);\n }\n };\n\n document.addEventListener('mousedown', handleMouseDown);\n return () => {\n document.removeEventListener('mousedown', handleMouseDown);\n };\n }, [visible, containerRef]);\n\n const menuWithClose = closeOnClick\n ? {\n ...menu,\n buttons: map(\n btn => ({\n ...btn,\n onClick: () => setVisible(false)\n }),\n menu.buttons\n )\n }\n : menu;\n\n const _menu = (\n <div\n className={classnames(style.menuWrapper, visible && style.visible)}\n data-name=\"menu-wrapper\"\n aria-label={menuWrapper?.ariaLabel}\n style={menuWrapper?.customStyle}\n >\n <ButtonMenu {...menuWithClose} enableScroll={enableScroll} />\n </div>\n );\n\n return (\n <div\n className={style.container}\n data-name=\"button-menu-action-wrapper\"\n style={containerCustom}\n ref={containerRef}\n >\n {type === 'link' ? (\n <div\n className={style.currentOption}\n data-name={button['data-name']}\n onClick={toggleVisibility}\n aria-expanded={visible}\n aria-haspopup=\"true\"\n >\n <span style={{color: visible ? primaryColor : undefined}}>{button.label}</span>\n <FontAwesomeIcon\n icon={visible ? 'chevron-up' : 'chevron-down'}\n className={style.caret}\n style={{color: visible ? primaryColor : undefined}}\n aria-label={button['aria-label']}\n />\n </div>\n ) : (\n <ButtonLink {...button} onClick={toggleVisibility} />\n )}\n {_menu}\n </div>\n );\n};\n\nButtonMenuAction.propTypes = propTypes;\n\nexport default ButtonMenuAction;\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,IAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,iBAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,WAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,MAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,MAAA,GAAAN,sBAAA,CAAAF,OAAA;AAAgC,SAAAS,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,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CAACjE,iBAAA,CAAA6E,eAAe;IACdC,IAAI,EAAEnC,OAAO,GAAG,YAAY,GAAG,cAAe;IAC9CuB,SAAS,EAAEE,cAAK,CAACW,KAAM;IACvBX,KAAK,EAAE;MAACM,KAAK,EAAE/B,OAAO,GAAGN,YAAY,GAAGsC;IAAS,CAAE;IACnD,cAAY1C,MAAM,CAAC,YAAY;EAAE,CAClC,CACE,CAAC,gBAENvC,MAAA,CAAAiB,OAAA,CAAAsD,aAAA,CAAChE,WAAA,CAAAU,OAAU,EAAAc,QAAA,KAAKQ,MAAM;IAAEQ,OAAO,EAAEO;EAAiB,EAAE,CACrD,EACAgB,KACE,CAAC;AAEV,CAAC;AAEDjC,gBAAgB,CAACiD,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,cAAS;AAAC,IAAAI,QAAA,GAAAC,OAAA,CAAA1E,OAAA,GAExBoB,gBAAgB","ignoreList":[]}
|
|
@@ -38,6 +38,8 @@ declare const ButtonMenuActionPropTypes: {
|
|
|
38
38
|
customStyle: PropTypes.Requireable<{
|
|
39
39
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
40
40
|
}>;
|
|
41
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
42
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
41
43
|
}>>>;
|
|
42
44
|
menu: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
43
45
|
buttons: PropTypes.Validator<(PropTypes.InferProps<{
|
|
@@ -64,9 +66,11 @@ declare const ButtonMenuActionPropTypes: {
|
|
|
64
66
|
customStyle: PropTypes.Requireable<{
|
|
65
67
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
66
68
|
}>;
|
|
69
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
67
70
|
}> | null | undefined)[]>;
|
|
68
71
|
'data-name': PropTypes.Requireable<string>;
|
|
69
72
|
'aria-label': PropTypes.Requireable<string>;
|
|
73
|
+
enableScroll: PropTypes.Requireable<boolean>;
|
|
70
74
|
}>>>;
|
|
71
75
|
menuWrapper: PropTypes.Requireable<PropTypes.InferProps<{
|
|
72
76
|
ariaLabel: PropTypes.Requireable<string>;
|
|
@@ -77,19 +81,21 @@ declare const ButtonMenuActionPropTypes: {
|
|
|
77
81
|
type: PropTypes.Requireable<string>;
|
|
78
82
|
primaryColor: PropTypes.Requireable<string>;
|
|
79
83
|
closeOnClick: PropTypes.Requireable<boolean>;
|
|
84
|
+
enableScroll: PropTypes.Requireable<boolean>;
|
|
80
85
|
};
|
|
81
86
|
export default ButtonMenuActionPropTypes;
|
|
82
87
|
export declare type ButtonMenuActionProps = {
|
|
83
88
|
button: ButtonLinkProps;
|
|
84
89
|
menu: ButtonMenuProps;
|
|
85
|
-
type?: 'button' | 'link';
|
|
86
90
|
menuWrapper?: {
|
|
87
91
|
ariaLabel?: string;
|
|
88
|
-
customStyle?: Record<string,
|
|
92
|
+
customStyle?: Record<string, string | number>;
|
|
89
93
|
};
|
|
90
|
-
|
|
94
|
+
type?: 'button' | 'link';
|
|
91
95
|
primaryColor?: string;
|
|
96
|
+
containerCustom?: Record<string, string | number>;
|
|
92
97
|
closeOnClick?: boolean;
|
|
98
|
+
enableScroll?: boolean;
|
|
93
99
|
};
|
|
94
100
|
export declare type ButtonMenuActionPropsFixture = {
|
|
95
101
|
props: ButtonMenuActionProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/button-menu-action/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAA4B,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAClF,OAA4B,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAElF,QAAA,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/button-menu-action/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAA4B,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAClF,OAA4B,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAElF,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa9B,CAAC;AACF,eAAe,yBAAyB,CAAC;AAEzC,oBAAY,qBAAqB,GAAG;IAClC,MAAM,EAAE,eAAe,CAAC;IACxB,IAAI,EAAE,eAAe,CAAC;IACtB,WAAW,CAAC,EAAE;QACZ,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;KAC/C,CAAC;IACF,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IAClD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IAAC,KAAK,EAAE,qBAAqB,CAAA;CAAC,CAAC"}
|
|
@@ -15,7 +15,8 @@ const ButtonMenuActionPropTypes = {
|
|
|
15
15
|
}),
|
|
16
16
|
type: _propTypes.default.oneOf(['button', 'link']),
|
|
17
17
|
primaryColor: _propTypes.default.string,
|
|
18
|
-
closeOnClick: _propTypes.default.bool
|
|
18
|
+
closeOnClick: _propTypes.default.bool,
|
|
19
|
+
enableScroll: _propTypes.default.bool
|
|
19
20
|
};
|
|
20
21
|
var _default = exports.default = ButtonMenuActionPropTypes;
|
|
21
22
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["_propTypes","_interopRequireDefault","require","_types","_types2","e","__esModule","default","ButtonMenuActionPropTypes","button","PropTypes","shape","ButtonLinkPropTypes","isRequired","menu","ButtonMenuPropTypes","menuWrapper","ariaLabel","string","customStyle","objectOf","oneOfType","number","object","type","oneOf","primaryColor","closeOnClick","bool","_default","exports"],"sources":["../../../src/molecule/button-menu-action/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ButtonLinkPropTypes, {ButtonLinkProps} from '../../atom/button-link/types';\nimport ButtonMenuPropTypes, {ButtonMenuProps} from '../../atom/button-menu/types';\n\nconst ButtonMenuActionPropTypes = {\n button: PropTypes.shape(ButtonLinkPropTypes).isRequired,\n menu: PropTypes.shape(ButtonMenuPropTypes).isRequired,\n menuWrapper: PropTypes.shape({\n ariaLabel: PropTypes.string,\n customStyle: PropTypes.objectOf(\n PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object])\n )\n }),\n type: PropTypes.oneOf(['button', 'link']),\n primaryColor: PropTypes.string,\n closeOnClick: PropTypes.bool\n};\nexport default ButtonMenuActionPropTypes;\n\nexport type ButtonMenuActionProps = {\n button: ButtonLinkProps;\n menu: ButtonMenuProps;\n
|
|
1
|
+
{"version":3,"file":"types.js","names":["_propTypes","_interopRequireDefault","require","_types","_types2","e","__esModule","default","ButtonMenuActionPropTypes","button","PropTypes","shape","ButtonLinkPropTypes","isRequired","menu","ButtonMenuPropTypes","menuWrapper","ariaLabel","string","customStyle","objectOf","oneOfType","number","object","type","oneOf","primaryColor","closeOnClick","bool","enableScroll","_default","exports"],"sources":["../../../src/molecule/button-menu-action/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ButtonLinkPropTypes, {ButtonLinkProps} from '../../atom/button-link/types';\nimport ButtonMenuPropTypes, {ButtonMenuProps} from '../../atom/button-menu/types';\n\nconst ButtonMenuActionPropTypes = {\n button: PropTypes.shape(ButtonLinkPropTypes).isRequired,\n menu: PropTypes.shape(ButtonMenuPropTypes).isRequired,\n menuWrapper: PropTypes.shape({\n ariaLabel: PropTypes.string,\n customStyle: PropTypes.objectOf(\n PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object])\n )\n }),\n type: PropTypes.oneOf(['button', 'link']),\n primaryColor: PropTypes.string,\n closeOnClick: PropTypes.bool,\n enableScroll: PropTypes.bool\n};\nexport default ButtonMenuActionPropTypes;\n\nexport type ButtonMenuActionProps = {\n button: ButtonLinkProps;\n menu: ButtonMenuProps;\n menuWrapper?: {\n ariaLabel?: string;\n customStyle?: Record<string, string | number>;\n };\n type?: 'button' | 'link';\n primaryColor?: string;\n containerCustom?: Record<string, string | number>;\n closeOnClick?: boolean;\n enableScroll?: boolean;\n};\n\nexport type ButtonMenuActionPropsFixture = {props: ButtonMenuActionProps};\n"],"mappings":";;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AAAkF,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElF,MAAMG,yBAAyB,GAAG;EAChCC,MAAM,EAAEC,kBAAS,CAACC,KAAK,CAACC,cAAmB,CAAC,CAACC,UAAU;EACvDC,IAAI,EAAEJ,kBAAS,CAACC,KAAK,CAACI,eAAmB,CAAC,CAACF,UAAU;EACrDG,WAAW,EAAEN,kBAAS,CAACC,KAAK,CAAC;IAC3BM,SAAS,EAAEP,kBAAS,CAACQ,MAAM;IAC3BC,WAAW,EAAET,kBAAS,CAACU,QAAQ,CAC7BV,kBAAS,CAACW,SAAS,CAAC,CAACX,kBAAS,CAACQ,MAAM,EAAER,kBAAS,CAACY,MAAM,EAAEZ,kBAAS,CAACa,MAAM,CAAC,CAC5E;EACF,CAAC,CAAC;EACFC,IAAI,EAAEd,kBAAS,CAACe,KAAK,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;EACzCC,YAAY,EAAEhB,kBAAS,CAACQ,MAAM;EAC9BS,YAAY,EAAEjB,kBAAS,CAACkB,IAAI;EAC5BC,YAAY,EAAEnB,kBAAS,CAACkB;AAC1B,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,CAAAxB,OAAA,GACaC,yBAAyB","ignoreList":[]}
|
|
@@ -72,6 +72,8 @@ declare const propTypes: {
|
|
|
72
72
|
customStyle: PropTypes.Requireable<{
|
|
73
73
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
74
74
|
}>;
|
|
75
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
76
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
75
77
|
}>>;
|
|
76
78
|
required: PropTypes.Requireable<boolean>;
|
|
77
79
|
}>>;
|
|
@@ -197,6 +199,8 @@ declare const propTypes: {
|
|
|
197
199
|
customStyle: PropTypes.Requireable<{
|
|
198
200
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
199
201
|
}>;
|
|
202
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
203
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
200
204
|
}>>;
|
|
201
205
|
selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
|
|
202
206
|
title: PropTypes.Requireable<string>;
|
|
@@ -349,6 +353,8 @@ declare const propTypes: {
|
|
|
349
353
|
customStyle: PropTypes.Requireable<{
|
|
350
354
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
351
355
|
}>;
|
|
356
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
357
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
352
358
|
}> | PropTypes.InferProps<{
|
|
353
359
|
button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
354
360
|
type: PropTypes.Requireable<string>;
|
|
@@ -386,6 +392,8 @@ declare const propTypes: {
|
|
|
386
392
|
customStyle: PropTypes.Requireable<{
|
|
387
393
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
388
394
|
}>;
|
|
395
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
396
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
389
397
|
}>>>;
|
|
390
398
|
menu: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
391
399
|
buttons: PropTypes.Validator<(PropTypes.InferProps<{
|
|
@@ -412,9 +420,11 @@ declare const propTypes: {
|
|
|
412
420
|
customStyle: PropTypes.Requireable<{
|
|
413
421
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
414
422
|
}>;
|
|
423
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
415
424
|
}> | null | undefined)[]>;
|
|
416
425
|
'data-name': PropTypes.Requireable<string>;
|
|
417
426
|
'aria-label': PropTypes.Requireable<string>;
|
|
427
|
+
enableScroll: PropTypes.Requireable<boolean>;
|
|
418
428
|
}>>>;
|
|
419
429
|
menuWrapper: PropTypes.Requireable<PropTypes.InferProps<{
|
|
420
430
|
ariaLabel: PropTypes.Requireable<string>;
|
|
@@ -425,6 +435,7 @@ declare const propTypes: {
|
|
|
425
435
|
type: PropTypes.Requireable<string>;
|
|
426
436
|
primaryColor: PropTypes.Requireable<string>;
|
|
427
437
|
closeOnClick: PropTypes.Requireable<boolean>;
|
|
438
|
+
enableScroll: PropTypes.Requireable<boolean>;
|
|
428
439
|
}> | null | undefined>>;
|
|
429
440
|
}>>;
|
|
430
441
|
}> | PropTypes.InferProps<{
|
|
@@ -471,6 +482,7 @@ declare const propTypes: {
|
|
|
471
482
|
customStyle: PropTypes.Requireable<{
|
|
472
483
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
473
484
|
}>;
|
|
485
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
474
486
|
}> | null | undefined)[]>;
|
|
475
487
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
476
488
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -518,6 +530,8 @@ declare const propTypes: {
|
|
|
518
530
|
customStyle: PropTypes.Requireable<{
|
|
519
531
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
520
532
|
}>;
|
|
533
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
534
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
521
535
|
}> | PropTypes.InferProps<{
|
|
522
536
|
componentType: PropTypes.Requireable<string>;
|
|
523
537
|
'data-name': PropTypes.Requireable<string>;
|
|
@@ -548,6 +562,7 @@ declare const propTypes: {
|
|
|
548
562
|
customStyle: PropTypes.Requireable<{
|
|
549
563
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
550
564
|
}>;
|
|
565
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
551
566
|
}> | null | undefined)[]>;
|
|
552
567
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
553
568
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -620,6 +635,8 @@ declare const propTypes: {
|
|
|
620
635
|
customStyle: PropTypes.Requireable<{
|
|
621
636
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
622
637
|
}>;
|
|
638
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
639
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
623
640
|
}>>;
|
|
624
641
|
required: PropTypes.Requireable<boolean>;
|
|
625
642
|
}> | null | undefined>>;
|
|
@@ -686,6 +703,8 @@ declare const propTypes: {
|
|
|
686
703
|
customStyle: PropTypes.Requireable<{
|
|
687
704
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
688
705
|
}>;
|
|
706
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
707
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
689
708
|
}> | null | undefined)[]>;
|
|
690
709
|
buttonMenuAction: PropTypes.Requireable<PropTypes.InferProps<{
|
|
691
710
|
button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
@@ -724,6 +743,8 @@ declare const propTypes: {
|
|
|
724
743
|
customStyle: PropTypes.Requireable<{
|
|
725
744
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
726
745
|
}>;
|
|
746
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
747
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
727
748
|
}>>>;
|
|
728
749
|
menu: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
729
750
|
buttons: PropTypes.Validator<(PropTypes.InferProps<{
|
|
@@ -750,9 +771,11 @@ declare const propTypes: {
|
|
|
750
771
|
customStyle: PropTypes.Requireable<{
|
|
751
772
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
752
773
|
}>;
|
|
774
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
753
775
|
}> | null | undefined)[]>;
|
|
754
776
|
'data-name': PropTypes.Requireable<string>;
|
|
755
777
|
'aria-label': PropTypes.Requireable<string>;
|
|
778
|
+
enableScroll: PropTypes.Requireable<boolean>;
|
|
756
779
|
}>>>;
|
|
757
780
|
menuWrapper: PropTypes.Requireable<PropTypes.InferProps<{
|
|
758
781
|
ariaLabel: PropTypes.Requireable<string>;
|
|
@@ -763,6 +786,7 @@ declare const propTypes: {
|
|
|
763
786
|
type: PropTypes.Requireable<string>;
|
|
764
787
|
primaryColor: PropTypes.Requireable<string>;
|
|
765
788
|
closeOnClick: PropTypes.Requireable<boolean>;
|
|
789
|
+
enableScroll: PropTypes.Requireable<boolean>;
|
|
766
790
|
}>>;
|
|
767
791
|
}> | null | undefined>>;
|
|
768
792
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC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AC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,GAChD,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;KACtD,CAAC;IACF,IAAI,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;CACpD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -70,6 +70,7 @@ declare const ActionableExpandableTable: {
|
|
|
70
70
|
customStyle: import("prop-types").Requireable<{
|
|
71
71
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
72
72
|
}>;
|
|
73
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
73
74
|
}> | null | undefined)[]>;
|
|
74
75
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
75
76
|
menuButtonClassName: import("prop-types").Requireable<string>;
|
|
@@ -117,6 +118,8 @@ declare const ActionableExpandableTable: {
|
|
|
117
118
|
customStyle: import("prop-types").Requireable<{
|
|
118
119
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
119
120
|
}>;
|
|
121
|
+
useTitle: import("prop-types").Requireable<boolean>;
|
|
122
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
120
123
|
}> | import("prop-types").InferProps<{
|
|
121
124
|
componentType: import("prop-types").Requireable<string>;
|
|
122
125
|
'data-name': import("prop-types").Requireable<string>;
|
|
@@ -147,6 +150,7 @@ declare const ActionableExpandableTable: {
|
|
|
147
150
|
customStyle: import("prop-types").Requireable<{
|
|
148
151
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
149
152
|
}>;
|
|
153
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
150
154
|
}> | null | undefined)[]>;
|
|
151
155
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
152
156
|
menuButtonClassName: import("prop-types").Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandible-actionable-table/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAOjE,OAAO,EAA2C,KAAK,EAAY,MAAM,SAAS,CAAC;AAqCnF,QAAA,MAAM,yBAAyB;YAAW,KAAK,iBAAiB,gBAAgB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandible-actionable-table/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAOjE,OAAO,EAA2C,KAAK,EAAY,MAAM,SAAS,CAAC;AAqCnF,QAAA,MAAM,yBAAyB;YAAW,KAAK,iBAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoL/E,CAAC;AASF,eAAe,yBAAyB,CAAC"}
|
|
@@ -47,6 +47,7 @@ export declare const propTypes: {
|
|
|
47
47
|
customStyle: PropTypes.Requireable<{
|
|
48
48
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
49
49
|
}>;
|
|
50
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
50
51
|
}> | null | undefined)[]>;
|
|
51
52
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
52
53
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -94,6 +95,8 @@ export declare const propTypes: {
|
|
|
94
95
|
customStyle: PropTypes.Requireable<{
|
|
95
96
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
96
97
|
}>;
|
|
98
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
99
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
97
100
|
}> | PropTypes.InferProps<{
|
|
98
101
|
componentType: PropTypes.Requireable<string>;
|
|
99
102
|
'data-name': PropTypes.Requireable<string>;
|
|
@@ -124,6 +127,7 @@ export declare const propTypes: {
|
|
|
124
127
|
customStyle: PropTypes.Requireable<{
|
|
125
128
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
126
129
|
}>;
|
|
130
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
127
131
|
}> | null | undefined)[]>;
|
|
128
132
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
129
133
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandible-actionable-table/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,KAAK,IAAI,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAC,KAAK,IAAI,oBAAoB,EAAC,MAAM,4BAA4B,CAAC;AA0BzE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandible-actionable-table/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,KAAK,IAAI,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAC,KAAK,IAAI,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MAAM,GAAG,IAAI,GAAG,GAAG,EAAE,CAAC;IACvC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,oBAAY,WAAW,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAC,CAAC"}
|
|
@@ -33,13 +33,23 @@ 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
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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>;
|
|
43
53
|
dataTestId: import("prop-types").Requireable<string>;
|
|
44
54
|
}>>;
|
|
45
55
|
}>>;
|
|
@@ -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
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_filterChip","_filterCheckboxAndSearch","_title","_tag","_buttonLink","_provider","_interopRequireWildcard","_propTypes","_style","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","uncappedMap","_map2","convert","cap","CLEAR_ALL_BUTTON_STYLE","fontWeight","padding","FilterSeparator","createElement","className","style","filterSeparator","buildFilters","filterOptions","type","options","MultiFilterPanel","props","context","title","onClearAll","translate","GetTranslateFromContext","allSelectedFilters","_pipe2","_flatMap2","_filter2","selected","_size2","hasSelectedFilters","filters","isLastItem","key","Fragment","header","titleContainer","titleSize","label","_toString2","size","buttonContainer","customStyle","onClick","propTypes","process","env","NODE_ENV","contextTypes","Provider","childContextTypes","_default","exports"],"sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"sourcesContent":["import React from 'react';\nimport {map, size, pipe, filter, flatMap, toString} from 'lodash/fp';\nimport FilterChip from '../../organism/filter-chip';\nimport
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_filterChip","_filterCheckboxAndSearch","_title","_tag","_buttonLink","_provider","_interopRequireWildcard","_propTypes","_style","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","uncappedMap","_map2","convert","cap","CLEAR_ALL_BUTTON_STYLE","fontWeight","padding","FilterSeparator","createElement","className","style","filterSeparator","buildFilters","filterOptions","type","options","MultiFilterPanel","props","context","title","onClearAll","translate","GetTranslateFromContext","allSelectedFilters","_pipe2","_flatMap2","_filter2","selected","_size2","hasSelectedFilters","filters","isLastItem","key","Fragment","header","titleContainer","titleSize","label","_toString2","size","buttonContainer","customStyle","onClick","propTypes","process","env","NODE_ENV","contextTypes","Provider","childContextTypes","_default","exports"],"sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"sourcesContent":["import React from 'react';\nimport {map, size, pipe, filter, flatMap, toString} from 'lodash/fp';\nimport FilterChip from '../../organism/filter-chip';\nimport FilterCkeckboxAndSearch from '../../organism/filter-checkbox-and-search';\nimport Title from '../../atom/title';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport Provider, {GetTranslateFromContext} from '../../atom/provider';\nimport propTypes, {MultiFilterPanelProps, FilterOptionsProps} from './prop-types';\nimport style from './style.css';\n\n// @ts-expect-error convert is not recognized by the types\nconst uncappedMap = map.convert({cap: false});\n\nconst CLEAR_ALL_BUTTON_STYLE = {fontWeight: 'normal', padding: 0};\nconst FilterSeparator = <div className={style.filterSeparator} />;\n\nconst buildFilters = (filterOptions: FilterOptionsProps) => {\n const {type, options} = filterOptions;\n switch (type) {\n case 'chip':\n return <FilterChip {...options} />;\n case 'checkbox':\n return <FilterCkeckboxAndSearch {...options} />;\n default:\n return null;\n }\n};\n\nconst MultiFilterPanel = (props: MultiFilterPanelProps, context: WebContextValues) => {\n const {title, onClearAll, options} = props;\n const translate = GetTranslateFromContext(context);\n const allSelectedFilters = pipe(\n map('options'),\n flatMap('options'),\n filter({selected: true}),\n size\n )(options);\n const hasSelectedFilters = allSelectedFilters > 0;\n\n const filters = uncappedMap((filterOptions: FilterOptionsProps, i: number) => {\n const isLastItem = i + 1 === size(options);\n\n return (\n <div key={i}>\n {buildFilters(filterOptions)}\n {isLastItem ? null : FilterSeparator}\n </div>\n );\n }, options);\n\n return (\n <>\n <div className={style.header}>\n <div className={style.titleContainer}>\n <Title title={title} type=\"form-group\" titleSize=\"standard-light-weight\" />\n {hasSelectedFilters ? (\n <Tag label={toString(allSelectedFilters)} type=\"info\" size=\"S\" />\n ) : null}\n </div>\n {hasSelectedFilters ? (\n <div className={style.buttonContainer}>\n <ButtonLink\n customStyle={CLEAR_ALL_BUTTON_STYLE}\n label={translate('clear_all')}\n type=\"text\"\n data-name=\"filters-all-clear-button\"\n aria-label=\"filters all clear button\"\n onClick={onClearAll}\n />\n </div>\n ) : null}\n </div>\n\n {filters}\n </>\n );\n};\n\nMultiFilterPanel.propTypes = propTypes;\n\nMultiFilterPanel.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default MultiFilterPanel;\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,wBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,MAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,IAAA,GAAAL,sBAA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;IAAKC,SAAS,EAAEC,cAAK,CAAC8B;EAAgB,gBACpCxE,MAAA,CAAAkB,OAAA,CAAAsB,aAAA,CAACjC,WAAA,CAAAW,OAAU;IACTuD,WAAW,EAAErC,sBAAuB;IACpCiC,KAAK,EAAEhB,SAAS,CAAC,WAAW,CAAE;IAC9BP,IAAI,EAAC,MAAM;IACX,aAAU,0BAA0B;IACpC,cAAW,0BAA0B;IACrC4B,OAAO,EAAEtB;EAAW,CACrB,CACE,CAAC,GACJ,IACD,CAAC,EAELU,OACD,CAAC;AAEP,CAAC;AAEDd,gBAAgB,CAAC2B,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,kBAAS;AAEtC3B,gBAAgB,CAAC+B,YAAY,GAAG;EAC9B1B,SAAS,EAAE2B,iBAAQ,CAACC,iBAAiB,CAAC5B;AACxC,CAAC;AAAC,IAAA6B,QAAA,GAAAC,OAAA,CAAAjE,OAAA,GAEa8B,gBAAgB","ignoreList":[]}
|
|
@@ -31,13 +31,23 @@ declare const propTypes: {
|
|
|
31
31
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
32
32
|
}> | null | undefined)[]>;
|
|
33
33
|
searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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>;
|
|
41
51
|
dataTestId: PropTypes.Requireable<string>;
|
|
42
52
|
}>>;
|
|
43
53
|
}>>;
|
|
@@ -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
|
|
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"}
|
|
@@ -82,6 +82,8 @@ declare namespace TitleAndCheckBoxWrapper {
|
|
|
82
82
|
customStyle: PropTypes.Requireable<{
|
|
83
83
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
84
84
|
}>;
|
|
85
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
86
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
85
87
|
}>>;
|
|
86
88
|
required: PropTypes.Requireable<boolean>;
|
|
87
89
|
}>>;
|
|
@@ -67,6 +67,8 @@ declare const TitleRadioWrapper: {
|
|
|
67
67
|
customStyle: import("prop-types").Requireable<{
|
|
68
68
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
69
69
|
}>;
|
|
70
|
+
useTitle: import("prop-types").Requireable<boolean>;
|
|
71
|
+
customLabelClassName: import("prop-types").Requireable<string>;
|
|
70
72
|
}>>;
|
|
71
73
|
required: import("prop-types").Requireable<boolean>;
|
|
72
74
|
}>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-radio-wrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAqB1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-radio-wrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAqB1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQvD,CAAC;AAIF,eAAe,iBAAiB,CAAC"}
|
|
@@ -68,6 +68,8 @@ declare const propTypes: {
|
|
|
68
68
|
customStyle: PropTypes.Requireable<{
|
|
69
69
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
70
70
|
}>;
|
|
71
|
+
useTitle: PropTypes.Requireable<boolean>;
|
|
72
|
+
customLabelClassName: PropTypes.Requireable<string>;
|
|
71
73
|
}>>;
|
|
72
74
|
required: PropTypes.Requireable<boolean>;
|
|
73
75
|
}>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-radio-wrapper/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,kBAAkB,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EAAC,mBAAmB,EAAC,MAAM,mCAAmC,CAAC;AACtE,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAEhD,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-radio-wrapper/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,kBAAkB,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EAAC,mBAAmB,EAAC,MAAM,mCAAmC,CAAC;AACtE,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAEhD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOd,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,cAAc,EAAE,mBAAmB,CAAC;IACpC,KAAK,EAAE,OAAO,cAAc,CAAC,SAAS,GAAG,OAAO,kBAAkB,CAAC,SAAS,CAAC;IAC7E,SAAS,EAAE,iBAAiB,GAAG,gBAAgB,CAAC;CACjD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|