@sellmate/design-system 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/dist/cjs/design-system.cjs.js +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/sd-button.sd-guide.sd-icon.sd-portal.entry.cjs.js.map +1 -0
  4. package/dist/cjs/sd-button_4.cjs.entry.js +851 -0
  5. package/dist/cjs/sd-date-box.sd-input.entry.cjs.js.map +1 -0
  6. package/dist/cjs/sd-date-box_2.cjs.entry.js +171 -0
  7. package/dist/cjs/sd-date-picker.cjs.entry.js +102 -0
  8. package/dist/cjs/sd-date-picker.entry.cjs.js.map +1 -0
  9. package/dist/cjs/sd-pagination.sd-tooltip.entry.cjs.js.map +1 -0
  10. package/dist/cjs/{sd-pagination.cjs.entry.js → sd-pagination_2.cjs.entry.js} +46 -3
  11. package/dist/cjs/sd-popover.cjs.entry.js +2 -2
  12. package/dist/cjs/sd-select-option.cjs.entry.js +1 -1
  13. package/dist/cjs/sd-tooltip-portal.cjs.entry.js +158 -0
  14. package/dist/cjs/sd-tooltip-portal.entry.cjs.js.map +1 -0
  15. package/dist/collection/collection-manifest.json +1 -0
  16. package/dist/collection/components/assets/event/Event16.js +3 -0
  17. package/dist/collection/components/assets/event/Event16.js.map +1 -0
  18. package/dist/collection/components/assets/event/index.js +5 -0
  19. package/dist/collection/components/assets/event/index.js.map +1 -0
  20. package/dist/collection/components/assets/index.js +8 -0
  21. package/dist/collection/components/assets/index.js.map +1 -1
  22. package/dist/collection/components/assets/notion/Notion16.js +3 -0
  23. package/dist/collection/components/assets/notion/Notion16.js.map +1 -0
  24. package/dist/collection/components/assets/notion/index.js +5 -0
  25. package/dist/collection/components/assets/notion/index.js.map +1 -0
  26. package/dist/collection/components/assets/pdf/Pdf10.js +3 -0
  27. package/dist/collection/components/assets/pdf/Pdf10.js.map +1 -0
  28. package/dist/collection/components/assets/pdf/Pdf12.js +3 -0
  29. package/dist/collection/components/assets/pdf/Pdf12.js.map +1 -0
  30. package/dist/collection/components/assets/pdf/Pdf16.js +3 -0
  31. package/dist/collection/components/assets/pdf/Pdf16.js.map +1 -0
  32. package/dist/collection/components/assets/pdf/Pdf20.js +3 -0
  33. package/dist/collection/components/assets/pdf/Pdf20.js.map +1 -0
  34. package/dist/collection/components/assets/pdf/Pdf24.js +3 -0
  35. package/dist/collection/components/assets/pdf/Pdf24.js.map +1 -0
  36. package/dist/collection/components/assets/pdf/Pdf8.js +3 -0
  37. package/dist/collection/components/assets/pdf/Pdf8.js.map +1 -0
  38. package/dist/collection/components/assets/pdf/index.js +15 -0
  39. package/dist/collection/components/assets/pdf/index.js.map +1 -0
  40. package/dist/collection/components/assets/youtube/Youtube20.js +3 -0
  41. package/dist/collection/components/assets/youtube/Youtube20.js.map +1 -0
  42. package/dist/collection/components/assets/youtube/index.js +5 -0
  43. package/dist/collection/components/assets/youtube/index.js.map +1 -0
  44. package/dist/collection/components/sd-button/sd-button.js +94 -3
  45. package/dist/collection/components/sd-button/sd-button.js.map +1 -1
  46. package/dist/collection/components/sd-guide/sd-guide.css +1426 -0
  47. package/dist/collection/components/sd-guide/sd-guide.js +218 -0
  48. package/dist/collection/components/sd-guide/sd-guide.js.map +1 -0
  49. package/dist/collection/components/sd-icon/sd-icon.js +30 -2
  50. package/dist/collection/components/sd-icon/sd-icon.js.map +1 -1
  51. package/dist/collection/components/sd-input/sd-input.js +2 -2
  52. package/dist/collection/components/sd-pagination/sd-pagination.js +2 -2
  53. package/dist/collection/components/sd-popover/sd-popover.js +3 -3
  54. package/dist/collection/components/sd-portal/sd-portal.js +1 -1
  55. package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
  56. package/dist/collection/components/sd-tooltip/sd-tooltip.js +3 -3
  57. package/dist/collection/components/sd-tooltip-portal/sd-tooltip-portal.js +1 -1
  58. package/dist/collection/utils/color/index.js +3 -0
  59. package/dist/collection/utils/color/index.js.map +1 -0
  60. package/dist/collection/utils/color/isColorKey.js +7 -0
  61. package/dist/collection/utils/color/isColorKey.js.map +1 -0
  62. package/dist/collection/utils/color/resolveColor.js +11 -0
  63. package/dist/collection/utils/color/resolveColor.js.map +1 -0
  64. package/dist/components/{p-Cx7oaMbq.js → p-B9i2YE0t.js} +5 -5
  65. package/dist/components/{p-Cx7oaMbq.js.map → p-B9i2YE0t.js.map} +1 -1
  66. package/dist/components/{p-D3ZaZJHL.js → p-BCYA4Zc8.js} +3 -3
  67. package/dist/components/{p-D3ZaZJHL.js.map → p-BCYA4Zc8.js.map} +1 -1
  68. package/dist/components/{p-yHQvySMI.js → p-BYJLcD4q.js} +5 -5
  69. package/dist/components/{p-yHQvySMI.js.map → p-BYJLcD4q.js.map} +1 -1
  70. package/dist/components/{p-EMZSMfB9.js → p-BYycGbL4.js} +7 -7
  71. package/dist/components/{p-EMZSMfB9.js.map → p-BYycGbL4.js.map} +1 -1
  72. package/dist/components/{p-di9AIYs1.js → p-C8U-8ibc.js} +15 -5
  73. package/dist/components/p-C8U-8ibc.js.map +1 -0
  74. package/dist/components/{p-CKRSlqok.js → p-CUaQiV_x.js} +338 -5
  75. package/dist/components/p-CUaQiV_x.js.map +1 -0
  76. package/dist/components/{p-B6y5BSDe.js → p-CyxZzPBJ.js} +3 -3
  77. package/dist/components/{p-B6y5BSDe.js.map → p-CyxZzPBJ.js.map} +1 -1
  78. package/dist/components/{p-DitUl90s.js → p-_NsXHYCA.js} +5 -5
  79. package/dist/components/{p-DitUl90s.js.map → p-_NsXHYCA.js.map} +1 -1
  80. package/dist/components/{p-bl2GJqlS.js → p-ru6C2WME.js} +3 -3
  81. package/dist/components/{p-bl2GJqlS.js.map → p-ru6C2WME.js.map} +1 -1
  82. package/dist/components/sd-button.js +1 -1
  83. package/dist/components/sd-checkbox.js +1 -1
  84. package/dist/components/sd-date-picker.js +3 -3
  85. package/dist/components/sd-date-range-picker.js +3 -3
  86. package/dist/components/sd-guide.d.ts +11 -0
  87. package/dist/components/sd-guide.js +152 -0
  88. package/dist/components/sd-guide.js.map +1 -0
  89. package/dist/components/sd-icon.js +1 -1
  90. package/dist/components/sd-input.js +1 -1
  91. package/dist/components/sd-pagination.js +1 -1
  92. package/dist/components/sd-popover.js +5 -5
  93. package/dist/components/sd-portal.js +1 -1
  94. package/dist/components/sd-select-option.js +1 -1
  95. package/dist/components/sd-select.js +5 -5
  96. package/dist/components/sd-table.js +6 -6
  97. package/dist/components/sd-tooltip-portal.js +1 -1
  98. package/dist/components/sd-tooltip.js +1 -1
  99. package/dist/design-system/design-system.esm.js +1 -1
  100. package/dist/design-system/p-0be303fc.entry.js +2 -0
  101. package/dist/design-system/p-0be303fc.entry.js.map +1 -0
  102. package/dist/design-system/{p-f7c0ffa4.entry.js → p-3ec8c5aa.entry.js} +2 -2
  103. package/dist/design-system/p-47a18185.entry.js +2 -0
  104. package/dist/design-system/p-47a18185.entry.js.map +1 -0
  105. package/dist/design-system/{p-1fbb0ced.entry.js → p-9e1abc28.entry.js} +2 -2
  106. package/dist/design-system/p-9edcce39.entry.js +2 -0
  107. package/dist/design-system/p-9edcce39.entry.js.map +1 -0
  108. package/dist/design-system/p-ae72caf9.entry.js +2 -0
  109. package/dist/design-system/p-ae72caf9.entry.js.map +1 -0
  110. package/dist/design-system/p-af40a2ec.entry.js +2 -0
  111. package/dist/design-system/p-af40a2ec.entry.js.map +1 -0
  112. package/dist/design-system/sd-button.sd-guide.sd-icon.sd-portal.entry.esm.js.map +1 -0
  113. package/dist/design-system/sd-date-box.sd-input.entry.esm.js.map +1 -0
  114. package/dist/design-system/sd-date-picker.entry.esm.js.map +1 -0
  115. package/dist/design-system/sd-pagination.sd-tooltip.entry.esm.js.map +1 -0
  116. package/dist/design-system/sd-tooltip-portal.entry.esm.js.map +1 -0
  117. package/dist/esm/design-system.js +1 -1
  118. package/dist/esm/loader.js +1 -1
  119. package/dist/esm/sd-button.sd-guide.sd-icon.sd-portal.entry.js.map +1 -0
  120. package/dist/esm/sd-button_4.entry.js +846 -0
  121. package/dist/esm/sd-date-box.sd-input.entry.js.map +1 -0
  122. package/dist/esm/sd-date-box_2.entry.js +168 -0
  123. package/dist/esm/sd-date-picker.entry.js +100 -0
  124. package/dist/esm/sd-date-picker.entry.js.map +1 -0
  125. package/dist/esm/sd-pagination.sd-tooltip.entry.js.map +1 -0
  126. package/dist/esm/{sd-pagination.entry.js → sd-pagination_2.entry.js} +47 -5
  127. package/dist/esm/sd-popover.entry.js +2 -2
  128. package/dist/esm/sd-select-option.entry.js +1 -1
  129. package/dist/esm/sd-tooltip-portal.entry.js +156 -0
  130. package/dist/esm/sd-tooltip-portal.entry.js.map +1 -0
  131. package/dist/types/components/assets/event/Event16.d.ts +1 -0
  132. package/dist/types/components/assets/event/index.d.ts +3 -0
  133. package/dist/types/components/assets/index.d.ts +17 -0
  134. package/dist/types/components/assets/notion/Notion16.d.ts +1 -0
  135. package/dist/types/components/assets/notion/index.d.ts +3 -0
  136. package/dist/types/components/assets/pdf/Pdf10.d.ts +1 -0
  137. package/dist/types/components/assets/pdf/Pdf12.d.ts +1 -0
  138. package/dist/types/components/assets/pdf/Pdf16.d.ts +1 -0
  139. package/dist/types/components/assets/pdf/Pdf20.d.ts +1 -0
  140. package/dist/types/components/assets/pdf/Pdf24.d.ts +1 -0
  141. package/dist/types/components/assets/pdf/Pdf8.d.ts +1 -0
  142. package/dist/types/components/assets/pdf/index.d.ts +8 -0
  143. package/dist/types/components/assets/youtube/Youtube20.d.ts +1 -0
  144. package/dist/types/components/assets/youtube/index.d.ts +3 -0
  145. package/dist/types/components/sd-button/sd-button.d.ts +4 -0
  146. package/dist/types/components/sd-guide/sd-guide.d.ts +25 -0
  147. package/dist/types/components/sd-icon/sd-icon.d.ts +2 -0
  148. package/dist/types/components.d.ts +75 -0
  149. package/dist/types/utils/color/index.d.ts +2 -0
  150. package/dist/types/utils/color/isColorKey.d.ts +4 -0
  151. package/dist/types/utils/color/resolveColor.d.ts +1 -0
  152. package/package.json +2 -2
  153. package/dist/cjs/sd-button.sd-date-box.sd-date-picker.sd-icon.sd-input.sd-portal.sd-tooltip.sd-tooltip-portal.entry.cjs.js.map +0 -1
  154. package/dist/cjs/sd-button_8.cjs.entry.js +0 -869
  155. package/dist/cjs/sd-pagination.entry.cjs.js.map +0 -1
  156. package/dist/components/p-CKRSlqok.js.map +0 -1
  157. package/dist/components/p-di9AIYs1.js.map +0 -1
  158. package/dist/design-system/p-3b4616d1.entry.js +0 -2
  159. package/dist/design-system/p-3b4616d1.entry.js.map +0 -1
  160. package/dist/design-system/p-8c7c28cf.entry.js +0 -2
  161. package/dist/design-system/p-8c7c28cf.entry.js.map +0 -1
  162. package/dist/design-system/sd-button.sd-date-box.sd-date-picker.sd-icon.sd-input.sd-portal.sd-tooltip.sd-tooltip-portal.entry.esm.js.map +0 -1
  163. package/dist/design-system/sd-pagination.entry.esm.js.map +0 -1
  164. package/dist/esm/sd-button.sd-date-box.sd-date-picker.sd-icon.sd-input.sd-portal.sd-tooltip.sd-tooltip-portal.entry.js.map +0 -1
  165. package/dist/esm/sd-button_8.entry.js +0 -860
  166. package/dist/esm/sd-pagination.entry.js.map +0 -1
  167. /package/dist/design-system/{p-f7c0ffa4.entry.js.map → p-3ec8c5aa.entry.js.map} +0 -0
  168. /package/dist/design-system/{p-1fbb0ced.entry.js.map → p-9e1abc28.entry.js.map} +0 -0
