sit-onyx 1.6.0 → 1.7.0-dev-20260122090908

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.
@@ -0,0 +1,25 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: Readonly<{
4
+ /**
5
+ * Table of content items. Recommended to use the `OnyxTableOfContentsItem` component here.
6
+ */
7
+ default(): unknown;
8
+ }> & {
9
+ /**
10
+ * Table of content items. Recommended to use the `OnyxTableOfContentsItem` component here.
11
+ */
12
+ default(): unknown;
13
+ };
14
+ refs: {};
15
+ rootEl: HTMLElement;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<import('../../composables/density.js', { with: { "resolution-mode": "import" } }).DensityProp, {}, {}, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('../../composables/density.js', { with: { "resolution-mode": "import" } }).DensityProp> & Readonly<{}>, {}, {}, {}, {}, string, import('vue', { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, HTMLElement>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
+ export default _default;
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,2 @@
1
+ import { DensityProp } from '../../composables/density.js';
2
+ export type OnyxTableOfContentsProps = DensityProp;
@@ -0,0 +1,36 @@
1
+ import { OnyxTableOfContentsItemProps } from './types.js';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: Readonly<{
5
+ /**
6
+ * Item content.
7
+ */
8
+ default(): unknown;
9
+ /**
10
+ * Optional nested children to display. Recommended to use the `OnyxTableOfContentsItem` component here.
11
+ */
12
+ children?(): unknown;
13
+ }> & {
14
+ /**
15
+ * Item content.
16
+ */
17
+ default(): unknown;
18
+ /**
19
+ * Optional nested children to display. Recommended to use the `OnyxTableOfContentsItem` component here.
20
+ */
21
+ children?(): unknown;
22
+ };
23
+ refs: {};
24
+ rootEl: HTMLLIElement;
25
+ };
26
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
+ declare const __VLS_component: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<OnyxTableOfContentsItemProps, {}, {}, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<OnyxTableOfContentsItemProps> & Readonly<{}>, {
28
+ active: boolean | "auto";
29
+ }, {}, {}, {}, string, import('vue', { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, HTMLLIElement>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,9 @@
1
+ import { DensityProp } from '../../composables/density.js';
2
+ import { WithLinkProp } from '../OnyxRouterLink/types.js';
3
+ export type OnyxTableOfContentsItemProps = DensityProp & Required<WithLinkProp> & {
4
+ /**
5
+ * Whether the item is currently active.
6
+ * For "auto", the active state will be determined automatically based on the current route.
7
+ */
8
+ active?: boolean | "auto";
9
+ };
@@ -287,5 +287,8 @@
287
287
  "select": {
288
288
  "listLabel": "Anzahl der Elemente pro Seite auswählen"
289
289
  }
290
+ },
291
+ "tableOfContents": {
292
+ "label": "Inhaltsverzeichnis"
290
293
  }
291
294
  }
@@ -290,5 +290,8 @@
290
290
  "select": {
291
291
  "listLabel": "Select number of items per page"
292
292
  }
293
+ },
294
+ "tableOfContents": {
295
+ "label": "Table of contents"
293
296
  }
294
297
  }
@@ -290,6 +290,9 @@ declare const _default: {
290
290
  "select": {
291
291
  "listLabel": "Select number of items per page"
292
292
  }
293
+ },
294
+ "tableOfContents": {
295
+ "label": "Table of contents"
293
296
  }
294
297
  }
295
298
  ;
package/dist/index.d.ts CHANGED
@@ -149,6 +149,10 @@ export { default as OnyxTab } from './components/OnyxTab/OnyxTab.vue';
149
149
  export * from './components/OnyxTab/types.js';
150
150
  export { default as OnyxTable } from './components/OnyxTable/OnyxTable.vue';
151
151
  export * from './components/OnyxTable/types.js';
152
+ export { default as OnyxUnstableTableOfContents } from './components/OnyxTableOfContents/OnyxTableOfContents.vue';
153
+ export * from './components/OnyxTableOfContents/types.js';
154
+ export { default as OnyxUnstableTableOfContentsItem } from './components/OnyxTableOfContentsItem/OnyxTableOfContentsItem.vue';
155
+ export * from './components/OnyxTableOfContentsItem/types.js';
152
156
  export { default as OnyxTabs } from './components/OnyxTabs/OnyxTabs.vue';
153
157
  export * from './components/OnyxTabs/types.js';
154
158
  export { default as OnyxTag } from './components/OnyxTag/OnyxTag.vue';