@sellmate/design-system 0.0.28 → 0.0.31
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.
- package/dist/cjs/design-system.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sd-button.sd-checkbox.sd-guide.sd-icon.sd-input.sd-loading-spinner.sd-pagination.sd-portal.sd-select.sd-select-option.sd-table.sd-tooltip.sd-tooltip-portal.entry.cjs.js.map +1 -1
- package/dist/cjs/sd-button_13.cjs.entry.js +184 -19
- package/dist/cjs/sd-progress.cjs.entry.js +44 -0
- package/dist/cjs/sd-progress.entry.cjs.js.map +1 -0
- package/dist/cjs/sd-select-multiple.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-option-group.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/assets/arrow2Up/Arrow2Up10.js +3 -0
- package/dist/collection/components/assets/arrow2Up/Arrow2Up10.js.map +1 -0
- package/dist/collection/components/assets/arrow2Up/Arrow2Up12.js +3 -0
- package/dist/collection/components/assets/arrow2Up/Arrow2Up12.js.map +1 -0
- package/dist/collection/components/assets/arrow2Up/Arrow2Up16.js +3 -0
- package/dist/collection/components/assets/arrow2Up/Arrow2Up16.js.map +1 -0
- package/dist/collection/components/assets/arrow2Up/Arrow2Up20.js +3 -0
- package/dist/collection/components/assets/arrow2Up/Arrow2Up20.js.map +1 -0
- package/dist/collection/components/assets/arrow2Up/Arrow2Up24.js +3 -0
- package/dist/collection/components/assets/arrow2Up/Arrow2Up24.js.map +1 -0
- package/dist/collection/components/assets/arrow2Up/Arrow2Up8.js +3 -0
- package/dist/collection/components/assets/arrow2Up/Arrow2Up8.js.map +1 -0
- package/dist/collection/components/assets/arrow2Up/index.js +15 -0
- package/dist/collection/components/assets/arrow2Up/index.js.map +1 -0
- package/dist/collection/components/assets/checkFilled/CheckFilled10.js +3 -0
- package/dist/collection/components/assets/checkFilled/CheckFilled10.js.map +1 -0
- package/dist/collection/components/assets/checkFilled/CheckFilled12.js +3 -0
- package/dist/collection/components/assets/checkFilled/CheckFilled12.js.map +1 -0
- package/dist/collection/components/assets/checkFilled/CheckFilled16.js +3 -0
- package/dist/collection/components/assets/checkFilled/CheckFilled16.js.map +1 -0
- package/dist/collection/components/assets/checkFilled/CheckFilled20.js +3 -0
- package/dist/collection/components/assets/checkFilled/CheckFilled20.js.map +1 -0
- package/dist/collection/components/assets/checkFilled/CheckFilled24.js +3 -0
- package/dist/collection/components/assets/checkFilled/CheckFilled24.js.map +1 -0
- package/dist/collection/components/assets/checkFilled/CheckFilled8.js +3 -0
- package/dist/collection/components/assets/checkFilled/CheckFilled8.js.map +1 -0
- package/dist/collection/components/assets/checkFilled/index.js +15 -0
- package/dist/collection/components/assets/checkFilled/index.js.map +1 -0
- package/dist/collection/components/assets/checkOutline/CheckOutline10.js +3 -0
- package/dist/collection/components/assets/checkOutline/CheckOutline10.js.map +1 -0
- package/dist/collection/components/assets/checkOutline/CheckOutline12.js +3 -0
- package/dist/collection/components/assets/checkOutline/CheckOutline12.js.map +1 -0
- package/dist/collection/components/assets/checkOutline/CheckOutline16.js +3 -0
- package/dist/collection/components/assets/checkOutline/CheckOutline16.js.map +1 -0
- package/dist/collection/components/assets/checkOutline/CheckOutline20.js +3 -0
- package/dist/collection/components/assets/checkOutline/CheckOutline20.js.map +1 -0
- package/dist/collection/components/assets/checkOutline/CheckOutline24.js +3 -0
- package/dist/collection/components/assets/checkOutline/CheckOutline24.js.map +1 -0
- package/dist/collection/components/assets/checkOutline/CheckOutline8.js +3 -0
- package/dist/collection/components/assets/checkOutline/CheckOutline8.js.map +1 -0
- package/dist/collection/components/assets/checkOutline/index.js +15 -0
- package/dist/collection/components/assets/checkOutline/index.js.map +1 -0
- package/dist/collection/components/assets/etc/etc10.js +3 -0
- package/dist/collection/components/assets/etc/etc10.js.map +1 -0
- package/dist/collection/components/assets/etc/etc12.js +3 -0
- package/dist/collection/components/assets/etc/etc12.js.map +1 -0
- package/dist/collection/components/assets/etc/etc16.js +3 -0
- package/dist/collection/components/assets/etc/etc16.js.map +1 -0
- package/dist/collection/components/assets/etc/etc20.js +3 -0
- package/dist/collection/components/assets/etc/etc20.js.map +1 -0
- package/dist/collection/components/assets/etc/etc24.js +3 -0
- package/dist/collection/components/assets/etc/etc24.js.map +1 -0
- package/dist/collection/components/assets/etc/etc8.js +3 -0
- package/dist/collection/components/assets/etc/etc8.js.map +1 -0
- package/dist/collection/components/assets/etc/index.js +15 -0
- package/dist/collection/components/assets/etc/index.js.map +1 -0
- package/dist/collection/components/assets/index.js +13 -1
- package/dist/collection/components/assets/index.js.map +1 -1
- package/dist/collection/components/assets/notificationFilled/NotificationFilled10.js +3 -0
- package/dist/collection/components/assets/notificationFilled/NotificationFilled10.js.map +1 -0
- package/dist/collection/components/assets/notificationFilled/NotificationFilled12.js +3 -0
- package/dist/collection/components/assets/notificationFilled/NotificationFilled12.js.map +1 -0
- package/dist/collection/components/assets/notificationFilled/NotificationFilled16.js +3 -0
- package/dist/collection/components/assets/notificationFilled/NotificationFilled16.js.map +1 -0
- package/dist/collection/components/assets/notificationFilled/NotificationFilled20.js +3 -0
- package/dist/collection/components/assets/notificationFilled/NotificationFilled20.js.map +1 -0
- package/dist/collection/components/assets/notificationFilled/NotificationFilled24.js +3 -0
- package/dist/collection/components/assets/notificationFilled/NotificationFilled24.js.map +1 -0
- package/dist/collection/components/assets/notificationFilled/NotificationFilled8.js +3 -0
- package/dist/collection/components/assets/notificationFilled/NotificationFilled8.js.map +1 -0
- package/dist/collection/components/assets/notificationFilled/index.js +15 -0
- package/dist/collection/components/assets/notificationFilled/index.js.map +1 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline10.js +3 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline10.js.map +1 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline12.js +3 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline12.js.map +1 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline16.js +3 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline16.js.map +1 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline20.js +3 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline20.js.map +1 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline24.js +3 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline24.js.map +1 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline32.js +3 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline32.js.map +1 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline8.js +3 -0
- package/dist/collection/components/assets/notificationOutline/NotificationOutline8.js.map +1 -0
- package/dist/collection/components/assets/notificationOutline/index.js +17 -0
- package/dist/collection/components/assets/notificationOutline/index.js.map +1 -0
- package/dist/collection/components/sd-button/sd-button.js +2 -2
- package/dist/collection/components/sd-icon/sd-icon.js +1 -1
- package/dist/collection/components/sd-popover/sd-popover.js +1 -1
- package/dist/collection/components/sd-progress/sd-progress.css +61 -0
- package/dist/collection/components/sd-progress/sd-progress.js +194 -0
- package/dist/collection/components/sd-progress/sd-progress.js.map +1 -0
- package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
- package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +2 -2
- package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +5 -5
- package/dist/collection/components/sd-tooltip-portal/sd-tooltip-portal.js +1 -1
- package/dist/components/{p-Dlnd_Pdj.js → p-B18yJb2O.js} +7 -7
- package/dist/components/{p-Dlnd_Pdj.js.map → p-B18yJb2O.js.map} +1 -1
- package/dist/components/{p-c8NhJgfj.js → p-BLVHOrsi.js} +3 -3
- package/dist/components/{p-c8NhJgfj.js.map → p-BLVHOrsi.js.map} +1 -1
- package/dist/components/{p-8g6E1lU1.js → p-BNY55XpQ.js} +5 -5
- package/dist/components/{p-8g6E1lU1.js.map → p-BNY55XpQ.js.map} +1 -1
- package/dist/components/{p-BVE3eRxw.js → p-BZjhXFoV.js} +3 -3
- package/dist/components/{p-BVE3eRxw.js.map → p-BZjhXFoV.js.map} +1 -1
- package/dist/components/{p-DuhvG9b9.js → p-DobE7cC4.js} +3 -3
- package/dist/components/{p-DuhvG9b9.js.map → p-DobE7cC4.js.map} +1 -1
- package/dist/components/{p-CQILI9BE.js → p-Dvtwm2UI.js} +9 -9
- package/dist/components/{p-CQILI9BE.js.map → p-Dvtwm2UI.js.map} +1 -1
- package/dist/components/{p-BE9Qgz8_.js → p-RnzZWR4A.js} +3 -3
- package/dist/components/{p-BE9Qgz8_.js.map → p-RnzZWR4A.js.map} +1 -1
- package/dist/components/{p-CTKP1VO1.js → p-T0Fd7Ziu.js} +6 -6
- package/dist/components/{p-CTKP1VO1.js.map → p-T0Fd7Ziu.js.map} +1 -1
- package/dist/components/{p-CWi3wc4b.js → p-X8UHtq2f.js} +180 -15
- package/dist/components/p-X8UHtq2f.js.map +1 -0
- package/dist/components/{p-BClhb3Gm.js → p-zEI1HiVv.js} +3 -3
- package/dist/components/{p-BClhb3Gm.js.map → p-zEI1HiVv.js.map} +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-date-picker.js +2 -2
- package/dist/components/sd-date-range-picker.js +2 -2
- package/dist/components/sd-guide.js +2 -2
- package/dist/components/sd-icon.js +1 -1
- package/dist/components/sd-input.js +1 -1
- package/dist/components/sd-pagination.js +1 -1
- package/dist/components/sd-popover.js +3 -3
- package/dist/components/sd-progress.d.ts +11 -0
- package/dist/components/sd-progress.js +70 -0
- package/dist/components/sd-progress.js.map +1 -0
- package/dist/components/sd-select-multiple-group.js +4 -4
- package/dist/components/sd-select-multiple.js +6 -6
- package/dist/components/sd-select-option-group.js +1 -1
- package/dist/components/sd-select-option.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-table.js +9 -9
- package/dist/components/sd-tooltip-portal.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/{p-ff4feeff.entry.js → p-1b6b3344.entry.js} +2 -2
- package/dist/design-system/p-6d1c2089.entry.js +2 -0
- package/dist/design-system/p-6d1c2089.entry.js.map +1 -0
- package/dist/design-system/p-760dafe5.entry.js +2 -0
- package/dist/design-system/p-760dafe5.entry.js.map +1 -0
- package/dist/design-system/{p-e2a11135.entry.js → p-e9800353.entry.js} +2 -2
- package/dist/design-system/sd-button.sd-checkbox.sd-guide.sd-icon.sd-input.sd-loading-spinner.sd-pagination.sd-portal.sd-select.sd-select-option.sd-table.sd-tooltip.sd-tooltip-portal.entry.esm.js.map +1 -1
- package/dist/design-system/sd-progress.entry.esm.js.map +1 -0
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sd-button.sd-checkbox.sd-guide.sd-icon.sd-input.sd-loading-spinner.sd-pagination.sd-portal.sd-select.sd-select-option.sd-table.sd-tooltip.sd-tooltip-portal.entry.js.map +1 -1
- package/dist/esm/sd-button_13.entry.js +184 -19
- package/dist/esm/sd-progress.entry.js +42 -0
- package/dist/esm/sd-progress.entry.js.map +1 -0
- package/dist/esm/sd-select-multiple.entry.js +2 -2
- package/dist/esm/sd-select-option-group.entry.js +3 -3
- package/dist/types/components/assets/arrow2Up/Arrow2Up10.d.ts +1 -0
- package/dist/types/components/assets/arrow2Up/Arrow2Up12.d.ts +1 -0
- package/dist/types/components/assets/arrow2Up/Arrow2Up16.d.ts +1 -0
- package/dist/types/components/assets/arrow2Up/Arrow2Up20.d.ts +1 -0
- package/dist/types/components/assets/arrow2Up/Arrow2Up24.d.ts +1 -0
- package/dist/types/components/assets/arrow2Up/Arrow2Up8.d.ts +1 -0
- package/dist/types/components/assets/arrow2Up/index.d.ts +8 -0
- package/dist/types/components/assets/checkFilled/CheckFilled10.d.ts +1 -0
- package/dist/types/components/assets/checkFilled/CheckFilled12.d.ts +1 -0
- package/dist/types/components/assets/checkFilled/CheckFilled16.d.ts +1 -0
- package/dist/types/components/assets/checkFilled/CheckFilled20.d.ts +1 -0
- package/dist/types/components/assets/checkFilled/CheckFilled24.d.ts +1 -0
- package/dist/types/components/assets/checkFilled/CheckFilled8.d.ts +1 -0
- package/dist/types/components/assets/checkFilled/index.d.ts +8 -0
- package/dist/types/components/assets/checkOutline/CheckOutline10.d.ts +1 -0
- package/dist/types/components/assets/checkOutline/CheckOutline12.d.ts +1 -0
- package/dist/types/components/assets/checkOutline/CheckOutline16.d.ts +1 -0
- package/dist/types/components/assets/checkOutline/CheckOutline20.d.ts +1 -0
- package/dist/types/components/assets/checkOutline/CheckOutline24.d.ts +1 -0
- package/dist/types/components/assets/checkOutline/CheckOutline8.d.ts +1 -0
- package/dist/types/components/assets/checkOutline/index.d.ts +8 -0
- package/dist/types/components/assets/etc/etc10.d.ts +1 -0
- package/dist/types/components/assets/etc/etc12.d.ts +1 -0
- package/dist/types/components/assets/etc/etc16.d.ts +1 -0
- package/dist/types/components/assets/etc/etc20.d.ts +1 -0
- package/dist/types/components/assets/etc/etc24.d.ts +1 -0
- package/dist/types/components/assets/etc/etc8.d.ts +1 -0
- package/dist/types/components/assets/etc/index.d.ts +8 -0
- package/dist/types/components/assets/index.d.ts +49 -0
- package/dist/types/components/assets/notificationFilled/NotificationFilled10.d.ts +1 -0
- package/dist/types/components/assets/notificationFilled/NotificationFilled12.d.ts +1 -0
- package/dist/types/components/assets/notificationFilled/NotificationFilled16.d.ts +1 -0
- package/dist/types/components/assets/notificationFilled/NotificationFilled20.d.ts +1 -0
- package/dist/types/components/assets/notificationFilled/NotificationFilled24.d.ts +1 -0
- package/dist/types/components/assets/notificationFilled/NotificationFilled8.d.ts +1 -0
- package/dist/types/components/assets/notificationFilled/index.d.ts +8 -0
- package/dist/types/components/assets/notificationOutline/NotificationOutline10.d.ts +1 -0
- package/dist/types/components/assets/notificationOutline/NotificationOutline12.d.ts +1 -0
- package/dist/types/components/assets/notificationOutline/NotificationOutline16.d.ts +1 -0
- package/dist/types/components/assets/notificationOutline/NotificationOutline20.d.ts +1 -0
- package/dist/types/components/assets/notificationOutline/NotificationOutline24.d.ts +1 -0
- package/dist/types/components/assets/notificationOutline/NotificationOutline32.d.ts +1 -0
- package/dist/types/components/assets/notificationOutline/NotificationOutline8.d.ts +1 -0
- package/dist/types/components/assets/notificationOutline/index.d.ts +9 -0
- package/dist/types/components/sd-progress/sd-progress.d.ts +12 -0
- package/dist/types/components.d.ts +55 -0
- package/hydrate/index.js +243 -24
- package/hydrate/index.mjs +243 -24
- package/package.json +2 -2
- package/dist/components/p-CWi3wc4b.js.map +0 -1
- package/dist/design-system/p-f2cd9899.entry.js +0 -2
- package/dist/design-system/p-f2cd9899.entry.js.map +0 -1
- /package/dist/design-system/{p-ff4feeff.entry.js.map → p-1b6b3344.entry.js.map} +0 -0
- /package/dist/design-system/{p-e2a11135.entry.js.map → p-e9800353.entry.js.map} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export const NotificationOutline32 = (props) => (h("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, h("g", { "clip-path": "url(#clip0_8699_12796)" }, h("g", { "clip-path": "url(#clip1_8699_12796)" }, h("path", { d: "M15.9993 1.39973C24.0625 1.39973 30.5996 7.93629 30.5999 15.9993C30.5999 24.0627 24.0627 30.5999 15.9993 30.5999C7.93627 30.5996 1.39972 24.0625 1.39972 15.9993C1.40008 7.93651 7.93649 1.40009 15.9993 1.39973ZM15.9993 3.39973C9.04106 3.40009 3.40008 9.04108 3.39972 15.9993C3.39972 22.9579 9.04084 28.5996 15.9993 28.5999C22.9581 28.5999 28.5999 22.9581 28.5999 15.9993C28.5996 9.04086 22.9579 3.39973 15.9993 3.39973ZM16.0003 20.6663C16.7365 20.6665 17.3333 21.264 17.3333 22.0003C17.3331 22.7365 16.7364 23.3332 16.0003 23.3333C15.264 23.3333 14.6665 22.7366 14.6663 22.0003C14.6663 21.2639 15.2639 20.6663 16.0003 20.6663ZM16.0003 8.50032C16.5524 8.50049 17.0003 8.94814 17.0003 9.50032V17.5003C17.0001 18.0524 16.5523 18.5002 16.0003 18.5003C15.4481 18.5003 15.0005 18.0525 15.0003 17.5003V9.50032C15.0003 8.94804 15.448 8.50032 16.0003 8.50032Z", fill: "currentColor" }))), h("defs", null, h("clipPath", { id: "clip0_8699_12796" }, h("rect", { width: "32", height: "32", fill: "transparent" })), h("clipPath", { id: "clip1_8699_12796" }, h("rect", { width: "32", height: "32", fill: "transparent" })))));
|
|
3
|
+
//# sourceMappingURL=NotificationOutline32.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationOutline32.js","sourceRoot":"","sources":["../../../../src/components/assets/notificationOutline/NotificationOutline32.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,KAAe,EAAE,EAAE,CAAC,CACzD,WACC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,KAC9B,KAAK;IAET,sBAAa,wBAAwB;QACpC,sBAAa,wBAAwB;YACpC,YACC,CAAC,EAAC,m1BAAm1B,EACr1B,IAAI,EAAC,cAAc,GAClB,CACC,CACD;IACJ;QACC,gBAAU,EAAE,EAAC,kBAAkB;YAC9B,YAAM,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,EAAC,aAAa,GAAG,CACxC;QACX,gBAAU,EAAE,EAAC,kBAAkB;YAC9B,YAAM,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,EAAC,aAAa,GAAG,CACxC,CACL,CACF,CACN,CAAC","sourcesContent":["import { h } from '@stencil/core';\n\nexport const NotificationOutline32 = (props: SVGProps) => (\n <svg\n width=\"32\"\n height=\"32\"\n viewBox=\"0 0 32 32\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g clip-path=\"url(#clip0_8699_12796)\">\n <g clip-path=\"url(#clip1_8699_12796)\">\n <path\n d=\"M15.9993 1.39973C24.0625 1.39973 30.5996 7.93629 30.5999 15.9993C30.5999 24.0627 24.0627 30.5999 15.9993 30.5999C7.93627 30.5996 1.39972 24.0625 1.39972 15.9993C1.40008 7.93651 7.93649 1.40009 15.9993 1.39973ZM15.9993 3.39973C9.04106 3.40009 3.40008 9.04108 3.39972 15.9993C3.39972 22.9579 9.04084 28.5996 15.9993 28.5999C22.9581 28.5999 28.5999 22.9581 28.5999 15.9993C28.5996 9.04086 22.9579 3.39973 15.9993 3.39973ZM16.0003 20.6663C16.7365 20.6665 17.3333 21.264 17.3333 22.0003C17.3331 22.7365 16.7364 23.3332 16.0003 23.3333C15.264 23.3333 14.6665 22.7366 14.6663 22.0003C14.6663 21.2639 15.2639 20.6663 16.0003 20.6663ZM16.0003 8.50032C16.5524 8.50049 17.0003 8.94814 17.0003 9.50032V17.5003C17.0001 18.0524 16.5523 18.5002 16.0003 18.5003C15.4481 18.5003 15.0005 18.0525 15.0003 17.5003V9.50032C15.0003 8.94804 15.448 8.50032 16.0003 8.50032Z\"\n fill=\"currentColor\"\n />\n </g>\n </g>\n <defs>\n <clipPath id=\"clip0_8699_12796\">\n <rect width=\"32\" height=\"32\" fill=\"transparent\" />\n </clipPath>\n <clipPath id=\"clip1_8699_12796\">\n <rect width=\"32\" height=\"32\" fill=\"transparent\" />\n </clipPath>\n </defs>\n </svg>\n);\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export const NotificationOutline8 = (props) => (h("svg", { width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, h("g", { "clip-path": "url(#clip0_8773_8722)" }, h("path", { d: "M4.00031 0.30014C6.04356 0.300351 7.6995 1.95704 7.69952 4.00034C7.69931 6.04348 6.04345 7.69934 4.00031 7.69955C1.95702 7.69951 0.300321 6.04358 0.30011 4.00034C0.300137 1.95693 1.95691 0.300184 4.00031 0.30014ZM4.00031 0.89975C2.28828 0.899794 0.899747 2.2883 0.899719 4.00034C0.89993 5.71221 2.28839 7.0999 4.00031 7.09995C5.71208 7.09973 7.0997 5.71211 7.09991 4.00034C7.09989 2.28841 5.71219 0.899961 4.00031 0.89975ZM4.00031 5.16635C4.18426 5.16652 4.33331 5.31634 4.33331 5.50034C4.33313 5.68417 4.18415 5.83318 4.00031 5.83334C3.81632 5.83334 3.6665 5.68428 3.66632 5.50034C3.66632 5.31624 3.81621 5.16635 4.00031 5.16635ZM4.00031 2.07553C4.16585 2.0757 4.30011 2.20975 4.30011 2.37534V4.37534C4.29993 4.54077 4.16574 4.67498 4.00031 4.67514C3.83473 4.67514 3.70068 4.54087 3.7005 4.37534V2.37534C3.7005 2.20965 3.83462 2.07553 4.00031 2.07553Z", fill: "currentColor" })), h("defs", null, h("clipPath", { id: "clip0_8773_8722" }, h("rect", { width: "8", height: "8", fill: "transparent" })))));
|
|
3
|
+
//# sourceMappingURL=NotificationOutline8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationOutline8.js","sourceRoot":"","sources":["../../../../src/components/assets/notificationOutline/NotificationOutline8.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,KAAe,EAAE,EAAE,CAAC,CACxD,WACC,KAAK,EAAC,GAAG,EACT,MAAM,EAAC,GAAG,EACV,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,KAC9B,KAAK;IAET,sBAAa,uBAAuB;QACnC,YACC,CAAC,EAAC,s1BAAs1B,EACx1B,IAAI,EAAC,cAAc,GAClB,CACC;IACJ;QACC,gBAAU,EAAE,EAAC,iBAAiB;YAC7B,YAAM,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,IAAI,EAAC,aAAa,GAAG,CACtC,CACL,CACF,CACN,CAAC","sourcesContent":["import { h } from '@stencil/core';\n\nexport const NotificationOutline8 = (props: SVGProps) => (\n <svg\n width=\"8\"\n height=\"8\"\n viewBox=\"0 0 8 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g clip-path=\"url(#clip0_8773_8722)\">\n <path\n d=\"M4.00031 0.30014C6.04356 0.300351 7.6995 1.95704 7.69952 4.00034C7.69931 6.04348 6.04345 7.69934 4.00031 7.69955C1.95702 7.69951 0.300321 6.04358 0.30011 4.00034C0.300137 1.95693 1.95691 0.300184 4.00031 0.30014ZM4.00031 0.89975C2.28828 0.899794 0.899747 2.2883 0.899719 4.00034C0.89993 5.71221 2.28839 7.0999 4.00031 7.09995C5.71208 7.09973 7.0997 5.71211 7.09991 4.00034C7.09989 2.28841 5.71219 0.899961 4.00031 0.89975ZM4.00031 5.16635C4.18426 5.16652 4.33331 5.31634 4.33331 5.50034C4.33313 5.68417 4.18415 5.83318 4.00031 5.83334C3.81632 5.83334 3.6665 5.68428 3.66632 5.50034C3.66632 5.31624 3.81621 5.16635 4.00031 5.16635ZM4.00031 2.07553C4.16585 2.0757 4.30011 2.20975 4.30011 2.37534V4.37534C4.29993 4.54077 4.16574 4.67498 4.00031 4.67514C3.83473 4.67514 3.70068 4.54087 3.7005 4.37534V2.37534C3.7005 2.20965 3.83462 2.07553 4.00031 2.07553Z\"\n fill=\"currentColor\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_8773_8722\">\n <rect width=\"8\" height=\"8\" fill=\"transparent\" />\n </clipPath>\n </defs>\n </svg>\n);\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NotificationOutline10 } from "./NotificationOutline10";
|
|
2
|
+
import { NotificationOutline12 } from "./NotificationOutline12";
|
|
3
|
+
import { NotificationOutline16 } from "./NotificationOutline16";
|
|
4
|
+
import { NotificationOutline20 } from "./NotificationOutline20";
|
|
5
|
+
import { NotificationOutline24 } from "./NotificationOutline24";
|
|
6
|
+
import { NotificationOutline32 } from "./NotificationOutline32";
|
|
7
|
+
import { NotificationOutline8 } from "./NotificationOutline8";
|
|
8
|
+
export const notificationOutline = {
|
|
9
|
+
8: NotificationOutline8,
|
|
10
|
+
10: NotificationOutline10,
|
|
11
|
+
12: NotificationOutline12,
|
|
12
|
+
16: NotificationOutline16,
|
|
13
|
+
20: NotificationOutline20,
|
|
14
|
+
24: NotificationOutline24,
|
|
15
|
+
32: NotificationOutline32,
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/assets/notificationOutline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC,CAAC,EAAE,oBAAoB;IACvB,EAAE,EAAE,qBAAqB;IACzB,EAAE,EAAE,qBAAqB;IACzB,EAAE,EAAE,qBAAqB;IACzB,EAAE,EAAE,qBAAqB;IACzB,EAAE,EAAE,qBAAqB;IACzB,EAAE,EAAE,qBAAqB;CACzB,CAAC","sourcesContent":["import { NotificationOutline10 } from './NotificationOutline10';\nimport { NotificationOutline12 } from './NotificationOutline12';\nimport { NotificationOutline16 } from './NotificationOutline16';\nimport { NotificationOutline20 } from './NotificationOutline20';\nimport { NotificationOutline24 } from './NotificationOutline24';\nimport { NotificationOutline32 } from './NotificationOutline32';\nimport { NotificationOutline8 } from './NotificationOutline8';\n\nexport const notificationOutline = {\n 8: NotificationOutline8,\n 10: NotificationOutline10,\n 12: NotificationOutline12,\n 16: NotificationOutline16,\n 20: NotificationOutline20,\n 24: NotificationOutline24,\n 32: NotificationOutline32,\n};\n"]}
|
|
@@ -201,7 +201,7 @@ export class SdButton {
|
|
|
201
201
|
"mutable": false,
|
|
202
202
|
"complexType": {
|
|
203
203
|
"original": "IconName",
|
|
204
|
-
"resolved": "\"youtube\" | \"search\" | \"pdf\" | \"notion\" | \"pageMove\" | \"minus\" | \"helpOutline\" | \"event\" | \"date\" | \"close\" | \"check\" | \"barcode\" | \"arrowUpDown\" | \"arrowUp\" | \"arrowRightEnd\" | \"arrowRight\" | \"arrowLeftEnd\" | \"arrowLeft\" | \"arrow2Down\" | \"arrowDown\" | undefined",
|
|
204
|
+
"resolved": "\"youtube\" | \"search\" | \"pdf\" | \"notion\" | \"pageMove\" | \"notificationFilled\" | \"notificationOutline\" | \"minus\" | \"helpOutline\" | \"event\" | \"etc\" | \"date\" | \"close\" | \"CheckOutline\" | \"CheckFilled\" | \"check\" | \"barcode\" | \"arrowUpDown\" | \"arrowUp\" | \"arrowRightEnd\" | \"arrowRight\" | \"arrowLeftEnd\" | \"arrowLeft\" | \"arrow2Up\" | \"arrow2Down\" | \"arrowDown\" | undefined",
|
|
205
205
|
"references": {
|
|
206
206
|
"IconName": {
|
|
207
207
|
"location": "global",
|
|
@@ -263,7 +263,7 @@ export class SdButton {
|
|
|
263
263
|
"mutable": false,
|
|
264
264
|
"complexType": {
|
|
265
265
|
"original": "IconName",
|
|
266
|
-
"resolved": "\"youtube\" | \"search\" | \"pdf\" | \"notion\" | \"pageMove\" | \"minus\" | \"helpOutline\" | \"event\" | \"date\" | \"close\" | \"check\" | \"barcode\" | \"arrowUpDown\" | \"arrowUp\" | \"arrowRightEnd\" | \"arrowRight\" | \"arrowLeftEnd\" | \"arrowLeft\" | \"arrow2Down\" | \"arrowDown\" | undefined",
|
|
266
|
+
"resolved": "\"youtube\" | \"search\" | \"pdf\" | \"notion\" | \"pageMove\" | \"notificationFilled\" | \"notificationOutline\" | \"minus\" | \"helpOutline\" | \"event\" | \"etc\" | \"date\" | \"close\" | \"CheckOutline\" | \"CheckFilled\" | \"check\" | \"barcode\" | \"arrowUpDown\" | \"arrowUp\" | \"arrowRightEnd\" | \"arrowRight\" | \"arrowLeftEnd\" | \"arrowLeft\" | \"arrow2Up\" | \"arrow2Down\" | \"arrowDown\" | undefined",
|
|
267
267
|
"references": {
|
|
268
268
|
"IconName": {
|
|
269
269
|
"location": "global",
|
|
@@ -45,7 +45,7 @@ export class SdIcon {
|
|
|
45
45
|
"mutable": false,
|
|
46
46
|
"complexType": {
|
|
47
47
|
"original": "IconName",
|
|
48
|
-
"resolved": "\"
|
|
48
|
+
"resolved": "\"youtube\" | \"search\" | \"pdf\" | \"notion\" | \"pageMove\" | \"notificationFilled\" | \"notificationOutline\" | \"minus\" | \"helpOutline\" | \"event\" | \"etc\" | \"date\" | \"close\" | \"CheckOutline\" | \"CheckFilled\" | \"check\" | \"barcode\" | \"arrowUpDown\" | \"arrowUp\" | \"arrowRightEnd\" | \"arrowRight\" | \"arrowLeftEnd\" | \"arrowLeft\" | \"arrow2Up\" | \"arrow2Down\" | \"arrowDown\"",
|
|
49
49
|
"references": {
|
|
50
50
|
"IconName": {
|
|
51
51
|
"location": "global",
|
|
@@ -116,7 +116,7 @@ export class SdPopover {
|
|
|
116
116
|
"mutable": false,
|
|
117
117
|
"complexType": {
|
|
118
118
|
"original": "IconName",
|
|
119
|
-
"resolved": "\"
|
|
119
|
+
"resolved": "\"youtube\" | \"search\" | \"pdf\" | \"notion\" | \"pageMove\" | \"notificationFilled\" | \"notificationOutline\" | \"minus\" | \"helpOutline\" | \"event\" | \"etc\" | \"date\" | \"close\" | \"CheckOutline\" | \"CheckFilled\" | \"check\" | \"barcode\" | \"arrowUpDown\" | \"arrowUp\" | \"arrowRightEnd\" | \"arrowRight\" | \"arrowLeftEnd\" | \"arrowLeft\" | \"arrow2Up\" | \"arrow2Down\" | \"arrowDown\"",
|
|
120
120
|
"references": {
|
|
121
121
|
"IconName": {
|
|
122
122
|
"location": "global",
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
sd-progress {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
sd-progress .sd-progress__bar {
|
|
5
|
+
position: relative;
|
|
6
|
+
width: 360px;
|
|
7
|
+
height: 20px;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
background-color: #eeeeee;
|
|
11
|
+
text-align: center;
|
|
12
|
+
}
|
|
13
|
+
sd-progress .sd-progress__bar__percent {
|
|
14
|
+
width: var(--progress-percentage);
|
|
15
|
+
height: 100%;
|
|
16
|
+
border-radius: 4px;
|
|
17
|
+
background-color: var(--progress-color, #0075ff);
|
|
18
|
+
transition: all 0.5s;
|
|
19
|
+
}
|
|
20
|
+
sd-progress .sd-progress__bar__percent.proceed {
|
|
21
|
+
border-top-right-radius: 50%;
|
|
22
|
+
}
|
|
23
|
+
sd-progress .sd-progress__bar__indicator {
|
|
24
|
+
position: absolute;
|
|
25
|
+
left: 0;
|
|
26
|
+
top: 0;
|
|
27
|
+
height: 20px;
|
|
28
|
+
width: 100%;
|
|
29
|
+
background-color: #eeeeee;
|
|
30
|
+
line-height: 21px;
|
|
31
|
+
z-index: 1;
|
|
32
|
+
}
|
|
33
|
+
sd-progress .sd-progress__bar__indicator--left {
|
|
34
|
+
color: var(--progress-color, #0075ff);
|
|
35
|
+
clip-path: inset(0 0 0 var(--progress-percentage));
|
|
36
|
+
}
|
|
37
|
+
sd-progress .sd-progress__bar__indicator--right {
|
|
38
|
+
color: white;
|
|
39
|
+
background-color: var(--progress-color, #0075ff);
|
|
40
|
+
clip-path: inset(0 calc(100% - var(--progress-percentage)) 0 0);
|
|
41
|
+
}
|
|
42
|
+
sd-progress .sd-progress__spinner {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
align-items: center;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
}
|
|
48
|
+
sd-progress .sd-progress__spinner svg {
|
|
49
|
+
transform: rotate(-90deg);
|
|
50
|
+
}
|
|
51
|
+
sd-progress .sd-progress__spinner__label {
|
|
52
|
+
margin-top: 4px;
|
|
53
|
+
font-size: 16px;
|
|
54
|
+
color: var(--progress-color, #0075ff);
|
|
55
|
+
}
|
|
56
|
+
sd-progress .sd-progress__label {
|
|
57
|
+
margin-top: 4px;
|
|
58
|
+
font-size: 12px;
|
|
59
|
+
color: #222222;
|
|
60
|
+
text-align: center;
|
|
61
|
+
}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
export class SdProgress {
|
|
3
|
+
type = 'bar';
|
|
4
|
+
status = 'default';
|
|
5
|
+
percentage = 0;
|
|
6
|
+
size = 80;
|
|
7
|
+
strokeWidth = 12;
|
|
8
|
+
label;
|
|
9
|
+
statusColor = {
|
|
10
|
+
default: '#aaaaaa',
|
|
11
|
+
progress: '#0075ff',
|
|
12
|
+
complete: '#12B553',
|
|
13
|
+
error: '#FB4444',
|
|
14
|
+
};
|
|
15
|
+
render() {
|
|
16
|
+
return (h(Host, { key: '2e2f7cf77bbc63dfb15910a3bc50ac45601020cd', style: {
|
|
17
|
+
'--progress-color': this.statusColor[this.status],
|
|
18
|
+
'--progress-percentage': `${this.percentage}%`,
|
|
19
|
+
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && h("div", { key: '3e72a490e148886c59345e5ac3161f760e0f4e85', class: "sd-progress__label" }, this.label)));
|
|
20
|
+
}
|
|
21
|
+
renderBarProgress() {
|
|
22
|
+
return (h("div", { class: `sd-progress__bar sd-progress__bar--${this.status}` }, h("div", { class: ['sd-progress__bar__percent', this.percentage < 100 ? 'proceed' : ''].join(' ') }), h("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--left" }, this.percentage, "%"), h("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--right" }, this.percentage, "%")));
|
|
23
|
+
}
|
|
24
|
+
renderSpinnerProgress() {
|
|
25
|
+
const radius = (this.size - this.strokeWidth) / 2; // 원의 반지름
|
|
26
|
+
const circumference = 2 * Math.PI * radius; // 원의 둘레
|
|
27
|
+
const offset = circumference - (this.percentage / 100) * circumference; // 진행률에 따른 offset
|
|
28
|
+
const progressBgSize = `${this.size}px`;
|
|
29
|
+
const progressSize = `${this.size / 2}px`;
|
|
30
|
+
return (h("div", { class: `sd-progress__spinner sd-progress__spinner--${this.status}` }, h("svg", { width: progressBgSize, height: progressBgSize }, h("circle", { cx: progressSize, cy: progressSize, r: radius, stroke: "#EEEEEE", "stroke-width": this.strokeWidth, fill: "transparent" }), h("circle", { cx: progressSize, cy: progressSize, r: radius, stroke: this.statusColor[this.status], "stroke-width": this.strokeWidth, fill: "transparent", "stroke-dasharray": circumference, "stroke-dashoffset": offset, "stroke-linecap": "round", class: "transition-all duration-500" })), h("strong", { class: "sd-progress__spinner__label" }, this.percentage, " %")));
|
|
31
|
+
}
|
|
32
|
+
static get is() { return "sd-progress"; }
|
|
33
|
+
static get originalStyleUrls() {
|
|
34
|
+
return {
|
|
35
|
+
"$": ["sd-progress.scss"]
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
static get styleUrls() {
|
|
39
|
+
return {
|
|
40
|
+
"$": ["sd-progress.css"]
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
static get properties() {
|
|
44
|
+
return {
|
|
45
|
+
"type": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"mutable": false,
|
|
48
|
+
"complexType": {
|
|
49
|
+
"original": "'bar' | 'spinner'",
|
|
50
|
+
"resolved": "\"bar\" | \"spinner\"",
|
|
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": "type",
|
|
63
|
+
"defaultValue": "'bar'"
|
|
64
|
+
},
|
|
65
|
+
"status": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"mutable": false,
|
|
68
|
+
"complexType": {
|
|
69
|
+
"original": "'default' | 'progress' | 'complete' | 'error'",
|
|
70
|
+
"resolved": "\"complete\" | \"default\" | \"error\" | \"progress\"",
|
|
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": "status",
|
|
83
|
+
"defaultValue": "'default'"
|
|
84
|
+
},
|
|
85
|
+
"percentage": {
|
|
86
|
+
"type": "number",
|
|
87
|
+
"mutable": false,
|
|
88
|
+
"complexType": {
|
|
89
|
+
"original": "number",
|
|
90
|
+
"resolved": "number",
|
|
91
|
+
"references": {}
|
|
92
|
+
},
|
|
93
|
+
"required": false,
|
|
94
|
+
"optional": false,
|
|
95
|
+
"docs": {
|
|
96
|
+
"tags": [],
|
|
97
|
+
"text": ""
|
|
98
|
+
},
|
|
99
|
+
"getter": false,
|
|
100
|
+
"setter": false,
|
|
101
|
+
"reflect": false,
|
|
102
|
+
"attribute": "percentage",
|
|
103
|
+
"defaultValue": "0"
|
|
104
|
+
},
|
|
105
|
+
"size": {
|
|
106
|
+
"type": "number",
|
|
107
|
+
"mutable": false,
|
|
108
|
+
"complexType": {
|
|
109
|
+
"original": "number",
|
|
110
|
+
"resolved": "number",
|
|
111
|
+
"references": {}
|
|
112
|
+
},
|
|
113
|
+
"required": false,
|
|
114
|
+
"optional": false,
|
|
115
|
+
"docs": {
|
|
116
|
+
"tags": [],
|
|
117
|
+
"text": ""
|
|
118
|
+
},
|
|
119
|
+
"getter": false,
|
|
120
|
+
"setter": false,
|
|
121
|
+
"reflect": false,
|
|
122
|
+
"attribute": "size",
|
|
123
|
+
"defaultValue": "80"
|
|
124
|
+
},
|
|
125
|
+
"strokeWidth": {
|
|
126
|
+
"type": "number",
|
|
127
|
+
"mutable": false,
|
|
128
|
+
"complexType": {
|
|
129
|
+
"original": "number",
|
|
130
|
+
"resolved": "number",
|
|
131
|
+
"references": {}
|
|
132
|
+
},
|
|
133
|
+
"required": false,
|
|
134
|
+
"optional": false,
|
|
135
|
+
"docs": {
|
|
136
|
+
"tags": [],
|
|
137
|
+
"text": ""
|
|
138
|
+
},
|
|
139
|
+
"getter": false,
|
|
140
|
+
"setter": false,
|
|
141
|
+
"reflect": false,
|
|
142
|
+
"attribute": "stroke-width",
|
|
143
|
+
"defaultValue": "12"
|
|
144
|
+
},
|
|
145
|
+
"label": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"mutable": false,
|
|
148
|
+
"complexType": {
|
|
149
|
+
"original": "string",
|
|
150
|
+
"resolved": "string | undefined",
|
|
151
|
+
"references": {}
|
|
152
|
+
},
|
|
153
|
+
"required": false,
|
|
154
|
+
"optional": true,
|
|
155
|
+
"docs": {
|
|
156
|
+
"tags": [],
|
|
157
|
+
"text": ""
|
|
158
|
+
},
|
|
159
|
+
"getter": false,
|
|
160
|
+
"setter": false,
|
|
161
|
+
"reflect": false,
|
|
162
|
+
"attribute": "label"
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
// <sd-progress id="sd-progress-1"></sd-progress>
|
|
168
|
+
// <sd-progress id="sd-progress-2" type="spinner"></sd-progress>
|
|
169
|
+
// <sd-progress id="sd-progress-3" type="spinner"></sd-progress>
|
|
170
|
+
// <script>
|
|
171
|
+
// document.addEventListener('DOMContentLoaded', event => {
|
|
172
|
+
// progress = document.getElementById('sd-progress-1');
|
|
173
|
+
// progress2 = document.getElementById('sd-progress-2');
|
|
174
|
+
// progress3 = document.getElementById('sd-progress-3');
|
|
175
|
+
// progress2.label = 'test label...';
|
|
176
|
+
// progress3.percentage = 50;
|
|
177
|
+
// progress3.status = 'error';
|
|
178
|
+
// let percentage = 0;
|
|
179
|
+
// const interval = setInterval(() => {
|
|
180
|
+
// if (percentage >= 100) {
|
|
181
|
+
// clearInterval(interval);
|
|
182
|
+
// progress.status = 'complete';
|
|
183
|
+
// progress2.status = 'complete';
|
|
184
|
+
// return;
|
|
185
|
+
// }
|
|
186
|
+
// percentage += 10;
|
|
187
|
+
// progress.status = 'progress';
|
|
188
|
+
// progress.percentage = percentage;
|
|
189
|
+
// progress2.status = 'progress';
|
|
190
|
+
// progress2.percentage = percentage;
|
|
191
|
+
// }, 500);
|
|
192
|
+
// });
|
|
193
|
+
// </script>
|
|
194
|
+
//# sourceMappingURL=sd-progress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sd-progress.js","sourceRoot":"","sources":["../../../src/components/sd-progress/sd-progress.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAMzD,MAAM,OAAO,UAAU;IACd,IAAI,GAAsB,KAAK,CAAC;IAChC,MAAM,GAAkD,SAAS,CAAC;IAClE,UAAU,GAAW,CAAC,CAAC;IACvB,IAAI,GAAW,EAAE,CAAC;IAClB,WAAW,GAAW,EAAE,CAAC;IACzB,KAAK,CAAU;IAEf,WAA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;AACP,uBAAuB;AACvB,mCAAmC;AACnC,uCAAuC;AACvC,oCAAoC;AACpC,wCAAwC;AACxC,aAAa;AACb,OAAO;AACP,YAAY","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'sd-progress',\n styleUrl: 'sd-progress.scss',\n})\nexport class SdProgress {\n @Prop() type: 'bar' | 'spinner' = 'bar';\n @Prop() status: 'default' | 'progress' | 'complete' | 'error' = 'default';\n @Prop() percentage: number = 0;\n @Prop() size: number = 80;\n @Prop() strokeWidth: number = 12;\n @Prop() label?: string;\n\n private statusColor = {\n default: '#aaaaaa',\n progress: '#0075ff',\n complete: '#12B553',\n error: '#FB4444',\n };\n\n render() {\n return (\n <Host\n style={{\n '--progress-color': this.statusColor[this.status],\n '--progress-percentage': `${this.percentage}%`,\n }}\n >\n {this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress()}\n {this.label && <div class=\"sd-progress__label\">{this.label}</div>}\n </Host>\n );\n }\n\n renderBarProgress() {\n return (\n <div class={`sd-progress__bar sd-progress__bar--${this.status}`}>\n <div\n class={['sd-progress__bar__percent', this.percentage < 100 ? 'proceed' : ''].join(' ')}\n ></div>\n <div class=\"sd-progress__bar__indicator sd-progress__bar__indicator--left\">\n {this.percentage}%\n </div>\n <div class=\"sd-progress__bar__indicator sd-progress__bar__indicator--right\">\n {this.percentage}%\n </div>\n </div>\n );\n }\n\n renderSpinnerProgress() {\n const radius = (this.size - this.strokeWidth) / 2; // 원의 반지름\n const circumference = 2 * Math.PI * radius; // 원의 둘레\n const offset = circumference - (this.percentage / 100) * circumference; // 진행률에 따른 offset\n const progressBgSize = `${this.size}px`;\n const progressSize = `${this.size / 2}px`;\n\n return (\n <div class={`sd-progress__spinner sd-progress__spinner--${this.status}`}>\n <svg width={progressBgSize} height={progressBgSize}>\n <circle\n cx={progressSize}\n cy={progressSize}\n r={radius}\n stroke=\"#EEEEEE\"\n stroke-width={this.strokeWidth}\n fill=\"transparent\"\n />\n <circle\n cx={progressSize}\n cy={progressSize}\n r={radius}\n stroke={this.statusColor[this.status]}\n stroke-width={this.strokeWidth}\n fill=\"transparent\"\n stroke-dasharray={circumference}\n stroke-dashoffset={offset}\n stroke-linecap=\"round\"\n class=\"transition-all duration-500\"\n />\n </svg>\n <strong class=\"sd-progress__spinner__label\">{this.percentage} %</strong>\n </div>\n );\n }\n}\n\n// <sd-progress id=\"sd-progress-1\"></sd-progress>\n// <sd-progress id=\"sd-progress-2\" type=\"spinner\"></sd-progress>\n// <sd-progress id=\"sd-progress-3\" type=\"spinner\"></sd-progress>\n// <script>\n// document.addEventListener('DOMContentLoaded', event => {\n// progress = document.getElementById('sd-progress-1');\n// progress2 = document.getElementById('sd-progress-2');\n// progress3 = document.getElementById('sd-progress-3');\n// progress2.label = 'test label...';\n// progress3.percentage = 50;\n// progress3.status = 'error';\n// let percentage = 0;\n// const interval = setInterval(() => {\n// if (percentage >= 100) {\n// clearInterval(interval);\n// progress.status = 'complete';\n// progress2.status = 'complete';\n// return;\n// }\n// percentage += 10;\n// progress.status = 'progress';\n// progress.percentage = percentage;\n// progress2.status = 'progress';\n// progress2.percentage = percentage;\n// }, 500);\n// });\n// </script>\n"]}
|
|
@@ -24,7 +24,7 @@ export class SdSelectOption {
|
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '57acf795fbb642249d9716fc8fa4123f2d939d2b' }, h("div", { key: '6653deafa3142a3bf9b67290dae411c29fc38f41', class: {
|
|
28
28
|
'sd-select__option': true,
|
|
29
29
|
'sd-select__option--selected': this.isSelected,
|
|
30
30
|
'sd-select__option--disabled': !!this.option.disabled,
|
|
@@ -208,11 +208,11 @@ export class SdSelectMultiple extends BaseDropdownEvent {
|
|
|
208
208
|
'--select-width': this.width || '200px',
|
|
209
209
|
'--select-dropdown-height': this.dropdownHeight || '260px',
|
|
210
210
|
};
|
|
211
|
-
return (h(Host, { key: '
|
|
211
|
+
return (h(Host, { key: 'c569bb885003048b6ec22bfb0688c671a70a27d5', style: style }, h("div", { key: '94b43199502f44f7d663981c320696c6e8cf968f', class: {
|
|
212
212
|
'sd-select-multiple': true,
|
|
213
213
|
'sd-select-multiple--open': this.isOpen,
|
|
214
214
|
'sd-select-multiple--disabled': this.disabled,
|
|
215
|
-
}, ref: el => (this.selectRef = el) }, this.renderLabel(this.label), h("div", { key: '
|
|
215
|
+
}, ref: el => (this.selectRef = el) }, this.renderLabel(this.label), h("div", { key: 'd4fd6929b78add118c01d7b52c1c1e0be9867924', class: "sd-select-multiple__container" }, this.renderTrigger(), this.renderDropdown()))));
|
|
216
216
|
}
|
|
217
217
|
renderLabel(label) {
|
|
218
218
|
if (!label)
|
|
@@ -39,7 +39,7 @@ export class SdSelectOptionGroup {
|
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: 'ab10e48405e8457f1319518f9790c5dd94d1b5e6', class: {
|
|
43
43
|
'sd-select__option-group': true,
|
|
44
44
|
'sd-select__option-group--selected': !!this.isSelected,
|
|
45
45
|
'sd-select__option-group--disabled': !!this.option.disabled,
|
|
@@ -48,10 +48,10 @@ export class SdSelectOptionGroup {
|
|
|
48
48
|
'sd-select__option-group--group': this.option.type === 'group',
|
|
49
49
|
'sd-select__option-group--subgroup': this.option.type === 'subgroup',
|
|
50
50
|
'sd-select__option-group--item': this.option.type === 'item',
|
|
51
|
-
}, onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), style: this.optionStyle, "data-index": this.index, onClick: event => this.handleClick(this.option, this.isSelected, event) }, h("div", { key: '
|
|
51
|
+
}, onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), style: this.optionStyle, "data-index": this.index, onClick: event => this.handleClick(this.option, this.isSelected, event) }, h("div", { key: 'e9b0636bc98818aa48b5d486c3e5b4c216b76046', class: "sd-select__option-group__label-wrapper" }, this.useCheckbox && (h("sd-checkbox", { key: 'b7495da88ddad187588569c64235ccc1697466fe', checked: this.isSelected, disabled: this.option.disabled, onClick: e => {
|
|
52
52
|
e.preventDefault();
|
|
53
53
|
this.handleClick(this.option, this.isSelected, e);
|
|
54
|
-
} })), h("span", { key: '
|
|
54
|
+
} })), h("span", { key: 'f8a51d2ea1a99ae17a1ba79fb6f802f0c2a27be1', class: "sd-select__option-group-label" }, this.option.label), this.useIndicator && this.option.type !== 'item' && (h("span", { key: 'ee29e4503321462981c6d6fe497d70f271e5f814', class: "sd-select__option-group__count-indicator" }, `(${this.countInfo?.selectedCount}/${this.countInfo?.totalCount})`)))));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "sd-select-option-group"; }
|
|
57
57
|
static get originalStyleUrls() {
|
|
@@ -43,20 +43,20 @@ export class SdTooltip {
|
|
|
43
43
|
: {
|
|
44
44
|
onClick: () => (this.showTooltip = !this.showTooltip),
|
|
45
45
|
};
|
|
46
|
-
return (h(Fragment, { key: '
|
|
46
|
+
return (h(Fragment, { key: '45dbef1d93b082f8fe42c003f997aa80ad297ee5' }, 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: '7357fe6678832a74c567b24e404d14d75a77b13f', parentRef: this.buttonEl, onSdClose: () => this.handleClose(), placement: this.placement }, h("div", { key: '3add41a611cb55fddaae7733b6db9ec996561723', class: {
|
|
47
47
|
'sd-tooltip-menu': true,
|
|
48
48
|
[`sd-tooltip-menu--${this.type}`]: true,
|
|
49
49
|
[`sd-tooltip-menu--${this.placement}`]: true,
|
|
50
50
|
'sd-tooltip-menu--with-close': this.useClose,
|
|
51
51
|
[`bg-${SdTooltip.COLOR_OF_TYPE[this.type].background}`]: true,
|
|
52
52
|
[`text-${SdTooltip.COLOR_OF_TYPE[this.type].text}`]: true,
|
|
53
|
-
} }, h("i", { key: '
|
|
53
|
+
} }, h("i", { key: 'f62cfc386831412cb958da88a41e0487be40d119', class: `sd-tooltip-menu__arrow sd-tooltip-menu__arrow--${this.placement}` }, h(TooltipArrow, { key: 'daab1b1028832d95fb05456b96981cdeb1e31c4e', class: {
|
|
54
54
|
[`text-${SdTooltip.COLOR_OF_TYPE[this.type].background}`]: true,
|
|
55
|
-
} })), h("div", { key: '
|
|
55
|
+
} })), h("div", { key: 'ab7ca38aa68cf8279ff0d372651a4e26b217781c', class: "sd-tooltip-menu__content", ref: el => {
|
|
56
56
|
if (el && this.slotContent && !el.hasChildNodes()) {
|
|
57
57
|
el.appendChild(this.slotContent.cloneNode(true));
|
|
58
58
|
}
|
|
59
|
-
} }, !this.slotContent && h("span", { key: '
|
|
59
|
+
} }, !this.slotContent && h("span", { key: 'f5768e8b7e3033f64797aba77a504d57236e51e3' }, this.el.textContent)), this.useClose && (h("div", { key: '94bdf692fabf190912a64d6051957031b2964ae5', class: "sd-tooltip-menu__close-button" }, h("button", { key: '8826745fb1dab139358bc0d430d622abca333e5e', type: "button", "aria-label": "Close tooltip", title: "Close tooltip", onClick: () => this.handleClose() }, h("sd-icon", { key: '863f114251ec302425224a7385dd23292f7f6340', name: "close", size: "12", color: "#AAAAAA" })))))))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "sd-tooltip"; }
|
|
62
62
|
static get originalStyleUrls() {
|
|
@@ -156,7 +156,7 @@ export class SdTooltip {
|
|
|
156
156
|
"mutable": false,
|
|
157
157
|
"complexType": {
|
|
158
158
|
"original": "IconName",
|
|
159
|
-
"resolved": "\"
|
|
159
|
+
"resolved": "\"youtube\" | \"search\" | \"pdf\" | \"notion\" | \"pageMove\" | \"notificationFilled\" | \"notificationOutline\" | \"minus\" | \"helpOutline\" | \"event\" | \"etc\" | \"date\" | \"close\" | \"CheckOutline\" | \"CheckFilled\" | \"check\" | \"barcode\" | \"arrowUpDown\" | \"arrowUp\" | \"arrowRightEnd\" | \"arrowRight\" | \"arrowLeftEnd\" | \"arrowLeft\" | \"arrow2Up\" | \"arrow2Down\" | \"arrowDown\"",
|
|
160
160
|
"references": {
|
|
161
161
|
"IconName": {
|
|
162
162
|
"location": "global",
|
|
@@ -143,7 +143,7 @@ export class SdTooltipPortal {
|
|
|
143
143
|
this.sdClose.emit();
|
|
144
144
|
}
|
|
145
145
|
render() {
|
|
146
|
-
return h("slot", { key: '
|
|
146
|
+
return h("slot", { key: '96e22fb7cd79afbef7bcb1a9b055e6a2bf54dd76' });
|
|
147
147
|
}
|
|
148
148
|
static get is() { return "sd-tooltip-portal"; }
|
|
149
149
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h } from './p-CbnL1UUF.js';
|
|
2
|
-
import { d as defineCustomElement$2 } from './p-
|
|
3
|
-
import { d as defineCustomElement$1 } from './p-
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-zEI1HiVv.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-X8UHtq2f.js';
|
|
4
4
|
|
|
5
5
|
const sdSelectOptionGroupCss = "sd-select-option-group{display:block;height:fit-content}sd-select-option-group .sd-select__option-group{display:flex;padding:4px 12px;padding-left:28px;font-size:12px;line-height:20px}sd-select-option-group .sd-select__option-group.sd-select__option-group--group:not(.sd-select__option-group--use-checkbox),sd-select-option-group .sd-select__option-group.sd-select__option-group--subgroup:not(.sd-select__option-group--use-checkbox){cursor:default}sd-select-option-group .sd-select__option-group.sd-select__option-group--group{padding-left:12px;background-color:#f5faff !important;color:#333333 !important;font-weight:700}sd-select-option-group .sd-select__option-group.sd-select__option-group--subgroup{padding-left:20px;background-color:#f9f9f9 !important;color:#333333 !important;font-weight:500}sd-select-option-group .sd-select__option-group sd-checkbox__bg{border-color:#888888}sd-select-option-group .sd-select__option-group__label-wrapper{display:flex;width:100%;column-gap:8px;align-items:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}sd-select-option-group .sd-select__option-group__label-wrapper sd-checkbox{flex-shrink:0}sd-select-option-group .sd-select__option-group__label-wrapper .sd-select__option-group-label{flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-select-option-group .sd-select__option-group__label-wrapper .sd-select__option-group__count-indicator{width:fit-content;flex-shrink:0;font-size:12px;font-weight:500;color:#888888}sd-select-option-group .sd-select__option-group--focused{background-color:#e6f1ff}sd-select-option-group .sd-select__option-group--selected.sd-select__option-group--item:not(:hover):not(.sd-select__option-group--use-checkbox),sd-select-option-group .sd-select__option-group--focused.sd-select__option-group--item:not(:hover):not(.sd-select__option-group--use-checkbox){color:#0075ff;font-weight:700}sd-select-option-group .sd-select__option-group--disabled{color:#aaaaaa;cursor:not-allowed}sd-select-option-group .sd-select__option-group:hover:not(.sd-select__option-group--disabled){background-color:#0075ff;color:white}sd-select-option-group .sd-select__option-group:hover.sd-select__option-group--selected.sd-select__option-group--item sd-checkbox .sd-checkbox__bg{border-color:white !important}";
|
|
6
6
|
|
|
@@ -51,7 +51,7 @@ const SdSelectOptionGroup = /*@__PURE__*/ proxyCustomElement(class SdSelectOptio
|
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
render() {
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: 'ab10e48405e8457f1319518f9790c5dd94d1b5e6', class: {
|
|
55
55
|
'sd-select__option-group': true,
|
|
56
56
|
'sd-select__option-group--selected': !!this.isSelected,
|
|
57
57
|
'sd-select__option-group--disabled': !!this.option.disabled,
|
|
@@ -60,10 +60,10 @@ const SdSelectOptionGroup = /*@__PURE__*/ proxyCustomElement(class SdSelectOptio
|
|
|
60
60
|
'sd-select__option-group--group': this.option.type === 'group',
|
|
61
61
|
'sd-select__option-group--subgroup': this.option.type === 'subgroup',
|
|
62
62
|
'sd-select__option-group--item': this.option.type === 'item',
|
|
63
|
-
}, onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), style: this.optionStyle, "data-index": this.index, onClick: event => this.handleClick(this.option, this.isSelected, event) }, h("div", { key: '
|
|
63
|
+
}, onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), style: this.optionStyle, "data-index": this.index, onClick: event => this.handleClick(this.option, this.isSelected, event) }, h("div", { key: 'e9b0636bc98818aa48b5d486c3e5b4c216b76046', class: "sd-select__option-group__label-wrapper" }, this.useCheckbox && (h("sd-checkbox", { key: 'b7495da88ddad187588569c64235ccc1697466fe', checked: this.isSelected, disabled: this.option.disabled, onClick: e => {
|
|
64
64
|
e.preventDefault();
|
|
65
65
|
this.handleClick(this.option, this.isSelected, e);
|
|
66
|
-
} })), h("span", { key: '
|
|
66
|
+
} })), h("span", { key: 'f8a51d2ea1a99ae17a1ba79fb6f802f0c2a27be1', class: "sd-select__option-group-label" }, this.option.label), this.useIndicator && this.option.type !== 'item' && (h("span", { key: 'ee29e4503321462981c6d6fe497d70f271e5f814', class: "sd-select__option-group__count-indicator" }, `(${this.countInfo?.selectedCount}/${this.countInfo?.totalCount})`)))));
|
|
67
67
|
}
|
|
68
68
|
static get style() { return sdSelectOptionGroupCss; }
|
|
69
69
|
}, [768, "sd-select-option-group", {
|
|
@@ -104,6 +104,6 @@ function defineCustomElement() {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
export { SdSelectOptionGroup as S, defineCustomElement as d };
|
|
107
|
-
//# sourceMappingURL=p-
|
|
107
|
+
//# sourceMappingURL=p-B18yJb2O.js.map
|
|
108
108
|
|
|
109
|
-
//# sourceMappingURL=p-
|
|
109
|
+
//# sourceMappingURL=p-B18yJb2O.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-B18yJb2O.js","mappings":";;;;AAAA,MAAM,sBAAsB,GAAG,4vEAA4vE;;MCO9wE,mBAAmB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AA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,+BAA+B,EAAA,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAQ,EACrE,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,MAAM,KAChD,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,0CAA0C,EAAA,EAAE,CAAA,CAAA,EAAI,IAAI,CAAC,SAAS,EAAE,aAAa,CAAA,CAAA,EAAI,IAAI,CAAC,SAAS,EAAE,UAAU,GAAG,CAAQ,CAClI,CACI,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.scss?tag=sd-select-option-group","src/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.tsx"],"sourcesContent":["@import 'variables';\n\nsd-select-option-group {\n display: block;\n height: fit-content;\n .sd-select__option-group {\n display: flex;\n padding: 4px 12px;\n padding-left: 28px;\n font-size: 12px;\n line-height: 20px;\n\n &.sd-select__option-group--group,\n &.sd-select__option-group--subgroup {\n &:not(.sd-select__option-group--use-checkbox) {\n cursor: default;\n }\n }\n\n &.sd-select__option-group--group {\n padding-left: 12px;\n background-color: $brilliantblue_05 !important;\n color: $grey_90 !important;\n font-weight: 700;\n }\n\n &.sd-select__option-group--subgroup {\n padding-left: 20px;\n background-color: $grey_05 !important;\n color: $grey_90 !important;\n font-weight: 500;\n }\n\n sd-checkbox {\n &__bg {\n border-color: $grey_65;\n }\n }\n\n &__label-wrapper {\n display: flex;\n width: 100%;\n column-gap: 8px;\n align-items: center;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n sd-checkbox {\n flex-shrink: 0;\n }\n\n .sd-select__option-group-label {\n flex: 0 1 auto;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .sd-select__option-group__count-indicator {\n width: fit-content;\n flex-shrink: 0;\n font-size: 12px;\n font-weight: 500;\n color: $grey_65;\n }\n }\n\n &--focused {\n background-color: $brilliantblue_20;\n }\n\n &--selected,\n &--focused {\n &.sd-select__option-group--item:not(:hover):not(.sd-select__option-group--use-checkbox) {\n color: $brilliantblue_75;\n font-weight: 700;\n }\n }\n\n &--disabled {\n color: $grey_55;\n cursor: not-allowed;\n }\n\n &:hover {\n &:not(.sd-select__option-group--disabled) {\n background-color: $brilliantblue_75;\n color: white;\n }\n\n &.sd-select__option-group--selected.sd-select__option-group--item sd-checkbox {\n .sd-checkbox__bg {\n border-color: white !important;\n }\n }\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State } from '@stencil/core';\nimport { SelectOptionGroup } from '../../sd-select/sd-select';\n\n@Component({\n tag: 'sd-select-option-group',\n styleUrl: 'sd-select-option-group.scss',\n})\nexport class SdSelectOptionGroup {\n @Element() el!: HTMLElement;\n\n @Prop() option!: SelectOptionGroup;\n @Prop() index!: number;\n @Prop() isSelected: boolean | null = false;\n @Prop() isFocused: boolean = false;\n @Prop() optionStyle?: { [key: string]: string };\n @Prop() disabled: boolean = false;\n @Prop() useCheckbox: boolean = false;\n @Prop() useIndicator?: boolean = true;\n @Prop() countInfo?: { selectedCount: number; totalCount: number } = {\n selectedCount: 0,\n totalCount: 0,\n };\n\n @State() isHovered: boolean = false;\n\n @Method()\n async isDisabled(): Promise<boolean> {\n return !!this.option.disabled || this.option.type === 'group' || this.option.type === 'subgroup';\n }\n\n @Event() optionClick!: EventEmitter<{\n option: SelectOptionGroup;\n isSelected: boolean | null;\n index: number;\n event: MouseEvent;\n }>;\n\n private handleClick = (\n option: SelectOptionGroup,\n isSelected: boolean | null,\n event: MouseEvent,\n ) => {\n event.stopPropagation();\n\n if (option.type === 'group' || option.type === 'subgroup') {\n this.optionClick.emit({\n option: this.option,\n isSelected,\n index: this.index,\n event,\n });\n return;\n }\n\n if (!this.option.disabled && !this.disabled) {\n this.optionClick.emit({\n option: this.option,\n isSelected,\n index: this.index,\n event,\n });\n }\n };\n\n render() {\n return (\n <div\n class={{\n 'sd-select__option-group': true,\n 'sd-select__option-group--selected': !!this.isSelected,\n 'sd-select__option-group--disabled': !!this.option.disabled,\n 'sd-select__option-group--focused': this.isFocused,\n 'sd-select__option-group--use-checkbox': this.useCheckbox,\n 'sd-select__option-group--group': this.option.type === 'group',\n 'sd-select__option-group--subgroup': this.option.type === 'subgroup',\n 'sd-select__option-group--item': this.option.type === 'item',\n }}\n onMouseEnter={() => (this.isHovered = true)}\n onMouseLeave={() => (this.isHovered = false)}\n style={this.optionStyle}\n data-index={this.index}\n onClick={event => this.handleClick(this.option, this.isSelected, event)}\n >\n <div class=\"sd-select__option-group__label-wrapper\">\n {this.useCheckbox && (\n <sd-checkbox\n checked={this.isSelected}\n disabled={this.option.disabled}\n onClick={e => {\n e.preventDefault();\n this.handleClick(this.option, this.isSelected, e);\n }}\n ></sd-checkbox>\n )}\n <span class=\"sd-select__option-group-label\">{this.option.label}</span>\n {this.useIndicator && this.option.type !== 'item' && (\n <span class=\"sd-select__option-group__count-indicator\">{`(${this.countInfo?.selectedCount}/${this.countInfo?.totalCount})`}</span>\n )}\n </div>\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -152,7 +152,7 @@ const SdTooltipPortal = /*@__PURE__*/ proxyCustomElement(class SdTooltipPortal e
|
|
|
152
152
|
this.sdClose.emit();
|
|
153
153
|
}
|
|
154
154
|
render() {
|
|
155
|
-
return h("slot", { key: '
|
|
155
|
+
return h("slot", { key: '96e22fb7cd79afbef7bcb1a9b055e6a2bf54dd76' });
|
|
156
156
|
}
|
|
157
157
|
}, [769, "sd-tooltip-portal", {
|
|
158
158
|
"to": [1],
|
|
@@ -177,6 +177,6 @@ function defineCustomElement() {
|
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
export { SdTooltipPortal as S, defineCustomElement as d };
|
|
180
|
-
//# sourceMappingURL=p-
|
|
180
|
+
//# sourceMappingURL=p-BLVHOrsi.js.map
|
|
181
181
|
|
|
182
|
-
//# sourceMappingURL=p-
|
|
182
|
+
//# sourceMappingURL=p-BLVHOrsi.js.map
|