@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
@@ -51,10 +51,26 @@ declare const ActionableExpandableTable: {
51
51
  label: import("prop-types").Validator<string>;
52
52
  onClick: import("prop-types").Validator<(...args: any[]) => any>;
53
53
  type: import("prop-types").Requireable<string>;
54
+ linkType: import("prop-types").Requireable<string>;
55
+ icon: import("prop-types").Requireable<import("prop-types").InferProps<{
56
+ position: import("prop-types").Validator<string>;
57
+ type: import("prop-types").Requireable<string>;
58
+ faIcon: import("prop-types").Requireable<import("prop-types").InferProps<{
59
+ name: import("prop-types").Validator<string>;
60
+ size: import("prop-types").Requireable<number>;
61
+ color: import("prop-types").Requireable<string>;
62
+ }>>;
63
+ }>>;
64
+ customStyle: import("prop-types").Requireable<import("prop-types").InferProps<{
65
+ color: import("prop-types").Requireable<string>;
66
+ hoverBackgroundColor: import("prop-types").Requireable<string>;
67
+ }>>;
68
+ isCustomSkillMenu: import("prop-types").Requireable<boolean>;
54
69
  }> | null | undefined)[]>;
55
70
  onClick: import("prop-types").Requireable<(...args: any[]) => any>;
56
71
  menuButtonClassName: import("prop-types").Requireable<string>;
57
72
  isBulkMenu: import("prop-types").Requireable<boolean>;
73
+ isCustomSkillMenu: import("prop-types").Requireable<boolean>;
58
74
  }> | null | undefined>>;
59
75
  }> | null | undefined)[]>;
60
76
  stickyFirstColumn: import("prop-types").Requireable<boolean>;
@@ -87,6 +103,7 @@ declare const ActionableExpandableTable: {
87
103
  disabled: import("prop-types").Requireable<boolean>;
88
104
  className: import("prop-types").Requireable<string>;
89
105
  customStyle: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
106
+ isCustomSkillMenu: import("prop-types").Requireable<boolean>;
90
107
  }> | import("prop-types").InferProps<{
91
108
  componentType: import("prop-types").Requireable<string>;
92
109
  disabled: import("prop-types").Requireable<boolean>;
@@ -98,10 +115,26 @@ declare const ActionableExpandableTable: {
98
115
  label: import("prop-types").Validator<string>;
99
116
  onClick: import("prop-types").Validator<(...args: any[]) => any>;
100
117
  type: import("prop-types").Requireable<string>;
118
+ linkType: import("prop-types").Requireable<string>;
119
+ icon: import("prop-types").Requireable<import("prop-types").InferProps<{
120
+ position: import("prop-types").Validator<string>;
121
+ type: import("prop-types").Requireable<string>;
122
+ faIcon: import("prop-types").Requireable<import("prop-types").InferProps<{
123
+ name: import("prop-types").Validator<string>;
124
+ size: import("prop-types").Requireable<number>;
125
+ color: import("prop-types").Requireable<string>;
126
+ }>>;
127
+ }>>;
128
+ customStyle: import("prop-types").Requireable<import("prop-types").InferProps<{
129
+ color: import("prop-types").Requireable<string>;
130
+ hoverBackgroundColor: import("prop-types").Requireable<string>;
131
+ }>>;
132
+ isCustomSkillMenu: import("prop-types").Requireable<boolean>;
101
133
  }> | null | undefined)[]>;
102
134
  onClick: import("prop-types").Requireable<(...args: any[]) => any>;
103
135
  menuButtonClassName: import("prop-types").Requireable<string>;
104
136
  isBulkMenu: import("prop-types").Requireable<boolean>;
137
+ isCustomSkillMenu: import("prop-types").Requireable<boolean>;
105
138
  }> | null | undefined>>;
106
139
  isNestedTable: import("prop-types").Requireable<boolean>;
107
140
  emptyStateFirstMessage: import("prop-types").Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandible-actionable-table/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAOjE,OAAO,EAA2C,KAAK,EAAY,MAAM,SAAS,CAAC;AAqCnF,QAAA,MAAM,yBAAyB;YAAW,KAAK,iBAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoL/E,CAAC;AASF,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandible-actionable-table/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAOjE,OAAO,EAA2C,KAAK,EAAY,MAAM,SAAS,CAAC;AAqCnF,QAAA,MAAM,yBAAyB;YAAW,KAAK,iBAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoL/E,CAAC;AASF,eAAe,yBAAyB,CAAC"}
