@synergy-design-system/components 1.10.1 → 1.12.0
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/chunks/{chunk.GQFFWTB6.js → chunk.25VU42YC.js} +2 -2
- package/dist/chunks/{chunk.IZUTSNSL.js → chunk.2HCVVOEV.js} +2 -2
- package/dist/chunks/chunk.2KYFCKCK.js +10 -0
- package/dist/chunks/chunk.2KYFCKCK.js.map +7 -0
- package/dist/chunks/chunk.2QOQY4ZG.js +132 -0
- package/dist/chunks/chunk.2QOQY4ZG.js.map +7 -0
- package/dist/chunks/{chunk.GTSRMEPE.js → chunk.2QYALZBT.js} +2 -51
- package/dist/chunks/chunk.2QYALZBT.js.map +7 -0
- package/dist/chunks/chunk.3FOVDOJX.js +26 -0
- package/dist/chunks/chunk.3FOVDOJX.js.map +7 -0
- package/dist/chunks/{chunk.CIENFFDB.js → chunk.3V2G5ZN5.js} +5 -5
- package/dist/chunks/chunk.55KPESRA.js +131 -0
- package/dist/chunks/chunk.55KPESRA.js.map +7 -0
- package/dist/chunks/{chunk.RITXJLM2.js → chunk.5D6C4M2C.js} +4 -4
- package/dist/chunks/{chunk.G7SPBDNX.js → chunk.5IL2WT3S.js} +2 -2
- package/dist/chunks/{chunk.HXLFB7ZH.js → chunk.5UM7HWIJ.js} +2 -2
- package/dist/chunks/{chunk.4FD6EN6V.js → chunk.62EBS3GI.js} +2 -2
- package/dist/chunks/{chunk.XGXFE6IF.js → chunk.66WXVGAW.js} +16 -2
- package/dist/chunks/{chunk.XGXFE6IF.js.map → chunk.66WXVGAW.js.map} +1 -1
- package/dist/chunks/{chunk.NKGRF5PE.js → chunk.6CAMLQSC.js} +2 -2
- package/dist/chunks/chunk.6G5WBKTI.js +35 -0
- package/dist/chunks/chunk.6G5WBKTI.js.map +7 -0
- package/dist/chunks/chunk.76A3JS2N.js +12 -0
- package/dist/chunks/chunk.76A3JS2N.js.map +7 -0
- package/dist/chunks/chunk.7BEVGRQ2.js +52 -0
- package/dist/chunks/chunk.7BEVGRQ2.js.map +7 -0
- package/dist/chunks/{chunk.7W73A57K.js → chunk.B6R3IVGO.js} +2 -1
- package/dist/chunks/chunk.B6R3IVGO.js.map +7 -0
- package/dist/chunks/{chunk.EVPQK6A6.js → chunk.B7UA4FRG.js} +2 -2
- package/dist/chunks/{chunk.LH3GMK7S.js → chunk.BRWLHYC5.js} +4 -4
- package/dist/chunks/{chunk.BI3SSGDL.js → chunk.BUBQFHSV.js} +3 -3
- package/dist/chunks/{chunk.MOE5YJDU.js → chunk.D3SWRAXW.js} +2 -2
- package/dist/chunks/chunk.ENYO4NCR.js +21 -0
- package/dist/chunks/chunk.ENYO4NCR.js.map +7 -0
- package/dist/chunks/{chunk.PKNEJYPC.js → chunk.FTTKC5YD.js} +2 -2
- package/dist/chunks/{chunk.P2KXCLJX.js → chunk.G5TO77WM.js} +2 -2
- package/dist/chunks/chunk.GAES53RX.js +12 -0
- package/dist/chunks/chunk.GAES53RX.js.map +7 -0
- package/dist/chunks/chunk.HUCNUF4L.js +194 -0
- package/dist/chunks/chunk.HUCNUF4L.js.map +7 -0
- package/dist/chunks/{chunk.LVDTUHAK.js → chunk.I2E3UJIK.js} +7 -7
- package/dist/chunks/{chunk.73CGLYDS.js → chunk.IQK6FVMW.js} +2 -2
- package/dist/chunks/{chunk.ZGNSJN4N.js → chunk.ISU5BF2G.js} +2 -2
- package/dist/chunks/{chunk.WHZYEHUG.js → chunk.JT32Q3RE.js} +4 -4
- package/dist/chunks/{chunk.NUWM3YC3.js → chunk.KDY26CBL.js} +3 -3
- package/dist/chunks/{chunk.FUUO3LIN.js → chunk.KNZNW4VS.js} +3 -3
- package/dist/chunks/{chunk.W2U4WOJV.js → chunk.MFHUNGFO.js} +5 -5
- package/dist/chunks/{chunk.DG6V34TC.js → chunk.MWXEDKNQ.js} +2 -2
- package/dist/chunks/{chunk.XQCYTG77.js → chunk.N3SVWIVG.js} +3 -3
- package/dist/chunks/{chunk.AFOOC2IJ.js → chunk.NOUFWET6.js} +2 -2
- package/dist/chunks/{chunk.GQCIN3QI.js → chunk.NYY4POP7.js} +3 -3
- package/dist/chunks/chunk.OOABXWCW.js +111 -0
- package/dist/chunks/chunk.OOABXWCW.js.map +7 -0
- package/dist/chunks/chunk.PDHVYHXD.js +156 -0
- package/dist/chunks/chunk.PDHVYHXD.js.map +7 -0
- package/dist/chunks/chunk.PFJUBUDL.js +12 -0
- package/dist/chunks/chunk.PFJUBUDL.js.map +7 -0
- package/dist/chunks/{chunk.NSYEQECK.js → chunk.PLIQ6RPD.js} +2 -2
- package/dist/chunks/{chunk.L5APUSPB.js → chunk.PN6VIFO3.js} +10 -8
- package/dist/chunks/{chunk.L5APUSPB.js.map → chunk.PN6VIFO3.js.map} +1 -1
- package/dist/chunks/{chunk.SNE4YYHY.js → chunk.PQKD6OYF.js} +2 -2
- package/dist/chunks/{chunk.VJ5NFXWS.js → chunk.QDYPBFX4.js} +2 -2
- package/dist/chunks/{chunk.GXPIMLW3.js → chunk.QXUPCXT5.js} +2 -2
- package/dist/chunks/{chunk.5S4NBTAE.js → chunk.R6GYAHAZ.js} +3 -3
- package/dist/chunks/chunk.RD2376VJ.js +12 -0
- package/dist/chunks/chunk.RD2376VJ.js.map +7 -0
- package/dist/chunks/chunk.RRWSXFQ5.js +239 -0
- package/dist/chunks/chunk.RRWSXFQ5.js.map +7 -0
- package/dist/chunks/chunk.RSSY7KPD.js +24 -0
- package/dist/chunks/chunk.RSSY7KPD.js.map +7 -0
- package/dist/chunks/{chunk.ZYXL5PMB.js → chunk.SJCYCGUZ.js} +6 -6
- package/dist/chunks/chunk.SLCYXMHB.js +57 -0
- package/dist/chunks/chunk.SLCYXMHB.js.map +7 -0
- package/dist/chunks/{chunk.SOGEZO2M.js → chunk.TYPMG2S4.js} +2 -2
- package/dist/chunks/{chunk.JLNH2W3S.js → chunk.VKSYJXTN.js} +18 -133
- package/dist/chunks/chunk.VKSYJXTN.js.map +7 -0
- package/dist/chunks/{chunk.LGADMVOP.js → chunk.W2GO4M3V.js} +2 -2
- package/dist/chunks/chunk.WATON67O.js +12 -0
- package/dist/chunks/chunk.WATON67O.js.map +7 -0
- package/dist/chunks/{chunk.UAHEM2KD.js → chunk.WMAUFYXR.js} +2 -2
- package/dist/chunks/{chunk.ZFFM3DYG.js → chunk.WWMWREE4.js} +4 -4
- package/dist/chunks/{chunk.U24UDJCX.js → chunk.X3D3MBIH.js} +2 -2
- package/dist/chunks/{chunk.U24UDJCX.js.map → chunk.X3D3MBIH.js.map} +1 -1
- package/dist/chunks/chunk.X6GR6IA2.js +29 -0
- package/dist/chunks/chunk.X6GR6IA2.js.map +7 -0
- package/dist/chunks/{chunk.ZQKBDPXT.js → chunk.YGF5AV75.js} +2 -2
- package/dist/chunks/chunk.ZZKLLRUA.js +365 -0
- package/dist/chunks/chunk.ZZKLLRUA.js.map +7 -0
- package/dist/components/button/button.component.js +7 -7
- package/dist/components/button/button.js +8 -8
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +6 -6
- package/dist/components/checkbox/checkbox.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +11 -9
- package/dist/components/drawer/drawer.js +12 -10
- package/dist/components/dropdown/dropdown.component.d.ts +96 -0
- package/dist/components/dropdown/dropdown.component.js +19 -0
- package/dist/components/dropdown/dropdown.component.js.map +7 -0
- package/dist/components/dropdown/dropdown.custom.styles.d.ts +2 -0
- package/dist/components/dropdown/dropdown.custom.styles.js +8 -0
- package/dist/components/dropdown/dropdown.custom.styles.js.map +7 -0
- package/dist/components/dropdown/dropdown.d.ts +8 -0
- package/dist/components/dropdown/dropdown.js +20 -0
- package/dist/components/dropdown/dropdown.js.map +7 -0
- package/dist/components/dropdown/dropdown.styles.d.ts +2 -0
- package/dist/components/dropdown/dropdown.styles.js +8 -0
- package/dist/components/dropdown/dropdown.styles.js.map +7 -0
- package/dist/components/header/header.component.js +7 -7
- package/dist/components/header/header.js +8 -8
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/input/input.component.js +7 -7
- package/dist/components/input/input.js +8 -8
- package/dist/components/menu/menu.component.d.ts +39 -0
- package/dist/components/menu/menu.component.js +11 -0
- package/dist/components/menu/menu.component.js.map +7 -0
- package/dist/components/menu/menu.custom.styles.d.ts +2 -0
- package/dist/components/menu/menu.custom.styles.js +8 -0
- package/dist/components/menu/menu.custom.styles.js.map +7 -0
- package/dist/components/menu/menu.d.ts +8 -0
- package/dist/components/menu/menu.js +12 -0
- package/dist/components/menu/menu.js.map +7 -0
- package/dist/components/menu/menu.styles.d.ts +2 -0
- package/dist/components/menu/menu.styles.js +8 -0
- package/dist/components/menu/menu.styles.js.map +7 -0
- package/dist/components/menu-item/menu-item.component.d.ts +67 -0
- package/dist/components/menu-item/menu-item.component.js +27 -0
- package/dist/components/menu-item/menu-item.component.js.map +7 -0
- package/dist/components/menu-item/menu-item.custom.styles.d.ts +2 -0
- package/dist/components/menu-item/menu-item.custom.styles.js +8 -0
- package/dist/components/menu-item/menu-item.custom.styles.js.map +7 -0
- package/dist/components/menu-item/menu-item.d.ts +8 -0
- package/dist/components/menu-item/menu-item.js +28 -0
- package/dist/components/menu-item/menu-item.js.map +7 -0
- package/dist/components/menu-item/menu-item.styles.d.ts +2 -0
- package/dist/components/menu-item/menu-item.styles.js +8 -0
- package/dist/components/menu-item/menu-item.styles.js.map +7 -0
- package/dist/components/menu-item/submenu-controller.d.ts +36 -0
- package/dist/components/menu-item/submenu-controller.js +11 -0
- package/dist/components/menu-item/submenu-controller.js.map +7 -0
- package/dist/components/menu-label/menu-label.component.d.ts +31 -0
- package/dist/components/menu-label/menu-label.component.js +15 -0
- package/dist/components/menu-label/menu-label.component.js.map +7 -0
- package/dist/components/menu-label/menu-label.custom.styles.d.ts +2 -0
- package/dist/components/menu-label/menu-label.custom.styles.js +8 -0
- package/dist/components/menu-label/menu-label.custom.styles.js.map +7 -0
- package/dist/components/menu-label/menu-label.d.ts +8 -0
- package/dist/components/menu-label/menu-label.js +16 -0
- package/dist/components/menu-label/menu-label.js.map +7 -0
- package/dist/components/menu-label/menu-label.styles.d.ts +2 -0
- package/dist/components/menu-label/menu-label.styles.js +8 -0
- package/dist/components/menu-label/menu-label.styles.js.map +7 -0
- package/dist/components/optgroup/optgroup.component.js +4 -4
- package/dist/components/optgroup/optgroup.js +5 -5
- package/dist/components/option/option.component.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.d.ts +8 -0
- package/dist/components/popup/popup.js +11 -0
- package/dist/components/popup/popup.js.map +7 -0
- package/dist/components/radio/radio.component.js +5 -5
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio-button/radio-button.component.js +3 -3
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/select/select.component.js +14 -13
- package/dist/components/select/select.js +15 -14
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/switch/switch.component.js +3 -3
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/tag/tag.component.js +7 -7
- package/dist/components/tag/tag.custom.styles.js +1 -1
- package/dist/components/tag/tag.js +8 -8
- package/dist/components/textarea/textarea.component.js +3 -3
- package/dist/components/textarea/textarea.js +4 -4
- package/dist/custom-elements.json +1993 -1134
- package/dist/events/events.d.ts +1 -0
- package/dist/events/syn-select.d.ts +9 -0
- package/dist/synergy.d.ts +5 -0
- package/dist/synergy.js +94 -59
- package/dist/themes/utility.css +12 -3
- package/dist/vscode.html-custom-data.json +137 -17
- package/package.json +3 -3
- package/dist/chunks/chunk.7W73A57K.js.map +0 -7
- package/dist/chunks/chunk.GTSRMEPE.js.map +0 -7
- package/dist/chunks/chunk.JLNH2W3S.js.map +0 -7
- /package/dist/chunks/{chunk.GQFFWTB6.js.map → chunk.25VU42YC.js.map} +0 -0
- /package/dist/chunks/{chunk.IZUTSNSL.js.map → chunk.2HCVVOEV.js.map} +0 -0
- /package/dist/chunks/{chunk.CIENFFDB.js.map → chunk.3V2G5ZN5.js.map} +0 -0
- /package/dist/chunks/{chunk.RITXJLM2.js.map → chunk.5D6C4M2C.js.map} +0 -0
- /package/dist/chunks/{chunk.G7SPBDNX.js.map → chunk.5IL2WT3S.js.map} +0 -0
- /package/dist/chunks/{chunk.HXLFB7ZH.js.map → chunk.5UM7HWIJ.js.map} +0 -0
- /package/dist/chunks/{chunk.4FD6EN6V.js.map → chunk.62EBS3GI.js.map} +0 -0
- /package/dist/chunks/{chunk.NKGRF5PE.js.map → chunk.6CAMLQSC.js.map} +0 -0
- /package/dist/chunks/{chunk.EVPQK6A6.js.map → chunk.B7UA4FRG.js.map} +0 -0
- /package/dist/chunks/{chunk.LH3GMK7S.js.map → chunk.BRWLHYC5.js.map} +0 -0
- /package/dist/chunks/{chunk.BI3SSGDL.js.map → chunk.BUBQFHSV.js.map} +0 -0
- /package/dist/chunks/{chunk.MOE5YJDU.js.map → chunk.D3SWRAXW.js.map} +0 -0
- /package/dist/chunks/{chunk.PKNEJYPC.js.map → chunk.FTTKC5YD.js.map} +0 -0
- /package/dist/chunks/{chunk.P2KXCLJX.js.map → chunk.G5TO77WM.js.map} +0 -0
- /package/dist/chunks/{chunk.LVDTUHAK.js.map → chunk.I2E3UJIK.js.map} +0 -0
- /package/dist/chunks/{chunk.73CGLYDS.js.map → chunk.IQK6FVMW.js.map} +0 -0
- /package/dist/chunks/{chunk.ZGNSJN4N.js.map → chunk.ISU5BF2G.js.map} +0 -0
- /package/dist/chunks/{chunk.WHZYEHUG.js.map → chunk.JT32Q3RE.js.map} +0 -0
- /package/dist/chunks/{chunk.NUWM3YC3.js.map → chunk.KDY26CBL.js.map} +0 -0
- /package/dist/chunks/{chunk.FUUO3LIN.js.map → chunk.KNZNW4VS.js.map} +0 -0
- /package/dist/chunks/{chunk.W2U4WOJV.js.map → chunk.MFHUNGFO.js.map} +0 -0
- /package/dist/chunks/{chunk.DG6V34TC.js.map → chunk.MWXEDKNQ.js.map} +0 -0
- /package/dist/chunks/{chunk.XQCYTG77.js.map → chunk.N3SVWIVG.js.map} +0 -0
- /package/dist/chunks/{chunk.AFOOC2IJ.js.map → chunk.NOUFWET6.js.map} +0 -0
- /package/dist/chunks/{chunk.GQCIN3QI.js.map → chunk.NYY4POP7.js.map} +0 -0
- /package/dist/chunks/{chunk.NSYEQECK.js.map → chunk.PLIQ6RPD.js.map} +0 -0
- /package/dist/chunks/{chunk.SNE4YYHY.js.map → chunk.PQKD6OYF.js.map} +0 -0
- /package/dist/chunks/{chunk.VJ5NFXWS.js.map → chunk.QDYPBFX4.js.map} +0 -0
- /package/dist/chunks/{chunk.GXPIMLW3.js.map → chunk.QXUPCXT5.js.map} +0 -0
- /package/dist/chunks/{chunk.5S4NBTAE.js.map → chunk.R6GYAHAZ.js.map} +0 -0
- /package/dist/chunks/{chunk.ZYXL5PMB.js.map → chunk.SJCYCGUZ.js.map} +0 -0
- /package/dist/chunks/{chunk.SOGEZO2M.js.map → chunk.TYPMG2S4.js.map} +0 -0
- /package/dist/chunks/{chunk.LGADMVOP.js.map → chunk.W2GO4M3V.js.map} +0 -0
- /package/dist/chunks/{chunk.UAHEM2KD.js.map → chunk.WMAUFYXR.js.map} +0 -0
- /package/dist/chunks/{chunk.ZFFM3DYG.js.map → chunk.WWMWREE4.js.map} +0 -0
- /package/dist/chunks/{chunk.ZQKBDPXT.js.map → chunk.YGF5AV75.js.map} +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
menu_label_custom_styles_default
|
|
3
|
+
} from "./chunk.X6GR6IA2.js";
|
|
4
|
+
import {
|
|
5
|
+
menu_label_styles_default
|
|
6
|
+
} from "./chunk.3FOVDOJX.js";
|
|
7
|
+
import {
|
|
8
|
+
SynDivider
|
|
9
|
+
} from "./chunk.PQKD6OYF.js";
|
|
10
|
+
import {
|
|
11
|
+
SynergyElement,
|
|
12
|
+
component_styles_default
|
|
13
|
+
} from "./chunk.X3D3MBIH.js";
|
|
14
|
+
|
|
15
|
+
// src/components/menu-label/menu-label.component.ts
|
|
16
|
+
import { html } from "lit";
|
|
17
|
+
var SynMenuLabel = class extends SynergyElement {
|
|
18
|
+
render() {
|
|
19
|
+
return html`
|
|
20
|
+
<div part="base" class="menu-label-wrapper">
|
|
21
|
+
<syn-divider class="menu-label__divider" part="divider"></syn-divider>
|
|
22
|
+
<slot part="label" class="menu-label"></slot>
|
|
23
|
+
</div>
|
|
24
|
+
`;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
SynMenuLabel.styles = [component_styles_default, menu_label_styles_default, menu_label_custom_styles_default];
|
|
28
|
+
SynMenuLabel.dependencies = {
|
|
29
|
+
"syn-divider": SynDivider
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export {
|
|
33
|
+
SynMenuLabel
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=chunk.6G5WBKTI.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/menu-label/menu-label.component.ts"],
|
|
4
|
+
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { html } from 'lit';\nimport SynDivider from '../divider/divider.component.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './menu-label.styles.js';\nimport customStyles from './menu-label.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Menu labels are used to describe a group of menu items.\n * @documentation https://synergy.style/components/menu-label\n * @status stable\n * @since 2.0\n *\n * @dependency syn-divider\n *\n * @slot - The menu label's content.\n *\n * @csspart base - The component's base wrapper.\n * @csspart divider - The divider that is displayed above the content\n * @csspart label - The label that is displayed below the divider\n *\n * @cssproperty --display-divider - Display property of the divider. Defaults to \"block\"\n */\nexport default class SynMenuLabel extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n static dependencies = {\n 'syn-divider': SynDivider,\n };\n \n render() {\n return html`\n <div part=\"base\" class=\"menu-label-wrapper\">\n <syn-divider class=\"menu-label__divider\" part=\"divider\"></syn-divider>\n <slot part=\"label\" class=\"menu-label\"></slot>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-menu-label': SynMenuLabel;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;AAMA,SAAS,YAAY;AAwBrB,IAAqB,eAArB,cAA0C,eAAe;AAAA,EAOvD,SAAS;AACP,WAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMT;AACF;AAfqB,aACZ,SAAyB,CAAC,0BAAiB,2BAAQ,gCAAY;AADnD,aAGZ,eAAe;AAAA,EACpB,eAAe;AACjB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SynMenuItem
|
|
3
|
+
} from "./chunk.HUCNUF4L.js";
|
|
4
|
+
|
|
5
|
+
// src/components/menu-item/menu-item.ts
|
|
6
|
+
var menu_item_default = SynMenuItem;
|
|
7
|
+
SynMenuItem.define("syn-menu-item");
|
|
8
|
+
|
|
9
|
+
export {
|
|
10
|
+
menu_item_default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=chunk.76A3JS2N.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/menu-item/menu-item.ts"],
|
|
4
|
+
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport SynMenuItem from './menu-item.component.js';\n\nexport * from './menu-item.component.js';\nexport default SynMenuItem;\n\nSynMenuItem.define('syn-menu-item');\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-menu-item': SynMenuItem;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AASA,IAAO,oBAAQ;AAEf,YAAY,OAAO,eAAe;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__spreadProps,
|
|
3
|
+
__spreadValues
|
|
4
|
+
} from "./chunk.QNDC5KWA.js";
|
|
5
|
+
|
|
6
|
+
// src/internal/animate.ts
|
|
7
|
+
function animateTo(el, keyframes, options) {
|
|
8
|
+
return new Promise((resolve) => {
|
|
9
|
+
if ((options == null ? void 0 : options.duration) === Infinity) {
|
|
10
|
+
throw new Error("Promise-based animations must be finite.");
|
|
11
|
+
}
|
|
12
|
+
const animation = el.animate(keyframes, __spreadProps(__spreadValues({}, options), {
|
|
13
|
+
duration: prefersReducedMotion() ? 0 : options.duration
|
|
14
|
+
}));
|
|
15
|
+
animation.addEventListener("cancel", resolve, { once: true });
|
|
16
|
+
animation.addEventListener("finish", resolve, { once: true });
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
function prefersReducedMotion() {
|
|
20
|
+
const query = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
21
|
+
return query.matches;
|
|
22
|
+
}
|
|
23
|
+
function stopAnimations(el) {
|
|
24
|
+
return Promise.all(
|
|
25
|
+
el.getAnimations().map((animation) => {
|
|
26
|
+
return new Promise((resolve) => {
|
|
27
|
+
animation.cancel();
|
|
28
|
+
requestAnimationFrame(resolve);
|
|
29
|
+
});
|
|
30
|
+
})
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// src/internal/event.ts
|
|
35
|
+
function waitForEvent(el, eventName) {
|
|
36
|
+
return new Promise((resolve) => {
|
|
37
|
+
function done(event) {
|
|
38
|
+
if (event.target === el) {
|
|
39
|
+
el.removeEventListener(eventName, done);
|
|
40
|
+
resolve();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
el.addEventListener(eventName, done);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export {
|
|
48
|
+
animateTo,
|
|
49
|
+
stopAnimations,
|
|
50
|
+
waitForEvent
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=chunk.7BEVGRQ2.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/internal/animate.ts", "../../src/internal/event.ts"],
|
|
4
|
+
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\n/**\n * Animates an element using keyframes. Returns a promise that resolves after the animation completes or gets canceled.\n */\nexport function animateTo(el: HTMLElement, keyframes: Keyframe[], options?: KeyframeAnimationOptions) {\n return new Promise(resolve => {\n if (options?.duration === Infinity) {\n throw new Error('Promise-based animations must be finite.');\n }\n\n const animation = el.animate(keyframes, {\n ...options,\n duration: prefersReducedMotion() ? 0 : options!.duration\n });\n\n animation.addEventListener('cancel', resolve, { once: true });\n animation.addEventListener('finish', resolve, { once: true });\n });\n}\n\n/** Parses a CSS duration and returns the number of milliseconds. */\nexport function parseDuration(delay: number | string) {\n delay = delay.toString().toLowerCase();\n\n if (delay.indexOf('ms') > -1) {\n return parseFloat(delay);\n }\n\n if (delay.indexOf('s') > -1) {\n return parseFloat(delay) * 1000;\n }\n\n return parseFloat(delay);\n}\n\n/** Tells if the user has enabled the \"reduced motion\" setting in their browser or OS. */\nexport function prefersReducedMotion() {\n const query = window.matchMedia('(prefers-reduced-motion: reduce)');\n return query.matches;\n}\n\n/**\n * Stops all active animations on the target element. Returns a promise that resolves after all animations are canceled.\n */\nexport function stopAnimations(el: HTMLElement) {\n return Promise.all(\n el.getAnimations().map(animation => {\n return new Promise(resolve => {\n animation.cancel();\n requestAnimationFrame(resolve);\n });\n })\n );\n}\n\n/**\n * We can't animate `height: auto`, but we can calculate the height and shim keyframes by replacing it with the\n * element's scrollHeight before the animation.\n */\nexport function shimKeyframesHeightAuto(keyframes: Keyframe[], calculatedHeight: number) {\n return keyframes.map(keyframe => ({\n ...keyframe,\n height: keyframe.height === 'auto' ? `${calculatedHeight}px` : keyframe.height\n }));\n}\n", "// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\n/** Waits for a specific event to be emitted from an element. Ignores events that bubble up from child elements. */\nexport function waitForEvent(el: HTMLElement, eventName: string) {\n return new Promise<void>(resolve => {\n function done(event: Event) {\n if (event.target === el) {\n el.removeEventListener(eventName, done);\n resolve();\n }\n }\n\n el.addEventListener(eventName, done);\n });\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;AASO,SAAS,UAAU,IAAiB,WAAuB,SAAoC;AACpG,SAAO,IAAI,QAAQ,aAAW;AAC5B,SAAI,mCAAS,cAAa,UAAU;AAClC,YAAM,IAAI,MAAM,0CAA0C;AAAA,IAC5D;AAEA,UAAM,YAAY,GAAG,QAAQ,WAAW,iCACnC,UADmC;AAAA,MAEtC,UAAU,qBAAqB,IAAI,IAAI,QAAS;AAAA,IAClD,EAAC;AAED,cAAU,iBAAiB,UAAU,SAAS,EAAE,MAAM,KAAK,CAAC;AAC5D,cAAU,iBAAiB,UAAU,SAAS,EAAE,MAAM,KAAK,CAAC;AAAA,EAC9D,CAAC;AACH;AAkBO,SAAS,uBAAuB;AACrC,QAAM,QAAQ,OAAO,WAAW,kCAAkC;AAClE,SAAO,MAAM;AACf;AAKO,SAAS,eAAe,IAAiB;AAC9C,SAAO,QAAQ;AAAA,IACb,GAAG,cAAc,EAAE,IAAI,eAAa;AAClC,aAAO,IAAI,QAAQ,aAAW;AAC5B,kBAAU,OAAO;AACjB,8BAAsB,OAAO;AAAA,MAC/B,CAAC;AAAA,IACH,CAAC;AAAA,EACH;AACF;;;ACnDO,SAAS,aAAa,IAAiB,WAAmB;AAC/D,SAAO,IAAI,QAAc,aAAW;AAClC,aAAS,KAAK,OAAc;AAC1B,UAAI,MAAM,WAAW,IAAI;AACvB,WAAG,oBAAoB,WAAW,IAAI;AACtC,gBAAQ;AAAA,MACV;AAAA,IACF;AAEA,OAAG,iBAAiB,WAAW,IAAI;AAAA,EACrC,CAAC;AACH;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -4,6 +4,7 @@ var tag_custom_styles_default = css`
|
|
|
4
4
|
.tag {
|
|
5
5
|
background-color: var(--syn-color-neutral-0);
|
|
6
6
|
border-color: var(--syn-color-neutral-400);
|
|
7
|
+
border-radius: var(--syn-border-radius-small);
|
|
7
8
|
color: var(--syn-input-color);
|
|
8
9
|
}
|
|
9
10
|
|
|
@@ -105,4 +106,4 @@ var tag_custom_styles_default = css`
|
|
|
105
106
|
export {
|
|
106
107
|
tag_custom_styles_default
|
|
107
108
|
};
|
|
108
|
-
//# sourceMappingURL=chunk.
|
|
109
|
+
//# sourceMappingURL=chunk.B6R3IVGO.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/tag/tag.custom.styles.ts"],
|
|
4
|
+
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n .tag {\n background-color: var(--syn-color-neutral-0);\n border-color: var(--syn-color-neutral-400);\n border-radius: var(--syn-border-radius-small);\n color: var(--syn-input-color);\n }\n\n .tag .tag__remove {\n color: var(--syn-color-neutral-500);\n }\n\n\n /* Size small */\n .tag--small {\n font-size: var(--syn-font-size-x-small);\n height: var(--syn-font-size-x-large);\n }\n\n .tag--small.tag--removable {\n padding-inline-end: var(--syn-spacing-2x-small);\n }\n\n\n /* Size medium */\n .tag--medium {\n font-size: var(--syn-font-size-small);\n height: var(--syn-font-size-2x-large);\n }\n\n .tag--medium.tag--removable {\n padding-inline-end: var(--syn-spacing-x-small);\n }\n\n .tag--medium .tag__remove {\n margin-inline-start: var(--syn-spacing-small);\n }\n\n\n /* Size large */\n .tag--large {\n font-size: var(--syn-font-size-medium);\n height: var(--syn-font-size-3x-large);\n }\n\n .tag--large .tag__remove {\n margin-inline-start: var(--syn-spacing-medium);\n }\n\n .tag--large.tag--removable {\n padding-inline-end: var(--syn-spacing-small);\n }\n\n\n /* Hover */\n .tag.tag--removable:hover {\n background-color: var(--syn-color-neutral-100);\n }\n \n .tag .tag__remove:hover {\n color: var(--syn-color-neutral-950);\n }\n\n\n /* Focus \n ! Focus styling is currently not working because shoelace does not support to focus icon-button \n */\n .tag.tag--removable:focus ~ .tag__remove {\n border: solid 1px var(--syn-color-primary-500);\n }\n\n\n /* Slotted icon style */\n .tag--small ::slotted(syn-icon) {\n font-size: var(--syn-font-size-small);\n margin-inline-end: var(--syn-spacing-2x-small);\n }\n\n .tag--medium ::slotted(syn-icon) {\n font-size: var(--syn-font-size-medium);\n margin-inline-end: var(--syn-spacing-x-small);\n }\n\n .tag--large ::slotted(syn-icon) {\n font-size: var(--syn-font-size-large);\n margin-inline-end: var(--syn-spacing-x-small);\n }\n\n\n /* Remove icon-button style */\n .tag--small .tag__remove::part(base){\n font-size: var(--syn-font-size-medium);\n }\n\n .tag--medium .tag__remove::part(base){\n font-size: var(--syn-font-size-x-large);\n }\n\n .tag--large .tag__remove::part(base){\n font-size: var(--syn-font-size-2x-large);\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,4BAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynOption
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.R6GYAHAZ.js";
|
|
4
4
|
|
|
5
5
|
// src/components/option/option.ts
|
|
6
6
|
var option_default = SynOption;
|
|
@@ -9,4 +9,4 @@ SynOption.define("syn-option");
|
|
|
9
9
|
export {
|
|
10
10
|
option_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.B7UA4FRG.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tag_custom_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.B6R3IVGO.js";
|
|
4
4
|
import {
|
|
5
5
|
tag_styles_default
|
|
6
6
|
} from "./chunk.BGHK4NQA.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIconButton
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.KDY26CBL.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
12
|
} from "./chunk.LAB4YJYE.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement,
|
|
15
15
|
component_styles_default
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.X3D3MBIH.js";
|
|
17
17
|
import {
|
|
18
18
|
__decorateClass
|
|
19
19
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -76,4 +76,4 @@ __decorateClass([
|
|
|
76
76
|
export {
|
|
77
77
|
SynTag
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=chunk.
|
|
79
|
+
//# sourceMappingURL=chunk.BRWLHYC5.js.map
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk.PKO6FEOM.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIcon
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.I2E3UJIK.js";
|
|
10
10
|
import {
|
|
11
11
|
watch
|
|
12
12
|
} from "./chunk.AVTU2BGE.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement,
|
|
15
15
|
component_styles_default
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.X3D3MBIH.js";
|
|
17
17
|
import {
|
|
18
18
|
__decorateClass
|
|
19
19
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -112,4 +112,4 @@ __decorateClass([
|
|
|
112
112
|
export {
|
|
113
113
|
SynRadio
|
|
114
114
|
};
|
|
115
|
-
//# sourceMappingURL=chunk.
|
|
115
|
+
//# sourceMappingURL=chunk.BUBQFHSV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadio
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.BUBQFHSV.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio/radio.ts
|
|
6
6
|
var radio_default = SynRadio;
|
|
@@ -9,4 +9,4 @@ SynRadio.define("syn-radio");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.D3SWRAXW.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// src/components/menu/menu.custom.styles.ts
|
|
2
|
+
import { css } from "lit";
|
|
3
|
+
var menu_custom_styles_default = css`
|
|
4
|
+
:host {
|
|
5
|
+
border-radius: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Make sure to hide the syn-divider for the first syn-optgroup
|
|
10
|
+
* Note! ::slotted does currently not work with ::part, so we
|
|
11
|
+
* opted for using a css variable here.
|
|
12
|
+
*/
|
|
13
|
+
::slotted(syn-menu-label:first-of-type) {
|
|
14
|
+
--display-divider: none;
|
|
15
|
+
}
|
|
16
|
+
`;
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
menu_custom_styles_default
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=chunk.ENYO4NCR.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/menu/menu.custom.styles.ts"],
|
|
4
|
+
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n border-radius: 0;\n }\n\n /**\n * Make sure to hide the syn-divider for the first syn-optgroup\n * Note! ::slotted does currently not work with ::part, so we\n * opted for using a css variable here.\n */\n ::slotted(syn-menu-label:first-of-type) {\n --display-divider: none;\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,6BAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadioButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.NYY4POP7.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio-button/radio-button.ts
|
|
6
6
|
var radio_button_default = SynRadioButton;
|
|
@@ -9,4 +9,4 @@ SynRadioButton.define("syn-radio-button");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.FTTKC5YD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTextarea
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.N3SVWIVG.js";
|
|
4
4
|
|
|
5
5
|
// src/components/textarea/textarea.ts
|
|
6
6
|
var textarea_default = SynTextarea;
|
|
@@ -9,4 +9,4 @@ SynTextarea.define("syn-textarea");
|
|
|
9
9
|
export {
|
|
10
10
|
textarea_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.G5TO77WM.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SynMenuLabel
|
|
3
|
+
} from "./chunk.6G5WBKTI.js";
|
|
4
|
+
|
|
5
|
+
// src/components/menu-label/menu-label.ts
|
|
6
|
+
var menu_label_default = SynMenuLabel;
|
|
7
|
+
SynMenuLabel.define("syn-menu-label");
|
|
8
|
+
|
|
9
|
+
export {
|
|
10
|
+
menu_label_default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=chunk.GAES53RX.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/menu-label/menu-label.ts"],
|
|
4
|
+
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport SynMenuLabel from './menu-label.component.js';\n\nexport * from './menu-label.component.js';\nexport default SynMenuLabel;\n\nSynMenuLabel.define('syn-menu-label');\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-menu-label': SynMenuLabel;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AASA,IAAO,qBAAQ;AAEf,aAAa,OAAO,gBAAgB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import {
|
|
2
|
+
menu_item_custom_styles_default
|
|
3
|
+
} from "./chunk.OOABXWCW.js";
|
|
4
|
+
import {
|
|
5
|
+
menu_item_styles_default
|
|
6
|
+
} from "./chunk.PDHVYHXD.js";
|
|
7
|
+
import {
|
|
8
|
+
SubmenuController
|
|
9
|
+
} from "./chunk.RRWSXFQ5.js";
|
|
10
|
+
import {
|
|
11
|
+
SynPopup
|
|
12
|
+
} from "./chunk.IQK6FVMW.js";
|
|
13
|
+
import {
|
|
14
|
+
SynSpinner
|
|
15
|
+
} from "./chunk.NOUFWET6.js";
|
|
16
|
+
import {
|
|
17
|
+
LocalizeController
|
|
18
|
+
} from "./chunk.LAB4YJYE.js";
|
|
19
|
+
import {
|
|
20
|
+
HasSlotController,
|
|
21
|
+
getTextContent
|
|
22
|
+
} from "./chunk.66WXVGAW.js";
|
|
23
|
+
import {
|
|
24
|
+
SynIcon
|
|
25
|
+
} from "./chunk.I2E3UJIK.js";
|
|
26
|
+
import {
|
|
27
|
+
watch
|
|
28
|
+
} from "./chunk.AVTU2BGE.js";
|
|
29
|
+
import {
|
|
30
|
+
SynergyElement,
|
|
31
|
+
component_styles_default
|
|
32
|
+
} from "./chunk.X3D3MBIH.js";
|
|
33
|
+
import {
|
|
34
|
+
__decorateClass
|
|
35
|
+
} from "./chunk.QNDC5KWA.js";
|
|
36
|
+
|
|
37
|
+
// src/components/menu-item/menu-item.component.ts
|
|
38
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
39
|
+
import { html } from "lit";
|
|
40
|
+
import { property, query } from "lit/decorators.js";
|
|
41
|
+
var SynMenuItem = class extends SynergyElement {
|
|
42
|
+
constructor() {
|
|
43
|
+
super(...arguments);
|
|
44
|
+
this.type = "normal";
|
|
45
|
+
this.checked = false;
|
|
46
|
+
this.value = "";
|
|
47
|
+
this.loading = false;
|
|
48
|
+
this.disabled = false;
|
|
49
|
+
this.localize = new LocalizeController(this);
|
|
50
|
+
this.hasSlotController = new HasSlotController(this, "submenu");
|
|
51
|
+
this.submenuController = new SubmenuController(this, this.hasSlotController, this.localize);
|
|
52
|
+
this.handleHostClick = (event) => {
|
|
53
|
+
if (this.disabled) {
|
|
54
|
+
event.preventDefault();
|
|
55
|
+
event.stopImmediatePropagation();
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
this.handleMouseOver = (event) => {
|
|
59
|
+
this.focus();
|
|
60
|
+
event.stopPropagation();
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
connectedCallback() {
|
|
64
|
+
super.connectedCallback();
|
|
65
|
+
this.addEventListener("click", this.handleHostClick);
|
|
66
|
+
this.addEventListener("mouseover", this.handleMouseOver);
|
|
67
|
+
}
|
|
68
|
+
disconnectedCallback() {
|
|
69
|
+
super.disconnectedCallback();
|
|
70
|
+
this.removeEventListener("click", this.handleHostClick);
|
|
71
|
+
this.removeEventListener("mouseover", this.handleMouseOver);
|
|
72
|
+
}
|
|
73
|
+
handleDefaultSlotChange() {
|
|
74
|
+
const textLabel = this.getTextLabel();
|
|
75
|
+
if (typeof this.cachedTextLabel === "undefined") {
|
|
76
|
+
this.cachedTextLabel = textLabel;
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
if (textLabel !== this.cachedTextLabel) {
|
|
80
|
+
this.cachedTextLabel = textLabel;
|
|
81
|
+
this.emit("slotchange", { bubbles: true, composed: false, cancelable: false });
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
handleCheckedChange() {
|
|
85
|
+
if (this.checked && this.type !== "checkbox") {
|
|
86
|
+
this.checked = false;
|
|
87
|
+
console.error('The checked attribute can only be used on menu items with type="checkbox"', this);
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
if (this.type === "checkbox") {
|
|
91
|
+
this.setAttribute("aria-checked", this.checked ? "true" : "false");
|
|
92
|
+
} else {
|
|
93
|
+
this.removeAttribute("aria-checked");
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
handleDisabledChange() {
|
|
97
|
+
this.setAttribute("aria-disabled", this.disabled ? "true" : "false");
|
|
98
|
+
}
|
|
99
|
+
handleTypeChange() {
|
|
100
|
+
if (this.type === "checkbox") {
|
|
101
|
+
this.setAttribute("role", "menuitemcheckbox");
|
|
102
|
+
this.setAttribute("aria-checked", this.checked ? "true" : "false");
|
|
103
|
+
} else {
|
|
104
|
+
this.setAttribute("role", "menuitem");
|
|
105
|
+
this.removeAttribute("aria-checked");
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
/** Returns a text label based on the contents of the menu item's default slot. */
|
|
109
|
+
getTextLabel() {
|
|
110
|
+
return getTextContent(this.defaultSlot);
|
|
111
|
+
}
|
|
112
|
+
isSubmenu() {
|
|
113
|
+
return this.hasSlotController.test("submenu");
|
|
114
|
+
}
|
|
115
|
+
render() {
|
|
116
|
+
const isRtl = this.localize.dir() === "rtl";
|
|
117
|
+
const isSubmenuExpanded = this.submenuController.isExpanded();
|
|
118
|
+
return html`
|
|
119
|
+
<div
|
|
120
|
+
id="anchor"
|
|
121
|
+
part="base"
|
|
122
|
+
class=${classMap({
|
|
123
|
+
"menu-item": true,
|
|
124
|
+
"menu-item--rtl": isRtl,
|
|
125
|
+
"menu-item--checked": this.checked,
|
|
126
|
+
"menu-item--disabled": this.disabled,
|
|
127
|
+
"menu-item--loading": this.loading,
|
|
128
|
+
"menu-item--has-submenu": this.isSubmenu(),
|
|
129
|
+
"menu-item--submenu-expanded": isSubmenuExpanded
|
|
130
|
+
})}
|
|
131
|
+
?aria-haspopup="${this.isSubmenu()}"
|
|
132
|
+
?aria-expanded="${isSubmenuExpanded ? true : false}"
|
|
133
|
+
>
|
|
134
|
+
<span part="checked-icon" class="menu-item__check">
|
|
135
|
+
<syn-icon name="check" library="system" aria-hidden="true"></syn-icon>
|
|
136
|
+
</span>
|
|
137
|
+
|
|
138
|
+
<slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
|
|
139
|
+
|
|
140
|
+
<slot part="label" class="menu-item__label" @slotchange=${this.handleDefaultSlotChange}></slot>
|
|
141
|
+
|
|
142
|
+
<slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
|
|
143
|
+
|
|
144
|
+
<span part="submenu-icon" class="menu-item__chevron">
|
|
145
|
+
<syn-icon name="chevron-down" library="system" aria-hidden="true"></syn-icon>
|
|
146
|
+
</span>
|
|
147
|
+
|
|
148
|
+
${this.submenuController.renderSubmenu()}
|
|
149
|
+
${this.loading ? html` <syn-spinner part="spinner" exportparts="base:spinner__base"></syn-spinner> ` : ""}
|
|
150
|
+
</div>
|
|
151
|
+
`;
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
SynMenuItem.styles = [component_styles_default, menu_item_styles_default, menu_item_custom_styles_default];
|
|
155
|
+
SynMenuItem.dependencies = {
|
|
156
|
+
"syn-icon": SynIcon,
|
|
157
|
+
"syn-popup": SynPopup,
|
|
158
|
+
"syn-spinner": SynSpinner
|
|
159
|
+
};
|
|
160
|
+
__decorateClass([
|
|
161
|
+
query("slot:not([name])")
|
|
162
|
+
], SynMenuItem.prototype, "defaultSlot", 2);
|
|
163
|
+
__decorateClass([
|
|
164
|
+
query(".menu-item")
|
|
165
|
+
], SynMenuItem.prototype, "menuItem", 2);
|
|
166
|
+
__decorateClass([
|
|
167
|
+
property()
|
|
168
|
+
], SynMenuItem.prototype, "type", 2);
|
|
169
|
+
__decorateClass([
|
|
170
|
+
property({ type: Boolean, reflect: true })
|
|
171
|
+
], SynMenuItem.prototype, "checked", 2);
|
|
172
|
+
__decorateClass([
|
|
173
|
+
property()
|
|
174
|
+
], SynMenuItem.prototype, "value", 2);
|
|
175
|
+
__decorateClass([
|
|
176
|
+
property({ type: Boolean, reflect: true })
|
|
177
|
+
], SynMenuItem.prototype, "loading", 2);
|
|
178
|
+
__decorateClass([
|
|
179
|
+
property({ type: Boolean, reflect: true })
|
|
180
|
+
], SynMenuItem.prototype, "disabled", 2);
|
|
181
|
+
__decorateClass([
|
|
182
|
+
watch("checked")
|
|
183
|
+
], SynMenuItem.prototype, "handleCheckedChange", 1);
|
|
184
|
+
__decorateClass([
|
|
185
|
+
watch("disabled")
|
|
186
|
+
], SynMenuItem.prototype, "handleDisabledChange", 1);
|
|
187
|
+
__decorateClass([
|
|
188
|
+
watch("type")
|
|
189
|
+
], SynMenuItem.prototype, "handleTypeChange", 1);
|
|
190
|
+
|
|
191
|
+
export {
|
|
192
|
+
SynMenuItem
|
|
193
|
+
};
|
|
194
|
+
//# sourceMappingURL=chunk.HUCNUF4L.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/menu-item/menu-item.component.ts"],
|
|
4
|
+
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getTextContent, HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query } from 'lit/decorators.js';\nimport { SubmenuController } from './submenu-controller.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIcon from '../icon/icon.component.js';\nimport SynPopup from '../popup/popup.component.js';\nimport SynSpinner from '../spinner/spinner.component.js';\nimport styles from './menu-item.styles.js';\nimport customStyles from './menu-item.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Menu items provide options for the user to pick from in a menu.\n * @documentation https://synergy.style/components/menu-item\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n * @dependency syn-popup\n * @dependency syn-spinner\n *\n * @slot - The menu item's label.\n * @slot prefix - Used to prepend an icon or similar element to the menu item.\n * @slot suffix - Used to append an icon or similar element to the menu item.\n * @slot submenu - Used to denote a nested menu.\n *\n * @csspart base - The component's base wrapper.\n * @csspart checked-icon - The checked icon, which is only visible when the menu item is checked.\n * @csspart prefix - The prefix container.\n * @csspart label - The menu item label.\n * @csspart suffix - The suffix container.\n * @csspart spinner - The spinner that shows when the menu item is in the loading state.\n * @csspart spinner__base - The spinner's base part.\n * @csspart submenu-icon - The submenu icon, visible only when the menu item has a submenu (not yet implemented).\n *\n * @cssproperty [--submenu-offset=-2px] - The distance submenus shift to overlap the parent menu.\n */\nexport default class SynMenuItem extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = {\n 'syn-icon': SynIcon,\n 'syn-popup': SynPopup,\n 'syn-spinner': SynSpinner\n };\n\n private cachedTextLabel: string;\n\n @query('slot:not([name])') defaultSlot: HTMLSlotElement;\n @query('.menu-item') menuItem: HTMLElement;\n\n /** The type of menu item to render. To use `checked`, this value must be set to `checkbox`. */\n @property() type: 'normal' | 'checkbox' = 'normal';\n\n /** Draws the item in a checked state. */\n @property({ type: Boolean, reflect: true }) checked = false;\n\n /** A unique value to store in the menu item. This can be used as a way to identify menu items when selected. */\n @property() value = '';\n\n /** Draws the menu item in a loading state. */\n @property({ type: Boolean, reflect: true }) loading = false;\n\n /** Draws the menu item in a disabled state, preventing selection. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n private readonly localize = new LocalizeController(this);\n private readonly hasSlotController = new HasSlotController(this, 'submenu');\n private submenuController: SubmenuController = new SubmenuController(this, this.hasSlotController, this.localize);\n\n connectedCallback() {\n super.connectedCallback();\n this.addEventListener('click', this.handleHostClick);\n this.addEventListener('mouseover', this.handleMouseOver);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeEventListener('click', this.handleHostClick);\n this.removeEventListener('mouseover', this.handleMouseOver);\n }\n\n private handleDefaultSlotChange() {\n const textLabel = this.getTextLabel();\n\n // Ignore the first time the label is set\n if (typeof this.cachedTextLabel === 'undefined') {\n this.cachedTextLabel = textLabel;\n return;\n }\n\n // When the label changes, emit a slotchange event so parent controls see it\n if (textLabel !== this.cachedTextLabel) {\n this.cachedTextLabel = textLabel;\n this.emit('slotchange', { bubbles: true, composed: false, cancelable: false });\n }\n }\n\n private handleHostClick = (event: MouseEvent) => {\n // Prevent the click event from being emitted when the button is disabled or loading\n if (this.disabled) {\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n };\n\n private handleMouseOver = (event: MouseEvent) => {\n this.focus();\n event.stopPropagation();\n };\n\n @watch('checked')\n handleCheckedChange() {\n // For proper accessibility, users have to use type=\"checkbox\" to use the checked attribute\n if (this.checked && this.type !== 'checkbox') {\n this.checked = false;\n console.error('The checked attribute can only be used on menu items with type=\"checkbox\"', this);\n return;\n }\n\n // Only checkbox types can receive the aria-checked attribute\n if (this.type === 'checkbox') {\n this.setAttribute('aria-checked', this.checked ? 'true' : 'false');\n } else {\n this.removeAttribute('aria-checked');\n }\n }\n\n @watch('disabled')\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n @watch('type')\n handleTypeChange() {\n if (this.type === 'checkbox') {\n this.setAttribute('role', 'menuitemcheckbox');\n this.setAttribute('aria-checked', this.checked ? 'true' : 'false');\n } else {\n this.setAttribute('role', 'menuitem');\n this.removeAttribute('aria-checked');\n }\n }\n\n /** Returns a text label based on the contents of the menu item's default slot. */\n getTextLabel() {\n return getTextContent(this.defaultSlot);\n }\n\n isSubmenu() {\n return this.hasSlotController.test('submenu');\n }\n\n render() {\n const isRtl = this.localize.dir() === 'rtl';\n const isSubmenuExpanded = this.submenuController.isExpanded();\n\n return html`\n <div\n id=\"anchor\"\n part=\"base\"\n class=${classMap({\n 'menu-item': true,\n 'menu-item--rtl': isRtl,\n 'menu-item--checked': this.checked,\n 'menu-item--disabled': this.disabled,\n 'menu-item--loading': this.loading,\n 'menu-item--has-submenu': this.isSubmenu(),\n 'menu-item--submenu-expanded': isSubmenuExpanded\n })}\n ?aria-haspopup=\"${this.isSubmenu()}\"\n ?aria-expanded=\"${isSubmenuExpanded ? true : false}\"\n >\n <span part=\"checked-icon\" class=\"menu-item__check\">\n <syn-icon name=\"check\" library=\"system\" aria-hidden=\"true\"></syn-icon>\n </span>\n\n <slot name=\"prefix\" part=\"prefix\" class=\"menu-item__prefix\"></slot>\n\n <slot part=\"label\" class=\"menu-item__label\" @slotchange=${this.handleDefaultSlotChange}></slot>\n\n <slot name=\"suffix\" part=\"suffix\" class=\"menu-item__suffix\"></slot>\n\n <span part=\"submenu-icon\" class=\"menu-item__chevron\">\n <syn-icon name=\"chevron-down\" library=\"system\" aria-hidden=\"true\"></syn-icon>\n </span>\n\n ${this.submenuController.renderSubmenu()}\n ${this.loading ? html` <syn-spinner part=\"spinner\" exportparts=\"base:spinner__base\"></syn-spinner> ` : ''}\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getIconLibrary,
|
|
3
|
+
unwatchIcon,
|
|
4
|
+
watchIcon
|
|
5
|
+
} from "./chunk.7UVCYUNR.js";
|
|
1
6
|
import {
|
|
2
7
|
icon_custom_styles_default
|
|
3
8
|
} from "./chunk.PJO6TM3T.js";
|
|
4
9
|
import {
|
|
5
10
|
icon_styles_default
|
|
6
11
|
} from "./chunk.2RF7KO5I.js";
|
|
7
|
-
import {
|
|
8
|
-
getIconLibrary,
|
|
9
|
-
unwatchIcon,
|
|
10
|
-
watchIcon
|
|
11
|
-
} from "./chunk.7UVCYUNR.js";
|
|
12
12
|
import {
|
|
13
13
|
watch
|
|
14
14
|
} from "./chunk.AVTU2BGE.js";
|
|
15
15
|
import {
|
|
16
16
|
SynergyElement,
|
|
17
17
|
component_styles_default
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.X3D3MBIH.js";
|
|
19
19
|
import {
|
|
20
20
|
__decorateClass
|
|
21
21
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -176,4 +176,4 @@ __decorateClass([
|
|
|
176
176
|
export {
|
|
177
177
|
SynIcon
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=chunk.
|
|
179
|
+
//# sourceMappingURL=chunk.I2E3UJIK.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SynergyElement,
|
|
6
6
|
component_styles_default
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.X3D3MBIH.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass,
|
|
10
10
|
__spreadProps,
|
|
@@ -409,4 +409,4 @@ __decorateClass([
|
|
|
409
409
|
export {
|
|
410
410
|
SynPopup
|
|
411
411
|
};
|
|
412
|
-
//# sourceMappingURL=chunk.
|
|
412
|
+
//# sourceMappingURL=chunk.IQK6FVMW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynIconButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.KDY26CBL.js";
|
|
4
4
|
|
|
5
5
|
// src/components/icon-button/icon-button.ts
|
|
6
6
|
var icon_button_default = SynIconButton;
|
|
@@ -9,4 +9,4 @@ SynIconButton.define("syn-icon-button");
|
|
|
9
9
|
export {
|
|
10
10
|
icon_button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.ISU5BF2G.js.map
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk.KG52EHDB.js";
|
|
4
4
|
import {
|
|
5
5
|
SynDivider
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.PQKD6OYF.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.66WXVGAW.js";
|
|
10
10
|
import {
|
|
11
11
|
watch
|
|
12
12
|
} from "./chunk.AVTU2BGE.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.X3D3MBIH.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -93,4 +93,4 @@ __decorateClass([
|
|
|
93
93
|
export {
|
|
94
94
|
SynOptgroup
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=chunk.
|
|
96
|
+
//# sourceMappingURL=chunk.JT32Q3RE.js.map
|