@ulu/frontend-vue 0.2.0-beta.8 → 0.3.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.
Files changed (174) hide show
  1. package/dist/components/collapsible/UluAccordionGroup.vue.d.ts +2 -2
  2. package/dist/components/collapsible/UluAccordionGroup.vue.d.ts.map +1 -1
  3. package/dist/components/collapsible/UluAccordionGroup.vue.js +22 -19
  4. package/dist/components/collapsible/UluDropdown.vue.d.ts +1 -1
  5. package/dist/components/collapsible/UluDropdown.vue.d.ts.map +1 -1
  6. package/dist/components/collapsible/UluDropdown.vue.js +22 -15
  7. package/dist/components/collapsible/UluModal.vue.d.ts +43 -248
  8. package/dist/components/collapsible/UluModal.vue.d.ts.map +1 -1
  9. package/dist/components/collapsible/UluModal.vue.js +139 -191
  10. package/dist/components/collapsible/UluTabGroup.vue.d.ts +2 -0
  11. package/dist/components/collapsible/UluTabGroup.vue.d.ts.map +1 -1
  12. package/dist/components/collapsible/UluTabGroup.vue.js +23 -14
  13. package/dist/components/elements/UluAlert.vue.d.ts +29 -144
  14. package/dist/components/elements/UluAlert.vue.d.ts.map +1 -1
  15. package/dist/components/elements/UluAlert.vue.js +39 -50
  16. package/dist/components/elements/UluBadge.vue.d.ts +6 -6
  17. package/dist/components/elements/UluBadgeStack.vue.d.ts +1 -1
  18. package/dist/components/elements/UluBadgeStack.vue.d.ts.map +1 -1
  19. package/dist/components/elements/UluBadgeStack.vue.js +12 -9
  20. package/dist/components/elements/UluButton.vue.d.ts +47 -177
  21. package/dist/components/elements/UluButton.vue.d.ts.map +1 -1
  22. package/dist/components/elements/UluButton.vue.js +59 -72
  23. package/dist/components/elements/UluButtonVerbose.vue.d.ts +38 -123
  24. package/dist/components/elements/UluButtonVerbose.vue.d.ts.map +1 -1
  25. package/dist/components/elements/UluButtonVerbose.vue.js +52 -65
  26. package/dist/components/elements/UluCallout.vue.d.ts +20 -25
  27. package/dist/components/elements/UluCallout.vue.d.ts.map +1 -1
  28. package/dist/components/elements/UluCallout.vue.js +11 -16
  29. package/dist/components/elements/UluCaptionedFigure.vue.d.ts +25 -0
  30. package/dist/components/elements/UluCaptionedFigure.vue.d.ts.map +1 -0
  31. package/dist/components/elements/UluCaptionedFigure.vue.js +48 -0
  32. package/dist/components/elements/UluCard.vue.d.ts +2 -2
  33. package/dist/components/elements/UluDefinitionList.vue.d.ts +4 -2
  34. package/dist/components/elements/UluDefinitionList.vue.d.ts.map +1 -1
  35. package/dist/components/elements/UluDefinitionList.vue.js +32 -28
  36. package/dist/components/elements/UluExternalLink.vue.d.ts +2 -2
  37. package/dist/components/elements/UluImage.vue.d.ts +14 -0
  38. package/dist/components/elements/UluImage.vue.d.ts.map +1 -0
  39. package/dist/components/elements/UluImage.vue.js +53 -0
  40. package/dist/components/elements/UluList.vue.d.ts.map +1 -1
  41. package/dist/components/elements/UluList.vue.js +14 -13
  42. package/dist/components/elements/UluOverflowScroller.vue.d.ts +49 -0
  43. package/dist/components/elements/UluOverflowScroller.vue.d.ts.map +1 -0
  44. package/dist/components/elements/UluOverflowScroller.vue.js +138 -0
  45. package/dist/components/elements/UluScrollSlider.vue.d.ts +38 -0
  46. package/dist/components/elements/UluScrollSlider.vue.d.ts.map +1 -0
  47. package/dist/components/elements/UluScrollSlider.vue.js +146 -0
  48. package/dist/components/elements/UluSlider.vue.d.ts +57 -0
  49. package/dist/components/elements/UluSlider.vue.d.ts.map +1 -0
  50. package/dist/components/elements/UluSlider.vue.js +277 -0
  51. package/dist/components/forms/UluFormFile.vue.d.ts +2 -2
  52. package/dist/components/forms/UluFormRadio.vue.d.ts +4 -4
  53. package/dist/components/index.d.ts +6 -0
  54. package/dist/components/layout/UluTitleRail.vue.d.ts +29 -87
  55. package/dist/components/layout/UluTitleRail.vue.d.ts.map +1 -1
  56. package/dist/components/layout/UluTitleRail.vue.js +51 -46
  57. package/dist/components/navigation/UluBreadcrumb.vue.d.ts +27 -68
  58. package/dist/components/navigation/UluBreadcrumb.vue.d.ts.map +1 -1
  59. package/dist/components/navigation/UluBreadcrumb.vue.js +51 -54
  60. package/dist/components/navigation/UluMenu.vue.d.ts +30 -138
  61. package/dist/components/navigation/UluMenu.vue.d.ts.map +1 -1
  62. package/dist/components/navigation/UluMenu.vue.js +85 -84
  63. package/dist/components/navigation/UluMenuStack.vue.d.ts +12 -2
  64. package/dist/components/navigation/UluMenuStack.vue.d.ts.map +1 -1
  65. package/dist/components/navigation/UluMenuStack.vue.js +26 -18
  66. package/dist/components/navigation/UluNavStrip.vue.d.ts +22 -134
  67. package/dist/components/navigation/UluNavStrip.vue.d.ts.map +1 -1
  68. package/dist/components/navigation/UluNavStrip.vue.js +43 -31
  69. package/dist/components/systems/facets/UluFacetsSidebarLayout.vue.js +10 -10
  70. package/dist/components/systems/facets/useFacets.d.ts +3 -0
  71. package/dist/components/systems/facets/useFacets.d.ts.map +1 -1
  72. package/dist/components/systems/facets/useFacets.js +124 -112
  73. package/dist/components/systems/index.d.ts +0 -3
  74. package/dist/components/systems/scroll-anchors/UluScrollAnchors.vue.d.ts +2 -2
  75. package/dist/components/systems/table-sticky/UluTableSticky.vue.d.ts +504 -432
  76. package/dist/components/systems/table-sticky/UluTableSticky.vue.d.ts.map +1 -1
  77. package/dist/components/systems/table-sticky/UluTableSticky.vue.js +313 -456
  78. package/dist/components/systems/table-sticky/UluTableStickyRows.vue.d.ts +40 -31
  79. package/dist/components/systems/table-sticky/UluTableStickyRows.vue.d.ts.map +1 -1
  80. package/dist/components/systems/table-sticky/UluTableStickyRows.vue.js +43 -45
  81. package/dist/components/systems/table-sticky/UluTableStickyTable.vue.d.ts +60 -146
  82. package/dist/components/systems/table-sticky/UluTableStickyTable.vue.d.ts.map +1 -1
  83. package/dist/components/systems/table-sticky/UluTableStickyTable.vue.js +156 -175
  84. package/dist/components/utils/UluAction.vue.d.ts +36 -0
  85. package/dist/components/utils/UluAction.vue.d.ts.map +1 -0
  86. package/dist/components/utils/UluAction.vue.js +59 -0
  87. package/dist/components/utils/UluConditionalText.vue.d.ts +7 -26
  88. package/dist/components/utils/UluConditionalText.vue.d.ts.map +1 -1
  89. package/dist/components/utils/UluConditionalText.vue.js +12 -14
  90. package/dist/components/utils/UluConditionalWrapper.vue.d.ts.map +1 -1
  91. package/dist/components/utils/UluConditionalWrapper.vue.js +11 -9
  92. package/dist/components/utils/UluPlaceholderImage.vue.d.ts +12 -57
  93. package/dist/components/utils/UluPlaceholderImage.vue.d.ts.map +1 -1
  94. package/dist/components/utils/UluPlaceholderImage.vue.js +18 -26
  95. package/dist/components/utils/UluPlaceholderText.vue.d.ts +6 -20
  96. package/dist/components/utils/UluPlaceholderText.vue.js +12 -14
  97. package/dist/components/utils/UluRouteAnnouncer.vue.d.ts +9 -58
  98. package/dist/components/utils/UluRouteAnnouncer.vue.d.ts.map +1 -1
  99. package/dist/components/utils/UluRouteAnnouncer.vue.js +28 -28
  100. package/dist/components/visualizations/UluAnimateNumber.vue.d.ts +20 -14
  101. package/dist/components/visualizations/UluAnimateNumber.vue.d.ts.map +1 -1
  102. package/dist/components/visualizations/UluAnimateNumber.vue.js +18 -26
  103. package/dist/components/visualizations/UluProgressCircle.vue.d.ts +2 -2
  104. package/dist/composables/useModifiers.d.ts +20 -25
  105. package/dist/composables/useModifiers.d.ts.map +1 -1
  106. package/dist/index.js +206 -200
  107. package/dist/plugins/modals/UluModalsDisplay.vue.d.ts +3 -12
  108. package/dist/plugins/modals/UluModalsDisplay.vue.js +24 -45
  109. package/dist/plugins/modals/index.js +6 -6
  110. package/dist/plugins/toast/UluToast.vue.d.ts +24 -49
  111. package/dist/plugins/toast/UluToast.vue.d.ts.map +1 -1
  112. package/dist/plugins/toast/UluToast.vue.js +68 -77
  113. package/dist/plugins/toast/UluToastDisplay.vue.d.ts +1 -9
  114. package/dist/plugins/toast/UluToastDisplay.vue.js +27 -35
  115. package/dist/plugins/toast/defaults.d.ts +40 -35
  116. package/dist/plugins/toast/defaults.js +2 -2
  117. package/dist/plugins/toast/index.js +4 -4
  118. package/dist/plugins/toast/store.d.ts +40 -35
  119. package/dist/plugins/toast/store.d.ts.map +1 -1
  120. package/dist/utils/props.d.ts +7 -0
  121. package/dist/utils/props.d.ts.map +1 -0
  122. package/dist/utils/props.js +6 -0
  123. package/lib/components/collapsible/UluAccordionGroup.vue +4 -1
  124. package/lib/components/collapsible/UluDropdown.vue +5 -1
  125. package/lib/components/collapsible/UluModal.vue +278 -298
  126. package/lib/components/collapsible/UluTabGroup.vue +21 -6
  127. package/lib/components/elements/UluAlert.vue +38 -51
  128. package/lib/components/elements/UluBadgeStack.vue +4 -1
  129. package/lib/components/elements/UluButton.vue +105 -129
  130. package/lib/components/elements/UluButtonVerbose.vue +67 -89
  131. package/lib/components/elements/UluCallout.vue +15 -19
  132. package/lib/components/elements/UluCaptionedFigure.vue +40 -0
  133. package/lib/components/elements/UluDefinitionList.vue +27 -6
  134. package/lib/components/elements/UluImage.vue +56 -0
  135. package/lib/components/elements/UluList.vue +1 -0
  136. package/lib/components/elements/UluOverflowScroller.vue +140 -0
  137. package/lib/components/elements/UluScrollSlider.vue +150 -0
  138. package/lib/components/elements/UluSlider.vue +488 -0
  139. package/lib/components/index.js +10 -0
  140. package/lib/components/layout/UluTitleRail.vue +55 -48
  141. package/lib/components/navigation/UluBreadcrumb.vue +29 -34
  142. package/lib/components/navigation/UluMenu.vue +60 -71
  143. package/lib/components/navigation/UluMenuStack.vue +6 -1
  144. package/lib/components/navigation/UluNavStrip.vue +43 -31
  145. package/lib/components/systems/facets/useFacets.js +33 -17
  146. package/lib/components/systems/index.js +0 -4
  147. package/lib/components/systems/table-sticky/UluTableSticky.vue +602 -576
  148. package/lib/components/systems/table-sticky/UluTableStickyRows.vue +16 -27
  149. package/lib/components/systems/table-sticky/UluTableStickyTable.vue +95 -96
  150. package/lib/components/utils/UluAction.vue +81 -0
  151. package/lib/components/utils/UluConditionalText.vue +13 -16
  152. package/lib/components/utils/UluConditionalWrapper.vue +5 -1
  153. package/lib/components/utils/UluPlaceholderImage.vue +44 -46
  154. package/lib/components/utils/UluPlaceholderText.vue +10 -13
  155. package/lib/components/utils/UluRouteAnnouncer.vue +59 -47
  156. package/lib/components/visualizations/UluAnimateNumber.vue +23 -30
  157. package/lib/composables/useModifiers.js +21 -26
  158. package/lib/plugins/modals/UluModalsDisplay.vue +44 -45
  159. package/lib/plugins/toast/UluToast.vue +28 -34
  160. package/lib/plugins/toast/UluToastDisplay.vue +9 -15
  161. package/lib/utils/props.js +8 -0
  162. package/package.json +9 -5
  163. package/dist/components/systems/slider/UluImageSlideShow.vue.d.ts +0 -130
  164. package/dist/components/systems/slider/UluImageSlideShow.vue.d.ts.map +0 -1
  165. package/dist/components/systems/slider/UluImageSlideShow.vue.js +0 -73
  166. package/dist/components/systems/slider/UluSlideShow.vue.d.ts +0 -205
  167. package/dist/components/systems/slider/UluSlideShow.vue.d.ts.map +0 -1
  168. package/dist/components/systems/slider/UluSlideShow.vue.js +0 -292
  169. package/dist/components/systems/slider/UluSlideShowSlide.vue.d.ts +0 -17
  170. package/dist/components/systems/slider/UluSlideShowSlide.vue.d.ts.map +0 -1
  171. package/dist/components/systems/slider/UluSlideShowSlide.vue.js +0 -26
  172. package/lib/components/systems/slider/UluImageSlideShow.vue +0 -75
  173. package/lib/components/systems/slider/UluSlideShow.vue +0 -336
  174. package/lib/components/systems/slider/UluSlideShowSlide.vue +0 -25
