@coorpacademy/components 11.34.4 → 11.34.5-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/es/organism/icon-editor/index.d.ts +4 -4
  2. package/es/organism/icon-editor/index.d.ts.map +1 -1
  3. package/es/organism/icon-editor/index.js +12 -17
  4. package/es/organism/icon-editor/index.js.map +1 -1
  5. package/es/organism/icon-editor/types.d.ts +4 -4
  6. package/es/organism/icon-editor/types.js +2 -2
  7. package/es/organism/icon-editor/types.js.map +1 -1
  8. package/es/organism/skill-edition/index.d.ts +1065 -1383
  9. package/es/organism/skill-edition/index.d.ts.map +1 -1
  10. package/es/organism/skill-edition/index.js +115 -5
  11. package/es/organism/skill-edition/index.js.map +1 -1
  12. package/es/organism/skill-edition/style.css +2 -1
  13. package/es/organism/skill-edition/types.d.ts +87 -371
  14. package/es/organism/skill-edition/types.d.ts.map +1 -1
  15. package/es/organism/skill-edition/types.js +39 -4
  16. package/es/organism/skill-edition/types.js.map +1 -1
  17. package/es/organism/title-and-input/index.d.ts +4 -4
  18. package/es/organism/title-and-input/types.d.ts +4 -4
  19. package/es/template/back-office/brand-update/index.d.ts +55 -368
  20. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  21. package/es/template/back-office/brand-update/index.js +17 -6
  22. package/es/template/back-office/brand-update/index.js.map +1 -1
  23. package/lib/organism/icon-editor/index.d.ts +4 -4
  24. package/lib/organism/icon-editor/index.d.ts.map +1 -1
  25. package/lib/organism/icon-editor/index.js +12 -17
  26. package/lib/organism/icon-editor/index.js.map +1 -1
  27. package/lib/organism/icon-editor/types.d.ts +4 -4
  28. package/lib/organism/icon-editor/types.js +2 -2
  29. package/lib/organism/icon-editor/types.js.map +1 -1
  30. package/lib/organism/skill-edition/index.d.ts +1065 -1383
  31. package/lib/organism/skill-edition/index.d.ts.map +1 -1
  32. package/lib/organism/skill-edition/index.js +115 -5
  33. package/lib/organism/skill-edition/index.js.map +1 -1
  34. package/lib/organism/skill-edition/style.css +2 -1
  35. package/lib/organism/skill-edition/types.d.ts +87 -371
  36. package/lib/organism/skill-edition/types.d.ts.map +1 -1
  37. package/lib/organism/skill-edition/types.js +39 -4
  38. package/lib/organism/skill-edition/types.js.map +1 -1
  39. package/lib/organism/title-and-input/index.d.ts +4 -4
  40. package/lib/organism/title-and-input/types.d.ts +4 -4
  41. package/lib/template/back-office/brand-update/index.d.ts +55 -368
  42. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  43. package/lib/template/back-office/brand-update/index.js +17 -6
  44. package/lib/template/back-office/brand-update/index.js.map +1 -1
  45. package/locales/.mtslconfig.json +1 -0
  46. package/package.json +2 -2
  47. package/es/util/validate-color.d.ts +0 -2
  48. package/es/util/validate-color.d.ts.map +0 -1
  49. package/es/util/validate-color.js +0 -10
  50. package/es/util/validate-color.js.map +0 -1
  51. package/lib/util/validate-color.d.ts +0 -2
  52. package/lib/util/validate-color.d.ts.map +0 -1
  53. package/lib/util/validate-color.js +0 -16
  54. package/lib/util/validate-color.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/skill-edition/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAC;AAGrD,QAAA,MAAM,YAAY;YAAW,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa7C,CAAC;AAIF,eAAe,YAAY,CAAC"}
@@ -10,6 +10,120 @@ var _titleAndInput = _interopRequireDefault(require("../title-and-input"));
10
10
  var _types = _interopRequireDefault(require("./types"));
