@coorpacademy/components 11.9.2-alpha.1 → 11.9.2

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 (98) hide show
  1. package/es/atom/drag-and-drop/style.css +14 -9
  2. package/es/atom/image-upload/index.d.ts +6 -1
  3. package/es/atom/image-upload/index.d.ts.map +1 -1
  4. package/es/atom/image-upload/index.js +24 -4
  5. package/es/atom/image-upload/index.js.map +1 -1
  6. package/es/atom/image-upload/style.css +7 -0
  7. package/es/atom/review-presentation/index.d.ts.map +1 -1
  8. package/es/atom/review-presentation/index.js +62 -12
  9. package/es/atom/review-presentation/index.js.map +1 -1
  10. package/es/atom/review-presentation/style.css +67 -7
  11. package/es/atom/title/index.d.ts +1 -0
  12. package/es/atom/title/index.d.ts.map +1 -1
  13. package/es/atom/title/index.js +14 -5
  14. package/es/atom/title/index.js.map +1 -1
  15. package/es/atom/title/style.css +6 -0
  16. package/es/molecule/brand-form-group/index.d.ts +5 -0
  17. package/es/molecule/brand-form-group/index.d.ts.map +1 -1
  18. package/es/molecule/brand-form-group/index.js +4 -1
  19. package/es/molecule/brand-form-group/index.js.map +1 -1
  20. package/es/molecule/brand-form-group/style.css +9 -10
  21. package/es/molecule/drag-and-drop-wrapper/index.d.ts +2 -0
  22. package/es/molecule/setup-slide/index.d.ts +2 -0
  23. package/es/molecule/setup-slider/index.d.ts +2 -0
  24. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +3 -0
  25. package/es/organism/brand-form/index.d.ts +5 -0
  26. package/es/organism/rewards-form/index.d.ts +3 -0
  27. package/es/organism/wizard-contents/index.d.ts +8 -0
  28. package/es/template/activity/engine-stars.css +33 -16
  29. package/es/template/activity/engine-stars.d.ts +17 -15
  30. package/es/template/activity/engine-stars.d.ts.map +1 -1
  31. package/es/template/activity/engine-stars.js +115 -128
  32. package/es/template/activity/engine-stars.js.map +1 -1
  33. package/es/template/activity/index.d.ts +0 -1
  34. package/es/template/activity/index.d.ts.map +1 -1
  35. package/es/template/activity/index.js +9 -18
  36. package/es/template/activity/index.js.map +1 -1
  37. package/es/template/activity/progression-item.js +1 -1
  38. package/es/template/activity/progression-item.js.map +1 -1
  39. package/es/template/activity/stars-summary.d.ts +0 -1
  40. package/es/template/activity/stars-summary.d.ts.map +1 -1
  41. package/es/template/activity/stars-summary.js +5 -10
  42. package/es/template/activity/stars-summary.js.map +1 -1
  43. package/es/template/back-office/brand-update/index.d.ts +13 -0
  44. package/lib/atom/drag-and-drop/style.css +14 -9
  45. package/lib/atom/image-upload/index.d.ts +6 -1
  46. package/lib/atom/image-upload/index.d.ts.map +1 -1
  47. package/lib/atom/image-upload/index.js +25 -4
  48. package/lib/atom/image-upload/index.js.map +1 -1
  49. package/lib/atom/image-upload/style.css +7 -0
  50. package/lib/atom/review-presentation/index.d.ts.map +1 -1
  51. package/lib/atom/review-presentation/index.js +66 -13
  52. package/lib/atom/review-presentation/index.js.map +1 -1
  53. package/lib/atom/review-presentation/style.css +67 -7
  54. package/lib/atom/title/index.d.ts +1 -0
  55. package/lib/atom/title/index.d.ts.map +1 -1
  56. package/lib/atom/title/index.js +14 -5
  57. package/lib/atom/title/index.js.map +1 -1
  58. package/lib/atom/title/style.css +6 -0
  59. package/lib/molecule/brand-form-group/index.d.ts +5 -0
  60. package/lib/molecule/brand-form-group/index.d.ts.map +1 -1
  61. package/lib/molecule/brand-form-group/index.js +4 -1
  62. package/lib/molecule/brand-form-group/index.js.map +1 -1
  63. package/lib/molecule/brand-form-group/style.css +9 -10
  64. package/lib/molecule/drag-and-drop-wrapper/index.d.ts +2 -0
  65. package/lib/molecule/setup-slide/index.d.ts +2 -0
  66. package/lib/molecule/setup-slider/index.d.ts +2 -0
  67. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +3 -0
  68. package/lib/organism/brand-form/index.d.ts +5 -0
  69. package/lib/organism/rewards-form/index.d.ts +3 -0
  70. package/lib/organism/wizard-contents/index.d.ts +8 -0
  71. package/lib/template/activity/engine-stars.css +33 -16
  72. package/lib/template/activity/engine-stars.d.ts +17 -15
  73. package/lib/template/activity/engine-stars.d.ts.map +1 -1
  74. package/lib/template/activity/engine-stars.js +116 -135
  75. package/lib/template/activity/engine-stars.js.map +1 -1
  76. package/lib/template/activity/index.d.ts +0 -1
  77. package/lib/template/activity/index.d.ts.map +1 -1
  78. package/lib/template/activity/index.js +9 -21
  79. package/lib/template/activity/index.js.map +1 -1
  80. package/lib/template/activity/progression-item.js +1 -1
  81. package/lib/template/activity/progression-item.js.map +1 -1
  82. package/lib/template/activity/stars-summary.d.ts +0 -1
  83. package/lib/template/activity/stars-summary.d.ts.map +1 -1
  84. package/lib/template/activity/stars-summary.js +5 -10
  85. package/lib/template/activity/stars-summary.js.map +1 -1
  86. package/lib/template/back-office/brand-update/index.d.ts +13 -0
  87. package/locales/en/global.json +0 -1
  88. package/package.json +3 -4
  89. package/es/atom/tooltip/index.d.ts +0 -22
  90. package/es/atom/tooltip/index.d.ts.map +0 -1
  91. package/es/atom/tooltip/index.js +0 -117
  92. package/es/atom/tooltip/index.js.map +0 -1
  93. package/es/atom/tooltip/style.css +0 -96
  94. package/lib/atom/tooltip/index.d.ts +0 -22
  95. package/lib/atom/tooltip/index.d.ts.map +0 -1
  96. package/lib/atom/tooltip/index.js +0 -137
  97. package/lib/atom/tooltip/index.js.map +0 -1
  98. package/lib/atom/tooltip/style.css +0 -96
