@vireo-ai/trellis-ui 0.1.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/LICENSE +21 -0
- package/README.md +1 -0
- package/package.json +84 -0
- package/src/theme.css +536 -0
- package/trellis_ui/static/trellis_ui/css/styles.css +4382 -0
- package/trellis_ui/static/trellis_ui/js/esm/chunks/cally-TZl4LpyH.js +1134 -0
- package/trellis_ui/static/trellis_ui/js/esm/chunks/cally-TZl4LpyH.js.map +1 -0
- package/trellis_ui/static/trellis_ui/js/esm/chunks/dist-DMX3Q5Zu.js +551 -0
- package/trellis_ui/static/trellis_ui/js/esm/chunks/dist-DMX3Q5Zu.js.map +1 -0
- package/trellis_ui/static/trellis_ui/js/esm/index.js +14181 -0
- package/trellis_ui/static/trellis_ui/js/esm/index.js.map +1 -0
- package/trellis_ui/static/trellis_ui/js/index.js +10 -0
- package/types/bindings/disclosure.d.ts +3 -0
- package/types/bindings/index.d.ts +7 -0
- package/types/bindings/motion.d.ts +3 -0
- package/types/bindings/state.d.ts +3 -0
- package/types/bindings/types.d.ts +35 -0
- package/types/components/accordion/contract.d.ts +29 -0
- package/types/components/accordion/index.d.ts +44 -0
- package/types/components/action/contract.d.ts +14 -0
- package/types/components/action/index.d.ts +2 -0
- package/types/components/app/contract.d.ts +29 -0
- package/types/components/app/index.d.ts +2 -0
- package/types/components/badge/contract.d.ts +42 -0
- package/types/components/badge/index.d.ts +0 -0
- package/types/components/box/contract.d.ts +44 -0
- package/types/components/box/index.d.ts +2 -0
- package/types/components/brand/contract.d.ts +18 -0
- package/types/components/brand/index.d.ts +0 -0
- package/types/components/button/contract.d.ts +34 -0
- package/types/components/button/index.d.ts +3 -0
- package/types/components/card/contract.d.ts +56 -0
- package/types/components/card/index.d.ts +0 -0
- package/types/components/checkbox/contract.d.ts +85 -0
- package/types/components/checkbox/index.d.ts +34 -0
- package/types/components/combobox/contract.d.ts +57 -0
- package/types/components/combobox/index.d.ts +74 -0
- package/types/components/common.d.ts +61 -0
- package/types/components/date-picker/contract.d.ts +86 -0
- package/types/components/date-picker/index.d.ts +70 -0
- package/types/components/dropdown/contract.d.ts +18 -0
- package/types/components/dropdown/index.d.ts +53 -0
- package/types/components/field/contract.d.ts +67 -0
- package/types/components/field/index.d.ts +11 -0
- package/types/components/file-upload/contract.d.ts +60 -0
- package/types/components/file-upload/index.d.ts +35 -0
- package/types/components/frame/contract.d.ts +60 -0
- package/types/components/frame/index.d.ts +2 -0
- package/types/components/heading/contract.d.ts +8 -0
- package/types/components/heading/index.d.ts +0 -0
- package/types/components/image/contract.d.ts +19 -0
- package/types/components/image/index.d.ts +1 -0
- package/types/components/index.d.ts +1 -0
- package/types/components/input/contract.d.ts +49 -0
- package/types/components/input/index.d.ts +17 -0
- package/types/components/menu/contract.d.ts +34 -0
- package/types/components/menu/index.d.ts +0 -0
- package/types/components/modal/contract.d.ts +56 -0
- package/types/components/modal/index.d.ts +85 -0
- package/types/components/overlay/contract.d.ts +13 -0
- package/types/components/overlay/index.d.ts +0 -0
- package/types/components/radio/contract.d.ts +55 -0
- package/types/components/radio/index.d.ts +28 -0
- package/types/components/runtime.d.ts +35 -0
- package/types/components/scroll-area/contract.d.ts +23 -0
- package/types/components/scroll-area/index.d.ts +68 -0
- package/types/components/select/contract.d.ts +90 -0
- package/types/components/select/index.d.ts +92 -0
- package/types/components/separator/contract.d.ts +7 -0
- package/types/components/separator/index.d.ts +0 -0
- package/types/components/sidebar/contract.d.ts +66 -0
- package/types/components/sidebar/index.d.ts +106 -0
- package/types/components/slider/contract.d.ts +56 -0
- package/types/components/slider/index.d.ts +40 -0
- package/types/components/spacer/index.d.ts +0 -0
- package/types/components/stream/index.d.ts +0 -0
- package/types/components/switch/contract.d.ts +57 -0
- package/types/components/switch/index.d.ts +24 -0
- package/types/components/table/contract.d.ts +99 -0
- package/types/components/table/index.d.ts +2 -0
- package/types/components/tabs/contract.d.ts +25 -0
- package/types/components/tabs/index.d.ts +60 -0
- package/types/components/text/contract.d.ts +10 -0
- package/types/components/text/index.d.ts +0 -0
- package/types/components/textarea/contract.d.ts +22 -0
- package/types/components/textarea/index.d.ts +0 -0
- package/types/components/theme/contract.d.ts +6 -0
- package/types/components/theme/index.d.ts +0 -0
- package/types/components/toast/contract.d.ts +28 -0
- package/types/components/toast/index.d.ts +27 -0
- package/types/index.d.ts +46 -0
- package/types/motion/animate.d.ts +49 -0
- package/types/motion/index.d.ts +24 -0
- package/types/motion/presence.d.ts +34 -0
- package/types/motion/reduced-motion.d.ts +9 -0
- package/types/motion/stream.d.ts +18 -0
- package/types/motion/targets.d.ts +31 -0
- package/types/motion/view.d.ts +22 -0
- package/types/runtime/anchored-popover.d.ts +20 -0
- package/types/runtime/class-name.d.ts +9 -0
- package/types/runtime/codecs.d.ts +66 -0
- package/types/runtime/collection-navigation.d.ts +33 -0
- package/types/runtime/confirm.d.ts +18 -0
- package/types/runtime/create.d.ts +8 -0
- package/types/runtime/dismissable-layer.d.ts +8 -0
- package/types/runtime/dom.d.ts +39 -0
- package/types/runtime/form-control.d.ts +44 -0
- package/types/runtime/index.d.ts +85 -0
- package/types/runtime/manifest.d.ts +49 -0
- package/types/runtime/option-data.d.ts +5 -0
- package/types/runtime/props.d.ts +9 -0
- package/types/runtime/resizable.d.ts +36 -0
- package/types/runtime/scroll-lock.d.ts +3 -0
- package/types/runtime/stream.d.ts +47 -0
- package/types/runtime/styles.d.ts +28 -0
- package/types/runtime/theme.d.ts +17 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './runtime';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type PropState } from '../../runtime';
|
|
2
|
+
import { type ControlSize, type ControlVariant, type IconVariant } from '../common';
|
|
3
|
+
declare const INPUT_SIZES: readonly ["xs", "sm", "md", "lg", "xlg"];
|
|
4
|
+
declare const INPUT_VARIANTS: readonly ["outline", "filled"];
|
|
5
|
+
declare const INPUT_ICON_VARIANTS: readonly ["outline", "solid", "mini", "micro"];
|
|
6
|
+
type InputSize = ControlSize;
|
|
7
|
+
type InputVariant = ControlVariant;
|
|
8
|
+
type InputIconVariant = IconVariant;
|
|
9
|
+
declare const inputSchema: {
|
|
10
|
+
type: import("../../runtime/codecs").StringCodec;
|
|
11
|
+
name: import("../../runtime/codecs").StringCodec;
|
|
12
|
+
value: import("../../runtime/codecs").StringCodec;
|
|
13
|
+
placeholder: import("../../runtime/codecs").StringCodec;
|
|
14
|
+
size: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "xlg">;
|
|
15
|
+
variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
|
|
16
|
+
disabled: import("../../runtime/codecs").BoolCodec;
|
|
17
|
+
readonly: import("../../runtime/codecs").BoolCodec;
|
|
18
|
+
required: import("../../runtime/codecs").BoolCodec;
|
|
19
|
+
invalid: import("../../runtime/codecs").BoolCodec;
|
|
20
|
+
icon: import("../../runtime/codecs").StringCodec;
|
|
21
|
+
iconTrailing: import("../../runtime/codecs").StringCodec;
|
|
22
|
+
iconVariant: import("../../runtime/codecs").OneOfCodec<"outline" | "solid" | "mini" | "micro">;
|
|
23
|
+
clearable: import("../../runtime/codecs").BoolCodec;
|
|
24
|
+
copyable: import("../../runtime/codecs").BoolCodec;
|
|
25
|
+
kbd: import("../../runtime/codecs").StringCodec;
|
|
26
|
+
prefix: import("../../runtime/codecs").StringCodec;
|
|
27
|
+
suffix: import("../../runtime/codecs").StringCodec;
|
|
28
|
+
rootClass: import("../../runtime/codecs").StringCodec;
|
|
29
|
+
controlClass: import("../../runtime/codecs").StringCodec;
|
|
30
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
31
|
+
};
|
|
32
|
+
declare const inputGroupSchema: {
|
|
33
|
+
size: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "xlg">;
|
|
34
|
+
variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
|
|
35
|
+
label: import("../../runtime/codecs").StringCodec;
|
|
36
|
+
description: import("../../runtime/codecs").StringCodec;
|
|
37
|
+
descriptionTrailing: import("../../runtime/codecs").StringCodec;
|
|
38
|
+
error: import("../../runtime/codecs").StringCodec;
|
|
39
|
+
errors: import("../../runtime/codecs").StringCodec;
|
|
40
|
+
badge: import("../../runtime/codecs").StringCodec;
|
|
41
|
+
fieldClass: import("../../runtime/codecs").StringCodec;
|
|
42
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
43
|
+
};
|
|
44
|
+
declare const inputAffixSchema: {
|
|
45
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
46
|
+
};
|
|
47
|
+
type InputProps = PropState<typeof inputSchema>;
|
|
48
|
+
export { INPUT_ICON_VARIANTS, INPUT_SIZES, INPUT_VARIANTS, inputAffixSchema, inputGroupSchema, inputSchema };
|
|
49
|
+
export type { InputIconVariant, InputProps, InputSize, InputVariant };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type Alpine from 'alpinejs';
|
|
2
|
+
import { type CleanupStack, type TrellisAlpineComponent } from '../../runtime';
|
|
3
|
+
import { type InputProps } from './contract';
|
|
4
|
+
type InputData = {
|
|
5
|
+
props: InputProps;
|
|
6
|
+
listeners: CleanupStack;
|
|
7
|
+
copiedTimer: number | null;
|
|
8
|
+
input(): HTMLInputElement;
|
|
9
|
+
root(): HTMLElement;
|
|
10
|
+
sync(): void;
|
|
11
|
+
clear(event?: Event): void;
|
|
12
|
+
copy(event?: Event): Promise<void>;
|
|
13
|
+
};
|
|
14
|
+
declare const UiInput: () => TrellisAlpineComponent<InputData>;
|
|
15
|
+
declare const registerInput: (AlpineInstance: Alpine.Alpine) => void;
|
|
16
|
+
export { registerInput, UiInput };
|
|
17
|
+
export type { InputData };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type PropState } from '../../runtime';
|
|
2
|
+
import { BUTTON_TYPES, type CommonButtonType, type IconVariant } from '../common';
|
|
3
|
+
declare const MENU_ITEM_VARIANTS: readonly ["default", "subtle", "filled", "ghost"];
|
|
4
|
+
declare const MENU_ITEM_COLORS: readonly ["neutral", "accent", "success", "warning", "danger"];
|
|
5
|
+
declare const MENU_ITEM_AS_VALUES: readonly ["button", "a"];
|
|
6
|
+
declare const MENU_ICON_VARIANTS: readonly ["outline", "solid", "mini", "micro"];
|
|
7
|
+
declare const menuSchema: {
|
|
8
|
+
keepOpen: import("../../runtime/codecs").BoolCodec;
|
|
9
|
+
loop: import("../../runtime/codecs").BoolCodec;
|
|
10
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
11
|
+
};
|
|
12
|
+
declare const menuItemSchema: {
|
|
13
|
+
as: import("../../runtime/codecs").OneOfCodec<"button" | "a">;
|
|
14
|
+
variant: import("../../runtime/codecs").OneOfCodec<"default" | "filled" | "subtle" | "ghost">;
|
|
15
|
+
color: import("../../runtime/codecs").OneOfCodec<"neutral" | "accent" | "success" | "warning" | "danger">;
|
|
16
|
+
type: import("../../runtime/codecs").OneOfCodec<"reset" | "submit" | "button">;
|
|
17
|
+
disabled: import("../../runtime/codecs").BoolCodec;
|
|
18
|
+
keepOpen: import("../../runtime/codecs").BoolCodec;
|
|
19
|
+
icon: import("../../runtime/codecs").StringCodec;
|
|
20
|
+
iconTrailing: import("../../runtime/codecs").StringCodec;
|
|
21
|
+
iconVariant: import("../../runtime/codecs").OneOfCodec<"outline" | "solid" | "mini" | "micro">;
|
|
22
|
+
kbd: import("../../runtime/codecs").StringCodec;
|
|
23
|
+
suffix: import("../../runtime/codecs").StringCodec;
|
|
24
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
25
|
+
};
|
|
26
|
+
type MenuProps = PropState<typeof menuSchema>;
|
|
27
|
+
type MenuItemProps = PropState<typeof menuItemSchema>;
|
|
28
|
+
type MenuItemAs = typeof MENU_ITEM_AS_VALUES[number];
|
|
29
|
+
type MenuItemType = CommonButtonType;
|
|
30
|
+
type MenuItemVariant = typeof MENU_ITEM_VARIANTS[number];
|
|
31
|
+
type MenuItemColor = typeof MENU_ITEM_COLORS[number];
|
|
32
|
+
type MenuIconVariant = IconVariant;
|
|
33
|
+
export { MENU_ICON_VARIANTS, MENU_ITEM_AS_VALUES, MENU_ITEM_COLORS, MENU_ITEM_VARIANTS, BUTTON_TYPES, menuItemSchema, menuSchema, };
|
|
34
|
+
export type { MenuIconVariant, MenuItemAs, MenuItemColor, MenuItemProps, MenuItemType, MenuItemVariant, MenuProps };
|
|
File without changes
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type PropState } from '../../runtime';
|
|
2
|
+
import { type EdgePosition, type HeadingLevel } from '../common';
|
|
3
|
+
declare const MODAL_MODES: readonly ["modal", "sheet", "drawer", "flyout", "floating"];
|
|
4
|
+
declare const MODAL_SIDES: readonly ["top", "right", "bottom", "left"];
|
|
5
|
+
declare const MODAL_SIZES: readonly ["sm", "md", "lg", "xl", "full"];
|
|
6
|
+
declare const MODAL_TITLE_AS_VALUES: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
7
|
+
type ModalMode = typeof MODAL_MODES[number];
|
|
8
|
+
type ModalSide = EdgePosition;
|
|
9
|
+
type ModalSize = typeof MODAL_SIZES[number];
|
|
10
|
+
type ModalTitleAs = HeadingLevel;
|
|
11
|
+
declare const modalSchema: {
|
|
12
|
+
name: import("../../runtime/codecs").StringCodec;
|
|
13
|
+
open: import("../../runtime/codecs").BoolCodec;
|
|
14
|
+
mode: import("../../runtime/codecs").OneOfCodec<"modal" | "floating" | "sheet" | "drawer" | "flyout">;
|
|
15
|
+
side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
|
|
16
|
+
size: import("../../runtime/codecs").OneOfCodec<"sm" | "md" | "lg" | "xl" | "full">;
|
|
17
|
+
dismissible: import("../../runtime/codecs").BoolCodec;
|
|
18
|
+
closable: import("../../runtime/codecs").BoolCodec;
|
|
19
|
+
disabled: import("../../runtime/codecs").BoolCodec;
|
|
20
|
+
autofocusTitle: import("../../runtime/codecs").BoolCodec;
|
|
21
|
+
label: import("../../runtime/codecs").StringCodec;
|
|
22
|
+
descriptionId: import("../../runtime/codecs").StringCodec;
|
|
23
|
+
panelClass: import("../../runtime/codecs").StringCodec;
|
|
24
|
+
overlayClass: import("../../runtime/codecs").StringCodec;
|
|
25
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
26
|
+
};
|
|
27
|
+
declare const modalTriggerSchema: {
|
|
28
|
+
name: import("../../runtime/codecs").StringCodec;
|
|
29
|
+
disabled: import("../../runtime/codecs").BoolCodec;
|
|
30
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
31
|
+
};
|
|
32
|
+
declare const modalOutletSchema: {
|
|
33
|
+
id: import("../../runtime/codecs").StringCodec;
|
|
34
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
35
|
+
};
|
|
36
|
+
declare const modalTitleSchema: {
|
|
37
|
+
as: import("../../runtime/codecs").OneOfCodec<"h1" | "h2" | "h3" | "h4" | "h5" | "h6">;
|
|
38
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
39
|
+
};
|
|
40
|
+
declare const modalDescriptionSchema: {
|
|
41
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
42
|
+
};
|
|
43
|
+
declare const modalBodySchema: {
|
|
44
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
45
|
+
};
|
|
46
|
+
declare const modalFooterSchema: {
|
|
47
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
48
|
+
};
|
|
49
|
+
declare const modalCloseSchema: {
|
|
50
|
+
label: import("../../runtime/codecs").StringCodec;
|
|
51
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
52
|
+
};
|
|
53
|
+
type ModalProps = PropState<typeof modalSchema>;
|
|
54
|
+
type ModalTriggerProps = PropState<typeof modalTriggerSchema>;
|
|
55
|
+
export { MODAL_SIDES, MODAL_SIZES, MODAL_TITLE_AS_VALUES, MODAL_MODES, modalBodySchema, modalCloseSchema, modalDescriptionSchema, modalFooterSchema, modalOutletSchema, modalSchema, modalTitleSchema, modalTriggerSchema, };
|
|
56
|
+
export type { ModalSide, ModalProps, ModalSize, ModalTitleAs, ModalTriggerProps, ModalMode, };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type Alpine from 'alpinejs';
|
|
2
|
+
import { type BindingObject, type CleanupStack, type TrellisAlpineComponent } from '../../runtime';
|
|
3
|
+
import type { PresenceLifecycle } from '../../motion';
|
|
4
|
+
import { type ModalProps, type ModalTriggerProps } from './contract';
|
|
5
|
+
type CancelReason = 'escape' | 'outside';
|
|
6
|
+
type ModalCancelDetail = {
|
|
7
|
+
reason: CancelReason;
|
|
8
|
+
};
|
|
9
|
+
type ModalController = {
|
|
10
|
+
readonly name: string;
|
|
11
|
+
readonly isOpen: boolean;
|
|
12
|
+
readonly dialogId: string;
|
|
13
|
+
openFrom(trigger: HTMLElement): void;
|
|
14
|
+
close(event?: Event): void;
|
|
15
|
+
syncExternalTrigger(trigger: HTMLElement, disabled: boolean): void;
|
|
16
|
+
};
|
|
17
|
+
type ModalTriggerController = {
|
|
18
|
+
readonly name: string;
|
|
19
|
+
readonly target: HTMLElement;
|
|
20
|
+
sync(): void;
|
|
21
|
+
};
|
|
22
|
+
type ModalData = ModalController & {
|
|
23
|
+
props: ModalProps;
|
|
24
|
+
isOpen: boolean;
|
|
25
|
+
dialogId: string;
|
|
26
|
+
activeTrigger: HTMLElement | null;
|
|
27
|
+
cleanup: CleanupStack;
|
|
28
|
+
localTriggerCleanup: CleanupStack;
|
|
29
|
+
isRegistered: boolean;
|
|
30
|
+
didShowModal: boolean;
|
|
31
|
+
hasScrollLock: boolean;
|
|
32
|
+
modalMotionRun: number;
|
|
33
|
+
overlayMotion: PresenceLifecycle | null;
|
|
34
|
+
panelMotion: PresenceLifecycle | null;
|
|
35
|
+
root: BindingObject;
|
|
36
|
+
dialogEl(): HTMLDialogElement;
|
|
37
|
+
viewportEl(): HTMLElement;
|
|
38
|
+
overlayEl(): HTMLElement;
|
|
39
|
+
panelEl(): HTMLElement;
|
|
40
|
+
titleEl(): HTMLElement | null;
|
|
41
|
+
descriptionEl(): HTMLElement | null;
|
|
42
|
+
closeEls(): HTMLElement[];
|
|
43
|
+
localTriggerEl(): HTMLElement | null;
|
|
44
|
+
triggerTarget(trigger: HTMLElement): HTMLElement;
|
|
45
|
+
focusableEls(): HTMLElement[];
|
|
46
|
+
firstAutofocusEl(): HTMLElement | null;
|
|
47
|
+
mountLocalTrigger(): void;
|
|
48
|
+
setupLocalTrigger(trigger: HTMLElement): void;
|
|
49
|
+
setupDialog(): void;
|
|
50
|
+
register(): void;
|
|
51
|
+
unregister(): void;
|
|
52
|
+
open(event?: Event): void;
|
|
53
|
+
openFrom(trigger: HTMLElement): void;
|
|
54
|
+
close(event?: Event): void;
|
|
55
|
+
cancel(reason: CancelReason, event?: Event): void;
|
|
56
|
+
syncExternalTrigger(trigger: HTMLElement, disabled: boolean): void;
|
|
57
|
+
syncAll(): void;
|
|
58
|
+
syncDialog(): void;
|
|
59
|
+
syncLocalTrigger(): void;
|
|
60
|
+
syncNamedTriggers(): void;
|
|
61
|
+
applyOpenState(): void;
|
|
62
|
+
applyClosedState(): void;
|
|
63
|
+
finishClosedState(run: number): void;
|
|
64
|
+
focusInitial(): void;
|
|
65
|
+
restoreFocus(): void;
|
|
66
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
67
|
+
trapFocus(event: KeyboardEvent): void;
|
|
68
|
+
teardownLocalTrigger(): void;
|
|
69
|
+
teardown(): void;
|
|
70
|
+
};
|
|
71
|
+
type ModalTriggerData = ModalTriggerController & {
|
|
72
|
+
props: ModalTriggerProps;
|
|
73
|
+
target: HTMLElement;
|
|
74
|
+
cleanup: CleanupStack;
|
|
75
|
+
root: BindingObject;
|
|
76
|
+
sync(): void;
|
|
77
|
+
modal(): ModalController | null;
|
|
78
|
+
open(event?: Event): void;
|
|
79
|
+
targetEl(): HTMLElement;
|
|
80
|
+
};
|
|
81
|
+
declare const UiModal: () => TrellisAlpineComponent<ModalData>;
|
|
82
|
+
declare const UiModalTrigger: () => TrellisAlpineComponent<ModalTriggerData>;
|
|
83
|
+
declare const registerModal: (AlpineInstance: Alpine.Alpine) => void;
|
|
84
|
+
export { registerModal, UiModal, UiModalTrigger, };
|
|
85
|
+
export type { ModalCancelDetail, ModalData, ModalTriggerData };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type PropState } from '../../runtime';
|
|
2
|
+
declare const overlaySchema: {
|
|
3
|
+
href: import("../../runtime/codecs").StringCodec;
|
|
4
|
+
label: import("../../runtime/codecs").StringCodec;
|
|
5
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
6
|
+
};
|
|
7
|
+
declare const overlayAboveSchema: {
|
|
8
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
9
|
+
};
|
|
10
|
+
type OverlayProps = PropState<typeof overlaySchema>;
|
|
11
|
+
type OverlayAboveProps = PropState<typeof overlayAboveSchema>;
|
|
12
|
+
export { overlayAboveSchema, overlaySchema, };
|
|
13
|
+
export type { OverlayAboveProps, OverlayProps, };
|
|
File without changes
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type PropState } from '../../runtime';
|
|
2
|
+
import { type ControlSize, type IndicatorPlacement, type Orientation } from '../common';
|
|
3
|
+
declare const RADIO_GROUP_ORIENTATIONS: readonly ["vertical", "horizontal"];
|
|
4
|
+
declare const RADIO_GROUP_VARIANTS: readonly ["default", "cards", "pills"];
|
|
5
|
+
declare const RADIO_PLACEMENTS: readonly ["leading", "trailing", "center", "top-leading", "top-trailing", "bottom-leading", "bottom-trailing"];
|
|
6
|
+
declare const RADIO_SIZES: readonly ["xs", "sm", "md", "lg", "xlg"];
|
|
7
|
+
declare const RADIO_VARIANTS: readonly ["default", "cards", "pills"];
|
|
8
|
+
type RadioGroupOrientation = Orientation;
|
|
9
|
+
type RadioGroupVariant = typeof RADIO_GROUP_VARIANTS[number];
|
|
10
|
+
type RadioPlacement = IndicatorPlacement;
|
|
11
|
+
type RadioSize = ControlSize;
|
|
12
|
+
type RadioVariant = typeof RADIO_VARIANTS[number];
|
|
13
|
+
declare const radioGroupSchema: {
|
|
14
|
+
name: import("../../runtime/codecs").StringCodec;
|
|
15
|
+
value: import("../../runtime/codecs").StringCodec;
|
|
16
|
+
orientation: import("../../runtime/codecs").OneOfCodec<"vertical" | "horizontal">;
|
|
17
|
+
variant: import("../../runtime/codecs").OneOfCodec<"default" | "cards" | "pills">;
|
|
18
|
+
indicator: import("../../runtime/codecs").BoolCodec;
|
|
19
|
+
placement: import("../../runtime/codecs").OneOfCodec<"center" | "leading" | "trailing" | "top-leading" | "top-trailing" | "bottom-leading" | "bottom-trailing">;
|
|
20
|
+
disabled: import("../../runtime/codecs").BoolCodec;
|
|
21
|
+
required: import("../../runtime/codecs").BoolCodec;
|
|
22
|
+
invalid: import("../../runtime/codecs").BoolCodec;
|
|
23
|
+
loop: import("../../runtime/codecs").BoolCodec;
|
|
24
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
25
|
+
};
|
|
26
|
+
declare const radioSchema: {
|
|
27
|
+
value: import("../../runtime/codecs").StringCodec;
|
|
28
|
+
name: import("../../runtime/codecs").StringCodec;
|
|
29
|
+
label: import("../../runtime/codecs").StringCodec;
|
|
30
|
+
description: import("../../runtime/codecs").StringCodec;
|
|
31
|
+
checked: import("../../runtime/codecs").BoolCodec;
|
|
32
|
+
disabled: import("../../runtime/codecs").BoolCodec;
|
|
33
|
+
required: import("../../runtime/codecs").BoolCodec;
|
|
34
|
+
invalid: import("../../runtime/codecs").BoolCodec;
|
|
35
|
+
indicator: import("../../runtime/codecs").BoolCodec;
|
|
36
|
+
placement: import("../../runtime/codecs").OneOfCodec<"center" | "leading" | "trailing" | "top-leading" | "top-trailing" | "bottom-leading" | "bottom-trailing">;
|
|
37
|
+
icon: import("../../runtime/codecs").StringCodec;
|
|
38
|
+
variant: import("../../runtime/codecs").OneOfCodec<"default" | "cards" | "pills">;
|
|
39
|
+
size: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "xlg">;
|
|
40
|
+
inputClass: import("../../runtime/codecs").StringCodec;
|
|
41
|
+
indicatorClass: import("../../runtime/codecs").StringCodec;
|
|
42
|
+
iconClass: import("../../runtime/codecs").StringCodec;
|
|
43
|
+
contentClass: import("../../runtime/codecs").StringCodec;
|
|
44
|
+
labelClass: import("../../runtime/codecs").StringCodec;
|
|
45
|
+
descriptionClass: import("../../runtime/codecs").StringCodec;
|
|
46
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
47
|
+
};
|
|
48
|
+
declare const radioIndicatorSchema: {
|
|
49
|
+
size: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "xlg">;
|
|
50
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
51
|
+
};
|
|
52
|
+
type RadioGroupProps = PropState<typeof radioGroupSchema>;
|
|
53
|
+
type RadioProps = PropState<typeof radioSchema>;
|
|
54
|
+
export { RADIO_GROUP_ORIENTATIONS, RADIO_GROUP_VARIANTS, RADIO_PLACEMENTS, RADIO_SIZES, RADIO_VARIANTS, radioGroupSchema, radioIndicatorSchema, radioSchema, };
|
|
55
|
+
export type { RadioGroupOrientation, RadioGroupProps, RadioGroupVariant, RadioPlacement, RadioProps, RadioSize, RadioVariant };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type Alpine from 'alpinejs';
|
|
2
|
+
import { type CleanupStack, type TrellisAlpineComponent } from '../../runtime';
|
|
3
|
+
import { type RadioGroupProps } from './contract';
|
|
4
|
+
type RadioItem = {
|
|
5
|
+
root: HTMLElement;
|
|
6
|
+
input: HTMLInputElement;
|
|
7
|
+
indicator: HTMLElement | null;
|
|
8
|
+
dot: HTMLElement | null;
|
|
9
|
+
value: string;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
};
|
|
12
|
+
type RadioGroupData = {
|
|
13
|
+
props: RadioGroupProps;
|
|
14
|
+
value: string;
|
|
15
|
+
listeners: CleanupStack;
|
|
16
|
+
observer: MutationObserver | null;
|
|
17
|
+
items(): RadioItem[];
|
|
18
|
+
enabledItems(): RadioItem[];
|
|
19
|
+
select(item: RadioItem, event?: Event): void;
|
|
20
|
+
move(from: RadioItem, delta: 1 | -1): void;
|
|
21
|
+
sync(): void;
|
|
22
|
+
syncItem(item: RadioItem): void;
|
|
23
|
+
handleKeydown(item: RadioItem, event: KeyboardEvent): void;
|
|
24
|
+
};
|
|
25
|
+
declare const UiRadioGroup: () => TrellisAlpineComponent<RadioGroupData>;
|
|
26
|
+
declare const registerRadio: (AlpineInstance: Alpine.Alpine) => void;
|
|
27
|
+
export { registerRadio, UiRadioGroup };
|
|
28
|
+
export type { RadioGroupData, RadioItem };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export { registerAccordion, UiAccordion } from './accordion';
|
|
2
|
+
export type { AccordionData, AccordionItem } from './accordion';
|
|
3
|
+
export { registerButton, unregisterButton } from './button';
|
|
4
|
+
export { registerCheckbox, UiCheckbox, UiCheckboxGroup, } from './checkbox';
|
|
5
|
+
export type { CheckboxData, CheckboxGroupData, CheckboxItem } from './checkbox';
|
|
6
|
+
export { registerCombobox, UiCombobox } from './combobox';
|
|
7
|
+
export type { ComboboxData, ComboboxOption } from './combobox';
|
|
8
|
+
export { registerDatePicker, UiDatePicker } from './date-picker';
|
|
9
|
+
export type { DatePickerData } from './date-picker';
|
|
10
|
+
export { registerDropdown, UiDropdown } from './dropdown';
|
|
11
|
+
export type { DropdownData } from './dropdown';
|
|
12
|
+
export { registerField, UiField } from './field';
|
|
13
|
+
export type { FieldData } from './field';
|
|
14
|
+
export { registerFileUpload, UiFileUpload } from './file-upload';
|
|
15
|
+
export type { FileUploadData, PendingFile } from './file-upload';
|
|
16
|
+
export { registerInput, UiInput } from './input';
|
|
17
|
+
export type { InputData } from './input';
|
|
18
|
+
export { registerModal, UiModal, UiModalTrigger, } from './modal';
|
|
19
|
+
export type { ModalCancelDetail, ModalData, ModalTriggerData } from './modal';
|
|
20
|
+
export { registerRadio, UiRadioGroup } from './radio';
|
|
21
|
+
export type { RadioGroupData, RadioItem } from './radio';
|
|
22
|
+
export { registerScrollArea, UiScrollArea } from './scroll-area';
|
|
23
|
+
export type { ScrollAreaData, ScrollAreaElements } from './scroll-area';
|
|
24
|
+
export { registerSelect, UiSelect } from './select';
|
|
25
|
+
export type { SelectData, SelectOption } from './select';
|
|
26
|
+
export { registerSidebar, UiSidebar, UiSidebarToggle, } from './sidebar';
|
|
27
|
+
export type { SidebarController, SidebarData } from './sidebar';
|
|
28
|
+
export { registerSlider, UiSlider } from './slider';
|
|
29
|
+
export type { SliderData, SliderElements, SliderThumbName, SliderValues } from './slider';
|
|
30
|
+
export { registerSwitch, UiSwitch } from './switch';
|
|
31
|
+
export type { SwitchData, SwitchItem } from './switch';
|
|
32
|
+
export { registerTabs, UiTabs } from './tabs';
|
|
33
|
+
export type { TabsActivateDetail, TabsChangeDetail, TabsData, TabsItem } from './tabs';
|
|
34
|
+
export { registerToast, UiToast, UiToastOutlet, } from './toast';
|
|
35
|
+
export type { ToastData, ToastDetail, ToastOutletData } from './toast';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type PropState } from '../../runtime';
|
|
2
|
+
declare const SCROLL_AREA_ORIENTATIONS: readonly ["vertical", "horizontal", "both"];
|
|
3
|
+
declare const SCROLL_AREA_TYPES: readonly ["hover", "always", "scroll"];
|
|
4
|
+
declare const SCROLL_AREA_SIZES: readonly ["sm", "md"];
|
|
5
|
+
declare const scrollAreaSchema: {
|
|
6
|
+
orientation: import("../../runtime/codecs").OneOfCodec<"vertical" | "horizontal" | "both">;
|
|
7
|
+
type: import("../../runtime/codecs").OneOfCodec<"scroll" | "always" | "hover">;
|
|
8
|
+
size: import("../../runtime/codecs").OneOfCodec<"sm" | "md">;
|
|
9
|
+
fill: import("../../runtime/codecs").BoolCodec;
|
|
10
|
+
hideNative: import("../../runtime/codecs").BoolCodec;
|
|
11
|
+
disabled: import("../../runtime/codecs").BoolCodec;
|
|
12
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
13
|
+
viewportClass: import("../../runtime/codecs").StringCodec;
|
|
14
|
+
scrollbarClass: import("../../runtime/codecs").StringCodec;
|
|
15
|
+
thumbClass: import("../../runtime/codecs").StringCodec;
|
|
16
|
+
cornerClass: import("../../runtime/codecs").StringCodec;
|
|
17
|
+
};
|
|
18
|
+
type ScrollAreaOrientation = typeof SCROLL_AREA_ORIENTATIONS[number];
|
|
19
|
+
type ScrollAreaType = typeof SCROLL_AREA_TYPES[number];
|
|
20
|
+
type ScrollAreaSize = typeof SCROLL_AREA_SIZES[number];
|
|
21
|
+
type ScrollAreaProps = PropState<typeof scrollAreaSchema>;
|
|
22
|
+
export { SCROLL_AREA_ORIENTATIONS, SCROLL_AREA_SIZES, SCROLL_AREA_TYPES, scrollAreaSchema, };
|
|
23
|
+
export type { ScrollAreaOrientation, ScrollAreaProps, ScrollAreaSize, ScrollAreaType, };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type Alpine from 'alpinejs';
|
|
2
|
+
import { type BindingObject, type CleanupStack, type TrellisAlpineComponent } from '../../runtime';
|
|
3
|
+
import { type ScrollAreaProps } from './contract';
|
|
4
|
+
type ScrollAxis = 'x' | 'y';
|
|
5
|
+
type DragState = {
|
|
6
|
+
axis: ScrollAxis;
|
|
7
|
+
pointerId: number;
|
|
8
|
+
startPointer: number;
|
|
9
|
+
startScroll: number;
|
|
10
|
+
trackLength: number;
|
|
11
|
+
thumbLength: number;
|
|
12
|
+
maxScroll: number;
|
|
13
|
+
};
|
|
14
|
+
type ScrollAreaElements = {
|
|
15
|
+
root: HTMLElement;
|
|
16
|
+
viewport: HTMLElement;
|
|
17
|
+
content: HTMLElement | null;
|
|
18
|
+
verticalScrollbar: HTMLElement | null;
|
|
19
|
+
horizontalScrollbar: HTMLElement | null;
|
|
20
|
+
verticalThumb: HTMLElement | null;
|
|
21
|
+
horizontalThumb: HTMLElement | null;
|
|
22
|
+
corner: HTMLElement | null;
|
|
23
|
+
};
|
|
24
|
+
type AxisGeometry = {
|
|
25
|
+
trackLength: number;
|
|
26
|
+
thumbLength: number;
|
|
27
|
+
maxOffset: number;
|
|
28
|
+
maxScroll: number;
|
|
29
|
+
};
|
|
30
|
+
type ScrollAreaData = {
|
|
31
|
+
props: ScrollAreaProps;
|
|
32
|
+
listeners: CleanupStack;
|
|
33
|
+
resizeObserver: ResizeObserver | null;
|
|
34
|
+
mutationObserver: MutationObserver | null;
|
|
35
|
+
frame: number;
|
|
36
|
+
positionFrame: number;
|
|
37
|
+
fadeTimer: number;
|
|
38
|
+
isHovered: boolean;
|
|
39
|
+
isFocused: boolean;
|
|
40
|
+
isScrolling: boolean;
|
|
41
|
+
dragging: DragState | null;
|
|
42
|
+
overflowX: boolean;
|
|
43
|
+
overflowY: boolean;
|
|
44
|
+
verticalGeometry: AxisGeometry | null;
|
|
45
|
+
horizontalGeometry: AxisGeometry | null;
|
|
46
|
+
root: BindingObject;
|
|
47
|
+
viewport(el: HTMLElement): BindingObject;
|
|
48
|
+
scrollbar(el: HTMLElement): BindingObject;
|
|
49
|
+
thumb(el: HTMLElement): BindingObject;
|
|
50
|
+
corner(el: HTMLElement): BindingObject;
|
|
51
|
+
elements(): ScrollAreaElements;
|
|
52
|
+
scheduleSync(): void;
|
|
53
|
+
schedulePositionSync(): void;
|
|
54
|
+
sync(): void;
|
|
55
|
+
updateGeometry(elements: ScrollAreaElements): void;
|
|
56
|
+
updateThumbPositions(elements: ScrollAreaElements): void;
|
|
57
|
+
updateVisibility(elements: ScrollAreaElements): void;
|
|
58
|
+
startFadeTimer(): void;
|
|
59
|
+
clearFadeTimer(): void;
|
|
60
|
+
onScroll(): void;
|
|
61
|
+
onPointerDown(event: PointerEvent, axis: ScrollAxis): void;
|
|
62
|
+
onPointerMove(event: PointerEvent): void;
|
|
63
|
+
onPointerUp(event: PointerEvent): void;
|
|
64
|
+
};
|
|
65
|
+
declare const UiScrollArea: () => TrellisAlpineComponent<ScrollAreaData>;
|
|
66
|
+
declare const registerScrollArea: (AlpineInstance: Alpine.Alpine) => void;
|
|
67
|
+
export { registerScrollArea, UiScrollArea, };
|
|
68
|
+
export type { ScrollAreaData, ScrollAreaElements };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { type PropState } from '../../runtime';
|
|
2
|
+
import { type Alignment, type ControlSize, type ControlVariant, type IconVariant, type Position } from '../common';
|
|
3
|
+
import { BADGE_COLORS, BADGE_VARIANTS, type BadgeColor, type BadgeVariant } from '../badge/contract';
|
|
4
|
+
declare const SELECT_MODES: readonly ["listbox", "combobox", "pillbox", "native"];
|
|
5
|
+
declare const SELECT_VARIANTS: readonly ["outline", "filled"];
|
|
6
|
+
declare const SELECT_SIZES: readonly ["xs", "sm", "md", "lg", "xlg"];
|
|
7
|
+
declare const SELECT_SIDES: readonly ["bottom", "top", "left", "right"];
|
|
8
|
+
declare const SELECT_ALIGNS: readonly ["start", "center", "end"];
|
|
9
|
+
declare const SELECT_ICON_VARIANTS: readonly ["outline", "solid", "mini", "micro"];
|
|
10
|
+
declare const SELECT_CLEARS: readonly ["stay", "close"];
|
|
11
|
+
declare const SELECT_MARKS: readonly ["check", "checkbox"];
|
|
12
|
+
type SelectMode = typeof SELECT_MODES[number];
|
|
13
|
+
type SelectVariant = ControlVariant;
|
|
14
|
+
type SelectSize = ControlSize;
|
|
15
|
+
type SelectSide = Position;
|
|
16
|
+
type SelectAlign = Alignment;
|
|
17
|
+
type SelectIconVariant = IconVariant;
|
|
18
|
+
type SelectClear = typeof SELECT_CLEARS[number];
|
|
19
|
+
type SelectMark = typeof SELECT_MARKS[number];
|
|
20
|
+
type SelectChipVariant = BadgeVariant;
|
|
21
|
+
type SelectChipColor = BadgeColor;
|
|
22
|
+
declare const selectSchema: {
|
|
23
|
+
name: import("../../runtime/codecs").StringCodec;
|
|
24
|
+
value: import("../../runtime/codecs").StringCodec;
|
|
25
|
+
values: import("../../runtime/codecs").StringCodec;
|
|
26
|
+
placeholder: import("../../runtime/codecs").StringCodec;
|
|
27
|
+
mode: import("../../runtime/codecs").OneOfCodec<"listbox" | "combobox" | "native" | "pillbox">;
|
|
28
|
+
multiple: import("../../runtime/codecs").BoolCodec;
|
|
29
|
+
searchable: import("../../runtime/codecs").BoolCodec;
|
|
30
|
+
filter: import("../../runtime/codecs").BoolCodec;
|
|
31
|
+
clearable: import("../../runtime/codecs").BoolCodec;
|
|
32
|
+
clear: import("../../runtime/codecs").OneOfCodec<"close" | "stay">;
|
|
33
|
+
suffix: import("../../runtime/codecs").StringCodec;
|
|
34
|
+
mark: import("../../runtime/codecs").OneOfCodec<"checkbox" | "check">;
|
|
35
|
+
open: import("../../runtime/codecs").BoolCodec;
|
|
36
|
+
disabled: import("../../runtime/codecs").BoolCodec;
|
|
37
|
+
readonly: import("../../runtime/codecs").BoolCodec;
|
|
38
|
+
required: import("../../runtime/codecs").BoolCodec;
|
|
39
|
+
invalid: import("../../runtime/codecs").BoolCodec;
|
|
40
|
+
autoHighlight: import("../../runtime/codecs").BoolCodec;
|
|
41
|
+
loop: import("../../runtime/codecs").BoolCodec;
|
|
42
|
+
path: import("../../runtime/codecs").StringCodec;
|
|
43
|
+
size: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "xlg">;
|
|
44
|
+
variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
|
|
45
|
+
side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
|
|
46
|
+
align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
|
|
47
|
+
offset: import("../../runtime/codecs").NumberCodec;
|
|
48
|
+
gap: import("../../runtime/codecs").NumberCodec;
|
|
49
|
+
empty: import("../../runtime/codecs").StringCodec;
|
|
50
|
+
searchPlaceholder: import("../../runtime/codecs").StringCodec;
|
|
51
|
+
searchIcon: import("../../runtime/codecs").StringCodec;
|
|
52
|
+
icon: import("../../runtime/codecs").StringCodec;
|
|
53
|
+
iconTrailing: import("../../runtime/codecs").StringCodec;
|
|
54
|
+
iconVariant: import("../../runtime/codecs").OneOfCodec<"outline" | "solid" | "mini" | "micro">;
|
|
55
|
+
buttonClass: import("../../runtime/codecs").StringCodec;
|
|
56
|
+
inputClass: import("../../runtime/codecs").StringCodec;
|
|
57
|
+
searchClass: import("../../runtime/codecs").StringCodec;
|
|
58
|
+
listboxClass: import("../../runtime/codecs").StringCodec;
|
|
59
|
+
optionClass: import("../../runtime/codecs").StringCodec;
|
|
60
|
+
chipVariant: import("../../runtime/codecs").OneOfCodec<"outline" | "solid" | "surface" | "soft">;
|
|
61
|
+
chipColor: import("../../runtime/codecs").OneOfCodec<"neutral" | "accent" | "success" | "warning" | "danger">;
|
|
62
|
+
chipClass: import("../../runtime/codecs").StringCodec;
|
|
63
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
64
|
+
};
|
|
65
|
+
declare const selectOptionSchema: {
|
|
66
|
+
value: import("../../runtime/codecs").StringCodec;
|
|
67
|
+
label: import("../../runtime/codecs").StringCodec;
|
|
68
|
+
selectedLabel: import("../../runtime/codecs").StringCodec;
|
|
69
|
+
textValue: import("../../runtime/codecs").StringCodec;
|
|
70
|
+
disabled: import("../../runtime/codecs").BoolCodec;
|
|
71
|
+
selected: import("../../runtime/codecs").BoolCodec;
|
|
72
|
+
item: import("../../runtime/codecs").StringCodec;
|
|
73
|
+
icon: import("../../runtime/codecs").StringCodec;
|
|
74
|
+
iconTrailing: import("../../runtime/codecs").StringCodec;
|
|
75
|
+
iconVariant: import("../../runtime/codecs").OneOfCodec<"outline" | "solid" | "mini" | "micro">;
|
|
76
|
+
suffix: import("../../runtime/codecs").StringCodec;
|
|
77
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
78
|
+
};
|
|
79
|
+
declare const selectCreateOptionSchema: {
|
|
80
|
+
minLength: import("../../runtime/codecs").NumberCodec;
|
|
81
|
+
modal: import("../../runtime/codecs").StringCodec;
|
|
82
|
+
disabled: import("../../runtime/codecs").BoolCodec;
|
|
83
|
+
value: import("../../runtime/codecs").StringCodec;
|
|
84
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
85
|
+
};
|
|
86
|
+
type SelectProps = PropState<typeof selectSchema>;
|
|
87
|
+
type SelectOptionProps = PropState<typeof selectOptionSchema>;
|
|
88
|
+
type SelectCreateOptionProps = PropState<typeof selectCreateOptionSchema>;
|
|
89
|
+
export { SELECT_ALIGNS, SELECT_CLEARS, BADGE_COLORS as SELECT_CHIP_COLORS, BADGE_VARIANTS as SELECT_CHIP_VARIANTS, SELECT_ICON_VARIANTS, SELECT_MARKS, SELECT_MODES, SELECT_SIDES, SELECT_SIZES, SELECT_VARIANTS, selectCreateOptionSchema, selectOptionSchema, selectSchema, };
|
|
90
|
+
export type { SelectAlign, SelectClear, SelectChipColor, SelectChipVariant, SelectCreateOptionProps, SelectIconVariant, SelectMark, SelectOptionProps, SelectSide, SelectProps, SelectSize, SelectMode, SelectVariant, };
|