@coorpacademy/components 11.33.2 → 11.33.3-alpha.12

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 (146) hide show
  1. package/es/atom/button-link/index.d.ts +1 -0
  2. package/es/atom/button-link/index.d.ts.map +1 -1
  3. package/es/atom/button-link/index.js +11 -7
  4. package/es/atom/button-link/index.js.map +1 -1
  5. package/es/atom/button-link/style.css +10 -0
  6. package/es/atom/button-link/types.d.ts +2 -0
  7. package/es/atom/button-link/types.d.ts.map +1 -1
  8. package/es/atom/button-link/types.js +2 -1
  9. package/es/atom/button-link/types.js.map +1 -1
  10. package/es/atom/button-link-icon/style.css +2 -2
  11. package/es/atom/button-menu/index.d.ts +15 -0
  12. package/es/atom/button-menu/index.d.ts.map +1 -1
  13. package/es/atom/button-menu/index.js +43 -5
  14. package/es/atom/button-menu/index.js.map +1 -1
  15. package/es/atom/button-menu/style.css +13 -0
  16. package/es/atom/button-menu/types.d.ts +40 -0
  17. package/es/atom/button-menu/types.d.ts.map +1 -1
  18. package/es/atom/button-menu/types.js +16 -1
  19. package/es/atom/button-menu/types.js.map +1 -1
  20. package/es/atom/tag/style.css +10 -6
  21. package/es/molecule/bullet-point-menu-button/index.d.ts +16 -0
  22. package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  23. package/es/molecule/bullet-point-menu-button/index.js +5 -3
  24. package/es/molecule/bullet-point-menu-button/index.js.map +1 -1
  25. package/es/molecule/bullet-point-menu-button/style.css +26 -7
  26. package/es/molecule/bullet-point-menu-button/types.d.ts +17 -0
  27. package/es/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
  28. package/es/molecule/bullet-point-menu-button/types.js +2 -1
  29. package/es/molecule/bullet-point-menu-button/types.js.map +1 -1
  30. package/es/molecule/cm-popin/types.d.ts +34 -0
  31. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  32. package/es/molecule/expandible-actionable-table/index.d.ts +33 -0
  33. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  34. package/es/molecule/expandible-actionable-table/types.d.ts +33 -0
  35. package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  36. package/es/organism/custom-skill-header/index.d.ts +5 -0
  37. package/es/organism/custom-skill-header/index.d.ts.map +1 -0
  38. package/es/organism/custom-skill-header/index.js +88 -0
  39. package/es/organism/custom-skill-header/index.js.map +1 -0
  40. package/es/organism/custom-skill-header/style.css +54 -0
  41. package/es/organism/custom-skill-header/types.d.ts +28 -0
  42. package/es/organism/custom-skill-header/types.d.ts.map +1 -0
  43. package/es/organism/custom-skill-header/types.js +2 -0
  44. package/es/organism/custom-skill-header/types.js.map +1 -0
  45. package/es/organism/list-items/index.d.ts +34 -0
  46. package/es/organism/setup-header/index.d.ts +4 -0
  47. package/es/organism/wizard-contents/index.d.ts +35 -0
  48. package/es/template/app-player/loading/index.d.ts +34 -0
  49. package/es/template/app-player/player/index.d.ts +68 -0
  50. package/es/template/app-player/player/slides/index.d.ts +34 -0
  51. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  52. package/es/template/app-player/popin-correction/index.d.ts +34 -0
  53. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  54. package/es/template/app-player/popin-end/index.d.ts +34 -0
  55. package/es/template/app-review/index.d.ts +34 -0
  56. package/es/template/app-review/index.d.ts.map +1 -1
  57. package/es/template/app-review/player/prop-types.d.ts +34 -0
  58. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  59. package/es/template/app-review/prop-types.d.ts +34 -0
  60. package/es/template/app-review/prop-types.d.ts.map +1 -1
  61. package/es/template/back-office/brand-create/index.d.ts +4 -0
  62. package/es/template/back-office/brand-create/index.d.ts.map +1 -1
  63. package/es/template/back-office/brand-list/index.d.ts +4 -0
  64. package/es/template/back-office/brand-list/index.d.ts.map +1 -1
  65. package/es/template/back-office/brand-update/index.d.ts +107 -0
  66. package/es/template/back-office/dashboard-preview/index.d.ts +4 -0
  67. package/es/template/back-office/layout/index.d.ts +4 -0
  68. package/es/template/back-office/layout/index.d.ts.map +1 -1
  69. package/es/template/common/dashboard/index.d.ts +68 -0
  70. package/es/template/common/search-page/index.d.ts +34 -0
  71. package/es/template/external-course/index.d.ts +34 -0
  72. package/es/variables/colors.css +3 -0
  73. package/lib/atom/button-link/index.d.ts +1 -0
  74. package/lib/atom/button-link/index.d.ts.map +1 -1
  75. package/lib/atom/button-link/index.js +11 -7
  76. package/lib/atom/button-link/index.js.map +1 -1
  77. package/lib/atom/button-link/style.css +10 -0
  78. package/lib/atom/button-link/types.d.ts +2 -0
  79. package/lib/atom/button-link/types.d.ts.map +1 -1
  80. package/lib/atom/button-link/types.js +2 -1
  81. package/lib/atom/button-link/types.js.map +1 -1
  82. package/lib/atom/button-link-icon/style.css +2 -2
  83. package/lib/atom/button-menu/index.d.ts +15 -0
  84. package/lib/atom/button-menu/index.d.ts.map +1 -1
  85. package/lib/atom/button-menu/index.js +43 -5
  86. package/lib/atom/button-menu/index.js.map +1 -1
  87. package/lib/atom/button-menu/style.css +13 -0
  88. package/lib/atom/button-menu/types.d.ts +40 -0
  89. package/lib/atom/button-menu/types.d.ts.map +1 -1
  90. package/lib/atom/button-menu/types.js +16 -1
  91. package/lib/atom/button-menu/types.js.map +1 -1
  92. package/lib/atom/tag/style.css +10 -6
  93. package/lib/molecule/bullet-point-menu-button/index.d.ts +16 -0
  94. package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  95. package/lib/molecule/bullet-point-menu-button/index.js +5 -3
  96. package/lib/molecule/bullet-point-menu-button/index.js.map +1 -1
  97. package/lib/molecule/bullet-point-menu-button/style.css +26 -7
  98. package/lib/molecule/bullet-point-menu-button/types.d.ts +17 -0
  99. package/lib/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
  100. package/lib/molecule/bullet-point-menu-button/types.js +2 -1
  101. package/lib/molecule/bullet-point-menu-button/types.js.map +1 -1
  102. package/lib/molecule/cm-popin/types.d.ts +34 -0
  103. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  104. package/lib/molecule/expandible-actionable-table/index.d.ts +33 -0
  105. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  106. package/lib/molecule/expandible-actionable-table/types.d.ts +33 -0
  107. package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  108. package/lib/organism/custom-skill-header/index.d.ts +5 -0
  109. package/lib/organism/custom-skill-header/index.d.ts.map +1 -0
  110. package/lib/organism/custom-skill-header/index.js +93 -0
  111. package/lib/organism/custom-skill-header/index.js.map +1 -0
  112. package/lib/organism/custom-skill-header/style.css +54 -0
  113. package/lib/organism/custom-skill-header/types.d.ts +28 -0
  114. package/lib/organism/custom-skill-header/types.d.ts.map +1 -0
  115. package/lib/organism/custom-skill-header/types.js +4 -0
  116. package/lib/organism/custom-skill-header/types.js.map +1 -0
  117. package/lib/organism/list-items/index.d.ts +34 -0
  118. package/lib/organism/setup-header/index.d.ts +4 -0
  119. package/lib/organism/wizard-contents/index.d.ts +35 -0
  120. package/lib/template/app-player/loading/index.d.ts +34 -0
  121. package/lib/template/app-player/player/index.d.ts +68 -0
  122. package/lib/template/app-player/player/slides/index.d.ts +34 -0
  123. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  124. package/lib/template/app-player/popin-correction/index.d.ts +34 -0
  125. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  126. package/lib/template/app-player/popin-end/index.d.ts +34 -0
  127. package/lib/template/app-review/index.d.ts +34 -0
  128. package/lib/template/app-review/index.d.ts.map +1 -1
  129. package/lib/template/app-review/player/prop-types.d.ts +34 -0
  130. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  131. package/lib/template/app-review/prop-types.d.ts +34 -0
  132. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  133. package/lib/template/back-office/brand-create/index.d.ts +4 -0
  134. package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
  135. package/lib/template/back-office/brand-list/index.d.ts +4 -0
  136. package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
  137. package/lib/template/back-office/brand-update/index.d.ts +107 -0
  138. package/lib/template/back-office/dashboard-preview/index.d.ts +4 -0
  139. package/lib/template/back-office/layout/index.d.ts +4 -0
  140. package/lib/template/back-office/layout/index.d.ts.map +1 -1
  141. package/lib/template/common/dashboard/index.d.ts +68 -0
  142. package/lib/template/common/search-page/index.d.ts +34 -0
  143. package/lib/template/external-course/index.d.ts +34 -0
  144. package/lib/variables/colors.css +3 -0
  145. package/locales/.mtslconfig.json +1 -0
  146. package/package.json +2 -2
