@sellmate/design-system 0.0.9 → 0.0.10

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 (164) hide show
  1. package/dist/cjs/design-system.cjs.js +3 -3
  2. package/dist/cjs/design-system.cjs.js.map +1 -1
  3. package/dist/cjs/{index-iB3JlG0y.js → index-D1tXBb8y.js} +5 -7
  4. package/dist/cjs/index-D1tXBb8y.js.map +1 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/resolveColor-DxvExwgo.js +272 -0
  7. package/dist/cjs/resolveColor-DxvExwgo.js.map +1 -0
  8. package/dist/cjs/sd-badge.cjs.entry.js +23 -0
  9. package/dist/cjs/sd-badge.entry.cjs.js.map +1 -0
  10. package/dist/cjs/sd-button.sd-guide.sd-icon.sd-portal.entry.cjs.js.map +1 -1
  11. package/dist/cjs/sd-button_4.cjs.entry.js +51 -315
  12. package/dist/cjs/sd-checkbox.cjs.entry.js +2 -2
  13. package/dist/cjs/sd-date-box_2.cjs.entry.js +3 -3
  14. package/dist/cjs/sd-date-picker.cjs.entry.js +3 -3
  15. package/dist/cjs/sd-date-range-picker.cjs.entry.js +3 -3
  16. package/dist/cjs/sd-pagination_2.cjs.entry.js +6 -6
  17. package/dist/cjs/sd-popover.cjs.entry.js +4 -4
  18. package/dist/cjs/sd-select-option.cjs.entry.js +2 -2
  19. package/dist/cjs/sd-select.cjs.entry.js +1 -1
  20. package/dist/cjs/sd-table.cjs.entry.js +1 -1
  21. package/dist/cjs/sd-tag.cjs.entry.js +1 -1
  22. package/dist/cjs/sd-tooltip-portal.cjs.entry.js +2 -2
  23. package/dist/cjs/{tooltipArrow-CSLQDjwL.js → tooltipArrow-D4Vc_pEU.js} +3 -3
  24. package/dist/cjs/{tooltipArrow-CSLQDjwL.js.map → tooltipArrow-D4Vc_pEU.js.map} +1 -1
  25. package/dist/collection/collection-manifest.json +2 -1
  26. package/dist/collection/components/sd-badge/sd-badge.css +1386 -0
  27. package/dist/collection/components/sd-badge/sd-badge.js +88 -0
  28. package/dist/collection/components/sd-badge/sd-badge.js.map +1 -0
  29. package/dist/collection/components/sd-checkbox/sd-checkbox.js +1 -1
  30. package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
  31. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +2 -2
  32. package/dist/collection/components/sd-guide/sd-guide.js +2 -2
  33. package/dist/collection/components/sd-icon/sd-icon.js +1 -1
  34. package/dist/collection/components/sd-input/sd-input.js +2 -2
  35. package/dist/collection/components/sd-pagination/sd-pagination.js +2 -2
  36. package/dist/collection/components/sd-popover/sd-popover.js +2 -2
  37. package/dist/collection/components/sd-portal/sd-portal.js +1 -1
  38. package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
  39. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  40. package/dist/collection/components/sd-tooltip-portal/sd-tooltip-portal.js +1 -1
  41. package/dist/components/index.js +1 -1
  42. package/dist/components/{p-B0--8AFP.js → p-0rgiptJp.js} +7 -271
  43. package/dist/components/p-0rgiptJp.js.map +1 -0
  44. package/dist/components/{p-BVQq85Sb.js → p-6-oOxxG7.js} +5 -5
  45. package/dist/components/{p-BVQq85Sb.js.map → p-6-oOxxG7.js.map} +1 -1
  46. package/dist/components/{p-CwAyLWEQ.js → p-8_DE9sf7.js} +7 -7
  47. package/dist/components/{p-CwAyLWEQ.js.map → p-8_DE9sf7.js.map} +1 -1
  48. package/dist/components/{p-CIRxuq9O.js → p-BEEv43du.js} +5 -5
  49. package/dist/components/{p-CIRxuq9O.js.map → p-BEEv43du.js.map} +1 -1
  50. package/dist/components/{p-CvQARSF2.js → p-BFclKl59.js} +7 -7
  51. package/dist/components/{p-CvQARSF2.js.map → p-BFclKl59.js.map} +1 -1
  52. package/dist/components/{p-B3-UiLOb.js → p-BQR8GTeD.js} +4 -4
  53. package/dist/components/{p-B3-UiLOb.js.map → p-BQR8GTeD.js.map} +1 -1
  54. package/dist/components/{p-Cwa0Scin.js → p-BV65zDeF.js} +6 -5
  55. package/dist/components/p-BV65zDeF.js.map +1 -0
  56. package/dist/components/p-BYf-ybt2.js +269 -0
  57. package/dist/components/p-BYf-ybt2.js.map +1 -0
  58. package/dist/components/{p-CmjvNSNS.js → p-Bws0p2kF.js} +3 -3
  59. package/dist/components/{p-CmjvNSNS.js.map → p-Bws0p2kF.js.map} +1 -1
  60. package/dist/components/{p-D_I5tXD6.js → p-CLODAhOA.js} +6 -8
  61. package/dist/components/p-CLODAhOA.js.map +1 -0
  62. package/dist/components/{p-DyncZo9Q.js → p-Cf1_Ckwe.js} +10 -10
  63. package/dist/components/{p-DyncZo9Q.js.map → p-Cf1_Ckwe.js.map} +1 -1
  64. package/dist/components/{p-Dg9QFKjM.js → p-DCdQLHpa.js} +7 -7
  65. package/dist/components/{p-Dg9QFKjM.js.map → p-DCdQLHpa.js.map} +1 -1
  66. package/dist/components/{p-BrGg4-IA.js → p-Dy4OXsOy.js} +6 -6
  67. package/dist/components/{p-BrGg4-IA.js.map → p-Dy4OXsOy.js.map} +1 -1
  68. package/dist/components/sd-badge.d.ts +11 -0
  69. package/dist/components/sd-badge.js +46 -0
  70. package/dist/components/sd-badge.js.map +1 -0
  71. package/dist/components/sd-button.js +1 -1
  72. package/dist/components/sd-checkbox.js +1 -1
  73. package/dist/components/sd-date-box.js +1 -1
  74. package/dist/components/sd-date-picker.js +8 -8
  75. package/dist/components/sd-date-range-picker.js +8 -8
  76. package/dist/components/sd-guide.js +8 -7
  77. package/dist/components/sd-guide.js.map +1 -1
  78. package/dist/components/sd-icon.js +1 -1
  79. package/dist/components/sd-input.js +1 -1
  80. package/dist/components/sd-pagination.js +1 -1
  81. package/dist/components/sd-popover.js +8 -8
  82. package/dist/components/sd-portal.js +1 -1
  83. package/dist/components/sd-select-option.js +1 -1
  84. package/dist/components/sd-select.js +7 -7
  85. package/dist/components/sd-table.js +8 -8
  86. package/dist/components/sd-tag.js +2 -2
  87. package/dist/components/sd-tooltip-portal.js +1 -1
  88. package/dist/components/sd-tooltip.js +1 -1
  89. package/dist/design-system/design-system.esm.js +1 -1
  90. package/dist/design-system/design-system.esm.js.map +1 -1
  91. package/dist/design-system/{p-12aaaa03.entry.js → p-1c85c36d.entry.js} +2 -2
  92. package/dist/design-system/p-308edd31.entry.js +2 -0
  93. package/dist/design-system/p-308edd31.entry.js.map +1 -0
  94. package/dist/design-system/p-7b32ab16.entry.js +2 -0
  95. package/dist/design-system/{p-997af0ed.entry.js.map → p-7b32ab16.entry.js.map} +1 -1
  96. package/dist/design-system/{p-7e33f5e5.entry.js → p-8ac68037.entry.js} +2 -2
  97. package/dist/design-system/{p-1f393066.entry.js → p-97900de1.entry.js} +2 -2
  98. package/dist/design-system/{p-2bb928fc.entry.js → p-9cc14b6e.entry.js} +2 -2
  99. package/dist/design-system/p-BYf-ybt2.js +2 -0
  100. package/dist/design-system/p-BYf-ybt2.js.map +1 -0
  101. package/dist/design-system/p-D8LjiNqp.js +2 -0
  102. package/dist/design-system/{p-DMW6VeLX.js.map → p-D8LjiNqp.js.map} +1 -1
  103. package/dist/design-system/{p-DVhJrGoi.js → p-DON0UcbL.js} +2 -2
  104. package/dist/design-system/p-DON0UcbL.js.map +1 -0
  105. package/dist/design-system/{p-c87c465b.entry.js → p-acf8aec2.entry.js} +2 -2
  106. package/dist/design-system/{p-912c7a8d.entry.js → p-b24ace19.entry.js} +2 -2
  107. package/dist/design-system/{p-8b2b47a7.entry.js → p-b2516c36.entry.js} +2 -2
  108. package/dist/design-system/p-cb0d8ecc.entry.js +2 -0
  109. package/dist/design-system/p-cb0d8ecc.entry.js.map +1 -0
  110. package/dist/design-system/{p-97dbc008.entry.js → p-d4395043.entry.js} +2 -2
  111. package/dist/design-system/{p-5db3252c.entry.js → p-dfbbde69.entry.js} +2 -2
  112. package/dist/design-system/{p-682cf57d.entry.js → p-ef6a088a.entry.js} +2 -2
  113. package/dist/design-system/sd-badge.entry.esm.js.map +1 -0
  114. package/dist/design-system/sd-button.sd-guide.sd-icon.sd-portal.entry.esm.js.map +1 -1
  115. package/dist/esm/design-system.js +4 -4
  116. package/dist/esm/design-system.js.map +1 -1
  117. package/dist/esm/{index-DVhJrGoi.js → index-DON0UcbL.js} +5 -7
  118. package/dist/esm/index-DON0UcbL.js.map +1 -0
  119. package/dist/esm/loader.js +3 -3
  120. package/dist/esm/resolveColor-BYf-ybt2.js +269 -0
  121. package/dist/esm/resolveColor-BYf-ybt2.js.map +1 -0
  122. package/dist/esm/sd-badge.entry.js +21 -0
  123. package/dist/esm/sd-badge.entry.js.map +1 -0
  124. package/dist/esm/sd-button.sd-guide.sd-icon.sd-portal.entry.js.map +1 -1
  125. package/dist/esm/sd-button_4.entry.js +49 -313
  126. package/dist/esm/sd-checkbox.entry.js +2 -2
  127. package/dist/esm/sd-date-box_2.entry.js +3 -3
  128. package/dist/esm/sd-date-picker.entry.js +3 -3
  129. package/dist/esm/sd-date-range-picker.entry.js +3 -3
  130. package/dist/esm/sd-pagination_2.entry.js +6 -6
  131. package/dist/esm/sd-popover.entry.js +4 -4
  132. package/dist/esm/sd-select-option.entry.js +2 -2
  133. package/dist/esm/sd-select.entry.js +1 -1
  134. package/dist/esm/sd-table.entry.js +1 -1
  135. package/dist/esm/sd-tag.entry.js +1 -1
  136. package/dist/esm/sd-tooltip-portal.entry.js +2 -2
  137. package/dist/esm/{tooltipArrow-BZiofDi8.js → tooltipArrow-Dv8Sb6cw.js} +3 -3
  138. package/dist/esm/{tooltipArrow-BZiofDi8.js.map → tooltipArrow-Dv8Sb6cw.js.map} +1 -1
  139. package/dist/types/components/sd-badge/sd-badge.d.ts +6 -0
  140. package/dist/types/components.d.ts +37 -0
  141. package/dist/types/stencil-public-runtime.d.ts +1 -1
  142. package/hydrate/index.js +69 -40
  143. package/hydrate/index.mjs +69 -40
  144. package/package.json +2 -2
  145. package/dist/cjs/index-iB3JlG0y.js.map +0 -1
  146. package/dist/components/p-B0--8AFP.js.map +0 -1
  147. package/dist/components/p-Cwa0Scin.js.map +0 -1
  148. package/dist/components/p-D_I5tXD6.js.map +0 -1
  149. package/dist/design-system/p-997af0ed.entry.js +0 -2
  150. package/dist/design-system/p-DMW6VeLX.js +0 -2
  151. package/dist/design-system/p-DVhJrGoi.js.map +0 -1
  152. package/dist/design-system/p-e40ff66a.entry.js +0 -2
  153. package/dist/design-system/p-e40ff66a.entry.js.map +0 -1
  154. package/dist/esm/index-DVhJrGoi.js.map +0 -1
  155. /package/dist/design-system/{p-12aaaa03.entry.js.map → p-1c85c36d.entry.js.map} +0 -0
  156. /package/dist/design-system/{p-7e33f5e5.entry.js.map → p-8ac68037.entry.js.map} +0 -0
  157. /package/dist/design-system/{p-1f393066.entry.js.map → p-97900de1.entry.js.map} +0 -0
  158. /package/dist/design-system/{p-2bb928fc.entry.js.map → p-9cc14b6e.entry.js.map} +0 -0
  159. /package/dist/design-system/{p-c87c465b.entry.js.map → p-acf8aec2.entry.js.map} +0 -0
  160. /package/dist/design-system/{p-912c7a8d.entry.js.map → p-b24ace19.entry.js.map} +0 -0
  161. /package/dist/design-system/{p-8b2b47a7.entry.js.map → p-b2516c36.entry.js.map} +0 -0
  162. /package/dist/design-system/{p-97dbc008.entry.js.map → p-d4395043.entry.js.map} +0 -0
  163. /package/dist/design-system/{p-5db3252c.entry.js.map → p-dfbbde69.entry.js.map} +0 -0
  164. /package/dist/design-system/{p-682cf57d.entry.js.map → p-ef6a088a.entry.js.map} +0 -0
