@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
|
@@ -35,8 +35,7 @@ export declare function keyboardEvents(os: string): {
|
|
|
35
35
|
export declare function keyboardOverlap(rootHeight: number, keyboardScreenY: number): number;
|
|
36
36
|
export declare function drawerFrame({ position, windowHeight, safeAreaTop, safeAreaBottom, gap, keyboard, maxHeight }: DrawerFrameInput): DrawerFrame;
|
|
37
37
|
/** Web overlay variables read by the drawer CSS (tokens controls.css). */
|
|
38
|
-
export declare function drawerOverlayVars({
|
|
39
|
-
|
|
40
|
-
safeAreaBottom?: number;
|
|
38
|
+
export declare function drawerOverlayVars({ safeArea, maxHeight }: {
|
|
39
|
+
safeArea?: boolean;
|
|
41
40
|
maxHeight?: number;
|
|
42
41
|
}): Record<string, string>;
|
|
@@ -35,8 +35,7 @@ export declare function keyboardEvents(os: string): {
|
|
|
35
35
|
export declare function keyboardOverlap(rootHeight: number, keyboardScreenY: number): number;
|
|
36
36
|
export declare function drawerFrame({ position, windowHeight, safeAreaTop, safeAreaBottom, gap, keyboard, maxHeight }: DrawerFrameInput): DrawerFrame;
|
|
37
37
|
/** Web overlay variables read by the drawer CSS (tokens controls.css). */
|
|
38
|
-
export declare function drawerOverlayVars({
|
|
39
|
-
|
|
40
|
-
safeAreaBottom?: number;
|
|
38
|
+
export declare function drawerOverlayVars({ safeArea, maxHeight }: {
|
|
39
|
+
safeArea?: boolean;
|
|
41
40
|
maxHeight?: number;
|
|
42
41
|
}): Record<string, string>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { type KjunMessages } from "./messages/index.cjs";
|
|
2
2
|
import type { createFeedbackController, ConfirmOptions, FeedbackRequest, PromptOptions } from "@kjun-ui/tokens";
|
|
3
3
|
export declare function useFeedbackDialog(controller: ReturnType<typeof createFeedbackController>, request: FeedbackRequest, messages?: KjunMessages): {
|
|
4
|
-
|
|
4
|
+
ready: boolean;
|
|
5
|
+
edit: (next: string) => void;
|
|
6
|
+
cancel: () => void;
|
|
7
|
+
submit: () => Promise<void>;
|
|
5
8
|
value: string;
|
|
6
9
|
error: string;
|
|
7
10
|
busy: boolean;
|
|
8
|
-
|
|
9
|
-
cancel(): void;
|
|
10
|
-
submit(): Promise<void>;
|
|
11
|
+
options: PromptOptions & Omit<ConfirmOptions, "onConfirm">;
|
|
11
12
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { type KjunMessages } from "./messages/index.js";
|
|
2
2
|
import type { createFeedbackController, ConfirmOptions, FeedbackRequest, PromptOptions } from "@kjun-ui/tokens";
|
|
3
3
|
export declare function useFeedbackDialog(controller: ReturnType<typeof createFeedbackController>, request: FeedbackRequest, messages?: KjunMessages): {
|
|
4
|
-
|
|
4
|
+
ready: boolean;
|
|
5
|
+
edit: (next: string) => void;
|
|
6
|
+
cancel: () => void;
|
|
7
|
+
submit: () => Promise<void>;
|
|
5
8
|
value: string;
|
|
6
9
|
error: string;
|
|
7
10
|
busy: boolean;
|
|
8
|
-
|
|
9
|
-
cancel(): void;
|
|
10
|
-
submit(): Promise<void>;
|
|
11
|
+
options: PromptOptions & Omit<ConfirmOptions, "onConfirm">;
|
|
11
12
|
};
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import type { FeedbackRequest, ToastItem } from "@kjun-ui/tokens";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exiting: boolean;
|
|
5
|
-
born: number;
|
|
6
|
-
}
|
|
2
|
+
import { type PresentedToast } from "./toast-presence.cjs";
|
|
3
|
+
export type { PresentedToast };
|
|
7
4
|
export declare function usePresentedToasts(toasts: ToastItem[], reduced: boolean): PresentedToast[];
|
|
8
5
|
export declare function usePresentedRequest(current: FeedbackRequest | null, reduced: boolean): {
|
|
9
6
|
request: FeedbackRequest | null;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import type { FeedbackRequest, ToastItem } from "@kjun-ui/tokens";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exiting: boolean;
|
|
5
|
-
born: number;
|
|
6
|
-
}
|
|
2
|
+
import { type PresentedToast } from "./toast-presence.js";
|
|
3
|
+
export type { PresentedToast };
|
|
7
4
|
export declare function usePresentedToasts(toasts: ToastItem[], reduced: boolean): PresentedToast[];
|
|
8
5
|
export declare function usePresentedRequest(current: FeedbackRequest | null, reduced: boolean): {
|
|
9
6
|
request: FeedbackRequest | null;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { KjunMessages } from "./messages/index.cjs";
|
|
2
|
+
/** The text a prompt shows when its onConfirm throws: the error's message, or the generic invalid-input copy. */
|
|
3
|
+
export declare function feedbackErrorText(reason: unknown, messages: KjunMessages): string;
|
|
4
|
+
/** Splits a label around the value it quotes, so the value can be set in bold ("Type <b>name</b> to confirm"). */
|
|
5
|
+
export declare function splitAround(text: string, part: string): [
|
|
6
|
+
string,
|
|
7
|
+
string,
|
|
8
|
+
string
|
|
9
|
+
];
|
|
10
|
+
/** How long typing must pause before a prompt with validateOn: "change" checks its value. */
|
|
11
|
+
export declare const promptValidateDelay = 400;
|
|
12
|
+
/** Typed text and the expected text match regardless of surrounding spaces or how Hangul was composed (NFC/NFD). */
|
|
13
|
+
export declare const sameText: (a: string, b: string) => boolean;
|
|
14
|
+
/** User-perceived characters, so an emoji or a composed sequence counts once. */
|
|
15
|
+
export declare function graphemeCount(text: string): number;
|
|
16
|
+
export interface FeedbackDialogState {
|
|
17
|
+
value: string;
|
|
18
|
+
error: string;
|
|
19
|
+
busy: boolean;
|
|
20
|
+
}
|
|
21
|
+
type Settle = (value: string | boolean | null, reason?: unknown, id?: number) => void;
|
|
22
|
+
interface SessionController {
|
|
23
|
+
getSnapshot(): {
|
|
24
|
+
current?: {
|
|
25
|
+
id: number;
|
|
26
|
+
} | null;
|
|
27
|
+
};
|
|
28
|
+
settle: Settle;
|
|
29
|
+
}
|
|
30
|
+
interface SessionOptions {
|
|
31
|
+
kind: "confirm" | "prompt";
|
|
32
|
+
id: number;
|
|
33
|
+
options: Record<string, unknown> & {
|
|
34
|
+
validator?: (value: string) => boolean | string | Promise<boolean | string>;
|
|
35
|
+
onConfirm?: (value?: string) => unknown;
|
|
36
|
+
requiredValue?: string;
|
|
37
|
+
allowEmpty?: boolean;
|
|
38
|
+
validateOn?: "submit" | "change";
|
|
39
|
+
};
|
|
40
|
+
controller: SessionController;
|
|
41
|
+
messages: KjunMessages;
|
|
42
|
+
get: () => FeedbackDialogState;
|
|
43
|
+
set: (patch: Partial<FeedbackDialogState>) => void;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The confirm/prompt dialog's behaviour without a framework: React, Native and Vue keep the state and call these.
|
|
47
|
+
* Failures from onConfirm stay in the dialog (field error for prompts, a message line for confirms) so the user can
|
|
48
|
+
* retry or cancel; only Cancel, Escape or a success settle the request.
|
|
49
|
+
*/
|
|
50
|
+
export declare function createFeedbackSession({ kind, id, options, controller, messages, get, set }: SessionOptions): {
|
|
51
|
+
/** Confirm turns on once a required value matches, a prompt is not empty (unless allowed) and no live error shows. */
|
|
52
|
+
ready(state: FeedbackDialogState): boolean;
|
|
53
|
+
edit(next: string): void;
|
|
54
|
+
cancel(): void;
|
|
55
|
+
submit(): Promise<void>;
|
|
56
|
+
dispose(): void;
|
|
57
|
+
};
|
|
58
|
+
export {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { KjunMessages } from "./messages/index.js";
|
|
2
|
+
/** The text a prompt shows when its onConfirm throws: the error's message, or the generic invalid-input copy. */
|
|
3
|
+
export declare function feedbackErrorText(reason: unknown, messages: KjunMessages): string;
|
|
4
|
+
/** Splits a label around the value it quotes, so the value can be set in bold ("Type <b>name</b> to confirm"). */
|
|
5
|
+
export declare function splitAround(text: string, part: string): [
|
|
6
|
+
string,
|
|
7
|
+
string,
|
|
8
|
+
string
|
|
9
|
+
];
|
|
10
|
+
/** How long typing must pause before a prompt with validateOn: "change" checks its value. */
|
|
11
|
+
export declare const promptValidateDelay = 400;
|
|
12
|
+
/** Typed text and the expected text match regardless of surrounding spaces or how Hangul was composed (NFC/NFD). */
|
|
13
|
+
export declare const sameText: (a: string, b: string) => boolean;
|
|
14
|
+
/** User-perceived characters, so an emoji or a composed sequence counts once. */
|
|
15
|
+
export declare function graphemeCount(text: string): number;
|
|
16
|
+
export interface FeedbackDialogState {
|
|
17
|
+
value: string;
|
|
18
|
+
error: string;
|
|
19
|
+
busy: boolean;
|
|
20
|
+
}
|
|
21
|
+
type Settle = (value: string | boolean | null, reason?: unknown, id?: number) => void;
|
|
22
|
+
interface SessionController {
|
|
23
|
+
getSnapshot(): {
|
|
24
|
+
current?: {
|
|
25
|
+
id: number;
|
|
26
|
+
} | null;
|
|
27
|
+
};
|
|
28
|
+
settle: Settle;
|
|
29
|
+
}
|
|
30
|
+
interface SessionOptions {
|
|
31
|
+
kind: "confirm" | "prompt";
|
|
32
|
+
id: number;
|
|
33
|
+
options: Record<string, unknown> & {
|
|
34
|
+
validator?: (value: string) => boolean | string | Promise<boolean | string>;
|
|
35
|
+
onConfirm?: (value?: string) => unknown;
|
|
36
|
+
requiredValue?: string;
|
|
37
|
+
allowEmpty?: boolean;
|
|
38
|
+
validateOn?: "submit" | "change";
|
|
39
|
+
};
|
|
40
|
+
controller: SessionController;
|
|
41
|
+
messages: KjunMessages;
|
|
42
|
+
get: () => FeedbackDialogState;
|
|
43
|
+
set: (patch: Partial<FeedbackDialogState>) => void;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The confirm/prompt dialog's behaviour without a framework: React, Native and Vue keep the state and call these.
|
|
47
|
+
* Failures from onConfirm stay in the dialog (field error for prompts, a message line for confirms) so the user can
|
|
48
|
+
* retry or cancel; only Cancel, Escape or a success settle the request.
|
|
49
|
+
*/
|
|
50
|
+
export declare function createFeedbackSession({ kind, id, options, controller, messages, get, set }: SessionOptions): {
|
|
51
|
+
/** Confirm turns on once a required value matches, a prompt is not empty (unless allowed) and no live error shows. */
|
|
52
|
+
ready(state: FeedbackDialogState): boolean;
|
|
53
|
+
edit(next: string): void;
|
|
54
|
+
cancel(): void;
|
|
55
|
+
submit(): Promise<void>;
|
|
56
|
+
dispose(): void;
|
|
57
|
+
};
|
|
58
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type ListRowKind = "switch" | "radio" | "link" | "button" | "static";
|
|
2
|
+
export declare function listRowKind({ checked, selected, href, pressable }: {
|
|
3
|
+
checked?: boolean;
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
href?: string;
|
|
6
|
+
pressable: boolean;
|
|
7
|
+
}): ListRowKind;
|
|
8
|
+
/** One development warning when a row is given props that cannot apply together. */
|
|
9
|
+
export declare function warnListRowProps({ checked, selected, href, chevron }: {
|
|
10
|
+
checked?: boolean;
|
|
11
|
+
selected?: boolean;
|
|
12
|
+
href?: string;
|
|
13
|
+
chevron?: boolean;
|
|
14
|
+
}): void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type ListRowKind = "switch" | "radio" | "link" | "button" | "static";
|
|
2
|
+
export declare function listRowKind({ checked, selected, href, pressable }: {
|
|
3
|
+
checked?: boolean;
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
href?: string;
|
|
6
|
+
pressable: boolean;
|
|
7
|
+
}): ListRowKind;
|
|
8
|
+
/** One development warning when a row is given props that cannot apply together. */
|
|
9
|
+
export declare function warnListRowProps({ checked, selected, href, chevron }: {
|
|
10
|
+
checked?: boolean;
|
|
11
|
+
selected?: boolean;
|
|
12
|
+
href?: string;
|
|
13
|
+
chevron?: boolean;
|
|
14
|
+
}): void;
|
|
@@ -4,13 +4,20 @@ export declare const kjunMessagesKo: {
|
|
|
4
4
|
save: string;
|
|
5
5
|
close: string;
|
|
6
6
|
closeNotification: string;
|
|
7
|
+
notifications: string;
|
|
8
|
+
moreNotifications: (count: number) => string;
|
|
9
|
+
showNotifications: string;
|
|
10
|
+
collapseNotifications: string;
|
|
7
11
|
confirmTitle: string;
|
|
8
12
|
promptTitle: string;
|
|
9
13
|
invalidInput: string;
|
|
14
|
+
typeToConfirm: (value: string) => string;
|
|
10
15
|
dialog: string;
|
|
11
16
|
panel: string;
|
|
12
17
|
details: string;
|
|
18
|
+
dismiss: string;
|
|
13
19
|
menu: string;
|
|
20
|
+
back: string;
|
|
14
21
|
remove: (label: string) => string;
|
|
15
22
|
user: string;
|
|
16
23
|
loading: string;
|
|
@@ -45,10 +52,29 @@ export declare const kjunMessagesKo: {
|
|
|
45
52
|
weekdays: string;
|
|
46
53
|
previousMonth: string;
|
|
47
54
|
nextMonth: string;
|
|
55
|
+
previousYear: string;
|
|
56
|
+
nextYear: string;
|
|
57
|
+
chooseMonth: string;
|
|
58
|
+
chooseYear: string;
|
|
59
|
+
clearDates: string;
|
|
60
|
+
rangeStartDay: string;
|
|
61
|
+
rangeEndDay: string;
|
|
62
|
+
inRangeDay: string;
|
|
63
|
+
chooseEndDate: string;
|
|
64
|
+
today: string;
|
|
65
|
+
apply: string;
|
|
66
|
+
rangePlaceholder: string;
|
|
67
|
+
yearTitle: (year: number) => string;
|
|
68
|
+
monthName: (month: number) => string;
|
|
69
|
+
dateLabel: (year: number, month: number, day: number, weekday: number) => string;
|
|
48
70
|
time: string;
|
|
71
|
+
period: string;
|
|
72
|
+
am: string;
|
|
73
|
+
pm: string;
|
|
49
74
|
hour: string;
|
|
50
75
|
minute: string;
|
|
51
76
|
second: string;
|
|
77
|
+
timePlaceholder: string;
|
|
52
78
|
value: string;
|
|
53
79
|
minimum: string;
|
|
54
80
|
maximum: string;
|
|
@@ -65,21 +91,32 @@ export declare const kjunMessagesKo: {
|
|
|
65
91
|
externalLink: string;
|
|
66
92
|
newWindow: string;
|
|
67
93
|
dataTable: string;
|
|
68
|
-
selectRow: (row: number) => string;
|
|
94
|
+
selectRow: (row: number | string) => string;
|
|
69
95
|
selectAll: string;
|
|
70
96
|
selectAllPartial: string;
|
|
71
97
|
deselectAll: string;
|
|
72
98
|
selectionActions: string;
|
|
73
99
|
selectedItems: (count: number) => string;
|
|
100
|
+
tableSubtotal: string;
|
|
101
|
+
tableTotal: string;
|
|
102
|
+
groupCount: (count: number) => string;
|
|
103
|
+
toggleGroup: (label: string, open: boolean) => string;
|
|
74
104
|
searchTable: string;
|
|
75
105
|
expandRow: string;
|
|
76
106
|
collapse: string;
|
|
77
107
|
showDetails: string;
|
|
78
108
|
ascending: string;
|
|
109
|
+
sortBy: string;
|
|
110
|
+
defaultOrder: string;
|
|
79
111
|
descending: string;
|
|
80
112
|
tabs: string;
|
|
113
|
+
showPath: string;
|
|
81
114
|
breadcrumb: string;
|
|
82
115
|
mainNavigation: string;
|
|
116
|
+
newCount: (count: number) => string;
|
|
117
|
+
saving: string;
|
|
118
|
+
charactersLeft: (count: number) => string;
|
|
119
|
+
newContent: string;
|
|
83
120
|
pagination: string;
|
|
84
121
|
itemsPerPage: string;
|
|
85
122
|
perPage: (count: number) => string;
|
|
@@ -89,6 +126,13 @@ export declare const kjunMessagesKo: {
|
|
|
89
126
|
previousPage: string;
|
|
90
127
|
nextPage: string;
|
|
91
128
|
lastPage: string;
|
|
129
|
+
carousel: string;
|
|
130
|
+
slide: string;
|
|
131
|
+
slides: string;
|
|
132
|
+
previousSlide: string;
|
|
133
|
+
nextSlide: string;
|
|
134
|
+
goToSlide: (slide: number) => string;
|
|
135
|
+
slideOf: (slide: number, total: number) => string;
|
|
92
136
|
marketData: string;
|
|
93
137
|
metrics: string;
|
|
94
138
|
watchToggle: (name: string, active: boolean) => string;
|
|
@@ -96,10 +140,6 @@ export declare const kjunMessagesKo: {
|
|
|
96
140
|
lastUpdated: string;
|
|
97
141
|
unitLabel: string;
|
|
98
142
|
totalCount: (count: number, unit: string) => string;
|
|
99
|
-
closePrice: string;
|
|
100
|
-
delayed: string;
|
|
101
|
-
noRealtimeQuote: string;
|
|
102
|
-
realtimeDelayed: string;
|
|
103
143
|
arbitrage: string;
|
|
104
144
|
deviationWarning: (threshold: number) => string;
|
|
105
145
|
statusQueued: string;
|
|
@@ -4,13 +4,20 @@ export declare const kjunMessagesKo: {
|
|
|
4
4
|
save: string;
|
|
5
5
|
close: string;
|
|
6
6
|
closeNotification: string;
|
|
7
|
+
notifications: string;
|
|
8
|
+
moreNotifications: (count: number) => string;
|
|
9
|
+
showNotifications: string;
|
|
10
|
+
collapseNotifications: string;
|
|
7
11
|
confirmTitle: string;
|
|
8
12
|
promptTitle: string;
|
|
9
13
|
invalidInput: string;
|
|
14
|
+
typeToConfirm: (value: string) => string;
|
|
10
15
|
dialog: string;
|
|
11
16
|
panel: string;
|
|
12
17
|
details: string;
|
|
18
|
+
dismiss: string;
|
|
13
19
|
menu: string;
|
|
20
|
+
back: string;
|
|
14
21
|
remove: (label: string) => string;
|
|
15
22
|
user: string;
|
|
16
23
|
loading: string;
|
|
@@ -45,10 +52,29 @@ export declare const kjunMessagesKo: {
|
|
|
45
52
|
weekdays: string;
|
|
46
53
|
previousMonth: string;
|
|
47
54
|
nextMonth: string;
|
|
55
|
+
previousYear: string;
|
|
56
|
+
nextYear: string;
|
|
57
|
+
chooseMonth: string;
|
|
58
|
+
chooseYear: string;
|
|
59
|
+
clearDates: string;
|
|
60
|
+
rangeStartDay: string;
|
|
61
|
+
rangeEndDay: string;
|
|
62
|
+
inRangeDay: string;
|
|
63
|
+
chooseEndDate: string;
|
|
64
|
+
today: string;
|
|
65
|
+
apply: string;
|
|
66
|
+
rangePlaceholder: string;
|
|
67
|
+
yearTitle: (year: number) => string;
|
|
68
|
+
monthName: (month: number) => string;
|
|
69
|
+
dateLabel: (year: number, month: number, day: number, weekday: number) => string;
|
|
48
70
|
time: string;
|
|
71
|
+
period: string;
|
|
72
|
+
am: string;
|
|
73
|
+
pm: string;
|
|
49
74
|
hour: string;
|
|
50
75
|
minute: string;
|
|
51
76
|
second: string;
|
|
77
|
+
timePlaceholder: string;
|
|
52
78
|
value: string;
|
|
53
79
|
minimum: string;
|
|
54
80
|
maximum: string;
|
|
@@ -65,21 +91,32 @@ export declare const kjunMessagesKo: {
|
|
|
65
91
|
externalLink: string;
|
|
66
92
|
newWindow: string;
|
|
67
93
|
dataTable: string;
|
|
68
|
-
selectRow: (row: number) => string;
|
|
94
|
+
selectRow: (row: number | string) => string;
|
|
69
95
|
selectAll: string;
|
|
70
96
|
selectAllPartial: string;
|
|
71
97
|
deselectAll: string;
|
|
72
98
|
selectionActions: string;
|
|
73
99
|
selectedItems: (count: number) => string;
|
|
100
|
+
tableSubtotal: string;
|
|
101
|
+
tableTotal: string;
|
|
102
|
+
groupCount: (count: number) => string;
|
|
103
|
+
toggleGroup: (label: string, open: boolean) => string;
|
|
74
104
|
searchTable: string;
|
|
75
105
|
expandRow: string;
|
|
76
106
|
collapse: string;
|
|
77
107
|
showDetails: string;
|
|
78
108
|
ascending: string;
|
|
109
|
+
sortBy: string;
|
|
110
|
+
defaultOrder: string;
|
|
79
111
|
descending: string;
|
|
80
112
|
tabs: string;
|
|
113
|
+
showPath: string;
|
|
81
114
|
breadcrumb: string;
|
|
82
115
|
mainNavigation: string;
|
|
116
|
+
newCount: (count: number) => string;
|
|
117
|
+
saving: string;
|
|
118
|
+
charactersLeft: (count: number) => string;
|
|
119
|
+
newContent: string;
|
|
83
120
|
pagination: string;
|
|
84
121
|
itemsPerPage: string;
|
|
85
122
|
perPage: (count: number) => string;
|
|
@@ -89,6 +126,13 @@ export declare const kjunMessagesKo: {
|
|
|
89
126
|
previousPage: string;
|
|
90
127
|
nextPage: string;
|
|
91
128
|
lastPage: string;
|
|
129
|
+
carousel: string;
|
|
130
|
+
slide: string;
|
|
131
|
+
slides: string;
|
|
132
|
+
previousSlide: string;
|
|
133
|
+
nextSlide: string;
|
|
134
|
+
goToSlide: (slide: number) => string;
|
|
135
|
+
slideOf: (slide: number, total: number) => string;
|
|
92
136
|
marketData: string;
|
|
93
137
|
metrics: string;
|
|
94
138
|
watchToggle: (name: string, active: boolean) => string;
|
|
@@ -96,10 +140,6 @@ export declare const kjunMessagesKo: {
|
|
|
96
140
|
lastUpdated: string;
|
|
97
141
|
unitLabel: string;
|
|
98
142
|
totalCount: (count: number, unit: string) => string;
|
|
99
|
-
closePrice: string;
|
|
100
|
-
delayed: string;
|
|
101
|
-
noRealtimeQuote: string;
|
|
102
|
-
realtimeDelayed: string;
|
|
103
143
|
arbitrage: string;
|
|
104
144
|
deviationWarning: (threshold: number) => string;
|
|
105
145
|
statusQueued: string;
|
|
@@ -13,13 +13,20 @@ export declare const useKjunMessages: () => {
|
|
|
13
13
|
save: string;
|
|
14
14
|
close: string;
|
|
15
15
|
closeNotification: string;
|
|
16
|
+
notifications: string;
|
|
17
|
+
moreNotifications: (count: number) => string;
|
|
18
|
+
showNotifications: string;
|
|
19
|
+
collapseNotifications: string;
|
|
16
20
|
confirmTitle: string;
|
|
17
21
|
promptTitle: string;
|
|
18
22
|
invalidInput: string;
|
|
23
|
+
typeToConfirm: (value: string) => string;
|
|
19
24
|
dialog: string;
|
|
20
25
|
panel: string;
|
|
21
26
|
details: string;
|
|
27
|
+
dismiss: string;
|
|
22
28
|
menu: string;
|
|
29
|
+
back: string;
|
|
23
30
|
remove: (label: string) => string;
|
|
24
31
|
user: string;
|
|
25
32
|
loading: string;
|
|
@@ -54,10 +61,29 @@ export declare const useKjunMessages: () => {
|
|
|
54
61
|
weekdays: string;
|
|
55
62
|
previousMonth: string;
|
|
56
63
|
nextMonth: string;
|
|
64
|
+
previousYear: string;
|
|
65
|
+
nextYear: string;
|
|
66
|
+
chooseMonth: string;
|
|
67
|
+
chooseYear: string;
|
|
68
|
+
clearDates: string;
|
|
69
|
+
rangeStartDay: string;
|
|
70
|
+
rangeEndDay: string;
|
|
71
|
+
inRangeDay: string;
|
|
72
|
+
chooseEndDate: string;
|
|
73
|
+
today: string;
|
|
74
|
+
apply: string;
|
|
75
|
+
rangePlaceholder: string;
|
|
76
|
+
yearTitle: (year: number) => string;
|
|
77
|
+
monthName: (month: number) => string;
|
|
78
|
+
dateLabel: (year: number, month: number, day: number, weekday: number) => string;
|
|
57
79
|
time: string;
|
|
80
|
+
period: string;
|
|
81
|
+
am: string;
|
|
82
|
+
pm: string;
|
|
58
83
|
hour: string;
|
|
59
84
|
minute: string;
|
|
60
85
|
second: string;
|
|
86
|
+
timePlaceholder: string;
|
|
61
87
|
value: string;
|
|
62
88
|
minimum: string;
|
|
63
89
|
maximum: string;
|
|
@@ -74,21 +100,32 @@ export declare const useKjunMessages: () => {
|
|
|
74
100
|
externalLink: string;
|
|
75
101
|
newWindow: string;
|
|
76
102
|
dataTable: string;
|
|
77
|
-
selectRow: (row: number) => string;
|
|
103
|
+
selectRow: (row: number | string) => string;
|
|
78
104
|
selectAll: string;
|
|
79
105
|
selectAllPartial: string;
|
|
80
106
|
deselectAll: string;
|
|
81
107
|
selectionActions: string;
|
|
82
108
|
selectedItems: (count: number) => string;
|
|
109
|
+
tableSubtotal: string;
|
|
110
|
+
tableTotal: string;
|
|
111
|
+
groupCount: (count: number) => string;
|
|
112
|
+
toggleGroup: (label: string, open: boolean) => string;
|
|
83
113
|
searchTable: string;
|
|
84
114
|
expandRow: string;
|
|
85
115
|
collapse: string;
|
|
86
116
|
showDetails: string;
|
|
87
117
|
ascending: string;
|
|
118
|
+
sortBy: string;
|
|
119
|
+
defaultOrder: string;
|
|
88
120
|
descending: string;
|
|
89
121
|
tabs: string;
|
|
122
|
+
showPath: string;
|
|
90
123
|
breadcrumb: string;
|
|
91
124
|
mainNavigation: string;
|
|
125
|
+
newCount: (count: number) => string;
|
|
126
|
+
saving: string;
|
|
127
|
+
charactersLeft: (count: number) => string;
|
|
128
|
+
newContent: string;
|
|
92
129
|
pagination: string;
|
|
93
130
|
itemsPerPage: string;
|
|
94
131
|
perPage: (count: number) => string;
|
|
@@ -98,6 +135,13 @@ export declare const useKjunMessages: () => {
|
|
|
98
135
|
previousPage: string;
|
|
99
136
|
nextPage: string;
|
|
100
137
|
lastPage: string;
|
|
138
|
+
carousel: string;
|
|
139
|
+
slide: string;
|
|
140
|
+
slides: string;
|
|
141
|
+
previousSlide: string;
|
|
142
|
+
nextSlide: string;
|
|
143
|
+
goToSlide: (slide: number) => string;
|
|
144
|
+
slideOf: (slide: number, total: number) => string;
|
|
101
145
|
marketData: string;
|
|
102
146
|
metrics: string;
|
|
103
147
|
watchToggle: (name: string, active: boolean) => string;
|
|
@@ -105,10 +149,6 @@ export declare const useKjunMessages: () => {
|
|
|
105
149
|
lastUpdated: string;
|
|
106
150
|
unitLabel: string;
|
|
107
151
|
totalCount: (count: number, unit: string) => string;
|
|
108
|
-
closePrice: string;
|
|
109
|
-
delayed: string;
|
|
110
|
-
noRealtimeQuote: string;
|
|
111
|
-
realtimeDelayed: string;
|
|
112
152
|
arbitrage: string;
|
|
113
153
|
deviationWarning: (threshold: number) => string;
|
|
114
154
|
statusQueued: string;
|
|
@@ -13,13 +13,20 @@ export declare const useKjunMessages: () => {
|
|
|
13
13
|
save: string;
|
|
14
14
|
close: string;
|
|
15
15
|
closeNotification: string;
|
|
16
|
+
notifications: string;
|
|
17
|
+
moreNotifications: (count: number) => string;
|
|
18
|
+
showNotifications: string;
|
|
19
|
+
collapseNotifications: string;
|
|
16
20
|
confirmTitle: string;
|
|
17
21
|
promptTitle: string;
|
|
18
22
|
invalidInput: string;
|
|
23
|
+
typeToConfirm: (value: string) => string;
|
|
19
24
|
dialog: string;
|
|
20
25
|
panel: string;
|
|
21
26
|
details: string;
|
|
27
|
+
dismiss: string;
|
|
22
28
|
menu: string;
|
|
29
|
+
back: string;
|
|
23
30
|
remove: (label: string) => string;
|
|
24
31
|
user: string;
|
|
25
32
|
loading: string;
|
|
@@ -54,10 +61,29 @@ export declare const useKjunMessages: () => {
|
|
|
54
61
|
weekdays: string;
|
|
55
62
|
previousMonth: string;
|
|
56
63
|
nextMonth: string;
|
|
64
|
+
previousYear: string;
|
|
65
|
+
nextYear: string;
|
|
66
|
+
chooseMonth: string;
|
|
67
|
+
chooseYear: string;
|
|
68
|
+
clearDates: string;
|
|
69
|
+
rangeStartDay: string;
|
|
70
|
+
rangeEndDay: string;
|
|
71
|
+
inRangeDay: string;
|
|
72
|
+
chooseEndDate: string;
|
|
73
|
+
today: string;
|
|
74
|
+
apply: string;
|
|
75
|
+
rangePlaceholder: string;
|
|
76
|
+
yearTitle: (year: number) => string;
|
|
77
|
+
monthName: (month: number) => string;
|
|
78
|
+
dateLabel: (year: number, month: number, day: number, weekday: number) => string;
|
|
57
79
|
time: string;
|
|
80
|
+
period: string;
|
|
81
|
+
am: string;
|
|
82
|
+
pm: string;
|
|
58
83
|
hour: string;
|
|
59
84
|
minute: string;
|
|
60
85
|
second: string;
|
|
86
|
+
timePlaceholder: string;
|
|
61
87
|
value: string;
|
|
62
88
|
minimum: string;
|
|
63
89
|
maximum: string;
|
|
@@ -74,21 +100,32 @@ export declare const useKjunMessages: () => {
|
|
|
74
100
|
externalLink: string;
|
|
75
101
|
newWindow: string;
|
|
76
102
|
dataTable: string;
|
|
77
|
-
selectRow: (row: number) => string;
|
|
103
|
+
selectRow: (row: number | string) => string;
|
|
78
104
|
selectAll: string;
|
|
79
105
|
selectAllPartial: string;
|
|
80
106
|
deselectAll: string;
|
|
81
107
|
selectionActions: string;
|
|
82
108
|
selectedItems: (count: number) => string;
|
|
109
|
+
tableSubtotal: string;
|
|
110
|
+
tableTotal: string;
|
|
111
|
+
groupCount: (count: number) => string;
|
|
112
|
+
toggleGroup: (label: string, open: boolean) => string;
|
|
83
113
|
searchTable: string;
|
|
84
114
|
expandRow: string;
|
|
85
115
|
collapse: string;
|
|
86
116
|
showDetails: string;
|
|
87
117
|
ascending: string;
|
|
118
|
+
sortBy: string;
|
|
119
|
+
defaultOrder: string;
|
|
88
120
|
descending: string;
|
|
89
121
|
tabs: string;
|
|
122
|
+
showPath: string;
|
|
90
123
|
breadcrumb: string;
|
|
91
124
|
mainNavigation: string;
|
|
125
|
+
newCount: (count: number) => string;
|
|
126
|
+
saving: string;
|
|
127
|
+
charactersLeft: (count: number) => string;
|
|
128
|
+
newContent: string;
|
|
92
129
|
pagination: string;
|
|
93
130
|
itemsPerPage: string;
|
|
94
131
|
perPage: (count: number) => string;
|
|
@@ -98,6 +135,13 @@ export declare const useKjunMessages: () => {
|
|
|
98
135
|
previousPage: string;
|
|
99
136
|
nextPage: string;
|
|
100
137
|
lastPage: string;
|
|
138
|
+
carousel: string;
|
|
139
|
+
slide: string;
|
|
140
|
+
slides: string;
|
|
141
|
+
previousSlide: string;
|
|
142
|
+
nextSlide: string;
|
|
143
|
+
goToSlide: (slide: number) => string;
|
|
144
|
+
slideOf: (slide: number, total: number) => string;
|
|
101
145
|
marketData: string;
|
|
102
146
|
metrics: string;
|
|
103
147
|
watchToggle: (name: string, active: boolean) => string;
|
|
@@ -105,10 +149,6 @@ export declare const useKjunMessages: () => {
|
|
|
105
149
|
lastUpdated: string;
|
|
106
150
|
unitLabel: string;
|
|
107
151
|
totalCount: (count: number, unit: string) => string;
|
|
108
|
-
closePrice: string;
|
|
109
|
-
delayed: string;
|
|
110
|
-
noRealtimeQuote: string;
|
|
111
|
-
realtimeDelayed: string;
|
|
112
152
|
arbitrage: string;
|
|
113
153
|
deviationWarning: (threshold: number) => string;
|
|
114
154
|
statusQueued: string;
|