@@ -120,6 +120,7 @@ declare namespace Dashboard {
120
120
  disabled: PropTypes.Requireable<boolean>;
121
121
  className: PropTypes.Requireable<string>;
122
122
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
123
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
123
124
  }>>;
124
125
  selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
125
126
  title: PropTypes.Requireable<string>;
@@ -237,10 +238,26 @@ declare namespace Dashboard {
237
238
  label: PropTypes.Validator<string>;
238
239
  onClick: PropTypes.Validator<(...args: any[]) => any>;
239
240
  type: PropTypes.Requireable<string>;
241
+ linkType: PropTypes.Requireable<string>;
242
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
243
+ position: PropTypes.Validator<string>;
244
+ type: PropTypes.Requireable<string>;
245
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
246
+ name: PropTypes.Validator<string>;
247
+ size: PropTypes.Requireable<number>;
248
+ color: PropTypes.Requireable<string>;
249
+ }>>;
250
+ }>>;
251
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
252
+ color: PropTypes.Requireable<string>;
253
+ hoverBackgroundColor: PropTypes.Requireable<string>;
254
+ }>>;
255
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
240
256
  }> | null | undefined)[]>;
241
257
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
242
258
  menuButtonClassName: PropTypes.Requireable<string>;
243
259
  isBulkMenu: PropTypes.Requireable<boolean>;
260
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
244
261
  }> | null | undefined>>;
245
262
  }> | null | undefined)[]>;
246
263
  stickyFirstColumn: PropTypes.Requireable<boolean>;
@@ -273,6 +290,7 @@ declare namespace Dashboard {
273
290
  disabled: PropTypes.Requireable<boolean>;
274
291
  className: PropTypes.Requireable<string>;
275
292
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
293
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
276
294
  }> | PropTypes.InferProps<{
277
295
  componentType: PropTypes.Requireable<string>;
278
296
  disabled: PropTypes.Requireable<boolean>;
@@ -284,10 +302,26 @@ declare namespace Dashboard {
284
302
  label: PropTypes.Validator<string>;
285
303
  onClick: PropTypes.Validator<(...args: any[]) => any>;
286
304
  type: PropTypes.Requireable<string>;
305
+ linkType: PropTypes.Requireable<string>;
306
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
307
+ position: PropTypes.Validator<string>;
308
+ type: PropTypes.Requireable<string>;
309
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
310
+ name: PropTypes.Validator<string>;
311
+ size: PropTypes.Requireable<number>;
312
+ color: PropTypes.Requireable<string>;
313
+ }>>;
314
+ }>>;
315
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
316
+ color: PropTypes.Requireable<string>;
317
+ hoverBackgroundColor: PropTypes.Requireable<string>;
318
+ }>>;
319
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
287
320
  }> | null | undefined)[]>;
288
321
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
289
322
  menuButtonClassName: PropTypes.Requireable<string>;
290
323
  isBulkMenu: PropTypes.Requireable<boolean>;
324
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
291
325
  }> | null | undefined>>;
292
326
  isNestedTable: PropTypes.Requireable<boolean>;
293
327
  emptyStateFirstMessage: PropTypes.Requireable<string>;
@@ -432,6 +466,7 @@ declare namespace Dashboard {
432
466
  disabled: PropTypes.Requireable<boolean>;
433
467
  className: PropTypes.Requireable<string>;
434
468
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
469
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
435
470
  }>>;
436
471
  selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
437
472
  title: PropTypes.Requireable<string>;
@@ -549,10 +584,26 @@ declare namespace Dashboard {
549
584
  label: PropTypes.Validator<string>;
550
585
  onClick: PropTypes.Validator<(...args: any[]) => any>;
551
586
  type: PropTypes.Requireable<string>;
587
+ linkType: PropTypes.Requireable<string>;
588
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
589
+ position: PropTypes.Validator<string>;
590
+ type: PropTypes.Requireable<string>;
591
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
592
+ name: PropTypes.Validator<string>;
593
+ size: PropTypes.Requireable<number>;
594
+ color: PropTypes.Requireable<string>;
595
+ }>>;
596
+ }>>;
597
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
598
+ color: PropTypes.Requireable<string>;
599
+ hoverBackgroundColor: PropTypes.Requireable<string>;
600
+ }>>;
601
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
552
602
  }> | null | undefined)[]>;
553
603
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
554
604
  menuButtonClassName: PropTypes.Requireable<string>;
555
605
  isBulkMenu: PropTypes.Requireable<boolean>;
606
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
556
607
  }> | null | undefined>>;
557
608
  }> | null | undefined)[]>;
558
609
  stickyFirstColumn: PropTypes.Requireable<boolean>;