@@ -21,13 +21,20 @@ const getTitleStype = type => {
21
21
  }
22
22
  };
23
23
 
24
- const getSubtitleStype = type => {
24
+ const getSubtitleStype = (type, size) => {
25
25
  switch (type) {
26
26
  case 'page':
27
27
  return _style.default.subtitlePage;
28
28
 
29
29
  case 'form-group':
30
- return _style.default.subtitleFormGroup;
30
+ switch (size) {
31
+ case 'standard':
32
+ return _style.default.subtitleFormGroup;
33
+
34
+ case 'small':
35
+ return _style.default.smallSubtitleFormGroup;
36
+ }
37
+
31
38
  }
32
39
  };
33
40
 
@@ -36,10 +43,11 @@ const Title = props => {
36
43
  title,
37
44
  subtitle,
38
45
  type,
39
- 'data-name': dataName
46
+ 'data-name': dataName,
47
+ subtitleSize = 'standard'
40
48
  } = props;
41
49
  const titleStyle = getTitleStype(type);
42
- const subtitleStyle = getSubtitleStype(type);
50
+ const subtitleStyle = getSubtitleStype(type, subtitleSize);
43
51
  const subtitleSection = subtitle ? /*#__PURE__*/_react.default.createElement("div", {
44
52
  className: subtitleStyle
45
53
  }, subtitle) : null;
@@ -53,7 +61,8 @@ Title.propTypes = process.env.NODE_ENV !== "production" ? {
53
61
  title: _propTypes.default.string,
54
62
  subtitle: _propTypes.default.string,
55
63
  type: _propTypes.default.oneOf(['page', 'form-group']),
56
- 'data-name': _propTypes.default.string
64
+ 'data-name': _propTypes.default.string,
65
+ subtitleSize: _propTypes.default.string
57
66
  } : {};
58
67
  var _default = Title;
59
68
  exports.default = _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["getTitleStype","type","style","titlePage","titleFormGroup","getSubtitleStype","subtitlePage","subtitleFormGroup","Title","props","title","subtitle","dataName","titleStyle","subtitleStyle","subtitleSection","propTypes","PropTypes","string","oneOf"],"sources":["../../../src/atom/title/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './style.css';\n\nconst getTitleStype = type => {\n switch (type) {\n case 'page':\n return style.titlePage;\n case 'form-group':\n return style.titleFormGroup;\n }\n};\n\nconst getSubtitleStype = type => {\n switch (type) {\n case 'page':\n return style.subtitlePage;\n case 'form-group':\n return style.subtitleFormGroup;\n }\n};\n\nconst Title = props => {\n const {title, subtitle, type, 'data-name': dataName} = props;\n const titleStyle = getTitleStype(type);\n const subtitleStyle = getSubtitleStype(type);\n\n const subtitleSection = subtitle ? <div className={subtitleStyle}>{subtitle}</div> : null;\n\n return (\n <div>\n <div className={titleStyle} data-name={dataName}>\n {title}\n </div>\n {subtitleSection}\n </div>\n );\n};\n\nTitle.propTypes = {\n title: PropTypes.string,\n subtitle: PropTypes.string,\n type: PropTypes.oneOf(['page', 'form-group']),\n 'data-name': PropTypes.string\n};\nexport default Title;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;;;AAEA,MAAMA,aAAa,GAAGC,IAAI,IAAI;EAC5B,QAAQA,IAAR;IACE,KAAK,MAAL;MACE,OAAOC,cAAA,CAAMC,SAAb;;IACF,KAAK,YAAL;MACE,OAAOD,cAAA,CAAME,cAAb;EAJJ;AAMD,CAPD;;AASA,MAAMC,gBAAgB,GAAGJ,IAAI,IAAI;EAC/B,QAAQA,IAAR;IACE,KAAK,MAAL;MACE,OAAOC,cAAA,CAAMI,YAAb;;IACF,KAAK,YAAL;MACE,OAAOJ,cAAA,CAAMK,iBAAb;EAJJ;AAMD,CAPD;;AASA,MAAMC,KAAK,GAAGC,KAAK,IAAI;EACrB,MAAM;IAACC,KAAD;IAAQC,QAAR;IAAkBV,IAAlB;IAAwB,aAAaW;EAArC,IAAiDH,KAAvD;EACA,MAAMI,UAAU,GAAGb,aAAa,CAACC,IAAD,CAAhC;EACA,MAAMa,aAAa,GAAGT,gBAAgB,CAACJ,IAAD,CAAtC;EAEA,MAAMc,eAAe,GAAGJ,QAAQ,gBAAG;IAAK,SAAS,EAAEG;EAAhB,GAAgCH,QAAhC,CAAH,GAAqD,IAArF;EAEA,oBACE,uDACE;IAAK,SAAS,EAAEE,UAAhB;IAA4B,aAAWD;EAAvC,GACGF,KADH,CADF,EAIGK,eAJH,CADF;AAQD,CAfD;;AAiBAP,KAAK,CAACQ,SAAN,2CAAkB;EAChBN,KAAK,EAAEO,kBAAA,CAAUC,MADD;EAEhBP,QAAQ,EAAEM,kBAAA,CAAUC,MAFJ;EAGhBjB,IAAI,EAAEgB,kBAAA,CAAUE,KAAV,CAAgB,CAAC,MAAD,EAAS,YAAT,CAAhB,CAHU;EAIhB,aAAaF,kBAAA,CAAUC;AAJP,CAAlB;eAMeV,K"}
1
+ {"version":3,"file":"index.js","names":["getTitleStype","type","style","titlePage","titleFormGroup","getSubtitleStype","size","subtitlePage","subtitleFormGroup","smallSubtitleFormGroup","Title","props","title","subtitle","dataName","subtitleSize","titleStyle","subtitleStyle","subtitleSection","propTypes","PropTypes","string","oneOf"],"sources":["../../../src/atom/title/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './style.css';\n\nconst getTitleStype = type => {\n switch (type) {\n case 'page':\n return style.titlePage;\n case 'form-group':\n return style.titleFormGroup;\n }\n};\n\nconst getSubtitleStype = (type, size) => {\n switch (type) {\n case 'page':\n return style.subtitlePage;\n case 'form-group':\n switch (size) {\n case 'standard':\n return style.subtitleFormGroup;\n case 'small':\n return style.smallSubtitleFormGroup;\n }\n }\n};\n\nconst Title = props => {\n const {title, subtitle, type, 'data-name': dataName, subtitleSize = 'standard'} = props;\n const titleStyle = getTitleStype(type);\n const subtitleStyle = getSubtitleStype(type, subtitleSize);\n\n const subtitleSection = subtitle ? <div className={subtitleStyle}>{subtitle}</div> : null;\n\n return (\n <div>\n <div className={titleStyle} data-name={dataName}>\n {title}\n </div>\n {subtitleSection}\n </div>\n );\n};\n\nTitle.propTypes = {\n title: PropTypes.string,\n subtitle: PropTypes.string,\n type: PropTypes.oneOf(['page', 'form-group']),\n 'data-name': PropTypes.string,\n subtitleSize: PropTypes.string\n};\nexport default Title;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;;;AAEA,MAAMA,aAAa,GAAGC,IAAI,IAAI;EAC5B,QAAQA,IAAR;IACE,KAAK,MAAL;MACE,OAAOC,cAAA,CAAMC,SAAb;;IACF,KAAK,YAAL;MACE,OAAOD,cAAA,CAAME,cAAb;EAJJ;AAMD,CAPD;;AASA,MAAMC,gBAAgB,GAAG,CAACJ,IAAD,EAAOK,IAAP,KAAgB;EACvC,QAAQL,IAAR;IACE,KAAK,MAAL;MACE,OAAOC,cAAA,CAAMK,YAAb;;IACF,KAAK,YAAL;MACE,QAAQD,IAAR;QACE,KAAK,UAAL;UACE,OAAOJ,cAAA,CAAMM,iBAAb;;QACF,KAAK,OAAL;UACE,OAAON,cAAA,CAAMO,sBAAb;MAJJ;;EAJJ;AAWD,CAZD;;AAcA,MAAMC,KAAK,GAAGC,KAAK,IAAI;EACrB,MAAM;IAACC,KAAD;IAAQC,QAAR;IAAkBZ,IAAlB;IAAwB,aAAaa,QAArC;IAA+CC,YAAY,GAAG;EAA9D,IAA4EJ,KAAlF;EACA,MAAMK,UAAU,GAAGhB,aAAa,CAACC,IAAD,CAAhC;EACA,MAAMgB,aAAa,GAAGZ,gBAAgB,CAACJ,IAAD,EAAOc,YAAP,CAAtC;EAEA,MAAMG,eAAe,GAAGL,QAAQ,gBAAG;IAAK,SAAS,EAAEI;EAAhB,GAAgCJ,QAAhC,CAAH,GAAqD,IAArF;EAEA,oBACE,uDACE;IAAK,SAAS,EAAEG,UAAhB;IAA4B,aAAWF;EAAvC,GACGF,KADH,CADF,EAIGM,eAJH,CADF;AAQD,CAfD;;AAiBAR,KAAK,CAACS,SAAN,2CAAkB;EAChBP,KAAK,EAAEQ,kBAAA,CAAUC,MADD;EAEhBR,QAAQ,EAAEO,kBAAA,CAAUC,MAFJ;EAGhBpB,IAAI,EAAEmB,kBAAA,CAAUE,KAAV,CAAgB,CAAC,MAAD,EAAS,YAAT,CAAhB,CAHU;EAIhB,aAAaF,kBAAA,CAAUC,MAJP;EAKhBN,YAAY,EAAEK,kBAAA,CAAUC;AALR,CAAlB;eAOeX,K"}
@@ -41,3 +41,9 @@
41
41
  line-height: 20px;
42
42
  color: cm_grey_400;
43
43
  }
44
+
45
+
46
+ .smallSubtitleFormGroup{
47
+ composes: subtitleFormGroup;
48
+ max-width: 450px
49
+ }
@@ -4,6 +4,7 @@ declare namespace BrandFormGroup {
4
4
  namespace propTypes {
5
5
  const title: PropTypes.Requireable<string>;
6
6
  const subtitle: PropTypes.Requireable<string>;
7
+ const subtitleSize: PropTypes.Requireable<string>;
7
8
  const fieldsLayout: PropTypes.Requireable<string>;
8
9
  const groupLayout: PropTypes.Requireable<string>;
9
10
  const fields: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
@@ -129,6 +130,8 @@ declare namespace BrandFormGroup {
129
130
  error: PropTypes.Requireable<string>;
130
131
  buttonAriaLabel: PropTypes.Requireable<string>;
131
132
  errorButtonLabel: PropTypes.Requireable<string>;
133
+ labelLink: PropTypes.Requireable<string>;
134
+ hrefLink: PropTypes.Requireable<string>;
132
135
  title: PropTypes.Requireable<string>;
133
136
  description: PropTypes.Requireable<string>;
134
137
  uploadLabel: PropTypes.Requireable<string>;
@@ -242,6 +245,8 @@ declare namespace BrandFormGroup {
242
245
  error: PropTypes.Requireable<string>;
243
246
  buttonAriaLabel: PropTypes.Requireable<string>;
244
247
  errorButtonLabel: PropTypes.Requireable<string>;
248
+ labelLink: PropTypes.Requireable<string>;
249
+ hrefLink: PropTypes.Requireable<string>;
245
250
  title: PropTypes.Requireable<string>;
246
251
  description: PropTypes.Requireable<string>;
247
252
  uploadLabel: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/brand-form-group/index.js"],"names":[],"mappings":";AAmGA,yDAeC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/brand-form-group/index.js"],"names":[],"mappings":";AAmGA,yDAsBC"}
@@ -166,7 +166,8 @@ const BrandFormGroup = props => {
166
166
  subtitle = '',
167
167
  fieldsLayout = '',
168
168
  groupLayout = '',
169
- fields = []
169
+ fields = [],
170
+ subtitleSize = 'standard'
170
171
  } = props;
171
172
 
172
173
  const fieldsList = _map2.default.convert({
@@ -181,6 +182,7 @@ const BrandFormGroup = props => {
181
182
  }, /*#__PURE__*/_react.default.createElement(_title.default, {
182
183
  title: title,
183
184
  subtitle: subtitle,
185
+ subtitleSize: subtitleSize,
184
186
  type: 'form-group'
185
187
  })), /*#__PURE__*/_react.default.createElement("div", {
186
188
  className: fieldsLayout === 'grid' ? _style.default.grid : null
@@ -190,6 +192,7 @@ const BrandFormGroup = props => {
190
192
  BrandFormGroup.propTypes = process.env.NODE_ENV !== "production" ? {
191
193
  title: _propTypes.default.string,
192
194
  subtitle: _propTypes.default.string,
195
+ subtitleSize: _propTypes.default.string,
193
196
  fieldsLayout: _propTypes.default.string,
194
197
  groupLayout: _propTypes.default.string,
195
198
  fields: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape(_extends({}, _autocomplete.default.propTypes, {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["inputContainerStyle","default","style","defaultWidth","medium","mediumWidth","large","largeWidth","buildInput","field","type","imageUploadContainer","buttonType","buildField","index","input","theme","size","styleInput","BrandFormGroup","props","title","subtitle","fieldsLayout","groupLayout","fields","fieldsList","convert","cap","classNames","wrapper","groupGrid","titleWrapper","grid","propTypes","PropTypes","string","arrayOf","oneOfType","shape","Autocomplete","oneOf","InputColor","InputReadonly","InputSwitch","InputTextarea","InputHTML","InputDoublestep","Select","InputCheckbox","ImageUpload","SetupSlider","SetupSections","InputText","BrandDownloadBox","BrandUploadBox","Button","ButtonLink","SelectMultiple","Roles"],"sources":["../../../src/molecule/brand-form-group/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {keys, map, snakeCase} from 'lodash/fp';\nimport classNames from 'classnames';\nimport Autocomplete from '../../atom/autocomplete';\nimport Select from '../../atom/select';\nimport SelectMultiple from '../select-multiple';\nimport InputText from '../../atom/input-text';\nimport InputColor from '../../atom/input-color';\nimport InputCheckbox from '../../atom/input-checkbox';\nimport InputReadonly from '../../atom/input-readonly';\nimport InputSwitch from '../../atom/input-switch';\nimport BrandUploadBox from '../brand-upload-box';\nimport BrandDownloadBox from '../brand-download-box';\nimport Button from '../../atom/button';\nimport InputTextarea from '../../atom/input-textarea';\nimport InputHTML from '../../atom/input-html';\nimport InputDoublestep from '../../atom/input-doublestep';\nimport ImageUpload from '../../atom/image-upload';\nimport SetupSlider from '../setup-slider';\nimport SetupSections from '../setup-sections';\nimport Title from '../../atom/title';\nimport Roles from '../coorp-manager-roles';\nimport TitleAndCheckBoxWrapper from '../title-and-checkbox-wrapper';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst inputContainerStyle = {\n default: style.defaultWidth,\n medium: style.mediumWidth,\n large: style.largeWidth\n};\n\nconst buildInput = field => {\n const {type} = field;\n\n switch (type) {\n case 'autoComplete':\n return <Autocomplete {...field} />;\n case 'color':\n return <InputColor {...field} />;\n case 'readonly':\n return <InputReadonly {...field} />;\n case 'switch':\n return <InputSwitch {...field} />;\n case 'textarea':\n return <InputTextarea {...field} />;\n case 'html':\n return <InputHTML {...field} />;\n case 'doublestep':\n return <InputDoublestep {...field} />;\n case 'select':\n return <Select {...field} theme={'coorpmanager'} />;\n case 'selectMultiple':\n return <SelectMultiple {...field} />;\n case 'checkbox':\n return <InputCheckbox {...field} />;\n case 'image':\n return (\n <div className={style.imageUploadContainer}>\n <ImageUpload {...field} />\n </div>\n );\n case 'slider':\n return <SetupSlider {...field} />;\n case 'sections':\n return <SetupSections {...field} />;\n case 'text':\n return <InputText {...field} />;\n case 'downloadbox':\n return <BrandDownloadBox {...field} />;\n case 'uploadbox':\n return <BrandUploadBox {...field} />;\n case 'button':\n case 'link':\n return <Button {...field} />;\n case 'buttonLink':\n return <ButtonLink {...field} type={field.buttonType} />;\n case 'roles':\n return <Roles {...field} />;\n case 'titleAndCheckBoxWrapper':\n return <TitleAndCheckBoxWrapper {...field} />;\n default:\n return <InputText {...field} />;\n }\n};\n\nconst buildField = (field, index) => {\n const input = buildInput(field);\n const {theme, size = 'default'} = field;\n const styleInput = theme === 'coorpmanager' ? inputContainerStyle[size] : style.field;\n\n return (\n <div className={styleInput} key={index}>\n {input}\n </div>\n );\n};\n\nconst BrandFormGroup = props => {\n const {title, subtitle = '', fieldsLayout = '', groupLayout = '', fields = []} = props;\n const fieldsList = map.convert({cap: false})(buildField, fields);\n\n return (\n <div\n data-name={`brand_form_group_${snakeCase(title)}`}\n className={classNames(style.wrapper, groupLayout === 'grid' && style.groupGrid)}\n >\n <div className={style.titleWrapper}>\n <Title title={title} subtitle={subtitle} type={'form-group'} />\n </div>\n <div className={fieldsLayout === 'grid' ? style.grid : null}>{fieldsList}</div>\n </div>\n );\n};\n\nBrandFormGroup.propTypes = {\n title: PropTypes.string,\n subtitle: PropTypes.string,\n fieldsLayout: PropTypes.string,\n groupLayout: PropTypes.string,\n fields: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape({\n ...Autocomplete.propTypes,\n type: PropTypes.oneOf(['autoComplete']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...InputColor.propTypes,\n type: PropTypes.oneOf(['color'])\n }),\n PropTypes.shape({\n ...InputReadonly.propTypes,\n type: PropTypes.oneOf(['readonly'])\n }),\n PropTypes.shape({\n ...InputSwitch.propTypes,\n type: PropTypes.oneOf(['switch'])\n }),\n PropTypes.shape({\n ...InputTextarea.propTypes,\n type: PropTypes.oneOf(['textarea']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...InputHTML.propTypes,\n type: PropTypes.oneOf(['html'])\n }),\n PropTypes.shape({\n ...InputDoublestep.propTypes,\n type: PropTypes.oneOf(['doublestep'])\n }),\n PropTypes.shape({\n ...Select.propTypes,\n type: PropTypes.oneOf(['select']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...InputCheckbox.propTypes,\n type: PropTypes.oneOf(['checkbox'])\n }),\n PropTypes.shape({\n ...ImageUpload.propTypes,\n type: PropTypes.oneOf(['image'])\n }),\n PropTypes.shape({\n ...SetupSlider.propTypes,\n type: PropTypes.oneOf(['slider'])\n }),\n PropTypes.shape({\n ...SetupSections.propTypes,\n type: PropTypes.oneOf(['sections'])\n }),\n PropTypes.shape({\n ...InputText.propTypes,\n type: PropTypes.oneOf(['text']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...BrandDownloadBox.propTypes,\n type: PropTypes.oneOf(['downloadbox'])\n }),\n PropTypes.shape({\n ...BrandUploadBox.propTypes,\n type: PropTypes.oneOf(['uploadbox'])\n }),\n PropTypes.shape({\n ...Button.propTypes,\n type: PropTypes.oneOf(['button'])\n }),\n PropTypes.shape({\n ...ButtonLink.propTypes,\n buttonType: ButtonLink.propTypes.type,\n type: PropTypes.oneOf(['buttonLink'])\n }),\n PropTypes.shape({\n ...SelectMultiple.propTypes,\n type: PropTypes.oneOf(['selectMultiple'])\n }),\n PropTypes.shape({\n ...Roles.propTypes,\n type: PropTypes.oneOf(['roles'])\n }),\n PropTypes.shape(InputText.propTypes)\n ])\n )\n};\nexport default BrandFormGroup;\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,mBAAmB,GAAG;EAC1BC,OAAO,EAAEC,cAAA,CAAMC,YADW;EAE1BC,MAAM,EAAEF,cAAA,CAAMG,WAFY;EAG1BC,KAAK,EAAEJ,cAAA,CAAMK;AAHa,CAA5B;;AAMA,MAAMC,UAAU,GAAGC,KAAK,IAAI;EAC1B,MAAM;IAACC;EAAD,IAASD,KAAf;;EAEA,QAAQC,IAAR;IACE,KAAK,cAAL;MACE,oBAAO,6BAAC,qBAAD,EAAkBD,KAAlB,CAAP;;IACF,KAAK,OAAL;MACE,oBAAO,6BAAC,mBAAD,EAAgBA,KAAhB,CAAP;;IACF,KAAK,UAAL;MACE,oBAAO,6BAAC,sBAAD,EAAmBA,KAAnB,CAAP;;IACF,KAAK,QAAL;MACE,oBAAO,6BAAC,oBAAD,EAAiBA,KAAjB,CAAP;;IACF,KAAK,UAAL;MACE,oBAAO,6BAAC,sBAAD,EAAmBA,KAAnB,CAAP;;IACF,KAAK,MAAL;MACE,oBAAO,6BAAC,kBAAD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EyB,kBAAA,CAAUM,KAAV,CAAgB,CAAC,WAAD,CAAhB;EAFR,GA7DkB,EAiElBN,kBAAA,CAAUI,KAAV,cACKiB,eAAA,CAAOtB,SADZ;IAEExB,IAAI,EAAEyB,kBAAA,CAAUM,KAAV,CAAgB,CAAC,QAAD,CAAhB;EAFR,GAjEkB,EAqElBN,kBAAA,CAAUI,KAAV,cACKkB,mBAAA,CAAWvB,SADhB;IAEEtB,UAAU,EAAE6C,mBAAA,CAAWvB,SAAX,CAAqBxB,IAFnC;IAGEA,IAAI,EAAEyB,kBAAA,CAAUM,KAAV,CAAgB,CAAC,YAAD,CAAhB;EAHR,GArEkB,EA0ElBN,kBAAA,CAAUI,KAAV,cACKmB,uBAAA,CAAexB,SADpB;IAEExB,IAAI,EAAEyB,kBAAA,CAAUM,KAAV,CAAgB,CAAC,gBAAD,CAAhB;EAFR,GA1EkB,EA8ElBN,kBAAA,CAAUI,KAAV,cACKoB,0BAAA,CAAMzB,SADX;IAEExB,IAAI,EAAEyB,kBAAA,CAAUM,KAAV,CAAgB,CAAC,OAAD,CAAhB;EAFR,GA9EkB,EAkFlBN,kBAAA,CAAUI,KAAV,CAAgBc,kBAAA,CAAUnB,SAA1B,CAlFkB,CAApB,CADM;AALiB,CAA3B;eA4Fef,c"}
1
+ {"version":3,"file":"index.js","names":["inputContainerStyle","default","style","defaultWidth","medium","mediumWidth","large","largeWidth","buildInput","field","type","imageUploadContainer","buttonType","buildField","index","input","theme","size","styleInput","BrandFormGroup","props","title","subtitle","fieldsLayout","groupLayout","fields","subtitleSize","fieldsList","convert","cap","classNames","wrapper","groupGrid","titleWrapper","grid","propTypes","PropTypes","string","arrayOf","oneOfType","shape","Autocomplete","oneOf","InputColor","InputReadonly","InputSwitch","InputTextarea","InputHTML","InputDoublestep","Select","InputCheckbox","ImageUpload","SetupSlider","SetupSections","InputText","BrandDownloadBox","BrandUploadBox","Button","ButtonLink","SelectMultiple","Roles"],"sources":["../../../src/molecule/brand-form-group/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {keys, map, snakeCase} from 'lodash/fp';\nimport classNames from 'classnames';\nimport Autocomplete from '../../atom/autocomplete';\nimport Select from '../../atom/select';\nimport SelectMultiple from '../select-multiple';\nimport InputText from '../../atom/input-text';\nimport InputColor from '../../atom/input-color';\nimport InputCheckbox from '../../atom/input-checkbox';\nimport InputReadonly from '../../atom/input-readonly';\nimport InputSwitch from '../../atom/input-switch';\nimport BrandUploadBox from '../brand-upload-box';\nimport BrandDownloadBox from '../brand-download-box';\nimport Button from '../../atom/button';\nimport InputTextarea from '../../atom/input-textarea';\nimport InputHTML from '../../atom/input-html';\nimport InputDoublestep from '../../atom/input-doublestep';\nimport ImageUpload from '../../atom/image-upload';\nimport SetupSlider from '../setup-slider';\nimport SetupSections from '../setup-sections';\nimport Title from '../../atom/title';\nimport Roles from '../coorp-manager-roles';\nimport TitleAndCheckBoxWrapper from '../title-and-checkbox-wrapper';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst inputContainerStyle = {\n default: style.defaultWidth,\n medium: style.mediumWidth,\n large: style.largeWidth\n};\n\nconst buildInput = field => {\n const {type} = field;\n\n switch (type) {\n case 'autoComplete':\n return <Autocomplete {...field} />;\n case 'color':\n return <InputColor {...field} />;\n case 'readonly':\n return <InputReadonly {...field} />;\n case 'switch':\n return <InputSwitch {...field} />;\n case 'textarea':\n return <InputTextarea {...field} />;\n case 'html':\n return <InputHTML {...field} />;\n case 'doublestep':\n return <InputDoublestep {...field} />;\n case 'select':\n return <Select {...field} theme={'coorpmanager'} />;\n case 'selectMultiple':\n return <SelectMultiple {...field} />;\n case 'checkbox':\n return <InputCheckbox {...field} />;\n case 'image':\n return (\n <div className={style.imageUploadContainer}>\n <ImageUpload {...field} />\n </div>\n );\n case 'slider':\n return <SetupSlider {...field} />;\n case 'sections':\n return <SetupSections {...field} />;\n case 'text':\n return <InputText {...field} />;\n case 'downloadbox':\n return <BrandDownloadBox {...field} />;\n case 'uploadbox':\n return <BrandUploadBox {...field} />;\n case 'button':\n case 'link':\n return <Button {...field} />;\n case 'buttonLink':\n return <ButtonLink {...field} type={field.buttonType} />;\n case 'roles':\n return <Roles {...field} />;\n case 'titleAndCheckBoxWrapper':\n return <TitleAndCheckBoxWrapper {...field} />;\n default:\n return <InputText {...field} />;\n }\n};\n\nconst buildField = (field, index) => {\n const input = buildInput(field);\n const {theme, size = 'default'} = field;\n const styleInput = theme === 'coorpmanager' ? inputContainerStyle[size] : style.field;\n\n return (\n <div className={styleInput} key={index}>\n {input}\n </div>\n );\n};\n\nconst BrandFormGroup = props => {\n const {\n title,\n subtitle = '',\n fieldsLayout = '',\n groupLayout = '',\n fields = [],\n subtitleSize = 'standard'\n } = props;\n const fieldsList = map.convert({cap: false})(buildField, fields);\n\n return (\n <div\n data-name={`brand_form_group_${snakeCase(title)}`}\n className={classNames(style.wrapper, groupLayout === 'grid' && style.groupGrid)}\n >\n <div className={style.titleWrapper}>\n <Title title={title} subtitle={subtitle} subtitleSize={subtitleSize} type={'form-group'} />\n </div>\n <div className={fieldsLayout === 'grid' ? style.grid : null}>{fieldsList}</div>\n </div>\n );\n};\n\nBrandFormGroup.propTypes = {\n title: PropTypes.string,\n subtitle: PropTypes.string,\n subtitleSize: PropTypes.string,\n fieldsLayout: PropTypes.string,\n groupLayout: PropTypes.string,\n fields: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape({\n ...Autocomplete.propTypes,\n type: PropTypes.oneOf(['autoComplete']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...InputColor.propTypes,\n type: PropTypes.oneOf(['color'])\n }),\n PropTypes.shape({\n ...InputReadonly.propTypes,\n type: PropTypes.oneOf(['readonly'])\n }),\n PropTypes.shape({\n ...InputSwitch.propTypes,\n type: PropTypes.oneOf(['switch'])\n }),\n PropTypes.shape({\n ...InputTextarea.propTypes,\n type: PropTypes.oneOf(['textarea']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...InputHTML.propTypes,\n type: PropTypes.oneOf(['html'])\n }),\n PropTypes.shape({\n ...InputDoublestep.propTypes,\n type: PropTypes.oneOf(['doublestep'])\n }),\n PropTypes.shape({\n ...Select.propTypes,\n type: PropTypes.oneOf(['select']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...InputCheckbox.propTypes,\n type: PropTypes.oneOf(['checkbox'])\n }),\n PropTypes.shape({\n ...ImageUpload.propTypes,\n type: PropTypes.oneOf(['image'])\n }),\n PropTypes.shape({\n ...SetupSlider.propTypes,\n type: PropTypes.oneOf(['slider'])\n }),\n PropTypes.shape({\n ...SetupSections.propTypes,\n type: PropTypes.oneOf(['sections'])\n }),\n PropTypes.shape({\n ...InputText.propTypes,\n type: PropTypes.oneOf(['text']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...BrandDownloadBox.propTypes,\n type: PropTypes.oneOf(['downloadbox'])\n }),\n PropTypes.shape({\n ...BrandUploadBox.propTypes,\n type: PropTypes.oneOf(['uploadbox'])\n }),\n PropTypes.shape({\n ...Button.propTypes,\n type: PropTypes.oneOf(['button'])\n }),\n PropTypes.shape({\n ...ButtonLink.propTypes,\n buttonType: ButtonLink.propTypes.type,\n type: PropTypes.oneOf(['buttonLink'])\n }),\n PropTypes.shape({\n ...SelectMultiple.propTypes,\n type: PropTypes.oneOf(['selectMultiple'])\n }),\n PropTypes.shape({\n ...Roles.propTypes,\n type: PropTypes.oneOf(['roles'])\n }),\n PropTypes.shape(InputText.propTypes)\n ])\n )\n};\nexport default BrandFormGroup;\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,mBAAmB,G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AC,gBAAD,CAAhB;EAFR,GA1EkB,EA8ElBN,kBAAA,CAAUI,KAAV,cACKoB,0BAAA,CAAMzB,SADX;IAEEzB,IAAI,EAAE0B,kBAAA,CAAUM,KAAV,CAAgB,CAAC,OAAD,CAAhB;EAFR,GA9EkB,EAkFlBN,kBAAA,CAAUI,KAAV,CAAgBc,kBAAA,CAAUnB,SAA1B,CAlFkB,CAApB,CADM;AANiB,CAA3B;eA6FehB,c"}
@@ -42,17 +42,12 @@
42
42
  justify-content: space-evenly;
43
43
  }
44
44
 
45
- .grid .field {
46
- margin-right: 20px;
47
- }
48
-
49
45
  .field {
50
- margin-bottom: 10px;
46
+ display: flex;
47
+ margin: 0 32px 64px 0;
48
+ flex: 1 0 0;
51
49
  }
52
50
 
53
- .field:last-child {
54
- margin-bottom: 0;
55
- }
56
51
 
57
52
  .fieldCoorpmanager {
58
53
  margin: 0 0 32px 0;
@@ -74,8 +69,10 @@
74
69
  }
75
70
 
76
71
  .imageUploadContainer {
77
- height: 300px;
78
- width: 360px;
72
+ display: flex;
73
+ flex-direction: column;
74
+ width: 100%;
75
+ min-width: 230px;
79
76
  }
80
77
 
81
78
  @media desktop {
@@ -84,6 +81,8 @@
84
81
  }
85
82
 
86
83
  .groupGrid .grid {
84
+ display: flex;
85
+ flex-direction: row;
87
86
  justify-content: flex-start;
88
87
  margin-top: 0;
89
88
  }
@@ -10,6 +10,8 @@ declare namespace DragAndDropWrapper {
10
10
  error: PropTypes.Requireable<string>;
11
11
  buttonAriaLabel: PropTypes.Requireable<string>;
12
12
  errorButtonLabel: PropTypes.Requireable<string>;
13
+ labelLink: PropTypes.Requireable<string>;
14
+ hrefLink: PropTypes.Requireable<string>;
13
15
  title: PropTypes.Requireable<string>;
14
16
  description: PropTypes.Requireable<string>;
15
17
  uploadLabel: PropTypes.Requireable<string>;
@@ -87,6 +87,8 @@ declare namespace SetupSlide {
87
87
  error: PropTypes.Requireable<string>;
88
88
  buttonAriaLabel: PropTypes.Requireable<string>;
89
89
  errorButtonLabel: PropTypes.Requireable<string>;
90
+ labelLink: PropTypes.Requireable<string>;
91
+ hrefLink: PropTypes.Requireable<string>;
90
92
  title: PropTypes.Requireable<string>;
91
93
  description: PropTypes.Requireable<string>;
92
94
  uploadLabel: PropTypes.Requireable<string>;
@@ -100,6 +100,8 @@ declare namespace SetupSlider {
100
100
  error: PropTypes.Requireable<string>;
101
101
  buttonAriaLabel: PropTypes.Requireable<string>;
102
102
  errorButtonLabel: PropTypes.Requireable<string>;
103
+ labelLink: PropTypes.Requireable<string>;
104
+ hrefLink: PropTypes.Requireable<string>;
103
105
  title: PropTypes.Requireable<string>;
104
106
  description: PropTypes.Requireable<string>;
105
107
  uploadLabel: PropTypes.Requireable<string>;
@@ -15,6 +15,7 @@ declare namespace TitleAndCheckBoxWrapper {
15
15
  subtitle: PropTypes.Requireable<string>;
16
16
  type: PropTypes.Requireable<string>;
17
17
  'data-name': PropTypes.Requireable<string>;
18
+ subtitleSize: PropTypes.Requireable<string>;
18
19
  }>>;
19
20
  const child: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
20
21
  childType: PropTypes.Requireable<string>;
@@ -49,6 +50,8 @@ declare namespace TitleAndCheckBoxWrapper {
49
50
  error: PropTypes.Requireable<string>;
50
51
  buttonAriaLabel: PropTypes.Requireable<string>;
51
52
  errorButtonLabel: PropTypes.Requireable<string>;
53
+ labelLink: PropTypes.Requireable<string>;
54
+ hrefLink: PropTypes.Requireable<string>;
52
55
  title: PropTypes.Requireable<string>;
53
56
  description: PropTypes.Requireable<string>;
54
57
  uploadLabel: PropTypes.Requireable<string>;
@@ -34,6 +34,7 @@ declare namespace BrandForm {
34
34
  export const groups: PropTypes.Validator<(PropTypes.InferProps<{
35
35
  title: PropTypes.Requireable<string>;
36
36
  subtitle: PropTypes.Requireable<string>;
37
+ subtitleSize: PropTypes.Requireable<string>;
37
38
  fieldsLayout: PropTypes.Requireable<string>;
38
39
  groupLayout: PropTypes.Requireable<string>;
39
40
  fields: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
@@ -159,6 +160,8 @@ declare namespace BrandForm {
159
160
  error: PropTypes.Requireable<string>;
160
161
  buttonAriaLabel: PropTypes.Requireable<string>;
161
162
  errorButtonLabel: PropTypes.Requireable<string>;
163
+ labelLink: PropTypes.Requireable<string>;
164
+ hrefLink: PropTypes.Requireable<string>;
162
165
  title: PropTypes.Requireable<string>;
163
166
  description: PropTypes.Requireable<string>;
164
167
  uploadLabel: PropTypes.Requireable<string>;
@@ -272,6 +275,8 @@ declare namespace BrandForm {
272
275
  error: PropTypes.Requireable<string>;
273
276
  buttonAriaLabel: PropTypes.Requireable<string>;
274
277
  errorButtonLabel: PropTypes.Requireable<string>;
278
+ labelLink: PropTypes.Requireable<string>;
279
+ hrefLink: PropTypes.Requireable<string>;
275
280
  title: PropTypes.Requireable<string>;
276
281
  description: PropTypes.Requireable<string>;
277
282
  uploadLabel: PropTypes.Requireable<string>;
@@ -18,6 +18,7 @@ declare namespace RewardsForm {
18
18
  subtitle: PropTypes.Requireable<string>;
19
19
  type: PropTypes.Requireable<string>;
20
20
  'data-name': PropTypes.Requireable<string>;
21
+ subtitleSize: PropTypes.Requireable<string>;
21
22
  }>>;
22
23
  child: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
23
24
  childType: PropTypes.Requireable<string>;
@@ -52,6 +53,8 @@ declare namespace RewardsForm {
52
53
  error: PropTypes.Requireable<string>;
53
54
  buttonAriaLabel: PropTypes.Requireable<string>;
54
55
  errorButtonLabel: PropTypes.Requireable<string>;
56
+ labelLink: PropTypes.Requireable<string>;
57
+ hrefLink: PropTypes.Requireable<string>;
55
58
  title: PropTypes.Requireable<string>;
56
59
  description: PropTypes.Requireable<string>;
57
60
  uploadLabel: PropTypes.Requireable<string>;
@@ -51,6 +51,7 @@ declare namespace WizardContents {
51
51
  groups: PropTypes.Validator<(PropTypes.InferProps<{
52
52
  title: PropTypes.Requireable<string>;
53
53
  subtitle: PropTypes.Requireable<string>;
54
+ subtitleSize: PropTypes.Requireable<string>;
54
55
  fieldsLayout: PropTypes.Requireable<string>;
55
56
  groupLayout: PropTypes.Requireable<string>;
56
57
  fields: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
@@ -176,6 +177,8 @@ declare namespace WizardContents {
176
177
  error: PropTypes.Requireable<string>;
177
178
  buttonAriaLabel: PropTypes.Requireable<string>;
178
179
  errorButtonLabel: PropTypes.Requireable<string>;
180
+ labelLink: PropTypes.Requireable<string>;
181
+ hrefLink: PropTypes.Requireable<string>;
179
182
  title: PropTypes.Requireable<string>;
180
183
  description: PropTypes.Requireable<string>;
181
184
  uploadLabel: PropTypes.Requireable<string>;
@@ -289,6 +292,8 @@ declare namespace WizardContents {
289
292
  error: PropTypes.Requireable<string>;
290
293
  buttonAriaLabel: PropTypes.Requireable<string>;
291
294
  errorButtonLabel: PropTypes.Requireable<string>;
295
+ labelLink: PropTypes.Requireable<string>;
296
+ hrefLink: PropTypes.Requireable<string>;
292
297
  title: PropTypes.Requireable<string>;
293
298
  description: PropTypes.Requireable<string>;
294
299
  uploadLabel: PropTypes.Requireable<string>;
@@ -640,6 +645,7 @@ declare namespace WizardContents {
640
645
  subtitle: PropTypes.Requireable<string>;
641
646
  type: PropTypes.Requireable<string>;
642
647
  'data-name': PropTypes.Requireable<string>;
648
+ subtitleSize: PropTypes.Requireable<string>;
643
649
  }>>;
644
650
  child: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
645
651
  childType: PropTypes.Requireable<string>;
@@ -674,6 +680,8 @@ declare namespace WizardContents {
674
680
  error: PropTypes.Requireable<string>;
675
681
  buttonAriaLabel: PropTypes.Requireable<string>;
676
682
  errorButtonLabel: PropTypes.Requireable<string>;
683
+ labelLink: PropTypes.Requireable<string>;
684
+ hrefLink: PropTypes.Requireable<string>;
677
685
  title: PropTypes.Requireable<string>;
678
686
  description: PropTypes.Requireable<string>;
679
687
  uploadLabel: PropTypes.Requireable<string>;
@@ -21,10 +21,6 @@
21
21
 
22
22
  user-select: none;
23
23
  position: relative;
24
- border-bottom: none;
25
- border-right: 0px;
26
- border-width: 1px 0 0 1px;
27
- background: inherit;
28
24
  }
29
25
 
30
26
  .engineIcon {
@@ -160,22 +156,28 @@
160
156
  opacity: 0.4;
161
157
  }
162
158
 
163
- .textBase {
164
- font-family: "Gilroy";
165
- font-style: normal;
166
- color: white;
159
+ .toolTip {
160
+ opacity: 1 !important;
161
+ padding: 0;
162
+ pointer-events: all;
163
+ background-color: transparent !important;
164
+ }
165
+
166
+ .toolTip::after {
167
+ border-left-color: transparent !important;
167
168
  }
168
169
 
169
170
  .toolTipContent {
170
- composes: textBase;
171
- width: 270px;
172
- font-weight: 500;
173
- font-size: 14px;
174
- display: inline-block;
171
+ padding: 10px;
172
+ margin: 0;
175
173
  border-radius: 3px;
176
- word-wrap: break-word;
177
- padding: 8px 14px;
178
- text-align: center;
174
+ font-family: 'Gilroy';
175
+ font-size: 12px;
176
+ width: 270px;
177
+ background-color: white;
178
+ border: 1px solid white;
179
+ color: dark;
180
+ box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 8px 3px 10px rgba(0, 0, 0, 0.23);
179
181
  }
180
182
 
181
183
  .toolTipContent > a {
@@ -189,6 +191,21 @@
189
191
  text-decoration: underline;
190
192
  }
191
193
 
194
+ .toolTipContent::after {
195
+ content: '';
196
+ width: 0;
197
+ height: 0;
198
+ position: absolute;
199
+ border-left-color: inherit;
200
+ border-left-style: solid;
201
+ border-left-width: 6px;
202
+ border-top: 5px solid transparent;
203
+ border-bottom: 5px solid transparent;
204
+ right: -6px;
205
+ top: 50%;
206
+ margin-top: -4px;
207
+ }
208
+
192
209
  /* ------------------------------------------------------ */
193
210
 
194
211
  @media tablet, mobile {
@@ -1,23 +1,21 @@
1
1
  export default EngineStars;
2
- declare function EngineStars(props: any, legacyContext: any): JSX.Element;
3
- declare namespace EngineStars {
4
- namespace propTypes {
5
- const type: PropTypes.Validator<string>;
6
- const stars: PropTypes.Validator<number>;
7
- const title: PropTypes.Validator<string>;
8
- const active: PropTypes.Requireable<boolean>;
9
- const disabled: PropTypes.Requireable<boolean>;
10
- const onClick: PropTypes.Requireable<(...args: any[]) => any>;
11
- const className: PropTypes.Requireable<string>;
12
- const toolTip: PropTypes.Requireable<PropTypes.InferProps<{
2
+ declare class EngineStars extends React.Component<any, any, any> {
3
+ static propTypes: {
4
+ type: PropTypes.Validator<string>;
5
+ stars: PropTypes.Validator<number>;
6
+ title: PropTypes.Validator<string>;
7
+ active: PropTypes.Requireable<boolean>;
8
+ disabled: PropTypes.Requireable<boolean>;
9
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
10
+ toolTip: PropTypes.Requireable<PropTypes.InferProps<{
13
11
  preMessage: PropTypes.Requireable<string>;
14
12
  linkMessage: PropTypes.Requireable<string>;
15
13
  endMessage: PropTypes.Requireable<string>;
16
14
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
17
15
  }>>;
18
- }
19
- namespace contextTypes {
20
- const skin: PropTypes.Requireable<PropTypes.InferProps<{
16
+ };
17
+ static contextTypes: {
18
+ skin: PropTypes.Requireable<PropTypes.InferProps<{
21
19
  common: PropTypes.Requireable<{
22
20
  [x: string]: any;
23
21
  }>;
@@ -38,7 +36,11 @@ declare namespace EngineStars {
38
36
  [x: string]: any;
39
37
  }>;
40
38
  }>>;
41
- }
39
+ };
40
+ constructor(props: any, context: any);
41
+ handleClick: (e: any) => void;
42
+ render(): JSX.Element;
42
43
  }
44
+ import React from "react";
43
45
  import PropTypes from "prop-types";
44
46
  //# sourceMappingURL=engine-stars.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"engine-stars.d.ts","sourceRoot":"","sources":["../../../src/template/activity/engine-stars.js"],"names":[],"mappings":";AAuEA,0EAwIC"}
1
+ {"version":3,"file":"engine-stars.d.ts","sourceRoot":"","sources":["../../../src/template/activity/engine-stars.js"],"names":[],"mappings":";AAqFA;IACE;;;;;;;;;;;;;MAaE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,sCAGC;IAED,8BAKE;IAEF,sBAqDC;CACF"}