@synergy-design-system/vue 2.11.6 → 2.11.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/README.md +1 -0
  2. package/dist/components/SynVueAccordion.vue.d.ts +31 -21
  3. package/dist/components/SynVueAccordion.vue.js +33 -0
  4. package/dist/components/SynVueAccordion.vue2.js +4 -0
  5. package/dist/components/SynVueAlert.vue.d.ts +10 -15
  6. package/dist/components/SynVueAlert.vue.js +40 -0
  7. package/dist/components/SynVueAlert.vue2.js +4 -0
  8. package/dist/components/SynVueBadge.vue.d.ts +15 -13
  9. package/dist/components/SynVueBadge.vue.js +31 -0
  10. package/dist/components/SynVueBadge.vue2.js +4 -0
  11. package/dist/components/SynVueBreadcrumb.vue.d.ts +19 -15
  12. package/dist/components/SynVueBreadcrumb.vue.js +31 -0
  13. package/dist/components/SynVueBreadcrumb.vue2.js +4 -0
  14. package/dist/components/SynVueBreadcrumbItem.vue.d.ts +36 -21
  15. package/dist/components/SynVueBreadcrumbItem.vue.js +33 -0
  16. package/dist/components/SynVueBreadcrumbItem.vue2.js +4 -0
  17. package/dist/components/SynVueButton.vue.d.ts +6 -10
  18. package/dist/components/SynVueButton.vue.js +54 -0
  19. package/dist/components/SynVueButton.vue2.js +4 -0
  20. package/dist/components/SynVueButtonGroup.vue.d.ts +19 -15
  21. package/dist/components/SynVueButtonGroup.vue.js +31 -0
  22. package/dist/components/SynVueButtonGroup.vue2.js +4 -0
  23. package/dist/components/SynVueCard.vue.d.ts +19 -15
  24. package/dist/components/SynVueCard.vue.js +31 -0
  25. package/dist/components/SynVueCard.vue2.js +4 -0
  26. package/dist/components/SynVueCheckbox.vue.d.ts +10 -16
  27. package/dist/components/SynVueCheckbox.vue.js +53 -0
  28. package/dist/components/SynVueCheckbox.vue2.js +4 -0
  29. package/dist/components/SynVueCombobox.vue.d.ts +20 -32
  30. package/dist/components/SynVueCombobox.vue.js +64 -0
  31. package/dist/components/SynVueCombobox.vue2.js +4 -0
  32. package/dist/components/SynVueDetails.vue.d.ts +10 -15
  33. package/dist/components/SynVueDetails.vue.js +41 -0
  34. package/dist/components/SynVueDetails.vue2.js +4 -0
  35. package/dist/components/SynVueDialog.vue.d.ts +10 -17
  36. package/dist/components/SynVueDialog.vue.js +41 -0
  37. package/dist/components/SynVueDialog.vue2.js +4 -0
  38. package/dist/components/SynVueDivider.vue.d.ts +11 -8
  39. package/dist/components/SynVueDivider.vue.js +29 -0
  40. package/dist/components/SynVueDivider.vue2.js +4 -0
  41. package/dist/components/SynVueDrawer.vue.d.ts +10 -17
  42. package/dist/components/SynVueDrawer.vue.js +43 -0
  43. package/dist/components/SynVueDrawer.vue2.js +4 -0
  44. package/dist/components/SynVueDropdown.vue.d.ts +10 -15
  45. package/dist/components/SynVueDropdown.vue.js +45 -0
  46. package/dist/components/SynVueDropdown.vue2.js +4 -0
  47. package/dist/components/SynVueFile.vue.d.ts +10 -16
  48. package/dist/components/SynVueFile.vue.js +58 -0
  49. package/dist/components/SynVueFile.vue2.js +4 -0
  50. package/dist/components/SynVueHeader.vue.d.ts +6 -10
  51. package/dist/components/SynVueHeader.vue.js +37 -0
  52. package/dist/components/SynVueHeader.vue2.js +4 -0
  53. package/dist/components/SynVueIcon.vue.d.ts +6 -9
  54. package/dist/components/SynVueIcon.vue.js +36 -0
  55. package/dist/components/SynVueIcon.vue2.js +4 -0
  56. package/dist/components/SynVueIconButton.vue.d.ts +6 -9
  57. package/dist/components/SynVueIconButton.vue.js +42 -0
  58. package/dist/components/SynVueIconButton.vue2.js +4 -0
  59. package/dist/components/SynVueInput.vue.d.ts +12 -19
  60. package/dist/components/SynVueInput.vue.js +73 -0
  61. package/dist/components/SynVueInput.vue2.js +4 -0
  62. package/dist/components/SynVueMenu.vue.d.ts +6 -8
  63. package/dist/components/SynVueMenu.vue.js +24 -0
  64. package/dist/components/SynVueMenu.vue2.js +4 -0
  65. package/dist/components/SynVueMenuItem.vue.d.ts +43 -23
  66. package/dist/components/SynVueMenuItem.vue.js +35 -0
  67. package/dist/components/SynVueMenuItem.vue2.js +4 -0
  68. package/dist/components/SynVueMenuLabel.vue.d.ts +5 -7
  69. package/dist/components/SynVueMenuLabel.vue.js +22 -0
  70. package/dist/components/SynVueMenuLabel.vue2.js +4 -0
  71. package/dist/components/SynVueNavItem.vue.d.ts +10 -15
  72. package/dist/components/SynVueNavItem.vue.js +43 -0
  73. package/dist/components/SynVueNavItem.vue2.js +4 -0
  74. package/dist/components/SynVueOptgroup.vue.d.ts +25 -18
  75. package/dist/components/SynVueOptgroup.vue.js +32 -0
  76. package/dist/components/SynVueOptgroup.vue2.js +4 -0
  77. package/dist/components/SynVueOption.vue.d.ts +31 -20
  78. package/dist/components/SynVueOption.vue.js +32 -0
  79. package/dist/components/SynVueOption.vue2.js +4 -0
  80. package/dist/components/SynVuePopup.vue.d.ts +6 -8
  81. package/dist/components/SynVuePopup.vue.js +55 -0
  82. package/dist/components/SynVuePopup.vue2.js +4 -0
  83. package/dist/components/SynVuePrioNav.vue.d.ts +5 -7
  84. package/dist/components/SynVuePrioNav.vue.js +22 -0
  85. package/dist/components/SynVuePrioNav.vue2.js +4 -0
  86. package/dist/components/SynVueProgressBar.vue.d.ts +31 -21
  87. package/dist/components/SynVueProgressBar.vue.js +33 -0
  88. package/dist/components/SynVueProgressBar.vue2.js +4 -0
  89. package/dist/components/SynVueProgressRing.vue.d.ts +23 -17
  90. package/dist/components/SynVueProgressRing.vue.js +32 -0
  91. package/dist/components/SynVueProgressRing.vue2.js +4 -0
  92. package/dist/components/SynVueRadio.vue.d.ts +6 -9
  93. package/dist/components/SynVueRadio.vue.js +37 -0
  94. package/dist/components/SynVueRadio.vue2.js +4 -0
  95. package/dist/components/SynVueRadioButton.vue.d.ts +6 -9
  96. package/dist/components/SynVueRadioButton.vue.js +38 -0
  97. package/dist/components/SynVueRadioButton.vue2.js +4 -0
  98. package/dist/components/SynVueRadioGroup.vue.d.ts +8 -12
  99. package/dist/components/SynVueRadioGroup.vue.js +48 -0
  100. package/dist/components/SynVueRadioGroup.vue2.js +4 -0
  101. package/dist/components/SynVueRange.vue.d.ts +12 -19
  102. package/dist/components/SynVueRange.vue.js +56 -0
  103. package/dist/components/SynVueRange.vue2.js +4 -0
  104. package/dist/components/SynVueRangeTick.vue.d.ts +15 -13
  105. package/dist/components/SynVueRangeTick.vue.js +31 -0
  106. package/dist/components/SynVueRangeTick.vue2.js +4 -0
  107. package/dist/components/SynVueSelect.vue.d.ts +18 -29
  108. package/dist/components/SynVueSelect.vue.js +64 -0
  109. package/dist/components/SynVueSelect.vue2.js +4 -0
  110. package/dist/components/SynVueSideNav.vue.d.ts +10 -15
  111. package/dist/components/SynVueSideNav.vue.js +39 -0
  112. package/dist/components/SynVueSideNav.vue2.js +4 -0
  113. package/dist/components/SynVueSpinner.vue.d.ts +4 -5
  114. package/dist/components/SynVueSpinner.vue.js +20 -0
  115. package/dist/components/SynVueSpinner.vue2.js +4 -0
  116. package/dist/components/SynVueSwitch.vue.d.ts +10 -16
  117. package/dist/components/SynVueSwitch.vue.js +52 -0
  118. package/dist/components/SynVueSwitch.vue2.js +4 -0
  119. package/dist/components/SynVueTab.vue.d.ts +6 -8
  120. package/dist/components/SynVueTab.vue.js +37 -0
  121. package/dist/components/SynVueTab.vue2.js +4 -0
  122. package/dist/components/SynVueTabGroup.vue.d.ts +8 -11
  123. package/dist/components/SynVueTabGroup.vue.js +40 -0
  124. package/dist/components/SynVueTabGroup.vue2.js +4 -0
  125. package/dist/components/SynVueTabPanel.vue.d.ts +23 -17
  126. package/dist/components/SynVueTabPanel.vue.js +32 -0
  127. package/dist/components/SynVueTabPanel.vue2.js +4 -0
  128. package/dist/components/SynVueTag.vue.d.ts +6 -8
  129. package/dist/components/SynVueTag.vue.js +35 -0
  130. package/dist/components/SynVueTag.vue2.js +4 -0
  131. package/dist/components/SynVueTextarea.vue.d.ts +10 -16
  132. package/dist/components/SynVueTextarea.vue.js +65 -0
  133. package/dist/components/SynVueTextarea.vue2.js +4 -0
  134. package/dist/components/SynVueTooltip.vue.d.ts +10 -15
  135. package/dist/components/SynVueTooltip.vue.js +44 -0
  136. package/dist/components/SynVueTooltip.vue2.js +4 -0
  137. package/dist/index.d.ts +45 -45
  138. package/dist/index.js +92 -0
  139. package/package.json +11 -4
  140. /package/src/{index.js → index.ts} +0 -0