@@ -585,6 +636,7 @@ declare namespace Dashboard {
585
636
  disabled: PropTypes.Requireable<boolean>;
586
637
  className: PropTypes.Requireable<string>;
587
638
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
639
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
588
640
  }> | PropTypes.InferProps<{
589
641
  componentType: PropTypes.Requireable<string>;
590
642
  disabled: PropTypes.Requireable<boolean>;
@@ -596,10 +648,26 @@ declare namespace Dashboard {
596
648
  label: PropTypes.Validator<string>;
597
649
  onClick: PropTypes.Validator<(...args: any[]) => any>;
598
650
  type: PropTypes.Requireable<string>;
651
+ linkType: PropTypes.Requireable<string>;
652
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
653
+ position: PropTypes.Validator<string>;
654
+ type: PropTypes.Requireable<string>;
655
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
656
+ name: PropTypes.Validator<string>;
657
+ size: PropTypes.Requireable<number>;
658
+ color: PropTypes.Requireable<string>;
659
+ }>>;
660
+ }>>;
661
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
662
+ color: PropTypes.Requireable<string>;
663
+ hoverBackgroundColor: PropTypes.Requireable<string>;
664
+ }>>;
665
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
599
666
  }> | null | undefined)[]>;
600
667
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
601
668
  menuButtonClassName: PropTypes.Requireable<string>;
602
669
  isBulkMenu: PropTypes.Requireable<boolean>;
670
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
603
671
  }> | null | undefined>>;
604
672
  isNestedTable: PropTypes.Requireable<boolean>;
605
673
  emptyStateFirstMessage: PropTypes.Requireable<string>;
@@ -301,6 +301,7 @@ declare namespace SearchPage {
301
301
  disabled: PropTypes.Requireable<boolean>;
302
302
  className: PropTypes.Requireable<string>;
303
303
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
304
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
304
305
  }>>;
305
306
  selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
306
307
  title: PropTypes.Requireable<string>;
@@ -418,10 +419,26 @@ declare namespace SearchPage {
418
419
  label: PropTypes.Validator<string>;
419
420
  onClick: PropTypes.Validator<(...args: any[]) => any>;
420
421
  type: PropTypes.Requireable<string>;
422
+ linkType: PropTypes.Requireable<string>;
423
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
424
+ position: PropTypes.Validator<string>;
425
+ type: PropTypes.Requireable<string>;
426
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
427
+ name: PropTypes.Validator<string>;
428
+ size: PropTypes.Requireable<number>;
429
+ color: PropTypes.Requireable<string>;
430
+ }>>;
431
+ }>>;
432
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
433
+ color: PropTypes.Requireable<string>;
434
+ hoverBackgroundColor: PropTypes.Requireable<string>;
435
+ }>>;
436
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
421
437
  }> | null | undefined)[]>;
422
438
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
423
439
  menuButtonClassName: PropTypes.Requireable<string>;
424
440
  isBulkMenu: PropTypes.Requireable<boolean>;
441
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
425
442
  }> | null | undefined>>;
426
443
  }> | null | undefined)[]>;
427
444
  stickyFirstColumn: PropTypes.Requireable<boolean>;
@@ -454,6 +471,7 @@ declare namespace SearchPage {
454
471
  disabled: PropTypes.Requireable<boolean>;
455
472
  className: PropTypes.Requireable<string>;
456
473
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
474
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
457
475
  }> | PropTypes.InferProps<{
458
476
  componentType: PropTypes.Requireable<string>;
459
477
  disabled: PropTypes.Requireable<boolean>;
@@ -465,10 +483,26 @@ declare namespace SearchPage {
465
483
  label: PropTypes.Validator<string>;
466
484
  onClick: PropTypes.Validator<(...args: any[]) => any>;
467
485
  type: PropTypes.Requireable<string>;
486
+ linkType: PropTypes.Requireable<string>;
487
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
488
+ position: PropTypes.Validator<string>;
489
+ type: PropTypes.Requireable<string>;
490
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
491
+ name: PropTypes.Validator<string>;
492
+ size: PropTypes.Requireable<number>;
493
+ color: PropTypes.Requireable<string>;
494
+ }>>;
495
+ }>>;
496
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
497
+ color: PropTypes.Requireable<string>;
498
+ hoverBackgroundColor: PropTypes.Requireable<string>;
499
+ }>>;
500
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
468
501
  }> | null | undefined)[]>;
469
502
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
470
503
  menuButtonClassName: PropTypes.Requireable<string>;
471
504
  isBulkMenu: PropTypes.Requireable<boolean>;
505
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
472
506
  }> | null | undefined>>;
473
507
  isNestedTable: PropTypes.Requireable<boolean>;
474
508
  emptyStateFirstMessage: PropTypes.Requireable<string>;
@@ -138,6 +138,7 @@ declare namespace ExternalCourse {
138
138
  disabled: PropTypes.Requireable<boolean>;
139
139
  className: PropTypes.Requireable<string>;
140
140
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
141
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
141
142
  }>>;
142
143
  selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
143
144
  title: PropTypes.Requireable<string>;
@@ -255,10 +256,26 @@ declare namespace ExternalCourse {
255
256
  label: PropTypes.Validator<string>;
256
257
  onClick: PropTypes.Validator<(...args: any[]) => any>;
257
258
  type: PropTypes.Requireable<string>;
259
+ linkType: PropTypes.Requireable<string>;
260
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
261
+ position: PropTypes.Validator<string>;
262
+ type: PropTypes.Requireable<string>;
263
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
264
+ name: PropTypes.Validator<string>;
265
+ size: PropTypes.Requireable<number>;
266
+ color: PropTypes.Requireable<string>;
267
+ }>>;
268
+ }>>;
269
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
270
+ color: PropTypes.Requireable<string>;
271
+ hoverBackgroundColor: PropTypes.Requireable<string>;
272
+ }>>;
273
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
258
274
  }> | null | undefined)[]>;
259
275
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
260
276
  menuButtonClassName: PropTypes.Requireable<string>;
261
277
  isBulkMenu: PropTypes.Requireable<boolean>;
278
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
262
279
  }> | null | undefined>>;
263
280
  }> | null | undefined)[]>;
264
281
  stickyFirstColumn: PropTypes.Requireable<boolean>;
@@ -291,6 +308,7 @@ declare namespace ExternalCourse {
291
308
  disabled: PropTypes.Requireable<boolean>;
292
309
  className: PropTypes.Requireable<string>;
293
310
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
311
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
294
312
  }> | PropTypes.InferProps<{
295
313
  componentType: PropTypes.Requireable<string>;
296
314
  disabled: PropTypes.Requireable<boolean>;
@@ -302,10 +320,26 @@ declare namespace ExternalCourse {
302
320
  label: PropTypes.Validator<string>;
303
321
  onClick: PropTypes.Validator<(...args: any[]) => any>;
304
322
  type: PropTypes.Requireable<string>;
323
+ linkType: PropTypes.Requireable<string>;
324
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
325
+ position: PropTypes.Validator<string>;
326
+ type: PropTypes.Requireable<string>;
327
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
328
+ name: PropTypes.Validator<string>;
329
+ size: PropTypes.Requireable<number>;
330
+ color: PropTypes.Requireable<string>;
331
+ }>>;
332
+ }>>;
333
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
334
+ color: PropTypes.Requireable<string>;
335
+ hoverBackgroundColor: PropTypes.Requireable<string>;
336
+ }>>;
337
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
305
338
  }> | null | undefined)[]>;
