edvoyui-component-library-test-flight 0.0.254 → 0.0.255

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.
@@ -8,7 +8,18 @@ type AccordionMenuSection = {
8
8
  label: string;
9
9
  items: AccordionMenuItem[];
10
10
  };
11
- declare const _default: import('../../../node_modules/vue').DefineComponent<import('../../../node_modules/vue').ExtractPropTypes<{
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ 'section-label'?(_: {
15
+ section: AccordionMenuSection;
16
+ }): any;
17
+ };
18
+ refs: {};
19
+ rootEl: HTMLElement;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: import('../../../node_modules/vue').DefineComponent<import('../../../node_modules/vue').ExtractPropTypes<{
12
23
  items: {
13
24
  type: PropType<AccordionMenuSection[]>;
14
25
  default: () => never[];
@@ -67,4 +78,10 @@ declare const _default: import('../../../node_modules/vue').DefineComponent<impo
67
78
  openSection: string;
68
79
  stickySectionHeaders: boolean;
69
80
  }, {}, {}, {}, string, import('../../../node_modules/vue').ComponentProvideOptions, true, {}, HTMLElement>;
81
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
70
82
  export default _default;
83
+ type __VLS_WithTemplateSlots<T, S> = T & {
84
+ new (): {
85
+ $slots: S;
86
+ };
87
+ };
@@ -17,7 +17,9 @@
17
17
  :aria-expanded="expandedSection === section.id"
18
18
  @click="toggleSection(section.id)"
19
19
  >
20
- <span class="flex-1 min-w-0 truncate">{{ section.label }}</span>
20
+ <slot name="section-label" :section="section">
21
+ <span class="flex-1 min-w-0 truncate">{{ section.label }}</span>
22
+ </slot>
21
23
  <svg
22
24
  class="size-5 shrink-0 transition-transform duration-350 ease-[cubic-bezier(0.15,0.3,0.25,1)]"
23
25
  :class="expandedSection === section.id ? 'rotate-90' : ''"