@@ -0,0 +1,3 @@
1
+ import { h } from "@stencil/core";
2
+ export const Pdf8 = (props) => (h("svg", { width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "clip-path": "url(#clip0_8773_8690)" }, h("path", { d: "M4.72003 0.633484C4.88715 0.6336 5.04777 0.699268 5.16632 0.817078L6.513 2.15594C6.63259 2.2748 6.69949 2.43656 6.69952 2.60516V6.73309C6.69951 7.08282 6.41643 7.36681 6.06671 7.36688H1.93292C1.58331 7.3667 1.30012 7.08275 1.30011 6.73309V1.2663C1.30029 0.916781 1.58341 0.633671 1.93292 0.633484H4.72003ZM1.93292 1.23309C1.91478 1.23328 1.89989 1.24815 1.89972 1.2663V6.73309C1.89973 6.75138 1.91468 6.76611 1.93292 6.7663H6.06671C6.08505 6.76623 6.0999 6.75145 6.09991 6.73309V2.7995H4.91632C4.70487 2.79932 4.53368 2.62814 4.53351 2.41669V1.23309H1.93292ZM3.72687 2.29169C3.80217 2.27477 3.89048 2.28906 3.95831 2.35516C3.97808 2.37452 3.99309 2.39905 4.00128 2.42548C4.1403 2.87836 4.10982 3.35911 3.99152 3.81219C4.03329 3.86752 4.0801 3.92499 4.13214 3.98309C4.25104 4.11578 4.36332 4.22596 4.4671 4.31805C4.70147 4.26869 4.90173 4.25276 5.07159 4.26337C5.47778 4.28872 5.73263 4.46477 5.82062 4.67841C5.84302 4.73311 5.83494 4.79644 5.79913 4.84344C5.67242 5.00845 5.42115 5.12166 5.0882 5.05048C4.88208 5.00632 4.64593 4.89264 4.38019 4.68134C4.12014 4.75009 3.80755 4.8639 3.43683 5.04364C3.23555 5.3546 3.01816 5.61217 2.82843 5.76923C2.72981 5.85081 2.62151 5.92101 2.51691 5.94403C2.46208 5.95605 2.39262 5.95813 2.3255 5.92548C2.25506 5.89111 2.21309 5.83058 2.19171 5.76825C2.13819 5.61102 2.1771 5.46413 2.25519 5.34637C2.33 5.23376 2.44372 5.13997 2.56085 5.06415C2.76665 4.93106 3.02111 4.82953 3.2171 4.76825C3.3824 4.49747 3.52736 4.1894 3.62628 3.86981C3.35735 3.45693 3.29825 3.08772 3.34991 2.80438C3.38186 2.62971 3.45717 2.486 3.55109 2.39423C3.59731 2.34914 3.65714 2.30751 3.72687 2.29169ZM2.74249 5.34344C2.64308 5.40776 2.57139 5.47251 2.53253 5.53094C2.5181 5.55277 2.50905 5.57271 2.50421 5.59052C2.53297 5.5739 2.57071 5.54946 2.61554 5.51239C2.68353 5.4561 2.75776 5.37905 2.83722 5.28876C2.8048 5.30671 2.77238 5.32413 2.74249 5.34344ZM4.84796 4.5993C4.96775 4.66764 5.07157 4.70669 5.15851 4.72528C5.27954 4.7511 5.36769 4.73627 5.42999 4.71161C5.36123 4.66053 5.24424 4.60847 5.05109 4.59637C4.99033 4.59258 4.92257 4.59403 4.84796 4.5993ZM3.87042 4.18817C3.8224 4.31583 3.76805 4.43963 3.71027 4.55829C3.84324 4.50414 3.96851 4.45674 4.08722 4.41864C4.02118 4.35322 3.95324 4.28195 3.88409 4.20477C3.87938 4.19948 3.87508 4.19344 3.87042 4.18817ZM3.72687 2.71259C3.70718 2.75148 3.68935 2.80232 3.67804 2.86395C3.6553 2.98866 3.66315 3.15984 3.74054 3.36688C3.76861 3.14565 3.7664 2.92498 3.72687 2.71259ZM5.13312 2.19989H5.70636L5.13312 1.62958V2.19989Z", fill: "currentColor", ...props })), h("defs", null, h("clipPath", { id: "clip0_8773_8690" }, h("rect", { width: "8", height: "8", fill: "white" })))));
3
+ //# sourceMappingURL=Pdf8.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pdf8.js","sourceRoot":"","sources":["../../../../src/components/assets/pdf/Pdf8.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,KAAe,EAAE,EAAE,CAAC,CACxC,WAAK,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B;IACzF,sBAAa,uBAAuB;QACnC,YACC,CAAC,EAAC,47EAA47E,EAC97E,IAAI,EAAC,cAAc,KACf,KAAK,GACR,CACC;IACJ;QACC,gBAAU,EAAE,EAAC,iBAAiB;YAC7B,YAAM,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,IAAI,EAAC,OAAO,GAAG,CAChC,CACL,CACF,CACN,CAAC","sourcesContent":["import { h } from '@stencil/core';\r\n\r\nexport const Pdf8 = (props: SVGProps) => (\r\n <svg width=\"8\" height=\"8\" viewBox=\"0 0 8 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <g clip-path=\"url(#clip0_8773_8690)\">\r\n <path\r\n d=\"M4.72003 0.633484C4.88715 0.6336 5.04777 0.699268 5.16632 0.817078L6.513 2.15594C6.63259 2.2748 6.69949 2.43656 6.69952 2.60516V6.73309C6.69951 7.08282 6.41643 7.36681 6.06671 7.36688H1.93292C1.58331 7.3667 1.30012 7.08275 1.30011 6.73309V1.2663C1.30029 0.916781 1.58341 0.633671 1.93292 0.633484H4.72003ZM1.93292 1.23309C1.91478 1.23328 1.89989 1.24815 1.89972 1.2663V6.73309C1.89973 6.75138 1.91468 6.76611 1.93292 6.7663H6.06671C6.08505 6.76623 6.0999 6.75145 6.09991 6.73309V2.7995H4.91632C4.70487 2.79932 4.53368 2.62814 4.53351 2.41669V1.23309H1.93292ZM3.72687 2.29169C3.80217 2.27477 3.89048 2.28906 3.95831 2.35516C3.97808 2.37452 3.99309 2.39905 4.00128 2.42548C4.1403 2.87836 4.10982 3.35911 3.99152 3.81219C4.03329 3.86752 4.0801 3.92499 4.13214 3.98309C4.25104 4.11578 4.36332 4.22596 4.4671 4.31805C4.70147 4.26869 4.90173 4.25276 5.07159 4.26337C5.47778 4.28872 5.73263 4.46477 5.82062 4.67841C5.84302 4.73311 5.83494 4.79644 5.79913 4.84344C5.67242 5.00845 5.42115 5.12166 5.0882 5.05048C4.88208 5.00632 4.64593 4.89264 4.38019 4.68134C4.12014 4.75009 3.80755 4.8639 3.43683 5.04364C3.23555 5.3546 3.01816 5.61217 2.82843 5.76923C2.72981 5.85081 2.62151 5.92101 2.51691 5.94403C2.46208 5.95605 2.39262 5.95813 2.3255 5.92548C2.25506 5.89111 2.21309 5.83058 2.19171 5.76825C2.13819 5.61102 2.1771 5.46413 2.25519 5.34637C2.33 5.23376 2.44372 5.13997 2.56085 5.06415C2.76665 4.93106 3.02111 4.82953 3.2171 4.76825C3.3824 4.49747 3.52736 4.1894 3.62628 3.86981C3.35735 3.45693 3.29825 3.08772 3.34991 2.80438C3.38186 2.62971 3.45717 2.486 3.55109 2.39423C3.59731 2.34914 3.65714 2.30751 3.72687 2.29169ZM2.74249 5.34344C2.64308 5.40776 2.57139 5.47251 2.53253 5.53094C2.5181 5.55277 2.50905 5.57271 2.50421 5.59052C2.53297 5.5739 2.57071 5.54946 2.61554 5.51239C2.68353 5.4561 2.75776 5.37905 2.83722 5.28876C2.8048 5.30671 2.77238 5.32413 2.74249 5.34344ZM4.84796 4.5993C4.96775 4.66764 5.07157 4.70669 5.15851 4.72528C5.27954 4.7511 5.36769 4.73627 5.42999 4.71161C5.36123 4.66053 5.24424 4.60847 5.05109 4.59637C4.99033 4.59258 4.92257 4.59403 4.84796 4.5993ZM3.87042 4.18817C3.8224 4.31583 3.76805 4.43963 3.71027 4.55829C3.84324 4.50414 3.96851 4.45674 4.08722 4.41864C4.02118 4.35322 3.95324 4.28195 3.88409 4.20477C3.87938 4.19948 3.87508 4.19344 3.87042 4.18817ZM3.72687 2.71259C3.70718 2.75148 3.68935 2.80232 3.67804 2.86395C3.6553 2.98866 3.66315 3.15984 3.74054 3.36688C3.76861 3.14565 3.7664 2.92498 3.72687 2.71259ZM5.13312 2.19989H5.70636L5.13312 1.62958V2.19989Z\"\r\n fill=\"currentColor\"\r\n {...props}\r\n />\r\n </g>\r\n <defs>\r\n <clipPath id=\"clip0_8773_8690\">\r\n <rect width=\"8\" height=\"8\" fill=\"white\" />\r\n </clipPath>\r\n </defs>\r\n </svg>\r\n);\r\n"]}
@@ -0,0 +1,15 @@
1
+ import { Pdf10 } from "./Pdf10";
2
+ import { Pdf12 } from "./Pdf12";
3
+ import { Pdf16 } from "./Pdf16";
4
+ import { Pdf20 } from "./Pdf20";
5
+ import { Pdf24 } from "./Pdf24";
6
+ import { Pdf8 } from "./Pdf8";
7
+ export const pdf = {
8
+ 8: Pdf8,
9
+ 10: Pdf10,
10
+ 12: Pdf12,
11
+ 16: Pdf16,
12
+ 20: Pdf20,
13
+ 24: Pdf24,
14
+ };
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/assets/pdf/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,GAAG,GAAG;IAClB,CAAC,EAAE,IAAI;IACP,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;CACT,CAAC","sourcesContent":["import { Pdf10 } from './Pdf10';\r\nimport { Pdf12 } from './Pdf12';\r\nimport { Pdf16 } from './Pdf16';\r\nimport { Pdf20 } from './Pdf20';\r\nimport { Pdf24 } from './Pdf24';\r\nimport { Pdf8 } from './Pdf8';\r\n\r\nexport const pdf = {\r\n 8: Pdf8,\r\n 10: Pdf10,\r\n 12: Pdf12,\r\n 16: Pdf16,\r\n 20: Pdf20,\r\n 24: Pdf24,\r\n};\r\n"]}
@@ -0,0 +1,3 @@
1
+ import { h } from "@stencil/core";
2
+ export const Youtube20 = (props) => (h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "clip-path": "url(#clip0_13895_22389)" }, h("path", { d: "M16.668 5C17.5884 5 18.335 5.74652 18.335 6.66699V13.333C18.335 14.2535 17.5884 15 16.668 15H3.33496C2.41449 15 1.66797 14.2535 1.66797 13.333V6.66699C1.66797 5.74652 2.41449 5 3.33496 5H16.668ZM9.0752 7.71582C8.93675 7.62356 8.75098 7.72327 8.75098 7.88965V12.1104C8.75098 12.2767 8.93675 12.3764 9.0752 12.2842L12.2412 10.1738C12.3649 10.0914 12.3649 9.90864 12.2412 9.82617L9.0752 7.71582Z", fill: "currentColor", ...props })), h("defs", null, h("clipPath", { id: "clip0_13895_22389" }, h("rect", { width: "20", height: "20", fill: "white" })))));
3
+ //# sourceMappingURL=Youtube20.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Youtube20.js","sourceRoot":"","sources":["../../../../src/components/assets/youtube/Youtube20.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAe,EAAE,EAAE,CAAC,CAC7C,WAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B;IAC7F,sBAAa,yBAAyB;QACrC,YACC,CAAC,EAAC,0YAA0Y,EAC5Y,IAAI,EAAC,cAAc,KACf,KAAK,GACR,CACC;IACJ;QACC,gBAAU,EAAE,EAAC,mBAAmB;YAC/B,YAAM,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,EAAC,OAAO,GAAG,CAClC,CACL,CACF,CACN,CAAC","sourcesContent":["import { h } from '@stencil/core';\r\n\r\nexport const Youtube20 = (props: SVGProps) => (\r\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <g clip-path=\"url(#clip0_13895_22389)\">\r\n <path\r\n d=\"M16.668 5C17.5884 5 18.335 5.74652 18.335 6.66699V13.333C18.335 14.2535 17.5884 15 16.668 15H3.33496C2.41449 15 1.66797 14.2535 1.66797 13.333V6.66699C1.66797 5.74652 2.41449 5 3.33496 5H16.668ZM9.0752 7.71582C8.93675 7.62356 8.75098 7.72327 8.75098 7.88965V12.1104C8.75098 12.2767 8.93675 12.3764 9.0752 12.2842L12.2412 10.1738C12.3649 10.0914 12.3649 9.90864 12.2412 9.82617L9.0752 7.71582Z\"\r\n fill=\"currentColor\"\r\n {...props}\r\n />\r\n </g>\r\n <defs>\r\n <clipPath id=\"clip0_13895_22389\">\r\n <rect width=\"20\" height=\"20\" fill=\"white\" />\r\n </clipPath>\r\n </defs>\r\n </svg>\r\n);\r\n"]}
@@ -0,0 +1,5 @@
1
+ import { Youtube20 } from "./Youtube20";
2
+ export const youtube = {
3
+ 20: Youtube20,
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/assets/youtube/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,CAAC,MAAM,OAAO,GAAG;IACtB,EAAE,EAAE,SAAS;CACb,CAAC","sourcesContent":["import { Youtube20 } from './Youtube20';\r\n\r\nexport const youtube = {\r\n 20: Youtube20,\r\n};\r\n"]}
@@ -1,4 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
+ import { resolveColor } from "../../utils/color";
2
3
  const ICON_SIZES = {
3
4
  xs: 12,
4
5
  sm: 16,
@@ -14,8 +15,12 @@ export class SdButton {
14
15
  disabled = false;
15
16
  type = 'button';
16
17
  icon;
18
+ iconColor;
19
+ iconSize;
17
20
  iconRight;
18
21
  noHover = false;
22
+ buttonStyle = {};
23
+ iconStyle = {};
19
24
  sdClick;
20
25
  handleClick = (event) => {
21
26
  if (this.disabled) {
@@ -43,7 +48,9 @@ export class SdButton {
43
48
  }
44
49
  render() {
45
50
  const buttonClasses = this.getButtonClasses();
46
- return (h("button", { key: 'd7040f0c9e953bacdea4d011448e79343d884fa9', class: buttonClasses, type: this.type, disabled: this.disabled, onClick: this.handleClick, style: { '--button-color': this.color } }, h("div", { key: '990687bf13041720c4248917519b32ce84cc8cf8', class: "sd-button__content" }, this.icon && (h("sd-icon", { key: '5b60a3218a80f20ff4dc4a0ef552e2004831c8bf', class: "sd-button__icon sd-button__icon--left", name: this.icon, size: ICON_SIZES[this.size], color: this.variant === 'primary' ? '#fff' : this.color })), this.label && h("div", { key: '990ba3e5d2a32618e20712f4c81b126e6bc95fa9', class: "sd-button__label" }, this.label), this.iconRight && (h("sd-icon", { key: '4c4cce5e5438e268fecbd40be9604f0ff122753c', class: "sd-button__icon sd-button__icon--right", name: this.iconRight, size: ICON_SIZES[this.size], color: this.variant === 'primary' ? '#fff' : this.color })))));
51
+ // 유틸로 색상 -> HEX 매핑 (없으면 원본 그대로)
52
+ const resolvedColor = resolveColor(this.color);
53
+ return (h("button", { key: '141a9b5faad4e3201cd213ac8d083d1619da8f3a', class: buttonClasses, type: this.type, disabled: this.disabled, onClick: this.handleClick, style: { '--button-color': resolvedColor, ...this.buttonStyle } }, h("div", { key: '5d00b000552539b9396ff472d693726fd9527e7f', class: "sd-button__content" }, this.icon && (h("sd-icon", { key: 'a3b1b9b5e2db53cff6f004fdd4d85c9e06ff9af4', class: "sd-button__icon sd-button__icon--left", name: this.icon, size: this.iconSize ? this.iconSize : ICON_SIZES[this.size], color: this.iconColor ? this.iconColor : this.variant === 'primary' ? '#fff' : resolvedColor })), this.label && h("div", { key: 'f40e01da25a5a7f8f6e6b0de805f0af8269c5413', class: "sd-button__label" }, this.label), this.iconRight && (h("sd-icon", { key: '3fb38d666bbd6619a59266dafb1706c1e79dbc25', class: "sd-button__icon sd-button__icon--right", name: this.iconRight, size: ICON_SIZES[this.size], color: this.variant === 'primary' ? '#fff' : resolvedColor })))));
47
54
  }
48
55
  static get is() { return "sd-button"; }
49
56
  static get encapsulation() { return "shadow"; }
@@ -196,7 +203,7 @@ export class SdButton {
196
203
  "mutable": false,
197
204
  "complexType": {
198
205
  "original": "IconName",
199
- "resolved": "\"arrowDown\" | \"arrowLeft\" | \"arrowLeftEnd\" | \"arrowRight\" | \"arrowRightEnd\" | \"arrowUp\" | \"check\" | \"close\" | \"date\" | \"helpOutline\" | \"pageMove\" | \"search\" | undefined",
206
+ "resolved": "\"arrowDown\" | \"arrowLeft\" | \"arrowLeftEnd\" | \"arrowRight\" | \"arrowRightEnd\" | \"arrowUp\" | \"check\" | \"close\" | \"date\" | \"event\" | \"helpOutline\" | \"notion\" | \"pageMove\" | \"pdf\" | \"search\" | \"youtube\" | undefined",
200
207
  "references": {
201
208
  "IconName": {
202
209
  "location": "global",
@@ -215,12 +222,50 @@ export class SdButton {
215
222
  "reflect": false,
216
223
  "attribute": "icon"
217
224
  },
225
+ "iconColor": {
226
+ "type": "string",
227
+ "mutable": false,
228
+ "complexType": {
229
+ "original": "string",
230
+ "resolved": "string | undefined",
231
+ "references": {}
232
+ },
233
+ "required": false,
234
+ "optional": true,
235
+ "docs": {
236
+ "tags": [],
237
+ "text": ""
238
+ },
239
+ "getter": false,
240
+ "setter": false,
241
+ "reflect": false,
242
+ "attribute": "icon-color"
243
+ },
244
+ "iconSize": {
245
+ "type": "number",
246
+ "mutable": false,
247
+ "complexType": {
248
+ "original": "number",
249
+ "resolved": "number | undefined",
250
+ "references": {}
251
+ },
252
+ "required": false,
253
+ "optional": true,
254
+ "docs": {
255
+ "tags": [],
256
+ "text": ""
257
+ },
258
+ "getter": false,
259
+ "setter": false,
260
+ "reflect": false,
261
+ "attribute": "icon-size"
262
+ },
218
263
  "iconRight": {
219
264
  "type": "string",
220
265
  "mutable": false,
221
266
  "complexType": {
222
267
  "original": "IconName",
223
- "resolved": "\"arrowDown\" | \"arrowLeft\" | \"arrowLeftEnd\" | \"arrowRight\" | \"arrowRightEnd\" | \"arrowUp\" | \"check\" | \"close\" | \"date\" | \"helpOutline\" | \"pageMove\" | \"search\" | undefined",
268
+ "resolved": "\"arrowDown\" | \"arrowLeft\" | \"arrowLeftEnd\" | \"arrowRight\" | \"arrowRightEnd\" | \"arrowUp\" | \"check\" | \"close\" | \"date\" | \"event\" | \"helpOutline\" | \"notion\" | \"pageMove\" | \"pdf\" | \"search\" | \"youtube\" | undefined",
224
269
  "references": {
225
270
  "IconName": {
226
271
  "location": "global",
@@ -258,6 +303,52 @@ export class SdButton {
258
303
  "reflect": false,
259
304
  "attribute": "no-hover",
260
305
  "defaultValue": "false"
306
+ },
307
+ "buttonStyle": {
308
+ "type": "unknown",
309
+ "mutable": false,
310
+ "complexType": {
311
+ "original": "StyleProps",
312
+ "resolved": "{ [key: string]: any; }",
313
+ "references": {
314
+ "StyleProps": {
315
+ "location": "global",
316
+ "id": "global::StyleProps"
317
+ }
318
+ }
319
+ },
320
+ "required": false,
321
+ "optional": false,
322
+ "docs": {
323
+ "tags": [],
324
+ "text": ""
325
+ },
326
+ "getter": false,
327
+ "setter": false,
328
+ "defaultValue": "{}"
329
+ },
330
+ "iconStyle": {
331
+ "type": "unknown",
332
+ "mutable": false,
333
+ "complexType": {
334
+ "original": "StyleProps",
335
+ "resolved": "{ [key: string]: any; }",
336
+ "references": {
337
+ "StyleProps": {
338
+ "location": "global",
339
+ "id": "global::StyleProps"
340
+ }
341
+ }
342
+ },
343
+ "required": false,
344
+ "optional": false,
345
+ "docs": {
346
+ "tags": [],
347
+ "text": ""
348
+ },
349
+ "getter": false,
350
+ "setter": false,
351
+ "defaultValue": "{}"
261
352
  }
262
353
  };
263
354
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sd-button.js","sourceRoot":"","sources":["../../../src/components/sd-button/sd-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAKjF,MAAM,UAAU,GAAoC;IACnD,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;CACN,CAAC;AAOF,MAAM,OAAO,QAAQ;IACT,EAAE,CAAe;IAEpB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Prop, h, Element, Event, EventEmitter } from '@stencil/core';\r\n\r\nexport type ButtonVariant = 'primary' | 'outline' | 'ghost';\r\nexport type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';\r\n\r\nconst ICON_SIZES: { [key in ButtonSize]: number } = {\r\n xs: 12,\r\n sm: 16,\r\n md: 20,\r\n lg: 24,\r\n};\r\n\r\n@Component({\r\n tag: 'sd-button',\r\n styleUrl: 'sd-button.scss',\r\n shadow: true,\r\n})\r\nexport class SdButton {\r\n @Element() el!: HTMLElement;\r\n\r\n @Prop() variant?: ButtonVariant = 'primary';\r\n @Prop() size: ButtonSize = 'sm';\r\n @Prop() color: string = '#025497';\r\n @Prop() label: string = '';\r\n @Prop() disabled: boolean = false;\r\n @Prop() type: 'button' | 'submit' | 'reset' = 'button';\r\n @Prop() icon?: IconName;\r\n @Prop() iconRight?: IconName;\r\n @Prop() noHover: boolean = false;\r\n\r\n @Event() sdClick!: EventEmitter<MouseEvent>;\r\n\r\n private handleClick = (event: MouseEvent) => {\r\n if (this.disabled) {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n return;\r\n }\r\n this.sdClick.emit(event);\r\n };\r\n\r\n private getButtonClasses(): string {\r\n const classes = ['sd-button'];\r\n\r\n classes.push(`sd-button--${this.variant}`);\r\n classes.push(`sd-button--${this.size}`);\r\n classes.push(`sd-button--color-${this.color}`);\r\n\r\n if (this.disabled) {\r\n classes.push('sd-button--disabled');\r\n }\r\n\r\n if (!this.label && (this.icon || this.iconRight)) {\r\n classes.push('sd-button--icon-only');\r\n }\r\n\r\n if (this.noHover) {\r\n classes.push('sd-button--no-hover');\r\n }\r\n\r\n return classes.join(' ');\r\n }\r\n\r\n render() {\r\n const buttonClasses = this.getButtonClasses();\r\n\r\n return (\r\n <button\r\n class={buttonClasses}\r\n type={this.type}\r\n disabled={this.disabled}\r\n onClick={this.handleClick}\r\n style={{ '--button-color': this.color }}\r\n >\r\n <div class=\"sd-button__content\">\r\n {this.icon && (\r\n <sd-icon\r\n class=\"sd-button__icon sd-button__icon--left\"\r\n name={this.icon}\r\n size={ICON_SIZES[this.size!]}\r\n color={this.variant === 'primary' ? '#fff' : this.color}\r\n ></sd-icon>\r\n )}\r\n\r\n {this.label && <div class=\"sd-button__label\">{this.label}</div>}\r\n\r\n {this.iconRight && (\r\n <sd-icon\r\n class=\"sd-button__icon sd-button__icon--right\"\r\n name={this.iconRight}\r\n size={ICON_SIZES[this.size!]}\r\n color={this.variant === 'primary' ? '#fff' : this.color}\r\n ></sd-icon>\r\n )}\r\n </div>\r\n </button>\r\n );\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"sd-button.js","sourceRoot":"","sources":["../../../src/components/sd-button/sd-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKjD,MAAM,UAAU,GAAoC;IACnD,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;CACN,CAAC;AAOF,MAAM,OAAO,QAAQ;IACT,EAAE,CAAe;IAEpB,OAAO,GAAmB,SAAS,CAAC;IACpC,IAAI,GAAe,IAAI,CAAC;IACxB,KAAK,GAAW,SAAS,CAAC;IAC1B,KAAK,GAAW,EAAE,CAAC;IACnB,QAAQ,GAAY,KAAK,CAAC;IAC1B,IAAI,GAAkC,QAAQ,CAAC;IAC/C,IAAI,CAAY;IAChB,SAAS,CAAU;IACnB,QAAQ,CAAU;IAClB,SAAS,CAAY;IACrB,OAAO,GAAY,KAAK,CAAC;IAEzB,WAAW,GAAe,EAAE,CAAC;IAC7B,SAAS,GAAe,EAAE,CAAC;IAE1B,OAAO,CAA4B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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Prop, h, Element, Event, EventEmitter } from '@stencil/core';\r\nimport { resolveColor } from '../../utils/color';\r\n\r\nexport type ButtonVariant = 'primary' | 'outline' | 'ghost';\r\nexport type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';\r\n\r\nconst ICON_SIZES: { [key in ButtonSize]: number } = {\r\n xs: 12,\r\n sm: 16,\r\n md: 20,\r\n lg: 24,\r\n};\r\n\r\n@Component({\r\n tag: 'sd-button',\r\n styleUrl: 'sd-button.scss',\r\n shadow: true,\r\n})\r\nexport class SdButton {\r\n @Element() el!: HTMLElement;\r\n\r\n @Prop() variant?: ButtonVariant = 'primary';\r\n @Prop() size: ButtonSize = 'sm';\r\n @Prop() color: string = '#025497';\r\n @Prop() label: string = '';\r\n @Prop() disabled: boolean = false;\r\n @Prop() type: 'button' | 'submit' | 'reset' = 'button';\r\n @Prop() icon?: IconName;\r\n @Prop() iconColor?: string;\r\n @Prop() iconSize?: number;\r\n @Prop() iconRight?: IconName;\r\n @Prop() noHover: boolean = false;\r\n\r\n @Prop() buttonStyle: StyleProps = {};\r\n @Prop() iconStyle: StyleProps = {};\r\n\r\n @Event() sdClick!: EventEmitter<MouseEvent>;\r\n\r\n private handleClick = (event: MouseEvent) => {\r\n if (this.disabled) {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n return;\r\n }\r\n this.sdClick.emit(event);\r\n };\r\n\r\n private getButtonClasses(): string {\r\n const classes = ['sd-button'];\r\n\r\n classes.push(`sd-button--${this.variant}`);\r\n classes.push(`sd-button--${this.size}`);\r\n classes.push(`sd-button--color-${this.color}`);\r\n\r\n if (this.disabled) {\r\n classes.push('sd-button--disabled');\r\n }\r\n\r\n if (!this.label && (this.icon || this.iconRight)) {\r\n classes.push('sd-button--icon-only');\r\n }\r\n\r\n if (this.noHover) {\r\n classes.push('sd-button--no-hover');\r\n }\r\n\r\n return classes.join(' ');\r\n }\r\n\r\n render() {\r\n const buttonClasses = this.getButtonClasses();\r\n // 유틸로 색상 키 -> HEX 매핑 (없으면 원본 그대로)\r\n const resolvedColor = resolveColor(this.color);\r\n\r\n return (\r\n <button\r\n class={buttonClasses}\r\n type={this.type}\r\n disabled={this.disabled}\r\n onClick={this.handleClick}\r\n style={{ '--button-color': resolvedColor, ...this.buttonStyle }}\r\n >\r\n <div class=\"sd-button__content\">\r\n {this.icon && (\r\n <sd-icon\r\n class=\"sd-button__icon sd-button__icon--left\"\r\n name={this.icon}\r\n size={this.iconSize ? this.iconSize : ICON_SIZES[this.size!]}\r\n color={this.iconColor ? this.iconColor : this.variant === 'primary' ? '#fff' : resolvedColor}\r\n ></sd-icon>\r\n )}\r\n\r\n {this.label && <div class=\"sd-button__label\">{this.label}</div>}\r\n\r\n {this.iconRight && (\r\n <sd-icon\r\n class=\"sd-button__icon sd-button__icon--right\"\r\n name={this.iconRight}\r\n size={ICON_SIZES[this.size!]}\r\n color={this.variant === 'primary' ? '#fff' : resolvedColor}\r\n ></sd-icon>\r\n )}\r\n </div>\r\n </button>\r\n );\r\n }\r\n}\r\n"]}