306
339
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
307
340
  menuButtonClassName: PropTypes.Requireable<string>;
308
341
  isBulkMenu: PropTypes.Requireable<boolean>;
342
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
309
343
  }> | null | undefined>>;
310
344
  isNestedTable: PropTypes.Requireable<boolean>;
311
345
  emptyStateFirstMessage: PropTypes.Requireable<string>;
@@ -48,6 +48,7 @@
48
48
  @value cm_grey_900: #111117;
49
49
  @value cm_positive_100: #35CC7F;
50
50
  @value cm_positive_200: #05944F;
51
+ @value cm_positive_300: #04713D;
51
52
  @value cm_negative_100: #ed3436;
52
53
  @value cm_negative_200: #b81400;
53
54
  @value cm_negative_50: #ffe5e6;
@@ -57,12 +58,14 @@
57
58
  @value cm_green_secondary_200: #38CC6C;
58
59
  @value cm_orange_200: #FF7043;
59
60
  @value cm_orange_700: #FF4105;
61
+ @value cm_orange_800: #A32700;
60
62
  @value cm_pink_50: #ffefeb;
61
63
  @value cm_purple_200: #7340FF;
62
64
  @value cm_yellow_scorm: #FFB800;
63
65
  @value cm_yellow_secondary_200: #ffde03;
64
66
  @value cm_yellow_100: #ffc043;
65
67
  @value cm_yellow_200: #DB9200;
68
+ @value cm_yellow_300: #B87A00;
66
69
  @value cm_yellow_400: #bd7e00;
67
70
  @value cm_red_200: #FF4040;
68
71
  @value cm_negative_red_200: #ED3436;
@@ -27,6 +27,7 @@ declare const ButtonLink: {
27
27
  disabled: import("prop-types").Requireable<boolean>;
28
28
  className: import("prop-types").Requireable<string>;
29
29
  customStyle: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
30
+ isCustomSkillMenu: import("prop-types").Requireable<boolean>;
30
31
  };
31
32
  };
32
33
  export default ButtonLink;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/button-link/index.tsx"],"names":[],"mappings":";AAOA,OAAkB,EAAC,eAAe,EAAW,MAAM,SAAS,CAAC;AAoD7D,QAAA,MAAM,UAAU;YAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmIzC,CAAC;AAIF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/button-link/index.tsx"],"names":[],"mappings":";AAOA,OAAkB,EAAC,eAAe,EAAW,MAAM,SAAS,CAAC;AAyD7D,QAAA,MAAM,UAAU;YAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmJzC,CAAC;AAIF,eAAe,UAAU,CAAC"}
@@ -15,7 +15,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
15
15
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
16
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
17
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
18
- const getButtonContent = (icon, content, hovered, hoverBackgroundColor, hoverColor) => {
18
+ const getButtonContent = (icon, content, hovered, hoverBackgroundColor, hoverColor, isCustomSkillMenu) => {
19
19
  const {
20
20
  type,
21
21
  faIcon,
@@ -25,11 +25,14 @@ const getButtonContent = (icon, content, hovered, hoverBackgroundColor, hoverCol
25
25
  position: ''
26
26
  };
27
27
  const Icon = type && _buttonIcons.ICONS[type];
28
+ const labelClassName = (0, _classnames.default)(_style.default.label, {
29
+ [_style.default.customSkillLabel]: isCustomSkillMenu && faIcon
30
+ });
28
31
  if (!Icon && !faIcon) {
29
32
  return /*#__PURE__*/_react.default.createElement("div", {
30
33
  className: _style.default.buttonContent
31
34
  }, /*#__PURE__*/_react.default.createElement("span", {
32
- className: _style.default.label
35
+ className: labelClassName
33
36
  }, content));
34
37
  }
35
38
  const iconComponent = faIcon ? /*#__PURE__*/_react.default.createElement(_icon.default, {
@@ -49,7 +52,7 @@ const getButtonContent = (icon, content, hovered, hoverBackgroundColor, hoverCol
49
52
  return /*#__PURE__*/_react.default.createElement("div", {
50
53
  className: _style.default.buttonContent
51
54
  }, position === 'left' ? iconComponent : null, content ? /*#__PURE__*/_react.default.createElement("span", {
52
- className: _style.default.label
55
+ className: labelClassName
53
56
  }, content) : null, position === 'right' ? iconComponent : null);
54
57
  };
55
58
  const ButtonLink = props => {
@@ -72,9 +75,10 @@ const ButtonLink = props => {
72
75
  onKeyDown = _noop2.default,
73
76
  className,
74
77
  customStyle,
75
- useTitle = true
78
+ useTitle = true,
79
+ isCustomSkillMenu
76
80
  } = props;
77
- const styleButton = (0, _classnames.default)(className, _style.default.button, !label && _style.default.iconButton, type === 'primary' && _style.default.primary, type === 'secondary' && _style.default.secondary, type === 'tertiary' && _style.default.tertiary, type === 'text' && _style.default.text, type === 'dangerous' && _style.default.dangerous, link && _style.default.link, disabled && _style.default.disabled);
81
+ const styleButton = (0, _classnames.default)(className, _style.default.button, !label && _style.default.iconButton, type === 'primary' && _style.default.primary, type === 'secondary' && _style.default.secondary, type === 'tertiary' && _style.default.tertiary, type === 'text' && _style.default.text, type === 'dangerous' && _style.default.dangerous, link && _style.default.link, disabled && _style.default.disabled, isCustomSkillMenu && _style.default.customSkillButton);
78
82
  const [hovered, setHovered] = (0, _react.useState)(false);
79
83
  const handleOnClick = (0, _react.useCallback)(event => onClick(event), [onClick]);
80
84
  const handleOnKeyDown = (0, _react.useCallback)(event => onKeyDown(event), [onKeyDown]);
@@ -119,7 +123,7 @@ const ButtonLink = props => {
119
123
  hoverBackgroundColor: hoverBackgroundColor,
120
124
  onMouseEnter: handleMouseOver,
121
125
  onMouseLeave: handleMouseLeave
122
- }), getButtonContent(icon, content ?? label, hovered, hoverBackgroundColor, hoverColor), renderToolTip());
126
+ }), getButtonContent(icon, content ?? label, hovered, hoverBackgroundColor, hoverColor, isCustomSkillMenu), renderToolTip());
123
127
  }
124
128
  return /*#__PURE__*/_react.default.createElement("button", _extends({}, useTitle && {
125
129
  title: ariaLabel || label
@@ -140,7 +144,7 @@ const ButtonLink = props => {
140
144
  onMouseLeave: handleMouseLeave,
141
145
  tabIndex: 0,
142
146
  disabled: disabled
143
- }), getButtonContent(icon, content ?? label, hovered, hoverBackgroundColor, hoverColor), renderToolTip());
147
+ }), getButtonContent(icon, content ?? label, hovered, hoverBackgroundColor, hoverColor, isCustomSkillMenu), renderToolTip());
144
148
  };
145
149
  ButtonLink.propTypes = process.env.NODE_ENV !== "production" ? _types.default : {};