@@ -0,0 +1,88 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import { resolveColor } from "../../utils/color";
3
+ export class SdBadge {
4
+ size = 'md';
5
+ color = 'brilliantblue_75';
6
+ label = '';
7
+ render() {
8
+ const resolvedColor = resolveColor(this.color);
9
+ return (h(Host, { key: 'b4c9fd99102b52d0769cbc1be393620f90077e20' }, h("div", { key: '99c7f6ec6a83273c37cf036fa129d57747c9046d', class: `sd-badge sd-badge--${this.size}`, style: { '--sd-badge-color': resolvedColor } }, h("div", { key: '9d45fad015f4b601adba40e42354252d72bb6fd4', class: "sd-badge__dot" }), h("div", { key: 'c1aebc967cdcbfa0bb8a7f350e668f0ccd7d5a02', class: "sd-badge__label" }, this.label))));
10
+ }
11
+ static get is() { return "sd-badge"; }
12
+ static get encapsulation() { return "scoped"; }
13
+ static get originalStyleUrls() {
14
+ return {
15
+ "$": ["sd-badge.scss"]
16
+ };
17
+ }
18
+ static get styleUrls() {
19
+ return {
20
+ "$": ["sd-badge.css"]
21
+ };
22
+ }
23
+ static get properties() {
24
+ return {
25
+ "size": {
26
+ "type": "string",
27
+ "mutable": false,
28
+ "complexType": {
29
+ "original": "'sm' | 'md'",
30
+ "resolved": "\"md\" | \"sm\"",
31
+ "references": {}
32
+ },
33
+ "required": false,
34
+ "optional": false,
35
+ "docs": {
36
+ "tags": [],
37
+ "text": ""
38
+ },
39
+ "getter": false,
40
+ "setter": false,
41
+ "reflect": false,
42
+ "attribute": "size",
43
+ "defaultValue": "'md'"
44
+ },
45
+ "color": {
46
+ "type": "string",
47
+ "mutable": false,
48
+ "complexType": {
49
+ "original": "string",
50
+ "resolved": "string",
51
+ "references": {}
52
+ },
53
+ "required": false,
54
+ "optional": false,
55
+ "docs": {
56
+ "tags": [],
57
+ "text": ""
58
+ },
59
+ "getter": false,
60
+ "setter": false,
61
+ "reflect": false,
62
+ "attribute": "color",
63
+ "defaultValue": "'brilliantblue_75'"
64
+ },
65
+ "label": {
66
+ "type": "string",
67
+ "mutable": false,
68
+ "complexType": {
69
+ "original": "string",
70
+ "resolved": "string",
71
+ "references": {}
72
+ },
73
+ "required": false,
74
+ "optional": false,
75
+ "docs": {
76
+ "tags": [],
77
+ "text": ""
78
+ },
79
+ "getter": false,
80
+ "setter": false,
81
+ "reflect": false,
82
+ "attribute": "label",
83
+ "defaultValue": "''"
84
+ }
85
+ };
86
+ }
87
+ }
88
+ //# sourceMappingURL=sd-badge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sd-badge.js","sourceRoot":"","sources":["../../../src/components/sd-badge/sd-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAOjD,MAAM,OAAO,OAAO;IACX,IAAI,GAAgB,IAAI,CAAC;IACzB,KAAK,GAAW,kBAAkB,CAAC;IACnC,KAAK,GAAW,EAAE,CAAC;IAE3B,MAAM;QACL,MAAM,aAAa,GAAG,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAE/C,OAAO,CACN,EAAC,IAAI;YACJ,4DAAK,KAAK,EAAE,sBAAsB,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,kBAAkB,EAAE,aAAa,EAAE;gBAC1F,4DAAK,KAAK,EAAC,eAAe,GAAO;gBACjC,4DAAK,KAAK,EAAC,iBAAiB,IAAE,IAAI,CAAC,KAAK,CAAO,CAC1C,CACA,CACP,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\r\nimport { resolveColor } from '../../utils/color';\r\n\r\n@Component({\r\n tag: 'sd-badge',\r\n styleUrl: 'sd-badge.scss',\r\n scoped: true,\r\n})\r\nexport class SdBadge {\r\n @Prop() size: 'sm' | 'md' = 'md';\r\n @Prop() color: string = 'brilliantblue_75';\r\n @Prop() label: string = '';\r\n\r\n render() {\r\n const resolvedColor = resolveColor(this.color);\r\n\r\n return (\r\n <Host>\r\n <div class={`sd-badge sd-badge--${this.size}`} style={{ '--sd-badge-color': resolvedColor }}>\r\n <div class=\"sd-badge__dot\"></div>\r\n <div class=\"sd-badge__label\">{this.label}</div>\r\n </div>\r\n </Host>\r\n );\r\n }\r\n}\r\n"]}
@@ -60,7 +60,7 @@ export class SdCheckbox {
60
60
  this.sdChange.emit(newValue);
61
61
  };
