@coorpacademy/components 11.33.13-alpha.15 → 11.33.13-alpha.17

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 (97) hide show
  1. package/es/atom/button-link-icon/index.js +3 -3
  2. package/es/atom/button-link-icon/index.js.map +1 -1
  3. package/es/molecule/bullet-point-menu-button/index.d.ts +1 -0
  4. package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  5. package/es/molecule/bullet-point-menu-button/index.js +6 -2
  6. package/es/molecule/bullet-point-menu-button/index.js.map +1 -1
  7. package/es/molecule/bullet-point-menu-button/types.d.ts +2 -0
  8. package/es/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
  9. package/es/molecule/bullet-point-menu-button/types.js +1 -0
  10. package/es/molecule/bullet-point-menu-button/types.js.map +1 -1
  11. package/es/molecule/cm-popin/types.d.ts +3 -0
  12. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  13. package/es/molecule/draggable-list/index.d.ts +1 -0
  14. package/es/molecule/expandible-actionable-table/index.d.ts +2 -0
  15. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  16. package/es/molecule/expandible-actionable-table/types.d.ts +2 -0
  17. package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  18. package/es/organism/brand-learning-priorities/index.d.ts +1 -0
  19. package/es/organism/header-with-actions/index.d.ts +1 -0
  20. package/es/organism/header-with-actions/index.d.ts.map +1 -1
  21. package/es/organism/header-with-actions/types.d.ts +1 -0
  22. package/es/organism/header-with-actions/types.d.ts.map +1 -1
  23. package/es/organism/list-item/index.d.ts +3 -1
  24. package/es/organism/list-item/index.d.ts.map +1 -1
  25. package/es/organism/list-item/index.js +11 -3
  26. package/es/organism/list-item/index.js.map +1 -1
  27. package/es/organism/list-items/index.d.ts +3 -0
  28. package/es/organism/list-items/index.d.ts.map +1 -1
  29. package/es/organism/list-items/index.js +2 -1
  30. package/es/organism/list-items/index.js.map +1 -1
  31. package/es/organism/wizard-contents/index.d.ts +2 -0
  32. package/es/template/app-player/loading/index.d.ts +3 -0
  33. package/es/template/app-player/player/index.d.ts +6 -0
  34. package/es/template/app-player/player/slides/index.d.ts +3 -0
  35. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  36. package/es/template/app-player/popin-correction/index.d.ts +3 -0
  37. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  38. package/es/template/app-player/popin-end/index.d.ts +3 -0
  39. package/es/template/app-review/index.d.ts +3 -0
  40. package/es/template/app-review/index.d.ts.map +1 -1
  41. package/es/template/app-review/player/prop-types.d.ts +3 -0
  42. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  43. package/es/template/app-review/prop-types.d.ts +3 -0
  44. package/es/template/app-review/prop-types.d.ts.map +1 -1
  45. package/es/template/back-office/brand-update/index.d.ts +9 -0
  46. package/es/template/common/dashboard/index.d.ts +6 -0
  47. package/es/template/common/search-page/index.d.ts +3 -0
  48. package/es/template/external-course/index.d.ts +3 -0
  49. package/lib/atom/button-link-icon/index.js +3 -3
  50. package/lib/atom/button-link-icon/index.js.map +1 -1
  51. package/lib/molecule/bullet-point-menu-button/index.d.ts +1 -0
  52. package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  53. package/lib/molecule/bullet-point-menu-button/index.js +6 -2
  54. package/lib/molecule/bullet-point-menu-button/index.js.map +1 -1
  55. package/lib/molecule/bullet-point-menu-button/types.d.ts +2 -0
  56. package/lib/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
  57. package/lib/molecule/bullet-point-menu-button/types.js +1 -0
  58. package/lib/molecule/bullet-point-menu-button/types.js.map +1 -1
  59. package/lib/molecule/cm-popin/types.d.ts +3 -0
  60. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  61. package/lib/molecule/draggable-list/index.d.ts +1 -0
  62. package/lib/molecule/expandible-actionable-table/index.d.ts +2 -0
  63. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  64. package/lib/molecule/expandible-actionable-table/types.d.ts +2 -0
  65. package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  66. package/lib/organism/brand-learning-priorities/index.d.ts +1 -0
  67. package/lib/organism/header-with-actions/index.d.ts +1 -0
  68. package/lib/organism/header-with-actions/index.d.ts.map +1 -1
  69. package/lib/organism/header-with-actions/types.d.ts +1 -0
  70. package/lib/organism/header-with-actions/types.d.ts.map +1 -1
  71. package/lib/organism/list-item/index.d.ts +3 -1
  72. package/lib/organism/list-item/index.d.ts.map +1 -1
  73. package/lib/organism/list-item/index.js +11 -3
  74. package/lib/organism/list-item/index.js.map +1 -1
  75. package/lib/organism/list-items/index.d.ts +3 -0
  76. package/lib/organism/list-items/index.d.ts.map +1 -1
  77. package/lib/organism/list-items/index.js +2 -1
  78. package/lib/organism/list-items/index.js.map +1 -1
  79. package/lib/organism/wizard-contents/index.d.ts +2 -0
  80. package/lib/template/app-player/loading/index.d.ts +3 -0
  81. package/lib/template/app-player/player/index.d.ts +6 -0
  82. package/lib/template/app-player/player/slides/index.d.ts +3 -0
  83. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  84. package/lib/template/app-player/popin-correction/index.d.ts +3 -0
  85. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  86. package/lib/template/app-player/popin-end/index.d.ts +3 -0
  87. package/lib/template/app-review/index.d.ts +3 -0
  88. package/lib/template/app-review/index.d.ts.map +1 -1
  89. package/lib/template/app-review/player/prop-types.d.ts +3 -0
  90. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  91. package/lib/template/app-review/prop-types.d.ts +3 -0
  92. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  93. package/lib/template/back-office/brand-update/index.d.ts +9 -0
  94. package/lib/template/common/dashboard/index.d.ts +6 -0
  95. package/lib/template/common/search-page/index.d.ts +3 -0
  96. package/lib/template/external-course/index.d.ts +3 -0
  97. package/package.json +2 -2
