@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
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","useCallback","useState","useEffect","classnames","ButtonLinkIcon","ButtonMenu","propTypes","style","BulletPointMenuButton","props","disabled","buttonAriaLabel","menuAriaLabel","onClick","_noop","buttons","menuButtonClassName","isBulkMenu","visible","setVisible","handleOnClick","handleMouseDown","document","addEventListener","removeEventListener","menuProps","menu","createElement","className","bulletPointMenu","bulkBulletPointMenu","bulletPointButtonProps","size","icon","bulletPointWrapper","process","env","NODE_ENV"],"sources":["../../../src/molecule/bullet-point-menu-button/index.tsx"],"sourcesContent":["import React, {useCallback, useState, useEffect} from 'react';\nimport classnames from 'classnames';\nimport {noop} from 'lodash/fp';\nimport ButtonLinkIcon from '../../atom/button-link-icon';\nimport ButtonMenu from '../../atom/button-menu';\nimport propTypes, {BulletPointMenuButtonProps} from './types';\nimport style from './style.css';\n\nconst BulletPointMenuButton = (props: BulletPointMenuButtonProps) => {\n const {\n disabled = false,\n buttonAriaLabel,\n menuAriaLabel,\n onClick = noop,\n buttons,\n menuButtonClassName,\n isBulkMenu\n } = props;\n const [visible, setVisible] = useState(false);\n\n const handleOnClick = useCallback(() => {\n onClick();\n setVisible(true);\n }, [onClick]);\n\n useEffect(() => {\n const handleMouseDown = () => setVisible(false);\n document.addEventListener('mousedown', handleMouseDown);\n return () => {\n document.removeEventListener('mousedown', handleMouseDown);\n };\n }, []);\n\n const menuProps = {\n 'data-name': 'button-menu',\n buttons\n };\n\n const menu = (\n <div\n className={classnames(\n style.bulletPointMenu,\n isBulkMenu && style.bulkBulletPointMenu,\n visible && style.visible\n )}\n data-name=\"menu-wrapper\"\n aria-label={menuAriaLabel}\n >\n <ButtonMenu {...menuProps} />\n </div>\n );\n const bulletPointButtonProps = {\n size: 'default',\n 'aria-label': buttonAriaLabel,\n 'data-name': 'bullet-point-button',\n icon: 'bullet-point',\n onClick: handleOnClick,\n disabled,\n className: menuButtonClassName\n };\n\n return (\n <div className={style.bulletPointWrapper} data-name=\"bullet-point-wrapper\">\n <ButtonLinkIcon {...bulletPointButtonProps} />\n {menu}\n </div>\n );\n};\n\nBulletPointMenuButton.propTypes = propTypes;\n\nexport default BulletPointMenuButton;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,QAAQ,EAAEC,SAAS,QAAO,OAAO;AAC7D,OAAOC,UAAU,MAAM,YAAY;AAEnC,OAAOC,cAAc,MAAM,6BAA6B;AACxD,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,SAAS,MAAoC,SAAS;AAC7D,OAAOC,KAAK,MAAM,aAAa;AAE/B,MAAMC,qBAAqB,GAAIC,KAAiC,IAAK;EACnE,MAAM;IACJC,QAAQ,GAAG,KAAK;IAChBC,eAAe;IACfC,aAAa;IACbC,OAAO,GAAAC,KAAO;IACdC,OAAO;IACPC,mBAAmB;IACnBC;EACF,CAAC,GAAGR,KAAK;EACT,MAAM,CAACS,OAAO,EAAEC,UAAU,CAAC,GAAGlB,QAAQ,CAAC,KAAK,CAAC;EAE7C,MAAMmB,aAAa,GAAGpB,WAAW,CAAC,MAAM;IACtCa,OAAO,CAAC,CAAC;IACTM,UAAU,CAAC,IAAI,CAAC;EAClB,CAAC,EAAE,CAACN,OAAO,CAAC,CAAC;EAEbX,SAAS,CAAC,MAAM;IACd,MAAMmB,eAAe,GAAGA,CAAA,KAAMF,UAAU,CAAC,KAAK,CAAC;IAC/CG,QAAQ,CAACC,gBAAgB,CAAC,WAAW,EAAEF,eAAe,CAAC;IACvD,OAAO,MAAM;MACXC,QAAQ,CAACE,mBAAmB,CAAC,WAAW,EAAEH,eAAe,CAAC;IAC5D,CAAC;EACH,CAAC,EAAE,EAAE,CAAC;EAEN,MAAMI,SAAS,GAAG;IAChB,WAAW,EAAE,aAAa;IAC1BV;EACF,CAAC;EAED,MAAMW,IAAI,gBACR3B,KAAA,CAAA4B,aAAA;IACEC,SAAS,EAAEzB,UAAU,CACnBI,KAAK,CAACsB,eAAe,EACrBZ,UAAU,IAAIV,KAAK,CAACuB,mBAAmB,EACvCZ,OAAO,IAAIX,KAAK,CAACW,OACnB,CAAE;IACF,aAAU,cAAc;IACxB,cAAYN;EAAc,gBAE1Bb,KAAA,CAAA4B,aAAA,CAACtB,UAAU,EAAKoB,SAAY,CACzB,CACN;EACD,MAAMM,sBAAsB,GAAG;IAC7BC,IAAI,EAAE,SAAS;IACf,YAAY,EAAErB,eAAe;IAC7B,WAAW,EAAE,qBAAqB;IAClCsB,IAAI,EAAE,cAAc;IACpBpB,OAAO,EAAEO,aAAa;IACtBV,QAAQ;IACRkB,SAAS,EAAEZ;EACb,CAAC;EAED,oBACEjB,KAAA,CAAA4B,aAAA;IAAKC,SAAS,EAAErB,KAAK,CAAC2B,kBAAmB;IAAC,aAAU;EAAsB,gBACxEnC,KAAA,CAAA4B,aAAA,CAACvB,cAAc,EAAK2B,sBAAyB,CAAC,EAC7CL,IACE,CAAC;AAEV,CAAC;AAEDlB,qBAAqB,CAACF,SAAS,GAAA6B,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG/B,SAAS;AAE3C,eAAeE,qBAAqB","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["React","useCallback","useState","useEffect","classnames","ButtonLinkIcon","ButtonMenu","propTypes","style","BulletPointMenuButton","props","disabled","buttonAriaLabel","menuAriaLabel","onClick","_noop","buttons","menuButtonClassName","isBulkMenu","isCustomSkillMenu","visible","setVisible","handleOnClick","handleMouseDown","document","addEventListener","removeEventListener","menuProps","menu","createElement","className","bulletPointMenu","bulkBulletPointMenu","customSkillBulletPointMenu","bulletPointButtonProps","size","icon","bulletPointWrapper","process","env","NODE_ENV"],"sources":["../../../src/molecule/bullet-point-menu-button/index.tsx"],"sourcesContent":["import React, {useCallback, useState, useEffect} from 'react';\nimport classnames from 'classnames';\nimport {noop} from 'lodash/fp';\nimport ButtonLinkIcon from '../../atom/button-link-icon';\nimport ButtonMenu from '../../atom/button-menu';\nimport propTypes, {BulletPointMenuButtonProps} from './types';\nimport style from './style.css';\n\nconst BulletPointMenuButton = (props: BulletPointMenuButtonProps) => {\n const {\n disabled = false,\n buttonAriaLabel,\n menuAriaLabel,\n onClick = noop,\n buttons,\n menuButtonClassName,\n isBulkMenu,\n isCustomSkillMenu\n } = props;\n const [visible, setVisible] = useState(false);\n\n const handleOnClick = useCallback(() => {\n onClick();\n setVisible(true);\n }, [onClick]);\n\n useEffect(() => {\n const handleMouseDown = () => setVisible(false);\n document.addEventListener('mousedown', handleMouseDown);\n return () => {\n document.removeEventListener('mousedown', handleMouseDown);\n };\n }, []);\n\n const menuProps = {\n 'data-name': 'button-menu',\n buttons,\n isCustomSkillMenu\n };\n\n const menu = (\n <div\n className={classnames(\n style.bulletPointMenu,\n isBulkMenu && style.bulkBulletPointMenu,\n visible && style.visible,\n isCustomSkillMenu && style.customSkillBulletPointMenu\n )}\n data-name=\"menu-wrapper\"\n aria-label={menuAriaLabel}\n >\n <ButtonMenu {...menuProps} />\n </div>\n );\n const bulletPointButtonProps = {\n size: 'default',\n 'aria-label': buttonAriaLabel,\n 'data-name': 'bullet-point-button',\n icon: 'bullet-point',\n onClick: handleOnClick,\n disabled,\n className: menuButtonClassName\n };\n\n return (\n <div className={style.bulletPointWrapper} data-name=\"bullet-point-wrapper\">\n <ButtonLinkIcon {...bulletPointButtonProps} />\n {menu}\n </div>\n );\n};\n\nBulletPointMenuButton.propTypes = propTypes;\n\nexport default BulletPointMenuButton;\n"],"mappings":";AAAA,OAA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AE;IACF,aAAU,cAAc;IACxB,cAAYpB;EAAc,gBAE1Bb,KAAA,CAAA6B,aAAA,CAACvB,UAAU,EAAKqB,SAAY,CACzB,CACN;EACD,MAAMO,sBAAsB,GAAG;IAC7BC,IAAI,EAAE,SAAS;IACf,YAAY,EAAEvB,eAAe;IAC7B,WAAW,EAAE,qBAAqB;IAClCwB,IAAI,EAAE,cAAc;IACpBtB,OAAO,EAAEQ,aAAa;IACtBX,QAAQ;IACRmB,SAAS,EAAEb;EACb,CAAC;EAED,oBACEjB,KAAA,CAAA6B,aAAA;IAAKC,SAAS,EAAEtB,KAAK,CAAC6B,kBAAmB;IAAC,aAAU;EAAsB,gBACxErC,KAAA,CAAA6B,aAAA,CAACxB,cAAc,EAAK6B,sBAAyB,CAAC,EAC7CN,IACE,CAAC;AAEV,CAAC;AAEDnB,qBAAqB,CAACF,SAAS,GAAA+B,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGjC,SAAS;AAE3C,eAAeE,qBAAqB","ignoreList":[]}
@@ -13,7 +13,7 @@
13
13
  .bulletPointWrapper > button {
14
14
  position: relative;
15
15
  cursor: pointer;
16
- }
16
+ }
17
17
 
18
18
  .bulletPointMenu {
19
19
  min-width: 80px;
@@ -23,28 +23,30 @@
23
23
  bottom: 54px;
24
24
  right: 0px;
25
25
  /* elevation shadow */
26
- box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
26
+ box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
27
+ rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
28
+ rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
27
29
  z-index: 1;
28
30
  /* round corners */
29
31
  border-radius: 7px;
30
32
  overflow: hidden;
31
33
  background-color: cm_grey_100;
32
34
  visibility: hidden;
33
- opacity:0;
34
- transition:visibility 0.5s ease,opacity 0.5s ease;
35
+ opacity: 0;
36
+ transition: visibility 0.5s ease, opacity 0.5s ease;
35
37
  }
36
38
 
37
39
  .visible {
38
40
  /* fade in combo */
39
41
  max-height: max-content;
40
42
  visibility: visible;
41
- opacity:1;
43
+ opacity: 1;
42
44
  }
43
45
 
44
46
  /*
45
47
  bulk theme
46
48
  */
47
- .bulkBulletPointMenu{
49
+ .bulkBulletPointMenu {
48
50
  min-width: 80px;
49
51
  /* positioning */
50
52
  position: absolute;
@@ -52,7 +54,9 @@
52
54
  bottom: 54px;
53
55
  right: 0px;
54
56
  /* elevation shadow */
55
- box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
57
+ box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
58
+ rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
59
+ rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
56
60
  z-index: 1;
57
61
  /* round corners */
58
62
  border-radius: 7px;
@@ -60,3 +64,18 @@
60
64
  background-color: cm_grey_100;
61
65
  width: 142px;
62
66
  }
67
+
68
+ .customSkillBulletPointMenu {
69
+ position: absolute;
70
+ top: 48px;
71
+ bottom: auto;
72
+ display: flex;
73
+ flex-direction: column;
74
+ align-items: flex-start;
75
+ padding: 12px;
76
+ width: 201px;
77
+ overflow-y: scroll;
78
+ background: #ffffff;
79
+ box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.07);
80
+ border-radius: 12px;
81
+ }
@@ -10,10 +10,26 @@ declare const propTypes: {
10
10
  label: PropTypes.Validator<string>;
11
11
  onClick: PropTypes.Validator<(...args: any[]) => any>;
12
12
  type: PropTypes.Requireable<string>;
13
+ linkType: PropTypes.Requireable<string>;
14
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
15
+ position: PropTypes.Validator<string>;
16
+ type: PropTypes.Requireable<string>;
17
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
18
+ name: PropTypes.Validator<string>;
19
+ size: PropTypes.Requireable<number>;
20
+ color: PropTypes.Requireable<string>;
21
+ }>>;
22
+ }>>;
23
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
24
+ color: PropTypes.Requireable<string>;
25
+ hoverBackgroundColor: PropTypes.Requireable<string>;
26
+ }>>;
27
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
13
28
  }> | null | undefined)[]>;
