@coorpacademy/components 11.34.4-alpha.3 → 11.34.4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/skill-edition/index.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAOnC,OAAkB,EAAC,iBAAiB,EAAyB,MAAM,SAAS,CAAC;AAmI7E,QAAA,MAAM,YAAY;YAAW,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkB7C,CAAC;AAIF,eAAe,YAAY,CAAC"}
@@ -10,120 +10,6 @@ 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: {
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
- },
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
- };
127
13
  const SkillEdition = props => {
128
14
  const {
129
15
  skillInformations,
@@ -132,7 +18,11 @@ const SkillEdition = props => {
132
18
  } = props;
133
19
  return /*#__PURE__*/_react.default.createElement("div", {
134
20
  className: _style.default.container
135
- }, /*#__PURE__*/_react.default.createElement(SkillInformations, skillInformations), /*#__PURE__*/_react.default.createElement(_listItems.default, translations), /*#__PURE__*/_react.default.createElement("div", {
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", {
136
26
  className: _style.default.contentContainer
137
27
  }, /*#__PURE__*/_react.default.createElement(_title.default, content.title), /*#__PURE__*/_react.default.createElement(_listItems.default, content.listContent)));
138
28
  };
@@ -1 +1 @@
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: {\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: {borderRadius: '12px', padding: '0 8px 0 16px', fontWeight: '500'}\n },\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;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,cAAc,GAAGA,CACrBC,KAEwD,EACxDC,IAAyB,KACtB;EACH,OAAO;IACL,GAAGD,KAAK;IACRC,IAAI;IACJC,KAAK,EAAE,cAAc;IACrBC,IAAI,EAAE;EACR,CAAC;AACH,CAAC;AAED,MAAMC,uBAAuB,GAAGA,CAAC;EAC/BC,KAAK;EACLC,QAAQ;EACRC,QAAQ,GAAG,KAAK;EAChBC,QAAQ;EACRC;AAOF,CAAC,KAAK;EACJ,OAAO;IACLJ,KAAK,EAAE;MACLJ,IAAI,EAAE,YAAY;MAClBI,KAAK;MACLC,QAAQ;MACRI,S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MAAA,CAAAW,OAAA,CAAAwC,aAAA,CAAC7C,cAAA,CAAAK,OAAa,EAAKsB,eAAkB,CAClC,CACF,CAAC;AAEV,CAAC;AAED,MAAMsB,YAAY,GAAIC,KAAwB,IAAK;EACjD,MAAM;IAAC7B,iBAAiB;IAAE8B,YAAY;IAAEC;EAAO,CAAC,GAAGF,KAAK;EAExD,oBACExD,MAAA,CAAAW,OAAA,CAAAwC,aAAA;IAAKC,SAAS,EAAEC,cAAK,CAACM;EAAU,gBAC9B3D,MAAA,CAAAW,OAAA,CAAAwC,aAAA,CAACzB,iBAAiB,EAAKC,iBAAoB,CAAC,eAC5C3B,MAAA,CAAAW,OAAA,CAAAwC,aAAA,CAAC/C,UAAA,CAAAO,OAAS,EAAK8C,YAAe,CAAC,eAC/BzD,MAAA,CAAAW,OAAA,CAAAwC,aAAA;IAAKC,SAAS,EAAEC,cAAK,CAACO;EAAiB,gBACrC5D,MAAA,CAAAW,OAAA,CAAAwC,aAAA,CAAC9C,MAAA,CAAAM,OAAK,EAAK+C,OAAO,CAACxC,KAAQ,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":[]}
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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