@@ -28,10 +28,26 @@ export declare const propTypes: {
28
28
  label: PropTypes.Validator<string>;
29
29
  onClick: PropTypes.Validator<(...args: any[]) => any>;
30
30
  type: PropTypes.Requireable<string>;
31
+ linkType: PropTypes.Requireable<string>;
32
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
33
+ position: PropTypes.Validator<string>;
34
+ type: PropTypes.Requireable<string>;
35
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
36
+ name: PropTypes.Validator<string>;
37
+ size: PropTypes.Requireable<number>;
38
+ color: PropTypes.Requireable<string>;
39
+ }>>;
40
+ }>>;
41
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
42
+ color: PropTypes.Requireable<string>;
43
+ hoverBackgroundColor: PropTypes.Requireable<string>;
44
+ }>>;
45
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
31
46
  }> | null | undefined)[]>;
32
47
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
33
48
  menuButtonClassName: PropTypes.Requireable<string>;
34
49
  isBulkMenu: PropTypes.Requireable<boolean>;
50
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
35
51
  }> | null | undefined>>;
36
52
  }> | null | undefined)[]>;
37
53
  stickyFirstColumn: PropTypes.Requireable<boolean>;
@@ -64,6 +80,7 @@ export declare const propTypes: {
64
80
  disabled: PropTypes.Requireable<boolean>;
65
81
  className: PropTypes.Requireable<string>;
66
82
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
83
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
67
84
  }> | PropTypes.InferProps<{
68
85
  componentType: PropTypes.Requireable<string>;
69
86
  disabled: PropTypes.Requireable<boolean>;
@@ -75,10 +92,26 @@ export declare const propTypes: {
75
92
  label: PropTypes.Validator<string>;
76
93
  onClick: PropTypes.Validator<(...args: any[]) => any>;
77
94
  type: PropTypes.Requireable<string>;
95
+ linkType: PropTypes.Requireable<string>;
96
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
97
+ position: PropTypes.Validator<string>;
98
+ type: PropTypes.Requireable<string>;
99
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
100
+ name: PropTypes.Validator<string>;
101
+ size: PropTypes.Requireable<number>;
102
+ color: PropTypes.Requireable<string>;
103
+ }>>;
104
+ }>>;
105
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
106
+ color: PropTypes.Requireable<string>;
107
+ hoverBackgroundColor: PropTypes.Requireable<string>;
108
+ }>>;
109
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
78
110
  }> | null | undefined)[]>;
79
111
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
80
112
  menuButtonClassName: PropTypes.Requireable<string>;
81
113
  isBulkMenu: PropTypes.Requireable<boolean>;
114
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
82
115
  }> | null | undefined>>;
83
116
  isNestedTable: PropTypes.Requireable<boolean>;
84
117
  emptyStateFirstMessage: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandible-actionable-table/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,KAAK,IAAI,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAC,KAAK,IAAI,oBAAoB,EAAC,MAAM,4BAA4B,CAAC;AA0BzE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBrB,CAAC;AAEF,oBAAY,KAAK,GACb,MAAM,GACN,CAAC,eAAe,GAAG;IACjB,aAAa,EAAE,QAAQ,CAAC;CACzB,CAAC,GACF,CAAC,oBAAoB,GAAG;IACtB,aAAa,EAAE,cAAc,CAAC;CAC/B,CAAC,CAAC;AAEP,oBAAY,SAAS,GACjB,CAAC,eAAe,GAAG;IACjB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC,GACF,CAAC,0BAA0B,GAAG;IAC5B,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEP,oBAAY,SAAS,GACjB,CAAC,gBAAgB,GAAG;IAClB,aAAa,EAAE,cAAc,CAAC;CAC/B,CAAC,GACF,CAAC,KAAK,GAAG;IACP,aAAa,EAAE,yBAAyB,CAAC;CAC1C,CAAC,CAAC;AAEP,oBAAY,MAAM,GAAG;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC,CAAC;AACrC,oBAAY,GAAG,GAAG;IAChB,MAAM,EAAE,KAAK,EAAE,CAAC;IAEhB,SAAS,CAAC,EAAE,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CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,oBAAY,WAAW,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { CustomSkillHeaderProps } from './types';
