sit-onyx 1.6.0 → 1.7.0-dev-20260123074548
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/components/OnyxTableOfContents/OnyxTableOfContents.d.vue.ts +25 -0
- package/dist/components/OnyxTableOfContents/types.d.ts +2 -0
- package/dist/components/OnyxTableOfContentsItem/OnyxTableOfContentsItem.d.vue.ts +36 -0
- package/dist/components/OnyxTableOfContentsItem/types.d.ts +9 -0
- package/dist/i18n/locales/de-DE.json +3 -0
- package/dist/i18n/locales/en-US.json +3 -0
- package/dist/i18n/locales/en-US.json.d.ts +3 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.esm-bundler.js +698 -597
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +2506 -2431
- package/dist/style.css +1 -1
- package/package.json +8 -8
|
@@ -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,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
|
+
};
|
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';
|