62
62
  render() {
63
- return (h(Host, { key: 'bad008e2f4b4bbc0c1c46b525ee16b9852c3267f' }, h("label", { key: 'bf03af829477bbd34b5e119dcc769b8c0c8d661b', class: this.getCheckboxClasses() }, h("input", { key: 'b543615e4371db97140e9eec5cfd01316b6cc944', type: "checkbox", checked: this.isChecked, disabled: this.disabled, onChange: this.handleChange }), h("div", { key: 'cd5d958422878d37fad90bfc7ce5a99adb668f9d', class: "sd-checkbox__bg", style: this.checkboxStyle }, this.isChecked ? (h("sd-icon", { name: "check", size: 12, color: this.disabled ? '#888888' : 'white' })) : null), this.label && h("span", { key: 'f1ad9310808024cb6d0f716dfc4cf06e056aba74', class: "sd-checkbox__label" }, this.label))));
63
+ return (h(Host, { key: '126d946853dc962cf660a9dbae2c002b7c003606' }, h("label", { key: 'cb1a6a8e427bf199789e3fe594fd01a5f618c0eb', class: this.getCheckboxClasses() }, h("input", { key: '701bb2f8e0434b81f762d36e8b16704e982c6028', type: "checkbox", checked: this.isChecked, disabled: this.disabled, onChange: this.handleChange }), h("div", { key: 'cb03ca961f3118d86b3679a1ae179cf9d90cfa6c', class: "sd-checkbox__bg", style: this.checkboxStyle }, this.isChecked ? (h("sd-icon", { name: "check", size: 12, color: this.disabled ? '#888888' : 'white' })) : null), this.label && h("span", { key: '208435a51caac8190ab8a7fae0a0e98cb6d38ea3', class: "sd-checkbox__label" }, this.label))));
64
64
  }
65
65
  static get is() { return "sd-checkbox"; }
66
66
  static get encapsulation() { return "scoped"; }
@@ -74,9 +74,9 @@ export class SdDatePicker {
74
74
  this.isOpen = false;
75
75
  };
