@aleph-alpha/ui-library 6.1.0 → 6.2.1
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/config.js +42 -0
- package/dist/system/components/UiCodeBlock/types.d.ts +11 -0
- package/dist/system/components/core/sidebar/utils.d.ts +9 -0
- package/dist/system/icons/story-sidebar-icons.json +1 -0
- package/dist/system/lib.js +4949 -4883
- package/dist/system/patterns/UiLayout/UiLayoutContent.vue.d.ts +39 -0
- package/dist/system/patterns/UiLayout/index.d.ts +2 -0
- package/dist/system/patterns/UiLayout/layout-shell.d.ts +944 -0
- package/dist/system/patterns/UiLayout/types.d.ts +43 -0
- package/dist/system/patterns/index.d.ts +1 -0
- package/dist/system/story-sidebar-icons.json +1 -0
- package/package.json +5 -5
- package/src/components/UiCodeBlock/UiCodeBlock.stories.ts +83 -0
- package/src/components/UiCodeBlock/UiCodeBlock.vue +30 -2
- package/src/components/UiCodeBlock/__tests__/UiCodeBlock.test.ts +21 -0
- package/src/components/UiCodeBlock/types.ts +11 -0
- package/src/components/core/sidebar/Sidebar.vue +21 -5
- package/src/components/core/sidebar/utils.ts +10 -0
- package/src/patterns/UiLayout/UiLayoutContent.stories.ts +1234 -0
- package/src/patterns/UiLayout/UiLayoutContent.vue +98 -0
- package/src/patterns/UiLayout/__tests__/UiLayoutContent.test.ts +97 -0
- package/src/patterns/UiLayout/index.ts +2 -0
- package/src/patterns/UiLayout/layout-shell.ts +64 -15
- package/src/patterns/UiLayout/types.ts +44 -0
- package/src/patterns/index.ts +1 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UiLayoutContentProps, UiLayoutContentSidebarMode } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
/** Page content; in a split or sidebar view, the primary part. */
|
|
6
|
+
default(): unknown;
|
|
7
|
+
/** Trailing part of a split view. Providing it draws the divider. */
|
|
8
|
+
split?(): unknown;
|
|
9
|
+
/**
|
|
10
|
+
* Secondary content, always locked to the right edge, without a surface or
|
|
11
|
+
* radius of its own. Its share of the content box is set by `sidebarMode`.
|
|
12
|
+
*/
|
|
13
|
+
sidebar?(): unknown;
|
|
14
|
+
}> & {
|
|
15
|
+
/** Page content; in a split or sidebar view, the primary part. */
|
|
16
|
+
default(): unknown;
|
|
17
|
+
/** Trailing part of a split view. Providing it draws the divider. */
|
|
18
|
+
split?(): unknown;
|
|
19
|
+
/**
|
|
20
|
+
* Secondary content, always locked to the right edge, without a surface or
|
|
21
|
+
* radius of its own. Its share of the content box is set by `sidebarMode`.
|
|
22
|
+
*/
|
|
23
|
+
sidebar?(): unknown;
|
|
24
|
+
};
|
|
25
|
+
refs: {};
|
|
26
|
+
rootEl: any;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<UiLayoutContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiLayoutContentProps> & Readonly<{}>, {
|
|
30
|
+
as: string;
|
|
31
|
+
sidebarMode: UiLayoutContentSidebarMode;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|