@kazee-ds/vue 0.6.0 → 0.7.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/README.md +2 -2
- package/dist/index.js +3235 -414
- package/dist/index.js.map +1 -1
- package/dist/types/Alert.vue.d.ts +1 -1
- package/dist/types/Avatar.vue.d.ts +31 -0
- package/dist/types/AvatarBadge.vue.d.ts +24 -0
- package/dist/types/AvatarFallback.vue.d.ts +22 -0
- package/dist/types/AvatarGroup.d.ts +79 -0
- package/dist/types/AvatarGroupCount.vue.d.ts +20 -0
- package/dist/types/AvatarImage.vue.d.ts +30 -0
- package/dist/types/Badge.vue.d.ts +19 -8
- package/dist/types/BadgeAnchor.vue.d.ts +19 -0
- package/dist/types/Button.vue.d.ts +2 -2
- package/dist/types/ButtonGroup.d.ts +2 -2
- package/dist/types/Calendar.vue.d.ts +47 -0
- package/dist/types/Card.vue.d.ts +9 -1
- package/dist/types/CardAction.vue.d.ts +15 -0
- package/dist/types/CardFooter.vue.d.ts +20 -0
- package/dist/types/CardHeader.vue.d.ts +22 -0
- package/dist/types/CardRoot.vue.d.ts +23 -0
- package/dist/types/CardTitle.vue.d.ts +21 -0
- package/dist/types/Checkbox.vue.d.ts +3 -3
- package/dist/types/DataTable.vue.d.ts +1 -1
- package/dist/types/DateRangePicker.vue.d.ts +13 -11
- package/dist/types/Dialog.vue.d.ts +3 -3
- package/dist/types/DropdownMenu.vue.d.ts +6 -4
- package/dist/types/Field.vue.d.ts +2 -2
- package/dist/types/Form.vue.d.ts +2 -2
- package/dist/types/Input.vue.d.ts +12 -8
- package/dist/types/InputClearButton.vue.d.ts +13 -0
- package/dist/types/InputRoot.vue.d.ts +6 -0
- package/dist/types/Listbox.vue.d.ts +3 -3
- package/dist/types/MonthYearNavigation.vue.d.ts +23 -0
- package/dist/types/NumberField.vue.d.ts +4 -4
- package/dist/types/RadioGroup.vue.d.ts +3 -3
- package/dist/types/Select.vue.d.ts +3 -3
- package/dist/types/SelectGroup.d.ts +2 -2
- package/dist/types/SelectRoot.vue.d.ts +6 -0
- package/dist/types/SelectionValidation.vue.d.ts +2 -2
- package/dist/types/Switch.vue.d.ts +25 -4
- package/dist/types/SwitchGroup.vue.d.ts +21 -0
- package/dist/types/SwitchRoot.vue.d.ts +37 -0
- package/dist/types/Tabs.vue.d.ts +5 -3
- package/dist/types/TabsRoot.vue.d.ts +32 -0
- package/dist/types/TemporalField.vue.d.ts +20 -0
- package/dist/types/TemporalPanel.vue.d.ts +3 -0
- package/dist/types/TemporalPicker.vue.d.ts +52 -0
- package/dist/types/TemporalRangeField.vue.d.ts +21 -0
- package/dist/types/Textarea.vue.d.ts +4 -4
- package/dist/types/TimeControls.vue.d.ts +20 -0
- package/dist/types/Toast.vue.d.ts +1 -1
- package/dist/types/ToastProvider.vue.d.ts +1 -1
- package/dist/types/ToggleButton.vue.d.ts +2 -2
- package/dist/types/ToggleButtonGroup.vue.d.ts +1 -0
- package/dist/types/avatar-context.d.ts +19 -0
- package/dist/types/button-family-context.d.ts +1 -0
- package/dist/types/card-context.d.ts +2 -0
- package/dist/types/card-types.d.ts +12 -0
- package/dist/types/composition.d.ts +11 -17
- package/dist/types/date-range-model.d.ts +3 -1
- package/dist/types/index.d.ts +25 -1
- package/dist/types/switch-context.d.ts +9 -0
- package/dist/types/temporal-components.d.ts +855 -0
- package/dist/types/temporal-context.d.ts +32 -0
- package/dist/types/temporal-model.d.ts +44 -0
- package/dist/types/temporal-parts.d.ts +53 -0
- package/dist/types/temporal-types.d.ts +56 -0
- package/dist/types/toggle-group-model.d.ts +1 -1
- package/dist/types/types.d.ts +6 -6
- package/dist/types/visual.d.ts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { InjectionKey, Ref } from 'vue';
|
|
2
|
+
import type { AvatarVariant, ComponentSize, ImageLoadingStatus, Tone } from './visual.js';
|
|
3
|
+
export interface AvatarStyles {
|
|
4
|
+
root?: string;
|
|
5
|
+
image?: string;
|
|
6
|
+
fallback?: string;
|
|
7
|
+
badge?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const avatarGroupKey: InjectionKey<{
|
|
10
|
+
size: Readonly<Ref<ComponentSize>>;
|
|
11
|
+
tone: Readonly<Ref<Tone>>;
|
|
12
|
+
variant: Readonly<Ref<AvatarVariant>>;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const avatarKey: InjectionKey<{
|
|
15
|
+
status: Ref<ImageLoadingStatus>;
|
|
16
|
+
size: Readonly<Ref<ComponentSize>>;
|
|
17
|
+
classNames: Readonly<Ref<AvatarStyles | undefined>>;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const badgeAnchorKey: InjectionKey<boolean>;
|
|
@@ -2,6 +2,7 @@ import type { ComputedRef, InjectionKey } from 'vue';
|
|
|
2
2
|
import type { ButtonSize } from './types.js';
|
|
3
3
|
export declare const toggleButtonGroupKey: InjectionKey<ComputedRef<{
|
|
4
4
|
size: ButtonSize;
|
|
5
|
+
variant?: 'default' | 'ghost' | 'chip';
|
|
5
6
|
radio: boolean;
|
|
6
7
|
selectedIds: string[];
|
|
7
8
|
disabled: boolean;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
export interface CardInteractionProps extends /* @vue-ignore */ HTMLAttributes {
|
|
3
|
+
density?: 'default' | 'compact';
|
|
4
|
+
href?: string;
|
|
5
|
+
target?: string;
|
|
6
|
+
rel?: string;
|
|
7
|
+
onPress?: () => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
actionLabel?: string;
|
|
10
|
+
actionLabelledBy?: string;
|
|
11
|
+
actionClassName?: string;
|
|
12
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import ToastCompact from './Toast.vue.js';
|
|
2
|
+
export { default as InputClearButton } from './InputClearButton.vue.js';
|
|
2
3
|
import * as Reka from 'reka-ui';
|
|
3
4
|
export { default as SelectValue } from './SelectValue.vue.js';
|
|
4
5
|
export declare const SelectIndicator: typeof Reka.SelectIcon;
|
|
@@ -8,7 +9,7 @@ export declare const SelectItemText: typeof Reka.SelectItemText;
|
|
|
8
9
|
export declare const SelectItemIndicator: typeof Reka.SelectItemIndicator;
|
|
9
10
|
export declare const SelectSection: typeof Reka.SelectGroup;
|
|
10
11
|
export declare const SelectSectionLabel: typeof Reka.SelectLabel;
|
|
11
|
-
export
|
|
12
|
+
export { default as TabsRoot } from './TabsRoot.vue.js';
|
|
12
13
|
export declare const TabsList: typeof Reka.TabsList;
|
|
13
14
|
export declare const TabsTab: typeof Reka.TabsTrigger;
|
|
14
15
|
export declare const TabsPanel: typeof Reka.TabsContent;
|
|
@@ -21,7 +22,10 @@ export declare const ListboxSection: typeof Reka.ListboxGroup;
|
|
|
21
22
|
export declare const ListboxSectionLabel: typeof Reka.ListboxGroupLabel;
|
|
22
23
|
export declare const CheckboxRoot: typeof Reka.CheckboxRoot;
|
|
23
24
|
export { default as CheckboxIndicator } from './CheckboxIndicator.vue.js';
|
|
24
|
-
export
|
|
25
|
+
export { default as SwitchRoot } from './SwitchRoot.vue.js';
|
|
26
|
+
export declare const SwitchControl: import("./composition-factory.js").ContentPart<import("vue").HTMLAttributes & {
|
|
27
|
+
as?: string;
|
|
28
|
+
}>;
|
|
25
29
|
export declare const SwitchThumb: typeof Reka.SwitchThumb;
|
|
26
30
|
export declare const RadioGroupRoot: typeof Reka.RadioGroupRoot;
|
|
27
31
|
export declare const RadioGroupItem: typeof Reka.RadioGroupItem;
|
|
@@ -79,27 +83,19 @@ export declare const ToastDescription: typeof Reka.ToastDescription;
|
|
|
79
83
|
export { default as ToastCloseButton } from './ToastCloseButton.vue.js';
|
|
80
84
|
export { default as ToastActionButton } from './ToastActionButton.vue.js';
|
|
81
85
|
export declare const ToastViewport: typeof Reka.ToastViewport;
|
|
82
|
-
export
|
|
83
|
-
|
|
84
|
-
}>;
|
|
85
|
-
export declare const CardHeader: import("./composition-factory.js").ContentPart<import("vue").HTMLAttributes & {
|
|
86
|
-
as?: string;
|
|
87
|
-
}>;
|
|
86
|
+
export { default as CardRoot } from './CardRoot.vue.js';
|
|
87
|
+
export { default as CardHeader } from './CardHeader.vue.js';
|
|
88
88
|
export declare const CardHeading: import("./composition-factory.js").ContentPart<import("vue").HTMLAttributes & {
|
|
89
89
|
as?: string;
|
|
90
90
|
}>;
|
|
91
|
-
export
|
|
92
|
-
as?: string;
|
|
93
|
-
}>;
|
|
91
|
+
export { default as CardTitle } from './CardTitle.vue.js';
|
|
94
92
|
export declare const CardDescription: import("./composition-factory.js").ContentPart<import("vue").HTMLAttributes & {
|
|
95
93
|
as?: string;
|
|
96
94
|
}>;
|
|
97
95
|
export declare const CardContent: import("./composition-factory.js").ContentPart<import("vue").HTMLAttributes & {
|
|
98
96
|
as?: string;
|
|
99
97
|
}>;
|
|
100
|
-
export
|
|
101
|
-
as?: string;
|
|
102
|
-
}>;
|
|
98
|
+
export { default as CardFooter } from './CardFooter.vue.js';
|
|
103
99
|
export declare const CardActions: import("./composition-factory.js").ContentPart<import("vue").HTMLAttributes & {
|
|
104
100
|
as?: string;
|
|
105
101
|
}>;
|
|
@@ -278,9 +274,7 @@ export declare const ChartDescription: import("./composition-factory.js").Conten
|
|
|
278
274
|
export declare const BadgeLabel: import("./composition-factory.js").ContentPart<import("vue").HTMLAttributes & {
|
|
279
275
|
as?: string;
|
|
280
276
|
}>;
|
|
281
|
-
export
|
|
282
|
-
as?: string;
|
|
283
|
-
}>;
|
|
277
|
+
export { default as BadgeAnchor } from './BadgeAnchor.vue.js';
|
|
284
278
|
export declare const DialogRoot: {
|
|
285
279
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Reka.DialogRootProps> & Readonly<{
|
|
286
280
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
@@ -27,7 +27,9 @@ export interface DateRangeOptions extends DateRangeConstraints {
|
|
|
27
27
|
dir?: 'ltr' | 'rtl';
|
|
28
28
|
visibleMonths?: 1 | 2;
|
|
29
29
|
weekStartsOn?: 0 | 1;
|
|
30
|
-
display?: 'popover' | 'inline';
|
|
30
|
+
display?: 'popover' | 'inline' | 'dialog' | 'auto';
|
|
31
|
+
commitMode?: 'apply' | 'immediate';
|
|
32
|
+
showActions?: boolean;
|
|
31
33
|
showInputs?: boolean;
|
|
32
34
|
showMonthYearPicker?: boolean;
|
|
33
35
|
triggerDisplay?: 'text' | 'icon';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export declare const Input: typeof InputCompact & {
|
|
|
31
31
|
Label: typeof Parts.InputLabel;
|
|
32
32
|
Prefix: typeof Parts.InputPrefix;
|
|
33
33
|
Suffix: typeof Parts.InputSuffix;
|
|
34
|
+
ClearButton: typeof Parts.InputClearButton;
|
|
34
35
|
};
|
|
35
36
|
export type { ButtonSize, ButtonVariant, SelectOption, InputSize, InputType } from './types.js';
|
|
36
37
|
export type { InputVariant, InputMode, InputEnterKeyHint } from './types.js';
|
|
@@ -57,6 +58,7 @@ export declare const RadioGroup: typeof RadioGroupCompact & {
|
|
|
57
58
|
import SwitchCompact from './Switch.vue.js';
|
|
58
59
|
export declare const Switch: typeof SwitchCompact & {
|
|
59
60
|
Root: typeof Parts.SwitchRoot;
|
|
61
|
+
Control: typeof Parts.SwitchControl;
|
|
60
62
|
Content: typeof Parts.SwitchContent;
|
|
61
63
|
Thumb: typeof Parts.SwitchThumb;
|
|
62
64
|
Icon: typeof Parts.SwitchIcon;
|
|
@@ -105,10 +107,26 @@ export declare const Card: typeof CardCompact & {
|
|
|
105
107
|
Actions: typeof Parts.CardActions;
|
|
106
108
|
};
|
|
107
109
|
import BadgeCompact from './Badge.vue.js';
|
|
110
|
+
import BadgeAnchorPart from './BadgeAnchor.vue.js';
|
|
108
111
|
export declare const Badge: typeof BadgeCompact & {
|
|
112
|
+
Root: typeof BadgeCompact;
|
|
109
113
|
Label: typeof Parts.BadgeLabel;
|
|
110
|
-
Anchor: typeof
|
|
114
|
+
Anchor: typeof BadgeAnchorPart;
|
|
111
115
|
};
|
|
116
|
+
import AvatarRoot from './Avatar.vue.js';
|
|
117
|
+
import AvatarImage from './AvatarImage.vue.js';
|
|
118
|
+
import AvatarFallback from './AvatarFallback.vue.js';
|
|
119
|
+
import AvatarBadge from './AvatarBadge.vue.js';
|
|
120
|
+
export declare const Avatar: typeof AvatarRoot & {
|
|
121
|
+
Root: typeof AvatarRoot;
|
|
122
|
+
Image: typeof AvatarImage;
|
|
123
|
+
Fallback: typeof AvatarFallback;
|
|
124
|
+
Badge: typeof AvatarBadge;
|
|
125
|
+
};
|
|
126
|
+
export { AvatarRoot, AvatarImage, AvatarFallback, AvatarBadge };
|
|
127
|
+
export { AvatarGroup, AvatarGroupRoot } from './AvatarGroup.js';
|
|
128
|
+
export { default as AvatarGroupCount } from './AvatarGroupCount.vue.js';
|
|
129
|
+
export type { Tone, ComponentSize, IndicatorPlacement, AvatarVariant, BadgeVariant, ImageLoadingStatus, } from './visual.js';
|
|
112
130
|
export { default as Skeleton } from './Skeleton.vue.js';
|
|
113
131
|
export { default as Separator } from './Separator.vue.js';
|
|
114
132
|
export type { BadgeTone } from './types.js';
|
|
@@ -329,6 +347,9 @@ export { createDateRangePresets } from './date-range-model.js';
|
|
|
329
347
|
export { rangeText as formatDateRange } from './date-range-model.js';
|
|
330
348
|
export type { DateRange, DateRangePreset, DateRangeLabels, DateRangeSize, DateRangeVariant, } from './date-range-model.js';
|
|
331
349
|
export * from './composition.js';
|
|
350
|
+
export { DatePicker, TimePicker, TimeRangePicker, DateTimePicker, DateTimeRangePicker, DateField, TimeField, DateTimeField, DateRangeField, TimeRangeField, DateTimeRangeField, Calendar, RangeCalendar, MonthPicker, YearPicker, MonthYearNavigation, TimeList, TimeClock, } from './temporal-components.js';
|
|
351
|
+
export type { TemporalPickerProps, TemporalOptions, TemporalPreset, TemporalValue, TemporalFieldOptions, } from './temporal-types.js';
|
|
352
|
+
export type { TemporalConstraints, TemporalKind, TemporalRange, TemporalError, } from './temporal-model.js';
|
|
332
353
|
export type { StylingProps } from './styling.js';
|
|
333
354
|
/** Casing alias for consumers familiar with HeroUI ListBox. */
|
|
334
355
|
import CompositionListBox from './CompositionListBox.vue.js';
|
|
@@ -341,3 +362,6 @@ export declare const ListBox: typeof CompositionListBox & {
|
|
|
341
362
|
ItemIndicator: typeof CompositionListBoxItemIndicator;
|
|
342
363
|
Section: typeof CompositionListBoxSection;
|
|
343
364
|
};
|
|
365
|
+
export { default as SwitchGroup } from './SwitchGroup.vue.js';
|
|
366
|
+
export type { SwitchVisualProps } from './switch-context.js';
|
|
367
|
+
export type { CardInteractionProps } from './card-types.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ComponentSize, Tone } from './visual.js';
|
|
2
|
+
import type { ComputedRef, InjectionKey } from 'vue';
|
|
3
|
+
export interface SwitchVisualProps {
|
|
4
|
+
size?: ComponentSize;
|
|
5
|
+
tone?: Tone;
|
|
6
|
+
variant?: 'default' | 'outline';
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const switchGroupKey: InjectionKey<ComputedRef<SwitchVisualProps>>;
|