@@ -1,126 +1,41 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- /**
3
- * The title of the button. Can also be passed via slot.
4
- */
5
- title: StringConstructor;
6
- /**
7
- * Optional element to use for title
8
- */
9
- titleElement: {
10
- type: StringConstructor;
11
- default: string;
12
- };
13
- /**
14
- * The body text of the button. Can also be passed via slot.
15
- */
16
- body: StringConstructor;
17
- /**
18
- * Icon prop, if used will set the icon for the button, will use UluIcon (which uses font-awesome icons conditionally)
19
- */
20
- icon: (StringConstructor | ArrayConstructor)[];
21
- /**
22
- * If set will use router-link for button component and pass to prop
23
- */
24
- to: (ObjectConstructor | StringConstructor)[];
25
- /**
26
- * Sets the button to a link with this href
27
- */
28
- href: StringConstructor;
29
- /**
30
- * Set a value for target attribute when button is a link
31
- */
32
- target: StringConstructor;
33
- /**
34
- * Sets the download attribute on the link (passing string [filename] will populate the download attribute, true will just include it as boolean attribute)
35
- */
36
- download: (BooleanConstructor | StringConstructor)[];
37
- /**
38
- * Preset to set inline style
39
- */
40
- inline: BooleanConstructor;
41
- /**
42
- * Preset to set full-width style
43
- */
44
- fullWidth: BooleanConstructor;
45
- /**
46
- * Modifiers (to add any modifier classes based on base class [ie. 'tertiary'])
47
- */
48
- modifiers: (StringConstructor | ArrayConstructor)[];
49
- }>, {
50
- resolvedModifiers: any;
51
- }, {}, {
52
- element(): "button" | import('vue-router')._RouterLinkI | "a";
53
- attrs(): {
54
- to: string | Record<string, any>;
55
- href?: undefined;
56
- } | {
57
- href: string;
58
- to?: undefined;
59
- } | {
60
- to?: undefined;
61
- href?: undefined;
62
- };
63
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
64
- /**
65
- * The title of the button. Can also be passed via slot.
66
- */
67
- title: StringConstructor;
68
- /**
69
- * Optional element to use for title
70
- */
71
- titleElement: {
72
- type: StringConstructor;
73
- default: string;
74
- };
75
- /**
76
- * The body text of the button. Can also be passed via slot.
77
- */
78
- body: StringConstructor;
79
- /**
80
- * Icon prop, if used will set the icon for the button, will use UluIcon (which uses font-awesome icons conditionally)
81
- */
82
- icon: (StringConstructor | ArrayConstructor)[];
83
- /**
84
- * If set will use router-link for button component and pass to prop
85
- */
86
- to: (ObjectConstructor | StringConstructor)[];
87
- /**
88
- * Sets the button to a link with this href
89
- */
90
- href: StringConstructor;
91
- /**
92
- * Set a value for target attribute when button is a link
93
- */
94
- target: StringConstructor;
95
- /**
96
- * Sets the download attribute on the link (passing string [filename] will populate the download attribute, true will just include it as boolean attribute)
97
- */
98
- download: (BooleanConstructor | StringConstructor)[];
99
- /**
100
- * Preset to set inline style
101
- */
102
- inline: BooleanConstructor;
103
- /**
104
- * Preset to set full-width style
105
- */
106
- fullWidth: BooleanConstructor;
107
- /**
108
- * Modifiers (to add any modifier classes based on base class [ie. 'tertiary'])
109
- */
110
- modifiers: (StringConstructor | ArrayConstructor)[];
111
- }>> & Readonly<{}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
7
+ titleElement: string;
112
8
  inline: boolean;