3
+ declare const CustomSkillHeader: (props: CustomSkillHeaderProps) => JSX.Element;
4
+ export default CustomSkillHeader;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/custom-skill-header/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAoB,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAqClE,QAAA,MAAM,iBAAiB,UAAW,sBAAsB,gBA4DvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _react = _interopRequireDefault(require("react"));
6
+ var _buttonLink = _interopRequireDefault(require("../../atom/button-link"));
7
+ var _buttonLinkIcon = _interopRequireDefault(require("../../atom/button-link-icon"));
8
+ var _bulletPointMenuButton = _interopRequireDefault(require("../../molecule/bullet-point-menu-button"));
9
+ var _tag = _interopRequireDefault(require("../../atom/tag"));
10
+ var _style = _interopRequireDefault(require("./style.css"));
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ 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); }
13
+ const commonButtonStyles = {
14
+ fontWeight: '600',
15
+ borderRadius: '12px'
16
+ };
17
+ const createButtonLinkProps = (buttonProps, type) => ({
18
+ ...buttonProps,
19
+ 'data-name': `custom-skill-header-${type}-button`,
20
+ 'aria-label': `aria ${type} button`,
21
+ type: type === 'save' || type === 'archive' ? 'secondary' : 'primary',
22
+ icon: {
23
+ position: 'left',
24
+ faIcon: {
25
+ name: (() => {
26
+ switch (type) {
27
+ case 'save':
28
+ return 'floppy-disk';
29
+ case 'archive':
30
+ return 'folder-open';
31
+ default:
32
+ return buttonProps?.faIconName ?? 'circle-check';
33
+ }
34
+ })(),
35
+ color: type === 'save' || type === 'archive' ? '#1D1D2B' : '#FFFFFF',
36
+ size: 14
37
+ }
38
+ },
39
+ customStyle: commonButtonStyles,
40
+ isCustomSkillMenu: true
41
+ });
42
+ const CustomSkillHeader = props => {
43
+ const {
44
+ onQuitClick,
45
+ title,
46
+ tag,
47
+ saveStatus,
48
+ bulletPointMenuButton,
49
+ saveButton,
50
+ publishButton,
51
+ archiveButton
52
+ } = props;
53
+ const saveButtonProps = createButtonLinkProps(saveButton, 'save');
54
+ const publishButtonProps = createButtonLinkProps(publishButton, 'publish');
55
+ const archiveButtonProps = archiveButton ? createButtonLinkProps(archiveButton, 'archive') : undefined;
56
+ const closeButtonProps = {
57
+ size: 'default',
58
+ icon: 'close',
59
+ 'data-name': 'custom-skill-header-close-button',
60
+ 'aria-label': 'close-button-aria-label',
61
+ onClick: onQuitClick
62
+ };
63
+ const bulletPointMenuButtonProps = {
64
+ ...bulletPointMenuButton,
65
+ buttonAriaLabel: 'aria button bullet point menu',
66
+ menuAriaLabel: 'aria button bullet point menu',
67
+ isCustomSkillMenu: true
68
+ };
69
+ return /*#__PURE__*/_react.default.createElement("div", {
70
+ className: _style.default.headerWrapper,
71
+ "data-name": "header-wrapper"
72
+ }, /*#__PURE__*/_react.default.createElement("div", {
73
+ className: _style.default.titleAndButtonWrapper,
74
+ "data-name": "title-and-button-wrapper"
75
+ }, /*#__PURE__*/_react.default.createElement(_buttonLinkIcon.default, _extends({}, closeButtonProps, {
76
+ className: _style.default.button
77
+ })), /*#__PURE__*/_react.default.createElement("div", {
78
+ className: _style.default.titleWrapper
79
+ }, /*#__PURE__*/_react.default.createElement("div", {
80
+ className: _style.default.statusWrapper
81
+ }, /*#__PURE__*/_react.default.createElement(_tag.default, tag), saveStatus.display ? /*#__PURE__*/_react.default.createElement("p", {
82
+ className: _style.default.saveStatus
83
+ }, saveStatus.label) : null), /*#__PURE__*/_react.default.createElement("h3", {
84
+ className: _style.default.title,
85
+ "aria-label": title,
86
+ "data-name": "header-title"
87
+ }, title))), /*#__PURE__*/_react.default.createElement("div", {
88
+ className: _style.default.buttonsWrapper,
89
+ "data-name": "button-wrapper"
90
+ }, archiveButton ? /*#__PURE__*/_react.default.createElement(_buttonLink.default, archiveButtonProps) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_bulletPointMenuButton.default, bulletPointMenuButtonProps), /*#__PURE__*/_react.default.createElement(_buttonLink.default, saveButtonProps), /*#__PURE__*/_react.default.createElement(_buttonLink.default, publishButtonProps))));
91
+ };
92
+ var _default = exports.default = CustomSkillHeader;
93
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_buttonLink","_buttonLinkIcon","_bulletPointMenuButton","_tag","_style","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","commonButtonStyles","fontWeight","borderRadius","createButtonLinkProps","buttonProps","type","icon","position","faIcon","name","faIconName","color","size","customStyle","isCustomSkillMenu","CustomSkillHeader","props","onQuitClick","title","tag","saveStatus","bulletPointMenuButton","saveButton","publishButton","archiveButton","saveButtonProps","publishButtonProps","archiveButtonProps","undefined","closeButtonProps","onClick","bulletPointMenuButtonProps","buttonAriaLabel","menuAriaLabel","createElement","className","style","headerWrapper","titleAndButtonWrapper","button","titleWrapper","statusWrapper","display","label","buttonsWrapper","Fragment","_default","exports"],"sources":["../../../src/organism/custom-skill-header/index.tsx"],"sourcesContent":["import React from 'react';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIcon from '../../atom/button-link-icon';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport Tag from '../../atom/tag';\nimport {ButtonLinkProps} from '../../atom/button-link/types';\nimport {ActionButtonProps, CustomSkillHeaderProps} from './types';\nimport style from './style.css';\n\nconst commonButtonStyles = {\n fontWeight: '600',\n borderRadius: '12px'\n};\n\nconst createButtonLinkProps = (\n buttonProps: ActionButtonProps,\n type: 'save' | 'publish' | 'archive'\n): ButtonLinkProps => ({\n ...buttonProps,\n 'data-name': `custom-skill-header-${type}-button`,\n 'aria-label': `aria ${type} button`,\n type: type === 'save' || type === 'archive' ? 'secondary' : 'primary',\n icon: {\n position: 'left',\n faIcon: {\n name: (() => {\n switch (type) {\n case 'save':\n return 'floppy-disk';\n case 'archive':\n return 'folder-open';\n default:\n return buttonProps?.faIconName ?? 'circle-check';\n }\n })(),\n color: type === 'save' || type === 'archive' ? '#1D1D2B' : '#FFFFFF',\n size: 14\n }\n },\n customStyle: commonButtonStyles,\n isCustomSkillMenu: true\n});\n\nconst CustomSkillHeader = (props: CustomSkillHeaderProps) => {\n const {\n onQuitClick,\n title,\n tag,\n saveStatus,\n bulletPointMenuButton,\n saveButton,\n publishButton,\n archiveButton\n } = props;\n\n const saveButtonProps = createButtonLinkProps(saveButton, 'save');\n const publishButtonProps = createButtonLinkProps(publishButton, 'publish');\n const archiveButtonProps = archiveButton\n ? createButtonLinkProps(archiveButton, 'archive')\n : undefined;\n\n const closeButtonProps = {\n size: 'default',\n icon: 'close',\n 'data-name': 'custom-skill-header-close-button',\n 'aria-label': 'close-button-aria-label',\n onClick: onQuitClick\n };\n\n const bulletPointMenuButtonProps = {\n ...bulletPointMenuButton,\n buttonAriaLabel: 'aria button bullet point menu',\n menuAriaLabel: 'aria button bullet point menu',\n isCustomSkillMenu: true\n };\n\n return (\n <div className={style.headerWrapper} data-name=\"header-wrapper\">\n <div className={style.titleAndButtonWrapper} data-name=\"title-and-button-wrapper\">\n <ButtonLinkIcon {...closeButtonProps} className={style.button} />\n <div className={style.titleWrapper}>\n <div className={style.statusWrapper}>\n <Tag {...tag} />\n {saveStatus.display ? <p className={style.saveStatus}>{saveStatus.label}</p> : null}\n </div>\n <h3 className={style.title} aria-label={title} data-name=\"header-title\">\n {title}\n </h3>\n </div>\n </div>\n <div className={style.buttonsWrapper} data-name=\"button-wrapper\">\n {archiveButton ? (\n <ButtonLink {...archiveButtonProps} />\n ) : (\n <>\n <BulletPointMenuButton {...bulletPointMenuButtonProps} />\n <ButtonLink {...saveButtonProps} />\n <ButtonLink {...publishButtonProps} />\n </>\n )}\n </div>\n </div>\n );\n};\n\nexport default CustomSkillHeader;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,eAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,sBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,IAAA,GAAAL,sBAAA,CAAAC,OAAA;AAGA,IAAAK,MAAA,GAAAN,sBAAA,CAAAC,OAAA;AAAgC,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA;AAEhC,MAAMO,kBAAkB,GAAG;EACzBC,UAAU,EAAE,KAAK;EACjBC,YAA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BACZ/C,MAAA,CAAAU,OAAA,CAAA+C,aAAA,CAACtD,WAAA,CAAAO,OAAU,EAAKwC,kBAAqB,CAAC,gBAEtClD,MAAA,CAAAU,OAAA,CAAA+C,aAAA,CAAAzD,MAAA,CAAAU,OAAA,CAAA0D,QAAA,qBACEpE,MAAA,CAAAU,OAAA,CAAA+C,aAAA,CAACpD,sBAAA,CAAAK,OAAqB,EAAK4C,0BAA6B,CAAC,eACzDtD,MAAA,CAAAU,OAAA,CAAA+C,aAAA,CAACtD,WAAA,CAAAO,OAAU,EAAKsC,eAAkB,CAAC,eACnChD,MAAA,CAAAU,OAAA,CAAA+C,aAAA,CAACtD,WAAA,CAAAO,OAAU,EAAKuC,kBAAqB,CACrC,CAED,CACF,CAAC;AAEV,CAAC;AAAC,IAAAoB,QAAA,GAAAC,OAAA,CAAA5D,OAAA,GAEa4B,iBAAiB","ignoreList":[]}
@@ -0,0 +1,54 @@
1
+ @value colors: '../../variables/colors.css';
2
+ @value cm_grey_500 from colors;
3
+ @value cm_grey_700 from colors;
4
+
5
+ .headerWrapper {
6
+ display: flex;
7
+ justify-content: space-between;
8
+ }
9
+
10
+ .titleAndButtonWrapper {
11
+ display: flex;
12
+ }
13
+
14
+ .button {
15
+ background-color: #f4f4f5;
16
+ }
17
+
18
+ .titleWrapper {
19
+ display: flex;
20
+ flex-direction: column;
21
+ align-items: flex-start;
22
+ justify-content: space-between;
23
+ margin-left: 15px;
24
+ }
25
+
26
+ .statusWrapper {
27
+ display: flex;
28
+ flex-direction: row;
29
+ align-items: center;
30
+ gap: 5px;
31
+ }
32
+
33
+ .saveStatus {
34
+ color: cm_grey_500;
35
+ font-family: "Gilroy";
36
+ font-size: 10px;
37
+ font-weight: 600;
38
+ line-height: 12px;
39
+ margin: 0;
40
+ }
41
+
42
+ .title {
43
+ color: cm_grey_700;
44
+ font-family: "Gilroy";
45
+ font-weight: 600;
46
+ font-size: 18px;
47
+ line-height: 24px;
48
+ margin-top: 5px;
49
+ }
50
+
51
+ .buttonsWrapper {
52
+ display: flex;
53
+ gap: 10px;
54
+ }
@@ -0,0 +1,28 @@
1
+ import { BulletPointMenuButtonProps } from '../../molecule/bullet-point-menu-button/types';
2
+ declare type TagProps = {
3
+ label: 'Published' | 'Ongoing changes' | 'Draft' | 'Archived';
4
+ type: 'success' | 'progress' | 'warning';
5
+ size: string;
6
+ };
7
+ export declare type ActionButtonProps = {
8
+ label: string;
9
+ onClick: () => void;
10
+ disabled?: boolean;
11
+ faIconName?: string;
12
+ };
13
+ declare type SaveStatusProps = {
14
+ label?: 'Unsaved changes' | 'Saved';
15
+ display: boolean;
16
+ };
17
+ export declare type CustomSkillHeaderProps = {
18
+ onQuitClick: () => void;
19
+ title: string;
20
+ tag: TagProps;
21
+ saveStatus: SaveStatusProps;
22
+ bulletPointMenuButton: BulletPointMenuButtonProps;
23
+ saveButton: ActionButtonProps;
24
+ publishButton: ActionButtonProps;
25
+ archiveButton?: ActionButtonProps;
26
+ };
27
+ export {};
28
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/custom-skill-header/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,0BAA0B,EAAC,MAAM,+CAA+C,CAAC;AAEzF,aAAK,QAAQ,GAAG;IACd,KAAK,EAAE,WAAW,GAAG,iBAAiB,GAAG,OAAO,GAAG,UAAU,CAAC;IAC9D,IAAI,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IACzC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,aAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC;IACpC,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,QAAQ,CAAC;IACd,UAAU,EAAE,eAAe,CAAC;IAC5B,qBAAqB,EAAE,0BAA0B,CAAC;IAClD,UAAU,EAAE,iBAAiB,CAAC;IAC9B,aAAa,EAAE,iBAAiB,CAAC;IACjC,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC,CAAC"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","names":[],"sources":["../../../src/organism/custom-skill-header/types.ts"],"sourcesContent":["import {BulletPointMenuButtonProps} from '../../molecule/bullet-point-menu-button/types';\n\ntype TagProps = {\n label: 'Published' | 'Ongoing changes' | 'Draft' | 'Archived';\n type: 'success' | 'progress' | 'warning';\n size: string;\n};\n\nexport type ActionButtonProps = {\n label: string;\n onClick: () => void;\n disabled?: boolean;\n faIconName?: string;\n};\n\ntype SaveStatusProps = {\n label?: 'Unsaved changes' | 'Saved';\n display: boolean;\n};\n\nexport type CustomSkillHeaderProps = {\n onQuitClick: () => void;\n title: string;\n tag: TagProps;\n saveStatus: SaveStatusProps;\n bulletPointMenuButton: BulletPointMenuButtonProps;\n saveButton: ActionButtonProps;\n publishButton: ActionButtonProps;\n archiveButton?: ActionButtonProps;\n};\n"],"mappings":"","ignoreList":[]}
@@ -35,6 +35,7 @@ declare namespace ListItems {
35
35
  disabled: PropTypes.Requireable<boolean>;
36
36
  className: PropTypes.Requireable<string>;
37
37
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
38
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
38
39
  }>>;