package/README.md CHANGED
@@ -228,6 +228,7 @@ You may use it in one of the following ways:
228
228
  name="checkboxValue"
229
229
  >Agree</SynVueCheckbox
230
230
  >
231
+ >
231
232
  </form>
232
233
  </template>
233
234
  ```
@@ -1,33 +1,43 @@
1
- import '@synergy-design-system/components/components/accordion/accordion.js';
2
- import type { SynAccordion } from '@synergy-design-system/components';
3
- type __VLS_Props = {
4
- /**
5
- * Indicates whether or not multiple `<syn-detail>` elements can be open at the same time.
6
- */
7
- closeOthers?: SynAccordion['closeOthers'];
8
- /**
9
- * Draws the accordion and the slotted `<syn-details>` as contained elements.
10
- */
11
- contained?: SynAccordion['contained'];
12
- /**
13
- * The size that should be applied to all slotted `<syn-details>` elements
14
- */
15
- size?: SynAccordion['size'];
16
- };
1
+ import { SynAccordion } from '@synergy-design-system/components';
17
2
  declare function __VLS_template(): {
18
- attrs: Partial<{}>;
19
3
  slots: {
20
4
  default?(_: {}): any;
21
5
  };
22
6
  refs: {
23
7
  nativeElement: unknown;
24
8
  };
25
- rootEl: any;
9
+ attrs: Partial<{}>;
26
10
  };
27
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
28
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
29
- nativeElement: import("vue").Ref<SynAccordion | undefined, SynAccordion | undefined>;
30
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_component: import('vue').DefineComponent<{
13
+ /**
14
+ * Indicates whether or not multiple `<syn-detail>` elements can be open at the same time.
15
+ */
16
+ closeOthers?: SynAccordion["closeOthers"];
17
+ /**
18
+ * Draws the accordion and the slotted `<syn-details>` as contained elements.
19
+ */
20
+ contained?: SynAccordion["contained"];
21
+ /**
22
+ * The size that should be applied to all slotted `<syn-details>` elements
23
+ */
24
+ size?: SynAccordion["size"];
25
+ }, {
26
+ nativeElement: import('vue').Ref<SynAccordion | undefined, SynAccordion | undefined>;
27
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
28
+ /**
29
+ * Indicates whether or not multiple `<syn-detail>` elements can be open at the same time.
30
+ */
31
+ closeOthers?: SynAccordion["closeOthers"];
32
+ /**
33
+ * Draws the accordion and the slotted `<syn-details>` as contained elements.
34
+ */
35
+ contained?: SynAccordion["contained"];
36
+ /**
37
+ * The size that should be applied to all slotted `<syn-details>` elements
38
+ */
39
+ size?: SynAccordion["size"];
40
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
41
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
42
  export default _default;
33
43
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,33 @@
1
+ import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
2
+ import "@synergy-design-system/components/components/accordion/accordion.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "SynVueAccordion",
5
+ props: {
6
+ closeOthers: {},
7
+ contained: {},
8
+ size: {}
9
+ },
10
+ setup(__props, { expose: __expose }) {
11
+ const nativeElement = ref();
12
+ __expose({
13
+ nativeElement
14
+ });
15
+ const props = __props;
16
+ const visibleProps = computed(
17
+ () => Object.fromEntries(
18
+ Object.entries(props).filter(([, value]) => typeof value !== "undefined")
19
+ )
20
+ );
21
+ return (_ctx, _cache) => {
22
+ return openBlock(), createElementBlock("syn-accordion", mergeProps(visibleProps.value, {
23
+ ref_key: "nativeElement",
24
+ ref: nativeElement
25
+ }), [
26
+ renderSlot(_ctx.$slots, "default")
27
+ ], 16);
28
+ };
29
+ }
30
+ });
31
+ export {
32
+ _sfc_main as default
33
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./SynVueAccordion.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,14 +1,9 @@
1
- import '@synergy-design-system/components/components/alert/alert.js';
2
- import type { SynShowEvent } from '@synergy-design-system/components';
3
- import type { SynAfterShowEvent } from '@synergy-design-system/components';
4
- import type { SynHideEvent } from '@synergy-design-system/components';
5
- import type { SynAfterHideEvent } from '@synergy-design-system/components';
6
- import type { SynAlert } from '@synergy-design-system/components';
1
+ import { SynShowEvent, SynAfterShowEvent, SynHideEvent, SynAfterHideEvent, SynAlert } from '@synergy-design-system/components';
7
2
  export type { SynShowEvent } from '@synergy-design-system/components';
8
3
  export type { SynAfterShowEvent } from '@synergy-design-system/components';
9
4
  export type { SynHideEvent } from '@synergy-design-system/components';
10
5
  export type { SynAfterHideEvent } from '@synergy-design-system/components';
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
6
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
12
7
  /**
13
8
  * Indicates whether or not the alert is open.
14
9
  * You can toggle this attribute to show and hide the alert, or you can
@@ -33,13 +28,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
33
28
  */
34
29
  duration?: SynAlert["duration"];
35
30
  }, {
36
- nativeElement: import("vue").Ref<SynAlert | undefined, SynAlert | undefined>;
37
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
- "syn-after-hide": (e: SynAfterHideEvent) => any;
31
+ nativeElement: import('vue').Ref<SynAlert | undefined, SynAlert | undefined>;
32
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
+ "syn-show": (e: SynShowEvent) => any;
39
34
  "syn-after-show": (e: SynAfterShowEvent) => any;
40
35
  "syn-hide": (e: SynHideEvent) => any;
41
- "syn-show": (e: SynShowEvent) => any;
42
- }, string, import("vue").PublicProps, Readonly<{
36
+ "syn-after-hide": (e: SynAfterHideEvent) => any;
37
+ }, string, import('vue').PublicProps, Readonly<{
43
38
  /**
44
39
  * Indicates whether or not the alert is open.
45
40
  * You can toggle this attribute to show and hide the alert, or you can
@@ -64,11 +59,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
64
59
  */
65
60
  duration?: SynAlert["duration"];
66
61
  }> & Readonly<{
67
- "onSyn-after-hide"?: ((e: SynAfterHideEvent) => any) | undefined;
62
+ "onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
68
63
  "onSyn-after-show"?: ((e: SynAfterShowEvent) => any) | undefined;
69
64
  "onSyn-hide"?: ((e: SynHideEvent) => any) | undefined;
70
- "onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
71
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
65
+ "onSyn-after-hide"?: ((e: SynAfterHideEvent) => any) | undefined;
66
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
72
67
  default?(_: {}): any;
73
68
  }>;
74
69
  export default _default;
@@ -0,0 +1,40 @@
1
+ import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
2
+ import "@synergy-design-system/components/components/alert/alert.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "SynVueAlert",
5
+ props: {
6
+ open: {},
7
+ closable: {},
8
+ variant: {},
9
+ duration: {}
10
+ },
11
+ emits: ["syn-show", "syn-after-show", "syn-hide", "syn-after-hide"],
12
+ setup(__props, { expose: __expose }) {
13
+ const nativeElement = ref();
14
+ __expose({
15
+ nativeElement
16
+ });
17
+ const props = __props;
18
+ const visibleProps = computed(
19
+ () => Object.fromEntries(
20
+ Object.entries(props).filter(([, value]) => typeof value !== "undefined")
21
+ )
22
+ );
23
+ return (_ctx, _cache) => {
24
+ return openBlock(), createElementBlock("syn-alert", mergeProps({
25
+ onSynShow: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("syn-show", $event)),
26
+ onSynAfterShow: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("syn-after-show", $event)),
27
+ onSynHide: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("syn-hide", $event)),
28
+ onSynAfterHide: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("syn-after-hide", $event))
29
+ }, visibleProps.value, {
30
+ ref_key: "nativeElement",
31
+ ref: nativeElement
32
+ }), [
33
+ renderSlot(_ctx.$slots, "default")
34
+ ], 16);
35
+ };
36
+ }
37
+ });
38
+ export {
39
+ _sfc_main as default
40
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./SynVueAlert.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,25 +1,27 @@
1
- import '@synergy-design-system/components/components/badge/badge.js';
2
- import type { SynBadge } from '@synergy-design-system/components';
3
- type __VLS_Props = {
4
- /**
5
- * The badge's theme variant.
6
- */
7
- variant?: SynBadge['variant'];
8
- };
1
+ import { SynBadge } from '@synergy-design-system/components';
9
2
  declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
3
  slots: {
12
4
  default?(_: {}): any;
13
5
  };
14
6
  refs: {
15
7
  nativeElement: unknown;
16
8
  };
17
- rootEl: any;
9
+ attrs: Partial<{}>;
18
10
  };
19
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
21
- nativeElement: import("vue").Ref<SynBadge | undefined, SynBadge | undefined>;
22
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_component: import('vue').DefineComponent<{
13
+ /**
14
+ * The badge's theme variant.
15
+ */
16
+ variant?: SynBadge["variant"];
17
+ }, {
18
+ nativeElement: import('vue').Ref<SynBadge | undefined, SynBadge | undefined>;
19
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
20
+ /**
21
+ * The badge's theme variant.
22
+ */
23
+ variant?: SynBadge["variant"];
24
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
25
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
26
  export default _default;
25
27
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,31 @@
1
+ import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
2
+ import "@synergy-design-system/components/components/badge/badge.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "SynVueBadge",
5
+ props: {
6
+ variant: {}
7
+ },
8
+ setup(__props, { expose: __expose }) {
9
+ const nativeElement = ref();
10
+ __expose({
11
+ nativeElement
12
+ });
13
+ const props = __props;
14
+ const visibleProps = computed(
15
+ () => Object.fromEntries(
16
+ Object.entries(props).filter(([, value]) => typeof value !== "undefined")
17
+ )
18
+ );
19
+ return (_ctx, _cache) => {
20
+ return openBlock(), createElementBlock("syn-badge", mergeProps(visibleProps.value, {
21
+ ref_key: "nativeElement",
22
+ ref: nativeElement
23
+ }), [
24
+ renderSlot(_ctx.$slots, "default")
25
+ ], 16);
26
+ };
27
+ }
28
+ });
29
+ export {
30
+ _sfc_main as default
31
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./SynVueBadge.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,27 +1,31 @@
1
- import '@synergy-design-system/components/components/breadcrumb/breadcrumb.js';
2
- import type { SynBreadcrumb } from '@synergy-design-system/components';
3
- type __VLS_Props = {
4
- /**
5
- * The label to use for the breadcrumb control.
6
- * This will not be shown on the screen, but it will be announced by
7
- screen readers and other assistive devices to provide more context for users.
8
- */
9
- label?: SynBreadcrumb['label'];
10
- };
1
+ import { SynBreadcrumb } from '@synergy-design-system/components';
11
2
  declare function __VLS_template(): {
12
- attrs: Partial<{}>;
13
3
  slots: {
14
4
  default?(_: {}): any;
15
5
  };
16
6
  refs: {
17
7
  nativeElement: unknown;
18
8
  };
19
- rootEl: any;
9
+ attrs: Partial<{}>;
20
10
  };
21
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
23
- nativeElement: import("vue").Ref<SynBreadcrumb | undefined, SynBreadcrumb | undefined>;
24
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_component: import('vue').DefineComponent<{
13
+ /**
14
+ * The label to use for the breadcrumb control.
15
+ * This will not be shown on the screen, but it will be announced by
16
+ screen readers and other assistive devices to provide more context for users.
17
+ */
18
+ label?: SynBreadcrumb["label"];
19
+ }, {
20
+ nativeElement: import('vue').Ref<SynBreadcrumb | undefined, SynBreadcrumb | undefined>;
21
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
22
+ /**
23
+ * The label to use for the breadcrumb control.
24
+ * This will not be shown on the screen, but it will be announced by
25
+ screen readers and other assistive devices to provide more context for users.
26
+ */
27
+ label?: SynBreadcrumb["label"];
28
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
30
  export default _default;
27
31
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,31 @@
1
+ import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
2
+ import "@synergy-design-system/components/components/breadcrumb/breadcrumb.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "SynVueBreadcrumb",
5
+ props: {
6
+ label: {}
7
+ },
8
+ setup(__props, { expose: __expose }) {
9
+ const nativeElement = ref();
10
+ __expose({
11
+ nativeElement
12
+ });
13
+ const props = __props;
14
+ const visibleProps = computed(
15
+ () => Object.fromEntries(
16
+ Object.entries(props).filter(([, value]) => typeof value !== "undefined")
17
+ )
18
+ );
19
+ return (_ctx, _cache) => {
20
+ return openBlock(), createElementBlock("syn-breadcrumb", mergeProps(visibleProps.value, {
21
+ ref_key: "nativeElement",
22
+ ref: nativeElement
23
+ }), [
24
+ renderSlot(_ctx.$slots, "default")
25
+ ], 16);
26
+ };
27
+ }
28
+ });
29
+ export {
30
+ _sfc_main as default
31
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./SynVueBreadcrumb.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,38 +1,53 @@
1
- import '@synergy-design-system/components/components/breadcrumb-item/breadcrumb-item.js';
2
- import type { SynBreadcrumbItem } from '@synergy-design-system/components';
3
- type __VLS_Props = {
1
+ import { SynBreadcrumbItem } from '@synergy-design-system/components';
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {
7
+ nativeElement: unknown;
8
+ };
9
+ attrs: Partial<{}>;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<{
4
13
  /**
5
14
  * Optional URL to direct the user to when the breadcrumb item is activated.
6
15
  * When set, a link will be rendered
7
16
  internally.
8
17
  * When unset, a button will be rendered instead.
9
18
  */
10
- href?: SynBreadcrumbItem['href'];
19
+ href?: SynBreadcrumbItem["href"];
11
20
  /**
12
21
  * Tells the browser where to open the link.
13
22
  * Only used when `href` is set.
14
23
  */
15
- target?: SynBreadcrumbItem['target'];
24
+ target?: SynBreadcrumbItem["target"];
16
25
  /**
17
26
  * The `rel` attribute to use on the link.
18
27
  * Only used when `href` is set.
19
28
  */
20
- rel?: SynBreadcrumbItem['rel'];
21
- };
22
- declare function __VLS_template(): {
23
- attrs: Partial<{}>;
24
- slots: {
25
- default?(_: {}): any;
26
- };
27
- refs: {
28
- nativeElement: unknown;
29
- };
30
- rootEl: any;
31
- };
32
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
34
- nativeElement: import("vue").Ref<SynBreadcrumbItem | undefined, SynBreadcrumbItem | undefined>;
35
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ rel?: SynBreadcrumbItem["rel"];
30
+ }, {
31
+ nativeElement: import('vue').Ref<SynBreadcrumbItem | undefined, SynBreadcrumbItem | undefined>;
32
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
33
+ /**
34
+ * Optional URL to direct the user to when the breadcrumb item is activated.
35
+ * When set, a link will be rendered
36
+ internally.
37
+ * When unset, a button will be rendered instead.
38
+ */
39
+ href?: SynBreadcrumbItem["href"];
40
+ /**
41
+ * Tells the browser where to open the link.
42
+ * Only used when `href` is set.
43
+ */
44
+ target?: SynBreadcrumbItem["target"];
45
+ /**
46
+ * The `rel` attribute to use on the link.
47
+ * Only used when `href` is set.
48
+ */
49
+ rel?: SynBreadcrumbItem["rel"];
50
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
51
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
37
52
  export default _default;
38
53
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,33 @@
1
+ import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
2
+ import "@synergy-design-system/components/components/breadcrumb-item/breadcrumb-item.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "SynVueBreadcrumbItem",
5
+ props: {
6
+ href: {},
7
+ target: {},
8
+ rel: {}
9
+ },
10
+ setup(__props, { expose: __expose }) {
11
+ const nativeElement = ref();
12
+ __expose({
13
+ nativeElement
14
+ });
15
+ const props = __props;
16
+ const visibleProps = computed(
17
+ () => Object.fromEntries(
18
+ Object.entries(props).filter(([, value]) => typeof value !== "undefined")
19
+ )
20
+ );
21
+ return (_ctx, _cache) => {
22
+ return openBlock(), createElementBlock("syn-breadcrumb-item", mergeProps(visibleProps.value, {
23
+ ref_key: "nativeElement",
24
+ ref: nativeElement
25
+ }), [
26
+ renderSlot(_ctx.$slots, "default")
27
+ ], 16);
28
+ };
29
+ }
30
+ });
31
+ export {
32
+ _sfc_main as default
33
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./SynVueBreadcrumbItem.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,12 +1,8 @@
1
- import '@synergy-design-system/components/components/button/button.js';
2
- import type { SynBlurEvent } from '@synergy-design-system/components';
3
- import type { SynFocusEvent } from '@synergy-design-system/components';
4
- import type { SynInvalidEvent } from '@synergy-design-system/components';
5
- import type { SynButton } from '@synergy-design-system/components';
1
+ import { SynBlurEvent, SynFocusEvent, SynInvalidEvent, SynButton } from '@synergy-design-system/components';
6
2
  export type { SynBlurEvent } from '@synergy-design-system/components';
7
3
  export type { SynFocusEvent } from '@synergy-design-system/components';
8
4
  export type { SynInvalidEvent } from '@synergy-design-system/components';
9
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
10
6
  title?: SynButton["title"];
11
7
  /**
12
8
  * The button's theme variant.
@@ -99,12 +95,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
99
95
  */
100
96
  formTarget?: SynButton["formTarget"];
101
97
  }, {
102
- nativeElement: import("vue").Ref<SynButton | undefined, SynButton | undefined>;
103
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
98
+ nativeElement: import('vue').Ref<SynButton | undefined, SynButton | undefined>;
99
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
104
100
  "syn-blur": (e: SynBlurEvent) => any;
105
101
  "syn-focus": (e: SynFocusEvent) => any;
106
102
  "syn-invalid": (e: SynInvalidEvent) => any;
107
- }, string, import("vue").PublicProps, Readonly<{
103
+ }, string, import('vue').PublicProps, Readonly<{
108
104
  title?: SynButton["title"];
109
105
  /**
110
106
  * The button's theme variant.
@@ -200,7 +196,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
200
196
  "onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
201
197
  "onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;
202
198
  "onSyn-invalid"?: ((e: SynInvalidEvent) => any) | undefined;
203
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
199
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
204
200
  default?(_: {}): any;
205
201
  }>;
206
202
  export default _default;
@@ -0,0 +1,54 @@
1
+ import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, renderSlot } from "vue";
2
+ import "@synergy-design-system/components/components/button/button.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "SynVueButton",
5
+ props: {
6
+ title: {},
7
+ variant: {},
8
+ size: {},
9
+ caret: {},
10
+ disabled: {},
11
+ loading: {},
12
+ type: {},
13
+ name: {},
14
+ value: {},
15
+ href: {},
16
+ target: {},
17
+ rel: {},
18
+ download: {},
19
+ form: {},
20
+ formAction: {},
21
+ formEnctype: {},
22
+ formMethod: {},
23
+ formNoValidate: {},
24
+ formTarget: {}
25
+ },
26
+ emits: ["syn-blur", "syn-focus", "syn-invalid"],
27
+ setup(__props, { expose: __expose }) {
28
+ const nativeElement = ref();
29
+ __expose({
30
+ nativeElement
31
+ });
32
+ const props = __props;
33
+ const visibleProps = computed(
34
+ () => Object.fromEntries(
35
+ Object.entries(props).filter(([, value]) => typeof value !== "undefined")
36
+ )
37
+ );
38
+ return (_ctx, _cache) => {
39
+ return openBlock(), createElementBlock("syn-button", mergeProps({
40
+ onSynBlur: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("syn-blur", $event)),
41
+ onSynFocus: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("syn-focus", $event)),
42
+ onSynInvalid: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("syn-invalid", $event))
43
+ }, visibleProps.value, {
44
+ ref_key: "nativeElement",
45
+ ref: nativeElement
46
+ }), [
47
+ renderSlot(_ctx.$slots, "default")
48
+ ], 16);
49
+ };
50
+ }
51
+ });
52
+ export {
53
+ _sfc_main as default
54
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./SynVueButton.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,27 +1,31 @@
1
- import '@synergy-design-system/components/components/button-group/button-group.js';
2
- import type { SynButtonGroup } from '@synergy-design-system/components';
3
- type __VLS_Props = {
4
- /**
5
- * A label to use for the button group.
6
- * This won't be displayed on the screen, but it will be announced by assistive
7
- devices when interacting with the control and is strongly recommended.
8
- */
9
- label?: SynButtonGroup['label'];
10
- };
1
+ import { SynButtonGroup } from '@synergy-design-system/components';
11
2
  declare function __VLS_template(): {
12
- attrs: Partial<{}>;
13
3
  slots: {
14
4
  default?(_: {}): any;
15
5
  };
16
6
  refs: {
17
7
  nativeElement: unknown;
18
8
  };
19
- rootEl: any;
9
+ attrs: Partial<{}>;
20
10
  };
21
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
23
- nativeElement: import("vue").Ref<SynButtonGroup | undefined, SynButtonGroup | undefined>;
24
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_component: import('vue').DefineComponent<{
13
+ /**
14
+ * A label to use for the button group.
15
+ * This won't be displayed on the screen, but it will be announced by assistive
16
+ devices when interacting with the control and is strongly recommended.
17
+ */
18
+ label?: SynButtonGroup["label"];
19
+ }, {
20
+ nativeElement: import('vue').Ref<SynButtonGroup | undefined, SynButtonGroup | undefined>;
21
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
22
+ /**
23
+ * A label to use for the button group.
24
+ * This won't be displayed on the screen, but it will be announced by assistive
25
+ devices when interacting with the control and is strongly recommended.
26
+ */
27
+ label?: SynButtonGroup["label"];
28
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
30
  export default _default;
27
31
  type __VLS_WithTemplateSlots<T, S> = T & {