@kjun-ui/react 0.17.0 → 0.19.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/dist/index.cjs +4267 -1765
- package/dist/index.js +4272 -1767
- package/dist/styles.css +1612 -577
- package/dist/types/packages/react/src/actions.d.cts +12 -3
- package/dist/types/packages/react/src/actions.d.ts +12 -3
- package/dist/types/packages/react/src/app-navigation.d.cts +31 -8
- package/dist/types/packages/react/src/app-navigation.d.ts +31 -8
- package/dist/types/packages/react/src/calendar.d.cts +30 -0
- package/dist/types/packages/react/src/calendar.d.ts +30 -0
- package/dist/types/packages/react/src/carousel.d.cts +39 -0
- package/dist/types/packages/react/src/carousel.d.ts +39 -0
- package/dist/types/packages/react/src/controls.d.cts +16 -11
- package/dist/types/packages/react/src/controls.d.ts +16 -11
- package/dist/types/packages/react/src/date-picker.d.cts +34 -6
- package/dist/types/packages/react/src/date-picker.d.ts +34 -6
- package/dist/types/packages/react/src/display.d.cts +15 -3
- package/dist/types/packages/react/src/display.d.ts +15 -3
- package/dist/types/packages/react/src/drawer.d.cts +3 -5
- package/dist/types/packages/react/src/drawer.d.ts +3 -5
- package/dist/types/packages/react/src/dropdown.d.cts +35 -3
- package/dist/types/packages/react/src/dropdown.d.ts +35 -3
- package/dist/types/packages/react/src/fab.d.cts +3 -3
- package/dist/types/packages/react/src/fab.d.ts +3 -3
- package/dist/types/packages/react/src/feedback.d.cts +12 -3
- package/dist/types/packages/react/src/feedback.d.ts +12 -3
- package/dist/types/packages/react/src/financial-display.d.cts +10 -1
- package/dist/types/packages/react/src/financial-display.d.ts +10 -1
- package/dist/types/packages/react/src/financial.d.cts +2 -2
- package/dist/types/packages/react/src/financial.d.ts +2 -2
- package/dist/types/packages/react/src/index.d.cts +10 -6
- package/dist/types/packages/react/src/index.d.ts +10 -6
- package/dist/types/packages/react/src/layers.d.cts +1 -1
- package/dist/types/packages/react/src/layers.d.ts +1 -1
- package/dist/types/packages/react/src/layout-primitives.d.cts +24 -24
- package/dist/types/packages/react/src/layout-primitives.d.ts +24 -24
- package/dist/types/packages/react/src/list.d.cts +27 -4
- package/dist/types/packages/react/src/list.d.ts +27 -4
- package/dist/types/packages/react/src/market-model.d.cts +8 -1
- package/dist/types/packages/react/src/market-model.d.ts +8 -1
- package/dist/types/packages/react/src/modal.d.cts +3 -1
- package/dist/types/packages/react/src/modal.d.ts +3 -1
- package/dist/types/packages/react/src/navigation.d.cts +24 -42
- package/dist/types/packages/react/src/navigation.d.ts +24 -42
- package/dist/types/packages/react/src/number-display.d.cts +12 -12
- package/dist/types/packages/react/src/number-display.d.ts +12 -12
- package/dist/types/packages/react/src/popover.d.cts +9 -4
- package/dist/types/packages/react/src/popover.d.ts +9 -4
- package/dist/types/packages/react/src/provider.d.cts +4 -1
- package/dist/types/packages/react/src/provider.d.ts +4 -1
- package/dist/types/packages/react/src/select-control.d.cts +3 -1
- package/dist/types/packages/react/src/select-control.d.ts +3 -1
- package/dist/types/packages/react/src/select.d.cts +2 -2
- package/dist/types/packages/react/src/select.d.ts +2 -2
- package/dist/types/packages/react/src/skeleton-phase.d.cts +2 -0
- package/dist/types/packages/react/src/skeleton-phase.d.ts +2 -0
- package/dist/types/packages/react/src/skeletons.d.cts +19 -4
- package/dist/types/packages/react/src/skeletons.d.ts +19 -4
- package/dist/types/packages/react/src/table-cards.d.cts +6 -3
- package/dist/types/packages/react/src/table-cards.d.ts +6 -3
- package/dist/types/packages/react/src/table-grid.d.cts +1 -1
- package/dist/types/packages/react/src/table-grid.d.ts +1 -1
- package/dist/types/packages/react/src/table-list.d.cts +10 -0
- package/dist/types/packages/react/src/table-list.d.ts +10 -0
- package/dist/types/packages/react/src/table-model.d.cts +2 -0
- package/dist/types/packages/react/src/table-model.d.ts +2 -0
- package/dist/types/packages/react/src/table-toolbar.d.cts +1 -1
- package/dist/types/packages/react/src/table-toolbar.d.ts +1 -1
- package/dist/types/packages/react/src/table-totals.d.cts +5 -0
- package/dist/types/packages/react/src/table-totals.d.ts +5 -0
- package/dist/types/packages/react/src/tabs.d.cts +38 -0
- package/dist/types/packages/react/src/tabs.d.ts +38 -0
- package/dist/types/packages/react/src/textarea.d.cts +29 -0
- package/dist/types/packages/react/src/textarea.d.ts +29 -0
- package/dist/types/packages/react/src/time-picker.d.cts +10 -1
- package/dist/types/packages/react/src/time-picker.d.ts +10 -1
- package/dist/types/packages/react/src/toast-stack.d.cts +7 -2
- package/dist/types/packages/react/src/toast-stack.d.ts +7 -2
- package/dist/types/shared/package-runtime/accordion-state.d.cts +11 -0
- package/dist/types/shared/package-runtime/accordion-state.d.ts +11 -0
- package/dist/types/shared/package-runtime/action-size.d.cts +1 -1
- package/dist/types/shared/package-runtime/action-size.d.ts +1 -1
- package/dist/types/shared/package-runtime/alert-action-size.d.cts +2 -0
- package/dist/types/shared/package-runtime/alert-action-size.d.ts +2 -0
- package/dist/types/shared/package-runtime/badge-tone.d.cts +59 -0
- package/dist/types/shared/package-runtime/badge-tone.d.ts +59 -0
- package/dist/types/shared/package-runtime/breadcrumb.d.cts +20 -0
- package/dist/types/shared/package-runtime/breadcrumb.d.ts +20 -0
- package/dist/types/shared/package-runtime/calendar.d.cts +106 -0
- package/dist/types/shared/package-runtime/calendar.d.ts +106 -0
- package/dist/types/shared/package-runtime/carousel-scroll.d.cts +22 -0
- package/dist/types/shared/package-runtime/carousel-scroll.d.ts +22 -0
- package/dist/types/shared/package-runtime/carousel.d.cts +47 -0
- package/dist/types/shared/package-runtime/carousel.d.ts +47 -0
- package/dist/types/shared/package-runtime/center-option.d.cts +1 -0
- package/dist/types/shared/package-runtime/center-option.d.ts +1 -0
- package/dist/types/shared/package-runtime/chart-skeleton.d.cts +15 -3
- package/dist/types/shared/package-runtime/chart-skeleton.d.ts +15 -3
- package/dist/types/shared/package-runtime/drawer-geometry.d.cts +2 -3
- package/dist/types/shared/package-runtime/drawer-geometry.d.ts +2 -3
- package/dist/types/shared/package-runtime/feedback-dialog.d.cts +5 -4
- package/dist/types/shared/package-runtime/feedback-dialog.d.ts +5 -4
- package/dist/types/shared/package-runtime/feedback-motion.d.cts +2 -5
- package/dist/types/shared/package-runtime/feedback-motion.d.ts +2 -5
- package/dist/types/shared/package-runtime/feedback-prompt.d.cts +58 -0
- package/dist/types/shared/package-runtime/feedback-prompt.d.ts +58 -0
- package/dist/types/shared/package-runtime/list-row.d.cts +14 -0
- package/dist/types/shared/package-runtime/list-row.d.ts +14 -0
- package/dist/types/shared/package-runtime/market-layout.d.cts +0 -1
- package/dist/types/shared/package-runtime/market-layout.d.ts +0 -1
- package/dist/types/shared/package-runtime/messages/ko.d.cts +45 -5
- package/dist/types/shared/package-runtime/messages/ko.d.ts +45 -5
- package/dist/types/shared/package-runtime/messages-context.d.cts +45 -5
- package/dist/types/shared/package-runtime/messages-context.d.ts +45 -5
- package/dist/types/shared/package-runtime/navigation-badge.d.cts +12 -0
- package/dist/types/shared/package-runtime/navigation-badge.d.ts +12 -0
- package/dist/types/shared/package-runtime/navigation.d.cts +1 -1
- package/dist/types/shared/package-runtime/navigation.d.ts +1 -1
- package/dist/types/shared/package-runtime/safe-area.d.cts +20 -0
- package/dist/types/shared/package-runtime/safe-area.d.ts +20 -0
- package/dist/types/shared/package-runtime/scroll-fade.d.cts +25 -0
- package/dist/types/shared/package-runtime/scroll-fade.d.ts +25 -0
- package/dist/types/shared/package-runtime/skeleton-text.d.cts +12 -0
- package/dist/types/shared/package-runtime/skeleton-text.d.ts +12 -0
- package/dist/types/shared/package-runtime/sparkline.d.cts +58 -0
- package/dist/types/shared/package-runtime/sparkline.d.ts +58 -0
- package/dist/types/shared/package-runtime/stable-value.d.cts +3 -0
- package/dist/types/shared/package-runtime/stable-value.d.ts +3 -0
- package/dist/types/shared/package-runtime/table-groups.d.cts +11 -0
- package/dist/types/shared/package-runtime/table-groups.d.ts +11 -0
- package/dist/types/shared/package-runtime/table-model.d.cts +25 -2
- package/dist/types/shared/package-runtime/table-model.d.ts +25 -2
- package/dist/types/shared/package-runtime/table-presentation.d.cts +67 -5
- package/dist/types/shared/package-runtime/table-presentation.d.ts +67 -5
- package/dist/types/shared/package-runtime/table.d.cts +24 -2
- package/dist/types/shared/package-runtime/table.d.ts +24 -2
- package/dist/types/shared/package-runtime/textarea-grow.d.cts +1 -0
- package/dist/types/shared/package-runtime/textarea-grow.d.ts +1 -0
- package/dist/types/shared/package-runtime/textarea.d.cts +53 -0
- package/dist/types/shared/package-runtime/textarea.d.ts +53 -0
- package/dist/types/shared/package-runtime/time-segments.d.cts +25 -0
- package/dist/types/shared/package-runtime/time-segments.d.ts +25 -0
- package/dist/types/shared/package-runtime/toast-entry.d.cts +3 -0
- package/dist/types/shared/package-runtime/toast-entry.d.ts +3 -0
- package/dist/types/shared/package-runtime/toast-placement.d.cts +4 -0
- package/dist/types/shared/package-runtime/toast-placement.d.ts +4 -0
- package/dist/types/shared/package-runtime/toast-presence.d.cts +12 -0
- package/dist/types/shared/package-runtime/toast-presence.d.ts +12 -0
- package/dist/types/shared/package-runtime/toast-presentation.d.cts +42 -0
- package/dist/types/shared/package-runtime/toast-presentation.d.ts +42 -0
- package/dist/types/shared/package-runtime/toast-swipe.d.cts +20 -0
- package/dist/types/shared/package-runtime/toast-swipe.d.ts +20 -0
- package/dist/types/shared/package-runtime/use-toast-stack.d.cts +22 -0
- package/dist/types/shared/package-runtime/use-toast-stack.d.ts +22 -0
- package/package.json +3 -3
- package/dist/types/shared/package-runtime/relative-time.d.cts +0 -1
- package/dist/types/shared/package-runtime/relative-time.d.ts +0 -1
|
@@ -16,11 +16,9 @@ export interface KjunDrawerProps {
|
|
|
16
16
|
/** Called once after the close finishes and the layer has left the screen (not when it mounts closed or reopens during the exit). */
|
|
17
17
|
onAfterClose?: () => void;
|
|
18
18
|
ariaLabel?: string;
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
/** Bottom safe area in px, padded inside bottom and side drawers and kept clear below a top sheet. */
|
|
22
|
-
safeAreaBottom?: number;
|
|
19
|
+
/** Keeps clear of KjunProvider's safe area (default true): padded inside the panel and kept clear beyond a sheet. */
|
|
20
|
+
safeArea?: boolean;
|
|
23
21
|
/** Height limit in px for top and bottom drawers; by default they stop a sheet gap short of the opposite edge. */
|
|
24
22
|
maxHeight?: number;
|
|
25
23
|
}
|
|
26
|
-
export declare function KjunDrawer({ open, onOpenChange, title, position, width, closable, closeOnOverlay, closeOnEsc, noPadding, header, footer, children, onClose, onAfterClose, ariaLabel,
|
|
24
|
+
export declare function KjunDrawer({ open, onOpenChange, title, position, width, closable, closeOnOverlay, closeOnEsc, noPadding, header, footer, children, onClose, onAfterClose, ariaLabel, safeArea, maxHeight, }: KjunDrawerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -16,11 +16,9 @@ export interface KjunDrawerProps {
|
|
|
16
16
|
/** Called once after the close finishes and the layer has left the screen (not when it mounts closed or reopens during the exit). */
|
|
17
17
|
onAfterClose?: () => void;
|
|
18
18
|
ariaLabel?: string;
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
/** Bottom safe area in px, padded inside bottom and side drawers and kept clear below a top sheet. */
|
|
22
|
-
safeAreaBottom?: number;
|
|
19
|
+
/** Keeps clear of KjunProvider's safe area (default true): padded inside the panel and kept clear beyond a sheet. */
|
|
20
|
+
safeArea?: boolean;
|
|
23
21
|
/** Height limit in px for top and bottom drawers; by default they stop a sheet gap short of the opposite edge. */
|
|
24
22
|
maxHeight?: number;
|
|
25
23
|
}
|
|
26
|
-
export declare function KjunDrawer({ open, onOpenChange, title, position, width, closable, closeOnOverlay, closeOnEsc, noPadding, header, footer, children, onClose, onAfterClose, ariaLabel,
|
|
24
|
+
export declare function KjunDrawer({ open, onOpenChange, title, position, width, closable, closeOnOverlay, closeOnEsc, noPadding, header, footer, children, onClose, onAfterClose, ariaLabel, safeArea, maxHeight, }: KjunDrawerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -8,6 +8,8 @@ export interface KjunDropdownProps {
|
|
|
8
8
|
menuId?: string;
|
|
9
9
|
triggerId?: string;
|
|
10
10
|
menuClass?: string;
|
|
11
|
+
/** compact: 32px rows for desktop tables and toolbars (touch keeps 44px). */
|
|
12
|
+
density?: "comfortable" | "compact";
|
|
11
13
|
trigger: ReactNode;
|
|
12
14
|
children: ReactNode;
|
|
13
15
|
onOpen?: () => void;
|
|
@@ -15,19 +17,49 @@ export interface KjunDropdownProps {
|
|
|
15
17
|
/** Where focus goes when the menu closes by choosing or Escape, instead of the trigger (e.g. an edited cell). Web only. */
|
|
16
18
|
returnFocus?: FocusReturn;
|
|
17
19
|
}
|
|
18
|
-
export declare function KjunDropdown({ disabled, placement, menuId, triggerId, menuClass, trigger, children, onOpen, onClose, returnFocus, }: KjunDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function KjunDropdown({ disabled, placement, menuId, triggerId, menuClass, density, trigger, children, onOpen, onClose, returnFocus, }: KjunDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
19
21
|
export interface KjunDropdownItemProps {
|
|
20
22
|
id?: string;
|
|
21
23
|
variant?: "default" | "danger";
|
|
22
24
|
icon?: string;
|
|
23
25
|
disabled?: boolean;
|
|
26
|
+
/** Single choice: a check in the leading column, announced as a radio item. */
|
|
24
27
|
selected?: boolean | null;
|
|
28
|
+
/** Independent toggle: a check in the leading column, announced as a checkbox item. */
|
|
29
|
+
checked?: boolean | null;
|
|
30
|
+
/** Second line under the label. */
|
|
31
|
+
description?: string;
|
|
32
|
+
/** Keyboard hint shown at the end, such as "⌘D". It only describes; wiring the keys is the app's job. */
|
|
33
|
+
shortcut?: string;
|
|
25
34
|
textValue?: string;
|
|
35
|
+
/** Keeps the menu open after choosing, for toggles the user flips several times. */
|
|
36
|
+
keepOpen?: boolean;
|
|
37
|
+
/** Makes the item a link; the browser follows it. */
|
|
38
|
+
href?: string;
|
|
39
|
+
target?: string;
|
|
26
40
|
children: ReactNode;
|
|
27
41
|
onClick?: () => void;
|
|
28
42
|
}
|
|
29
|
-
export declare function KjunDropdownItem({ id, variant, icon, disabled, selected, textValue, children, onClick, }: KjunDropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export
|
|
43
|
+
export declare function KjunDropdownItem({ id, variant, icon, disabled, selected, checked, description, shortcut, textValue, keepOpen, href, target, children, onClick, }: KjunDropdownItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
44
|
+
export interface KjunDropdownSectionProps {
|
|
45
|
+
/** Small heading over the group; it names the group for screen readers. */
|
|
46
|
+
title?: string;
|
|
47
|
+
/** Names the group for screen readers when it has no visible title. */
|
|
48
|
+
ariaLabel?: string;
|
|
49
|
+
children: ReactNode;
|
|
50
|
+
}
|
|
51
|
+
export declare function KjunDropdownSection({ title, ariaLabel, children }: KjunDropdownSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
export interface KjunDropdownSubmenuProps {
|
|
53
|
+
/** Stable key for the submenu; defaults to the label. */
|
|
54
|
+
id?: string;
|
|
55
|
+
label: string;
|
|
56
|
+
icon?: string;
|
|
57
|
+
disabled?: boolean;
|
|
58
|
+
children: ReactNode;
|
|
59
|
+
}
|
|
60
|
+
/** An item that opens its own items in place of the menu, with a back row; → opens it and ← returns. */
|
|
61
|
+
export declare function KjunDropdownSubmenu({ id, label, icon, disabled, children }: KjunDropdownSubmenuProps): import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
export declare function KjunDropdownDivider(): import("react/jsx-runtime").JSX.Element | null;
|
|
31
63
|
export interface KjunMenuButtonProps extends Omit<KjunDropdownProps, "trigger"> {
|
|
32
64
|
label?: string;
|
|
33
65
|
size?: KjunButtonProps["size"];
|
|
@@ -8,6 +8,8 @@ export interface KjunDropdownProps {
|
|
|
8
8
|
menuId?: string;
|
|
9
9
|
triggerId?: string;
|
|
10
10
|
menuClass?: string;
|
|
11
|
+
/** compact: 32px rows for desktop tables and toolbars (touch keeps 44px). */
|
|
12
|
+
density?: "comfortable" | "compact";
|
|
11
13
|
trigger: ReactNode;
|
|
12
14
|
children: ReactNode;
|
|
13
15
|
onOpen?: () => void;
|
|
@@ -15,19 +17,49 @@ export interface KjunDropdownProps {
|
|
|
15
17
|
/** Where focus goes when the menu closes by choosing or Escape, instead of the trigger (e.g. an edited cell). Web only. */
|
|
16
18
|
returnFocus?: FocusReturn;
|
|
17
19
|
}
|
|
18
|
-
export declare function KjunDropdown({ disabled, placement, menuId, triggerId, menuClass, trigger, children, onOpen, onClose, returnFocus, }: KjunDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function KjunDropdown({ disabled, placement, menuId, triggerId, menuClass, density, trigger, children, onOpen, onClose, returnFocus, }: KjunDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
19
21
|
export interface KjunDropdownItemProps {
|
|
20
22
|
id?: string;
|
|
21
23
|
variant?: "default" | "danger";
|
|
22
24
|
icon?: string;
|
|
23
25
|
disabled?: boolean;
|
|
26
|
+
/** Single choice: a check in the leading column, announced as a radio item. */
|
|
24
27
|
selected?: boolean | null;
|
|
28
|
+
/** Independent toggle: a check in the leading column, announced as a checkbox item. */
|
|
29
|
+
checked?: boolean | null;
|
|
30
|
+
/** Second line under the label. */
|
|
31
|
+
description?: string;
|
|
32
|
+
/** Keyboard hint shown at the end, such as "⌘D". It only describes; wiring the keys is the app's job. */
|
|
33
|
+
shortcut?: string;
|
|
25
34
|
textValue?: string;
|
|
35
|
+
/** Keeps the menu open after choosing, for toggles the user flips several times. */
|
|
36
|
+
keepOpen?: boolean;
|
|
37
|
+
/** Makes the item a link; the browser follows it. */
|
|
38
|
+
href?: string;
|
|
39
|
+
target?: string;
|
|
26
40
|
children: ReactNode;
|
|
27
41
|
onClick?: () => void;
|
|
28
42
|
}
|
|
29
|
-
export declare function KjunDropdownItem({ id, variant, icon, disabled, selected, textValue, children, onClick, }: KjunDropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export
|
|
43
|
+
export declare function KjunDropdownItem({ id, variant, icon, disabled, selected, checked, description, shortcut, textValue, keepOpen, href, target, children, onClick, }: KjunDropdownItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
44
|
+
export interface KjunDropdownSectionProps {
|
|
45
|
+
/** Small heading over the group; it names the group for screen readers. */
|
|
46
|
+
title?: string;
|
|
47
|
+
/** Names the group for screen readers when it has no visible title. */
|
|
48
|
+
ariaLabel?: string;
|
|
49
|
+
children: ReactNode;
|
|
50
|
+
}
|
|
51
|
+
export declare function KjunDropdownSection({ title, ariaLabel, children }: KjunDropdownSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
export interface KjunDropdownSubmenuProps {
|
|
53
|
+
/** Stable key for the submenu; defaults to the label. */
|
|
54
|
+
id?: string;
|
|
55
|
+
label: string;
|
|
56
|
+
icon?: string;
|
|
57
|
+
disabled?: boolean;
|
|
58
|
+
children: ReactNode;
|
|
59
|
+
}
|
|
60
|
+
/** An item that opens its own items in place of the menu, with a back row; → opens it and ← returns. */
|
|
61
|
+
export declare function KjunDropdownSubmenu({ id, label, icon, disabled, children }: KjunDropdownSubmenuProps): import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
export declare function KjunDropdownDivider(): import("react/jsx-runtime").JSX.Element | null;
|
|
31
63
|
export interface KjunMenuButtonProps extends Omit<KjunDropdownProps, "trigger"> {
|
|
32
64
|
label?: string;
|
|
33
65
|
size?: KjunButtonProps["size"];
|
|
@@ -4,11 +4,11 @@ export interface KjunFabProps {
|
|
|
4
4
|
/** The FAB has no visible text, so it needs a name. */
|
|
5
5
|
ariaLabel: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
|
|
7
|
+
/** Stays above the bottom safe area from KjunProvider (default true). */
|
|
8
|
+
safeArea?: boolean;
|
|
9
9
|
/** Extra space below, e.g. a bottom navigation's height. */
|
|
10
10
|
offsetBottom?: number;
|
|
11
11
|
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
12
12
|
}
|
|
13
13
|
/** A round primary action pinned to the bottom end of the viewport. */
|
|
14
|
-
export declare function KjunFab({ icon, ariaLabel, disabled,
|
|
14
|
+
export declare function KjunFab({ icon, ariaLabel, disabled, safeArea, offsetBottom, onClick }: KjunFabProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,11 +4,11 @@ export interface KjunFabProps {
|
|
|
4
4
|
/** The FAB has no visible text, so it needs a name. */
|
|
5
5
|
ariaLabel: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
|
|
7
|
+
/** Stays above the bottom safe area from KjunProvider (default true). */
|
|
8
|
+
safeArea?: boolean;
|
|
9
9
|
/** Extra space below, e.g. a bottom navigation's height. */
|
|
10
10
|
offsetBottom?: number;
|
|
11
11
|
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
12
12
|
}
|
|
13
13
|
/** A round primary action pinned to the bottom end of the viewport. */
|
|
14
|
-
export declare function KjunFab({ icon, ariaLabel, disabled,
|
|
14
|
+
export declare function KjunFab({ icon, ariaLabel, disabled, safeArea, offsetBottom, onClick }: KjunFabProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
+
import type { ToastPlacement } from "../../../shared/package-runtime/toast-placement.cjs";
|
|
1
2
|
import { type KjunFeedback } from "@kjun-ui/tokens";
|
|
2
3
|
import { type ReactNode } from "react";
|
|
3
4
|
export declare function useKjunFeedback(): KjunFeedback;
|
|
4
|
-
export
|
|
5
|
-
children: ReactNode;
|
|
5
|
+
export interface KjunFeedbackProviderProps {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/** A feedback API from createKjunFeedback(), for calls outside components. */
|
|
6
8
|
controller?: KjunFeedback;
|
|
7
|
-
|
|
9
|
+
/** Stacks toasts at the top (default) or the bottom of the screen, right-aligned on wide screens; both keep clear of the safe area. */
|
|
10
|
+
placement?: ToastPlacement;
|
|
11
|
+
/** Extra px between the toasts and their edge, e.g. a bottom navigation's height. */
|
|
12
|
+
offset?: number;
|
|
13
|
+
/** How many toasts stay on screen at once (default 3); a fuller stack closes the oldest self-closing toast first. */
|
|
14
|
+
maxToasts?: number;
|
|
15
|
+
}
|
|
16
|
+
export declare function KjunFeedbackProvider({ children, controller: controllerProp, placement, offset, maxToasts }: KjunFeedbackProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
8
17
|
export type { ConfirmOptions, KjunFeedback, PromptOptions, ToastOptions } from "@kjun-ui/tokens";
|
|
9
18
|
/** An app-owned feedback API that plain functions can call; pass it to KjunFeedbackProvider controller. */
|
|
10
19
|
export { createKjunFeedback } from "@kjun-ui/tokens";
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
+
import type { ToastPlacement } from "../../../shared/package-runtime/toast-placement.js";
|
|
1
2
|
import { type KjunFeedback } from "@kjun-ui/tokens";
|
|
2
3
|
import { type ReactNode } from "react";
|
|
3
4
|
export declare function useKjunFeedback(): KjunFeedback;
|
|
4
|
-
export
|
|
5
|
-
children: ReactNode;
|
|
5
|
+
export interface KjunFeedbackProviderProps {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/** A feedback API from createKjunFeedback(), for calls outside components. */
|
|
6
8
|
controller?: KjunFeedback;
|
|
7
|
-
|
|
9
|
+
/** Stacks toasts at the top (default) or the bottom of the screen, right-aligned on wide screens; both keep clear of the safe area. */
|
|
10
|
+
placement?: ToastPlacement;
|
|
11
|
+
/** Extra px between the toasts and their edge, e.g. a bottom navigation's height. */
|
|
12
|
+
offset?: number;
|
|
13
|
+
/** How many toasts stay on screen at once (default 3); a fuller stack closes the oldest self-closing toast first. */
|
|
14
|
+
maxToasts?: number;
|
|
15
|
+
}
|
|
16
|
+
export declare function KjunFeedbackProvider({ children, controller: controllerProp, placement, offset, maxToasts }: KjunFeedbackProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
8
17
|
export type { ConfirmOptions, KjunFeedback, PromptOptions, ToastOptions } from "@kjun-ui/tokens";
|
|
9
18
|
/** An app-owned feedback API that plain functions can call; pass it to KjunFeedbackProvider controller. */
|
|
10
19
|
export { createKjunFeedback } from "@kjun-ui/tokens";
|
|
@@ -78,9 +78,18 @@ export interface KjunSparklineProps {
|
|
|
78
78
|
height?: number;
|
|
79
79
|
color?: string;
|
|
80
80
|
semantic?: "price" | "status";
|
|
81
|
+
/** "line" (default) draws the trend; "bar" draws each value as a bar from the baseline (or zero), values below it hanging down; the last bar takes the direction color. */
|
|
82
|
+
variant?: "line" | "bar";
|
|
81
83
|
fill?: boolean;
|
|
82
84
|
strokeWidth?: number;
|
|
83
85
|
stretch?: boolean;
|
|
86
|
+
/** Reference value (a previous close): a dotted line, the direction color and the area are measured from it. */
|
|
87
|
+
baseline?: number;
|
|
88
|
+
/** Fixed vertical range, so small moves stay small and rows share one scale. */
|
|
89
|
+
min?: number;
|
|
90
|
+
max?: number;
|
|
91
|
+
/** Marks the last value with a dot (line variant; default true). */
|
|
92
|
+
endDot?: boolean;
|
|
84
93
|
ariaLabel?: string;
|
|
85
94
|
}
|
|
86
|
-
export declare function KjunSparkline({ data, width, height, color, semantic, fill, strokeWidth, stretch, ariaLabel, }: KjunSparklineProps): import("react/jsx-runtime").JSX.Element;
|
|
95
|
+
export declare function KjunSparkline({ data, width, height, color, semantic, variant, fill, strokeWidth, stretch, baseline, min, max, endDot, ariaLabel, }: KjunSparklineProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -78,9 +78,18 @@ export interface KjunSparklineProps {
|
|
|
78
78
|
height?: number;
|
|
79
79
|
color?: string;
|
|
80
80
|
semantic?: "price" | "status";
|
|
81
|
+
/** "line" (default) draws the trend; "bar" draws each value as a bar from the baseline (or zero), values below it hanging down; the last bar takes the direction color. */
|
|
82
|
+
variant?: "line" | "bar";
|
|
81
83
|
fill?: boolean;
|
|
82
84
|
strokeWidth?: number;
|
|
83
85
|
stretch?: boolean;
|
|
86
|
+
/** Reference value (a previous close): a dotted line, the direction color and the area are measured from it. */
|
|
87
|
+
baseline?: number;
|
|
88
|
+
/** Fixed vertical range, so small moves stay small and rows share one scale. */
|
|
89
|
+
min?: number;
|
|
90
|
+
max?: number;
|
|
91
|
+
/** Marks the last value with a dot (line variant; default true). */
|
|
92
|
+
endDot?: boolean;
|
|
84
93
|
ariaLabel?: string;
|
|
85
94
|
}
|
|
86
|
-
export declare function KjunSparkline({ data, width, height, color, semantic, fill, strokeWidth, stretch, ariaLabel, }: KjunSparklineProps): import("react/jsx-runtime").JSX.Element;
|
|
95
|
+
export declare function KjunSparkline({ data, width, height, color, semantic, variant, fill, strokeWidth, stretch, baseline, min, max, endDot, ariaLabel, }: KjunSparklineProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { KjunCollectionMark, KjunDeviation, KjunExecutionStatusBadge, KjunHeatmapCell, KjunProgressCell, KjunSparkline } from "./financial-display.cjs";
|
|
2
2
|
export type { KjunCollectionMarkProps, KjunDeviationProps, KjunExecutionStatusBadgeProps, KjunHeatmapCellProps, KjunProgressCellProps, KjunSparklineProps } from "./financial-display.cjs";
|
|
3
|
-
export { KjunAnimatedNumber,
|
|
4
|
-
export type { KjunAnimatedNumberProps,
|
|
3
|
+
export { KjunAnimatedNumber, KjunPriceCell, KjunSignedValue, finiteNumber, useCountUp } from "./number-display.cjs";
|
|
4
|
+
export type { KjunAnimatedNumberProps, KjunPriceCellProps, KjunSignedValueProps } from "./number-display.cjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { KjunCollectionMark, KjunDeviation, KjunExecutionStatusBadge, KjunHeatmapCell, KjunProgressCell, KjunSparkline } from "./financial-display.js";
|
|
2
2
|
export type { KjunCollectionMarkProps, KjunDeviationProps, KjunExecutionStatusBadgeProps, KjunHeatmapCellProps, KjunProgressCellProps, KjunSparklineProps } from "./financial-display.js";
|
|
3
|
-
export { KjunAnimatedNumber,
|
|
4
|
-
export type { KjunAnimatedNumberProps,
|
|
3
|
+
export { KjunAnimatedNumber, KjunPriceCell, KjunSignedValue, finiteNumber, useCountUp } from "./number-display.js";
|
|
4
|
+
export type { KjunAnimatedNumberProps, KjunPriceCellProps, KjunSignedValueProps } from "./number-display.js";
|
|
@@ -12,18 +12,20 @@ export * from "./display.cjs";
|
|
|
12
12
|
export * from "./layout-primitives.cjs";
|
|
13
13
|
export * from "./feedback.cjs";
|
|
14
14
|
export * from "./controls.cjs";
|
|
15
|
-
export { KjunPopover, KjunTooltip, KjunDropdown, KjunDropdownItem, KjunDropdownDivider, KjunMenuButton, KjunDrawer, } from "./layers.cjs";
|
|
16
|
-
export type { KjunPopoverProps, KjunTooltipProps, KjunDropdownProps, KjunDropdownItemProps, KjunMenuButtonProps, KjunDrawerProps, } from "./layers.cjs";
|
|
17
|
-
export { KjunSelect, KjunCombobox, KjunSearchInput, KjunDatePicker } from "./select.cjs";
|
|
18
|
-
export type { KjunSelectProps, KjunComboboxProps, KjunSearchInputProps, KjunDatePickerProps, OptionValue, SelectOption, } from "./select.cjs";
|
|
15
|
+
export { KjunPopover, KjunTooltip, KjunDropdown, KjunDropdownItem, KjunDropdownDivider, KjunDropdownSection, KjunDropdownSubmenu, KjunMenuButton, KjunDrawer, } from "./layers.cjs";
|
|
16
|
+
export type { KjunPopoverProps, KjunTooltipProps, KjunDropdownProps, KjunDropdownItemProps, KjunDropdownSectionProps, KjunDropdownSubmenuProps, KjunMenuButtonProps, KjunDrawerProps, } from "./layers.cjs";
|
|
17
|
+
export { KjunSelect, KjunCombobox, KjunSearchInput, KjunDatePicker, KjunDateRangePicker } from "./select.cjs";
|
|
18
|
+
export type { KjunSelectProps, KjunComboboxProps, KjunSearchInputProps, KjunDatePickerProps, KjunDateRangePickerProps, DateRange, DateRangePreset, OptionValue, SelectOption, } from "./select.cjs";
|
|
19
19
|
export * from "./navigation.cjs";
|
|
20
20
|
export { KjunIconToggle, KjunCopyButton, KjunRefreshButton, KjunExternalLink, KjunScrollFade, } from "./actions.cjs";
|
|
21
21
|
export type { KjunIconToggleProps, KjunCopyButtonProps, KjunRefreshButtonProps, KjunExternalLinkProps, } from "./actions.cjs";
|
|
22
|
+
export { KjunCarousel } from "./carousel.cjs";
|
|
23
|
+
export type { KjunCarouselProps } from "./carousel.cjs";
|
|
22
24
|
export { KjunDataState, KjunErrorBoundary } from "./data-state.cjs";
|
|
23
25
|
export type { KjunDataStateProps, KjunErrorBoundaryProps } from "./data-state.cjs";
|
|
24
26
|
export * from "./skeletons.cjs";
|
|
25
|
-
export { KjunAnimatedNumber,
|
|
26
|
-
export type { KjunAnimatedNumberProps,
|
|
27
|
+
export { KjunAnimatedNumber, KjunPriceCell, KjunSignedValue, KjunDeviation, KjunHeatmapCell, KjunProgressCell, KjunCollectionMark, KjunExecutionStatusBadge, KjunSparkline, } from "./financial.cjs";
|
|
28
|
+
export type { KjunAnimatedNumberProps, KjunPriceCellProps, KjunSignedValueProps, KjunDeviationProps, KjunHeatmapCellProps, KjunProgressCellProps, KjunCollectionMarkProps, KjunExecutionStatusBadgeProps, KjunSparklineProps, } from "./financial.cjs";
|
|
27
29
|
export { KjunTable } from "./table.cjs";
|
|
28
30
|
export type { KjunTableProps, TableColumn, TableCardSection, TablePagination, TableSort, } from "./table.cjs";
|
|
29
31
|
export { KjunKpiHero, KjunKpiRow } from "./kpi.cjs";
|
|
@@ -40,3 +42,5 @@ export * from "./quantity-stepper.cjs";
|
|
|
40
42
|
export * from "./time-picker.cjs";
|
|
41
43
|
export type { ShadowLayer, ElevationRole, CardElevation } from "@kjun-ui/tokens";
|
|
42
44
|
export { kjunMessagesKo, kjunMessagesEn, type KjunMessages } from "../../../shared/package-runtime/messages/index.cjs";
|
|
45
|
+
export type { KjunSafeArea } from "../../../shared/package-runtime/safe-area.cjs";
|
|
46
|
+
export type { ToastPlacement } from "../../../shared/package-runtime/toast-placement.cjs";
|
|
@@ -12,18 +12,20 @@ export * from "./display.js";
|
|
|
12
12
|
export * from "./layout-primitives.js";
|
|
13
13
|
export * from "./feedback.js";
|
|
14
14
|
export * from "./controls.js";
|
|
15
|
-
export { KjunPopover, KjunTooltip, KjunDropdown, KjunDropdownItem, KjunDropdownDivider, KjunMenuButton, KjunDrawer, } from "./layers.js";
|
|
16
|
-
export type { KjunPopoverProps, KjunTooltipProps, KjunDropdownProps, KjunDropdownItemProps, KjunMenuButtonProps, KjunDrawerProps, } from "./layers.js";
|
|
17
|
-
export { KjunSelect, KjunCombobox, KjunSearchInput, KjunDatePicker } from "./select.js";
|
|
18
|
-
export type { KjunSelectProps, KjunComboboxProps, KjunSearchInputProps, KjunDatePickerProps, OptionValue, SelectOption, } from "./select.js";
|
|
15
|
+
export { KjunPopover, KjunTooltip, KjunDropdown, KjunDropdownItem, KjunDropdownDivider, KjunDropdownSection, KjunDropdownSubmenu, KjunMenuButton, KjunDrawer, } from "./layers.js";
|
|
16
|
+
export type { KjunPopoverProps, KjunTooltipProps, KjunDropdownProps, KjunDropdownItemProps, KjunDropdownSectionProps, KjunDropdownSubmenuProps, KjunMenuButtonProps, KjunDrawerProps, } from "./layers.js";
|
|
17
|
+
export { KjunSelect, KjunCombobox, KjunSearchInput, KjunDatePicker, KjunDateRangePicker } from "./select.js";
|
|
18
|
+
export type { KjunSelectProps, KjunComboboxProps, KjunSearchInputProps, KjunDatePickerProps, KjunDateRangePickerProps, DateRange, DateRangePreset, OptionValue, SelectOption, } from "./select.js";
|
|
19
19
|
export * from "./navigation.js";
|
|
20
20
|
export { KjunIconToggle, KjunCopyButton, KjunRefreshButton, KjunExternalLink, KjunScrollFade, } from "./actions.js";
|
|
21
21
|
export type { KjunIconToggleProps, KjunCopyButtonProps, KjunRefreshButtonProps, KjunExternalLinkProps, } from "./actions.js";
|
|
22
|
+
export { KjunCarousel } from "./carousel.js";
|
|
23
|
+
export type { KjunCarouselProps } from "./carousel.js";
|
|
22
24
|
export { KjunDataState, KjunErrorBoundary } from "./data-state.js";
|
|
23
25
|
export type { KjunDataStateProps, KjunErrorBoundaryProps } from "./data-state.js";
|
|
24
26
|
export * from "./skeletons.js";
|
|
25
|
-
export { KjunAnimatedNumber,
|
|
26
|
-
export type { KjunAnimatedNumberProps,
|
|
27
|
+
export { KjunAnimatedNumber, KjunPriceCell, KjunSignedValue, KjunDeviation, KjunHeatmapCell, KjunProgressCell, KjunCollectionMark, KjunExecutionStatusBadge, KjunSparkline, } from "./financial.js";
|
|
28
|
+
export type { KjunAnimatedNumberProps, KjunPriceCellProps, KjunSignedValueProps, KjunDeviationProps, KjunHeatmapCellProps, KjunProgressCellProps, KjunCollectionMarkProps, KjunExecutionStatusBadgeProps, KjunSparklineProps, } from "./financial.js";
|
|
27
29
|
export { KjunTable } from "./table.js";
|
|
28
30
|
export type { KjunTableProps, TableColumn, TableCardSection, TablePagination, TableSort, } from "./table.js";
|
|
29
31
|
export { KjunKpiHero, KjunKpiRow } from "./kpi.js";
|
|
@@ -40,3 +42,5 @@ export * from "./quantity-stepper.js";
|
|
|
40
42
|
export * from "./time-picker.js";
|
|
41
43
|
export type { ShadowLayer, ElevationRole, CardElevation } from "@kjun-ui/tokens";
|
|
42
44
|
export { kjunMessagesKo, kjunMessagesEn, type KjunMessages } from "../../../shared/package-runtime/messages/index.js";
|
|
45
|
+
export type { KjunSafeArea } from "../../../shared/package-runtime/safe-area.js";
|
|
46
|
+
export type { ToastPlacement } from "../../../shared/package-runtime/toast-placement.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { FloatingPanel, type Placement } from "./floating-panel.cjs";
|
|
2
2
|
export { KjunPopover, KjunTooltip, type KjunPopoverProps, type KjunTooltipProps } from "./popover.cjs";
|
|
3
|
-
export { KjunDropdown, KjunDropdownItem, KjunDropdownDivider, KjunMenuButton, type KjunDropdownProps, type KjunDropdownItemProps, type KjunMenuButtonProps } from "./dropdown.cjs";
|
|
3
|
+
export { KjunDropdown, KjunDropdownItem, KjunDropdownDivider, KjunDropdownSection, KjunDropdownSubmenu, KjunMenuButton, type KjunDropdownProps, type KjunDropdownItemProps, type KjunDropdownSectionProps, type KjunDropdownSubmenuProps, type KjunMenuButtonProps } from "./dropdown.cjs";
|
|
4
4
|
export { KjunDrawer, type KjunDrawerProps } from "./drawer.cjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { FloatingPanel, type Placement } from "./floating-panel.js";
|
|
2
2
|
export { KjunPopover, KjunTooltip, type KjunPopoverProps, type KjunTooltipProps } from "./popover.js";
|
|
3
|
-
export { KjunDropdown, KjunDropdownItem, KjunDropdownDivider, KjunMenuButton, type KjunDropdownProps, type KjunDropdownItemProps, type KjunMenuButtonProps } from "./dropdown.js";
|
|
3
|
+
export { KjunDropdown, KjunDropdownItem, KjunDropdownDivider, KjunDropdownSection, KjunDropdownSubmenu, KjunMenuButton, type KjunDropdownProps, type KjunDropdownItemProps, type KjunDropdownSectionProps, type KjunDropdownSubmenuProps, type KjunMenuButtonProps } from "./dropdown.js";
|
|
4
4
|
export { KjunDrawer, type KjunDrawerProps } from "./drawer.js";
|
|
@@ -27,11 +27,11 @@ export declare function KjunText({ variant, tone, as, align, maxLines, className
|
|
|
27
27
|
style: CSSProperties | undefined;
|
|
28
28
|
id?: string;
|
|
29
29
|
"aria-activedescendant"?: string | undefined;
|
|
30
|
-
"aria-atomic"?: (boolean | "
|
|
30
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
31
31
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
32
32
|
"aria-braillelabel"?: string | undefined;
|
|
33
33
|
"aria-brailleroledescription"?: string | undefined;
|
|
34
|
-
"aria-busy"?: (boolean | "
|
|
34
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
35
35
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
36
36
|
"aria-colcount"?: number | undefined;
|
|
37
37
|
"aria-colindex"?: number | undefined;
|
|
@@ -42,37 +42,37 @@ export declare function KjunText({ variant, tone, as, align, maxLines, className
|
|
|
42
42
|
"aria-describedby"?: string | undefined;
|
|
43
43
|
"aria-description"?: string | undefined;
|
|
44
44
|
"aria-details"?: string | undefined;
|
|
45
|
-
"aria-disabled"?: (boolean | "
|
|
45
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
46
46
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
47
47
|
"aria-errormessage"?: string | undefined;
|
|
48
|
-
"aria-expanded"?: (boolean | "
|
|
48
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
49
49
|
"aria-flowto"?: string | undefined;
|
|
50
|
-
"aria-grabbed"?: (boolean | "
|
|
50
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
51
51
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
52
|
-
"aria-hidden"?: (boolean | "
|
|
52
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
53
53
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
54
54
|
"aria-keyshortcuts"?: string | undefined;
|
|
55
55
|
"aria-label"?: string | undefined;
|
|
56
56
|
"aria-labelledby"?: string | undefined;
|
|
57
57
|
"aria-level"?: number | undefined;
|
|
58
58
|
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
59
|
-
"aria-modal"?: (boolean | "
|
|
60
|
-
"aria-multiline"?: (boolean | "
|
|
61
|
-
"aria-multiselectable"?: (boolean | "
|
|
59
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
60
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
61
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
62
62
|
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
63
63
|
"aria-owns"?: string | undefined;
|
|
64
64
|
"aria-placeholder"?: string | undefined;
|
|
65
65
|
"aria-posinset"?: number | undefined;
|
|
66
66
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
67
|
-
"aria-readonly"?: (boolean | "
|
|
67
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
68
68
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
69
|
-
"aria-required"?: (boolean | "
|
|
69
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
70
70
|
"aria-roledescription"?: string | undefined;
|
|
71
71
|
"aria-rowcount"?: number | undefined;
|
|
72
72
|
"aria-rowindex"?: number | undefined;
|
|
73
73
|
"aria-rowindextext"?: string | undefined;
|
|
74
74
|
"aria-rowspan"?: number | undefined;
|
|
75
|
-
"aria-selected"?: (boolean | "
|
|
75
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
76
76
|
"aria-setsize"?: number | undefined;
|
|
77
77
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
78
78
|
"aria-valuemax"?: number | undefined;
|
|
@@ -98,11 +98,11 @@ export declare function KjunStack({ gap, align, as, className, style, children,
|
|
|
98
98
|
"data-align": StackAlign;
|
|
99
99
|
id?: string;
|
|
100
100
|
"aria-activedescendant"?: string | undefined;
|
|
101
|
-
"aria-atomic"?: (boolean | "
|
|
101
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
102
102
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
103
103
|
"aria-braillelabel"?: string | undefined;
|
|
104
104
|
"aria-brailleroledescription"?: string | undefined;
|
|
105
|
-
"aria-busy"?: (boolean | "
|
|
105
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
106
106
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
107
107
|
"aria-colcount"?: number | undefined;
|
|
108
108
|
"aria-colindex"?: number | undefined;
|
|
@@ -113,37 +113,37 @@ export declare function KjunStack({ gap, align, as, className, style, children,
|
|
|
113
113
|
"aria-describedby"?: string | undefined;
|
|
114
114
|
"aria-description"?: string | undefined;
|
|
115
115
|
"aria-details"?: string | undefined;
|
|
116
|
-
"aria-disabled"?: (boolean | "
|
|
116
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
117
117
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
118
118
|
"aria-errormessage"?: string | undefined;
|
|
119
|
-
"aria-expanded"?: (boolean | "
|
|
119
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
120
120
|
"aria-flowto"?: string | undefined;
|
|
121
|
-
"aria-grabbed"?: (boolean | "
|
|
121
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
122
122
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
123
|
-
"aria-hidden"?: (boolean | "
|
|
123
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
124
124
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
125
125
|
"aria-keyshortcuts"?: string | undefined;
|
|
126
126
|
"aria-label"?: string | undefined;
|
|
127
127
|
"aria-labelledby"?: string | undefined;
|
|
128
128
|
"aria-level"?: number | undefined;
|
|
129
129
|
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
130
|
-
"aria-modal"?: (boolean | "
|
|
131
|
-
"aria-multiline"?: (boolean | "
|
|
132
|
-
"aria-multiselectable"?: (boolean | "
|
|
130
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
131
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
132
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
133
133
|
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
134
134
|
"aria-owns"?: string | undefined;
|
|
135
135
|
"aria-placeholder"?: string | undefined;
|
|
136
136
|
"aria-posinset"?: number | undefined;
|
|
137
137
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
138
|
-
"aria-readonly"?: (boolean | "
|
|
138
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
139
139
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
140
|
-
"aria-required"?: (boolean | "
|
|
140
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
141
141
|
"aria-roledescription"?: string | undefined;
|
|
142
142
|
"aria-rowcount"?: number | undefined;
|
|
143
143
|
"aria-rowindex"?: number | undefined;
|
|
144
144
|
"aria-rowindextext"?: string | undefined;
|
|
145
145
|
"aria-rowspan"?: number | undefined;
|
|
146
|
-
"aria-selected"?: (boolean | "
|
|
146
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
147
147
|
"aria-setsize"?: number | undefined;
|
|
148
148
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
149
149
|
"aria-valuemax"?: number | undefined;
|