39
40
  selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
40
41
  title: PropTypes.Requireable<string>;
@@ -152,10 +153,26 @@ declare namespace ListItems {
152
153
  label: PropTypes.Validator<string>;
153
154
  onClick: PropTypes.Validator<(...args: any[]) => any>;
154
155
  type: PropTypes.Requireable<string>;
156
+ linkType: PropTypes.Requireable<string>;
157
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
158
+ position: PropTypes.Validator<string>;
159
+ type: PropTypes.Requireable<string>;
160
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
161
+ name: PropTypes.Validator<string>;
162
+ size: PropTypes.Requireable<number>;
163
+ color: PropTypes.Requireable<string>;
164
+ }>>;
165
+ }>>;
166
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
167
+ color: PropTypes.Requireable<string>;
168
+ hoverBackgroundColor: PropTypes.Requireable<string>;
169
+ }>>;
170
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
155
171
  }> | null | undefined)[]>;
156
172
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
157
173
  menuButtonClassName: PropTypes.Requireable<string>;
158
174
  isBulkMenu: PropTypes.Requireable<boolean>;
175
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
159
176
  }> | null | undefined>>;
160
177
  }> | null | undefined)[]>;
161
178
  stickyFirstColumn: PropTypes.Requireable<boolean>;
@@ -188,6 +205,7 @@ declare namespace ListItems {
188
205
  disabled: PropTypes.Requireable<boolean>;
189
206
  className: PropTypes.Requireable<string>;
190
207
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
208
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
191
209
  }> | PropTypes.InferProps<{
192
210
  componentType: PropTypes.Requireable<string>;
193
211
  disabled: PropTypes.Requireable<boolean>;
@@ -199,10 +217,26 @@ declare namespace ListItems {
199
217
  label: PropTypes.Validator<string>;
200
218
  onClick: PropTypes.Validator<(...args: any[]) => any>;
201
219
  type: PropTypes.Requireable<string>;
220
+ linkType: PropTypes.Requireable<string>;
221
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
222
+ position: PropTypes.Validator<string>;
223
+ type: PropTypes.Requireable<string>;
224
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
225
+ name: PropTypes.Validator<string>;
226
+ size: PropTypes.Requireable<number>;
227
+ color: PropTypes.Requireable<string>;
228
+ }>>;
229
+ }>>;
230
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
231
+ color: PropTypes.Requireable<string>;
232
+ hoverBackgroundColor: PropTypes.Requireable<string>;
233
+ }>>;
234
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
202
235
  }> | null | undefined)[]>;
