@kjun-ui/react 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.cjs +337 -337
- package/dist/index.js +337 -337
- package/dist/styles.css +2057 -2133
- package/dist/types/packages/react/src/actions.d.cts +13 -13
- package/dist/types/packages/react/src/actions.d.ts +13 -13
- package/dist/types/packages/react/src/app-navigation.d.cts +6 -6
- package/dist/types/packages/react/src/app-navigation.d.ts +6 -6
- package/dist/types/packages/react/src/button.d.cts +4 -4
- package/dist/types/packages/react/src/button.d.ts +4 -4
- package/dist/types/packages/react/src/card.d.cts +2 -2
- package/dist/types/packages/react/src/card.d.ts +2 -2
- package/dist/types/packages/react/src/chip.d.cts +2 -2
- package/dist/types/packages/react/src/chip.d.ts +2 -2
- package/dist/types/packages/react/src/combobox.d.cts +2 -2
- package/dist/types/packages/react/src/combobox.d.ts +2 -2
- package/dist/types/packages/react/src/controls.d.cts +14 -14
- package/dist/types/packages/react/src/controls.d.ts +14 -14
- package/dist/types/packages/react/src/data-state.d.cts +6 -6
- package/dist/types/packages/react/src/data-state.d.ts +6 -6
- package/dist/types/packages/react/src/date-picker.d.cts +2 -2
- package/dist/types/packages/react/src/date-picker.d.ts +2 -2
- package/dist/types/packages/react/src/display.d.cts +15 -15
- package/dist/types/packages/react/src/display.d.ts +15 -15
- package/dist/types/packages/react/src/drawer.d.cts +2 -2
- package/dist/types/packages/react/src/drawer.d.ts +2 -2
- package/dist/types/packages/react/src/dropdown.d.cts +12 -12
- package/dist/types/packages/react/src/dropdown.d.ts +12 -12
- package/dist/types/packages/react/src/financial-display.d.cts +12 -12
- package/dist/types/packages/react/src/financial-display.d.ts +12 -12
- package/dist/types/packages/react/src/financial.d.cts +4 -4
- package/dist/types/packages/react/src/financial.d.ts +4 -4
- package/dist/types/packages/react/src/index.d.cts +22 -22
- package/dist/types/packages/react/src/index.d.ts +22 -22
- package/dist/types/packages/react/src/input.d.cts +4 -4
- package/dist/types/packages/react/src/input.d.ts +4 -4
- package/dist/types/packages/react/src/kpi.d.cts +4 -4
- package/dist/types/packages/react/src/kpi.d.ts +4 -4
- package/dist/types/packages/react/src/layers.d.cts +3 -3
- package/dist/types/packages/react/src/layers.d.ts +3 -3
- package/dist/types/packages/react/src/list.d.cts +4 -4
- package/dist/types/packages/react/src/list.d.ts +4 -4
- package/dist/types/packages/react/src/market-cards.d.cts +2 -2
- package/dist/types/packages/react/src/market-cards.d.ts +2 -2
- package/dist/types/packages/react/src/market-list.d.cts +2 -2
- package/dist/types/packages/react/src/market-list.d.ts +2 -2
- package/dist/types/packages/react/src/market-model.d.cts +4 -4
- package/dist/types/packages/react/src/market-model.d.ts +4 -4
- package/dist/types/packages/react/src/market-panel.d.cts +1 -1
- package/dist/types/packages/react/src/market-panel.d.ts +1 -1
- package/dist/types/packages/react/src/market-skeleton.d.cts +2 -2
- package/dist/types/packages/react/src/market-skeleton.d.ts +2 -2
- package/dist/types/packages/react/src/market-table.d.cts +2 -2
- package/dist/types/packages/react/src/market-table.d.ts +2 -2
- package/dist/types/packages/react/src/market.d.cts +5 -5
- package/dist/types/packages/react/src/market.d.ts +5 -5
- package/dist/types/packages/react/src/media.d.cts +4 -4
- package/dist/types/packages/react/src/media.d.ts +4 -4
- package/dist/types/packages/react/src/modal.d.cts +4 -4
- package/dist/types/packages/react/src/modal.d.ts +4 -4
- package/dist/types/packages/react/src/navigation.d.cts +12 -12
- package/dist/types/packages/react/src/navigation.d.ts +12 -12
- package/dist/types/packages/react/src/number-display.d.cts +8 -8
- package/dist/types/packages/react/src/number-display.d.ts +8 -8
- package/dist/types/packages/react/src/popover.d.cts +4 -4
- package/dist/types/packages/react/src/popover.d.ts +4 -4
- package/dist/types/packages/react/src/quantity-stepper.d.cts +2 -2
- package/dist/types/packages/react/src/quantity-stepper.d.ts +2 -2
- package/dist/types/packages/react/src/range-input.d.cts +4 -4
- package/dist/types/packages/react/src/range-input.d.ts +4 -4
- package/dist/types/packages/react/src/search-input.d.cts +2 -2
- package/dist/types/packages/react/src/search-input.d.ts +2 -2
- package/dist/types/packages/react/src/select-control.d.cts +2 -2
- package/dist/types/packages/react/src/select-control.d.ts +2 -2
- package/dist/types/packages/react/src/select.d.cts +8 -8
- package/dist/types/packages/react/src/select.d.ts +8 -8
- package/dist/types/packages/react/src/skeletons.d.cts +8 -8
- package/dist/types/packages/react/src/skeletons.d.ts +8 -8
- package/dist/types/packages/react/src/table-check.d.cts +1 -1
- package/dist/types/packages/react/src/table-check.d.ts +1 -1
- package/dist/types/packages/react/src/table-model.d.cts +2 -2
- package/dist/types/packages/react/src/table-model.d.ts +2 -2
- package/dist/types/packages/react/src/table-view.d.cts +2 -2
- package/dist/types/packages/react/src/table-view.d.ts +2 -2
- package/dist/types/packages/react/src/table.d.cts +2 -2
- package/dist/types/packages/react/src/table.d.ts +2 -2
- package/dist/types/packages/react/src/time-picker.d.cts +2 -2
- package/dist/types/packages/react/src/time-picker.d.ts +2 -2
- package/package.json +3 -3
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { type CSSProperties, type HTMLAttributes, type ReactNode } from "react";
|
|
2
2
|
export type DisplaySize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
3
3
|
export type SemanticTone = "primary" | "success" | "warning" | "danger" | "info";
|
|
4
|
-
export interface
|
|
4
|
+
export interface KjunBadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
5
5
|
variant?: "default" | "secondary" | SemanticTone | "price-up" | "price-down";
|
|
6
6
|
size?: DisplaySize;
|
|
7
7
|
dot?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare function
|
|
10
|
-
export {
|
|
11
|
-
export type {
|
|
12
|
-
export interface
|
|
9
|
+
export declare function KjunBadge({ variant, size, dot, children, style, ...props }: KjunBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { KjunCard } from "./card.cjs";
|
|
11
|
+
export type { KjunCardProps } from "./card.cjs";
|
|
12
|
+
export interface KjunEmptyProps {
|
|
13
13
|
text?: string;
|
|
14
14
|
description?: string;
|
|
15
15
|
icon?: string;
|
|
16
16
|
children?: ReactNode;
|
|
17
17
|
}
|
|
18
|
-
export declare function
|
|
19
|
-
export interface
|
|
18
|
+
export declare function KjunEmpty({ text, description, icon, children, }: KjunEmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export interface KjunSpinnerProps {
|
|
20
20
|
size?: DisplaySize;
|
|
21
21
|
text?: string;
|
|
22
22
|
}
|
|
23
|
-
export declare function
|
|
24
|
-
export interface
|
|
23
|
+
export declare function KjunSpinner({ size, text }: KjunSpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export interface KjunAlertProps {
|
|
25
25
|
type?: "info" | "success" | "warning" | "danger" | "error";
|
|
26
26
|
variant?: SemanticTone;
|
|
27
27
|
size?: "sm" | "md" | "lg";
|
|
28
28
|
title?: ReactNode;
|
|
29
29
|
closable?: boolean;
|
|
30
30
|
children?: ReactNode;
|
|
31
|
-
/** Buttons placed under the message; unsized
|
|
31
|
+
/** Buttons placed under the message; unsized KjunButtons follow the alert size. */
|
|
32
32
|
actions?: ReactNode;
|
|
33
33
|
onClose?: () => void;
|
|
34
34
|
}
|
|
35
|
-
export declare function
|
|
36
|
-
export interface
|
|
35
|
+
export declare function KjunAlert({ type, variant, size, title, closable, children, actions, onClose, }: KjunAlertProps): import("react/jsx-runtime").JSX.Element | null;
|
|
36
|
+
export interface KjunProgressProps {
|
|
37
37
|
value?: number;
|
|
38
38
|
max?: number;
|
|
39
39
|
size?: "sm" | "md" | "lg";
|
|
@@ -42,8 +42,8 @@ export interface DsProgressProps {
|
|
|
42
42
|
label?: ReactNode;
|
|
43
43
|
subLabel?: ReactNode;
|
|
44
44
|
}
|
|
45
|
-
export declare function
|
|
46
|
-
export interface
|
|
45
|
+
export declare function KjunProgress({ value, max, size, variant, showLabel, label, subLabel, }: KjunProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export interface KjunSkeletonProps {
|
|
47
47
|
type?: "text" | "avatar" | "card" | "table" | "chart" | "stat" | "block";
|
|
48
48
|
rows?: number;
|
|
49
49
|
columns?: number;
|
|
@@ -52,4 +52,4 @@ export interface DsSkeletonProps {
|
|
|
52
52
|
animated?: boolean;
|
|
53
53
|
rounded?: boolean;
|
|
54
54
|
}
|
|
55
|
-
export declare function
|
|
55
|
+
export declare function KjunSkeleton({ type, rows, columns, height, width, animated, rounded, }: KjunSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { type CSSProperties, type HTMLAttributes, type ReactNode } from "react";
|
|
2
2
|
export type DisplaySize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
3
3
|
export type SemanticTone = "primary" | "success" | "warning" | "danger" | "info";
|
|
4
|
-
export interface
|
|
4
|
+
export interface KjunBadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
5
5
|
variant?: "default" | "secondary" | SemanticTone | "price-up" | "price-down";
|
|
6
6
|
size?: DisplaySize;
|
|
7
7
|
dot?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare function
|
|
10
|
-
export {
|
|
11
|
-
export type {
|
|
12
|
-
export interface
|
|
9
|
+
export declare function KjunBadge({ variant, size, dot, children, style, ...props }: KjunBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { KjunCard } from "./card.js";
|
|
11
|
+
export type { KjunCardProps } from "./card.js";
|
|
12
|
+
export interface KjunEmptyProps {
|
|
13
13
|
text?: string;
|
|
14
14
|
description?: string;
|
|
15
15
|
icon?: string;
|
|
16
16
|
children?: ReactNode;
|
|
17
17
|
}
|
|
18
|
-
export declare function
|
|
19
|
-
export interface
|
|
18
|
+
export declare function KjunEmpty({ text, description, icon, children, }: KjunEmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export interface KjunSpinnerProps {
|
|
20
20
|
size?: DisplaySize;
|
|
21
21
|
text?: string;
|
|
22
22
|
}
|
|
23
|
-
export declare function
|
|
24
|
-
export interface
|
|
23
|
+
export declare function KjunSpinner({ size, text }: KjunSpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export interface KjunAlertProps {
|
|
25
25
|
type?: "info" | "success" | "warning" | "danger" | "error";
|
|
26
26
|
variant?: SemanticTone;
|
|
27
27
|
size?: "sm" | "md" | "lg";
|
|
28
28
|
title?: ReactNode;
|
|
29
29
|
closable?: boolean;
|
|
30
30
|
children?: ReactNode;
|
|
31
|
-
/** Buttons placed under the message; unsized
|
|
31
|
+
/** Buttons placed under the message; unsized KjunButtons follow the alert size. */
|
|
32
32
|
actions?: ReactNode;
|
|
33
33
|
onClose?: () => void;
|
|
34
34
|
}
|
|
35
|
-
export declare function
|
|
36
|
-
export interface
|
|
35
|
+
export declare function KjunAlert({ type, variant, size, title, closable, children, actions, onClose, }: KjunAlertProps): import("react/jsx-runtime").JSX.Element | null;
|
|
36
|
+
export interface KjunProgressProps {
|
|
37
37
|
value?: number;
|
|
38
38
|
max?: number;
|
|
39
39
|
size?: "sm" | "md" | "lg";
|
|
@@ -42,8 +42,8 @@ export interface DsProgressProps {
|
|
|
42
42
|
label?: ReactNode;
|
|
43
43
|
subLabel?: ReactNode;
|
|
44
44
|
}
|
|
45
|
-
export declare function
|
|
46
|
-
export interface
|
|
45
|
+
export declare function KjunProgress({ value, max, size, variant, showLabel, label, subLabel, }: KjunProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export interface KjunSkeletonProps {
|
|
47
47
|
type?: "text" | "avatar" | "card" | "table" | "chart" | "stat" | "block";
|
|
48
48
|
rows?: number;
|
|
49
49
|
columns?: number;
|
|
@@ -52,4 +52,4 @@ export interface DsSkeletonProps {
|
|
|
52
52
|
animated?: boolean;
|
|
53
53
|
rounded?: boolean;
|
|
54
54
|
}
|
|
55
|
-
export declare function
|
|
55
|
+
export declare function KjunSkeleton({ type, rows, columns, height, width, animated, rounded, }: KjunSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
export interface
|
|
2
|
+
export interface KjunDrawerProps {
|
|
3
3
|
open: boolean;
|
|
4
4
|
onOpenChange: (v: boolean) => void;
|
|
5
5
|
title?: string;
|
|
@@ -15,4 +15,4 @@ export interface DsDrawerProps {
|
|
|
15
15
|
onClose?: () => void;
|
|
16
16
|
ariaLabel?: string;
|
|
17
17
|
}
|
|
18
|
-
export declare function
|
|
18
|
+
export declare function KjunDrawer({ open, onOpenChange, title, position, width, closable, closeOnOverlay, closeOnEsc, noPadding, header, footer, children, onClose, ariaLabel, }: KjunDrawerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
export interface
|
|
2
|
+
export interface KjunDrawerProps {
|
|
3
3
|
open: boolean;
|
|
4
4
|
onOpenChange: (v: boolean) => void;
|
|
5
5
|
title?: string;
|
|
@@ -15,4 +15,4 @@ export interface DsDrawerProps {
|
|
|
15
15
|
onClose?: () => void;
|
|
16
16
|
ariaLabel?: string;
|
|
17
17
|
}
|
|
18
|
-
export declare function
|
|
18
|
+
export declare function KjunDrawer({ open, onOpenChange, title, position, width, closable, closeOnOverlay, closeOnEsc, noPadding, header, footer, children, onClose, ariaLabel, }: KjunDrawerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
import { type
|
|
2
|
+
import { type KjunButtonProps } from "./button.cjs";
|
|
3
3
|
import { type Placement } from "./floating-panel.cjs";
|
|
4
|
-
import { type
|
|
5
|
-
export interface
|
|
4
|
+
import { type KjunTooltipProps } from "./popover.cjs";
|
|
5
|
+
export interface KjunDropdownProps {
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
placement?: Extract<Placement, "bottom-start" | "bottom-end" | "top-start" | "top-end">;
|
|
8
8
|
menuId?: string;
|
|
@@ -13,8 +13,8 @@ export interface DsDropdownProps {
|
|
|
13
13
|
onOpen?: () => void;
|
|
14
14
|
onClose?: () => void;
|
|
15
15
|
}
|
|
16
|
-
export declare function
|
|
17
|
-
export interface
|
|
16
|
+
export declare function KjunDropdown({ disabled, placement, menuId, triggerId, menuClass, trigger, children, onOpen, onClose, }: KjunDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export interface KjunDropdownItemProps {
|
|
18
18
|
id?: string;
|
|
19
19
|
variant?: "default" | "danger";
|
|
20
20
|
icon?: string;
|
|
@@ -24,18 +24,18 @@ export interface DsDropdownItemProps {
|
|
|
24
24
|
children: ReactNode;
|
|
25
25
|
onClick?: () => void;
|
|
26
26
|
}
|
|
27
|
-
export declare function
|
|
28
|
-
export declare function
|
|
29
|
-
export interface
|
|
27
|
+
export declare function KjunDropdownItem({ id, variant, icon, disabled, selected, textValue, children, onClick, }: KjunDropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare function KjunDropdownDivider(): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export interface KjunMenuButtonProps extends Omit<KjunDropdownProps, "trigger"> {
|
|
30
30
|
label?: string;
|
|
31
|
-
size?:
|
|
32
|
-
variant?:
|
|
31
|
+
size?: KjunButtonProps["size"];
|
|
32
|
+
variant?: KjunButtonProps["variant"];
|
|
33
33
|
/** Show a square dots-vertical button; label remains its accessible name. */
|
|
34
34
|
compact?: boolean;
|
|
35
35
|
loading?: boolean;
|
|
36
36
|
tooltip?: string;
|
|
37
|
-
tooltipPlacement?:
|
|
37
|
+
tooltipPlacement?: KjunTooltipProps["placement"];
|
|
38
38
|
tooltipDelay?: number;
|
|
39
39
|
ariaLabel?: string;
|
|
40
40
|
}
|
|
41
|
-
export declare function
|
|
41
|
+
export declare function KjunMenuButton({ label, size, variant, compact, loading, tooltip, tooltipPlacement, tooltipDelay, ariaLabel, onOpen, onClose, ...props }: KjunMenuButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
import { type
|
|
2
|
+
import { type KjunButtonProps } from "./button.js";
|
|
3
3
|
import { type Placement } from "./floating-panel.js";
|
|
4
|
-
import { type
|
|
5
|
-
export interface
|
|
4
|
+
import { type KjunTooltipProps } from "./popover.js";
|
|
5
|
+
export interface KjunDropdownProps {
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
placement?: Extract<Placement, "bottom-start" | "bottom-end" | "top-start" | "top-end">;
|
|
8
8
|
menuId?: string;
|
|
@@ -13,8 +13,8 @@ export interface DsDropdownProps {
|
|
|
13
13
|
onOpen?: () => void;
|
|
14
14
|
onClose?: () => void;
|
|
15
15
|
}
|
|
16
|
-
export declare function
|
|
17
|
-
export interface
|
|
16
|
+
export declare function KjunDropdown({ disabled, placement, menuId, triggerId, menuClass, trigger, children, onOpen, onClose, }: KjunDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export interface KjunDropdownItemProps {
|
|
18
18
|
id?: string;
|
|
19
19
|
variant?: "default" | "danger";
|
|
20
20
|
icon?: string;
|
|
@@ -24,18 +24,18 @@ export interface DsDropdownItemProps {
|
|
|
24
24
|
children: ReactNode;
|
|
25
25
|
onClick?: () => void;
|
|
26
26
|
}
|
|
27
|
-
export declare function
|
|
28
|
-
export declare function
|
|
29
|
-
export interface
|
|
27
|
+
export declare function KjunDropdownItem({ id, variant, icon, disabled, selected, textValue, children, onClick, }: KjunDropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare function KjunDropdownDivider(): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export interface KjunMenuButtonProps extends Omit<KjunDropdownProps, "trigger"> {
|
|
30
30
|
label?: string;
|
|
31
|
-
size?:
|
|
32
|
-
variant?:
|
|
31
|
+
size?: KjunButtonProps["size"];
|
|
32
|
+
variant?: KjunButtonProps["variant"];
|
|
33
33
|
/** Show a square dots-vertical button; label remains its accessible name. */
|
|
34
34
|
compact?: boolean;
|
|
35
35
|
loading?: boolean;
|
|
36
36
|
tooltip?: string;
|
|
37
|
-
tooltipPlacement?:
|
|
37
|
+
tooltipPlacement?: KjunTooltipProps["placement"];
|
|
38
38
|
tooltipDelay?: number;
|
|
39
39
|
ariaLabel?: string;
|
|
40
40
|
}
|
|
41
|
-
export declare function
|
|
41
|
+
export declare function KjunMenuButton({ label, size, variant, compact, loading, tooltip, tooltipPlacement, tooltipDelay, ariaLabel, onOpen, onClose, ...props }: KjunMenuButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import { type DisplaySize } from "./display.cjs";
|
|
3
|
-
export interface
|
|
3
|
+
export interface KjunDeviationProps {
|
|
4
4
|
value?: number | null;
|
|
5
5
|
variant?: "pill" | "badge" | "text";
|
|
6
6
|
signalThreshold?: number;
|
|
7
7
|
decimals?: number;
|
|
8
8
|
formatter?: (value: number) => string;
|
|
9
9
|
}
|
|
10
|
-
export declare function
|
|
11
|
-
export interface
|
|
10
|
+
export declare function KjunDeviation({ value, variant, signalThreshold, decimals, formatter, }: KjunDeviationProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export interface KjunHeatmapCellProps {
|
|
12
12
|
value?: number;
|
|
13
13
|
min?: number;
|
|
14
14
|
max?: number;
|
|
@@ -16,8 +16,8 @@ export interface DsHeatmapCellProps {
|
|
|
16
16
|
color?: "brand" | "success" | "danger" | "warning";
|
|
17
17
|
children?: ReactNode;
|
|
18
18
|
}
|
|
19
|
-
export declare function
|
|
20
|
-
export interface
|
|
19
|
+
export declare function KjunHeatmapCell({ value, min, max, mode, color, children, }: KjunHeatmapCellProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export interface KjunProgressCellProps {
|
|
21
21
|
value?: number;
|
|
22
22
|
max?: number;
|
|
23
23
|
showLabel?: boolean;
|
|
@@ -25,13 +25,13 @@ export interface DsProgressCellProps {
|
|
|
25
25
|
customColor?: string;
|
|
26
26
|
height?: number;
|
|
27
27
|
}
|
|
28
|
-
export declare function
|
|
29
|
-
export interface
|
|
28
|
+
export declare function KjunProgressCell({ value, max, showLabel, color, customColor, height, }: KjunProgressCellProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export interface KjunCollectionMarkProps {
|
|
30
30
|
kind: "favorite" | "interest";
|
|
31
31
|
active?: boolean;
|
|
32
32
|
size?: "sm" | "md" | "lg";
|
|
33
33
|
}
|
|
34
|
-
export declare function
|
|
34
|
+
export declare function KjunCollectionMark({ kind, active, size, }: KjunCollectionMarkProps): import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
export declare const executionStates: {
|
|
36
36
|
readonly queued: readonly [
|
|
37
37
|
"secondary",
|
|
@@ -66,13 +66,13 @@ export declare const executionStates: {
|
|
|
66
66
|
"실패"
|
|
67
67
|
];
|
|
68
68
|
};
|
|
69
|
-
export interface
|
|
69
|
+
export interface KjunExecutionStatusBadgeProps {
|
|
70
70
|
status?: string | null;
|
|
71
71
|
label?: string;
|
|
72
72
|
size?: DisplaySize;
|
|
73
73
|
}
|
|
74
|
-
export declare function
|
|
75
|
-
export interface
|
|
74
|
+
export declare function KjunExecutionStatusBadge({ status, label, size, }: KjunExecutionStatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
75
|
+
export interface KjunSparklineProps {
|
|
76
76
|
data?: number[];
|
|
77
77
|
width?: number;
|
|
78
78
|
height?: number;
|
|
@@ -83,4 +83,4 @@ export interface DsSparklineProps {
|
|
|
83
83
|
stretch?: boolean;
|
|
84
84
|
ariaLabel?: string;
|
|
85
85
|
}
|
|
86
|
-
export declare function
|
|
86
|
+
export declare function KjunSparkline({ data, width, height, color, semantic, fill, strokeWidth, stretch, ariaLabel, }: KjunSparklineProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import { type DisplaySize } from "./display.js";
|
|
3
|
-
export interface
|
|
3
|
+
export interface KjunDeviationProps {
|
|
4
4
|
value?: number | null;
|
|
5
5
|
variant?: "pill" | "badge" | "text";
|
|
6
6
|
signalThreshold?: number;
|
|
7
7
|
decimals?: number;
|
|
8
8
|
formatter?: (value: number) => string;
|
|
9
9
|
}
|
|
10
|
-
export declare function
|
|
11
|
-
export interface
|
|
10
|
+
export declare function KjunDeviation({ value, variant, signalThreshold, decimals, formatter, }: KjunDeviationProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export interface KjunHeatmapCellProps {
|
|
12
12
|
value?: number;
|
|
13
13
|
min?: number;
|
|
14
14
|
max?: number;
|
|
@@ -16,8 +16,8 @@ export interface DsHeatmapCellProps {
|
|
|
16
16
|
color?: "brand" | "success" | "danger" | "warning";
|
|
17
17
|
children?: ReactNode;
|
|
18
18
|
}
|
|
19
|
-
export declare function
|
|
20
|
-
export interface
|
|
19
|
+
export declare function KjunHeatmapCell({ value, min, max, mode, color, children, }: KjunHeatmapCellProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export interface KjunProgressCellProps {
|
|
21
21
|
value?: number;
|
|
22
22
|
max?: number;
|
|
23
23
|
showLabel?: boolean;
|
|
@@ -25,13 +25,13 @@ export interface DsProgressCellProps {
|
|
|
25
25
|
customColor?: string;
|
|
26
26
|
height?: number;
|
|
27
27
|
}
|
|
28
|
-
export declare function
|
|
29
|
-
export interface
|
|
28
|
+
export declare function KjunProgressCell({ value, max, showLabel, color, customColor, height, }: KjunProgressCellProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export interface KjunCollectionMarkProps {
|
|
30
30
|
kind: "favorite" | "interest";
|
|
31
31
|
active?: boolean;
|
|
32
32
|
size?: "sm" | "md" | "lg";
|
|
33
33
|
}
|
|
34
|
-
export declare function
|
|
34
|
+
export declare function KjunCollectionMark({ kind, active, size, }: KjunCollectionMarkProps): import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
export declare const executionStates: {
|
|
36
36
|
readonly queued: readonly [
|
|
37
37
|
"secondary",
|
|
@@ -66,13 +66,13 @@ export declare const executionStates: {
|
|
|
66
66
|
"실패"
|
|
67
67
|
];
|
|
68
68
|
};
|
|
69
|
-
export interface
|
|
69
|
+
export interface KjunExecutionStatusBadgeProps {
|
|
70
70
|
status?: string | null;
|
|
71
71
|
label?: string;
|
|
72
72
|
size?: DisplaySize;
|
|
73
73
|
}
|
|
74
|
-
export declare function
|
|
75
|
-
export interface
|
|
74
|
+
export declare function KjunExecutionStatusBadge({ status, label, size, }: KjunExecutionStatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
75
|
+
export interface KjunSparklineProps {
|
|
76
76
|
data?: number[];
|
|
77
77
|
width?: number;
|
|
78
78
|
height?: number;
|
|
@@ -83,4 +83,4 @@ export interface DsSparklineProps {
|
|
|
83
83
|
stretch?: boolean;
|
|
84
84
|
ariaLabel?: string;
|
|
85
85
|
}
|
|
86
|
-
export declare function
|
|
86
|
+
export declare function KjunSparkline({ data, width, height, color, semantic, fill, strokeWidth, stretch, ariaLabel, }: KjunSparklineProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export type {
|
|
3
|
-
export {
|
|
4
|
-
export type {
|
|
1
|
+
export { KjunCollectionMark, KjunDeviation, KjunExecutionStatusBadge, KjunHeatmapCell, KjunProgressCell, KjunSparkline } from "./financial-display.cjs";
|
|
2
|
+
export type { KjunCollectionMarkProps, KjunDeviationProps, KjunExecutionStatusBadgeProps, KjunHeatmapCellProps, KjunProgressCellProps, KjunSparklineProps } from "./financial-display.cjs";
|
|
3
|
+
export { KjunAnimatedNumber, KjunFreshness, KjunPriceCell, KjunSignedValue, finiteNumber, useCountUp } from "./number-display.cjs";
|
|
4
|
+
export type { KjunAnimatedNumberProps, KjunFreshnessProps, KjunPriceCellProps, KjunSignedValueProps } from "./number-display.cjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export type {
|
|
3
|
-
export {
|
|
4
|
-
export type {
|
|
1
|
+
export { KjunCollectionMark, KjunDeviation, KjunExecutionStatusBadge, KjunHeatmapCell, KjunProgressCell, KjunSparkline } from "./financial-display.js";
|
|
2
|
+
export type { KjunCollectionMarkProps, KjunDeviationProps, KjunExecutionStatusBadgeProps, KjunHeatmapCellProps, KjunProgressCellProps, KjunSparklineProps } from "./financial-display.js";
|
|
3
|
+
export { KjunAnimatedNumber, KjunFreshness, KjunPriceCell, KjunSignedValue, finiteNumber, useCountUp } from "./number-display.js";
|
|
4
|
+
export type { KjunAnimatedNumberProps, KjunFreshnessProps, KjunPriceCellProps, KjunSignedValueProps } from "./number-display.js";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
export type { KjunIconDefinition, KjunIconRegistry } from "@kjun-ui/icons";
|
|
2
2
|
export { KjunProvider } from "./provider.cjs";
|
|
3
3
|
export type { KjunProviderProps } from "./provider.cjs";
|
|
4
|
-
export {
|
|
5
|
-
export type {
|
|
6
|
-
export {
|
|
7
|
-
export type {
|
|
8
|
-
export {
|
|
9
|
-
export type {
|
|
4
|
+
export { KjunButton, KjunIcon } from "./button.cjs";
|
|
5
|
+
export type { KjunButtonProps, KjunIconProps } from "./button.cjs";
|
|
6
|
+
export { KjunInput, KjunFormGroup } from "./input.cjs";
|
|
7
|
+
export type { KjunInputProps, KjunFormGroupProps } from "./input.cjs";
|
|
8
|
+
export { KjunModal, KjunFormActions } from "./modal.cjs";
|
|
9
|
+
export type { KjunModalProps, KjunFormActionsProps } from "./modal.cjs";
|
|
10
10
|
export type { KjunColors, KjunDomainColors, ColorRole, DomainColorRole, ButtonSize, InputSize, ButtonVariant, } from "@kjun-ui/tokens";
|
|
11
11
|
export * from "./display.cjs";
|
|
12
12
|
export * from "./feedback.cjs";
|
|
13
13
|
export * from "./controls.cjs";
|
|
14
|
-
export {
|
|
15
|
-
export type {
|
|
16
|
-
export {
|
|
17
|
-
export type {
|
|
14
|
+
export { KjunPopover, KjunTooltip, KjunDropdown, KjunDropdownItem, KjunDropdownDivider, KjunMenuButton, KjunDrawer, } from "./layers.cjs";
|
|
15
|
+
export type { KjunPopoverProps, KjunTooltipProps, KjunDropdownProps, KjunDropdownItemProps, KjunMenuButtonProps, KjunDrawerProps, } from "./layers.cjs";
|
|
16
|
+
export { KjunSelect, KjunCombobox, KjunSearchInput, KjunDatePicker } from "./select.cjs";
|
|
17
|
+
export type { KjunSelectProps, KjunComboboxProps, KjunSearchInputProps, KjunDatePickerProps, OptionValue, SelectOption, } from "./select.cjs";
|
|
18
18
|
export * from "./navigation.cjs";
|
|
19
|
-
export {
|
|
20
|
-
export type {
|
|
21
|
-
export {
|
|
22
|
-
export type {
|
|
19
|
+
export { KjunIconToggle, KjunCopyButton, KjunRefreshButton, KjunExternalLink, KjunScrollFade, } from "./actions.cjs";
|
|
20
|
+
export type { KjunIconToggleProps, KjunCopyButtonProps, KjunRefreshButtonProps, KjunExternalLinkProps, } from "./actions.cjs";
|
|
21
|
+
export { KjunDataState, KjunErrorBoundary } from "./data-state.cjs";
|
|
22
|
+
export type { KjunDataStateProps, KjunErrorBoundaryProps } from "./data-state.cjs";
|
|
23
23
|
export * from "./skeletons.cjs";
|
|
24
|
-
export {
|
|
25
|
-
export type {
|
|
26
|
-
export {
|
|
27
|
-
export type {
|
|
28
|
-
export {
|
|
29
|
-
export type {
|
|
30
|
-
export {
|
|
31
|
-
export type {
|
|
24
|
+
export { KjunAnimatedNumber, KjunFreshness, KjunPriceCell, KjunSignedValue, KjunDeviation, KjunHeatmapCell, KjunProgressCell, KjunCollectionMark, KjunExecutionStatusBadge, KjunSparkline, } from "./financial.cjs";
|
|
25
|
+
export type { KjunAnimatedNumberProps, KjunFreshnessProps, KjunPriceCellProps, KjunSignedValueProps, KjunDeviationProps, KjunHeatmapCellProps, KjunProgressCellProps, KjunCollectionMarkProps, KjunExecutionStatusBadgeProps, KjunSparklineProps, } from "./financial.cjs";
|
|
26
|
+
export { KjunTable } from "./table.cjs";
|
|
27
|
+
export type { KjunTableProps, TableColumn, TableCardSection, TablePagination, TableSort, } from "./table.cjs";
|
|
28
|
+
export { KjunKpiHero, KjunKpiRow } from "./kpi.cjs";
|
|
29
|
+
export type { KjunKpiHeroProps, KjunKpiRowProps, KpiRowItem, KpiValue, } from "./kpi.cjs";
|
|
30
|
+
export { KjunMarketCards, KjunMarketSimpleList, KjunMarketTable, KjunMarketListPanel, } from "./market.cjs";
|
|
31
|
+
export type { KjunMarketCardsProps, KjunMarketSimpleListProps, KjunMarketTableProps, MarketBaseProps, MarketColumn, MarketMetric, MarketPagination, MarketFormatter, } from "./market.cjs";
|
|
32
32
|
export * from "./list.cjs";
|
|
33
33
|
export * from "./app-navigation.cjs";
|
|
34
34
|
export * from "./media.cjs";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
export type { KjunIconDefinition, KjunIconRegistry } from "@kjun-ui/icons";
|
|
2
2
|
export { KjunProvider } from "./provider.js";
|
|
3
3
|
export type { KjunProviderProps } from "./provider.js";
|
|
4
|
-
export {
|
|
5
|
-
export type {
|
|
6
|
-
export {
|
|
7
|
-
export type {
|
|
8
|
-
export {
|
|
9
|
-
export type {
|
|
4
|
+
export { KjunButton, KjunIcon } from "./button.js";
|
|
5
|
+
export type { KjunButtonProps, KjunIconProps } from "./button.js";
|
|
6
|
+
export { KjunInput, KjunFormGroup } from "./input.js";
|
|
7
|
+
export type { KjunInputProps, KjunFormGroupProps } from "./input.js";
|
|
8
|
+
export { KjunModal, KjunFormActions } from "./modal.js";
|
|
9
|
+
export type { KjunModalProps, KjunFormActionsProps } from "./modal.js";
|
|
10
10
|
export type { KjunColors, KjunDomainColors, ColorRole, DomainColorRole, ButtonSize, InputSize, ButtonVariant, } from "@kjun-ui/tokens";
|
|
11
11
|
export * from "./display.js";
|
|
12
12
|
export * from "./feedback.js";
|
|
13
13
|
export * from "./controls.js";
|
|
14
|
-
export {
|
|
15
|
-
export type {
|
|
16
|
-
export {
|
|
17
|
-
export type {
|
|
14
|
+
export { KjunPopover, KjunTooltip, KjunDropdown, KjunDropdownItem, KjunDropdownDivider, KjunMenuButton, KjunDrawer, } from "./layers.js";
|
|
15
|
+
export type { KjunPopoverProps, KjunTooltipProps, KjunDropdownProps, KjunDropdownItemProps, KjunMenuButtonProps, KjunDrawerProps, } from "./layers.js";
|
|
16
|
+
export { KjunSelect, KjunCombobox, KjunSearchInput, KjunDatePicker } from "./select.js";
|
|
17
|
+
export type { KjunSelectProps, KjunComboboxProps, KjunSearchInputProps, KjunDatePickerProps, OptionValue, SelectOption, } from "./select.js";
|
|
18
18
|
export * from "./navigation.js";
|
|
19
|
-
export {
|
|
20
|
-
export type {
|
|
21
|
-
export {
|
|
22
|
-
export type {
|
|
19
|
+
export { KjunIconToggle, KjunCopyButton, KjunRefreshButton, KjunExternalLink, KjunScrollFade, } from "./actions.js";
|
|
20
|
+
export type { KjunIconToggleProps, KjunCopyButtonProps, KjunRefreshButtonProps, KjunExternalLinkProps, } from "./actions.js";
|
|
21
|
+
export { KjunDataState, KjunErrorBoundary } from "./data-state.js";
|
|
22
|
+
export type { KjunDataStateProps, KjunErrorBoundaryProps } from "./data-state.js";
|
|
23
23
|
export * from "./skeletons.js";
|
|
24
|
-
export {
|
|
25
|
-
export type {
|
|
26
|
-
export {
|
|
27
|
-
export type {
|
|
28
|
-
export {
|
|
29
|
-
export type {
|
|
30
|
-
export {
|
|
31
|
-
export type {
|
|
24
|
+
export { KjunAnimatedNumber, KjunFreshness, KjunPriceCell, KjunSignedValue, KjunDeviation, KjunHeatmapCell, KjunProgressCell, KjunCollectionMark, KjunExecutionStatusBadge, KjunSparkline, } from "./financial.js";
|
|
25
|
+
export type { KjunAnimatedNumberProps, KjunFreshnessProps, KjunPriceCellProps, KjunSignedValueProps, KjunDeviationProps, KjunHeatmapCellProps, KjunProgressCellProps, KjunCollectionMarkProps, KjunExecutionStatusBadgeProps, KjunSparklineProps, } from "./financial.js";
|
|
26
|
+
export { KjunTable } from "./table.js";
|
|
27
|
+
export type { KjunTableProps, TableColumn, TableCardSection, TablePagination, TableSort, } from "./table.js";
|
|
28
|
+
export { KjunKpiHero, KjunKpiRow } from "./kpi.js";
|
|
29
|
+
export type { KjunKpiHeroProps, KjunKpiRowProps, KpiRowItem, KpiValue, } from "./kpi.js";
|
|
30
|
+
export { KjunMarketCards, KjunMarketSimpleList, KjunMarketTable, KjunMarketListPanel, } from "./market.js";
|
|
31
|
+
export type { KjunMarketCardsProps, KjunMarketSimpleListProps, KjunMarketTableProps, MarketBaseProps, MarketColumn, MarketMetric, MarketPagination, MarketFormatter, } from "./market.js";
|
|
32
32
|
export * from "./list.js";
|
|
33
33
|
export * from "./app-navigation.js";
|
|
34
34
|
export * from "./media.js";
|
|
@@ -9,7 +9,7 @@ interface FieldContextValue {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const FieldContext: import("react").Context<FieldContextValue | null>;
|
|
11
11
|
export declare const useKjunField: () => FieldContextValue | null;
|
|
12
|
-
export interface
|
|
12
|
+
export interface KjunFormGroupProps {
|
|
13
13
|
label?: string;
|
|
14
14
|
id?: string;
|
|
15
15
|
required?: boolean;
|
|
@@ -17,8 +17,8 @@ export interface DsFormGroupProps {
|
|
|
17
17
|
hint?: string;
|
|
18
18
|
children: ReactNode;
|
|
19
19
|
}
|
|
20
|
-
export declare function
|
|
21
|
-
export interface
|
|
20
|
+
export declare function KjunFormGroup({ label, id, required, error, hint, children, }: KjunFormGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export interface KjunInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "value" | "defaultValue"> {
|
|
22
22
|
size?: InputSize;
|
|
23
23
|
value: string | number;
|
|
24
24
|
error?: boolean;
|
|
@@ -33,5 +33,5 @@ export interface DsInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>
|
|
|
33
33
|
onValueChange?: (value: string) => void;
|
|
34
34
|
onEnter?: () => void;
|
|
35
35
|
}
|
|
36
|
-
export declare const
|
|
36
|
+
export declare const KjunInput: import("react").ForwardRefExoticComponent<KjunInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
37
37
|
export {};
|
|
@@ -9,7 +9,7 @@ interface FieldContextValue {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const FieldContext: import("react").Context<FieldContextValue | null>;
|
|
11
11
|
export declare const useKjunField: () => FieldContextValue | null;
|
|
12
|
-
export interface
|
|
12
|
+
export interface KjunFormGroupProps {
|
|
13
13
|
label?: string;
|
|
14
14
|
id?: string;
|
|
15
15
|
required?: boolean;
|
|
@@ -17,8 +17,8 @@ export interface DsFormGroupProps {
|
|
|
17
17
|
hint?: string;
|
|
18
18
|
children: ReactNode;
|
|
19
19
|
}
|
|
20
|
-
export declare function
|
|
21
|
-
export interface
|
|
20
|
+
export declare function KjunFormGroup({ label, id, required, error, hint, children, }: KjunFormGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export interface KjunInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "value" | "defaultValue"> {
|
|
22
22
|
size?: InputSize;
|
|
23
23
|
value: string | number;
|
|
24
24
|
error?: boolean;
|
|
@@ -33,5 +33,5 @@ export interface DsInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>
|
|
|
33
33
|
onValueChange?: (value: string) => void;
|
|
34
34
|
onEnter?: () => void;
|
|
35
35
|
}
|
|
36
|
-
export declare const
|
|
36
|
+
export declare const KjunInput: import("react").ForwardRefExoticComponent<KjunInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
37
37
|
export {};
|