@@ -485,6 +485,7 @@ declare namespace WizardContents {
485
485
  isRowExpandible: PropTypes.Requireable<boolean>;
486
486
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
487
487
  type: PropTypes.Requireable<string>;
488
+ 'data-name': PropTypes.Requireable<string>;
488
489
  disabled: PropTypes.Requireable<boolean>;
489
490
  buttonAriaLabel: PropTypes.Requireable<string>;
490
491
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -561,6 +562,7 @@ declare namespace WizardContents {
561
562
  }>;
562
563
  }> | PropTypes.InferProps<{
563
564
  componentType: PropTypes.Requireable<string>;
565
+ 'data-name': PropTypes.Requireable<string>;
564
566
  disabled: PropTypes.Requireable<boolean>;
565
567
  buttonAriaLabel: PropTypes.Requireable<string>;
566
568
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -207,6 +207,7 @@ declare namespace PlayerLoading {
207
207
  items: PropTypes.Requireable<(PropTypes.InferProps<{
208
208
  title: PropTypes.Validator<string>;
209
209
  subtitle: PropTypes.Requireable<string>;
210
+ 'data-name': PropTypes.Requireable<string>;
210
211
  provider: PropTypes.Requireable<PropTypes.InferProps<{
211
212
  label: PropTypes.Requireable<string>;
212
213
  type: PropTypes.Requireable<string>;
@@ -295,6 +296,7 @@ declare namespace PlayerLoading {
295
296
  isRowExpandible: PropTypes.Requireable<boolean>;
296
297
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
297
298
  type: PropTypes.Requireable<string>;
299
+ 'data-name': PropTypes.Requireable<string>;
298
300
  disabled: PropTypes.Requireable<boolean>;
299
301
  buttonAriaLabel: PropTypes.Requireable<string>;
300
302
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -371,6 +373,7 @@ declare namespace PlayerLoading {
371
373
  }>;
372
374
  }> | PropTypes.InferProps<{
373
375
  componentType: PropTypes.Requireable<string>;
376
+ 'data-name': PropTypes.Requireable<string>;
374
377
  disabled: PropTypes.Requireable<boolean>;
375
378
  buttonAriaLabel: PropTypes.Requireable<string>;
376
379
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -258,6 +258,7 @@ declare namespace SlidePlayer {
258
258
  items: PropTypes.Requireable<(PropTypes.InferProps<{
259
259
  title: PropTypes.Validator<string>;
260
260
  subtitle: PropTypes.Requireable<string>;
261
+ 'data-name': PropTypes.Requireable<string>;
261
262
  provider: PropTypes.Requireable<PropTypes.InferProps<{
262
263
  label: PropTypes.Requireable<string>;
263
264
  type: PropTypes.Requireable<string>;
@@ -346,6 +347,7 @@ declare namespace SlidePlayer {
346
347
  isRowExpandible: PropTypes.Requireable<boolean>;
347
348
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
348
349
  type: PropTypes.Requireable<string>;
350
+ 'data-name': PropTypes.Requireable<string>;
349
351
  disabled: PropTypes.Requireable<boolean>;
350
352
  buttonAriaLabel: PropTypes.Requireable<string>;
351
353
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -422,6 +424,7 @@ declare namespace SlidePlayer {
422
424
  }>;
423
425
  }> | PropTypes.InferProps<{
424
426
  componentType: PropTypes.Requireable<string>;
427
+ 'data-name': PropTypes.Requireable<string>;
425
428
  disabled: PropTypes.Requireable<boolean>;
426
429
  buttonAriaLabel: PropTypes.Requireable<string>;
427
430
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -695,6 +698,7 @@ declare namespace SlidePlayer {
695
698
  items: PropTypes.Requireable<(PropTypes.InferProps<{
696
699
  title: PropTypes.Validator<string>;
697
700
  subtitle: PropTypes.Requireable<string>;
701
+ 'data-name': PropTypes.Requireable<string>;
698
702
  provider: PropTypes.Requireable<PropTypes.InferProps<{
699
703
  label: PropTypes.Requireable<string>;
700
704
  type: PropTypes.Requireable<string>;
@@ -783,6 +787,7 @@ declare namespace SlidePlayer {
783
787
  isRowExpandible: PropTypes.Requireable<boolean>;
784
788
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
785
789
  type: PropTypes.Requireable<string>;
790
+ 'data-name': PropTypes.Requireable<string>;
786
791
  disabled: PropTypes.Requireable<boolean>;
787
792
  buttonAriaLabel: PropTypes.Requireable<string>;
788
793
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -859,6 +864,7 @@ declare namespace SlidePlayer {
859
864
  }>;
860
865
  }> | PropTypes.InferProps<{
861
866
  componentType: PropTypes.Requireable<string>;
867
+ 'data-name': PropTypes.Requireable<string>;
862
868
  disabled: PropTypes.Requireable<boolean>;
863
869
  buttonAriaLabel: PropTypes.Requireable<string>;
864
870
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -264,6 +264,7 @@ declare namespace SlidesPlayer {
264
264
  items: PropTypes.Requireable<(PropTypes.InferProps<{
265
265
  title: PropTypes.Validator<string>;
266
266
  subtitle: PropTypes.Requireable<string>;
267
+ 'data-name': PropTypes.Requireable<string>;
267
268
  provider: PropTypes.Requireable<PropTypes.InferProps<{
268
269
  label: PropTypes.Requireable<string>;
269
270
  type: PropTypes.Requireable<string>;
@@ -352,6 +353,7 @@ declare namespace SlidesPlayer {
352
353
  isRowExpandible: PropTypes.Requireable<boolean>;
353
354
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
354
355
  type: PropTypes.Requireable<string>;
356
+ 'data-name': PropTypes.Requireable<string>;
355
357
  disabled: PropTypes.Requireable<boolean>;
356
358
  buttonAriaLabel: PropTypes.Requireable<string>;
357
359
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -428,6 +430,7 @@ declare namespace SlidesPlayer {
428
430
  }>;
429
431
  }> | PropTypes.InferProps<{
430
432
  componentType: PropTypes.Requireable<string>;
433
+ 'data-name': PropTypes.Requireable<string>;
431
434
  disabled: PropTypes.Requireable<boolean>;
432
435
  buttonAriaLabel: PropTypes.Requireable<string>;
433
436
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AArPD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;;gBAEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlHD,oEAQC;;;;;;;;;AAgND;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
@@ -294,6 +294,7 @@ declare class PopinCorrection extends React.Component<any, any, any> {
294
294
  items: PropTypes.Requireable<(PropTypes.InferProps<{
295
295
  title: PropTypes.Validator<string>;
296
296
  subtitle: PropTypes.Requireable<string>;
297
+ 'data-name': PropTypes.Requireable<string>;
297
298
  provider: PropTypes.Requireable<PropTypes.InferProps<{
298
299
  label: PropTypes.Requireable<string>;
299
300
  type: PropTypes.Requireable<string>;
@@ -382,6 +383,7 @@ declare class PopinCorrection extends React.Component<any, any, any> {
382
383
  isRowExpandible: PropTypes.Requireable<boolean>;
383
384
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
384
385
  type: PropTypes.Requireable<string>;
386
+ 'data-name': PropTypes.Requireable<string>;
385
387
  disabled: PropTypes.Requireable<boolean>;
386
388
  buttonAriaLabel: PropTypes.Requireable<string>;
387
389
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -458,6 +460,7 @@ declare class PopinCorrection extends React.Component<any, any, any> {
458
460
  }>;
459
461
  }> | PropTypes.InferProps<{
460
462
  componentType: PropTypes.Requireable<string>;
463
+ 'data-name': PropTypes.Requireable<string>;
461
464
  disabled: PropTypes.Requireable<boolean>;
462
465
  buttonAriaLabel: PropTypes.Requireable<string>;
463
466
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
@@ -394,6 +394,7 @@ declare namespace PopinEnd {
394
394
  items: PropTypes.Requireable<(PropTypes.InferProps<{
395
395
  title: PropTypes.Validator<string>;
396
396
  subtitle: PropTypes.Requireable<string>;
397
+ 'data-name': PropTypes.Requireable<string>;
397
398
  provider: PropTypes.Requireable<PropTypes.InferProps<{
398
399
  label: PropTypes.Requireable<string>;
399
400
  type: PropTypes.Requireable<string>;
@@ -482,6 +483,7 @@ declare namespace PopinEnd {
482
483
  isRowExpandible: PropTypes.Requireable<boolean>;
483
484
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
484
485
  type: PropTypes.Requireable<string>;
486
+ 'data-name': PropTypes.Requireable<string>;
485
487
  disabled: PropTypes.Requireable<boolean>;
486
488
  buttonAriaLabel: PropTypes.Requireable<string>;
487
489
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -558,6 +560,7 @@ declare namespace PopinEnd {
558
560
  }>;
559
561
  }> | PropTypes.InferProps<{
560
562
  componentType: PropTypes.Requireable<string>;
563
+ 'data-name': PropTypes.Requireable<string>;
561
564
  disabled: PropTypes.Requireable<boolean>;
562
565
  buttonAriaLabel: PropTypes.Requireable<string>;
563
566
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -715,6 +715,7 @@ declare const AppReview: {
715
715
  items: import("prop-types").Requireable<(import("prop-types").InferProps<{
716
716
  title: import("prop-types").Validator<string>;
717
717
  subtitle: import("prop-types").Requireable<string>;
718
+ 'data-name': import("prop-types").Requireable<string>;
718
719
  provider: import("prop-types").Requireable<import("prop-types").InferProps<{
719
720
  label: import("prop-types").Requireable<string>;
720
721
  type: import("prop-types").Requireable<string>;
@@ -803,6 +804,7 @@ declare const AppReview: {
803
804
  isRowExpandible: import("prop-types").Requireable<boolean>;
804
805
  lastField: import("prop-types").Requireable<NonNullable<string | import("prop-types").InferProps<{
805
806
  type: import("prop-types").Requireable<string>;
807
+ 'data-name': import("prop-types").Requireable<string>;
806
808
  disabled: import("prop-types").Requireable<boolean>;
807
809
  buttonAriaLabel: import("prop-types").Requireable<string>;
808
810
  menuAriaLabel: import("prop-types").Requireable<string>;
@@ -879,6 +881,7 @@ declare const AppReview: {
879
881
  }>;
880
882
  }> | import("prop-types").InferProps<{
881
883
  componentType: import("prop-types").Requireable<string>;
884
+ 'data-name': import("prop-types").Requireable<string>;
882
885
  disabled: import("prop-types").Requireable<boolean>;
883
886
  buttonAriaLabel: import("prop-types").Requireable<string>;
884
887
  menuAriaLabel: import("prop-types").Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
@@ -715,6 +715,7 @@ declare const propTypes: {
715
715
  items: PropTypes.Requireable<(PropTypes.InferProps<{
716
716
  title: PropTypes.Validator<string>;
717
717
  subtitle: PropTypes.Requireable<string>;
718
+ 'data-name': PropTypes.Requireable<string>;
718
719
  provider: PropTypes.Requireable<PropTypes.InferProps<{
719
720
  label: PropTypes.Requireable<string>;
720
721
  type: PropTypes.Requireable<string>;
@@ -803,6 +804,7 @@ declare const propTypes: {
803
804
  isRowExpandible: PropTypes.Requireable<boolean>;
804
805
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
805
806
  type: PropTypes.Requireable<string>;
807
+ 'data-name': PropTypes.Requireable<string>;
806
808
  disabled: PropTypes.Requireable<boolean>;
807
809
  buttonAriaLabel: PropTypes.Requireable<string>;
808
810
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -879,6 +881,7 @@ declare const propTypes: {
879
881
  }>;
880
882
  }> | PropTypes.InferProps<{
881
883
  componentType: PropTypes.Requireable<string>;
884
+ 'data-name': PropTypes.Requireable<string>;
882
885
  disabled: PropTypes.Requireable<boolean>;
883
886
  buttonAriaLabel: PropTypes.Requireable<string>;
884
887
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
@@ -719,6 +719,7 @@ declare const propTypes: {
719
719
  items: PropTypes.Requireable<(PropTypes.InferProps<{
720
720
  title: PropTypes.Validator<string>;
721
721
  subtitle: PropTypes.Requireable<string>;
722
+ 'data-name': PropTypes.Requireable<string>;
722
723
  provider: PropTypes.Requireable<PropTypes.InferProps<{
723
724
  label: PropTypes.Requireable<string>;
724
725
  type: PropTypes.Requireable<string>;
@@ -807,6 +808,7 @@ declare const propTypes: {
807
808
  isRowExpandible: PropTypes.Requireable<boolean>;
808
809
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
809
810
  type: PropTypes.Requireable<string>;
811
+ 'data-name': PropTypes.Requireable<string>;
810
812
  disabled: PropTypes.Requireable<boolean>;
811
813
  buttonAriaLabel: PropTypes.Requireable<string>;
812
814
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -883,6 +885,7 @@ declare const propTypes: {
883
885
  }>;
884
886
  }> | PropTypes.InferProps<{
885
887
  componentType: PropTypes.Requireable<string>;
888
+ 'data-name': PropTypes.Requireable<string>;
886
889
  disabled: PropTypes.Requireable<boolean>;
887
890
  buttonAriaLabel: PropTypes.Requireable<string>;
888
891
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -435,6 +435,7 @@ declare namespace BrandUpdate {
435
435
  items: PropTypes.Requireable<(PropTypes.InferProps<{
436
436
  title: PropTypes.Validator<string>;
437
437
  subtitle: PropTypes.Requireable<string>;
438
+ 'data-name': PropTypes.Requireable<string>;
438
439
  provider: PropTypes.Requireable<PropTypes.InferProps<{
439
440
  label: PropTypes.Requireable<string>;
440
441
  type: PropTypes.Requireable<string>;
@@ -523,6 +524,7 @@ declare namespace BrandUpdate {
523
524
  isRowExpandible: PropTypes.Requireable<boolean>;
524
525
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
525
526
  type: PropTypes.Requireable<string>;
527
+ 'data-name': PropTypes.Requireable<string>;
526
528
  disabled: PropTypes.Requireable<boolean>;
527
529
  buttonAriaLabel: PropTypes.Requireable<string>;
528
530
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -599,6 +601,7 @@ declare namespace BrandUpdate {
599
601
  }>;
600
602
  }> | PropTypes.InferProps<{
601
603
  componentType: PropTypes.Requireable<string>;
604
+ 'data-name': PropTypes.Requireable<string>;
602
605
  disabled: PropTypes.Requireable<boolean>;
603
606
  buttonAriaLabel: PropTypes.Requireable<string>;
604
607
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -693,6 +696,7 @@ declare namespace BrandUpdate {
693
696
  isRowExpandible: PropTypes.Requireable<boolean>;
694
697
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
695
698
  type: PropTypes.Requireable<string>;
699
+ 'data-name': PropTypes.Requireable<string>;
696
700
  disabled: PropTypes.Requireable<boolean>;
697
701
  buttonAriaLabel: PropTypes.Requireable<string>;
698
702
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -769,6 +773,7 @@ declare namespace BrandUpdate {
769
773
  }>;
770
774
  }> | PropTypes.InferProps<{
771
775
  componentType: PropTypes.Requireable<string>;
776
+ 'data-name': PropTypes.Requireable<string>;
772
777
  disabled: PropTypes.Requireable<boolean>;
773
778
  buttonAriaLabel: PropTypes.Requireable<string>;
774
779
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -1019,6 +1024,7 @@ declare namespace BrandUpdate {
1019
1024
  }> | PropTypes.InferProps<{
1020
1025
  title: PropTypes.Validator<string>;
1021
1026
  subtitle: PropTypes.Requireable<string>;
1027
+ 'data-name': PropTypes.Requireable<string>;
1022
1028
  provider: PropTypes.Requireable<PropTypes.InferProps<{
1023
1029
  label: PropTypes.Requireable<string>;
1024
1030
  type: PropTypes.Requireable<string>;
@@ -1322,6 +1328,7 @@ declare namespace BrandUpdate {
1322
1328
  items: PropTypes.Requireable<(PropTypes.InferProps<{
1323
1329
  title: PropTypes.Validator<string>;
1324
1330
  subtitle: PropTypes.Requireable<string>;
1331
+ 'data-name': PropTypes.Requireable<string>;
1325
1332
  provider: PropTypes.Requireable<PropTypes.InferProps<{
1326
1333
  label: PropTypes.Requireable<string>;
1327
1334
  type: PropTypes.Requireable<string>;
@@ -1410,6 +1417,7 @@ declare namespace BrandUpdate {
1410
1417
  isRowExpandible: PropTypes.Requireable<boolean>;
1411
1418
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
1412
1419
  type: PropTypes.Requireable<string>;
1420
+ 'data-name': PropTypes.Requireable<string>;
1413
1421
  disabled: PropTypes.Requireable<boolean>;
1414
1422
  buttonAriaLabel: PropTypes.Requireable<string>;
1415
1423
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -1486,6 +1494,7 @@ declare namespace BrandUpdate {
1486
1494
  }>;
1487
1495
  }> | PropTypes.InferProps<{
1488
1496
  componentType: PropTypes.Requireable<string>;
1497
+ 'data-name': PropTypes.Requireable<string>;
1489
1498
  disabled: PropTypes.Requireable<boolean>;
1490
1499
  buttonAriaLabel: PropTypes.Requireable<string>;
1491
1500
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -211,6 +211,7 @@ declare namespace Dashboard {
211
211
  items: PropTypes.Requireable<(PropTypes.InferProps<{
212
212
  title: PropTypes.Validator<string>;
213
213
  subtitle: PropTypes.Requireable<string>;
214
+ 'data-name': PropTypes.Requireable<string>;
214
215
  provider: PropTypes.Requireable<PropTypes.InferProps<{
215
216
  label: PropTypes.Requireable<string>;
216
217
  type: PropTypes.Requireable<string>;
@@ -299,6 +300,7 @@ declare namespace Dashboard {
299
300
  isRowExpandible: PropTypes.Requireable<boolean>;
300
301
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
301
302
  type: PropTypes.Requireable<string>;
303
+ 'data-name': PropTypes.Requireable<string>;
302
304
  disabled: PropTypes.Requireable<boolean>;
303
305
  buttonAriaLabel: PropTypes.Requireable<string>;
304
306
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -375,6 +377,7 @@ declare namespace Dashboard {
375
377
  }>;
376
378
  }> | PropTypes.InferProps<{
377
379
  componentType: PropTypes.Requireable<string>;
380
+ 'data-name': PropTypes.Requireable<string>;
378
381
  disabled: PropTypes.Requireable<boolean>;
379
382
  buttonAriaLabel: PropTypes.Requireable<string>;
380
383
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -651,6 +654,7 @@ declare namespace Dashboard {
651
654
  items: PropTypes.Requireable<(PropTypes.InferProps<{
652
655
  title: PropTypes.Validator<string>;
653
656
  subtitle: PropTypes.Requireable<string>;
657
+ 'data-name': PropTypes.Requireable<string>;
654
658
  provider: PropTypes.Requireable<PropTypes.InferProps<{
655
659
  label: PropTypes.Requireable<string>;
656
660
  type: PropTypes.Requireable<string>;
@@ -739,6 +743,7 @@ declare namespace Dashboard {
739
743
  isRowExpandible: PropTypes.Requireable<boolean>;
740
744
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
741
745
  type: PropTypes.Requireable<string>;
746
+ 'data-name': PropTypes.Requireable<string>;
742
747
  disabled: PropTypes.Requireable<boolean>;
743
748
  buttonAriaLabel: PropTypes.Requireable<string>;
744
749
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -815,6 +820,7 @@ declare namespace Dashboard {
815
820
  }>;
816
821
  }> | PropTypes.InferProps<{
817
822
  componentType: PropTypes.Requireable<string>;
823
+ 'data-name': PropTypes.Requireable<string>;
818
824
  disabled: PropTypes.Requireable<boolean>;
819
825
  buttonAriaLabel: PropTypes.Requireable<string>;
820
826
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -392,6 +392,7 @@ declare namespace SearchPage {
392
392
  items: PropTypes.Requireable<(PropTypes.InferProps<{
393
393
  title: PropTypes.Validator<string>;
394
394
  subtitle: PropTypes.Requireable<string>;
395
+ 'data-name': PropTypes.Requireable<string>;
395
396
  provider: PropTypes.Requireable<PropTypes.InferProps<{
396
397
  label: PropTypes.Requireable<string>;
397
398
  type: PropTypes.Requireable<string>;
@@ -480,6 +481,7 @@ declare namespace SearchPage {
480
481
  isRowExpandible: PropTypes.Requireable<boolean>;
481
482
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
482
483
  type: PropTypes.Requireable<string>;
484
+ 'data-name': PropTypes.Requireable<string>;
483
485
  disabled: PropTypes.Requireable<boolean>;
484
486
  buttonAriaLabel: PropTypes.Requireable<string>;
485
487
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -556,6 +558,7 @@ declare namespace SearchPage {
556
558
  }>;
557
559
  }> | PropTypes.InferProps<{
558
560
  componentType: PropTypes.Requireable<string>;
561
+ 'data-name': PropTypes.Requireable<string>;
559
562
  disabled: PropTypes.Requireable<boolean>;
560
563
  buttonAriaLabel: PropTypes.Requireable<string>;
561
564
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -229,6 +229,7 @@ declare namespace ExternalCourse {
229
229
  items: PropTypes.Requireable<(PropTypes.InferProps<{
230
230
  title: PropTypes.Validator<string>;
231
231
  subtitle: PropTypes.Requireable<string>;
232
+ 'data-name': PropTypes.Requireable<string>;
232
233
  provider: PropTypes.Requireable<PropTypes.InferProps<{
233
234
  label: PropTypes.Requireable<string>;
234
235
  type: PropTypes.Requireable<string>;
@@ -317,6 +318,7 @@ declare namespace ExternalCourse {
317
318
  isRowExpandible: PropTypes.Requireable<boolean>;
318
319
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
319
320
  type: PropTypes.Requireable<string>;
321
+ 'data-name': PropTypes.Requireable<string>;
320
322
  disabled: PropTypes.Requireable<boolean>;
321
323
  buttonAriaLabel: PropTypes.Requireable<string>;
322
324
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -393,6 +395,7 @@ declare namespace ExternalCourse {
393
395
  }>;
394
396
  }> | PropTypes.InferProps<{
395
397
  componentType: PropTypes.Requireable<string>;
398
+ 'data-name': PropTypes.Requireable<string>;
396
399
  disabled: PropTypes.Requireable<boolean>;
397
400
  buttonAriaLabel: PropTypes.Requireable<string>;
398
401
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -74,7 +74,7 @@ const ButtonLinkIcon = props => {
74
74
  className: _style.default.tooltipContentWrapper
75
75
  }, ariaLabel), [ariaLabel]);
76
76
  const Button = (0, _react.useCallback)(() => link ? /*#__PURE__*/_react.default.createElement(_link.default, _extends({}, link, ariaLabel ? {
77
- 'data-for': 'button-icon',
77
+ 'data-for': dataName,
78
78
  'data-tip': toolTipIsVisible
79
79
  } : {}, {
80
80
  className: styleButton,
@@ -83,7 +83,7 @@ const ButtonLinkIcon = props => {
83
83
  onMouseEnter: handleMouseOver,
84
84
  onMouseLeave: handleMouseLeave
85
85
  }), contentView) : /*#__PURE__*/_react.default.createElement("button", _extends({}, ariaLabel ? {
86
- 'data-for': 'button-icon',
86
+ 'data-for': dataName,
87
87
  'data-tip': toolTipIsVisible
88
88
  } : {}, {
89
89
  type: "button",
@@ -98,7 +98,7 @@ const ButtonLinkIcon = props => {
98
98
  }), contentView), [link, ariaLabel, className, contentView, dataName, disabled, handleMouseLeave, handleMouseOver, handleOnClick, styleButton, toolTipIsVisible]);
99
99
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(Button, null), ariaLabel ? /*#__PURE__*/_react.default.createElement(_tooltip.default, {
100
100
  fontSize: 12,
101
- anchorId: "button-icon",
101
+ anchorId: dataName,
102
102
  toolTipIsVisible: toolTipIsVisible,
103
103
  placement: tooltipPlacement,
104
104
  TooltipContent: TooltipContent,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_classnames","_buttonIcons","_icon","_link","_tooltip","_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","faIcon","Icon","_getOr2","ICONS","createElement","className","style","buttonContent","iconName","getSizeStyle","size","small","responsive","defaultStyle","ButtonLinkIcon","props","disabled","dataName","ariaLabel","link","onClick","tooltipPlacement","toolTipIsVisible","setToolTipIsVisible","useState","timer","useRef","contentView","styleButton","classnames","handleOnClick","useCallback","handleMouseOver","current","clearTimeout","setTimeout","undefined","handleMouseLeave","TooltipContent","tooltipContentWrapper","Button","onMouseEnter","onMouseLeave","type","onMouseOver","Fragment","fontSize","anchorId","placement","closeToolTipInformationTextAriaLabel","propTypes","process","env","NODE_ENV","PropTypes","oneOf","string","_keys2","func","shape","href","download","bool","target","_default","exports"],"sources":["../../../src/atom/button-link-icon/index.js"],"sourcesContent":["import React, {useState, useCallback, useRef} from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, keys} from 'lodash/fp';\nimport classnames from 'classnames';\nimport {ICONS} from '../../util/button-icons';\nimport FaIcon from '../icon';\nimport Link from '../link';\nimport ToolTip from '../tooltip';\n// eslint-disable-next-line css-modules/no-unused-class\nimport style from './style.css';\n\nconst getButtonContent = (icon, faIcon) => {\n const Icon = getOr(null, icon, ICONS);\n\n if (!Icon && !faIcon) {\n return <div className={style.buttonContent} />;\n }\n\n return (\n <div className={style.buttonContent}>\n {faIcon ? <FaIcon iconName={faIcon} /> : <Icon className={style.icon} />}\n </div>\n );\n};\n\nconst getSizeStyle = size => {\n switch (size) {\n case 'small':\n return style.small;\n case 'responsive':\n return style.responsive;\n default:\n return style.defaultStyle;\n }\n};\n\nconst ButtonLinkIcon = props => {\n const {\n size = 'default',\n disabled,\n icon,\n faIcon,\n 'data-name': dataName,\n 'aria-label': ariaLabel,\n link,\n onClick,\n className,\n tooltipPlacement = 'left'\n } = props;\n const [toolTipIsVisible, setToolTipIsVisible] = useState(false);\n const timer = useRef();\n\n const contentView = getButtonContent(icon, faIcon);\n const styleButton = classnames(\n getSizeStyle(size),\n link && style.link,\n disabled && style.disabled,\n className\n );\n\n const handleOnClick = useCallback(() => onClick(), [onClick]);\n\n const handleMouseOver = useCallback(() => {\n timer.current && clearTimeout(timer.current);\n timer.current = setTimeout(() => {\n setToolTipIsVisible(true);\n timer.current = undefined;\n }, 300);\n }, [timer, setToolTipIsVisible]);\n\n const handleMouseLeave = useCallback(() => {\n timer.current && clearTimeout(timer.current);\n setToolTipIsVisible(false);\n }, [timer, setToolTipIsVisible]);\n\n const TooltipContent = useCallback(\n () => <span className={style.tooltipContentWrapper}>{ariaLabel}</span>,\n [ariaLabel]\n );\n\n const Button = useCallback(\n () =>\n link ? (\n <Link\n {...link}\n {...(ariaLabel\n ? {\n 'data-for': 'button-icon',\n 'data-tip': toolTipIsVisible\n }\n : {})}\n className={styleButton}\n data-name={dataName}\n aria-label={ariaLabel}\n onMouseEnter={handleMouseOver}\n onMouseLeave={handleMouseLeave}\n >\n {contentView}\n </Link>\n ) : (\n <button\n {...(ariaLabel\n ? {\n 'data-for': 'button-icon',\n 'data-tip': toolTipIsVisible\n }\n : {})}\n type=\"button\"\n aria-label={ariaLabel}\n data-name={dataName}\n data-testid={`button-${dataName}-${className}`}\n className={styleButton}\n onClick={handleOnClick}\n onMouseLeave={handleMouseLeave}\n onMouseOver={handleMouseOver}\n disabled={disabled}\n >\n {contentView}\n </button>\n ),\n [\n link,\n ariaLabel,\n className,\n contentView,\n dataName,\n disabled,\n handleMouseLeave,\n handleMouseOver,\n handleOnClick,\n styleButton,\n toolTipIsVisible\n ]\n );\n\n return (\n <>\n <Button />\n {ariaLabel ? (\n <ToolTip\n fontSize={12}\n anchorId=\"button-icon\"\n toolTipIsVisible={toolTipIsVisible}\n placement={tooltipPlacement}\n TooltipContent={TooltipContent}\n closeToolTipInformationTextAriaLabel={ariaLabel}\n />\n ) : null}\n </>\n );\n};\n\nButtonLinkIcon.propTypes = {\n size: PropTypes.oneOf(['default', 'small', 'responsive']),\n 'aria-label': PropTypes.string,\n 'data-name': PropTypes.string,\n icon: PropTypes.oneOf(keys(ICONS)),\n faIcon: PropTypes.string,\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 disabled: PropTypes.bool,\n className: PropTypes.string,\n tooltipPlacement: PropTypes.oneOf(['left', 'right', 'top', 'bottom'])\n};\n\nexport default ButtonLinkIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,KAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,QAAA,GAAAL,sBAAA,CAAAF,OAAA;AAEA,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,CAA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oC,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG;EACzB3C,IAAI,EAAE4C,kBAAS,CAACC,KAAK,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC;EACzD,YAAY,EAAED,kBAAS,CAACE,MAAM;EAC9B,WAAW,EAAEF,kBAAS,CAACE,MAAM;EAC7BzD,IAAI,EAAEuD,kBAAS,CAACC,KAAK,CAAC,IAAAE,MAAA,CAAA/E,OAAA,EAAKyB,kBAAK,CAAC,CAAC;EAClCH,MAAM,EAAEsD,kBAAS,CAACE,MAAM;EACxBpC,OAAO,EAAEkC,kBAAS,CAACI,IAAI;EACvBvC,IAAI,EAAEmC,kBAAS,CAACK,KAAK,CAAC;IACpBC,IAAI,EAAEN,kBAAS,CAACE,MAAM;IACtBK,QAAQ,EAAEP,kBAAS,CAACQ,IAAI;IACxBC,MAAM,EAAET,kBAAS,CAACC,KAAK,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC;EAChE,CAAC,CAAC;EACFvC,QAAQ,EAAEsC,kBAAS,CAACQ,IAAI;EACxBzD,SAAS,EAAEiD,kBAAS,CAACE,MAAM;EAC3BnC,gBAAgB,EAAEiC,kBAAS,CAACC,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC;AACtE,CAAC;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAAvF,OAAA,GAEaoC,cAAc","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_classnames","_buttonIcons","_icon","_link","_tooltip","_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","faIcon","Icon","_getOr2","ICONS","createElement","className","style","buttonContent","iconName","getSizeStyle","size","small","responsive","defaultStyle","ButtonLinkIcon","props","disabled","dataName","ariaLabel","link","onClick","tooltipPlacement","toolTipIsVisible","setToolTipIsVisible","useState","timer","useRef","contentView","styleButton","classnames","handleOnClick","useCallback","handleMouseOver","current","clearTimeout","setTimeout","undefined","handleMouseLeave","TooltipContent","tooltipContentWrapper","Button","onMouseEnter","onMouseLeave","type","onMouseOver","Fragment","fontSize","anchorId","placement","closeToolTipInformationTextAriaLabel","propTypes","process","env","NODE_ENV","PropTypes","oneOf","string","_keys2","func","shape","href","download","bool","target","_default","exports"],"sources":["../../../src/atom/button-link-icon/index.js"],"sourcesContent":["import React, {useState, useCallback, useRef} from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, keys} from 'lodash/fp';\nimport classnames from 'classnames';\nimport {ICONS} from '../../util/button-icons';\nimport FaIcon from '../icon';\nimport Link from '../link';\nimport ToolTip from '../tooltip';\n// eslint-disable-next-line css-modules/no-unused-class\nimport style from './style.css';\n\nconst getButtonContent = (icon, faIcon) => {\n const Icon = getOr(null, icon, ICONS);\n\n if (!Icon && !faIcon) {\n return <div className={style.buttonContent} />;\n }\n\n return (\n <div className={style.buttonContent}>\n {faIcon ? <FaIcon iconName={faIcon} /> : <Icon className={style.icon} />}\n </div>\n );\n};\n\nconst getSizeStyle = size => {\n switch (size) {\n case 'small':\n return style.small;\n case 'responsive':\n return style.responsive;\n default:\n return style.defaultStyle;\n }\n};\n\nconst ButtonLinkIcon = props => {\n const {\n size = 'default',\n disabled,\n icon,\n faIcon,\n 'data-name': dataName,\n 'aria-label': ariaLabel,\n link,\n onClick,\n className,\n tooltipPlacement = 'left'\n } = props;\n const [toolTipIsVisible, setToolTipIsVisible] = useState(false);\n const timer = useRef();\n\n const contentView = getButtonContent(icon, faIcon);\n const styleButton = classnames(\n getSizeStyle(size),\n link && style.link,\n disabled && style.disabled,\n className\n );\n\n const handleOnClick = useCallback(() => onClick(), [onClick]);\n\n const handleMouseOver = useCallback(() => {\n timer.current && clearTimeout(timer.current);\n timer.current = setTimeout(() => {\n setToolTipIsVisible(true);\n timer.current = undefined;\n }, 300);\n }, [timer, setToolTipIsVisible]);\n\n const handleMouseLeave = useCallback(() => {\n timer.current && clearTimeout(timer.current);\n setToolTipIsVisible(false);\n }, [timer, setToolTipIsVisible]);\n\n const TooltipContent = useCallback(\n () => <span className={style.tooltipContentWrapper}>{ariaLabel}</span>,\n [ariaLabel]\n );\n\n const Button = useCallback(\n () =>\n link ? (\n <Link\n {...link}\n {...(ariaLabel\n ? {\n 'data-for': dataName,\n 'data-tip': toolTipIsVisible\n }\n : {})}\n className={styleButton}\n data-name={dataName}\n aria-label={ariaLabel}\n onMouseEnter={handleMouseOver}\n onMouseLeave={handleMouseLeave}\n >\n {contentView}\n </Link>\n ) : (\n <button\n {...(ariaLabel\n ? {\n 'data-for': dataName,\n 'data-tip': toolTipIsVisible\n }\n : {})}\n type=\"button\"\n aria-label={ariaLabel}\n data-name={dataName}\n data-testid={`button-${dataName}-${className}`}\n className={styleButton}\n onClick={handleOnClick}\n onMouseLeave={handleMouseLeave}\n onMouseOver={handleMouseOver}\n disabled={disabled}\n >\n {contentView}\n </button>\n ),\n [\n link,\n ariaLabel,\n className,\n contentView,\n dataName,\n disabled,\n handleMouseLeave,\n handleMouseOver,\n handleOnClick,\n styleButton,\n toolTipIsVisible\n ]\n );\n\n return (\n <>\n <Button />\n {ariaLabel ? (\n <ToolTip\n fontSize={12}\n anchorId={dataName}\n toolTipIsVisible={toolTipIsVisible}\n placement={tooltipPlacement}\n TooltipContent={TooltipContent}\n closeToolTipInformationTextAriaLabel={ariaLabel}\n />\n ) : null}\n </>\n );\n};\n\nButtonLinkIcon.propTypes = {\n size: PropTypes.oneOf(['default', 'small', 'responsive']),\n 'aria-label': PropTypes.string,\n 'data-name': PropTypes.string,\n icon: PropTypes.oneOf(keys(ICONS)),\n faIcon: PropTypes.string,\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 disabled: PropTypes.bool,\n className: PropTypes.string,\n tooltipPlacement: PropTypes.oneOf(['left', 'right', 'top', 'bottom'])\n};\n\nexport default ButtonLinkIcon;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,KAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,QAAA,GAAAL,sBAAA,CAAAF,OAAA;AAEA,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,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA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CAACC,KAAK,CAAC,IAAAE,MAAA,CAAA/E,OAAA,EAAKyB,kBAAK,CAAC,CAAC;EAClCH,MAAM,EAAEsD,kBAAS,CAACE,MAAM;EACxBpC,OAAO,EAAEkC,kBAAS,CAACI,IAAI;EACvBvC,IAAI,EAAEmC,kBAAS,CAACK,KAAK,CAAC;IACpBC,IAAI,EAAEN,kBAAS,CAACE,MAAM;IACtBK,QAAQ,EAAEP,kBAAS,CAACQ,IAAI;IACxBC,MAAM,EAAET,kBAAS,CAACC,KAAK,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC;EAChE,CAAC,CAAC;EACFvC,QAAQ,EAAEsC,kBAAS,CAACQ,IAAI;EACxBzD,SAAS,EAAEiD,kBAAS,CAACE,MAAM;EAC3BnC,gBAAgB,EAAEiC,kBAAS,CAACC,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC;AACtE,CAAC;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAAvF,OAAA,GAEaoC,cAAc","ignoreList":[]}
@@ -3,6 +3,7 @@ import { BulletPointMenuButtonProps } from './types';
3
3
  declare const BulletPointMenuButton: {
4
4
  (props: BulletPointMenuButtonProps): JSX.Element;
5
5
  propTypes: {
6
+ 'data-name': import("prop-types").Requireable<string>;
6
7
  disabled: import("prop-types").Requireable<boolean>;
7
8
  buttonAriaLabel: import("prop-types").Requireable<string>;
8
9
  menuAriaLabel: import("prop-types").Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,0BAA0B,EAAC,MAAM,SAAS,CAAC;AAG9D,QAAA,MAAM,qBAAqB;YAAW,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4D/D,CAAC;AAIF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,0BAA0B,EAAC,MAAM,SAAS,CAAC;AAG9D,QAAA,MAAM,qBAAqB;YAAW,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6D/D,CAAC;AAIF,eAAe,qBAAqB,CAAC"}
@@ -12,6 +12,7 @@ var _style = _interopRequireDefault(require("./style.css"));
12
12
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
13
13
  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; }
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ 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); }
15
16
  const BulletPointMenuButton = props => {
16
17
  const {
17
18
  disabled = false,
@@ -20,7 +21,8 @@ const BulletPointMenuButton = props => {
20
21
  onClick = _noop2.default,
21
22
  buttons,
22
23
  menuButtonClassName,
23
- isBulkMenu
24
+ isBulkMenu,
25
+ 'data-name': dataName
24
26
  } = props;
25
27
  const [visible, setVisible] = (0, _react.useState)(false);
26
28
  const handleOnClick = (0, _react.useCallback)(() => {
@@ -56,7 +58,9 @@ const BulletPointMenuButton = props => {
56
58
  return /*#__PURE__*/_react.default.createElement("div", {
57
59
  className: _style.default.bulletPointWrapper,
58
60
  "data-name": "bullet-point-wrapper"
59
- }, /*#__PURE__*/_react.default.createElement(_buttonLinkIcon.default, bulletPointButtonProps), menu);
61
+ }, /*#__PURE__*/_react.default.createElement(_buttonLinkIcon.default, _extends({}, bulletPointButtonProps, {
62
+ "data-name": dataName
63
+ })), menu);
60
64
  };
61
65
  BulletPointMenuButton.propTypes = process.env.NODE_ENV !== "production" ? _types.default : {};
62
66
  var _default = exports.default = BulletPointMenuButton;