203
236
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
204
237
  menuButtonClassName: PropTypes.Requireable<string>;
205
238
  isBulkMenu: PropTypes.Requireable<boolean>;
239
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
206
240
  }> | null | undefined>>;
207
241
  isNestedTable: PropTypes.Requireable<boolean>;
208
242
  emptyStateFirstMessage: PropTypes.Requireable<string>;
@@ -28,6 +28,7 @@ declare namespace SetupHeader {
28
28
  disabled: PropTypes.Requireable<boolean>;
29
29
  className: PropTypes.Requireable<string>;
30
30
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
31
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
31
32
  }>>;
32
33
  logOut: PropTypes.Requireable<PropTypes.InferProps<{
33
34
  type: PropTypes.Requireable<string>;
@@ -54,6 +55,7 @@ declare namespace SetupHeader {
54
55
  disabled: PropTypes.Requireable<boolean>;
55
56
  className: PropTypes.Requireable<string>;
56
57
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
58
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
57
59
  }>>;
58
60
  globalAnalytics: PropTypes.Requireable<PropTypes.InferProps<{
59
61
  type: PropTypes.Requireable<string>;
@@ -80,6 +82,7 @@ declare namespace SetupHeader {
80
82
  disabled: PropTypes.Requireable<boolean>;
81
83
  className: PropTypes.Requireable<string>;
82
84
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
85
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
83
86
  }>>;
84
87
  platformList: PropTypes.Requireable<PropTypes.InferProps<{
85
88
  type: PropTypes.Requireable<string>;
@@ -106,6 +109,7 @@ declare namespace SetupHeader {
106
109
  disabled: PropTypes.Requireable<boolean>;
107
110
  className: PropTypes.Requireable<string>;
108
111
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
112
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
109
113
  }>>;
110
114
  }>>;
111
115
  const platformName: PropTypes.Requireable<string>;
@@ -44,6 +44,7 @@ declare namespace WizardContents {
44
44
  disabled: PropTypes.Requireable<boolean>;
45
45
  className: PropTypes.Requireable<string>;
46
46
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
47
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
47
48
  }>>;
48
49
  secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
49
50
  type: PropTypes.Requireable<string>;
@@ -70,6 +71,7 @@ declare namespace WizardContents {
70
71
  disabled: PropTypes.Requireable<boolean>;
71
72
  className: PropTypes.Requireable<string>;
72
73
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
74
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
73
75
  }>>;
74
76
  }>>;
75
77
  const steps: PropTypes.Requireable<(PropTypes.InferProps<{
@@ -435,10 +437,26 @@ declare namespace WizardContents {
435
437
  label: PropTypes.Validator<string>;
436
438
  onClick: PropTypes.Validator<(...args: any[]) => any>;
437
439
  type: PropTypes.Requireable<string>;
440
+ linkType: PropTypes.Requireable<string>;
441
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
442
+ position: PropTypes.Validator<string>;
443
+ type: PropTypes.Requireable<string>;
444
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
445
+ name: PropTypes.Validator<string>;
446
+ size: PropTypes.Requireable<number>;
447
+ color: PropTypes.Requireable<string>;
448
+ }>>;
449
+ }>>;
450
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
451
+ color: PropTypes.Requireable<string>;
452
+ hoverBackgroundColor: PropTypes.Requireable<string>;
453
+ }>>;
454
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
438
455
  }> | null | undefined)[]>;
