@coorpacademy/components 10.1.1 → 10.1.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 (173) hide show
  1. package/es/atom/bullet-point-menu-button/test/fixtures.js +27 -0
  2. package/es/atom/bullet-point-menu-button/test/fixtures.js.map +1 -0
  3. package/es/atom/button/index.js +3 -1
  4. package/es/atom/button/index.js.map +1 -1
  5. package/es/atom/content-badge/index.js +4 -4
  6. package/es/atom/content-badge/index.js.map +1 -1
  7. package/es/atom/input-checkbox/test/fixtures.js +0 -2
  8. package/es/atom/input-checkbox/test/fixtures.js.map +1 -1
  9. package/es/atom/input-text/index.js +1 -1
  10. package/es/atom/input-text/index.js.map +1 -1
  11. package/es/atom/input-text/style.css +16 -11
  12. package/es/atom/input-textarea/index.js +36 -11
  13. package/es/atom/input-textarea/index.js.map +1 -1
  14. package/es/atom/input-textarea/style.css +265 -0
  15. package/es/atom/input-textarea/test/fixtures/cm-default.js +17 -0
  16. package/es/atom/input-textarea/test/fixtures/cm-default.js.map +1 -0
  17. package/es/atom/input-textarea/test/fixtures/cm-empty.js +17 -0
  18. package/es/atom/input-textarea/test/fixtures/cm-empty.js.map +1 -0
  19. package/es/atom/title/test/fixtures.js +2 -6
  20. package/es/atom/title/test/fixtures.js.map +1 -1
  21. package/es/molecule/banner/index.js +46 -0
  22. package/es/molecule/banner/index.js.map +1 -0
  23. package/es/molecule/banner/style.css +63 -0
  24. package/es/molecule/banner/test/fixtures/default.js +11 -0
  25. package/es/molecule/banner/test/fixtures/default.js.map +1 -0
  26. package/es/molecule/banner/test/fixtures/error-banner.js +7 -0
  27. package/es/molecule/banner/test/fixtures/error-banner.js.map +1 -0
  28. package/es/molecule/brand-form-group/test/fixtures/cm-default.js +51 -0
  29. package/es/molecule/brand-form-group/test/fixtures/cm-default.js.map +1 -0
  30. package/es/molecule/brand-form-group/test/fixtures/default.js +12 -3
  31. package/es/molecule/brand-form-group/test/fixtures/default.js.map +1 -1
  32. package/es/molecule/card/index.js +16 -5
  33. package/es/molecule/card/index.js.map +1 -1
  34. package/es/molecule/card/selectable.css +71 -0
  35. package/es/molecule/card/selectable.js +32 -0
  36. package/es/molecule/card/selectable.js.map +1 -0
  37. package/es/molecule/card/test/fixtures/default.js +1 -0
  38. package/es/molecule/card/test/fixtures/default.js.map +1 -1
  39. package/es/molecule/card/test/fixtures/selectable-false.js +16 -0
  40. package/es/molecule/card/test/fixtures/selectable-false.js.map +1 -0
  41. package/es/molecule/card/test/fixtures/selectable-true.js +17 -0
  42. package/es/molecule/card/test/fixtures/selectable-true.js.map +1 -0
  43. package/es/molecule/card-content/index.js +13 -3
  44. package/es/molecule/card-content/index.js.map +1 -1
  45. package/es/molecule/card-content/style.css +13 -3
  46. package/es/molecule/cm-popin/index.js +76 -0
  47. package/es/molecule/cm-popin/index.js.map +1 -0
  48. package/es/molecule/cm-popin/style.css +157 -0
  49. package/es/molecule/cm-popin/test/fixtures/dangerous.js +16 -0
  50. package/es/molecule/cm-popin/test/fixtures/dangerous.js.map +1 -0
  51. package/es/molecule/cm-popin/test/fixtures/default.js +16 -0
  52. package/es/molecule/cm-popin/test/fixtures/default.js.map +1 -0
  53. package/es/molecule/cm-popin/test/fixtures/warning-with-close.js +17 -0
  54. package/es/molecule/cm-popin/test/fixtures/warning-with-close.js.map +1 -0
  55. package/es/molecule/cockpit-popin/test/fixtures.js +17 -0
  56. package/es/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  57. package/es/molecule/wizard-summary/index.js +44 -17
  58. package/es/molecule/wizard-summary/index.js.map +1 -1
  59. package/es/molecule/wizard-summary/style.css +104 -7
  60. package/es/molecule/wizard-summary/test/fixtures/default.js +9 -3
  61. package/es/molecule/wizard-summary/test/fixtures/default.js.map +1 -1
  62. package/es/molecule/wizard-summary/test/fixtures/tablet-closed.js +117 -0
  63. package/es/molecule/wizard-summary/test/fixtures/tablet-closed.js.map +1 -0
  64. package/es/organism/accordion/coorp-manager/part/test/fixtures.js +0 -4
  65. package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -1
  66. package/es/organism/brand-dashboard/test/fixtures.js +0 -2
  67. package/es/organism/brand-dashboard/test/fixtures.js.map +1 -1
  68. package/es/template/back-office/brand-update/test/fixtures.js +2 -2
  69. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  70. package/es/variables/colors.css +9 -3
  71. package/lib/atom/bullet-point-menu-button/test/fixtures.js +43 -0
  72. package/lib/atom/bullet-point-menu-button/test/fixtures.js.map +1 -0
  73. package/lib/atom/button/index.js +3 -1
  74. package/lib/atom/button/index.js.map +1 -1
  75. package/lib/atom/content-badge/index.js +4 -4
  76. package/lib/atom/content-badge/index.js.map +1 -1
  77. package/lib/atom/input-checkbox/test/fixtures.js +0 -3
  78. package/lib/atom/input-checkbox/test/fixtures.js.map +1 -1
  79. package/lib/atom/input-text/index.js +1 -1
  80. package/lib/atom/input-text/index.js.map +1 -1
  81. package/lib/atom/input-text/style.css +16 -11
  82. package/lib/atom/input-textarea/index.js +38 -11
  83. package/lib/atom/input-textarea/index.js.map +1 -1
  84. package/lib/atom/input-textarea/style.css +265 -0
  85. package/lib/atom/input-textarea/test/fixtures/cm-default.js +22 -0
  86. package/lib/atom/input-textarea/test/fixtures/cm-default.js.map +1 -0
  87. package/lib/atom/input-textarea/test/fixtures/cm-empty.js +22 -0
  88. package/lib/atom/input-textarea/test/fixtures/cm-empty.js.map +1 -0
  89. package/lib/atom/title/test/fixtures.js +2 -8
  90. package/lib/atom/title/test/fixtures.js.map +1 -1
  91. package/lib/molecule/banner/index.js +59 -0
  92. package/lib/molecule/banner/index.js.map +1 -0
  93. package/lib/molecule/banner/style.css +63 -0
  94. package/lib/molecule/banner/test/fixtures/default.js +16 -0
  95. package/lib/molecule/banner/test/fixtures/default.js.map +1 -0
  96. package/lib/molecule/banner/test/fixtures/error-banner.js +12 -0
  97. package/lib/molecule/banner/test/fixtures/error-banner.js.map +1 -0
  98. package/lib/molecule/brand-form-group/test/fixtures/cm-default.js +56 -0
  99. package/lib/molecule/brand-form-group/test/fixtures/cm-default.js.map +1 -0
  100. package/lib/molecule/brand-form-group/test/fixtures/default.js +12 -3
  101. package/lib/molecule/brand-form-group/test/fixtures/default.js.map +1 -1
  102. package/lib/molecule/card/index.js +17 -5
  103. package/lib/molecule/card/index.js.map +1 -1
  104. package/lib/molecule/card/selectable.css +71 -0
  105. package/lib/molecule/card/selectable.js +45 -0
  106. package/lib/molecule/card/selectable.js.map +1 -0
  107. package/lib/molecule/card/test/fixtures/default.js +1 -0
  108. package/lib/molecule/card/test/fixtures/default.js.map +1 -1
  109. package/lib/molecule/card/test/fixtures/selectable-false.js +26 -0
  110. package/lib/molecule/card/test/fixtures/selectable-false.js.map +1 -0
  111. package/lib/molecule/card/test/fixtures/selectable-true.js +27 -0
  112. package/lib/molecule/card/test/fixtures/selectable-true.js.map +1 -0
  113. package/lib/molecule/card-content/index.js +14 -3
  114. package/lib/molecule/card-content/index.js.map +1 -1
  115. package/lib/molecule/card-content/style.css +13 -3
  116. package/lib/molecule/cm-popin/index.js +89 -0
  117. package/lib/molecule/cm-popin/index.js.map +1 -0
  118. package/lib/molecule/cm-popin/style.css +157 -0
  119. package/lib/molecule/cm-popin/test/fixtures/dangerous.js +21 -0
  120. package/lib/molecule/cm-popin/test/fixtures/dangerous.js.map +1 -0
  121. package/lib/molecule/cm-popin/test/fixtures/default.js +21 -0
  122. package/lib/molecule/cm-popin/test/fixtures/default.js.map +1 -0
  123. package/lib/molecule/cm-popin/test/fixtures/warning-with-close.js +22 -0
  124. package/lib/molecule/cm-popin/test/fixtures/warning-with-close.js.map +1 -0
  125. package/lib/molecule/cockpit-popin/test/fixtures.js +28 -0
  126. package/lib/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  127. package/lib/molecule/wizard-summary/index.js +41 -13
  128. package/lib/molecule/wizard-summary/index.js.map +1 -1
  129. package/lib/molecule/wizard-summary/style.css +104 -7
  130. package/lib/molecule/wizard-summary/test/fixtures/default.js +9 -3
  131. package/lib/molecule/wizard-summary/test/fixtures/default.js.map +1 -1
  132. package/lib/molecule/wizard-summary/test/fixtures/tablet-closed.js +122 -0
  133. package/lib/molecule/wizard-summary/test/fixtures/tablet-closed.js.map +1 -0
  134. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +0 -6
  135. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -1
  136. package/lib/organism/brand-dashboard/test/fixtures.js +0 -3
  137. package/lib/organism/brand-dashboard/test/fixtures.js.map +1 -1
  138. package/lib/template/back-office/brand-update/test/fixtures.js +3 -3
  139. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  140. package/lib/variables/colors.css +9 -3
  141. package/package.json +3 -3
  142. package/es/atom/chips/test/fixtures.js +0 -15
  143. package/es/atom/chips/test/fixtures.js.map +0 -1
  144. package/es/atom/content-badge/test/fixtures.js +0 -27
  145. package/es/atom/content-badge/test/fixtures.js.map +0 -1
  146. package/es/atom/wizard-steps/test/fixtures.js +0 -17
  147. package/es/atom/wizard-steps/test/fixtures.js.map +0 -1
  148. package/es/molecule/coorp-manager-roles/test/fixtures.js +0 -13
  149. package/es/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
  150. package/es/molecule/quick-access-card/test/fixtures.js +0 -21
  151. package/es/molecule/quick-access-card/test/fixtures.js.map +0 -1
  152. package/es/molecule/quick-access-cards-group/test/fixtures.js +0 -21
  153. package/es/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
  154. package/es/molecule/vertical-tabs/test/fixtures.js +0 -15
  155. package/es/molecule/vertical-tabs/test/fixtures.js.map +0 -1
  156. package/es/molecule/wizard-summary/test/fixtures.js +0 -19
  157. package/es/molecule/wizard-summary/test/fixtures.js.map +0 -1
  158. package/lib/atom/chips/test/fixtures.js +0 -25
  159. package/lib/atom/chips/test/fixtures.js.map +0 -1
  160. package/lib/atom/content-badge/test/fixtures.js +0 -43
  161. package/lib/atom/content-badge/test/fixtures.js.map +0 -1
  162. package/lib/atom/wizard-steps/test/fixtures.js +0 -28
  163. package/lib/atom/wizard-steps/test/fixtures.js.map +0 -1
  164. package/lib/molecule/coorp-manager-roles/test/fixtures.js +0 -22
  165. package/lib/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
  166. package/lib/molecule/quick-access-card/test/fixtures.js +0 -34
  167. package/lib/molecule/quick-access-card/test/fixtures.js.map +0 -1
  168. package/lib/molecule/quick-access-cards-group/test/fixtures.js +0 -34
  169. package/lib/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
  170. package/lib/molecule/vertical-tabs/test/fixtures.js +0 -25
  171. package/lib/molecule/vertical-tabs/test/fixtures.js.map +0 -1
  172. package/lib/molecule/wizard-summary/test/fixtures.js +0 -31
  173. package/lib/molecule/wizard-summary/test/fixtures.js.map +0 -1