113
9
  fullWidth: boolean;
114
- titleElement: string;
115
- }, {}, {
116
- UluIcon: import('vue').DefineComponent<{}, {
117
- spaced: boolean;
118
- icon?: string | boolean | Record<string, any> | unknown[] | undefined;
119
- $props: {
120
- readonly spaced?: boolean | undefined;
121
- readonly icon?: string | boolean | Record<string, any> | unknown[] | undefined;
122
- };
123
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
124
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
125
- export default _default;
10
+ icon?: string | unknown[] | undefined;
11
+ body?: string | undefined;
12
+ title?: string | undefined;
13
+ modifiers?: string | unknown[] | undefined;
14
+ to?: string | Record<string, any> | undefined;
15
+ target?: string | undefined;
16
+ href?: string | undefined;
17
+ download?: string | boolean | undefined;
18
+ $props: {
19
+ readonly titleElement?: string | undefined;
20
+ readonly inline?: boolean | undefined;
21
+ readonly fullWidth?: boolean | undefined;
22
+ readonly icon?: string | unknown[] | undefined;
23
+ readonly body?: string | undefined;
24
+ readonly title?: string | undefined;
25
+ readonly modifiers?: string | unknown[] | undefined;
26
+ readonly to?: string | Record<string, any> | undefined;
27
+ readonly target?: string | undefined;
28
+ readonly href?: string | undefined;
29
+ readonly download?: string | boolean | undefined;
30
+ };
31
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
+ type __VLS_TemplateResult = {
33
+ attrs: Partial<{}>;
34
+ slots: {
35
+ title?(_: {}): any;
36
+ default?(_: {}): any;
37
+ };
38
+ refs: {};
39
+ rootEl: any;
40
+ };
126
41
  //# sourceMappingURL=UluButtonVerbose.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UluButtonVerbose.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/elements/UluButtonVerbose.vue"],"names":[],"mappings":"AAmCA;;IAkIM;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;IA7CH;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG"}
1
+ {"version":3,"file":"UluButtonVerbose.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/elements/UluButtonVerbose.vue"],"names":[],"mappings":"AA+BA;wBAiRqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;;;;;;;;;;;;;;;;;2OAQG"}
@@ -1,13 +1,12 @@
1
- import { RouterLink as _ } from "vue-router";
2
- import g from "./UluIcon.vue.js";
3
- import { useModifiers as h } from "../../composables/useModifiers.js";
4
- import { resolveComponent as y, createBlock as l, openBlock as i, resolveDynamicComponent as u, mergeProps as v, withCtx as c, createCommentVNode as s, createElementBlock as S, renderSlot as d, createTextVNode as f, toDisplayString as m } from "vue";
5
- import B from "../../_virtual/_plugin-vue_export-helper.js";
6
- const k = {
7
- name: "UluButtonVerbose",
8
- components: {
9
- UluIcon: g
10
- },
1
+ import { computed as u, createBlock as l, openBlock as o, normalizeClass as f, unref as m, withCtx as r, createCommentVNode as i, createElementBlock as b, resolveDynamicComponent as g, renderSlot as a, createTextVNode as s, toDisplayString as d } from "vue";
2
+ import y from "../utils/UluAction.vue.js";
3
+ import h from "./UluIcon.vue.js";
4
+ import { useModifiers as S } from "../../composables/useModifiers.js";
5
+ const v = {
6
+ key: 1,
7
+ class: "button-verbose__body"
8
+ }, E = {
9
+ __name: "UluButtonVerbose",
11
10
  props: {
12
11
  /**
13
12
  * The title of the button. Can also be passed via slot.
@@ -57,62 +56,50 @@ const k = {
57
56
  */
58
57
  modifiers: [String, Array]
59
58
  },
60
- setup(e) {
61
- const { resolvedModifiers: o } = h({ props: e, baseClass: "button-verbose" });
62
- return { resolvedModifiers: o };
63
- },
64
- computed: {
65
- element() {
66
- return this.to ? _ : this.href ? "a" : "button";
67
- },
68
- attrs() {
69
- const { to: e, href: o, download: t, target: n } = this, r = e ? { to: e } : o ? { href: o } : {};
70
- return o && (n && (r.target = n), t && (r.download = typeof t == "string" ? t : !0)), r;
71
- }
59
+ setup(t) {
60
+ const n = t, { resolvedModifiers: c } = S({
61
+ props: n,
62
+ baseClass: "button-verbose",
63
+ internal: u(() => ({
64
+ inline: n.inline,
65
+ "full-width": n.fullWidth
66
+ }))
67
+ });
68
+ return (e, B) => (o(), l(y, {
69
+ to: t.to,
70
+ href: t.href,
71
+ target: t.target,
72
+ download: t.download,
73
+ class: f(["button-verbose", m(c)])
74
+ }, {
75
+ default: r(() => [
76
+ e.$slots.title || t.title ? (o(), l(g(t.titleElement), {
77
+ key: 0,
78
+ class: "button-verbose__title"
79
+ }, {
80
+ default: r(() => [
81
+ a(e.$slots, "title", {}, () => [
82
+ s(d(t.title), 1)
83
+ ])
84
+ ]),
85
+ _: 3
86
+ })) : i("", !0),
87
+ e.$slots.default || t.body ? (o(), b("span", v, [
88
+ a(e.$slots, "default", {}, () => [
89
+ s(d(t.body), 1)
90
+ ])
91
+ ])) : i("", !0),
92
+ t.icon ? (o(), l(h, {
93
+ key: 2,
94
+ icon: t.icon,
95
+ class: "button-verbose__icon",
96
+ "aria-hidden": "true"
97
+ }, null, 8, ["icon"])) : i("", !0)
98
+ ]),
99
+ _: 3
100
+ }, 8, ["to", "href", "target", "download", "class"]));
72
101
  }
73
- }, w = {
74
- key: 1,
75
- class: "button-verbose__body"
76
102
  };
77
- function C(e, o, t, n, r, a) {
78
- const b = y("UluIcon");
79
- return i(), l(u(a.element), v({
80
- class: ["button-verbose", [
81
- {
82
- "button-verbose--inline": t.inline,
83
- "button-verbose--full-width": t.fullWidth
84
- },
85
- n.resolvedModifiers
86
- ]]
87
- }, a.attrs), {
88
- default: c(() => [
89
- e.$slots.title || t.title ? (i(), l(u(t.titleElement), {
90
- key: 0,
91
- class: "button-verbose__title"
92
- }, {
93
- default: c(() => [
94
- d(e.$slots, "title", {}, () => [
95
- f(m(t.title), 1)
96
- ])
97
- ]),
98
- _: 3
99
- })) : s("", !0),
100
- e.$slots.default || t.body ? (i(), S("span", w, [
101
- d(e.$slots, "default", {}, () => [
102
- f(m(t.body), 1)
103
- ])
104
- ])) : s("", !0),
105
- t.icon ? (i(), l(b, {
106
- key: 2,
107
- icon: t.icon,
108
- class: "button-verbose__icon",
109
- "aria-hidden": "true"
110
- }, null, 8, ["icon"])) : s("", !0)
111
- ]),
112
- _: 3
113
- }, 16, ["class"]);
114
- }
115
- const M = /* @__PURE__ */ B(k, [["render", C]]);
116
103
  export {
117
- M as default
104
+ E as default
118
105
  };
@@ -1,27 +1,22 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- /**
3
- * Add full height utility class
4
- */
5
- fullHeight: BooleanConstructor;
6
- /**
7
- * Class modifiers (ie. 'transparent', 'secondary', etc)
8
- * - Can be String or Array of Strings
9
- */
10
- modifiers: (StringConstructor | ArrayConstructor)[];
11
- }>, {
12
- resolvedModifiers: any;
13
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
- /**
15
- * Add full height utility class
16
- */
17
- fullHeight: BooleanConstructor;
18
- /**
19
- * Class modifiers (ie. 'transparent', 'secondary', etc)
20
- * - Can be String or Array of Strings
21
- */
22
- modifiers: (StringConstructor | ArrayConstructor)[];
23
- }>> & Readonly<{}>, {
24
- fullHeight: boolean;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
2
  export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
7
+ fullHeight: boolean;
8
+ modifiers?: string | unknown[] | undefined;
9
+ $props: {
10
+ readonly fullHeight?: boolean | undefined;
11
+ readonly modifiers?: string | unknown[] | undefined;
12
+ };
13
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
14
+ type __VLS_TemplateResult = {
15
+ attrs: Partial<{}>;
16
+ slots: {
17
+ default?(_: {}): any;
18
+ };
19
+ refs: {};
20
+ rootEl: HTMLDivElement;
21
+ };
27
22
  //# sourceMappingURL=UluCallout.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UluCallout.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/elements/UluCallout.vue"],"names":[],"mappings":"AAQA;;IAmCM;;OAEG;;IAEH;;;OAGG;;;;;IAPH;;OAEG;;IAEH;;;OAGG"}
1
+ {"version":3,"file":"UluCallout.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/elements/UluCallout.vue"],"names":[],"mappings":"AAQA;wBA+FqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;sPAQG"}
@@ -1,8 +1,7 @@
1
- import { useModifiers as t } from "../../composables/useModifiers.js";
2
- import { createElementBlock as s, openBlock as a, normalizeClass as i, renderSlot as n } from "vue";
3
- import f from "../../_virtual/_plugin-vue_export-helper.js";
4
- const u = {
5
- name: "UluCallout",
1
+ import { createElementBlock as t, openBlock as s, normalizeClass as a, unref as i, renderSlot as n } from "vue";
2
+ import { useModifiers as u } from "../../composables/useModifiers.js";
3
+ const d = {
4
+ __name: "UluCallout",
6
5
  props: {
7
6
  /**
8
7
  * Add full height utility class
@@ -15,18 +14,14 @@ const u = {
15
14
  modifiers: [String, Array]
16
15
  },
17
16
  setup(e) {
18
- const { resolvedModifiers: o } = t({ props: e, baseClass: "callout" });
19
- return { resolvedModifiers: o };
17
+ const l = e, { resolvedModifiers: o } = u({ props: l, baseClass: "callout" });
18
+ return (r, c) => (s(), t("div", {
19
+ class: a(["callout", [i(o), { "full-height": e.fullHeight }]])
20
+ }, [
21
+ n(r.$slots, "default")
22
+ ], 2));
20
23
  }
21
24
  };
22
- function c(e, o, l, r, d, m) {
23
- return a(), s("div", {
24
- class: i(["callout", [r.resolvedModifiers, { "full-height": l.fullHeight }]])
25
- }, [
26
- n(e.$slots, "default")
27
- ], 2);
28
- }
29
- const g = /* @__PURE__ */ f(u, [["render", c]]);
30
25
  export {
31
- g as default
26
+ d as default
32
27
  };
@@ -0,0 +1,25 @@
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
7
+ caption: string;
8
+ position?: string | undefined;
9
+ modifiers?: string | unknown[] | undefined;
10
+ $props: {
11
+ readonly caption?: string | undefined;
12
+ readonly position?: string | undefined;
13
+ readonly modifiers?: string | unknown[] | undefined;
14
+ };
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
16
+ type __VLS_TemplateResult = {
17
+ attrs: Partial<{}>;
18
+ slots: {
19
+ default?(_: {}): any;
20
+ caption?(_: {}): any;
21
+ };
22
+ refs: {};
23
+ rootEl: HTMLElement;
24
+ };
25
+ //# sourceMappingURL=UluCaptionedFigure.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UluCaptionedFigure.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/elements/UluCaptionedFigure.vue"],"names":[],"mappings":"AAQA;wBAqIqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;mPAQG"}
@@ -0,0 +1,48 @@
1
+ import { computed as a, createElementBlock as i, openBlock as n, normalizeClass as c, unref as p, renderSlot as r, createCommentVNode as l, createTextVNode as d, toDisplayString as u } from "vue";
2
+ import { useModifiers as f } from "../../composables/useModifiers.js";
3
+ const m = {
4
+ key: 0,
5
+ class: "captioned-figure__caption"
6
+ }, C = {
7
+ __name: "UluCaptionedFigure",
8
+ props: {
9
+ /**
10
+ * The text content for the caption.
11
+ */
12
+ caption: {
13
+ type: String,
14
+ default: ""
15
+ },
16
+ /**
17
+ * Positioning (e.g., 'bottom', 'center', 'right') else defaults to traditional
18
+ */
19
+ position: String,
20
+ /**
21
+ * Modifiers for styling and positioning (e.g., 'bottom', 'center', 'right', 'traditional').
22
+ */
23
+ modifiers: [String, Array]
24
+ },
25
+ setup(t) {
26
+ const e = t, { resolvedModifiers: s } = f({
27
+ props: e,
28
+ baseClass: "captioned-figure",
29
+ internal: a(() => ({
30
+ traditional: !e.position,
31
+ [e.position]: e.position
32
+ }))
33
+ });
34
+ return (o, g) => (n(), i("figure", {
35
+ class: c(["captioned-figure", p(s)])
36
+ }, [
37
+ r(o.$slots, "default"),
38
+ t.caption || o.$slots.caption ? (n(), i("figcaption", m, [
39
+ r(o.$slots, "caption", {}, () => [
40
+ d(u(t.caption), 1)
41
+ ])
42
+ ])) : l("", !0)
43
+ ], 2));
44
+ }
45
+ };
46
+ export {
47
+ C as default
48
+ };
@@ -16,9 +16,9 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
16
16
  overlay: boolean;
17
17
  title?: string | undefined;
18
18
  modifiers?: string | unknown[] | undefined;
19
+ to?: string | Record<string, any> | undefined;
19
20
  target?: string | undefined;
20
21
  href?: string | undefined;
21
- to?: string | Record<string, any> | undefined;
22
22
  titleTo?: string | Record<string, any> | undefined;
23
23
  titleHref?: string | undefined;
24
24
  titleTarget?: string | undefined;
@@ -36,9 +36,9 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
36
36
  readonly overlay?: boolean | undefined;
37
37
  readonly title?: string | undefined;
38
38
  readonly modifiers?: string | unknown[] | undefined;
39
+ readonly to?: string | Record<string, any> | undefined;
39
40
  readonly target?: string | undefined;
40
41
  readonly href?: string | undefined;
41
- readonly to?: string | Record<string, any> | undefined;
42
42
  readonly titleTo?: string | Record<string, any> | undefined;
43
43
  readonly titleHref?: string | undefined;
44
44
  readonly titleTarget?: string | undefined;
@@ -26,7 +26,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
26
26
  readonly modifiers?: string | unknown[] | undefined;
27
27
  readonly items?: unknown[] | undefined;
28
28
  };
29
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDListElement>;
29
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
30
  type __VLS_TemplateResult = {
31
31
  attrs: Partial<{}>;
32
32
  slots: {
@@ -36,10 +36,12 @@ type __VLS_TemplateResult = {
36
36
  }): any;
37
37
  description?(_: {
38
38
  item: unknown;
39
+ description: any;
39
40
  index: number;
41
+ descriptionIndex: number;
40
42
  }): any;
41
43
  };
42
44
  refs: {};
43
- rootEl: HTMLDListElement;
45
+ rootEl: any;
44
46
  };
45
47
  //# sourceMappingURL=UluDefinitionList.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UluDefinitionList.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/elements/UluDefinitionList.vue"],"names":[],"mappings":"AAqBA;wBAqOqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;;;;;;;;;;;;;;;wPAQG"}
1
+ {"version":3,"file":"UluDefinitionList.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/elements/UluDefinitionList.vue"],"names":[],"mappings":"AAmCA;wBAyQqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAVjC;;;;;;;;;;;;;;;;;;;;;;;2OAOG"}
@@ -1,10 +1,10 @@
1
- import { computed as u, createElementBlock as l, openBlock as n, normalizeClass as a, unref as B, Fragment as b, renderList as y, createElementVNode as o, renderSlot as c, createTextVNode as d, toDisplayString as m } from "vue";
2
- import { useModifiers as A } from "../../composables/useModifiers.js";
3
- const F = {
1
+ import { computed as b, createElementBlock as r, createCommentVNode as g, openBlock as a, normalizeClass as n, unref as k, Fragment as d, renderList as m, createElementVNode as L, renderSlot as p, createTextVNode as u, toDisplayString as f } from "vue";
2
+ import { useModifiers as C } from "../../composables/useModifiers.js";
3
+ const N = {
4
4
  __name: "UluDefinitionList",
5
5
  props: {
6
6
  /**
7
- * Array of term, and description (props in object)
7
+ * Array of objects with term, and description (string or array of strings)
8
8
  * - Can use slots also
9
9
  */
10
10
  items: Array,
@@ -49,7 +49,7 @@ const F = {
49
49
  compact: Boolean
50
50
  },
51
51
  setup(t) {
52
- const e = t, p = u(() => ({
52
+ const e = t, y = b(() => ({
53
53
  inline: e.inline,
54
54
  "inline-all": e.inlineAll,
55
55
  table: e.table,
@@ -57,42 +57,46 @@ const F = {
57
57
  "separated-first": e.separatedFirst,
58
58
  "separated-last": e.separatedLast,
59
59
  compact: e.compact
60
- })), { resolvedModifiers: f } = A({
60
+ })), { resolvedModifiers: B } = C({
61
61
  props: e,
62
- internal: p,
62
+ internal: y,
63
63
  baseClass: "definition-list"
64
- });
65
- return (r, L) => (n(), l("dl", {
66
- class: a(["definition-list", [B(f), t.classes.list]])
64
+ }), A = (s) => Array.isArray(s.description) ? s.description : [s.description];
65
+ return (s, D) => t.items?.length ? (a(), r("dl", {
66
+ key: 0,
67
+ class: n(["definition-list", [k(B), t.classes.list]])
67
68
  }, [
68
- (n(!0), l(b, null, y(t.items, (s, i) => (n(), l("div", {
69
- key: i,
70
- class: a(t.classes.item)
69
+ (a(!0), r(d, null, m(t.items, (i, l) => (a(), r("div", {
70
+ key: l,
71
+ class: n(t.classes.item)
71
72
  }, [
72
- o("dt", {
73
- class: a(t.classes.term)
73
+ L("dt", {
74
+ class: n(t.classes.term)
74
75
  }, [
75
- c(r.$slots, "term", {
76
- item: s,
77
- index: i
76
+ p(s.$slots, "term", {
77
+ item: i,
78
+ index: l
78
79
  }, () => [
79
- d(m(s.term), 1)
80
+ u(f(i.term), 1)
80
81
  ])
81
82
  ], 2),
82
- o("dd", {
83
- class: a(t.classes.description)
83
+ (a(!0), r(d, null, m(A(i), (o, c) => (a(), r("dd", {
84
+ key: c,
85
+ class: n(t.classes.description)
84
86
  }, [
85
- c(r.$slots, "description", {
86
- item: s,
87
- index: i
87
+ p(s.$slots, "description", {
88
+ item: i,
89
+ description: o,
90
+ index: l,
91
+ descriptionIndex: c
88
92
  }, () => [
89
- d(m(s.description), 1)
93
+ u(f(o), 1)
90
94
  ])
91
- ], 2)
95
+ ], 2))), 128))
92
96
  ], 2))), 128))
93
- ], 2));
97
+ ], 2)) : g("", !0);
94
98
  }
95
99
  };
96
100
  export {
97
- F as default
101
+ N as default
98
102
  };
@@ -6,13 +6,13 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
6
6
  declare const __VLS_component: import('vue').DefineComponent<{}, {
7
7
  target: string;
8
8
  icon?: string | undefined;
9
- text?: string | undefined;
10
9
  href?: string | undefined;
10
+ text?: string | undefined;
11
11
  $props: {
12
12
  readonly target?: string | undefined;
13
13
  readonly icon?: string | undefined;
14
- readonly text?: string | undefined;
15
14
  readonly href?: string | undefined;
15
+ readonly text?: string | undefined;
16
16
  };
17
17
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLAnchorElement>;
18
18
  type __VLS_TemplateResult = {
@@ -0,0 +1,14 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {
2
+ classes: Record<string, any>;
3
+ alt: string;
4
+ src: string;
5
+ sources: unknown[];
6
+ $props: {
7
+ readonly classes?: Record<string, any> | undefined;
8
+ readonly alt?: string | undefined;
9
+ readonly src?: string | undefined;
10
+ readonly sources?: unknown[] | undefined;
11
+ };
12
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
14
+ //# sourceMappingURL=UluImage.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UluImage.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/elements/UluImage.vue"],"names":[],"mappings":"AAuBA;"}