76
76
  render() {
77
- return (h(Host, { key: '7f25fe19940087b6a8d4ec2639dd84833034bc72', class: "sd-date-picker" }, h("sd-input", { key: 'c2d0eeba3dcb13142a38d29943eb71911cb9fd86', ref: el => (this.inputEl = el), value: this.date, label: this.label, "inside-label": true, readonly: true, disabled: this.disabled, inputClass: "text-center", inputStyle: {
77
+ return (h(Host, { key: '4bd4950a7e6ee0f0fe8b43c9897473dec079bccd', class: "sd-date-picker" }, h("sd-input", { key: 'cd093c5f36a8bf73bcc1d2d8b2d4a32621e4ef02', ref: el => (this.inputEl = el), value: this.date, label: this.label, "inside-label": true, readonly: true, disabled: this.disabled, inputClass: "text-center", inputStyle: {
78
78
  margin: '0 0 0 8px',
79
- }, onClick: () => this.openMenu() }, h("sd-icon", { key: '86660591177b91d9ea9463619631af973eb94b8e', slot: "prefix", name: "date", size: "16", color: "#737373", class: "date-icon", onClick: () => this.openMenu() })), this.isOpen && (h("sd-portal", { key: '9f38b78302db746379968d10905be4cad44219e9', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.handleClose }, h("div", { key: '295539c5374bddc50b6947c7e451ad5c563fe94a', class: "sd-date-picker__menu" }, h("div", { key: '43f91099cd421ee1d11433579cb0db7ae46c381e', class: "sd-date-picker__header" }, h("div", { key: 'fdeb6f059903e81cf18f917ef076f15f040f746b', class: "year-nav" }, h("button", { key: 'a539fa46145bde41dd4b17da48b1a80ee62cf97e', type: "button", name: "prev-year", title: "Previous Year", onClick: () => this.setCurrentYear(this.currentYear - 1) }, h("sd-icon", { key: 'fc4cde6dcb1b536bf86b58576fd6c32048c13e61', name: "arrowLeft", size: "12", color: "#CCCCCC" })), h("span", { key: '6d9d60a0d6f57c82aa94422b2e1096ab8cf60322', class: "year-nav__current" }, this.currentYear), h("button", { key: '047cc4c2ac9707f632ac2987cfc3ed7aa0a23486', type: "button", name: "next-year", title: "Next Year", onClick: () => this.setCurrentYear(this.currentYear + 1) }, h("sd-icon", { key: '37bbc1ec4412806ecd97a06e025227f0f83facd8', name: "arrowRight", size: "12", color: "#CCCCCC" }))), h("div", { key: '6a8d98d2a0e49b0fc9d07eb098d9d8e6dc4f705a', class: "month-nav" }, h("button", { key: '300151b8e212025f221ef8b4e7c5da32b0fd13ca', type: "button", name: "prev-month", title: "Previous ", onClick: () => this.handleUpdateMonth('prev') }, h("sd-icon", { key: 'b9a5822af1de65d2e79338680143fceeebf8292a', name: "arrowLeft", size: "12", color: "#CCCCCC" })), h("span", { key: 'fd3c22b6eb4d10ce0df5097709d55e6426d070a8', class: "month-nav__current" }, this.currentMonth, "\uC6D4"), h("button", { key: '4e8bcb9708a9aec649aa111b705b10c8f485a4d0', type: "button", name: "next-month", title: "Next Month", onClick: () => this.handleUpdateMonth('next') }, h("sd-icon", { key: '943df568d382c139e77d5b17bc5f32657b190cbc', name: "arrowRight", size: "12", color: "#CCCCCC" })))), h("div", { key: '8de6da2b112c68ca61197e16ed512013e25ce668', class: "sd-date-picker__days" }, ['일', '월', '화', '수', '목', '금', '토'].map(day => (h("div", { key: day, class: "day" }, day)))), h("div", { key: '649cfdd71aa7275ff0b3f90e13cadfcd78acff68', class: "sd-date-picker__body" }, [
79
+ }, onClick: () => this.openMenu() }, h("sd-icon", { key: '20051be0ceb09a2660c8aacd3f3d7c8d9d78d6e0', slot: "prefix", name: "date", size: "16", color: "#737373", class: "date-icon", onClick: () => this.openMenu() })), this.isOpen && (h("sd-portal", { key: '0045590cea11da3ea09ffb382fa7d0db5eb10e26', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.handleClose }, h("div", { key: '16b035b6b9c9ae6edd9c27bf49f81fbab52f2c0a', class: "sd-date-picker__menu" }, h("div", { key: 'a38e25d987606453c42cd1bc4f79c98a0264c479', class: "sd-date-picker__header" }, h("div", { key: '935ef106ab55ae4d2a28f2991a3a10221921524a', class: "year-nav" }, h("button", { key: '19cb5c006e4cb5ae32dde8c05a75a0df83dde359', type: "button", name: "prev-year", title: "Previous Year", onClick: () => this.setCurrentYear(this.currentYear - 1) }, h("sd-icon", { key: '6f2d8be5371e8ffcc774baba20ed4b776f8bb18c', name: "arrowLeft", size: "12", color: "#CCCCCC" })), h("span", { key: 'cb9df4bc1594ccb8e7536b625a84a30a2e7dfa12', class: "year-nav__current" }, this.currentYear), h("button", { key: '5dd87a18292f29dc6b3b66ecc8c2f1dfaa70feb1', type: "button", name: "next-year", title: "Next Year", onClick: () => this.setCurrentYear(this.currentYear + 1) }, h("sd-icon", { key: 'cf9e278457d72be2dd4b939448c47f6d79c57930', name: "arrowRight", size: "12", color: "#CCCCCC" }))), h("div", { key: '4afb13f370c9d17542f980f2da72cba9b66d1d22', class: "month-nav" }, h("button", { key: '101b4163c3ab4edc48f5ee0342a7a6bf99bde2c3', type: "button", name: "prev-month", title: "Previous ", onClick: () => this.handleUpdateMonth('prev') }, h("sd-icon", { key: '973e065893ac2cc9385a2b1e7ec327b25456e8a6', name: "arrowLeft", size: "12", color: "#CCCCCC" })), h("span", { key: '81228496944a8df087b91c5a0532a4c4e6acc722', class: "month-nav__current" }, this.currentMonth, "\uC6D4"), h("button", { key: '8c0812d9d1f4617422c3d11ed3cd9e66cef2ef7f', type: "button", name: "next-month", title: "Next Month", onClick: () => this.handleUpdateMonth('next') }, h("sd-icon", { key: '3085b6eaaaa768dd9fc3ff4f1b2d91eef8846dbe', name: "arrowRight", size: "12", color: "#CCCCCC" })))), h("div", { key: 'd837807d4a1de792bafd24950e61b6feb0948b2b', class: "sd-date-picker__days" }, ['일', '월', '화', '수', '목', '금', '토'].map(day => (h("div", { key: day, class: "day" }, day)))), h("div", { key: '085b9e8190f7b46184c3e9b1de90e98c96b75f17', class: "sd-date-picker__body" }, [
80
80
  ...this.calendar.prevMonthDays,
81
81
  ...this.calendar.days,
82
82
  ...this.calendar.afterMonthDays,
@@ -137,9 +137,9 @@ export class SdDateRangePicker {
137
137
  this.isOpen = false;
138
138
  };
139
139
  render() {
140
- return (h(Host, { key: '4af937257ba809f3a46e53cbdfd93ed811bff28f', class: "sd-date-range-picker" }, h("sd-input", { key: 'ae47eca04301a2ec14d97e421b663697ecba35e3', ref: el => (this.inputEl = el), value: `${this.dateRange[0]} ~ ${this.dateRange[1]}`, label: this.label, "inside-label": true, readonly: true, disabled: this.disabled, inputClass: "text-center", inputStyle: {
140
+ return (h(Host, { key: '8aea2d5a46c733661022aa5925c87ccbebb5187e', class: "sd-date-range-picker" }, h("sd-input", { key: '17b95dcfb188bdde813e69e0cd281e900e3418d4', ref: el => (this.inputEl = el), value: `${this.dateRange[0]} ~ ${this.dateRange[1]}`, label: this.label, "inside-label": true, readonly: true, disabled: this.disabled, inputClass: "text-center", inputStyle: {
141
141
  margin: '0 0 0 8px',
142
- }, onClick: () => this.openMenu() }, h("sd-icon", { key: '1b146d7f4c2ca35241a74eb2c0eb045c56a3b8ec', slot: "prefix", name: "date", size: "16", color: "#737373", class: "date-icon", onClick: () => this.openMenu() })), this.isOpen && (h("sd-portal", { key: 'f12a79e23e611b34148cbc4477505c5521fc9b99', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.handleClose }, h("div", { key: '19f65644f08c55aca12f20da6ecb93ac2190fd5a', class: "sd-date-range-picker__menu" }, h("div", { key: '02b29d14d319144bcf43f660a2815873b0ad8ba9', class: "sd-date-range-picker__header mb-16pxr flex flex-nowrap items-center justify-center" }, h("button", { key: '77e91e8603595770203d55a25afb5091b3389620', type: "button", name: "prev", title: "Previous", onClick: () => this.setPrevYear(this.prevYear - 1) }, h("sd-icon", { key: '7d17fc7a981ef911f5673976a2a7d6dffb186b60', name: "arrowLeft", size: "12", color: "#CCCCCC" })), h("div", { key: '16e43058070b9fe8f81b975b1be1a8b8b0a64fa6', class: "header-label" }, this.prevYear), h("button", { key: '401d711456467b751094fcb02e6fb5ddc3bde978', type: "button", name: "next", title: "Next", onClick: () => this.setPrevYear(this.prevYear + 1) }, h("sd-icon", { key: '8b8c486b7bd921dc374ae252ca233daa09c854c4', name: "arrowRight", size: "12", color: "#CCCCCC" }))), h("div", { key: '3875858b39253f58781d05fb94f9029ecf70e866', class: "sd-date-range-picker__body" }, [this.prevCalendar, this.nextCalendar].map((calendar, index) => (h(Fragment, null, index === 1 && h("div", { class: "separator" }), h("div", { key: index, class: "calendar-container" }, h("div", { class: "calendar-header" }, h("button", { type: "button", name: "month", title: "Month", class: index === 0 ? 'header-button-prev' : 'header-button-next', onClick: () => this.updateYearMonth(index === 0 ? 'prev' : 'next') }, h("sd-icon", { name: index === 0 ? 'arrowLeft' : 'arrowRight', size: "12", color: "#CCCCCC" })), index === 0
142
+ }, onClick: () => this.openMenu() }, h("sd-icon", { key: '9cb55e06cc6954eb94396d7801b516bfb8c27509', slot: "prefix", name: "date", size: "16", color: "#737373", class: "date-icon", onClick: () => this.openMenu() })), this.isOpen && (h("sd-portal", { key: 'a77b900f2c4d91f8b3b473b131d261e0e0bca64f', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.handleClose }, h("div", { key: '2512ef3cede9630f5eeeed4aeaa49b1e7d204bfc', class: "sd-date-range-picker__menu" }, h("div", { key: 'efa249182fe69e088cd49603426ecbf8488bc90a', class: "sd-date-range-picker__header mb-16pxr flex flex-nowrap items-center justify-center" }, h("button", { key: 'a4b40a969bcfe08fa0426864ca31db94b5bb7c6c', type: "button", name: "prev", title: "Previous", onClick: () => this.setPrevYear(this.prevYear - 1) }, h("sd-icon", { key: '078faf6ed904b7dd7ca20e0d30767946d75cefce', name: "arrowLeft", size: "12", color: "#CCCCCC" })), h("div", { key: '1582407b137ce57eb3cc0d3f62d6d50dace58be9', class: "header-label" }, this.prevYear), h("button", { key: 'dd13bad24056346098e9c780520c75611e34cbf3', type: "button", name: "next", title: "Next", onClick: () => this.setPrevYear(this.prevYear + 1) }, h("sd-icon", { key: '9871ce23b9d3074a0e581ee8731f19beb910ecac', name: "arrowRight", size: "12", color: "#CCCCCC" }))), h("div", { key: 'bd3cf7fb8735d66e9944f1232fcf205d95ff8f99', class: "sd-date-range-picker__body" }, [this.prevCalendar, this.nextCalendar].map((calendar, index) => (h(Fragment, null, index === 1 && h("div", { class: "separator" }), h("div", { key: index, class: "calendar-container" }, h("div", { class: "calendar-header" }, h("button", { type: "button", name: "month", title: "Month", class: index === 0 ? 'header-button-prev' : 'header-button-next', onClick: () => this.updateYearMonth(index === 0 ? 'prev' : 'next') }, h("sd-icon", { name: index === 0 ? 'arrowLeft' : 'arrowRight', size: "12", color: "#CCCCCC" })), index === 0
143
143
  ? `${this.prevYear}.${String(this.prevMonth).padStart(2, '0')}`
144
144
  : `${this.nextYear}.${String(this.nextMonth).padStart(2, '0')}`), h("div", { class: "calendar-days" }, ['일', '월', '화', '수', '목', '금', '토'].map(day => (h("sd-date-box", { key: day, date: day, disabled: true, class: "day" })))), h("div", { class: "calendar-body mt-12pxr grid grid-cols-7 gap-y-8pxr" }, [...calendar.prevMonthDays, ...calendar.days, ...calendar.afterMonthDays].map((day, idx) => (h("sd-date-box", { key: `prev${day}_${idx}`, date: !day ? '' : Number(day), selected: this.dateRange.some(date => date ===
145
145
  this.dateUtil.formatDate(index === 0 ? this.prevYear : this.nextYear, index === 0 ? this.prevMonth : this.nextMonth, Number(day))), type: this.getDateBoxType(this.dateUtil.formatDate(index === 0 ? this.prevYear : this.nextYear, index === 0 ? this.prevMonth : this.nextMonth, Number(day))), isToday: today ===
@@ -66,7 +66,7 @@ export class SdGuide {
66
66
  };
67
67
  render() {
68
68
  const { name: iconName, size: iconSize, color: iconColor } = this.getGuidIcon();
69
- return (h(Host, { key: 'eb3873c0f3c38208bb1c7bceea0c16748d10123e', style: this.getGuideStyle() }, h("sd-button", { key: '7aa64a9d56ea64516680fc52226d738a20fb24bb', ref: el => (this.guideRef = el), class: this.getGuideClasses(), variant: "outline", label: SdGuide.guideTitle[this.type], size: "md", color: "var(--guide-color)", icon: iconName, iconColor: iconColor, iconSize: iconSize, iconStyle: { marginRight: '4px' }, buttonStyle: {
69
+ return (h(Host, { key: '6b9aef7f8ac24d20f19b0007aa6b13de124db93a', style: this.getGuideStyle() }, h("sd-button", { key: '84f1e008e5583d33e008c3c6676b221795af447f', ref: el => (this.guideRef = el), class: this.getGuideClasses(), variant: "outline", label: SdGuide.guideTitle[this.type], size: "md", color: "var(--guide-color)", icon: iconName, iconColor: iconColor, iconSize: iconSize, iconStyle: { marginRight: '4px' }, buttonStyle: {
70
70
  height: '28px',
71
71
  minHeight: '28px',
72
72
  padding: '4px 12px',
@@ -76,7 +76,7 @@ export class SdGuide {
76
76
  fontSize: '12px',
77
77
  fontWeight: '400',
78
78
  backgroundColor: 'var(--guide-background)',
79
- }, onSdClick: this.handleClickGuide }), this.type === 'help' && this.popupShow && (h("sd-portal", { key: '8c8d401cf365376553e3c23abec6f43823e89217', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 24] }, h("div", { key: 'ac6a0acd0ab0e8ff9d51954fc81ae4bd0f2091ff', class: "sd-guide__popup", style: { width: this.popupWidth ? this.popupWidth + 'px' : '426px' } }, h("sd-button", { key: '52c6e7cce6c0525f20ddea26c759c36c614671ab', class: "sd-guide__popup__close", icon: "close", color: colors.grey_65, size: "md", variant: "ghost", noHover: true, buttonStyle: { padding: '0px', minHeight: '0px' }, onSdClick: this.closeDropdown }), h("div", { key: 'fa1a7b0f0fdd97aa65bba2ba5dee724dd774c296', class: "sd-guide__popup__header" }, h("sd-icon", { key: '7d786d08caf15673e33c3c8de73410978104aaff', name: "helpOutline", size: 24, color: colors.green_65 }), h("h3", { key: 'd31e03e34ebab5c32fd4d123f954ce9ef67c3fc9', class: "sd-guide__popup__title" }, this.popupTitle || SdGuide.guideTitle[this.type])), h("ul", { key: 'a294ecc2bf1b20252191711f20aa10098b9d0175', class: "sd-guide__popup__list" }, this.renderListItem(this.message)))))));
79
+ }, onSdClick: this.handleClickGuide }), this.type === 'help' && this.popupShow && (h("sd-portal", { key: '094c0ed48f8cd5e4ad9b39749c5b9e38de776df9', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 24] }, h("div", { key: 'c4723cff1757f411b3ec5c618ece202195893062', class: "sd-guide__popup", style: { width: this.popupWidth ? this.popupWidth + 'px' : '426px' } }, h("sd-button", { key: 'a76bd5368390414f8ab3733902780b39d4bfb3ac', class: "sd-guide__popup__close", icon: "close", color: colors.grey_65, size: "md", variant: "ghost", noHover: true, buttonStyle: { padding: '0px', minHeight: '0px' }, onSdClick: this.closeDropdown }), h("div", { key: '56b1e56be7accd939b47d8942c0796214215b9a1', class: "sd-guide__popup__header" }, h("sd-icon", { key: '4c0eee1fb46488a0fc69e767536d8a0abc0465c3', name: "helpOutline", size: 24, color: colors.green_65 }), h("h3", { key: '82159861a5f0dead314dde0648441099fbed1b33', class: "sd-guide__popup__title" }, this.popupTitle || SdGuide.guideTitle[this.type])), h("ul", { key: '656631755547012c689a434aa0db3f6f3676dc2f', class: "sd-guide__popup__list" }, this.renderListItem(this.message)))))));
80
80
  }
81
81
  // 현재 2depth까지만 스타일 적용
82
82
  renderListItem(message, depth = 0) {
@@ -25,7 +25,7 @@ export class SdIcon {
25
25
  }
26
26
  render() {
27
27
  const IconComponent = Icons[this.name]?.[this.size];
28
- return (h("i", { key: '9d53cc78e1433e03e0329dc59b2fcb704dfc5229', class: this.getIconClasses(), style: this.iconStyle }, h(IconComponent, { key: 'f2e0c3c9eec1efb16a6aa703ae7e112b89a90876', color: this.resolvedColor })));
28
+ return (h("i", { key: 'e9b6db9025ea08dd24e82dc0f37090109b707a12', class: this.getIconClasses(), style: this.iconStyle }, h(IconComponent, { key: '03592c460972f9ea07cb6b86c8dcbbf1f52bb9ff', color: this.resolvedColor })));
29
29
  }
30
30
  static get is() { return "sd-icon"; }
31
31
  static get encapsulation() { return "scoped"; }
@@ -89,11 +89,11 @@ export class SdInput {
89
89
  '--input-width': typeof this.width === 'number' ? `${this.width}px` : this.width,
90
90
  }
91
91
  : {};
92
- return (h(Host, { key: '17b45c8fff6a50fefba8852188d76aae5e494117', style: inputWidth }, this.label && h("div", { key: '9cad02ee97a3685372a5de808d94f2d78b6f1931', class: "sd-input__label" }, this.label), h("label", { key: 'd1df0ccc07e76291876b072d26feeace34abbae7', class: {
92
+ return (h(Host, { key: 'a98bd133a5e00feaea2c3d2a4ef8e63a9e9e1dc5', style: inputWidth }, this.label && h("div", { key: 'c5bce4ee152a83f1e34a63a7e347c449f27e568e', class: "sd-input__label" }, this.label), h("label", { key: '77c9bf2b1bad3839afef09a55c170924355b4ec9', class: {
93
93
  'sd-input': true,
94
94
  [this.getInputStatus()]: true,
95
95
  'sd-input--barcode': !!this.barcode,
96
- }, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, h("slot", { key: '3af4ceb58d0f96abb383e0829f7256b81a6f94ec', name: "prefix" }), h("input", { key: '8f78d01452e39ab362eb6031564f26df6998dfe4', ref: el => (this.nativeEl = el), class: `sd-input__native_element ${this.inputClass}`, type: "text", value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onChange: this.handleChange, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event) }), h("slot", { key: 'f4f0d0aa8185c277e22524e698275987034fc053', name: "suffix" }), this.clearable && this.internalValue && (h("sd-icon", { key: '61cd69cb8c562fcd88ce0138e52ee505d9d9e641', name: "close", color: "#888", style: { marginRight: '-4px', marginLeft: '8px', cursor: 'pointer' }, onClick: () => {
96
+ }, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, h("slot", { key: 'a81d4ae208787b2a74a000cc1baf3e288cc42132', name: "prefix" }), h("input", { key: 'fc5141f2364ca939e0a8ed7425143f5c1ecab572', ref: el => (this.nativeEl = el), class: `sd-input__native_element ${this.inputClass}`, type: "text", value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onChange: this.handleChange, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event) }), h("slot", { key: 'deabb72ce63756290ba752774a207c65f2bf287f', name: "suffix" }), this.clearable && this.internalValue && (h("sd-icon", { key: '8e62dc1e4a17d12ae26c01ffe5c3ac40da516a46', name: "close", color: "#888", style: { marginRight: '-4px', marginLeft: '8px', cursor: 'pointer' }, onClick: () => {
97
97
  this.internalValue = '';
98
98
  this.sdChange?.emit(this.internalValue);
99
99
  this.sdInput?.emit(this.internalValue);
@@ -73,12 +73,12 @@ export class SdPagination {
73
73
  }
74
74
  }
75
75
  render() {
76
- return (h("div", { key: '4a54f4fb07b16bb6334e975967865d225a8d88e0', class: this.paginationClasses }, h("div", { key: 'a7054470cf94b30af967883072cf2af9eab5fb8d', class: "prepend-btns" }, this.renderPrevButtons()), this.simple ? (h("div", { class: "pagination-info" }, h("span", { class: "current-page" }, this.currentPage), h("span", null, "/"), h("span", { class: "last-page" }, this.lastPage))) : (this.pageNumbers.map(n => (h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
76
+ return (h("div", { key: '1065ad3060754151c2097d130a2317ed6c064a6f', class: this.paginationClasses }, h("div", { key: '86aae86adce4d262b49190d06130b6f5b17dd52a', class: "prepend-btns" }, this.renderPrevButtons()), this.simple ? (h("div", { class: "pagination-info" }, h("span", { class: "current-page" }, this.currentPage), h("span", null, "/"), h("span", { class: "last-page" }, this.lastPage))) : (this.pageNumbers.map(n => (h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
77
77
  'pagination-btn': true,
78
78
  'pagination-btn--selected': this.currentPage === n,
79
79
  }, disabled: this.currentPage === n, style: {
80
80
  '--pagination-btn-width': `${this.buttonWidth}px`,
81
- }, onClick: () => this.handlePageChange(n) }, n)))), h("div", { key: '2b785eca4e7dd7b18f850cf90f92418d283171e2', class: "append-btns" }, this.renderNextButtons())));
81
+ }, onClick: () => this.handlePageChange(n) }, n)))), h("div", { key: '6615badfef07e61393bc4519fb784ef84191f784', class: "append-btns" }, this.renderNextButtons())));
82
82
  }
83
83
  static get is() { return "sd-pagination"; }
84
84
  static get encapsulation() { return "shadow"; }
@@ -31,11 +31,11 @@ export class SdPopover {
31
31
  this.showPopover = false;
32
32
  };
33
33
  render() {
34
- return (h(Fragment, { key: 'd15f1b55b6b397676fc9c96c48cef500ae84993b' }, this.label ? (h("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: this.icon, size: this.buttonSize, color: this.color, variant: this.buttonVariant, class: "sd-popover", onClick: () => (console.log('click popover'), (this.showPopover = !this.showPopover)) })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-popover", onClick: () => (console.log('click popover'), (this.showPopover = !this.showPopover)) })), this.showPopover && (h("sd-tooltip-portal", { key: 'eea0f3aeab811cfd1b228088517756de85b801d9', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: this.placement }, h("div", { key: '9db5d4ce6fc5e3f4b9358864c36c45b7958f15be', class: {
34
+ return (h(Fragment, { key: 'ddc099859685637ced58820f2dd8e2cb73a13594' }, this.label ? (h("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: this.icon, size: this.buttonSize, color: this.color, variant: this.buttonVariant, class: "sd-popover", onClick: () => (console.log('click popover'), (this.showPopover = !this.showPopover)) })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-popover", onClick: () => (console.log('click popover'), (this.showPopover = !this.showPopover)) })), this.showPopover && (h("sd-tooltip-portal", { key: '07e0fc27a7898027dc1fb3d9652b220ed29dc47d', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: this.placement }, h("div", { key: '63c8601759b01f4e4522c1ebf06210e5e6f73554', class: {
35
35
  'sd-popover-menu': true,
36
36
  [`sd-popover-menu--${this.placement}`]: true,
37
37
  [this.menuClass]: !!this.menuClass,
38
- } }, h("i", { key: '938a3f683ee00bb8b57d2b38229b137c60fb2fee', class: `sd-popover-menu__arrow sd-popover-menu__arrow--${this.placement}` }, h(TooltipArrow, { key: '70b4e58bd7d4e78ee82fbb54010e6b1cc369cb47' })), h("div", { key: 'f2b022d3b324a55fd39a224273d956a43fa778cf', class: "sd-popover-menu__content" }, this.menuTitle && h("div", { key: '0b6ad274cdc12dccaec60a1ae295ebf6cd908aa5', class: "sd-popover-menu__title" }, this.menuTitle), this.messages.length > 0 && (h("div", { key: '484c18a44b8a8bcd6ec850cbfa293b45acc55696', class: "sd-popover-menu__messages" }, this.messages.map(message => (h("div", null, message))))), this.buttons.length > 0 && (h("div", { key: '3e7eb1384a12ebf6be3f7da1bd76979957b41310', class: `sd-popover-menu__buttons sd-popover-menu__buttons--${this.buttons.length}` }, this.buttons.map(button => (h("sd-button", { ...button })))))), this.useClose && (h("button", { key: '87189dde9bf5ace19a53f35d4dab68c7fd5790f6', class: "sd-popover-menu__close-button", onClick: () => this.handleClose() }, h("sd-icon", { key: 'f4c1685ce30e7e15ed5d16faa4157489ae7d8bbb', name: "close", size: "12", color: "#AAAAAA" }))))))));
38
+ } }, h("i", { key: 'c299090e57d4e0f1d5ee87957c6c271ec63940a2', class: `sd-popover-menu__arrow sd-popover-menu__arrow--${this.placement}` }, h(TooltipArrow, { key: 'b54e63b3748a9251a66da6a9615ba9d8c9cf3818' })), h("div", { key: '3ce1c182e29c77363f929517ceb782c99dbc3a28', class: "sd-popover-menu__content" }, this.menuTitle && h("div", { key: 'e81679dca07a190c54b27b6435c25efb5788b027', class: "sd-popover-menu__title" }, this.menuTitle), this.messages.length > 0 && (h("div", { key: '5793115acdb1723b507f3b31a00157a2b90b16bb', class: "sd-popover-menu__messages" }, this.messages.map(message => (h("div", null, message))))), this.buttons.length > 0 && (h("div", { key: '4f4f4e6d9eab6321737d0be88752ba9be875998e', class: `sd-popover-menu__buttons sd-popover-menu__buttons--${this.buttons.length}` }, this.buttons.map(button => (h("sd-button", { ...button })))))), this.useClose && (h("button", { key: 'a17d12565b7327676ab1637988cfa30a0c9ed35f', class: "sd-popover-menu__close-button", onClick: () => this.handleClose() }, h("sd-icon", { key: 'c3c451b2ff7a3c640c236fb43b9d831f62e0d858', name: "close", size: "12", color: "#AAAAAA" }))))))));
39
39
  }
40
40
  static get is() { return "sd-popover"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -92,7 +92,7 @@ export class SdPortal {
92
92
  this.sdClose.emit();
93
93
  }
94
94
  render() {
95
- return h("slot", { key: 'b1a22a7a0865bf3984f79148dd6c97fce0268ca4' });
95
+ return h("slot", { key: '1cd6fdea1437dfb749536e76cd5edb8622d0d8c8' });
96
96
  }
97
97
  static get is() { return "sd-portal"; }
98
98
  static get properties() {
@@ -24,7 +24,7 @@ export class SdSelectOption {
24
24
  }
25
25
  };
26
26
  render() {
27
- return (h("div", { key: '6a41bb20544e864db75ec58455aacdf4a5411b2e', class: {
27
+ return (h("div", { key: '420ae30f1928e9051c5078b778e0eefb1ccd8ad7', class: {
28
28
  'sd-select__option': true,
29
29
  'sd-select__option--selected': this.isSelected,
30
30
  'sd-select__option--disabled': !!this.option.disabled,
@@ -27,11 +27,11 @@ export class SdTooltip {
27
27
  : {
28
28
  onClick: () => (console.log('click tooltip'), (this.showTooltip = !this.showTooltip)),
29
29
  };
30
- return (h(Fragment, { key: '8acd661f796fc9c006e966c1667a46752205ed48' }, this.label ? (h("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: this.icon, size: this.buttonSize, color: this.color, variant: this.buttonVariant, class: "sd-tooltip", ...handleTrigger })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-tooltip", ...handleTrigger })), this.showTooltip && (h("sd-tooltip-portal", { key: '4437a6b3df82731ebea80649c5e75ec203554dbd', parentRef: this.buttonEl, onSdClose: () => this.handleClose(), placement: this.placement }, h("div", { key: '43f186e6eb64b019359815b5cb43e50972ed782b', class: {
30
+ return (h(Fragment, { key: '94936b10ef4b9b926ac61b81365fba1cd426248f' }, this.label ? (h("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: this.icon, size: this.buttonSize, color: this.color, variant: this.buttonVariant, class: "sd-tooltip", ...handleTrigger })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-tooltip", ...handleTrigger })), this.showTooltip && (h("sd-tooltip-portal", { key: 'f162a5a2bf99f6538c671323cbde58d3adaffb31', parentRef: this.buttonEl, onSdClose: () => this.handleClose(), placement: this.placement }, h("div", { key: '34e9846aa2e8e04de06e994b61ff1c84c62af8b8', class: {
31
31
  'sd-tooltip-menu': true,
32
32
  [`sd-tooltip-menu--${this.placement}`]: true,
33
33
  'sd-tooltip-menu--with-close': this.useClose,
34
- } }, h("i", { key: '811ebc90e1dcee2e2c88357419009c017badcf6f', class: `sd-tooltip-menu__arrow sd-tooltip-menu__arrow--${this.placement}` }, h(TooltipArrow, { key: '8907d113ccc956c3bc1e1dca2267f992ccd94d09' })), h("div", { key: '22fbfd6b6ce6c5efe4f75f9e4d208b05ea945783', class: "sd-tooltip-menu__content" }, h("slot", { key: '7c953be946fb90b8e4512eacd6da913000a75f19' }, this.el.textContent)), this.useClose && (h("div", { key: '039dd932a468cb7419beec5d929514c4866d7992', class: "sd-tooltip-menu__close-button" }, h("button", { key: '4edc7ea5cec0cb8023a3aa848cc208a8379b5fbb', onClick: () => this.handleClose() }, h("sd-icon", { key: '51ecdb054e7b34dd6872b14964034c1e1e870ff6', name: "close", size: "12", color: "#AAAAAA" })))))))));
34
+ } }, h("i", { key: 'dcd5009ae7acbb7421076f2dd5f74f039a9db4c7', class: `sd-tooltip-menu__arrow sd-tooltip-menu__arrow--${this.placement}` }, h(TooltipArrow, { key: '80c198c65d5e2eaece8dbdf71a2dfd287b638bcf' })), h("div", { key: 'bc1392c0a4926ea5ca89d657d151a2dd812ba1fe', class: "sd-tooltip-menu__content" }, h("slot", { key: '038ce320d51e6a405c3d7d00256a5ca1cc82569c' }, this.el.textContent)), this.useClose && (h("div", { key: '435453a6e4d04fae3f44dc9691e2e546e0e34fae', class: "sd-tooltip-menu__close-button" }, h("button", { key: 'b4f0eec2e85eeaad94a4b8da31350f09d01285fb', onClick: () => this.handleClose() }, h("sd-icon", { key: '9e0943a7104d7445ec56ed1286310f0c5d303082', name: "close", size: "12", color: "#AAAAAA" })))))))));
35
35
  }
36
36
  static get is() { return "sd-tooltip"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -143,7 +143,7 @@ export class SdTooltipPortal {
143
143
  this.sdClose.emit();
144
144
  }
145
145
  render() {
146
- return h("slot", { key: '3a845f83619e1bff0b6b67abddd7fc21cb47e2ba' });
146
+ return h("slot", { key: 'da351ee1e01b2329ab453245f4272758f1f3889e' });
147
147
  }
148
148
  static get is() { return "sd-tooltip-portal"; }
149
149
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,4 @@
1
- export { g as getAssetPath, r as render, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-D_I5tXD6.js';
1
+ export { g as getAssetPath, r as render, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-CLODAhOA.js';
2
2
 
3
3
  function format(first, middle, last) {
4
4
  return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
@@ -1,269 +1,5 @@
1
- import { h, p as proxyCustomElement, H } from './p-D_I5tXD6.js';
2
-
3
- const primary = "#051d36";
4
- const secondary = "#555555";
5
- const accent = "#9c27b0";
6
- const positive = "#0075ff";
7
- const negative = "#e30000";
8
- const info = "#00cd52";
9
- const warning = "#f2c037";
10
- const red_99 = "#220000";
11
- const red_95 = "#440000";
12
- const red_90 = "#5E0000";
13
- const red_85 = "#820000";
14
- const red_80 = "#AD0000";
15
- const red_75 = "#E30000";
16
- const red_70 = "#FB4444";
17
- const red_60 = "#FF7C7C";
18
- const red_45 = "#FFB5B5";
19
- const red_30 = "#FFD3D3";
20
- const red_20 = "#FCE6E6";
21
- const red_15 = "#FCEFEF";
22
- const caution_bg = "#FEF1F1";
23
- const caution_icon = "#fd9595";
24
- const orange_99 = "#2F1100";
25
- const orange_95 = "#4D1B00";
26
- const orange_90 = "#752A00";
27
- const orange_85 = "#9B3700";
28
- const orange_75 = "#CE4900";
29
- const orange_65 = "#FF6B00";
30
- const orange_60 = "#FF7F22";
31
- const orange_55 = "#FFA452";
32
- const orange_45 = "#FFBC81";
33
- const orange_35 = "#FFD5AF";
34
- const orange_20 = "#FFEAD7";
35
- const orange_10 = "#FEF1EA";
36
- const header_alert = "#FF7A00";
37
- const yellow_95 = "#322700";
38
- const yellow_90 = "#453702";
39
- const yellow_80 = "#6C5602";
40
- const yellow_70 = "#9C7A00";
41
- const yellow_60 = "#C49900";
42
- const yellow_50 = "#EBB800";
43
- const yellow_45 = "#FFC700";
44
- const yellow_40 = "#FFD643";
45
- const yellow_30 = "#FEE17C";
46
- const yellow_25 = "#FFE99E";
47
- const yellow_20 = "#FEF1C4";
48
- const yellow_10 = "#FFF7DD";
49
- const olive_95 = "#2C2C00";
50
- const olive_90 = "#454500";
51
- const olive_80 = "#636300";
52
- const olive_70 = "#838300";
53
- const olive_65 = "#A5A500";
54
- const olive_55 = "#C7C700";
55
- const olive_45 = "#DDDD12";
56
- const olive_30 = "#EEEE37";
57
- const olive_20 = "#F6F65F";
58
- const olive_15 = "#FAFAA1";
59
- const olive_10 = "#FBFBBF";
60
- const olive_05 = "#FEFED9";
61
- const green_99 = "#001D0B";
62
- const green_95 = "#003013";
63
- const green_90 = "#00461C";
64
- const green_85 = "#006629";
65
- const green_80 = "#007B31";
66
- const green_75 = "#00973C";
67
- const green_70 = "#12B553";
68
- const green_65 = "#2BCE6C";
69
- const green_55 = "#6DE39C";
70
- const green_45 = "#ACF4C9";
71
- const green_25 = "#D4FAE3";
72
- const green_15 = "#E8F9EF";
73
- const steelblue_99 = "#021a25";
74
- const steelblue_95 = "#02212f";
75
- const steelblue_90 = "#032d40";
76
- const steelblue_85 = "#033f59";
77
- const steelblue_80 = "#06587d";
78
- const steelblue_75 = "#066d9b";
79
- const steelblue_70 = "#128fc7";
80
- const steelblue_65 = "#229fd7";
81
- const steelblue_60 = "#50bff0";
82
- const steelblue_45 = "#a4e2fd";
83
- const steelblue_25 = "#d9f2fd";
84
- const steelblue_10 = "#ecf8fd";
85
- const oceanblue_99 = "#011428";
86
- const oceanblue_95 = "#03172d";
87
- const oceanblue_90 = "#051d36";
88
- const oceanblue_85 = "#07284a";
89
- const oceanblue_80 = "#004177";
90
- const oceanblue_75 = "#025497";
91
- const oceanblue_70 = "#006ac1";
92
- const oceanblue_65 = "#1f8ae1";
93
- const oceanblue_60 = "#5cb0f3";
94
- const oceanblue_50 = "#9cd1fc";
95
- const oceanblue_25 = "#d5ebfe";
96
- const oceanblue_15 = "#eaf5fe";
97
- const brilliantblue_99 = "#001226";
98
- const brilliantblue_95 = "#001b39";
99
- const brilliantblue_90 = "#002b5e";
100
- const brilliantblue_85 = "#004290";
101
- const brilliantblue_80 = "#005cc9";
102
- const brilliantblue_75 = "#0075ff";
103
- const brilliantblue_70 = "#2d8dff";
104
- const brilliantblue_60 = "#64abff";
105
- const brilliantblue_50 = "#93c4ff";
106
- const brilliantblue_40 = "#bbdaff";
107
- const brilliantblue_25 = "#d9eaff";
108
- const brilliantblue_20 = "#e6f1ff";
109
- const brilliantblue_10 = "#eff6ff";
110
- const brilliantblue_05 = "#f5faff";
111
- const grey_95 = "#222222";
112
- const grey_90 = "#333333";
113
- const grey_85 = "#444444";
114
- const grey_80 = "#555555";
115
- const grey_70 = "#737373";
116
- const grey_65 = "#888888";
117
- const grey_60 = "#999999";
118
- const grey_55 = "#aaaaaa";
119
- const grey_50 = "#bbbbbb";
120
- const grey_45 = "#cccccc";
121
- const grey_35 = "#D8D8D8";
122
- const grey_30 = "#e1e1e1";
123
- const grey_25 = "#E5E5E5";
124
- const grey_20 = "#eeeeee";
125
- const grey_10 = "#f6f6f6";
126
- const grey_05 = "#f9f9f9";
127
- const white = "#ffffff";
128
- const black = "#000000";
129
- var colors$1 = {
130
- primary: primary,
131
- secondary: secondary,
132
- accent: accent,
133
- positive: positive,
134
- negative: negative,
135
- info: info,
136
- warning: warning,
137
- red_99: red_99,
138
- red_95: red_95,
139
- red_90: red_90,
140
- red_85: red_85,
141
- red_80: red_80,
142
- red_75: red_75,
143
- red_70: red_70,
144
- red_60: red_60,
145
- red_45: red_45,
146
- red_30: red_30,
147
- red_20: red_20,
148
- red_15: red_15,
149
- caution_bg: caution_bg,
150
- caution_icon: caution_icon,
151
- orange_99: orange_99,
152
- orange_95: orange_95,
153
- orange_90: orange_90,
154
- orange_85: orange_85,
155
- orange_75: orange_75,
156
- orange_65: orange_65,
157
- orange_60: orange_60,
158
- orange_55: orange_55,
159
- orange_45: orange_45,
160
- orange_35: orange_35,
161
- orange_20: orange_20,
162
- orange_10: orange_10,
163
- header_alert: header_alert,
164
- yellow_95: yellow_95,
165
- yellow_90: yellow_90,
166
- yellow_80: yellow_80,
167
- yellow_70: yellow_70,
168
- yellow_60: yellow_60,
169
- yellow_50: yellow_50,
170
- yellow_45: yellow_45,
171
- yellow_40: yellow_40,
172
- yellow_30: yellow_30,
173
- yellow_25: yellow_25,
174
- yellow_20: yellow_20,
175
- yellow_10: yellow_10,
176
- olive_95: olive_95,
177
- olive_90: olive_90,
178
- olive_80: olive_80,
179
- olive_70: olive_70,
180
- olive_65: olive_65,
181
- olive_55: olive_55,
182
- olive_45: olive_45,
183
- olive_30: olive_30,
184
- olive_20: olive_20,
185
- olive_15: olive_15,
186
- olive_10: olive_10,
187
- olive_05: olive_05,
188
- green_99: green_99,
189
- green_95: green_95,
190
- green_90: green_90,
191
- green_85: green_85,
192
- green_80: green_80,
193
- green_75: green_75,
194
- green_70: green_70,
195
- green_65: green_65,
196
- green_55: green_55,
197
- green_45: green_45,
198
- green_25: green_25,
199
- green_15: green_15,
200
- steelblue_99: steelblue_99,
201
- steelblue_95: steelblue_95,
202
- steelblue_90: steelblue_90,
203
- steelblue_85: steelblue_85,
204
- steelblue_80: steelblue_80,
205
- steelblue_75: steelblue_75,
206
- steelblue_70: steelblue_70,
207
- steelblue_65: steelblue_65,
208
- steelblue_60: steelblue_60,
209
- steelblue_45: steelblue_45,
210
- steelblue_25: steelblue_25,
211
- steelblue_10: steelblue_10,
212
- oceanblue_99: oceanblue_99,
213
- oceanblue_95: oceanblue_95,
214
- oceanblue_90: oceanblue_90,
215
- oceanblue_85: oceanblue_85,
216
- oceanblue_80: oceanblue_80,
217
- oceanblue_75: oceanblue_75,
218
- oceanblue_70: oceanblue_70,
219
- oceanblue_65: oceanblue_65,
220
- oceanblue_60: oceanblue_60,
221
- oceanblue_50: oceanblue_50,
222
- oceanblue_25: oceanblue_25,
223
- oceanblue_15: oceanblue_15,
224
- brilliantblue_99: brilliantblue_99,
225
- brilliantblue_95: brilliantblue_95,
226
- brilliantblue_90: brilliantblue_90,
227
- brilliantblue_85: brilliantblue_85,
228
- brilliantblue_80: brilliantblue_80,
229
- brilliantblue_75: brilliantblue_75,
230
- brilliantblue_70: brilliantblue_70,
231
- brilliantblue_60: brilliantblue_60,
232
- brilliantblue_50: brilliantblue_50,
233
- brilliantblue_40: brilliantblue_40,
234
- brilliantblue_25: brilliantblue_25,
235
- brilliantblue_20: brilliantblue_20,
236
- brilliantblue_10: brilliantblue_10,
237
- brilliantblue_05: brilliantblue_05,
238
- grey_95: grey_95,
239
- grey_90: grey_90,
240
- grey_85: grey_85,
241
- grey_80: grey_80,
242
- grey_70: grey_70,
243
- grey_65: grey_65,
244
- grey_60: grey_60,
245
- grey_55: grey_55,
246
- grey_50: grey_50,
247
- grey_45: grey_45,
248
- grey_35: grey_35,
249
- grey_30: grey_30,
250
- grey_25: grey_25,
251
- grey_20: grey_20,
252
- grey_10: grey_10,
253
- grey_05: grey_05,
254
- white: white,
255
- black: black
256
- };
257
-
258
- const colors = colors$1;
259
- // 주어진 문자열이 color.json의 키이면 매핑된 HEX를 반환하고,
260
- // 아닐 경우 원문 그대로를 반환합니다. 값이 falsy면 기본 색상으로 대체합니다.
261
- function resolveColor(input, fallback = '#025497') {
262
- if (!input)
263
- return fallback;
264
- const mapped = colors[input];
265
- return mapped || input;
266
- }
1
+ import { h, p as proxyCustomElement, H } from './p-CLODAhOA.js';
2
+ import { r as resolveColor } from './p-BYf-ybt2.js';
267
3
 
268
4
  const Check12 = (props) => {
269
5
  return (h("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, h("g", { "clip-path": "url(#clip0_8697_9693)" }, h("path", { d: "M10.5962 3.19745L5.02773 8.76591C4.97891 8.81473 4.89977 8.81473 4.85095 8.76591L1.40381 5.31877", stroke: "currentColor", "stroke-width": "0.75", "stroke-linecap": "round" })), h("defs", null, h("clipPath", { id: "clip0_8697_9693" }, h("rect", { width: "12", height: "12", fill: "none" })))));
@@ -576,10 +312,10 @@ const SdIcon = /*@__PURE__*/ proxyCustomElement(class SdIcon extends H {
576
312
  }
577
313
  render() {
578
314
  const IconComponent = Icons[this.name]?.[this.size];
579
- return (h("i", { key: '9d53cc78e1433e03e0329dc59b2fcb704dfc5229', class: this.getIconClasses(), style: this.iconStyle }, h(IconComponent, { key: 'f2e0c3c9eec1efb16a6aa703ae7e112b89a90876', color: this.resolvedColor })));
315
+ return (h("i", { key: 'e9b6db9025ea08dd24e82dc0f37090109b707a12', class: this.getIconClasses(), style: this.iconStyle }, h(IconComponent, { key: '03592c460972f9ea07cb6b86c8dcbbf1f52bb9ff', color: this.resolvedColor })));
580
316
  }
581
317
  static get style() { return sdIconCss; }
582
- }, [258, "sd-icon", {
318
+ }, [770, "sd-icon", {
583
319
  "name": [1],
584
320
  "size": [8],
585
321
  "color": [1],
@@ -601,7 +337,7 @@ function defineCustomElement() {
601
337
  } });
602
338
  }
603
339
 
604
- export { SdIcon as S, colors$1 as c, defineCustomElement as d, resolveColor as r };
605
- //# sourceMappingURL=p-B0--8AFP.js.map
340
+ export { SdIcon as S, defineCustomElement as d };
341
+ //# sourceMappingURL=p-0rgiptJp.js.map
606
342
 
607
- //# sourceMappingURL=p-B0--8AFP.js.map
343
+ //# sourceMappingURL=p-0rgiptJp.js.map