146
150
  var _default = exports.default = ButtonLink;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_link","_icon","_buttonIcons","_tooltip","_types","_style","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","getButtonContent","icon","content","hovered","hoverBackgroundColor","hoverColor","type","faIcon","position","Icon","ICONS","createElement","className","style","buttonContent","label","iconComponent","iconName","name","iconColor","color","backgroundColor","size","faSize","wrapperSize","customStyle","theme","ButtonLink","props","usage","disabled","dataName","dataTestId","ariaLabel","tooltipText","tooltipPlacement","link","onClick","_noop2","onKeyDown","useTitle","styleButton","classnames","button","iconButton","primary","secondary","tertiary","text","dangerous","setHovered","useState","handleOnClick","useCallback","event","handleOnKeyDown","handleMouseOver","handleMouseLeave","TooltipContent","tooltipContentWrapper","renderToolTip","closeToolTipInformationTextAriaLabel","fontSize","anchorId","toolTipIsVisible","placement","_customStyle","useMemo","title","onMouseEnter","onMouseLeave","onMouseOver","tabIndex","propTypes","process","env","NODE_ENV","_default","exports"],"sources":["../../../src/atom/button-link/index.tsx"],"sourcesContent":["import React, {useCallback, useState, useMemo} from 'react';\nimport {noop} from 'lodash/fp';\nimport classnames from 'classnames';\nimport Link from '../link';\nimport FaIcon from '../icon';\nimport {ICONS} from '../../util/button-icons';\nimport ToolTip from '../tooltip';\nimport propTypes, {ButtonLinkProps, IconType} from './types';\nimport style from './style.css';\n\nconst getButtonContent = (\n icon?: IconType,\n content?: string | React.ReactNode,\n hovered?: boolean,\n hoverBackgroundColor?: string,\n hoverColor?: string\n) => {\n const {type, faIcon, position} = icon || {type: '', position: ''};\n const Icon = type && ICONS[type];\n\n if (!Icon && !faIcon) {\n return (\n <div className={style.buttonContent}>\n <span className={style.label}>{content}</span>\n </div>\n );\n }\n\n const iconComponent = faIcon ? (\n <FaIcon\n {...{\n iconName: faIcon.name,\n iconColor: hovered && hoverColor ? hoverColor : faIcon.color,\n // eslint-disable-next-line no-nested-ternary\n backgroundColor: !faIcon?.backgroundColor\n ? 'transparent'\n : hovered && hoverBackgroundColor\n ? hoverBackgroundColor\n : faIcon.backgroundColor,\n size: {\n faSize: faIcon.size,\n wrapperSize: faIcon.size\n },\n customStyle: faIcon.customStyle\n }}\n />\n ) : (\n <Icon className={style.icon} theme=\"coorpmanager\" />\n );\n\n return (\n <div className={style.buttonContent}>\n {position === 'left' ? iconComponent : null}\n {content ? <span className={style.label}>{content}</span> : null}\n {position === 'right' ? iconComponent : null}\n </div>\n );\n};\n\nconst ButtonLink = (props: ButtonLinkProps) => {\n const {\n type,\n usage = 'button',\n label,\n content,\n hoverBackgroundColor,\n hoverColor,\n disabled = false,\n icon,\n 'data-name': dataName,\n 'data-testid': dataTestId = 'button-link',\n 'aria-label': ariaLabel,\n tooltipText,\n tooltipPlacement = 'left',\n link,\n onClick = noop,\n onKeyDown = noop,\n className,\n customStyle,\n useTitle = true\n } = props;\n const styleButton = classnames(\n className,\n style.button,\n !label && style.iconButton,\n type === 'primary' && style.primary,\n type === 'secondary' && style.secondary,\n type === 'tertiary' && style.tertiary,\n type === 'text' && style.text,\n type === 'dangerous' && style.dangerous,\n link && style.link,\n disabled && style.disabled\n );\n\n const [hovered, setHovered] = useState(false);\n\n const handleOnClick = useCallback(event => onClick(event), [onClick]);\n\n const handleOnKeyDown = useCallback(event => onKeyDown(event), [onKeyDown]);\n\n const handleMouseOver = useCallback(() => {\n setHovered(true);\n }, [setHovered]);\n\n const handleMouseLeave = useCallback(() => setHovered(false), [setHovered]);\n\n const TooltipContent = useCallback(\n () => <span className={style.tooltipContentWrapper}>{tooltipText || ariaLabel}</span>,\n [tooltipText, ariaLabel]\n );\n\n const renderToolTip = () => {\n const closeToolTipInformationTextAriaLabel = tooltipText || ariaLabel;\n if (!closeToolTipInformationTextAriaLabel) return null;\n return (\n <ToolTip\n fontSize={12}\n anchorId=\"button-icon\"\n toolTipIsVisible={hovered}\n placement={tooltipPlacement}\n TooltipContent={TooltipContent}\n closeToolTipInformationTextAriaLabel={closeToolTipInformationTextAriaLabel}\n />\n );\n };\n\n const _customStyle = useMemo(() => {\n return {\n ...customStyle,\n ...((hoverBackgroundColor || hoverColor) && hovered\n ? {\n backgroundColor: hoverBackgroundColor,\n color: hoverColor\n }\n : null)\n };\n }, [hoverBackgroundColor, hoverColor, hovered, customStyle]);\n\n if (link) {\n return (\n <Link\n {...link}\n {...(useTitle && {\n title: ariaLabel || label\n })}\n style={customStyle}\n className={styleButton}\n data-name={dataName}\n data-testid={dataTestId}\n aria-label={ariaLabel || label}\n hoverColor={hoverColor}\n hoverBackgroundColor={hoverBackgroundColor}\n onMouseEnter={handleMouseOver}\n onMouseLeave={handleMouseLeave}\n >\n {getButtonContent(icon, content ?? label, hovered, hoverBackgroundColor, hoverColor)}\n {renderToolTip()}\n </Link>\n );\n }\n\n return (\n <button\n {...(useTitle && {\n title: ariaLabel || label\n })}\n {...(ariaLabel && !label\n ? {\n 'data-for': 'button-icon',\n 'data-tip': hovered\n }\n : {})}\n // eslint-disable-next-line react/button-has-type\n type={usage}\n aria-label={ariaLabel || label}\n data-name={dataName}\n data-testid={dataTestId}\n style={_customStyle}\n className={styleButton}\n onClick={handleOnClick}\n onKeyDown={handleOnKeyDown}\n onMouseOver={handleMouseOver}\n onMouseLeave={handleMouseLeave}\n tabIndex={0}\n disabled={disabled}\n >\n {getButtonContent(icon, content ?? label, hovered, hoverBackgroundColor, hoverColor)}\n {renderToolTip()}\n </button>\n );\n};\n\nButtonLink.propTypes = propTypes;\n\nexport default ButtonLink;\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,KAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,KAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,MAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,MAAA,GAAAN,sBAAA,CAAAF,OAAA;AAAgC,SAAAS,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,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KAAK,EAAEZ,OAAO,EAAEC,oBAAoB,EAAEC,UAAU,CAAC,EACnFuD,aAAa,CAAC,CACT,CAAC;AAEb,CAAC;AAEDjC,UAAU,CAAC8C,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,cAAS;AAAC,IAAAI,QAAA,GAAAC,OAAA,CAAAlG,OAAA,GAElB+C,UAAU","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_link","_icon","_buttonIcons","_tooltip","_types","_style","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","getButtonContent","icon","content","hovered","hoverBackgroundColor","hoverColor","isCustomSkillMenu","type","faIcon","position","Icon","ICONS","labelClassName","classnames","style","label","customSkillLabel","createElement","className","buttonContent","iconComponent","iconName","name","iconColor","color","backgroundColor","size","faSize","wrapperSize","customStyle","theme","ButtonLink","props","usage","disabled","dataName","dataTestId","ariaLabel","tooltipText","tooltipPlacement","link","onClick","_noop2","onKeyDown","useTitle","styleButton","button","iconButton","primary","secondary","tertiary","text","dangerous","customSkillButton","setHovered","useState","handleOnClick","useCallback","event","handleOnKeyDown","handleMouseOver","handleMouseLeave","TooltipContent","tooltipContentWrapper","renderToolTip","closeToolTipInformationTextAriaLabel","fontSize","anchorId","toolTipIsVisible","placement","_customStyle","useMemo","title","onMouseEnter","onMouseLeave","onMouseOver","tabIndex","propTypes","process","env","NODE_ENV","_default","exports"],"sources":["../../../src/atom/button-link/index.tsx"],"sourcesContent":["import React, {useCallback, useState, useMemo} from 'react';\nimport {noop} from 'lodash/fp';\nimport classnames from 'classnames';\nimport Link from '../link';\nimport FaIcon from '../icon';\nimport {ICONS} from '../../util/button-icons';\nimport ToolTip from '../tooltip';\nimport propTypes, {ButtonLinkProps, IconType} from './types';\nimport style from './style.css';\n\nconst getButtonContent = (\n icon?: IconType,\n content?: string | React.ReactNode,\n hovered?: boolean,\n hoverBackgroundColor?: string,\n hoverColor?: string,\n isCustomSkillMenu?: boolean\n) => {\n const {type, faIcon, position} = icon || {type: '', position: ''};\n const Icon = type && ICONS[type];\n\n const labelClassName = classnames(style.label, {\n [style.customSkillLabel]: isCustomSkillMenu && faIcon\n });\n\n if (!Icon && !faIcon) {\n return (\n <div className={style.buttonContent}>\n <span className={labelClassName}>{content}</span>\n </div>\n );\n }\n\n const iconComponent = faIcon ? (\n <FaIcon\n {...{\n iconName: faIcon.name,\n iconColor: hovered && hoverColor ? hoverColor : faIcon.color,\n // eslint-disable-next-line no-nested-ternary\n backgroundColor: !faIcon?.backgroundColor\n ? 'transparent'\n : hovered && hoverBackgroundColor\n ? hoverBackgroundColor\n : faIcon.backgroundColor,\n size: {\n faSize: faIcon.size,\n wrapperSize: faIcon.size\n },\n customStyle: faIcon.customStyle\n }}\n />\n ) : (\n <Icon className={style.icon} theme=\"coorpmanager\" />\n );\n\n return (\n <div className={style.buttonContent}>\n {position === 'left' ? iconComponent : null}\n {content ? <span className={labelClassName}>{content}</span> : null}\n {position === 'right' ? iconComponent : null}\n </div>\n );\n};\n\nconst ButtonLink = (props: ButtonLinkProps) => {\n const {\n type,\n usage = 'button',\n label,\n content,\n hoverBackgroundColor,\n hoverColor,\n disabled = false,\n icon,\n 'data-name': dataName,\n 'data-testid': dataTestId = 'button-link',\n 'aria-label': ariaLabel,\n tooltipText,\n tooltipPlacement = 'left',\n link,\n onClick = noop,\n onKeyDown = noop,\n className,\n customStyle,\n useTitle = true,\n isCustomSkillMenu\n } = props;\n const styleButton = classnames(\n className,\n style.button,\n !label && style.iconButton,\n type === 'primary' && style.primary,\n type === 'secondary' && style.secondary,\n type === 'tertiary' && style.tertiary,\n type === 'text' && style.text,\n type === 'dangerous' && style.dangerous,\n link && style.link,\n disabled && style.disabled,\n isCustomSkillMenu && style.customSkillButton\n );\n\n const [hovered, setHovered] = useState(false);\n\n const handleOnClick = useCallback(event => onClick(event), [onClick]);\n\n const handleOnKeyDown = useCallback(event => onKeyDown(event), [onKeyDown]);\n\n const handleMouseOver = useCallback(() => {\n setHovered(true);\n }, [setHovered]);\n\n const handleMouseLeave = useCallback(() => setHovered(false), [setHovered]);\n\n const TooltipContent = useCallback(\n () => <span className={style.tooltipContentWrapper}>{tooltipText || ariaLabel}</span>,\n [tooltipText, ariaLabel]\n );\n\n const renderToolTip = () => {\n const closeToolTipInformationTextAriaLabel = tooltipText || ariaLabel;\n if (!closeToolTipInformationTextAriaLabel) return null;\n return (\n <ToolTip\n fontSize={12}\n anchorId=\"button-icon\"\n toolTipIsVisible={hovered}\n placement={tooltipPlacement}\n TooltipContent={TooltipContent}\n closeToolTipInformationTextAriaLabel={closeToolTipInformationTextAriaLabel}\n />\n );\n };\n\n const _customStyle = useMemo(() => {\n return {\n ...customStyle,\n ...((hoverBackgroundColor || hoverColor) && hovered\n ? {\n backgroundColor: hoverBackgroundColor,\n color: hoverColor\n }\n : null)\n };\n }, [hoverBackgroundColor, hoverColor, hovered, customStyle]);\n\n if (link) {\n return (\n <Link\n {...link}\n {...(useTitle && {\n title: ariaLabel || label\n })}\n style={customStyle}\n className={styleButton}\n data-name={dataName}\n data-testid={dataTestId}\n aria-label={ariaLabel || label}\n hoverColor={hoverColor}\n hoverBackgroundColor={hoverBackgroundColor}\n onMouseEnter={handleMouseOver}\n onMouseLeave={handleMouseLeave}\n >\n {getButtonContent(\n icon,\n content ?? label,\n hovered,\n hoverBackgroundColor,\n hoverColor,\n isCustomSkillMenu\n )}\n {renderToolTip()}\n </Link>\n );\n }\n\n return (\n <button\n {...(useTitle && {\n title: ariaLabel || label\n })}\n {...(ariaLabel && !label\n ? {\n 'data-for': 'button-icon',\n 'data-tip': hovered\n }\n : {})}\n // eslint-disable-next-line react/button-has-type\n type={usage}\n aria-label={ariaLabel || label}\n data-name={dataName}\n data-testid={dataTestId}\n style={_customStyle}\n className={styleButton}\n onClick={handleOnClick}\n onKeyDown={handleOnKeyDown}\n onMouseOver={handleMouseOver}\n onMouseLeave={handleMouseLeave}\n tabIndex={0}\n disabled={disabled}\n >\n {getButtonContent(\n icon,\n content ?? label,\n hovered,\n hoverBackgroundColor,\n hoverColor,\n isCustomSkillMenu\n )}\n {renderToolTip()}\n </button>\n );\n};\n\nButtonLink.propTypes = propTypes;\n\nexport default ButtonLink;\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,KAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,KAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,MAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,MAAA,GAAAN,sBAAA,CAAAF,OAAA;AAAgC,SAAAS,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAA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AAS,EAAE2B,WAAY;IACvBJ,OAAO,EAAEe,aAAc;IACvBb,SAAS,EAAEgB,eAAgB;IAC3BgB,WAAW,EAAEf,eAAgB;IAC7Bc,YAAY,EAAEb,gBAAiB;IAC/Be,QAAQ,EAAE,CAAE;IACZ1C,QAAQ,EAAEA;EAAS,IAElBlC,gBAAgB,CACfC,IAAI,EACJC,OAAO,IAAIa,KAAK,EAChBZ,OAAO,EACPC,oBAAoB,EACpBC,UAAU,EACVC,iBACF,CAAC,EACA0D,aAAa,CAAC,CACT,CAAC;AAEb,CAAC;AAEDjC,UAAU,CAAC8C,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,cAAS;AAAC,IAAAI,QAAA,GAAAC,OAAA,CAAAtG,OAAA,GAElBmD,UAAU","ignoreList":[]}
@@ -109,4 +109,14 @@
109
109
  font-size: 12px;
110
110
  font-weight: 500;
111
111
  line-height: 16px;
112
+ }
113
+
114
+ .customSkillButton {
115
+ composes: button;
116
+ padding: 12px 16px;
117
+ padding-left: 6px;
118
+ }
119
+
120
+ .customSkillLabel {
121
+ margin: 0;
112
122
  }
@@ -26,6 +26,7 @@ declare const propTypes: {
26
26
  disabled: PropTypes.Requireable<boolean>;
27
27
  className: PropTypes.Requireable<string>;
28
28
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
29
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
29
30
  };
30
31
  export declare type FaIcontype = {
31
32
  name: string;
@@ -63,6 +64,7 @@ export declare type ButtonLinkProps = {
63
64
  className?: string;
64
65
  customStyle?: Record<string, unknown>;
65
66
  useTitle?: boolean;
67
+ isCustomSkillMenu?: boolean;
66
68
  };
67
69
  export declare type Fixture = {
68
70
  props: ButtonLinkProps;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/atom/button-link/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC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AAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,IAAI,CAAC,EAAE;QACL,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;KAClD,CAAC;IACF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,oBAAY,OAAO,GAAG;IAAC,KAAK,EAAE,eAAe,CAAA;CAAC,CAAC;AAE/C,eAAe,SAAS,CAAC"}
@@ -30,7 +30,8 @@ const propTypes = {
30
30
  hoverColor: _propTypes.default.string,
31
31
  disabled: _propTypes.default.bool,
32
32
  className: _propTypes.default.string,
33
- customStyle: _propTypes.default.shape({})
33
+ customStyle: _propTypes.default.shape({}),
34
+ isCustomSkillMenu: _propTypes.default.bool
34
35
  };
35
36
  var _default = exports.default = propTypes;
36
37
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["_propTypes","_interopRequireDefault","require","_buttonIcons","e","__esModule","default","propTypes","type","PropTypes","oneOf","usage","label","string","content","node","tooltipText","tooltipPlacement","icon","shape","position","_keys2","ICONS","onClick","func","link","href","download","bool","target","hoverBackgroundColor","hoverColor","disabled","className","customStyle","_default","exports"],"sources":["../../../src/atom/button-link/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {keys} from 'lodash/fp';\nimport {ICONS} from '../../util/button-icons';\n\nconst propTypes = {\n type: PropTypes.oneOf(['primary', 'secondary', 'tertiary', 'text', 'dangerous']),\n usage: PropTypes.oneOf(['button', 'submit', 'reset']),\n label: PropTypes.string,\n content: PropTypes.node,\n 'aria-label': PropTypes.string,\n tooltipText: PropTypes.string,\n tooltipPlacement: PropTypes.oneOf(['left', 'right', 'top', 'bottom']),\n 'data-name': PropTypes.string,\n 'data-testid': PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.oneOf(['right', 'left']),\n type: PropTypes.oneOf(keys(ICONS))\n }),\n onClick: PropTypes.func,\n link: PropTypes.shape({\n href: PropTypes.string,\n download: PropTypes.bool,\n target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top'])\n }),\n hoverBackgroundColor: PropTypes.string,\n hoverColor: PropTypes.string,\n disabled: PropTypes.bool,\n className: PropTypes.string,\n customStyle: PropTypes.shape({})\n};\n\nexport type FaIcontype = {\n name: string;\n color?: string;\n backgroundColor?: string;\n size?: number;\n customStyle?: Record<string, unknown>;\n};\n\nexport type IconType = {\n position: 'right' | 'left';\n type?: keyof typeof ICONS;\n faIcon?: FaIcontype;\n};\nexport type ButtonLinkProps = {\n type?: 'primary' | 'secondary' | 'tertiary' | 'text' | 'dangerous';\n usage?: 'button' | 'submit' | 'reset';\n label?: string;\n content?: React.ReactNode;\n 'aria-label'?: string;\n tooltipText?: string;\n tooltipPlacement?: 'left' | 'right' | 'top' | 'bottom';\n 'data-name'?: string;\n 'data-testid'?: string;\n icon?: IconType;\n onClick?: () => void;\n onKeyDown?: () => void;\n link?: {\n href?: string;\n download?: boolean;\n target?: '_self' | '_blank' | '_parent' | '_top';\n };\n hoverBackgroundColor?: string;\n hoverColor?: string;\n disabled?: boolean;\n className?: string;\n customStyle?: Record<string, unknown>;\n useTitle?: boolean;\n};\n\nexport type Fixture = {props: ButtonLinkProps};\n\nexport default propTypes;\n"],"mappings":";;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAA8C,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE9C,MAAMG,SAAS,GAAG;EAChBC,IAAI,EAAEC,kBAAS,CAACC,KAAK,CAAC,CAAC,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;EAChFC,KAAK,EAAEF,kBAAS,CAACC,KAAK,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;EACrDE,KAAK,EAAEH,kBAAS,CAACI,MAAM;EACvBC,OAAO,EAAEL,kBAAS,CAACM,IAAI;EACvB,YAAY,EAAEN,kBAAS,CAACI,MAAM;EAC9BG,WAAW,EAAEP,kBAAS,CAACI,MAAM;EAC7BI,gBAAgB,EAAER,kBAAS,CAACC,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;EACrE,WAAW,EAAED,kBAAS,CAACI,MAAM;EAC7B,aAAa,EAAEJ,kBAAS,CAACI,MAAM;EAC/BK,IAAI,EAAET,kBAAS,CAACU,KAAK,CAAC;IACpBC,QAAQ,EAAEX,kBAAS,CAACC,KAAK,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAC5CF,IAAI,EAAEC,kBAAS,CAACC,KAAK,CAAC,IAAAW,MAAA,CAAAf,OAAA,EAAKgB,kBAAK,CAAC;EACnC,CAAC,CAAC;EACFC,OAAO,EAAEd,kBAAS,CAACe,IAAI;EACvBC,IAAI,EAAEhB,kBAAS,CAACU,KAAK,CAAC;IACpBO,IAAI,EAAEjB,kBAAS,CAACI,MAAM;IACtBc,QAAQ,EAAElB,kBAAS,CAACmB,IAAI;IACxBC,MAAM,EAAEpB,kBAAS,CAACC,KAAK,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC;EAChE,CAAC,CAAC;EACFoB,oBAAoB,EAAErB,kBAAS,CAACI,MAAM;EACtCkB,UAAU,EAAEtB,kBAAS,CAACI,MAAM;EAC5BmB,QAAQ,EAAEvB,kBAAS,CAACmB,IAAI;EACxBK,SAAS,EAAExB,kBAAS,CAACI,MAAM;EAC3BqB,WAAW,EAAEzB,kBAAS,CAACU,KAAK,CAAC,CAAC,CAAC;AACjC,CAAC;AAAC,IAAAgB,QAAA,GAAAC,OAAA,CAAA9B,OAAA,GA2CaC,SAAS","ignoreList":[]}
1
+ {"version":3,"file":"types.js","names":["_propTypes","_interopRequireDefault","require","_buttonIcons","e","__esModule","default","propTypes","type","PropTypes","oneOf","usage","label","string","content","node","tooltipText","tooltipPlacement","icon","shape","position","_keys2","ICONS","onClick","func","link","href","download","bool","target","hoverBackgroundColor","hoverColor","disabled","className","customStyle","isCustomSkillMenu","_default","exports"],"sources":["../../../src/atom/button-link/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {keys} from 'lodash/fp';\nimport {ICONS} from '../../util/button-icons';\n\nconst propTypes = {\n type: PropTypes.oneOf(['primary', 'secondary', 'tertiary', 'text', 'dangerous']),\n usage: PropTypes.oneOf(['button', 'submit', 'reset']),\n label: PropTypes.string,\n content: PropTypes.node,\n 'aria-label': PropTypes.string,\n tooltipText: PropTypes.string,\n tooltipPlacement: PropTypes.oneOf(['left', 'right', 'top', 'bottom']),\n 'data-name': PropTypes.string,\n 'data-testid': PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.oneOf(['right', 'left']),\n type: PropTypes.oneOf(keys(ICONS))\n }),\n onClick: PropTypes.func,\n link: PropTypes.shape({\n href: PropTypes.string,\n download: PropTypes.bool,\n target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top'])\n }),\n hoverBackgroundColor: PropTypes.string,\n hoverColor: PropTypes.string,\n disabled: PropTypes.bool,\n className: PropTypes.string,\n customStyle: PropTypes.shape({}),\n isCustomSkillMenu: PropTypes.bool\n};\n\nexport type FaIcontype = {\n name: string;\n color?: string;\n backgroundColor?: string;\n size?: number;\n customStyle?: Record<string, unknown>;\n};\n\nexport type IconType = {\n position: 'right' | 'left';\n type?: keyof typeof ICONS;\n faIcon?: FaIcontype;\n};\nexport type ButtonLinkProps = {\n type?: 'primary' | 'secondary' | 'tertiary' | 'text' | 'dangerous';\n usage?: 'button' | 'submit' | 'reset';\n label?: string;\n content?: React.ReactNode;\n 'aria-label'?: string;\n tooltipText?: string;\n tooltipPlacement?: 'left' | 'right' | 'top' | 'bottom';\n 'data-name'?: string;\n 'data-testid'?: string;\n icon?: IconType;\n onClick?: () => void;\n onKeyDown?: () => void;\n link?: {\n href?: string;\n download?: boolean;\n target?: '_self' | '_blank' | '_parent' | '_top';\n };\n hoverBackgroundColor?: string;\n hoverColor?: string;\n disabled?: boolean;\n className?: string;\n customStyle?: Record<string, unknown>;\n useTitle?: boolean;\n isCustomSkillMenu?: boolean;\n};\n\nexport type Fixture = {props: ButtonLinkProps};\n\nexport default propTypes;\n"],"mappings":";;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAA8C,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE9C,MAAMG,SAAS,GAAG;EAChBC,IAAI,EAAEC,kBAAS,CAACC,KAAK,CAAC,CA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EzB,kBAAS,CAACU,KAAK,CAAC,CAAC,CAAC,CAAC;EAChCgB,iBAAiB,EAAE1B,kBAAS,CAACmB;AAC/B,CAAC;AAAC,IAAAQ,QAAA,GAAAC,OAAA,CAAA/B,OAAA,GA4CaC,SAAS","ignoreList":[]}
@@ -46,14 +46,14 @@
46
46
  composes: button;
47
47
  width: 44px;
48
48
  height: 44px;
49
- border-radius: 7px;
49
+ border-radius: 12px;
50
50
  }
51
51
 
52
52
  .responsive {
53
53
  composes: button;
54
54
  width: 44px;
55
55
  height: 44px;
56
- border-radius: 7px;
56
+ border-radius: 12px;
57
57
  }
58
58
 
59
59
  .responsive .icon {
@@ -9,6 +9,21 @@ declare const ButtonMenu: {
9
9
  label: import("prop-types").Validator<string>;
10
10
  onClick: import("prop-types").Validator<(...args: any[]) => any>;
11
11
  type: import("prop-types").Requireable<string>;
12
+ linkType: import("prop-types").Requireable<string>;
13
+ icon: import("prop-types").Requireable<import("prop-types").InferProps<{
14
+ position: import("prop-types").Validator<string>;
15
+ type: import("prop-types").Requireable<string>;
16
+ faIcon: import("prop-types").Requireable<import("prop-types").InferProps<{
17
+ name: import("prop-types").Validator<string>;
18
+ size: import("prop-types").Requireable<number>;
19
+ color: import("prop-types").Requireable<string>;
20
+ }>>;
21
+ }>>;
22
+ customStyle: import("prop-types").Requireable<import("prop-types").InferProps<{
23
+ color: import("prop-types").Requireable<string>;
24
+ hoverBackgroundColor: import("prop-types").Requireable<string>;
25
+ }>>;
26
+ isCustomSkillMenu: import("prop-types").Requireable<boolean>;
12
27
  }> | null | undefined)[]>;
13
28
  'data-name': import("prop-types").Requireable<string>;
14
29
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/button-menu/index.tsx"],"names":[],"mappings":";AAIA,OAAkB,EAAC,eAAe,EAA+B,MAAM,SAAS,CAAC;AAiCjF,QAAA,MAAM,UAAU;YAAW,eAAe;;;;;;;;;;;CAazC,CAAC;AAIF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/button-menu/index.tsx"],"names":[],"mappings":";AAMA,OAAkB,EAAC,eAAe,EAA+B,MAAM,SAAS,CAAC;AA8EjF,QAAA,MAAM,UAAU;YAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBzC,CAAC;AAIF,eAAe,UAAU,CAAC"}