@coorpacademy/components 11.33.7 → 11.33.8-alpha.1
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 +13 -2
- package/es/atom/button-link/index.d.ts.map +1 -1
- package/es/atom/button-link/index.js +2 -2
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link/style.css +2 -2
- package/es/atom/button-link/types.d.ts +28 -4
- package/es/atom/button-link/types.d.ts.map +1 -1
- package/es/atom/button-link/types.js +14 -5
- package/es/atom/button-link/types.js.map +1 -1
- package/es/atom/button-link-icon/style.css +2 -2
- package/es/atom/button-menu/index.d.ts +18 -0
- package/es/atom/button-menu/index.d.ts.map +1 -1
- package/es/atom/button-menu/index.js +19 -3
- package/es/atom/button-menu/index.js.map +1 -1
- package/es/atom/button-menu/style.css +19 -6
- package/es/atom/button-menu/types.d.ts +39 -0
- package/es/atom/button-menu/types.d.ts.map +1 -1
- package/es/atom/button-menu/types.js +7 -2
- package/es/atom/button-menu/types.js.map +1 -1
- package/es/atom/tag/style.css +10 -6
- package/es/molecule/bullet-point-menu-button/index.d.ts +17 -0
- package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/es/molecule/bullet-point-menu-button/style.css +19 -16
- package/es/molecule/bullet-point-menu-button/types.d.ts +17 -0
- package/es/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +69 -7
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/index.d.ts +47 -2
- package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/types.d.ts +47 -2
- package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/es/molecule/filters/index.js +2 -2
- package/es/molecule/filters/index.js.map +1 -1
- package/es/molecule/filters/style.css +7 -7
- package/es/organism/header-with-actions/index.d.ts +95 -0
- package/es/organism/header-with-actions/index.d.ts.map +1 -0
- package/es/organism/header-with-actions/index.js +48 -0
- package/es/organism/header-with-actions/index.js.map +1 -0
- package/es/organism/header-with-actions/style.css +55 -0
- package/es/organism/header-with-actions/types.d.ts +120 -0
- package/es/organism/header-with-actions/types.d.ts.map +1 -0
- package/es/organism/header-with-actions/types.js +27 -0
- package/es/organism/header-with-actions/types.js.map +1 -0
- package/es/organism/list-items/index.d.ts +60 -4
- package/es/organism/setup-header/index.d.ts +52 -8
- package/es/organism/wizard-contents/index.d.ts +73 -6
- package/es/template/app-player/loading/index.d.ts +69 -7
- package/es/template/app-player/player/index.d.ts +138 -14
- package/es/template/app-player/player/slides/index.d.ts +69 -7
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +69 -7
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +69 -7
- package/es/template/app-review/index.d.ts +69 -7
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +69 -7
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +69 -7
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-create/index.d.ts +52 -8
- package/es/template/back-office/brand-create/index.d.ts.map +1 -1
- package/es/template/back-office/brand-list/index.d.ts +52 -8
- package/es/template/back-office/brand-list/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +254 -25
- package/es/template/back-office/dashboard-preview/index.d.ts +52 -8
- package/es/template/back-office/layout/index.d.ts +52 -8
- package/es/template/back-office/layout/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.d.ts +138 -14
- package/es/template/common/search-page/index.d.ts +69 -7
- package/es/template/external-course/index.d.ts +69 -7
- package/es/variables/colors.css +5 -1
- package/es/variables/colors.d.ts +1 -0
- package/es/variables/colors.d.ts.map +1 -1
- package/es/variables/colors.js +1 -0
- package/es/variables/colors.js.map +1 -1
- package/lib/atom/button-link/index.d.ts +13 -2
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/index.js +2 -2
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link/style.css +2 -2
- package/lib/atom/button-link/types.d.ts +28 -4
- package/lib/atom/button-link/types.d.ts.map +1 -1
- package/lib/atom/button-link/types.js +15 -6
- package/lib/atom/button-link/types.js.map +1 -1
- package/lib/atom/button-link-icon/style.css +2 -2
- package/lib/atom/button-menu/index.d.ts +18 -0
- package/lib/atom/button-menu/index.d.ts.map +1 -1
- package/lib/atom/button-menu/index.js +19 -3
- package/lib/atom/button-menu/index.js.map +1 -1
- package/lib/atom/button-menu/style.css +19 -6
- package/lib/atom/button-menu/types.d.ts +39 -0
- package/lib/atom/button-menu/types.d.ts.map +1 -1
- package/lib/atom/button-menu/types.js +7 -2
- package/lib/atom/button-menu/types.js.map +1 -1
- package/lib/atom/tag/style.css +10 -6
- package/lib/molecule/bullet-point-menu-button/index.d.ts +17 -0
- package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/lib/molecule/bullet-point-menu-button/style.css +19 -16
- package/lib/molecule/bullet-point-menu-button/types.d.ts +17 -0
- package/lib/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +69 -7
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/index.d.ts +47 -2
- package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/types.d.ts +47 -2
- package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/lib/molecule/filters/index.js +2 -2
- package/lib/molecule/filters/index.js.map +1 -1
- package/lib/molecule/filters/style.css +7 -7
- package/lib/organism/header-with-actions/index.d.ts +95 -0
- package/lib/organism/header-with-actions/index.d.ts.map +1 -0
- package/lib/organism/header-with-actions/index.js +53 -0
- package/lib/organism/header-with-actions/index.js.map +1 -0
- package/lib/organism/header-with-actions/style.css +55 -0
- package/lib/organism/header-with-actions/types.d.ts +120 -0
- package/lib/organism/header-with-actions/types.d.ts.map +1 -0
- package/lib/organism/header-with-actions/types.js +32 -0
- package/lib/organism/header-with-actions/types.js.map +1 -0
- package/lib/organism/list-items/index.d.ts +60 -4
- package/lib/organism/setup-header/index.d.ts +52 -8
- package/lib/organism/wizard-contents/index.d.ts +73 -6
- package/lib/template/app-player/loading/index.d.ts +69 -7
- package/lib/template/app-player/player/index.d.ts +138 -14
- package/lib/template/app-player/player/slides/index.d.ts +69 -7
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +69 -7
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +69 -7
- package/lib/template/app-review/index.d.ts +69 -7
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +69 -7
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +69 -7
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-create/index.d.ts +52 -8
- package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-list/index.d.ts +52 -8
- package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +254 -25
- package/lib/template/back-office/dashboard-preview/index.d.ts +52 -8
- package/lib/template/back-office/layout/index.d.ts +52 -8
- package/lib/template/back-office/layout/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.d.ts +138 -14
- package/lib/template/common/search-page/index.d.ts +69 -7
- package/lib/template/external-course/index.d.ts +69 -7
- package/lib/variables/colors.css +5 -1
- package/lib/variables/colors.d.ts +1 -0
- package/lib/variables/colors.d.ts.map +1 -1
- package/lib/variables/colors.js +1 -0
- package/lib/variables/colors.js.map +1 -1
- package/package.json +2 -2
- package/LICENSE +0 -201
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_map","_interopRequireDefault","_classnames","_style","_types","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","Button","props","dataName","disabled","label","onClick","type","styleButton","classnames","style","button","defaultStyle","defaultLeft","dangerous","dangerousLeft","handleOnClick","useCallback","createElement","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_map","_interopRequireDefault","_classnames","_buttonLink","_style","_types","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","Button","props","dataName","disabled","label","onClick","type","buttonLinkType","icon","customStyle","styleButton","classnames","style","button","defaultStyle","defaultLeft","dangerous","dangerousLeft","handleOnClick","useCallback","createElement","className","title","buttonContent","propTypes","process","env","NODE_ENV","buttonPropTypes","ButtonMenu","buttons","buildButton","index","key","buttonList","useMemo","map","convert","cap","buttonMenuContainer","_default","exports"],"sources":["../../../src/atom/button-menu/index.tsx"],"sourcesContent":["import React, {useMemo, useCallback} from 'react';\nimport map from 'lodash/fp/map';\nimport classnames from 'classnames';\nimport ButtonLink from '../button-link';\nimport style from './style.css';\nimport propTypes, {ButtonMenuProps, ButtonProps, buttonPropTypes} from './types';\n\nconst Button = (props: ButtonProps) => {\n const {\n 'data-name': dataName,\n disabled,\n label,\n onClick,\n type = 'default',\n buttonLinkType,\n icon,\n customStyle = {}\n } = props;\n const styleButton = classnames(\n style.button,\n type === 'default' && style.defaultStyle,\n type === 'defaultLeft' && style.defaultLeft,\n type === 'dangerous' && style.dangerous,\n type === 'dangerousLeft' && style.dangerousLeft,\n disabled && style.disabled\n );\n const handleOnClick = useCallback(() => onClick(), [onClick]);\n\n return icon ? (\n <ButtonLink\n label={label}\n type={buttonLinkType}\n disabled={disabled}\n onClick={handleOnClick}\n data-name={dataName}\n className={styleButton}\n customStyle={{...customStyle}}\n icon={icon}\n />\n ) : (\n <button\n type=\"button\"\n aria-label={label}\n title={label}\n data-name={dataName}\n className={styleButton}\n onClick={handleOnClick}\n disabled={disabled}\n >\n <div className={style.buttonContent}>\n <span className={style.label}>{label}</span>\n </div>\n </button>\n );\n};\n\nButton.propTypes = buttonPropTypes;\n\nconst ButtonMenu = (props: ButtonMenuProps) => {\n const {buttons, 'data-name': dataName} = props;\n const buildButton = useCallback((button: ButtonProps, index) => {\n return <Button {...button} key={button.label + index} />;\n }, []);\n\n const buttonList = useMemo(\n // @ts-expect-error (to avoid using map as any)\n () => map.convert({cap: false})(buildButton, buttons),\n [buttons, buildButton]\n );\n\n return (\n <div data-name={dataName} className={style.buttonMenuContainer}>\n {buttonList}\n </div>\n );\n};\n\nButtonMenu.propTypes = propTypes;\n\nexport default ButtonMenu;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,IAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,WAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,MAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,MAAA,GAAAP,uBAAA,CAAAC,OAAA;AAAiF,SAAAE,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAR,wBAAAQ,CA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|
-
@value cm_grey_200 from colors;
|
|
4
|
-
@value cm_grey_900 from colors;
|
|
5
3
|
@value cm_negative_100 from colors;
|
|
4
|
+
@value cm_negative_300 from colors;
|
|
5
|
+
@value negative_100 from colors;
|
|
6
|
+
|
|
7
|
+
.buttonMenuContainer {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: 8px;
|
|
11
|
+
}
|
|
6
12
|
|
|
7
13
|
.button {
|
|
8
14
|
width: 100%;
|
|
9
15
|
height: 40px;
|
|
10
16
|
font-family: Gilroy;
|
|
11
17
|
font-size: 14px;
|
|
18
|
+
font-weight: 600;
|
|
12
19
|
display: flex;
|
|
13
20
|
justify-content: center;
|
|
14
21
|
align-items: center;
|
|
15
22
|
cursor: pointer;
|
|
16
23
|
border: none;
|
|
17
24
|
pointer-events: auto;
|
|
25
|
+
border-radius: 8px;
|
|
18
26
|
/* prevents text selection when dragging
|
|
19
27
|
the mouse over the button */
|
|
20
28
|
user-select: none;
|
|
@@ -37,8 +45,8 @@
|
|
|
37
45
|
}
|
|
38
46
|
|
|
39
47
|
.defaultStyle {
|
|
40
|
-
background-color:
|
|
41
|
-
color:
|
|
48
|
+
background-color: transparent;
|
|
49
|
+
color: cm_grey_700;
|
|
42
50
|
}
|
|
43
51
|
|
|
44
52
|
.defaultLeft {
|
|
@@ -47,15 +55,20 @@
|
|
|
47
55
|
}
|
|
48
56
|
|
|
49
57
|
.defaultStyle:hover {
|
|
50
|
-
background-color:
|
|
58
|
+
background-color: cm_grey_100;
|
|
51
59
|
}
|
|
52
60
|
|
|
53
61
|
.dangerous {
|
|
54
62
|
composes: defaultStyle;
|
|
55
|
-
color:
|
|
63
|
+
color: cm_negative_300;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.dangerous:hover {
|
|
67
|
+
background-color: negative_100;
|
|
56
68
|
}
|
|
57
69
|
|
|
58
70
|
.dangerousLeft {
|
|
59
71
|
composes: dangerous;
|
|
60
72
|
justify-content: flex-start;
|
|
61
73
|
}
|
|
74
|
+
|
|
@@ -1,10 +1,28 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
+
import { ButtonLinkProps, IconType } from '../button-link/types';
|
|
2
3
|
export declare const buttonPropTypes: {
|
|
3
4
|
'data-name': PropTypes.Requireable<string>;
|
|
4
5
|
disabled: PropTypes.Requireable<boolean>;
|
|
5
6
|
label: PropTypes.Validator<string>;
|
|
6
7
|
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
7
8
|
type: PropTypes.Requireable<string>;
|
|
9
|
+
buttonLinkType: PropTypes.Requireable<string>;
|
|
10
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
11
|
+
position: PropTypes.Validator<string>;
|
|
12
|
+
type: PropTypes.Requireable<string>;
|
|
13
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
14
|
+
name: PropTypes.Validator<string>;
|
|
15
|
+
color: PropTypes.Requireable<string>;
|
|
16
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
17
|
+
size: PropTypes.Requireable<number>;
|
|
18
|
+
customStyle: PropTypes.Requireable<{
|
|
19
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
}>>;
|
|
22
|
+
}>>;
|
|
23
|
+
customStyle: PropTypes.Requireable<{
|
|
24
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
25
|
+
}>;
|
|
8
26
|
};
|
|
9
27
|
declare const propTypes: {
|
|
10
28
|
buttons: PropTypes.Validator<(PropTypes.InferProps<{
|
|
@@ -13,8 +31,26 @@ declare const propTypes: {
|
|
|
13
31
|
label: PropTypes.Validator<string>;
|
|
14
32
|
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
15
33
|
type: PropTypes.Requireable<string>;
|
|
34
|
+
buttonLinkType: PropTypes.Requireable<string>;
|
|
35
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
36
|
+
position: PropTypes.Validator<string>;
|
|
37
|
+
type: PropTypes.Requireable<string>;
|
|
38
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
39
|
+
name: PropTypes.Validator<string>;
|
|
40
|
+
color: PropTypes.Requireable<string>;
|
|
41
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
42
|
+
size: PropTypes.Requireable<number>;
|
|
43
|
+
customStyle: PropTypes.Requireable<{
|
|
44
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
45
|
+
}>;
|
|
46
|
+
}>>;
|
|
47
|
+
}>>;
|
|
48
|
+
customStyle: PropTypes.Requireable<{
|
|
49
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
50
|
+
}>;
|
|
16
51
|
}> | null | undefined)[]>;
|
|
17
52
|
'data-name': PropTypes.Requireable<string>;
|
|
53
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
18
54
|
};
|
|
19
55
|
export default propTypes;
|
|
20
56
|
export declare type ButtonProps = {
|
|
@@ -23,6 +59,9 @@ export declare type ButtonProps = {
|
|
|
23
59
|
label: string;
|
|
24
60
|
onClick: () => void;
|
|
25
61
|
type?: 'default' | 'defaultLeft' | 'dangerous' | 'dangerousLeft';
|
|
62
|
+
buttonLinkType?: ButtonLinkProps['type'];
|
|
63
|
+
icon?: IconType;
|
|
64
|
+
customStyle?: Record<string, string | number>;
|
|
26
65
|
};
|
|
27
66
|
export declare type ButtonMenuProps = {
|
|
28
67
|
buttons: ButtonProps[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/atom/button-menu/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/atom/button-menu/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,eAAe,EAAE,QAAQ,EAAgB,MAAM,sBAAsB,CAAC;AAE9E,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;CAS3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;CAId,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,WAAW,GAAG;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,WAAW,GAAG,eAAe,CAAC;IACjE,cAAc,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IACzC,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CAC/C,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC5B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IAAC,KAAK,EAAE,eAAe,CAAA;CAAC,CAAC"}
|
|
@@ -3,17 +3,22 @@
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = exports.buttonPropTypes = void 0;
|
|
5
5
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
6
|
+
var _types = require("../button-link/types");
|
|
6
7
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
7
8
|
const buttonPropTypes = exports.buttonPropTypes = {
|
|
8
9
|
'data-name': _propTypes.default.string,
|
|
9
10
|
disabled: _propTypes.default.bool,
|
|
10
11
|
label: _propTypes.default.string.isRequired,
|
|
11
12
|
onClick: _propTypes.default.func.isRequired,
|
|
12
|
-
type: _propTypes.default.oneOf(['default', 'defaultLeft', 'dangerous', 'dangerousLeft'])
|
|
13
|
+
type: _propTypes.default.oneOf(['default', 'defaultLeft', 'dangerous', 'dangerousLeft']),
|
|
14
|
+
buttonLinkType: _propTypes.default.oneOf(['primary', 'secondary', 'tertiary', 'text', 'dangerous']),
|
|
15
|
+
icon: _propTypes.default.shape(_types.iconPropTypes),
|
|
16
|
+
customStyle: _propTypes.default.objectOf(_propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]))
|
|
13
17
|
};
|
|
14
18
|
const propTypes = {
|
|
15
19
|
buttons: _propTypes.default.arrayOf(_propTypes.default.shape(buttonPropTypes)).isRequired,
|
|
16
|
-
'data-name': _propTypes.default.string
|
|
20
|
+
'data-name': _propTypes.default.string,
|
|
21
|
+
'aria-label': _propTypes.default.string
|
|
17
22
|
};
|
|
18
23
|
var _default = exports.default = propTypes;
|
|
19
24
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["_propTypes","_interopRequireDefault","require","e","__esModule","default","buttonPropTypes","exports","PropTypes","string","disabled","bool","label","isRequired","onClick","func","type","oneOf","propTypes","buttons","arrayOf","
|
|
1
|
+
{"version":3,"file":"types.js","names":["_propTypes","_interopRequireDefault","require","_types","e","__esModule","default","buttonPropTypes","exports","PropTypes","string","disabled","bool","label","isRequired","onClick","func","type","oneOf","buttonLinkType","icon","shape","iconPropTypes","customStyle","objectOf","oneOfType","number","propTypes","buttons","arrayOf","_default"],"sources":["../../../src/atom/button-menu/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {ButtonLinkProps, IconType, iconPropTypes} from '../button-link/types';\n\nexport const buttonPropTypes = {\n 'data-name': PropTypes.string,\n disabled: PropTypes.bool,\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n type: PropTypes.oneOf(['default', 'defaultLeft', 'dangerous', 'dangerousLeft']),\n buttonLinkType: PropTypes.oneOf(['primary', 'secondary', 'tertiary', 'text', 'dangerous']),\n icon: PropTypes.shape(iconPropTypes),\n customStyle: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number]))\n};\n\nconst propTypes = {\n buttons: PropTypes.arrayOf(PropTypes.shape(buttonPropTypes)).isRequired,\n 'data-name': PropTypes.string,\n 'aria-label': PropTypes.string\n};\n\nexport default propTypes;\n\nexport type ButtonProps = {\n 'data-name'?: string;\n disabled?: boolean;\n label: string;\n onClick: () => void;\n type?: 'default' | 'defaultLeft' | 'dangerous' | 'dangerousLeft';\n buttonLinkType?: ButtonLinkProps['type'];\n icon?: IconType;\n customStyle?: Record<string, string | number>;\n};\n\nexport type ButtonMenuProps = {\n buttons: ButtonProps[];\n 'data-name'?: string;\n 'aria-label'?: string;\n};\n\nexport type ButtonMenuPropsFixture = {props: ButtonMenuProps};\n"],"mappings":";;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAA8E,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEvE,MAAMG,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAG;EAC7B,WAAW,EAAEE,kBAAS,CAACC,MAAM;EAC7BC,QAAQ,EAAEF,kBAAS,CAACG,IAAI;EACxBC,KAAK,EAAEJ,kBAAS,CAACC,MAAM,CAACI,UAAU;EAClCC,OAAO,EAAEN,kBAAS,CAACO,IAAI,CAACF,UAAU;EAClCG,IAAI,EAAER,kBAAS,CAACS,KAAK,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,WAAW,EAAE,eAAe,CAAC,CAAC;EAC/EC,cAAc,EAAEV,kBAAS,CAACS,KAAK,CAAC,CAAC,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;EAC1FE,IAAI,EAAEX,kBAAS,CAACY,KAAK,CAACC,oBAAa,CAAC;EACpCC,WAAW,EAAEd,kBAAS,CAACe,QAAQ,CAACf,kBAAS,CAACgB,SAAS,CAAC,CAAChB,kBAAS,CAACC,MAAM,EAAED,kBAAS,CAACiB,MAAM,CAAC,CAAC;AAC3F,CAAC;AAED,MAAMC,SAAS,GAAG;EAChBC,OAAO,EAAEnB,kBAAS,CAACoB,OAAO,CAACpB,kBAAS,CAACY,KAAK,CAACd,eAAe,CAAC,CAAC,CAACO,UAAU;EACvE,WAAW,EAAEL,kBAAS,CAACC,MAAM;EAC7B,YAAY,EAAED,kBAAS,CAACC;AAC1B,CAAC;AAAC,IAAAoB,QAAA,GAAAtB,OAAA,CAAAF,OAAA,GAEaqB,SAAS","ignoreList":[]}
|
package/lib/atom/tag/style.css
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
@value colors: "../../variables/colors.css";
|
|
2
2
|
@value white from colors;
|
|
3
|
+
@value cm_yellow_100 from colors;
|
|
3
4
|
@value cm_yellow_200 from colors;
|
|
5
|
+
@value cm_yellow_300 from colors;
|
|
4
6
|
@value cm_positive_100 from colors;
|
|
7
|
+
@value cm_positive_300 from colors;
|
|
5
8
|
@value cm_negative_100 from colors;
|
|
6
9
|
@value cm_orange_700 from colors;
|
|
10
|
+
@value cm_orange_800 from colors;
|
|
7
11
|
@value black from colors;
|
|
8
12
|
@value cm_grey_100 from colors;
|
|
9
13
|
@value cm_grey_500 from colors;
|
|
@@ -44,14 +48,14 @@
|
|
|
44
48
|
|
|
45
49
|
.progress {
|
|
46
50
|
composes: tag;
|
|
47
|
-
background-color: color(
|
|
48
|
-
color:
|
|
51
|
+
background-color: color(cm_yellow_100 a(25%));
|
|
52
|
+
color: cm_yellow_300;
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
.success {
|
|
52
56
|
composes: tag;
|
|
53
|
-
background-color: color(cm_positive_100 a(
|
|
54
|
-
color:
|
|
57
|
+
background-color: color(cm_positive_100 a(20%));
|
|
58
|
+
color: cm_positive_300;
|
|
55
59
|
}
|
|
56
60
|
|
|
57
61
|
.failure {
|
|
@@ -62,8 +66,8 @@
|
|
|
62
66
|
|
|
63
67
|
.warning {
|
|
64
68
|
composes: tag;
|
|
65
|
-
background-color: color(cm_orange_700 a(
|
|
66
|
-
color:
|
|
69
|
+
background-color: color(cm_orange_700 a(18%));
|
|
70
|
+
color: cm_orange_800;
|
|
67
71
|
}
|
|
68
72
|
|
|
69
73
|
.info {
|
|
@@ -12,6 +12,23 @@ declare const BulletPointMenuButton: {
|
|
|
12
12
|
label: import("prop-types").Validator<string>;
|
|
13
13
|
onClick: import("prop-types").Validator<(...args: any[]) => any>;
|
|
14
14
|
type: import("prop-types").Requireable<string>;
|
|
15
|
+
buttonLinkType: import("prop-types").Requireable<string>;
|
|
16
|
+
icon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
17
|
+
position: import("prop-types").Validator<string>;
|
|
18
|
+
type: import("prop-types").Requireable<string>;
|
|
19
|
+
faIcon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
20
|
+
name: import("prop-types").Validator<string>;
|
|
21
|
+
color: import("prop-types").Requireable<string>;
|
|
22
|
+
backgroundColor: import("prop-types").Requireable<string>;
|
|
23
|
+
size: import("prop-types").Requireable<number>;
|
|
24
|
+
customStyle: import("prop-types").Requireable<{
|
|
25
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
}>>;
|
|
28
|
+
}>>;
|
|
29
|
+
customStyle: import("prop-types").Requireable<{
|
|
30
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
31
|
+
}>;
|
|
15
32
|
}> | null | undefined)[]>;
|
|
16
33
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
17
34
|
menuButtonClassName: import("prop-types").Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,0BAA0B,EAAC,MAAM,SAAS,CAAC;AAG9D,QAAA,MAAM,qBAAqB;YAAW,0BAA0B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,0BAA0B,EAAC,MAAM,SAAS,CAAC;AAG9D,QAAA,MAAM,qBAAqB;YAAW,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2D/D,CAAC;AAIF,eAAe,qBAAqB,CAAC"}
|
|
@@ -13,38 +13,39 @@
|
|
|
13
13
|
.bulletPointWrapper > button {
|
|
14
14
|
position: relative;
|
|
15
15
|
cursor: pointer;
|
|
16
|
-
|
|
16
|
+
}
|
|
17
17
|
|
|
18
18
|
.bulletPointMenu {
|
|
19
|
-
min-width: 80px;
|
|
20
|
-
/* positioning */
|
|
21
19
|
position: absolute;
|
|
22
|
-
|
|
23
|
-
bottom: 54px;
|
|
20
|
+
top: 48px;
|
|
24
21
|
right: 0px;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
align-self: flex-end;
|
|
25
|
+
padding: 12px;
|
|
26
|
+
min-width: 80px;
|
|
27
|
+
max-height: 135px;
|
|
28
|
+
overflow-y: scroll;
|
|
29
|
+
background: #ffffff;
|
|
30
|
+
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.07);
|
|
31
|
+
border-radius: 12px;
|
|
30
32
|
overflow: hidden;
|
|
31
|
-
background-color:
|
|
33
|
+
transition: visibility 0.5s ease, opacity 0.5s ease; background-color: #ffffff;
|
|
32
34
|
visibility: hidden;
|
|
33
|
-
opacity:0;
|
|
34
|
-
transition:visibility 0.5s ease,opacity 0.5s ease;
|
|
35
|
+
opacity: 0;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
.visible {
|
|
38
39
|
/* fade in combo */
|
|
39
40
|
max-height: max-content;
|
|
40
41
|
visibility: visible;
|
|
41
|
-
opacity:1;
|
|
42
|
+
opacity: 1;
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
/*
|
|
45
46
|
bulk theme
|
|
46
47
|
*/
|
|
47
|
-
.bulkBulletPointMenu{
|
|
48
|
+
.bulkBulletPointMenu {
|
|
48
49
|
min-width: 80px;
|
|
49
50
|
/* positioning */
|
|
50
51
|
position: absolute;
|
|
@@ -52,7 +53,9 @@
|
|
|
52
53
|
bottom: 54px;
|
|
53
54
|
right: 0px;
|
|
54
55
|
/* elevation shadow */
|
|
55
|
-
box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
|
|
56
|
+
box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
|
|
57
|
+
rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
|
|
58
|
+
rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
|
|
56
59
|
z-index: 1;
|
|
57
60
|
/* round corners */
|
|
58
61
|
border-radius: 7px;
|
|
@@ -10,6 +10,23 @@ declare const propTypes: {
|
|
|
10
10
|
label: PropTypes.Validator<string>;
|
|
11
11
|
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
12
12
|
type: PropTypes.Requireable<string>;
|
|
13
|
+
buttonLinkType: PropTypes.Requireable<string>;
|
|
14
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
15
|
+
position: PropTypes.Validator<string>;
|
|
16
|
+
type: PropTypes.Requireable<string>;
|
|
17
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
18
|
+
name: PropTypes.Validator<string>;
|
|
19
|
+
color: PropTypes.Requireable<string>;
|
|
20
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
21
|
+
size: PropTypes.Requireable<number>;
|
|
22
|
+
customStyle: PropTypes.Requireable<{
|
|
23
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
}>>;
|
|
26
|
+
}>>;
|
|
27
|
+
customStyle: PropTypes.Requireable<{
|
|
28
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
29
|
+
}>;
|
|
13
30
|
}> | null | undefined)[]>;
|
|
14
31
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
32
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAEzD,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAEzD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,0BAA0B,GAAG;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,iCAAiC,GAAG;IAAC,KAAK,EAAE,0BAA0B,CAAA;CAAC,CAAC"}
|
|
@@ -34,7 +34,9 @@ declare const propTypes: {
|
|
|
34
34
|
'aria-label': PropTypes.Requireable<string>;
|
|
35
35
|
largeButton: PropTypes.Requireable<boolean>;
|
|
36
36
|
type: PropTypes.Requireable<string>;
|
|
37
|
-
customStyle: PropTypes.Requireable<
|
|
37
|
+
customStyle: PropTypes.Requireable<{
|
|
38
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
39
|
+
}>;
|
|
38
40
|
}>>;
|
|
39
41
|
secondButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
40
42
|
label: PropTypes.Requireable<string>;
|
|
@@ -42,7 +44,9 @@ declare const propTypes: {
|
|
|
42
44
|
type: PropTypes.Requireable<string>;
|
|
43
45
|
'aria-label': PropTypes.Requireable<string>;
|
|
44
46
|
largeButton: PropTypes.Requireable<boolean>;
|
|
45
|
-
customStyle: PropTypes.Requireable<
|
|
47
|
+
customStyle: PropTypes.Requireable<{
|
|
48
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
49
|
+
}>;
|
|
46
50
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
47
51
|
position: PropTypes.Requireable<string>;
|
|
48
52
|
type: PropTypes.Requireable<string>;
|
|
@@ -54,7 +58,9 @@ declare const propTypes: {
|
|
|
54
58
|
type: PropTypes.Requireable<string>;
|
|
55
59
|
'aria-label': PropTypes.Requireable<string>;
|
|
56
60
|
largeButton: PropTypes.Requireable<boolean>;
|
|
57
|
-
customStyle: PropTypes.Requireable<
|
|
61
|
+
customStyle: PropTypes.Requireable<{
|
|
62
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
63
|
+
}>;
|
|
58
64
|
}>>;
|
|
59
65
|
onClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
60
66
|
icon: PropTypes.Requireable<string>;
|
|
@@ -101,8 +107,17 @@ declare const propTypes: {
|
|
|
101
107
|
'data-name': PropTypes.Requireable<string>;
|
|
102
108
|
'data-testid': PropTypes.Requireable<string>;
|
|
103
109
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
104
|
-
position: PropTypes.
|
|
110
|
+
position: PropTypes.Validator<string>;
|
|
105
111
|
type: PropTypes.Requireable<string>;
|
|
112
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
113
|
+
name: PropTypes.Validator<string>;
|
|
114
|
+
color: PropTypes.Requireable<string>;
|
|
115
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
116
|
+
size: PropTypes.Requireable<number>;
|
|
117
|
+
customStyle: PropTypes.Requireable<{
|
|
118
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
119
|
+
}>;
|
|
120
|
+
}>>;
|
|
106
121
|
}>>;
|
|
107
122
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
108
123
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -114,7 +129,9 @@ declare const propTypes: {
|
|
|
114
129
|
hoverColor: PropTypes.Requireable<string>;
|
|
115
130
|
disabled: PropTypes.Requireable<boolean>;
|
|
116
131
|
className: PropTypes.Requireable<string>;
|
|
117
|
-
customStyle: PropTypes.Requireable<
|
|
132
|
+
customStyle: PropTypes.Requireable<{
|
|
133
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
134
|
+
}>;
|
|
118
135
|
}>>;
|
|
119
136
|
selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
|
|
120
137
|
title: PropTypes.Requireable<string>;
|
|
@@ -232,6 +249,23 @@ declare const propTypes: {
|
|
|
232
249
|
label: PropTypes.Validator<string>;
|
|
233
250
|
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
234
251
|
type: PropTypes.Requireable<string>;
|
|
252
|
+
buttonLinkType: PropTypes.Requireable<string>;
|
|
253
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
254
|
+
position: PropTypes.Validator<string>;
|
|
255
|
+
type: PropTypes.Requireable<string>;
|
|
256
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
257
|
+
name: PropTypes.Validator<string>;
|
|
258
|
+
color: PropTypes.Requireable<string>;
|
|
259
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
260
|
+
size: PropTypes.Requireable<number>;
|
|
261
|
+
customStyle: PropTypes.Requireable<{
|
|
262
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
263
|
+
}>;
|
|
264
|
+
}>>;
|
|
265
|
+
}>>;
|
|
266
|
+
customStyle: PropTypes.Requireable<{
|
|
267
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
268
|
+
}>;
|
|
235
269
|
}> | null | undefined)[]>;
|
|
236
270
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
237
271
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -254,8 +288,17 @@ declare const propTypes: {
|
|
|
254
288
|
'data-name': PropTypes.Requireable<string>;
|
|
255
289
|
'data-testid': PropTypes.Requireable<string>;
|
|
256
290
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
257
|
-
position: PropTypes.
|
|
291
|
+
position: PropTypes.Validator<string>;
|
|
258
292
|
type: PropTypes.Requireable<string>;
|
|
293
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
294
|
+
name: PropTypes.Validator<string>;
|
|
295
|
+
color: PropTypes.Requireable<string>;
|
|
296
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
297
|
+
size: PropTypes.Requireable<number>;
|
|
298
|
+
customStyle: PropTypes.Requireable<{
|
|
299
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
300
|
+
}>;
|
|
301
|
+
}>>;
|
|
259
302
|
}>>;
|
|
260
303
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
261
304
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -267,7 +310,9 @@ declare const propTypes: {
|
|
|
267
310
|
hoverColor: PropTypes.Requireable<string>;
|
|
268
311
|
disabled: PropTypes.Requireable<boolean>;
|
|
269
312
|
className: PropTypes.Requireable<string>;
|
|
270
|
-
customStyle: PropTypes.Requireable<
|
|
313
|
+
customStyle: PropTypes.Requireable<{
|
|
314
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
315
|
+
}>;
|
|
271
316
|
}> | PropTypes.InferProps<{
|
|
272
317
|
componentType: PropTypes.Requireable<string>;
|
|
273
318
|
disabled: PropTypes.Requireable<boolean>;
|
|
@@ -279,6 +324,23 @@ declare const propTypes: {
|
|
|
279
324
|
label: PropTypes.Validator<string>;
|
|
280
325
|
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
281
326
|
type: PropTypes.Requireable<string>;
|
|
327
|
+
buttonLinkType: PropTypes.Requireable<string>;
|
|
328
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
329
|
+
position: PropTypes.Validator<string>;
|
|
330
|
+
type: PropTypes.Requireable<string>;
|
|
331
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
332
|
+
name: PropTypes.Validator<string>;
|
|
333
|
+
color: PropTypes.Requireable<string>;
|
|
334
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
335
|
+
size: PropTypes.Requireable<number>;
|
|
336
|
+
customStyle: PropTypes.Requireable<{
|
|
337
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
338
|
+
}>;
|
|
339
|
+
}>>;
|
|
340
|
+
}>>;
|
|
341
|
+
customStyle: PropTypes.Requireable<{
|
|
342
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
343
|
+
}>;
|
|
282
344
|
}> | null | undefined)[]>;
|
|
283
345
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
284
346
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,C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AC,EAAE;QACZ,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,GAAG,aAAa,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IAC5D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,KAAK,CAAC,EAAE;QACN,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;QACzB,IAAI,EACA,SAAS,CAAC,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"}
|
|
@@ -51,6 +51,23 @@ declare const ActionableExpandableTable: {
|
|
|
51
51
|
label: import("prop-types").Validator<string>;
|
|
52
52
|
onClick: import("prop-types").Validator<(...args: any[]) => any>;
|
|
53
53
|
type: import("prop-types").Requireable<string>;
|
|
54
|
+
buttonLinkType: import("prop-types").Requireable<string>;
|
|
55
|
+
icon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
56
|
+
position: import("prop-types").Validator<string>;
|
|
57
|
+
type: import("prop-types").Requireable<string>;
|
|
58
|
+
faIcon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
59
|
+
name: import("prop-types").Validator<string>;
|
|
60
|
+
color: import("prop-types").Requireable<string>;
|
|
61
|
+
backgroundColor: import("prop-types").Requireable<string>;
|
|
62
|
+
size: import("prop-types").Requireable<number>;
|
|
63
|
+
customStyle: import("prop-types").Requireable<{
|
|
64
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
65
|
+
}>;
|
|
66
|
+
}>>;
|
|
67
|
+
}>>;
|
|
68
|
+
customStyle: import("prop-types").Requireable<{
|
|
69
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
70
|
+
}>;
|
|
54
71
|
}> | null | undefined)[]>;
|
|
55
72
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
56
73
|
menuButtonClassName: import("prop-types").Requireable<string>;
|
|
@@ -73,8 +90,17 @@ declare const ActionableExpandableTable: {
|
|
|
73
90
|
'data-name': import("prop-types").Requireable<string>;
|
|
74
91
|
'data-testid': import("prop-types").Requireable<string>;
|
|
75
92
|
icon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
76
|
-
position: import("prop-types").
|
|
93
|
+
position: import("prop-types").Validator<string>;
|
|
77
94
|
type: import("prop-types").Requireable<string>;
|
|
95
|
+
faIcon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
96
|
+
name: import("prop-types").Validator<string>;
|
|
97
|
+
color: import("prop-types").Requireable<string>;
|
|
98
|
+
backgroundColor: import("prop-types").Requireable<string>;
|
|
99
|
+
size: import("prop-types").Requireable<number>;
|
|
100
|
+
customStyle: import("prop-types").Requireable<{
|
|
101
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
102
|
+
}>;
|
|
103
|
+
}>>;
|
|
78
104
|
}>>;
|
|
79
105
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
80
106
|
link: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -86,7 +112,9 @@ declare const ActionableExpandableTable: {
|
|
|
86
112
|
hoverColor: import("prop-types").Requireable<string>;
|
|
87
113
|
disabled: import("prop-types").Requireable<boolean>;
|
|
88
114
|
className: import("prop-types").Requireable<string>;
|
|
89
|
-
customStyle: import("prop-types").Requireable<
|
|
115
|
+
customStyle: import("prop-types").Requireable<{
|
|
116
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
117
|
+
}>;
|
|
90
118
|
}> | import("prop-types").InferProps<{
|
|
91
119
|
componentType: import("prop-types").Requireable<string>;
|
|
92
120
|
disabled: import("prop-types").Requireable<boolean>;
|
|
@@ -98,6 +126,23 @@ declare const ActionableExpandableTable: {
|
|
|
98
126
|
label: import("prop-types").Validator<string>;
|
|
99
127
|
onClick: import("prop-types").Validator<(...args: any[]) => any>;
|
|
100
128
|
type: import("prop-types").Requireable<string>;
|
|
129
|
+
buttonLinkType: import("prop-types").Requireable<string>;
|
|
130
|
+
icon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
131
|
+
position: import("prop-types").Validator<string>;
|
|
132
|
+
type: import("prop-types").Requireable<string>;
|
|
133
|
+
faIcon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
134
|
+
name: import("prop-types").Validator<string>;
|
|
135
|
+
color: import("prop-types").Requireable<string>;
|
|
136
|
+
backgroundColor: import("prop-types").Requireable<string>;
|
|
137
|
+
size: import("prop-types").Requireable<number>;
|
|
138
|
+
customStyle: import("prop-types").Requireable<{
|
|
139
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
140
|
+
}>;
|
|
141
|
+
}>>;
|
|
142
|
+
}>>;
|
|
143
|
+
customStyle: import("prop-types").Requireable<{
|
|
144
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
145
|
+
}>;
|
|
101
146
|
}> | null | undefined)[]>;
|
|
102
147
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
103
148
|
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"}
|