439
456
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
440
457
  menuButtonClassName: PropTypes.Requireable<string>;
441
458
  isBulkMenu: PropTypes.Requireable<boolean>;
459
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
442
460
  }> | null | undefined>>;
443
461
  }> | null | undefined)[]>;
444
462
  stickyFirstColumn: PropTypes.Requireable<boolean>;
@@ -471,6 +489,7 @@ declare namespace WizardContents {
471
489
  disabled: PropTypes.Requireable<boolean>;
472
490
  className: PropTypes.Requireable<string>;
473
491
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
492
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
474
493
  }> | PropTypes.InferProps<{
475
494
  componentType: PropTypes.Requireable<string>;
476
495
  disabled: PropTypes.Requireable<boolean>;
@@ -482,10 +501,26 @@ declare namespace WizardContents {
482
501
  label: PropTypes.Validator<string>;
483
502
  onClick: PropTypes.Validator<(...args: any[]) => any>;
484
503
  type: PropTypes.Requireable<string>;
504
+ linkType: PropTypes.Requireable<string>;
505
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
506
+ position: PropTypes.Validator<string>;
507
+ type: PropTypes.Requireable<string>;
508
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
509
+ name: PropTypes.Validator<string>;
510
+ size: PropTypes.Requireable<number>;
511
+ color: PropTypes.Requireable<string>;
512
+ }>>;
513
+ }>>;
514
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
515
+ color: PropTypes.Requireable<string>;
516
+ hoverBackgroundColor: PropTypes.Requireable<string>;
517
+ }>>;
518
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
485
519
  }> | null | undefined)[]>;