14
29
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
15
30
  menuButtonClassName: PropTypes.Requireable<string>;
16
31
  isBulkMenu: PropTypes.Requireable<boolean>;
32
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
17
33
  };
18
34
  export default propTypes;
19
35
  export declare type BulletPointMenuButtonProps = {
@@ -24,6 +40,7 @@ export declare type BulletPointMenuButtonProps = {
24
40
  onClick: () => void;
25
41
  menuButtonClassName?: string;
26
42
  isBulkMenu?: boolean;
43
+ isCustomSkillMenu?: boolean;
27
44
  };
28
45
  export declare type BulletPointMenuButtonPropsFixture = {
29
46
  props: BulletPointMenuButtonProps;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAEzD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;CAQd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,0BAA0B,GAAG;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,iCAAiC,GAAG;IAAC,KAAK,EAAE,0BAA0B,CAAA;CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAEzD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,0BAA0B,GAAG;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,oBAAY,iCAAiC,GAAG;IAAC,KAAK,EAAE,0BAA0B,CAAA;CAAC,CAAC"}
@@ -7,7 +7,8 @@ const propTypes = {
7
7
  buttons: ButtonMenu.propTypes.buttons,
8
8
  onClick: PropTypes.func,
9
9
  menuButtonClassName: PropTypes.string,
10
- isBulkMenu: PropTypes.bool
10
+ isBulkMenu: PropTypes.bool,
11
+ isCustomSkillMenu: PropTypes.bool
11
12
  };
12
13
  export default propTypes;
13
14
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["PropTypes","ButtonMenu","propTypes","disabled","bool","buttonAriaLabel","string","menuAriaLabel","buttons","onClick","func","menuButtonClassName","isBulkMenu"],"sources":["../../../src/molecule/bullet-point-menu-button/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ButtonMenu from '../../atom/button-menu';\nimport {ButtonProps} from '../../atom/button-menu/types';\n\nconst propTypes = {\n disabled: PropTypes.bool,\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: ButtonMenu.propTypes.buttons,\n onClick: PropTypes.func,\n menuButtonClassName: PropTypes.string,\n isBulkMenu: PropTypes.bool\n};\n\nexport default propTypes;\n\nexport type BulletPointMenuButtonProps = {\n disabled?: boolean;\n buttonAriaLabel?: string;\n menuAriaLabel?: string;\n buttons: ButtonProps[];\n onClick: () => void;\n menuButtonClassName?: string;\n isBulkMenu?: boolean;\n};\n\nexport type BulletPointMenuButtonPropsFixture = {props: BulletPointMenuButtonProps};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,UAAU,MAAM,wBAAwB;AAG/C,MAAMC,SAAS,GAAG;EAChBC,QAAQ,EAAEH,SAAS,CAACI,IAAI;EACxBC,eAAe,EAAEL,SAAS,CAACM,MAAM;EACjCC,aAAa,EAAEP,SAAS,CAACM,MAAM;EAC/BE,OAAO,EAAEP,UAAU,CAACC,SAAS,CAACM,OAAO;EACrCC,OAAO,EAAET,SAAS,CAACU,IAAI;EACvBC,mBAAmB,EAAEX,SAAS,CAACM,MAAM;EACrCM,UAAU,EAAEZ,SAAS,CAACI;AACxB,CAAC;AAED,eAAeF,SAAS","ignoreList":[]}
1
+ {"version":3,"file":"types.js","names":["PropTypes","ButtonMenu","propTypes","disabled","bool","buttonAriaLabel","string","menuAriaLabel","buttons","onClick","func","menuButtonClassName","isBulkMenu","isCustomSkillMenu"],"sources":["../../../src/molecule/bullet-point-menu-button/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ButtonMenu from '../../atom/button-menu';\nimport {ButtonProps} from '../../atom/button-menu/types';\n\nconst propTypes = {\n disabled: PropTypes.bool,\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: ButtonMenu.propTypes.buttons,\n onClick: PropTypes.func,\n menuButtonClassName: PropTypes.string,\n isBulkMenu: PropTypes.bool,\n isCustomSkillMenu: PropTypes.bool\n};\n\nexport default propTypes;\n\nexport type BulletPointMenuButtonProps = {\n disabled?: boolean;\n buttonAriaLabel?: string;\n menuAriaLabel?: string;\n buttons: ButtonProps[];\n onClick: () => void;\n menuButtonClassName?: string;\n isBulkMenu?: boolean;\n isCustomSkillMenu?: boolean;\n};\n\nexport type BulletPointMenuButtonPropsFixture = {props: BulletPointMenuButtonProps};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,UAAU,MAAM,wBAAwB;AAG/C,MAAMC,SAAS,GAAG;EAChBC,QAAQ,EAAEH,SAAS,CAACI,IAAI;EACxBC,eAAe,EAAEL,SAAS,CAACM,MAAM;EACjCC,aAAa,EAAEP,SAAS,CAACM,MAAM;EAC/BE,OAAO,EAAEP,UAAU,CAACC,SAAS,CAACM,OAAO;EACrCC,OAAO,EAAET,SAAS,CAACU,IAAI;EACvBC,mBAAmB,EAAEX,SAAS,CAACM,MAAM;EACrCM,UAAU,EAAEZ,SAAS,CAACI,IAAI;EAC1BS,iBAAiB,EAAEb,SAAS,CAACI;AAC/B,CAAC;AAED,eAAeF,SAAS","ignoreList":[]}
@@ -115,6 +115,7 @@ declare const propTypes: {
115
115
  disabled: PropTypes.Requireable<boolean>;
116
116
  className: PropTypes.Requireable<string>;
117
117
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
118
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
118
119
  }>>;
119
120
  selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
120
121
  title: PropTypes.Requireable<string>;
@@ -232,10 +233,26 @@ declare const propTypes: {
232
233
  label: PropTypes.Validator<string>;
233
234
  onClick: PropTypes.Validator<(...args: any[]) => any>;
234
235
  type: PropTypes.Requireable<string>;
236
+ linkType: PropTypes.Requireable<string>;
237
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
238
+ position: PropTypes.Validator<string>;
239
+ type: PropTypes.Requireable<string>;
240
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
241
+ name: PropTypes.Validator<string>;
242
+ size: PropTypes.Requireable<number>;
243
+ color: PropTypes.Requireable<string>;
244
+ }>>;
245
+ }>>;
246
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
247
+ color: PropTypes.Requireable<string>;
248
+ hoverBackgroundColor: PropTypes.Requireable<string>;
249
+ }>>;
250
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
235
251
  }> | null | undefined)[]>;
