@aleph-alpha/ui-library 1.14.0 → 1.15.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.
- package/config.d.ts +18 -5
- package/config.js +61 -4
- package/dist/system/index.d.ts +41 -53
- package/dist/system/lib.js +981 -988
- package/docs/public-docs/component-directory.md +13 -0
- package/docs/public-docs/contributing.md +11 -0
- package/docs/public-docs/external-links.md +16 -0
- package/docs/public-docs/foundations.md +25 -0
- package/docs/public-docs/getting-started-designers.md +17 -0
- package/docs/public-docs/index.md +5 -0
- package/docs/public-docs/quick-start.md +230 -0
- package/docs/public-docs/standards-guidelines.md +15 -0
- package/package.json +3 -2
- package/src/components/UiCalendar/UiCalendar.stories.ts +1 -4
- package/src/components/UiCalendar/types.ts +1 -1
- package/src/components/UiRangeCalendar/UiRangeCalendar.stories.ts +2 -4
- package/src/components/UiRangeCalendar/types.ts +1 -1
- package/src/components/UiSidebar/UiSidebar.stories.ts +179 -1
- package/src/components/UiSidebar/UiSidebarProvider.vue +1 -3
- package/src/components/UiSidebar/types.ts +6 -9
- package/src/components/core/calendar/Calendar.vue +1 -1
- package/src/components/core/range-calendar/RangeCalendar.vue +1 -1
- package/src/patterns/UiDatePicker/UiDatePicker.stories.ts +1 -4
- package/src/patterns/UiDatePicker/types.ts +1 -1
package/config.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ export interface UiLibraryThemeConfig {
|
|
|
60
60
|
/**
|
|
61
61
|
* Include all token-based CSS variables in addition to shadcn variables.
|
|
62
62
|
* This enables classes like bg-background-surface-secondary, text-content-on-surface-primary, etc.
|
|
63
|
-
* @default
|
|
63
|
+
* @default true
|
|
64
64
|
*/
|
|
65
65
|
includeAllTokens?: boolean;
|
|
66
66
|
}
|
|
@@ -145,24 +145,37 @@ export declare const presetUiLibraryTheme: (
|
|
|
145
145
|
*
|
|
146
146
|
* **Important:** Place this preset AFTER `presetShadcn()` to override its CSS variables.
|
|
147
147
|
*
|
|
148
|
+
* This preset bundles everything needed for the UI library:
|
|
149
|
+
* - CSS variables for all design tokens (light/dark mode)
|
|
150
|
+
* - Token-based theme colors (bg-background-surface-secondary, text-content-on-surface-primary, etc.)
|
|
151
|
+
* - Semantic color overrides (background, foreground, modal, link, etc.)
|
|
152
|
+
* - Typography classes from design tokens (heading-48-bold, body-14-normal, label-12-medium, etc.)
|
|
153
|
+
* - Custom rules for Tailwind v4 CSS variable syntax (w-(--var), h-(--var), etc.)
|
|
154
|
+
*
|
|
148
155
|
* @example
|
|
149
156
|
* ```ts
|
|
150
|
-
* // Use defaults
|
|
151
|
-
* presetUiLibraryThemeFromTokens(
|
|
157
|
+
* // Use defaults (recommended — includes everything)
|
|
158
|
+
* presetUiLibraryThemeFromTokens()
|
|
152
159
|
*
|
|
153
160
|
* // Extend defaults
|
|
154
161
|
* presetUiLibraryThemeFromTokens({
|
|
155
|
-
* darkSelector: 'html.dark',
|
|
156
162
|
* extend: { light: { primary: '#ff5500' } },
|
|
157
163
|
* })
|
|
158
164
|
*
|
|
159
165
|
* // With external config file
|
|
160
166
|
* import themeConfig from './tokens.config';
|
|
161
|
-
* presetUiLibraryThemeFromTokens(
|
|
167
|
+
* presetUiLibraryThemeFromTokens(themeConfig)
|
|
162
168
|
* ```
|
|
163
169
|
*/
|
|
164
170
|
export declare const presetUiLibraryThemeFromTokens: (options?: UiLibraryPresetOptions) => Preset;
|
|
165
171
|
|
|
172
|
+
/**
|
|
173
|
+
* UnoCSS preset with utility rules required by the UI library's components.
|
|
174
|
+
* Adds Tailwind v4 CSS variable syntax (w-(--var), h-(--var), etc.)
|
|
175
|
+
* that preset-wind4 does not yet support.
|
|
176
|
+
*/
|
|
177
|
+
export declare const presetUiLibraryUtils: () => Preset;
|
|
178
|
+
|
|
166
179
|
/**
|
|
167
180
|
* Typography shortcut tuple: [className, cssProperties]
|
|
168
181
|
*/
|
package/config.js
CHANGED
|
@@ -469,9 +469,9 @@ export const presetUiLibraryTheme = (theme, options = {}) => {
|
|
|
469
469
|
};
|
|
470
470
|
|
|
471
471
|
export const presetUiLibraryThemeFromTokens = (options = {}) => {
|
|
472
|
-
const { theme, extend, includeAllTokens =
|
|
472
|
+
const { theme, extend, includeAllTokens = true, ...presetOptions } = options;
|
|
473
473
|
|
|
474
|
-
// If full theme override provided, use
|
|
474
|
+
// If full theme override provided, use basic preset (no batteries)
|
|
475
475
|
if (theme) {
|
|
476
476
|
return presetUiLibraryTheme(theme, presetOptions);
|
|
477
477
|
}
|
|
@@ -479,7 +479,7 @@ export const presetUiLibraryThemeFromTokens = (options = {}) => {
|
|
|
479
479
|
// Get base shadcn theme from tokens
|
|
480
480
|
const baseTheme = getUiLibraryThemeFromTokens();
|
|
481
481
|
|
|
482
|
-
//
|
|
482
|
+
// Include all token-based variables (default: true)
|
|
483
483
|
let finalTheme = baseTheme;
|
|
484
484
|
if (includeAllTokens) {
|
|
485
485
|
const tokenVars = getUiLibraryTokenVars();
|
|
@@ -492,9 +492,66 @@ export const presetUiLibraryThemeFromTokens = (options = {}) => {
|
|
|
492
492
|
// Merge with extend overrides
|
|
493
493
|
finalTheme = mergeThemes(finalTheme, extend);
|
|
494
494
|
|
|
495
|
-
|
|
495
|
+
// Get base preset with preflights (CSS variables)
|
|
496
|
+
const basePreset = presetUiLibraryTheme(finalTheme, presetOptions);
|
|
497
|
+
|
|
498
|
+
// Token colors for utility classes (bg-background-surface-secondary, etc.)
|
|
499
|
+
const tokenColors = getUiLibraryTokenColors();
|
|
500
|
+
|
|
501
|
+
// Semantic color overrides used by components
|
|
502
|
+
const semanticColors = {
|
|
503
|
+
background: 'oklch(var(--background))',
|
|
504
|
+
foreground: 'oklch(var(--foreground))',
|
|
505
|
+
modal: 'oklch(var(--modal))',
|
|
506
|
+
link: 'oklch(var(--link))',
|
|
507
|
+
'hover-default': 'oklch(var(--hover-default))',
|
|
508
|
+
'modal-overlay': 'oklch(var(--modal-overlay))',
|
|
509
|
+
inverse: 'oklch(var(--inverse))',
|
|
510
|
+
'inverse-foreground': 'oklch(var(--inverse-foreground))',
|
|
511
|
+
'secondary-content': 'oklch(var(--secondary-content))',
|
|
512
|
+
'input-background': 'oklch(var(--input-background))',
|
|
513
|
+
'accent-default': 'oklch(var(--accent-default))',
|
|
514
|
+
'accent-default-foreground': 'oklch(var(--accent-default-foreground))',
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
// Typography shortcuts from design tokens
|
|
518
|
+
const typographyShortcuts = getUiLibraryTypographyShortcuts();
|
|
519
|
+
|
|
520
|
+
// Return preset with token-related config: CSS variables, token colors, semantic overrides, typography
|
|
521
|
+
return {
|
|
522
|
+
...basePreset,
|
|
523
|
+
theme: {
|
|
524
|
+
colors: {
|
|
525
|
+
...tokenColors,
|
|
526
|
+
...semanticColors,
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
rules: [
|
|
530
|
+
// Typography classes from design tokens (heading-48-bold, body-14-normal, label-12-medium, etc.)
|
|
531
|
+
...typographyShortcuts.map(([name, css]) => [
|
|
532
|
+
new RegExp(`^${name}$`),
|
|
533
|
+
() => Object.fromEntries(css.split(';').map((p) => p.split(':').map((s) => s.trim()))),
|
|
534
|
+
]),
|
|
535
|
+
],
|
|
536
|
+
};
|
|
496
537
|
};
|
|
497
538
|
|
|
539
|
+
/**
|
|
540
|
+
* UnoCSS preset with utility rules required by the UI library's components.
|
|
541
|
+
* Adds Tailwind v4 CSS variable syntax (w-(--var), h-(--var), etc.)
|
|
542
|
+
* that preset-wind4 does not yet support.
|
|
543
|
+
*/
|
|
544
|
+
export const presetUiLibraryUtils = () =>
|
|
545
|
+
definePreset(() => ({
|
|
546
|
+
name: '@aleph-alpha/ui-library-utils',
|
|
547
|
+
rules: [
|
|
548
|
+
[/^w-\(--(.+)\)$/, ([, name]) => ({ width: `var(--${name})` })],
|
|
549
|
+
[/^max-w-\(--(.+)\)$/, ([, name]) => ({ 'max-width': `var(--${name})` })],
|
|
550
|
+
[/^h-\(--(.+)\)$/, ([, name]) => ({ height: `var(--${name})` })],
|
|
551
|
+
[/^origin-\(--(.+)\)$/, ([, name]) => ({ 'transform-origin': `var(--${name})` })],
|
|
552
|
+
],
|
|
553
|
+
}))();
|
|
554
|
+
|
|
498
555
|
// Typography utilities
|
|
499
556
|
const fontWeightMap = {
|
|
500
557
|
Regular: '400',
|
package/dist/system/index.d.ts
CHANGED
|
@@ -136,15 +136,11 @@ size: UiSidebarMenuSubButtonSize;
|
|
|
136
136
|
isActive: boolean;
|
|
137
137
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
138
138
|
|
|
139
|
-
declare const __VLS_component_124: DefineComponent<
|
|
140
|
-
"update:open": (value: boolean | undefined) => any;
|
|
141
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps_12> & Readonly<{
|
|
142
|
-
"onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
|
|
143
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
139
|
+
declare const __VLS_component_124: DefineComponent<UiSidebarProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UiSidebarProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
144
140
|
|
|
145
|
-
declare const __VLS_component_125: DefineComponent<
|
|
141
|
+
declare const __VLS_component_125: DefineComponent<__VLS_PublicProps_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
146
142
|
"update:modelValue": (value: number) => any;
|
|
147
|
-
}, string, PublicProps, Readonly<
|
|
143
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_12> & Readonly<{
|
|
148
144
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
149
145
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
150
146
|
|
|
@@ -200,9 +196,9 @@ declare const __VLS_component_142: DefineComponent<UiTabsTriggerProps, {}, {}, {
|
|
|
200
196
|
|
|
201
197
|
declare const __VLS_component_143: DefineComponent<UiTabsContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UiTabsContentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
202
198
|
|
|
203
|
-
declare const __VLS_component_144: DefineComponent<
|
|
199
|
+
declare const __VLS_component_144: DefineComponent<__VLS_PublicProps_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
204
200
|
"update:modelValue": (value: string[]) => any;
|
|
205
|
-
}, string, PublicProps, Readonly<
|
|
201
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_14> & Readonly<{
|
|
206
202
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
207
203
|
}>, {
|
|
208
204
|
disabled: boolean;
|
|
@@ -212,9 +208,9 @@ declare const __VLS_component_145: DefineComponent<UiTagsInputItemProps, {}, {},
|
|
|
212
208
|
|
|
213
209
|
declare const __VLS_component_146: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
214
210
|
|
|
215
|
-
declare const __VLS_component_147: DefineComponent<
|
|
211
|
+
declare const __VLS_component_147: DefineComponent<__VLS_PublicProps_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
216
212
|
"update:modelValue": (value: boolean) => any;
|
|
217
|
-
}, string, PublicProps, Readonly<
|
|
213
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_16> & Readonly<{
|
|
218
214
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
219
215
|
}>, {
|
|
220
216
|
disabled: boolean;
|
|
@@ -224,9 +220,9 @@ variant: "default" | "outline";
|
|
|
224
220
|
|
|
225
221
|
declare const __VLS_component_148: DefineComponent<UiToggleGroupItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UiToggleGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
226
222
|
|
|
227
|
-
declare const __VLS_component_149: DefineComponent<
|
|
223
|
+
declare const __VLS_component_149: DefineComponent<__VLS_PublicProps_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
228
224
|
"update:open": (value: boolean) => any;
|
|
229
|
-
}, string, PublicProps, Readonly<
|
|
225
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_17> & Readonly<{
|
|
230
226
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
231
227
|
}>, {
|
|
232
228
|
disabled: boolean;
|
|
@@ -245,10 +241,10 @@ declare const __VLS_component_150: DefineComponent<TooltipRootProps, {}, {}, {},
|
|
|
245
241
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
246
242
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
247
243
|
|
|
248
|
-
declare const __VLS_component_151: DefineComponent<
|
|
244
|
+
declare const __VLS_component_151: DefineComponent<__VLS_Props_33, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
249
245
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
250
246
|
pointerDownOutside: (event: Event) => any;
|
|
251
|
-
}, string, PublicProps, Readonly<
|
|
247
|
+
}, string, PublicProps, Readonly<__VLS_Props_33> & Readonly<{
|
|
252
248
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
253
249
|
onPointerDownOutside?: ((event: Event) => any) | undefined;
|
|
254
250
|
}>, {
|
|
@@ -781,29 +777,27 @@ declare type __VLS_Props_26 = DialogContentProps & {
|
|
|
781
777
|
closeLabel?: string;
|
|
782
778
|
};
|
|
783
779
|
|
|
784
|
-
declare type __VLS_Props_27 =
|
|
780
|
+
declare type __VLS_Props_27 = UiStepperProps;
|
|
785
781
|
|
|
786
|
-
declare type __VLS_Props_28 =
|
|
782
|
+
declare type __VLS_Props_28 = UiSwitchProps;
|
|
787
783
|
|
|
788
|
-
declare type __VLS_Props_29 =
|
|
784
|
+
declare type __VLS_Props_29 = UiTagsInputProps;
|
|
789
785
|
|
|
790
786
|
declare type __VLS_Props_3 = {
|
|
791
787
|
class?: HTMLAttributes['class'];
|
|
792
788
|
};
|
|
793
789
|
|
|
794
|
-
declare type __VLS_Props_30 =
|
|
790
|
+
declare type __VLS_Props_30 = UiTextareaProps;
|
|
795
791
|
|
|
796
|
-
declare type __VLS_Props_31 =
|
|
792
|
+
declare type __VLS_Props_31 = UiToggleProps;
|
|
797
793
|
|
|
798
|
-
declare type __VLS_Props_32 =
|
|
794
|
+
declare type __VLS_Props_32 = UiTooltipProps;
|
|
799
795
|
|
|
800
|
-
declare type __VLS_Props_33 =
|
|
801
|
-
|
|
802
|
-
declare type __VLS_Props_34 = TooltipContentProps & {
|
|
796
|
+
declare type __VLS_Props_33 = TooltipContentProps & {
|
|
803
797
|
class?: HTMLAttributes['class'];
|
|
804
798
|
};
|
|
805
799
|
|
|
806
|
-
declare type
|
|
800
|
+
declare type __VLS_Props_34 = UiDatePickerProps;
|
|
807
801
|
|
|
808
802
|
declare type __VLS_Props_4 = {
|
|
809
803
|
class?: HTMLAttributes['class'];
|
|
@@ -841,37 +835,33 @@ declare type __VLS_PublicProps_11 = {
|
|
|
841
835
|
} & __VLS_Props_25;
|
|
842
836
|
|
|
843
837
|
declare type __VLS_PublicProps_12 = {
|
|
844
|
-
|
|
838
|
+
modelValue?: number;
|
|
845
839
|
} & __VLS_Props_27;
|
|
846
840
|
|
|
847
841
|
declare type __VLS_PublicProps_13 = {
|
|
848
|
-
modelValue?:
|
|
842
|
+
modelValue?: boolean;
|
|
849
843
|
} & __VLS_Props_28;
|
|
850
844
|
|
|
851
845
|
declare type __VLS_PublicProps_14 = {
|
|
852
|
-
modelValue?:
|
|
846
|
+
modelValue?: string[];
|
|
853
847
|
} & __VLS_Props_29;
|
|
854
848
|
|
|
855
849
|
declare type __VLS_PublicProps_15 = {
|
|
856
|
-
modelValue?: string
|
|
850
|
+
modelValue?: string;
|
|
857
851
|
} & __VLS_Props_30;
|
|
858
852
|
|
|
859
853
|
declare type __VLS_PublicProps_16 = {
|
|
860
|
-
modelValue?:
|
|
854
|
+
modelValue?: boolean;
|
|
861
855
|
} & __VLS_Props_31;
|
|
862
856
|
|
|
863
857
|
declare type __VLS_PublicProps_17 = {
|
|
864
|
-
|
|
858
|
+
'open'?: boolean;
|
|
865
859
|
} & __VLS_Props_32;
|
|
866
860
|
|
|
867
861
|
declare type __VLS_PublicProps_18 = {
|
|
868
|
-
'open'?: boolean;
|
|
869
|
-
} & __VLS_Props_33;
|
|
870
|
-
|
|
871
|
-
declare type __VLS_PublicProps_19 = {
|
|
872
862
|
modelValue?: UiDatePickerProps['modelValue'];
|
|
873
863
|
'open'?: boolean;
|
|
874
|
-
} &
|
|
864
|
+
} & __VLS_Props_34;
|
|
875
865
|
|
|
876
866
|
declare type __VLS_PublicProps_2 = {
|
|
877
867
|
modelValue?: UiCalendarProps['modelValue'];
|
|
@@ -4085,7 +4075,7 @@ export declare interface UiCalendarProps {
|
|
|
4085
4075
|
locale?: string;
|
|
4086
4076
|
/**
|
|
4087
4077
|
* The day of the week to start on.
|
|
4088
|
-
* @default 0
|
|
4078
|
+
* @default 0
|
|
4089
4079
|
*/
|
|
4090
4080
|
weekStartsOn?: UiCalendarWeekStartsOn;
|
|
4091
4081
|
/**
|
|
@@ -4407,10 +4397,10 @@ export declare type UiDataTableToolbarProps<TData> = {
|
|
|
4407
4397
|
labels?: ToolbarLabels;
|
|
4408
4398
|
};
|
|
4409
4399
|
|
|
4410
|
-
export declare const UiDatePicker: DefineComponent<
|
|
4400
|
+
export declare const UiDatePicker: DefineComponent<__VLS_PublicProps_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4411
4401
|
"update:modelValue": (value: DateValue | DateRange | undefined) => any;
|
|
4412
4402
|
"update:open": (value: boolean) => any;
|
|
4413
|
-
}, string, PublicProps, Readonly<
|
|
4403
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_18> & Readonly<{
|
|
4414
4404
|
"onUpdate:modelValue"?: ((value: DateValue | DateRange | undefined) => any) | undefined;
|
|
4415
4405
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
4416
4406
|
}>, {
|
|
@@ -4519,7 +4509,7 @@ export declare interface UiDatePickerProps {
|
|
|
4519
4509
|
locale?: string;
|
|
4520
4510
|
/**
|
|
4521
4511
|
* The day of the week to start on.
|
|
4522
|
-
* @default 0
|
|
4512
|
+
* @default 0
|
|
4523
4513
|
*/
|
|
4524
4514
|
weekStartsOn?: UiDatePickerWeekStartsOn;
|
|
4525
4515
|
/**
|
|
@@ -6077,7 +6067,7 @@ export declare interface UiRangeCalendarProps {
|
|
|
6077
6067
|
locale?: string;
|
|
6078
6068
|
/**
|
|
6079
6069
|
* The day of the week to start on.
|
|
6080
|
-
* @default 0
|
|
6070
|
+
* @default 0
|
|
6081
6071
|
*/
|
|
6082
6072
|
weekStartsOn?: UiRangeCalendarWeekStartsOn;
|
|
6083
6073
|
/**
|
|
@@ -6578,19 +6568,17 @@ export declare interface UiSidebarProps {
|
|
|
6578
6568
|
|
|
6579
6569
|
export declare const UiSidebarProvider: __VLS_WithTemplateSlots_124<typeof __VLS_component_124, __VLS_TemplateResult_124["slots"]>;
|
|
6580
6570
|
|
|
6571
|
+
/**
|
|
6572
|
+
* Wraps the sidebar and manages its open/closed state.
|
|
6573
|
+
* Omit `default-open` to use cookie-based persistence (falls back to expanded).
|
|
6574
|
+
*/
|
|
6581
6575
|
export declare interface UiSidebarProviderProps {
|
|
6582
6576
|
/**
|
|
6583
|
-
* The
|
|
6584
|
-
* If not provided, the
|
|
6577
|
+
* The initial open state of the sidebar.
|
|
6578
|
+
* If not provided, the inner provider uses cookie-based persistence
|
|
6585
6579
|
* (falls back to expanded if no cookie exists).
|
|
6586
6580
|
*/
|
|
6587
6581
|
defaultOpen?: boolean;
|
|
6588
|
-
/**
|
|
6589
|
-
* The controlled open state of the sidebar.
|
|
6590
|
-
* - Omit for uncontrolled mode (component manages state internally)
|
|
6591
|
-
* - Use `v-model:open` for controlled mode
|
|
6592
|
-
*/
|
|
6593
|
-
open?: boolean;
|
|
6594
6582
|
}
|
|
6595
6583
|
|
|
6596
6584
|
export declare const UiSidebarRail: __VLS_WithTemplateSlots_116<typeof __VLS_component_116, __VLS_TemplateResult_116["slots"]>;
|
|
@@ -6829,9 +6817,9 @@ export declare type UiStepperTriggerProps = {
|
|
|
6829
6817
|
asChild?: boolean;
|
|
6830
6818
|
};
|
|
6831
6819
|
|
|
6832
|
-
export declare const UiSwitch: DefineComponent<
|
|
6820
|
+
export declare const UiSwitch: DefineComponent<__VLS_PublicProps_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6833
6821
|
"update:modelValue": (value: boolean) => any;
|
|
6834
|
-
}, string, PublicProps, Readonly<
|
|
6822
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_13> & Readonly<{
|
|
6835
6823
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
6836
6824
|
}>, {
|
|
6837
6825
|
disabled: boolean;
|
|
@@ -7085,9 +7073,9 @@ export declare interface UiTagsInputProps extends Omit<TagsInputRootProps, 'clas
|
|
|
7085
7073
|
|
|
7086
7074
|
export declare const UiTemplatePlaceholder: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
7087
7075
|
|
|
7088
|
-
export declare const UiTextarea: DefineComponent<
|
|
7076
|
+
export declare const UiTextarea: DefineComponent<__VLS_PublicProps_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7089
7077
|
"update:modelValue": (value: string) => any;
|
|
7090
|
-
}, string, PublicProps, Readonly<
|
|
7078
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_15> & Readonly<{
|
|
7091
7079
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
7092
7080
|
}>, {
|
|
7093
7081
|
disabled: boolean;
|