486
520
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
487
521
  menuButtonClassName: PropTypes.Requireable<string>;
488
522
  isBulkMenu: PropTypes.Requireable<boolean>;
523
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
489
524
  }> | null | undefined>>;
490
525
  isNestedTable: PropTypes.Requireable<boolean>;
491
526
  emptyStateFirstMessage: PropTypes.Requireable<string>;
@@ -116,6 +116,7 @@ declare namespace PlayerLoading {
116
116
  disabled: PropTypes.Requireable<boolean>;
117
117
  className: PropTypes.Requireable<string>;
118
118
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
119
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
119
120
  }>>;
120
121
  selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
121
122
  title: PropTypes.Requireable<string>;
@@ -233,10 +234,26 @@ declare namespace PlayerLoading {
233
234
  label: PropTypes.Validator<string>;
234
235
  onClick: PropTypes.Validator<(...args: any[]) => any>;
235
236
  type: PropTypes.Requireable<string>;
237
+ linkType: PropTypes.Requireable<string>;
238
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
239
+ position: PropTypes.Validator<string>;
240
+ type: PropTypes.Requireable<string>;
241
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
242
+ name: PropTypes.Validator<string>;
243
+ size: PropTypes.Requireable<number>;
244
+ color: PropTypes.Requireable<string>;
245
+ }>>;
246
+ }>>;
247
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
248
+ color: PropTypes.Requireable<string>;
249
+ hoverBackgroundColor: PropTypes.Requireable<string>;
250
+ }>>;
251
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
236
252
  }> | null | undefined)[]>;