236
252
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
237
253
  menuButtonClassName: PropTypes.Requireable<string>;
238
254
  isBulkMenu: PropTypes.Requireable<boolean>;
255
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
239
256
  }> | null | undefined>>;
240
257
  }> | null | undefined)[]>;
241
258
  stickyFirstColumn: PropTypes.Requireable<boolean>;
@@ -268,6 +285,7 @@ declare const propTypes: {
268
285
  disabled: PropTypes.Requireable<boolean>;
269
286
  className: PropTypes.Requireable<string>;
270
287
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
288
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
271
289
  }> | PropTypes.InferProps<{
272
290
  componentType: PropTypes.Requireable<string>;
273
291
  disabled: PropTypes.Requireable<boolean>;
@@ -279,10 +297,26 @@ declare const propTypes: {
279
297
  label: PropTypes.Validator<string>;
280
298
  onClick: PropTypes.Validator<(...args: any[]) => any>;
281
299
  type: PropTypes.Requireable<string>;
300
+ linkType: PropTypes.Requireable<string>;
301
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
302
+ position: PropTypes.Validator<string>;
303
+ type: PropTypes.Requireable<string>;
304
+ faIcon: PropTypes.Requireable<PropTypes.InferProps<{
305
+ name: PropTypes.Validator<string>;
306
+ size: PropTypes.Requireable<number>;
307
+ color: PropTypes.Requireable<string>;
308
+ }>>;
309
+ }>>;
310
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{
311
+ color: PropTypes.Requireable<string>;
312
+ hoverBackgroundColor: PropTypes.Requireable<string>;
313
+ }>>;
314
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
282
315
  }> | null | undefined)[]>;