@@ -3,6 +3,15 @@
3
3
  @value medium from colors;
4
4
  @value light from colors;
5
5
  @value negative from colors;
6
+ @value xtraLightGrey from colors;
7
+ @value cm_positive_100 from colors;
8
+ @value cm_negative_100 from colors;
9
+ @value cm_grey_100 from colors;
10
+ @value cm_grey_150 from colors;
11
+ @value cm_grey_200 from colors;
12
+ @value cm_grey_400 from colors;
13
+ @value cm_grey_500 from colors;
14
+ @value cm_grey_700 from colors;
6
15
 
7
16
  .default {
8
17
  display: flex;
@@ -169,3 +178,259 @@
169
178
  align-self: flex-start;
170
179
  padding-left: 13px;
171
180
  }
181
+
182
+ /******************************* coorpmanager theme ***************************************/
183
+
184
+
185
+ .coorpmanager {
186
+ width: 300px;
187
+ position: relative;
188
+ display: flex;
189
+ flex-direction: column;
190
+ align-items: flex-start;
191
+ flex-wrap: nowrap;
192
+ }
193
+
194
+ .coorpmanager label {
195
+ display: flex;
196
+ flex-direction: column;
197
+ align-items: flex-start;
198
+ height: auto;
199
+ position: relative;
200
+ }
201
+
202
+ .coorpmanager .title {
203
+ flex-grow: 0;
204
+ font-family: Gilroy;
205
+ font-size: 10px;
206
+ font-weight: bold;
207
+ font-stretch: normal;
208
+ font-style: normal;
209
+ line-height: 1.2;
210
+ letter-spacing: normal;
211
+ text-align: left;
212
+ z-index: 1;
213
+ color: cm_grey_400;
214
+ width: auto;
215
+ transition: all 0.25s linear;
216
+ pointer-events: none;
217
+ display: flex;
218
+ flex-direction: row;
219
+ flex-wrap: nowrap;
220
+ top: 15px;
221
+ left: 16px;
222
+ position: absolute;
223
+ margin: 0;
224
+ }
225
+
226
+ .coorpmanager .title.noValue .infoIcon {
227
+ height: 10px;
228
+ width: 10px;
229
+ line-height: 12px;
230
+ color: cm_grey_500;
231
+ }
232
+
233
+ .coorpmanager textarea {
234
+ width: 285px;
235
+ min-height: 145px;
236
+ resize: vertical;
237
+ margin: 0px;
238
+ flex-grow: 0;
239
+ display: flex;
240
+ box-sizing: border-box;
241
+ flex-direction: column;
242
+ justify-content: center;
243
+ align-items: flex-start;
244
+ padding: 35px 0px 0px 17px;
245
+ border-radius: 7px;
246
+ background-color: transparent;
247
+ font-family: Gilroy;
248
+ font-size: 14px;
249
+ font-weight: 500;
250
+ font-stretch: normal;
251
+ font-style: normal;
252
+ line-height: 21px;
253
+ letter-spacing: normal;
254
+ text-align: left;
255
+ color: cm_grey_700;
256
+ border: none;
257
+ transition: all 0.25s linear;
258
+ outline: none;
259
+ display: flex;
260
+ margin: 0px 16px 13px 0px;
261
+ box-sizing: border-box;
262
+ position: relative;
263
+ }
264
+
265
+ .coorpmanager label::before {
266
+ content: '';
267
+ top: 0px;
268
+ bottom: 20px;
269
+ left: 0px;
270
+ right: 0px;
271
+ position: absolute;
272
+ background-color: cm_grey_100;
273
+ border-radius: 7px;
274
+ transition: all 0.25s linear;
275
+ }
276
+
277
+ .coorpmanager .title.noValue{
278
+ font-size: 14px;
279
+ font-weight: 500;
280
+ color: cm_grey_700;
281
+ }
282
+
283
+ .coorpmanager:focus-within .title.noValue {
284
+ font-size: 10px;
285
+ font-weight: bold;
286
+ color: cm_grey_400;
287
+ top: 15px;
288
+ }
289
+
290
+ .coorpmanager:focus-within textarea::placeholder {
291
+ color: cm_grey_400;
292
+ }
293
+
294
+ .coorpmanager:focus-within .title.noValue .infoIcon {
295
+ width: 8px;
296
+ height: 8px;
297
+ line-height: 12px;
298
+ color: cm_grey_400;
299
+ }
300
+
301
+
302
+
303
+ .coorpmanager label:hover:before {
304
+ background-color: cm_grey_150;
305
+ }
306
+
307
+ .coorpmanager textarea::placeholder {
308
+ color: transparent;
309
+ transition: all 0.25s linear;
310
+ }
311
+
312
+ .coorpmanager .hint {
313
+ flex-grow: 0;
314
+ opacity: 0.5;
315
+ font-family: Gilroy;
316
+ font-size: 10px;
317
+ font-weight: 500;
318
+ font-stretch: normal;
319
+ font-style: normal;
320
+ line-height: 1.2;
321
+ letter-spacing: normal;
322
+ text-align: left;
323
+ padding-top: 8px;
324
+ color: cm_grey_700;
325
+ height: 12px;
326
+ }
327
+
328
+ .coorpmanager.error .hint {
329
+ color: cm_negative_100;
330
+ }
331
+
332
+ .coorpmanager.error .leftIcon {
333
+ background-color: cm_negative_100;
334
+ color: white;
335
+ border-radius: 50%;
336
+ padding: 2px;
337
+ width: 11px;
338
+ height: 11px;
339
+ right: 17px;
340
+ top: 13px;
341
+ }
342
+
343
+ .coorpmanager .leftIcon {
344
+ color: cm_positive_100;
345
+ width: 17px;
346
+ height: 17px;
347
+ position: absolute;
348
+ right: 15px;
349
+ top: 12px;
350
+ }
351
+
352
+ .coorpmanager.disabled {
353
+ opacity: 0.5;
354
+ }
355
+
356
+ .coorpmanager .infoIconWrapper {
357
+ overflow: visible;
358
+ height: 12px;
359
+ margin: 0px 4px;
360
+ cursor: pointer;
361
+ pointer-events: fill;
362
+ position: relative;
363
+ }
364
+
365
+ .coorpmanager .infoIcon {
366
+ cursor: pointer;
367
+ width: 8px;
368
+ height: 8px;
369
+ line-height: 16px;
370
+ color: cm_grey_400;
371
+ transition: all 0.25s linear;
372
+ }
373
+
374
+ .coorpmanager .infoIconWrapper:hover .descriptionLabel {
375
+ visibility: visible;
376
+ opacity: 1;
377
+ }
378
+
379
+ .coorpmanager .descriptionLabel {
380
+ margin: 0 1px 18px 0;
381
+ padding: 8px 16px;
382
+ border-radius: 7px;
383
+ background-color: cm_grey_700;
384
+ flex-grow: 0;
385
+ font-family: Gilroy;
386
+ font-size: 14px;
387
+ font-weight: 500;
388
+ font-stretch: normal;
389
+ font-style: normal;
390
+ line-height: 1.43;
391
+ letter-spacing: normal;
392
+ text-align: center;
393
+ color: white;
394
+ padding: 8px 16px;
395
+ max-width: 200px;
396
+ position: absolute;
397
+ left: -24px;
398
+ z-index: 3;
399
+ bottom: 5px;
400
+ width: max-content;
401
+ visibility: hidden;
402
+ opacity: 0s
403
+ }
404
+
405
+ .coorpmanager .descriptionLabel::after{
406
+ content:'';
407
+ border-left: 6px solid transparent;
408
+ border-right: 6px solid transparent;
409
+ border-top: 6px solid cm_grey_700;
410
+ position: absolute;
411
+ bottom: -6px;
412
+ left: 21px;
413
+ }
414
+ .coorpmanager .title.noValue .descriptionLabel::after{
415
+ left: 22px;
416
+ }
417
+ .coorpmanager:focus-within .title.noValue .descriptionLabel::after{
418
+ left: 21px;
419
+ }
420
+ .coorpmanager textarea::-webkit-resizer {
421
+ background: repeating-linear-gradient(
422
+ 135deg,
423
+ transparent,
424
+ transparent 14px,
425
+ cm_grey_400 14px,
426
+ cm_grey_400 15.5px,
427
+ transparent 15.5px,
428
+ transparent 17px,
429
+ cm_grey_400 17px,
430
+ cm_grey_400 18.5px,
431
+ transparent 18.5px,
432
+ transparent 20px,
433
+ cm_grey_400 20px,
434
+ cm_grey_400 21.5px
435
+ );
436
+ }
@@ -0,0 +1,17 @@
1
+ export default {
2
+ props: {
3
+ type: 'textarea',
4
+ title: 'Input name',
5
+ hint: 'Hint <span style="color:red;">10<span>/40',
6
+ placeholder: 'This is an input',
7
+ theme: 'coorpmanager',
8
+ description: 'This is the tooltip text',
9
+ value: 'This is an input',
10
+ disabled: false,
11
+ valid: false,
12
+ error: '',
13
+ required: true,
14
+ onChange: value => console.log(value)
15
+ }
16
+ };
17
+ //# sourceMappingURL=cm-default.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/input-textarea/test/fixtures/cm-default.js"],"names":["props","type","title","hint","placeholder","theme","description","value","disabled","valid","error","required","onChange","console","log"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,UADD;AAELC,IAAAA,KAAK,EAAE,YAFF;AAGLC,IAAAA,IAAI,EAAE,2CAHD;AAILC,IAAAA,WAAW,EAAE,kBAJR;AAKLC,IAAAA,KAAK,EAAE,cALF;AAMLC,IAAAA,WAAW,EAAE,0BANR;AAOLC,IAAAA,KAAK,EAAE,kBAPF;AAQLC,IAAAA,QAAQ,EAAE,KARL;AASLC,IAAAA,KAAK,EAAE,KATF;AAULC,IAAAA,KAAK,EAAE,EAVF;AAWLC,IAAAA,QAAQ,EAAE,IAXL;AAYLC,IAAAA,QAAQ,EAAEL,KAAK,IAAIM,OAAO,CAACC,GAAR,CAAYP,KAAZ;AAZd;AADM,CAAf","sourcesContent":["export default {\n props: {\n type: 'textarea',\n title: 'Input name',\n hint: 'Hint <span style=\"color:red;\">10<span>/40',\n placeholder: 'This is an input',\n theme: 'coorpmanager',\n description: 'This is the tooltip text',\n value: 'This is an input',\n disabled: false,\n valid: false,\n error: '',\n required: true,\n onChange: value => console.log(value)\n }\n};\n"],"file":"cm-default.js"}
@@ -0,0 +1,17 @@
1
+ export default {
2
+ props: {
3
+ type: 'textarea',
4
+ title: 'Input name',
5
+ hint: 'Hint <span style="color:red;">10<span>/40',
6
+ placeholder: 'This is an input',
7
+ theme: 'coorpmanager',
8
+ description: 'This is the tooltip text',
9
+ value: '',
10
+ disabled: false,
11
+ valid: false,
12
+ error: '',
13
+ required: true,
14
+ onChange: value => console.log(value)
15
+ }
16
+ };
17
+ //# sourceMappingURL=cm-empty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/input-textarea/test/fixtures/cm-empty.js"],"names":["props","type","title","hint","placeholder","theme","description","value","disabled","valid","error","required","onChange","console","log"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,UADD;AAELC,IAAAA,KAAK,EAAE,YAFF;AAGLC,IAAAA,IAAI,EAAE,2CAHD;AAILC,IAAAA,WAAW,EAAE,kBAJR;AAKLC,IAAAA,KAAK,EAAE,cALF;AAMLC,IAAAA,WAAW,EAAE,0BANR;AAOLC,IAAAA,KAAK,EAAE,EAPF;AAQLC,IAAAA,QAAQ,EAAE,KARL;AASLC,IAAAA,KAAK,EAAE,KATF;AAULC,IAAAA,KAAK,EAAE,EAVF;AAWLC,IAAAA,QAAQ,EAAE,IAXL;AAYLC,IAAAA,QAAQ,EAAEL,KAAK,IAAIM,OAAO,CAACC,GAAR,CAAYP,KAAZ;AAZd;AADM,CAAf","sourcesContent":["export default {\n props: {\n type: 'textarea',\n title: 'Input name',\n hint: 'Hint <span style=\"color:red;\">10<span>/40',\n placeholder: 'This is an input',\n theme: 'coorpmanager',\n description: 'This is the tooltip text',\n value: '',\n disabled: false,\n valid: false,\n error: '',\n required: true,\n onChange: value => console.log(value)\n }\n};\n"],"file":"cm-empty.js"}
@@ -2,16 +2,12 @@ import test from 'ava';
2
2
  import forEach from 'lodash/forEach';