11
11
  var _style = _interopRequireDefault(require("./style.css"));
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
+ const buildFormField = (field, type) => {
14
+ return {
15
+ ...field,
16
+ type,
17
+ theme: 'coorpmanager',
18
+ size: 'large'
19
+ };
20
+ };
21
+ const buildTitleAndInputField = ({
22
+ title,
23
+ subtitle,
24
+ required = false,
25
+ dataName,
26
+ childType
27
+ }) => {
28
+ return {
29
+ title: {
30
+ type: 'form-group',
31
+ title,
32
+ subtitle,
33
+ titleSize: 'small-and-light',
34
+ subtitleSize: subtitle ? 'standard-without-margin' : undefined,
35
+ required,
36
+ 'data-name': dataName
37
+ },
38
+ childType,
39
+ type: 'titleAndInput'
40
+ };
41
+ };
42
+ const SkillInformations = skillInformations => {
43
+ const {
44
+ form,
45
+ iconEditor
46
+ } = skillInformations;
47
+ const {
48
+ select,
49
+ inputTextArea,
50
+ inputText
51
+ } = form;
52
+ const iconEditorProps = {
53
+ title: {
54
+ type: 'form-group',
55
+ title: iconEditor.title,
56
+ titleSize: 'small-and-light',
57
+ required: true
58
+ },
59
+ field: {
60
+ iconPreview: iconEditor.iconPreview,
61
+ inputText: iconEditor.inputText,
62
+ buttonLink: iconEditor.buttonLink ? {
63
+ type: 'secondary',
64
+ label: iconEditor.buttonLink.label,
65
+ ariaLabel: iconEditor.buttonLink.ariaLabel,
66
+ dataName: 'open-icon-modal-button',
67
+ icon: {
68
+ position: 'left',
69
+ faIcon: {
70
+ name: 'arrows-rotate',
71
+ size: 16
72
+ }
73
+ },
74
+ onClick: iconEditor.buttonLink.onClick,
75
+ customStyle: {
76
+ borderRadius: '12px',
77
+ padding: '0 8px 0 16px',
78
+ fontWeight: '500'
79
+ }
80
+ } : undefined,
81
+ size: 'large'
82
+ },
83
+ childType: 'iconEditor'
84
+ };
85
+ const fields = [{
86
+ ...buildTitleAndInputField({
87
+ title: select.title,
88
+ subtitle: select.subtitle,
89
+ required: true,
90
+ dataName: select['data-name'],
91
+ childType: 'select'
92
+ }),
93
+ field: {
94
+ options: select.field.options,
95
+ 'aria-label': select.field['aria-label'],
96
+ onChange: select.field.onChange,
97
+ theme: 'skillDetail',
98
+ size: 'large'
99
+ }
100
+ }, {
101
+ ...buildTitleAndInputField({
102
+ title: inputText.title,
103
+ required: true,
104
+ childType: 'inputText'
105
+ }),
106
+ field: buildFormField(inputText.field, 'text')
107
+ }, {
108
+ ...buildTitleAndInputField({
109
+ title: inputTextArea.title,
110
+ childType: 'inputTextArea'
111
+ }),
112
+ field: buildFormField(inputTextArea.field, 'textarea')
113
+ }];
114
+ const formProps = {
115
+ title: form.title,
116
+ subtitle: form.subtitle,
117
+ titleSize: 'xl-strong',
118
+ subtitleSize: 'medium',
119
+ fields
120
+ };
121
+ return /*#__PURE__*/_react.default.createElement("div", {
122
+ className: _style.default.skillInformationsContainer
123
+ }, /*#__PURE__*/_react.default.createElement(_brandFormGroup.default, formProps), /*#__PURE__*/_react.default.createElement("div", {
124
+ className: _style.default.iconEditor
125
+ }, /*#__PURE__*/_react.default.createElement(_titleAndInput.default, iconEditorProps)));
126
+ };
13
127
  const SkillEdition = props => {
14
128
  const {
15
129
  skillInformations,
@@ -18,11 +132,7 @@ const SkillEdition = props => {
18
132
  } = props;
19
133
  return /*#__PURE__*/_react.default.createElement("div", {
20
134
  className: _style.default.container
21
- }, /*#__PURE__*/_react.default.createElement("div", {
22
- className: _style.default.skillInformationsContainer
23
- }, /*#__PURE__*/_react.default.createElement(_brandFormGroup.default, skillInformations.form), /*#__PURE__*/_react.default.createElement("div", {
24
- className: _style.default.iconEditor
25
- }, /*#__PURE__*/_react.default.createElement(_titleAndInput.default, skillInformations.iconEditor))), /*#__PURE__*/_react.default.createElement(_listItems.default, translations), /*#__PURE__*/_react.default.createElement("div", {
135
+ }, /*#__PURE__*/_react.default.createElement(SkillInformations, skillInformations), /*#__PURE__*/_react.default.createElement(_listItems.default, translations), /*#__PURE__*/_react.default.createElement("div", {
26
136
  className: _style.default.contentContainer
27
137
  }, /*#__PURE__*/_react.default.createElement(_title.default, content.title), /*#__PURE__*/_react.default.createElement(_listItems.default, content.listContent)));
28
138
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_brandFormGroup","_listItems","_title","_titleAndInput","_types","_style","e","__esModule","default","SkillEdition","props","skillInformations","translations","content","createElement","className","style","container","skillInformationsContainer","form","iconEditor","contentContainer","title","listContent","propTypes","process","env","NODE_ENV","_default","exports"],"sources":["../../../src/organism/skill-edition/index.tsx"],"sourcesContent":["import React from 'react';\nimport BrandFormGroup from '../../molecule/brand-form-group';\nimport ListItems from '../list-items';\nimport Title from '../../atom/title';\nimport TitleAndInput from '../title-and-input';\nimport propTypes, {SkillEditionProps} from './types';\nimport style from './style.css';\n\nconst SkillEdition = (props: SkillEditionProps) => {\n const {skillInformations, translations, content} = props;\n\n return (\n <div className={style.container}>\n <div className={style.skillInformationsContainer}>\n <BrandFormGroup {...skillInformations.form} />\n <div className={style.iconEditor}>\n <TitleAndInput {...skillInformations.iconEditor} />\n </div>\n </div>\n <ListItems {...translations} />\n <div className={style.contentContainer}>\n <Title {...content.title} />\n <ListItems {...content.listContent} />\n </div>\n </div>\n );\n};\n\nSkillEdition.propTypes = propTypes;\n\nexport default SkillEdition;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,UAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,MAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,cAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,MAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,MAAA,GAAAP,sBAAA,CAAAC,OAAA;AAAgC,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhC,MAAMG,YAAY,GAAIC,KAAwB,IAAK;EACjD,MAAM;IAACC,iBAAiB;IAAEC,YAAY;IAAEC;EAAO,CAAC,GAAGH,KAAK;EAExD,oBACEb,MAAA,CAAAW,OAAA,CAAAM,aAAA;IAAKC,SAAS,EAAEC,cAAK,CAACC;EAAU,gBAC9BpB,MAAA,CAAAW,OAAA,CAAAM,aAAA;IAAKC,SAAS,EAAEC,cAAK,CAACE;EAA2B,gBAC/CrB,MAAA,CAAAW,OAAA,CAAAM,aAAA,CAACd,eAAA,CAAAQ,OAAc,EAAKG,iBAAiB,CAACQ,IAAO,CAAC,eAC9CtB,MAAA,CAAAW,OAAA,CAAAM,aAAA;IAAKC,SAAS,EAAEC,cAAK,CAACI;EAAW,gBAC/BvB,MAAA,CAAAW,OAAA,CAAAM,aAAA,CAACX,cAAA,CAAAK,OAAa,EAAKG,iBAAiB,CAACS,UAAa,CAC/C,CACF,CAAC,eACNvB,MAAA,CAAAW,OAAA,CAAAM,aAAA,CAACb,UAAA,CAAAO,OAAS,EAAKI,YAAe,CAAC,eAC/Bf,MAAA,CAAAW,OAAA,CAAAM,aAAA;IAAKC,SAAS,EAAEC,cAAK,CAACK;EAAiB,gBACrCxB,MAAA,CAAAW,OAAA,CAAAM,aAAA,CAACZ,MAAA,CAAAM,OAAK,EAAKK,OAAO,CAACS,KAAQ,CAAC,eAC5BzB,MAAA,CAAAW,OAAA,CAAAM,aAAA,CAACb,UAAA,CAAAO,OAAS,EAAKK,OAAO,CAACU,WAAc,CAClC,CACF,CAAC;AAEV,CAAC;AAEDd,YAAY,CAACe,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,cAAS;AAAC,IAAAI,QAAA,GAAAC,OAAA,CAAArB,OAAA,GAEpBC,YAAY","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_brandFormGroup","_listItems","_title","_titleAndInput","_types","_style","e","__esModule","default","buildFormField","field","type","theme","size","buildTitleAndInputField","title","subtitle","required","dataName","childType","titleSize","subtitleSize","undefined","SkillInformations","skillInformations","form","iconEditor","select","inputTextArea","inputText","iconEditorProps","iconPreview","buttonLink","label","ariaLabel","icon","position","faIcon","name","onClick","customStyle","borderRadius","padding","fontWeight","fields","options","onChange","formProps","createElement","className","style","skillInformationsContainer","SkillEdition","props","translations","content","container","contentContainer","listContent","propTypes","process","env","NODE_ENV","_default","exports"],"sources":["../../../src/organism/skill-edition/index.tsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport BrandFormGroup from '../../molecule/brand-form-group';\nimport ListItems from '../list-items';\nimport Title from '../../atom/title';\nimport TitleAndInput from '../title-and-input';\nimport InputText from '../../atom/input-text';\nimport InputTextarea from '../../atom/input-textarea';\nimport propTypes, {SkillEditionProps, SkillInformationsProps} from './types';\nimport style from './style.css';\n\nconst buildFormField = (\n field:\n | PropTypes.InferProps<typeof InputText.propTypes>\n | PropTypes.InferProps<typeof InputTextarea.propTypes>,\n type: 'text' | 'textarea'\n) => {\n return {\n ...field,\n type,\n theme: 'coorpmanager',\n size: 'large'\n };\n};\n\nconst buildTitleAndInputField = ({\n title,\n subtitle,\n required = false,\n dataName,\n childType\n}: {\n title: string;\n subtitle?: string;\n required?: boolean;\n dataName?: string;\n childType: string;\n}) => {\n return {\n title: {\n type: 'form-group',\n title,\n subtitle,\n titleSize: 'small-and-light',\n subtitleSize: subtitle ? 'standard-without-margin' : undefined,\n required,\n 'data-name': dataName\n },\n childType,\n type: 'titleAndInput'\n };\n};\n\nconst SkillInformations = (skillInformations: SkillInformationsProps) => {\n const {form, iconEditor} = skillInformations;\n const {select, inputTextArea, inputText} = form;\n\n const iconEditorProps = {\n title: {\n type: 'form-group',\n title: iconEditor.title,\n titleSize: 'small-and-light',\n required: true\n },\n field: {\n iconPreview: iconEditor.iconPreview,\n inputText: iconEditor.inputText,\n buttonLink: iconEditor.buttonLink\n ? {\n type: 'secondary',\n label: iconEditor.buttonLink.label,\n ariaLabel: iconEditor.buttonLink.ariaLabel,\n dataName: 'open-icon-modal-button',\n icon: {\n position: 'left',\n faIcon: {\n name: 'arrows-rotate',\n size: 16\n }\n },\n onClick: iconEditor.buttonLink.onClick,\n customStyle: {\n borderRadius: '12px',\n padding: '0 8px 0 16px',\n fontWeight: '500'\n }\n }\n : undefined,\n size: 'large'\n },\n childType: 'iconEditor'\n };\n\n const fields = [\n {\n ...buildTitleAndInputField({\n title: select.title,\n subtitle: select.subtitle,\n required: true,\n dataName: select['data-name'],\n childType: 'select'\n }),\n field: {\n options: select.field.options,\n 'aria-label': select.field['aria-label'],\n onChange: select.field.onChange,\n theme: 'skillDetail',\n size: 'large'\n }\n },\n {\n ...buildTitleAndInputField({\n title: inputText.title,\n required: true,\n childType: 'inputText'\n }),\n field: buildFormField(inputText.field, 'text')\n },\n {\n ...buildTitleAndInputField({\n title: inputTextArea.title,\n childType: 'inputTextArea'\n }),\n field: buildFormField(inputTextArea.field, 'textarea')\n }\n ];\n\n const formProps = {\n title: form.title,\n subtitle: form.subtitle,\n titleSize: 'xl-strong',\n subtitleSize: 'medium',\n fields\n };\n\n return (\n <div className={style.skillInformationsContainer}>\n <BrandFormGroup {...formProps} />\n <div className={style.iconEditor}>\n <TitleAndInput {...iconEditorProps} />\n </div>\n </div>\n );\n};\n\nconst SkillEdition = (props: SkillEditionProps) => {\n const {skillInformations, translations, content} = props;\n\n return (\n <div className={style.container}>\n <SkillInformations {...skillInformations} />\n <ListItems {...translations} />\n <div className={style.contentContainer}>\n <Title {...content.title} />\n <ListItems {...content.listContent} />\n </div>\n </div>\n );\n};\n\nSkillEdition.propTypes = propTypes;\n\nexport default SkillEdition;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,UAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,MAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,cAAA,GAAAL,sBAAA,CAAAC,OAAA;AAGA,IAAAK,MAAA,GAAAN,sBAAA,CAAAC,OAAA;AAC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,CAAC,eAC5BlB,MAAA,CAAAW,OAAA,CAAAwC,aAAA,CAAC/C,UAAA,CAAAO,OAAS,EAAK+C,OAAO,CAACG,WAAc,CAClC,CACF,CAAC;AAEV,CAAC;AAEDN,YAAY,CAACO,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,cAAS;AAAC,IAAAI,QAAA,GAAAC,OAAA,CAAAxD,OAAA,GAEpB4C,YAAY","ignoreList":[]}
@@ -9,11 +9,12 @@
9
9
  .skillInformationsContainer {
10
10
  display: flex;
11
11
  gap: 96px;
12
- align-items: center;
13
12
  }
14
13
 
15
14
  .iconEditor {
16
15
  min-width: 420px;
16
+ min-height: 300px;
17
+ margin-top: 88px;
17
18
  }
18
19
 
19
20
  .contentContainer {