283
316
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
284
317
  menuButtonClassName: PropTypes.Requireable<string>;
285
318
  isBulkMenu: PropTypes.Requireable<boolean>;
319
+ isCustomSkillMenu: PropTypes.Requireable<boolean>;
286
320
  }> | null | undefined>>;
287
321
  isNestedTable: PropTypes.Requireable<boolean>;
288
322
  emptyStateFirstMessage: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAGlD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDd,CAAC;AAEF,aAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,UAAU,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,oBAAY,eAAe,GAAG;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E,SAAS,GAAG,MAAM,CAAC;QACzB,IAAI,EACA,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,GAChD,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;KACtD,CAAC;IACF,IAAI,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;CACpD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -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 @@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,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,88 @@
1
+ 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); }
2
+ import React from 'react';
3
+ import ButtonLink from '../../atom/button-link';
4
+ import ButtonLinkIcon from '../../atom/button-link-icon';
5
+ import BulletPointMenuButton from '../../molecule/bullet-point-menu-button';
6
+ import Tag from '../../atom/tag';
7
+ import style from './style.css';
8
+ const commonButtonStyles = {
9
+ fontWeight: '600',
10
+ borderRadius: '12px'
11
+ };
12
+ const createButtonLinkProps = (buttonProps, type) => ({
13
+ ...buttonProps,
14
+ 'data-name': `custom-skill-header-${type}-button`,
15
+ 'aria-label': `aria ${type} button`,
16
+ type: type === 'save' || type === 'archive' ? 'secondary' : 'primary',
17
+ icon: {
18
+ position: 'left',
19
+ faIcon: {
20
+ name: (() => {
21
+ switch (type) {
22
+ case 'save':
23
+ return 'floppy-disk';
24
+ case 'archive':
25
+ return 'folder-open';
26
+ default:
27
+ return buttonProps?.faIconName ?? 'circle-check';
28
+ }
29
+ })(),
30
+ color: type === 'save' || type === 'archive' ? '#1D1D2B' : '#FFFFFF',
31
+ size: 14
32
+ }
33
+ },
34
+ customStyle: commonButtonStyles,
35
+ isCustomSkillMenu: true
36
+ });
37
+ const CustomSkillHeader = props => {
38
+ const {
39
+ onQuitClick,
40
+ title,
41
+ tag,
42
+ saveStatus,
43
+ bulletPointMenuButton,
44
+ saveButton,
45
+ publishButton,
46
+ archiveButton
47
+ } = props;
48
+ const saveButtonProps = createButtonLinkProps(saveButton, 'save');
49
+ const publishButtonProps = createButtonLinkProps(publishButton, 'publish');
50
+ const archiveButtonProps = archiveButton ? createButtonLinkProps(archiveButton, 'archive') : undefined;
51
+ const closeButtonProps = {
52
+ size: 'default',
53
+ icon: 'close',
54
+ 'data-name': 'custom-skill-header-close-button',
55
+ 'aria-label': 'close-button-aria-label',
56
+ onClick: onQuitClick
57
+ };
58
+ const bulletPointMenuButtonProps = {
59
+ ...bulletPointMenuButton,
60
+ buttonAriaLabel: 'aria button bullet point menu',
61
+ menuAriaLabel: 'aria button bullet point menu',
62
+ isCustomSkillMenu: true
63
+ };
64
+ return /*#__PURE__*/React.createElement("div", {
65
+ className: style.headerWrapper,
66
+ "data-name": "header-wrapper"
67
+ }, /*#__PURE__*/React.createElement("div", {
68
+ className: style.titleAndButtonWrapper,
69
+ "data-name": "title-and-button-wrapper"
70
+ }, /*#__PURE__*/React.createElement(ButtonLinkIcon, _extends({}, closeButtonProps, {
71
+ className: style.button
72
+ })), /*#__PURE__*/React.createElement("div", {
73
+ className: style.titleWrapper
74
+ }, /*#__PURE__*/React.createElement("div", {
75
+ className: style.statusWrapper
76
+ }, /*#__PURE__*/React.createElement(Tag, tag), saveStatus.display ? /*#__PURE__*/React.createElement("p", {
77
+ className: style.saveStatus
78
+ }, saveStatus.label) : null), /*#__PURE__*/React.createElement("h3", {
79
+ className: style.title,
80
+ "aria-label": title,
81
+ "data-name": "header-title"
82
+ }, title))), /*#__PURE__*/React.createElement("div", {
83
+ className: style.buttonsWrapper,
84
+ "data-name": "button-wrapper"
85
+ }, archiveButton ? /*#__PURE__*/React.createElement(ButtonLink, archiveButtonProps) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(BulletPointMenuButton, bulletPointMenuButtonProps), /*#__PURE__*/React.createElement(ButtonLink, saveButtonProps), /*#__PURE__*/React.createElement(ButtonLink, publishButtonProps))));
86
+ };
87
+ export default CustomSkillHeader;
88
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["React","ButtonLink","ButtonLinkIcon","BulletPointMenuButton","Tag","style","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","headerWrapper","titleAndButtonWrapper","_extends","button","titleWrapper","statusWrapper","display","label","buttonsWrapper","Fragment"],"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,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU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,CAAAwC,aAAA;IAAKC,SAAS,EAAEpC,KAAK,CAAC6C,cAAe;IAAC,aAAU;EAAgB,GAC7DpB,aAAa,gBACZ9B,KAAA,CAAAwC,aAAA,CAACvC,UAAU,EAAKgC,kBAAqB,CAAC,gBAEtCjC,KAAA,CAAAwC,aAAA,CAAAxC,KAAA,CAAAmD,QAAA,qBACEnD,KAAA,CAAAwC,aAAA,CAACrC,qBAAqB,EAAKkC,0BAA6B,CAAC,eACzDrC,KAAA,CAAAwC,aAAA,CAACvC,UAAU,EAAK8B,eAAkB,CAAC,eACnC/B,KAAA,CAAAwC,aAAA,CAACvC,UAAU,EAAK+B,kBAAqB,CACrC,CAED,CACF,CAAC;AAEV,CAAC;AAED,eAAeX,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,2 @@
1
+ export {};
2
+ //# 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":[]}