@coorpacademy/components 11.33.14 → 11.33.15
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/title/index.d.ts.map +1 -1
- package/es/atom/title/index.js +4 -2
- package/es/atom/title/index.js.map +1 -1
- package/es/atom/title/style.css +6 -0
- package/es/atom/title/types.d.ts +1 -1
- package/es/atom/title/types.d.ts.map +1 -1
- package/es/atom/title/types.js.map +1 -1
- package/es/molecule/icon-preview/index.d.ts +12 -9
- package/es/molecule/icon-preview/index.d.ts.map +1 -1
- package/es/molecule/icon-preview/index.js +8 -13
- package/es/molecule/icon-preview/index.js.map +1 -1
- package/es/molecule/icon-preview/style.css +0 -1
- package/es/molecule/icon-preview/types.d.ts +18 -0
- package/es/molecule/icon-preview/types.d.ts.map +1 -0
- package/es/molecule/icon-preview/types.js +11 -0
- package/es/molecule/icon-preview/types.js.map +1 -0
- package/es/organism/header-with-actions/index.d.ts.map +1 -1
- package/es/organism/header-with-actions/index.js +9 -1
- package/es/organism/header-with-actions/index.js.map +1 -1
- package/es/organism/icon-editor/index.d.ts +73 -23
- package/es/organism/icon-editor/index.d.ts.map +1 -1
- package/es/organism/icon-editor/index.js +22 -35
- package/es/organism/icon-editor/index.js.map +1 -1
- package/es/organism/icon-editor/style.css +5 -5
- package/es/organism/icon-editor/types.d.ts +77 -0
- package/es/organism/icon-editor/types.d.ts.map +1 -0
- package/es/organism/icon-editor/types.js +11 -0
- package/es/organism/icon-editor/types.js.map +1 -0
- package/es/organism/list-item/style.css +3 -2
- package/es/organism/skill-edition/index.d.ts +1661 -0
- package/es/organism/skill-edition/index.d.ts.map +1 -0
- package/es/organism/skill-edition/index.js +26 -0
- package/es/organism/skill-edition/index.js.map +1 -0
- package/es/organism/skill-edition/style.css +23 -0
- package/es/organism/skill-edition/types.d.ts +1674 -0
- package/es/organism/skill-edition/types.d.ts.map +1 -0
- package/es/organism/skill-edition/types.js +18 -0
- package/es/organism/skill-edition/types.js.map +1 -0
- package/es/organism/title-and-input/index.d.ts +64 -0
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/index.js +3 -0
- package/es/organism/title-and-input/index.js.map +1 -1
- package/es/organism/title-and-input/types.d.ts +68 -3
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/title-and-input/types.js +3 -2
- package/es/organism/title-and-input/types.js.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +1747 -2
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.js +14 -3
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/lib/atom/title/index.d.ts.map +1 -1
- package/lib/atom/title/index.js +4 -2
- package/lib/atom/title/index.js.map +1 -1
- package/lib/atom/title/style.css +6 -0
- package/lib/atom/title/types.d.ts +1 -1
- package/lib/atom/title/types.d.ts.map +1 -1
- package/lib/atom/title/types.js.map +1 -1
- package/lib/molecule/icon-preview/index.d.ts +12 -9
- package/lib/molecule/icon-preview/index.d.ts.map +1 -1
- package/lib/molecule/icon-preview/index.js +8 -13
- package/lib/molecule/icon-preview/index.js.map +1 -1
- package/lib/molecule/icon-preview/style.css +0 -1
- package/lib/molecule/icon-preview/types.d.ts +18 -0
- package/lib/molecule/icon-preview/types.d.ts.map +1 -0
- package/lib/molecule/icon-preview/types.js +16 -0
- package/lib/molecule/icon-preview/types.js.map +1 -0
- package/lib/organism/header-with-actions/index.d.ts.map +1 -1
- package/lib/organism/header-with-actions/index.js +9 -1
- package/lib/organism/header-with-actions/index.js.map +1 -1
- package/lib/organism/icon-editor/index.d.ts +73 -23
- package/lib/organism/icon-editor/index.d.ts.map +1 -1
- package/lib/organism/icon-editor/index.js +24 -35
- package/lib/organism/icon-editor/index.js.map +1 -1
- package/lib/organism/icon-editor/style.css +5 -5
- package/lib/organism/icon-editor/types.d.ts +77 -0
- package/lib/organism/icon-editor/types.d.ts.map +1 -0
- package/lib/organism/icon-editor/types.js +16 -0
- package/lib/organism/icon-editor/types.js.map +1 -0
- package/lib/organism/list-item/style.css +3 -2
- package/lib/organism/skill-edition/index.d.ts +1661 -0
- package/lib/organism/skill-edition/index.d.ts.map +1 -0
- package/lib/organism/skill-edition/index.js +31 -0
- package/lib/organism/skill-edition/index.js.map +1 -0
- package/lib/organism/skill-edition/style.css +23 -0
- package/lib/organism/skill-edition/types.d.ts +1674 -0
- package/lib/organism/skill-edition/types.d.ts.map +1 -0
- package/lib/organism/skill-edition/types.js +23 -0
- package/lib/organism/skill-edition/types.js.map +1 -0
- package/lib/organism/title-and-input/index.d.ts +64 -0
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/index.js +3 -0
- package/lib/organism/title-and-input/index.js.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +68 -3
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.js +3 -2
- package/lib/organism/title-and-input/types.js.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +1747 -2
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.js +14 -3
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/locales/en/global.json +6 -0
- package/locales/fr/global.json +11 -5
- package/package.json +2 -2
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { IconPreviewProps } from '../../molecule/icon-preview/types';
|
|
4
|
+
import InputText from '../../atom/input-text';
|
|
5
|
+
import { ButtonLinkProps } from '../../atom/button-link/types';
|
|
6
|
+
declare const IconEditorPropTypes: {
|
|
7
|
+
iconPreview: PropTypes.Requireable<PropTypes.InferProps<{
|
|
8
|
+
title: PropTypes.Requireable<string>;
|
|
9
|
+
icon: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
10
|
+
name: PropTypes.Validator<string>;
|
|
11
|
+
color: PropTypes.Requireable<string>;
|
|
12
|
+
}>>>;
|
|
13
|
+
}>>;
|
|
14
|
+
inputText: PropTypes.Requireable<PropTypes.InferProps<{
|
|
15
|
+
autoFocus: PropTypes.Requireable<boolean>;
|
|
16
|
+
title: PropTypes.Requireable<string>;
|
|
17
|
+
placeholder: PropTypes.Requireable<string>;
|
|
18
|
+
defaultValue: PropTypes.Requireable<string>;
|
|
19
|
+
theme: PropTypes.Requireable<string>;
|
|
20
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
21
|
+
value: PropTypes.Requireable<string>;
|
|
22
|
+
hint: PropTypes.Requireable<string>;
|
|
23
|
+
error: PropTypes.Requireable<string>;
|
|
24
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
25
|
+
description: PropTypes.Requireable<string>;
|
|
26
|
+
modified: PropTypes.Requireable<boolean>;
|
|
27
|
+
type: PropTypes.Requireable<string>;
|
|
28
|
+
valid: PropTypes.Requireable<boolean>;
|
|
29
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
30
|
+
'data-name': PropTypes.Requireable<string>;
|
|
31
|
+
inputColor: PropTypes.Requireable<boolean>;
|
|
32
|
+
}>>;
|
|
33
|
+
buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
34
|
+
type: PropTypes.Requireable<string>;
|
|
35
|
+
usage: PropTypes.Requireable<string>;
|
|
36
|
+
label: PropTypes.Requireable<string>;
|
|
37
|
+
content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
38
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
39
|
+
tooltipText: PropTypes.Requireable<string>;
|
|
40
|
+
tooltipPlacement: PropTypes.Requireable<string>;
|
|
41
|
+
'data-name': PropTypes.Requireable<string>;
|
|
42
|
+
'data-testid': PropTypes.Requireable<string>;
|
|
43
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
44
|
+
position: PropTypes.Requireable<string>;
|
|
45
|
+
type: PropTypes.Requireable<string>;
|
|
46
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
47
|
+
name: PropTypes.Validator<string>;
|
|
48
|
+
color: PropTypes.Requireable<string>;
|
|
49
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
50
|
+
size: PropTypes.Requireable<number>;
|
|
51
|
+
customStyle: PropTypes.Requireable<{
|
|
52
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
}>>;
|
|
55
|
+
}>>;
|
|
56
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
57
|
+
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
58
|
+
href: PropTypes.Requireable<string>;
|
|
59
|
+
download: PropTypes.Requireable<boolean>;
|
|
60
|
+
target: PropTypes.Requireable<string>;
|
|
61
|
+
}>>;
|
|
62
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
63
|
+
hoverColor: PropTypes.Requireable<string>;
|
|
64
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
65
|
+
className: PropTypes.Requireable<string>;
|
|
66
|
+
customStyle: PropTypes.Requireable<{
|
|
67
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
68
|
+
}>;
|
|
69
|
+
}>>;
|
|
70
|
+
};
|
|
71
|
+
export default IconEditorPropTypes;
|
|
72
|
+
export declare type IconEditorProps = {
|
|
73
|
+
iconPreview: IconPreviewProps;
|
|
74
|
+
inputText: React.ComponentProps<typeof InputText>;
|
|
75
|
+
buttonLink?: ButtonLinkProps;
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/icon-editor/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AAEnE,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAE7D,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAC;AAEF,eAAe,mBAAmB,CAAC;AAEnC,oBAAY,eAAe,GAAG;IAC5B,WAAW,EAAE,gBAAgB,CAAC;IAC9B,SAAS,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;IAClD,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import IconPreview from '../../molecule/icon-preview';
|
|
3
|
+
import InputText from '../../atom/input-text';
|
|
4
|
+
import ButtonLink from '../../atom/button-link';
|
|
5
|
+
const IconEditorPropTypes = {
|
|
6
|
+
iconPreview: PropTypes.shape(IconPreview.propTypes),
|
|
7
|
+
inputText: PropTypes.shape(InputText.propTypes),
|
|
8
|
+
buttonLink: PropTypes.shape(ButtonLink.propTypes)
|
|
9
|
+
};
|
|
10
|
+
export default IconEditorPropTypes;
|
|
11
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","names":["PropTypes","IconPreview","InputText","ButtonLink","IconEditorPropTypes","iconPreview","shape","propTypes","inputText","buttonLink"],"sources":["../../../src/organism/icon-editor/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {IconPreviewProps} from '../../molecule/icon-preview/types';\nimport IconPreview from '../../molecule/icon-preview';\nimport InputText from '../../atom/input-text';\nimport ButtonLink from '../../atom/button-link';\nimport {ButtonLinkProps} from '../../atom/button-link/types';\n\nconst IconEditorPropTypes = {\n iconPreview: PropTypes.shape(IconPreview.propTypes),\n inputText: PropTypes.shape(InputText.propTypes),\n buttonLink: PropTypes.shape(ButtonLink.propTypes)\n};\n\nexport default IconEditorPropTypes;\n\nexport type IconEditorProps = {\n iconPreview: IconPreviewProps;\n inputText: React.ComponentProps<typeof InputText>;\n buttonLink?: ButtonLinkProps;\n};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAElC,OAAOC,WAAW,MAAM,6BAA6B;AACrD,OAAOC,SAAS,MAAM,uBAAuB;AAC7C,OAAOC,UAAU,MAAM,wBAAwB;AAG/C,MAAMC,mBAAmB,GAAG;EAC1BC,WAAW,EAAEL,SAAS,CAACM,KAAK,CAACL,WAAW,CAACM,SAAS,CAAC;EACnDC,SAAS,EAAER,SAAS,CAACM,KAAK,CAACJ,SAAS,CAACK,SAAS,CAAC;EAC/CE,UAAU,EAAET,SAAS,CAACM,KAAK,CAACH,UAAU,CAACI,SAAS;AAClD,CAAC;AAED,eAAeH,mBAAmB","ignoreList":[]}
|