237
253
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
238
254
  menuButtonClassName: PropTypes.Requireable<string>;
239
255
  isBulkMenu: PropTypes.Requireable<boolean>;
256
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
240
257
  }> | null | undefined>>;
241
258
  }> | null | undefined)[]>;
242
259
  stickyFirstColumn: PropTypes.Requireable<boolean>;
@@ -269,6 +286,7 @@ declare namespace PlayerLoading {
269
286
  disabled: PropTypes.Requireable<boolean>;
270
287
  className: PropTypes.Requireable<string>;
271
288
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
289
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
272
290
  }> | PropTypes.InferProps<{
273
291
  componentType: PropTypes.Requireable<string>;
274
292
  disabled: PropTypes.Requireable<boolean>;
@@ -280,10 +298,26 @@ declare namespace PlayerLoading {
280
298
  label: PropTypes.Validator<string>;
281
299
  onClick: PropTypes.Validator<(...args: any[]) => any>;
282
300
  type: PropTypes.Requireable<string>;
301
+ linkType: PropTypes.Requireable<string>;
302
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
303
+ position: PropTypes.Validator<string>;
304
+ type: PropTypes.Requireable<string>;
305
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
306
+ name: PropTypes.Validator<string>;
307
+ size: PropTypes.Requireable<number>;
308
+ color: PropTypes.Requireable<string>;
309
+ }>>;
310
+ }>>;
311
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
312
+ color: PropTypes.Requireable<string>;
313
+ hoverBackgroundColor: PropTypes.Requireable<string>;
314
+ }>>;
315
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
283
316
  }> | null | undefined)[]>;
284
317
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
285
318
  menuButtonClassName: PropTypes.Requireable<string>;
286
319
  isBulkMenu: PropTypes.Requireable<boolean>;
320
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
287
321
  }> | null | undefined>>;
288
322
  isNestedTable: PropTypes.Requireable<boolean>;
289
323
  emptyStateFirstMessage: PropTypes.Requireable<string>;