3
3
  import renderComponentMacro from '../../../test/helpers/render-component';
4
4
  import AtomTitle from '..';
5
- import fixtureFormGroupTitleWithoutSubtitle from './fixtures/form-group-title-without-subtitle';
6
- import fixtureFormGroupTitle from './fixtures/form-group-title';
7
- import fixturePageTitle from './fixtures/page-title';
5
+ import fixtureFixture from './fixtures/fixture';
8
6
  test('Atom › AtomTitle > should have valid propTypes', t => {
9
7
  t.pass();
10
8
  forEach(AtomTitle.propTypes, (value, key) => {
11
9
  t.not(value, undefined, `PropType for "Atom.AtomTitle.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
12
10
  });
13
11
  });
14
- test('Atom › AtomTitle › FormGroupTitleWithoutSubtitle › should be rendered', renderComponentMacro, AtomTitle, fixtureFormGroupTitleWithoutSubtitle);
15
- test('Atom › AtomTitle › FormGroupTitle › should be rendered', renderComponentMacro, AtomTitle, fixtureFormGroupTitle);
16
- test('Atom › AtomTitle › PageTitle › should be rendered', renderComponentMacro, AtomTitle, fixturePageTitle);
12
+ test('Atom › AtomTitle › Fixture › should be rendered', renderComponentMacro, AtomTitle, fixtureFixture);
17
13
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/atom/title/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomTitle","fixtureFormGroupTitleWithoutSubtitle","fixtureFormGroupTitle","fixturePageTitle","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,SAAP,MAAsB,IAAtB;AACA,OAAOC,oCAAP,MAAiD,8CAAjD;AACA,OAAOC,qBAAP,MAAkC,6BAAlC;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAN,IAAI,CAAC,gDAAD,EAAmDO,CAAC,IAAI;AAC1DA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,SAAS,CAACM,SAAX,EAAsB,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3CJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0CAAyCF,GAAI,mEAAtE;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,SAAhG,EAA2GC,oCAA3G,CAAJ;AACAJ,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,SAAjF,EAA4FE,qBAA5F,CAAJ;AACAL,IAAI,CAAC,mDAAD,EAAsDE,oBAAtD,EAA4EC,SAA5E,EAAuFG,gBAAvF,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomTitle from '..';\nimport fixtureFormGroupTitleWithoutSubtitle from './fixtures/form-group-title-without-subtitle';\nimport fixtureFormGroupTitle from './fixtures/form-group-title';\nimport fixturePageTitle from './fixtures/page-title';\n\ntest('Atom › AtomTitle > should have valid propTypes', t => {\n t.pass();\n forEach(AtomTitle.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomTitle.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomTitle › FormGroupTitleWithoutSubtitle › should be rendered', renderComponentMacro, AtomTitle, fixtureFormGroupTitleWithoutSubtitle);\ntest('Atom › AtomTitle › FormGroupTitle › should be rendered', renderComponentMacro, AtomTitle, fixtureFormGroupTitle);\ntest('Atom › AtomTitle › PageTitle › should be rendered', renderComponentMacro, AtomTitle, fixturePageTitle);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/atom/title/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomTitle","fixtureFixture","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,SAAP,MAAsB,IAAtB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,gDAAD,EAAmDK,CAAC,IAAI;AAC1DA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,SAAS,CAACI,SAAX,EAAsB,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3CJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0CAAyCF,GAAI,mEAAtE;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,iDAAD,EAAoDE,oBAApD,EAA0EC,SAA1E,EAAqFC,cAArF,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomTitle from '..';\nimport fixtureFixture from './fixtures/fixture';\n\ntest('Atom › AtomTitle > should have valid propTypes', t => {\n t.pass();\n forEach(AtomTitle.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomTitle.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomTitle › Fixture › should be rendered', renderComponentMacro, AtomTitle, fixtureFixture);\n"],"file":"fixtures.js"}
@@ -0,0 +1,46 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import classnames from 'classnames';
4
+ import { NovaSolidInterfaceFeedbackInterfaceAlertDiamond as QuestionIcon } from '@coorpacademy/nova-icons';
5
+ import Link from '../../atom/link';
6
+ import style from './style.css';
7
+
8
+ const Banner = props => {
9
+ const {
10
+ type,
11
+ message,
12
+ firstCTA,
13
+ firstCTALabel,
14
+ secondCTALabel,
15
+ secondCTA
16
+ } = props;
17
+ return /*#__PURE__*/React.createElement("div", {
18
+ className: classnames(style.banner, type === 'error' && style.errorBanner)
19
+ }, /*#__PURE__*/React.createElement("div", {
20
+ "data-name": `${type}-banner-message`,
21
+ className: style.message
22
+ }, /*#__PURE__*/React.createElement(QuestionIcon, {
23
+ className: style.icon
24
+ }), message), firstCTALabel ? /*#__PURE__*/React.createElement(Link, {
25
+ "data-name": "first-banner-cta",
26
+ className: style.button,
27
+ onClick: firstCTA
28
+ }, firstCTALabel) : null, firstCTALabel && secondCTALabel ? /*#__PURE__*/React.createElement("div", {
29
+ className: style.buttonsBar
30
+ }) : null, secondCTALabel ? /*#__PURE__*/React.createElement(Link, {
31
+ "data-name": "second-banner-cta",
32
+ className: style.button,
33
+ onClick: secondCTA
34
+ }, secondCTALabel) : null);
35
+ };
36
+
37
+ Banner.propTypes = process.env.NODE_ENV !== "production" ? {
38
+ type: PropTypes.oneOf(['information', 'error']),
39
+ message: PropTypes.string.isRequired,
40
+ firstCTA: PropTypes.func,
41
+ firstCTALabel: PropTypes.string,
42
+ secondCTALabel: PropTypes.string,
43
+ secondCTA: PropTypes.func
44
+ } : {};
45
+ export default Banner;
46
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/molecule/banner/index.js"],"names":["React","PropTypes","classnames","NovaSolidInterfaceFeedbackInterfaceAlertDiamond","QuestionIcon","Link","style","Banner","props","type","message","firstCTA","firstCTALabel","secondCTALabel","secondCTA","banner","errorBanner","icon","button","buttonsBar","propTypes","oneOf","string","isRequired","func"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SAAQC,+CAA+C,IAAIC,YAA3D,QAA8E,0BAA9E;AACA,OAAOC,IAAP,MAAiB,iBAAjB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,MAAM,GAAGC,KAAK,IAAI;AACtB,QAAM;AAACC,IAAAA,IAAD;AAAOC,IAAAA,OAAP;AAAgBC,IAAAA,QAAhB;AAA0BC,IAAAA,aAA1B;AAAyCC,IAAAA,cAAzC;AAAyDC,IAAAA;AAAzD,MAAsEN,KAA5E;AACA,sBACE;AAAK,IAAA,SAAS,EAAEN,UAAU,CAACI,KAAK,CAACS,MAAP,EAAeN,IAAI,KAAK,OAAT,IAAoBH,KAAK,CAACU,WAAzC;AAA1B,kBACE;AAAK,iBAAY,GAAEP,IAAK,iBAAxB;AAA0C,IAAA,SAAS,EAAEH,KAAK,CAACI;AAA3D,kBACE,oBAAC,YAAD;AAAc,IAAA,SAAS,EAAEJ,KAAK,CAACW;AAA/B,IADF,EAEGP,OAFH,CADF,EAKGE,aAAa,gBACZ,oBAAC,IAAD;AAAM,iBAAU,kBAAhB;AAAmC,IAAA,SAAS,EAAEN,KAAK,CAACY,MAApD;AAA4D,IAAA,OAAO,EAAEP;AAArE,KACGC,aADH,CADY,GAIV,IATN,EAUGA,aAAa,IAAIC,cAAjB,gBAAkC;AAAK,IAAA,SAAS,EAAEP,KAAK,CAACa;AAAtB,IAAlC,GAAyE,IAV5E,EAWGN,cAAc,gBACb,oBAAC,IAAD;AAAM,iBAAU,mBAAhB;AAAoC,IAAA,SAAS,EAAEP,KAAK,CAACY,MAArD;AAA6D,IAAA,OAAO,EAAEJ;AAAtE,KACGD,cADH,CADa,GAIX,IAfN,CADF;AAmBD,CArBD;;AAuBAN,MAAM,CAACa,SAAP,2CAAmB;AACjBX,EAAAA,IAAI,EAAER,SAAS,CAACoB,KAAV,CAAgB,CAAC,aAAD,EAAgB,OAAhB,CAAhB,CADW;AAEjBX,EAAAA,OAAO,EAAET,SAAS,CAACqB,MAAV,CAAiBC,UAFT;AAGjBZ,EAAAA,QAAQ,EAAEV,SAAS,CAACuB,IAHH;AAIjBZ,EAAAA,aAAa,EAAEX,SAAS,CAACqB,MAJR;AAKjBT,EAAAA,cAAc,EAAEZ,SAAS,CAACqB,MALT;AAMjBR,EAAAA,SAAS,EAAEb,SAAS,CAACuB;AANJ,CAAnB;AASA,eAAejB,MAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {NovaSolidInterfaceFeedbackInterfaceAlertDiamond as QuestionIcon} from '@coorpacademy/nova-icons';\nimport Link from '../../atom/link';\nimport style from './style.css';\n\nconst Banner = props => {\n const {type, message, firstCTA, firstCTALabel, secondCTALabel, secondCTA} = props;\n return (\n <div className={classnames(style.banner, type === 'error' && style.errorBanner)}>\n <div data-name={`${type}-banner-message`} className={style.message}>\n <QuestionIcon className={style.icon} />\n {message}\n </div>\n {firstCTALabel ? (\n <Link data-name=\"first-banner-cta\" className={style.button} onClick={firstCTA}>\n {firstCTALabel}\n </Link>\n ) : null}\n {firstCTALabel && secondCTALabel ? <div className={style.buttonsBar} /> : null}\n {secondCTALabel ? (\n <Link data-name=\"second-banner-cta\" className={style.button} onClick={secondCTA}>\n {secondCTALabel}\n </Link>\n ) : null}\n </div>\n );\n};\n\nBanner.propTypes = {\n type: PropTypes.oneOf(['information', 'error']),\n message: PropTypes.string.isRequired,\n firstCTA: PropTypes.func,\n firstCTALabel: PropTypes.string,\n secondCTALabel: PropTypes.string,\n secondCTA: PropTypes.func\n};\n\nexport default Banner;\n"],"file":"index.js"}
@@ -0,0 +1,63 @@
1
+ @value breakpoints: "../../variables/breakpoints.css";
2
+ @value mobile from breakpoints;
3
+ @value colors: "../../variables/colors.css";
4
+ @value white from colors;
5
+ @value medium from colors;
6
+ @value cm_negative_50 from colors;
7
+ @value cm_negative_200 from colors;
8
+ @value cm_warning_50 from colors;
9
+ @value cm_warning_200 from colors;
10
+
11
+ .banner {
12
+ display: flex;
13
+ flex-direction: row;
14
+ justify-content: flex-start;
15
+ align-items: center;
16
+ gap: 8px;
17
+ padding: 16px 24px;
18
+ border-radius: 5px;
19
+ background-color: cm_warning_50;
20
+ color: cm_warning_200;
21
+ border-radius: 5px;
22
+ }
23
+
24
+ .errorBanner {
25
+ background-color: cm_negative_50;
26
+ color: cm_negative_200;
27
+ }
28
+
29
+ .button {
30
+ flex-grow: 0;
31
+ font-family: Gilroy;
32
+ font-size: 12px;
33
+ font-weight: bold;
34
+ line-height: 1.33;
35
+ background-color: transparent;
36
+ }
37
+
38
+ .buttonsBar {
39
+ width: 1px;
40
+ align-self: stretch;
41
+ flex-grow: 0;
42
+ opacity: 0.1;
43
+ background-color: cm_warning_200;
44
+ }
45
+
46
+ .icon {
47
+ height: 22px;
48
+ margin-right: 16px;
49
+ }
50
+
51
+ .message {
52
+ font-family: 'Gilroy';
53
+ font-size: 14px;
54
+ font-weight: 600;
55
+ font-stretch: normal;
56
+ font-style: normal;
57
+ line-height: normal;
58
+ letter-spacing: normal;
59
+ flex: 0 1 100%;
60
+ display: flex;
61
+ align-content: center;
62
+ align-items: center;
63
+ }
@@ -0,0 +1,11 @@
1
+ export default {
2
+ props: {
3
+ type: 'information',
4
+ message: 'Changes saved but not published. Do you want to update this custom playlist now? ',
5
+ firstCTALabel: 'Undo',
6
+ firstCTA: () => console.log('first cta'),
7
+ secondCTALabel: 'Update',
8
+ secondCTA: () => console.log('second cta')
9
+ }
10
+ };
11
+ //# sourceMappingURL=default.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/banner/test/fixtures/default.js"],"names":["props","type","message","firstCTALabel","firstCTA","console","log","secondCTALabel","secondCTA"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,aADD;AAELC,IAAAA,OAAO,EAAE,mFAFJ;AAGLC,IAAAA,aAAa,EAAE,MAHV;AAILC,IAAAA,QAAQ,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ,CAJX;AAKLC,IAAAA,cAAc,EAAE,QALX;AAMLC,IAAAA,SAAS,EAAE,MAAMH,OAAO,CAACC,GAAR,CAAY,YAAZ;AANZ;AADM,CAAf","sourcesContent":["export default {\n props: {\n type: 'information',\n message: 'Changes saved but not published. Do you want to update this custom playlist now? ',\n firstCTALabel: 'Undo',\n firstCTA: () => console.log('first cta'),\n secondCTALabel: 'Update',\n secondCTA: () => console.log('second cta')\n }\n};\n"],"file":"default.js"}
@@ -0,0 +1,7 @@
1
+ export default {
2
+ props: {
3
+ type: 'error',
4
+ message: 'Unable to publish this custom playlist. You must complete all the creation steps before publishing it. '
5
+ }
6
+ };
7
+ //# sourceMappingURL=error-banner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/banner/test/fixtures/error-banner.js"],"names":["props","type","message"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,OADD;AAELC,IAAAA,OAAO,EACL;AAHG;AADM,CAAf","sourcesContent":["export default {\n props: {\n type: 'error',\n message:\n 'Unable to publish this custom playlist. You must complete all the creation steps before publishing it. '\n }\n};\n"],"file":"error-banner.js"}
@@ -0,0 +1,51 @@
1
+ export default {
2
+ props: {
3
+ title: 'Platform Name',
4
+ fields: [{
5
+ title: 'Domain name',
6
+ value: 'samsung.coorpacademy.com',
7
+ hint: 'Hint <span style="color:red;">10<span>/40',
8
+ placeholder: 'This is an input',
9
+ theme: 'coorpmanager',
10
+ description: 'This is the tooltip text',
11
+ type: 'text',
12
+ disabled: true
13
+ }, {
14
+ title: 'Platform name',
15
+ value: 'Samsung',
16
+ hint: 'Hint <span style="color:red;">10<span>/40',
17
+ placeholder: 'This is an input',
18
+ theme: 'coorpmanager',
19
+ description: 'This is the tooltip text',
20
+ type: 'text',
21
+ disabled: true
22
+ }, {
23
+ title: 'Description',
24
+ value: '',
25
+ theme: 'coorpmanager',
26
+ type: 'html'
27
+ }, {
28
+ title: 'TextArea',
29
+ value: '',
30
+ hint: 'Hint <span style="color:red;">10<span>/40',
31
+ placeholder: 'This is an input',
32
+ theme: 'coorpmanager',
33
+ description: 'This is the tooltip text',
34
+ type: 'textarea'
35
+ }, {
36
+ title: 'Default field',
37
+ value: '',
38
+ hint: 'Hint <span style="color:red;">10<span>/40',
39
+ placeholder: 'This is an input',
40
+ theme: 'coorpmanager',
41
+ description: 'This is the tooltip text',
42
+ type: 'unknow'
43
+ }, {
44
+ title: 'Select Multiple',
45
+ value: '',
46
+ theme: 'coorpmanager',
47
+ type: 'selectMultiple'
48
+ }]
49
+ }
50
+ };
51
+ //# sourceMappingURL=cm-default.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/brand-form-group/test/fixtures/cm-default.js"],"names":["props","title","fields","value","hint","placeholder","theme","description","type","disabled"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,eADF;AAELC,IAAAA,MAAM,EAAE,CACN;AACED,MAAAA,KAAK,EAAE,aADT;AAEEE,MAAAA,KAAK,EAAE,0BAFT;AAGEC,MAAAA,IAAI,EAAE,2CAHR;AAIEC,MAAAA,WAAW,EAAE,kBAJf;AAKEC,MAAAA,KAAK,EAAE,cALT;AAMEC,MAAAA,WAAW,EAAE,0BANf;AAOEC,MAAAA,IAAI,EAAE,MAPR;AAQEC,MAAAA,QAAQ,EAAE;AARZ,KADM,EAWN;AACER,MAAAA,KAAK,EAAE,eADT;AAEEE,MAAAA,KAAK,EAAE,SAFT;AAGEC,MAAAA,IAAI,EAAE,2CAHR;AAIEC,MAAAA,WAAW,EAAE,kBAJf;AAKEC,MAAAA,KAAK,EAAE,cALT;AAMEC,MAAAA,WAAW,EAAE,0BANf;AAOEC,MAAAA,IAAI,EAAE,MAPR;AAQEC,MAAAA,QAAQ,EAAE;AARZ,KAXM,EAqBN;AACER,MAAAA,KAAK,EAAE,aADT;AAEEE,MAAAA,KAAK,EAAE,EAFT;AAGEG,MAAAA,KAAK,EAAE,cAHT;AAIEE,MAAAA,IAAI,EAAE;AAJR,KArBM,EA2BN;AACEP,MAAAA,KAAK,EAAE,UADT;AAEEE,MAAAA,KAAK,EAAE,EAFT;AAGEC,MAAAA,IAAI,EAAE,2CAHR;AAIEC,MAAAA,WAAW,EAAE,kBAJf;AAKEC,MAAAA,KAAK,EAAE,cALT;AAMEC,MAAAA,WAAW,EAAE,0BANf;AAOEC,MAAAA,IAAI,EAAE;AAPR,KA3BM,EAoCN;AACEP,MAAAA,KAAK,EAAE,eADT;AAEEE,MAAAA,KAAK,EAAE,EAFT;AAGEC,MAAAA,IAAI,EAAE,2CAHR;AAIEC,MAAAA,WAAW,EAAE,kBAJf;AAKEC,MAAAA,KAAK,EAAE,cALT;AAMEC,MAAAA,WAAW,EAAE,0BANf;AAOEC,MAAAA,IAAI,EAAE;AAPR,KApCM,EA6CN;AACEP,MAAAA,KAAK,EAAE,iBADT;AAEEE,MAAAA,KAAK,EAAE,EAFT;AAGEG,MAAAA,KAAK,EAAE,cAHT;AAIEE,MAAAA,IAAI,EAAE;AAJR,KA7CM;AAFH;AADM,CAAf","sourcesContent":["export default {\n props: {\n title: 'Platform Name',\n fields: [\n {\n title: 'Domain name',\n value: 'samsung.coorpacademy.com',\n hint: 'Hint <span style=\"color:red;\">10<span>/40',\n placeholder: 'This is an input',\n theme: 'coorpmanager',\n description: 'This is the tooltip text',\n type: 'text',\n disabled: true\n },\n {\n title: 'Platform name',\n value: 'Samsung',\n hint: 'Hint <span style=\"color:red;\">10<span>/40',\n placeholder: 'This is an input',\n theme: 'coorpmanager',\n description: 'This is the tooltip text',\n type: 'text',\n disabled: true\n },\n {\n title: 'Description',\n value: '',\n theme: 'coorpmanager',\n type: 'html'\n },\n {\n title: 'TextArea',\n value: '',\n hint: 'Hint <span style=\"color:red;\">10<span>/40',\n placeholder: 'This is an input',\n theme: 'coorpmanager',\n description: 'This is the tooltip text',\n type: 'textarea'\n },\n {\n title: 'Default field',\n value: '',\n hint: 'Hint <span style=\"color:red;\">10<span>/40',\n placeholder: 'This is an input',\n theme: 'coorpmanager',\n description: 'This is the tooltip text',\n type: 'unknow'\n },\n {\n title: 'Select Multiple',\n value: '',\n theme: 'coorpmanager',\n type: 'selectMultiple'\n }\n ]\n }\n};\n"],"file":"cm-default.js"}
@@ -4,26 +4,35 @@ export default {
4
4
  fields: [{
5
5
  title: 'Domain name',
6
6
  value: 'samsung.coorpacademy.com',
7
- type: 'readonly'
7
+ theme: 'coorpmanager',
8
+ type: 'text',
9
+ disabled: true
8
10
  }, {
9
11
  title: 'Platform name',
10
12
  value: 'Samsung',
11
- type: 'readonly'
13
+ theme: 'coorpmanager',
14
+ type: 'text',
15
+ disabled: true
12
16
  }, {
13
17
  title: 'Description',
14
18
  value: '',
19
+ theme: 'coorpmanager',
15
20
  type: 'html'
16
21
  }, {
17
22
  title: 'TextArea',
18
23
  value: '',
19
- type: 'textarea'
24
+ theme: 'coorpmanager',
25
+ type: 'textarea',
26
+ hint: ''
20
27
  }, {
21
28
  title: 'Default field',
22
29
  value: '',
30
+ theme: 'coorpmanager',
23
31
  type: 'unknow'
24
32
  }, {
25
33
  title: 'Select Multiple',
26
34
  value: '',
35
+ theme: 'coorpmanager',
27
36
  type: 'selectMultiple'
28
37
  }]
29
38
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/brand-form-group/test/fixtures/default.js"],"names":["props","title","fields","value","type"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,eADF;AAELC,IAAAA,MAAM,EAAE,CACN;AACED,MAAAA,KAAK,EAAE,aADT;AAEEE,MAAAA,KAAK,EAAE,0BAFT;AAGEC,MAAAA,IAAI,EAAE;AAHR,KADM,EAMN;AACEH,MAAAA,KAAK,EAAE,eADT;AAEEE,MAAAA,KAAK,EAAE,SAFT;AAGEC,MAAAA,IAAI,EAAE;AAHR,KANM,EAWN;AACEH,MAAAA,KAAK,EAAE,aADT;AAEEE,MAAAA,KAAK,EAAE,EAFT;AAGEC,MAAAA,IAAI,EAAE;AAHR,KAXM,EAgBN;AACEH,MAAAA,KAAK,EAAE,UADT;AAEEE,MAAAA,KAAK,EAAE,EAFT;AAGEC,MAAAA,IAAI,EAAE;AAHR,KAhBM,EAqBN;AACEH,MAAAA,KAAK,EAAE,eADT;AAEEE,MAAAA,KAAK,EAAE,EAFT;AAGEC,MAAAA,IAAI,EAAE;AAHR,KArBM,EA0BN;AACEH,MAAAA,KAAK,EAAE,iBADT;AAEEE,MAAAA,KAAK,EAAE,EAFT;AAGEC,MAAAA,IAAI,EAAE;AAHR,KA1BM;AAFH;AADM,CAAf","sourcesContent":["export default {\n props: {\n title: 'Platform Name',\n fields: [\n {\n title: 'Domain name',\n value: 'samsung.coorpacademy.com',\n type: 'readonly'\n },\n {\n title: 'Platform name',\n value: 'Samsung',\n type: 'readonly'\n },\n {\n title: 'Description',\n value: '',\n type: 'html'\n },\n {\n title: 'TextArea',\n value: '',\n type: 'textarea'\n },\n {\n title: 'Default field',\n value: '',\n type: 'unknow'\n },\n {\n title: 'Select Multiple',\n value: '',\n type: 'selectMultiple'\n }\n ]\n }\n};\n"],"file":"default.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/brand-form-group/test/fixtures/default.js"],"names":["props","title","fields","value","theme","type","disabled","hint"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,eADF;AAELC,IAAAA,MAAM,EAAE,CACN;AACED,MAAAA,KAAK,EAAE,aADT;AAEEE,MAAAA,KAAK,EAAE,0BAFT;AAGEC,MAAAA,KAAK,EAAE,cAHT;AAIEC,MAAAA,IAAI,EAAE,MAJR;AAKEC,MAAAA,QAAQ,EAAE;AALZ,KADM,EAQN;AACEL,MAAAA,KAAK,EAAE,eADT;AAEEE,MAAAA,KAAK,EAAE,SAFT;AAGEC,MAAAA,KAAK,EAAE,cAHT;AAIEC,MAAAA,IAAI,EAAE,MAJR;AAKEC,MAAAA,QAAQ,EAAE;AALZ,KARM,EAeN;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEE,MAAAA,KAAK,EAAE,EAFT;AAGEC,MAAAA,KAAK,EAAE,cAHT;AAIEC,MAAAA,IAAI,EAAE;AAJR,KAfM,EAqBN;AACEJ,MAAAA,KAAK,EAAE,UADT;AAEEE,MAAAA,KAAK,EAAE,EAFT;AAGEC,MAAAA,KAAK,EAAE,cAHT;AAIEC,MAAAA,IAAI,EAAE,UAJR;AAKEE,MAAAA,IAAI,EAAE;AALR,KArBM,EA4BN;AACEN,MAAAA,KAAK,EAAE,eADT;AAEEE,MAAAA,KAAK,EAAE,EAFT;AAGEC,MAAAA,KAAK,EAAE,cAHT;AAIEC,MAAAA,IAAI,EAAE;AAJR,KA5BM,EAkCN;AACEJ,MAAAA,KAAK,EAAE,iBADT;AAEEE,MAAAA,KAAK,EAAE,EAFT;AAGEC,MAAAA,KAAK,EAAE,cAHT;AAIEC,MAAAA,IAAI,EAAE;AAJR,KAlCM;AAFH;AADM,CAAf","sourcesContent":["export default {\n props: {\n title: 'Platform Name',\n fields: [\n {\n title: 'Domain name',\n value: 'samsung.coorpacademy.com',\n theme: 'coorpmanager',\n type: 'text',\n disabled: true\n },\n {\n title: 'Platform name',\n value: 'Samsung',\n theme: 'coorpmanager',\n type: 'text',\n disabled: true\n },\n {\n title: 'Description',\n value: '',\n theme: 'coorpmanager',\n type: 'html'\n },\n {\n title: 'TextArea',\n value: '',\n theme: 'coorpmanager',\n type: 'textarea',\n hint: ''\n },\n {\n title: 'Default field',\n value: '',\n theme: 'coorpmanager',\n type: 'unknow'\n },\n {\n title: 'Select Multiple',\n value: '',\n theme: 'coorpmanager',\n type: 'selectMultiple'\n }\n ]\n }\n};\n"],"file":"default.js"}