@kjun-ui/native 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 +316 -316
- package/dist/index.js +316 -316
- package/dist/index.web.cjs +316 -316
- package/dist/index.web.js +316 -316
- package/dist/styles.css +2057 -2133
- package/dist/types/packages/native/src/actions.d.cts +13 -13
- package/dist/types/packages/native/src/actions.d.ts +13 -13
- package/dist/types/packages/native/src/app-navigation.d.cts +6 -6
- package/dist/types/packages/native/src/app-navigation.d.ts +6 -6
- package/dist/types/packages/native/src/button.d.cts +3 -3
- package/dist/types/packages/native/src/button.d.ts +3 -3
- package/dist/types/packages/native/src/card.d.cts +2 -2
- package/dist/types/packages/native/src/card.d.ts +2 -2
- package/dist/types/packages/native/src/chip.d.cts +2 -2
- package/dist/types/packages/native/src/chip.d.ts +2 -2
- package/dist/types/packages/native/src/choice-controls.d.cts +8 -8
- package/dist/types/packages/native/src/choice-controls.d.ts +8 -8
- package/dist/types/packages/native/src/combobox.d.cts +2 -2
- package/dist/types/packages/native/src/combobox.d.ts +2 -2
- package/dist/types/packages/native/src/controls.d.cts +6 -6
- package/dist/types/packages/native/src/controls.d.ts +6 -6
- package/dist/types/packages/native/src/data-state.d.cts +6 -6
- package/dist/types/packages/native/src/data-state.d.ts +6 -6
- package/dist/types/packages/native/src/date-picker.d.cts +2 -2
- package/dist/types/packages/native/src/date-picker.d.ts +2 -2
- package/dist/types/packages/native/src/display-primitives.d.cts +12 -12
- package/dist/types/packages/native/src/display-primitives.d.ts +12 -12
- package/dist/types/packages/native/src/display.d.cts +6 -6
- package/dist/types/packages/native/src/display.d.ts +6 -6
- package/dist/types/packages/native/src/drawer.d.cts +2 -2
- package/dist/types/packages/native/src/drawer.d.ts +2 -2
- package/dist/types/packages/native/src/dropdown.d.cts +12 -12
- package/dist/types/packages/native/src/dropdown.d.ts +12 -12
- package/dist/types/packages/native/src/financial-display.d.cts +12 -12
- package/dist/types/packages/native/src/financial-display.d.ts +12 -12
- package/dist/types/packages/native/src/financial.d.cts +4 -4
- package/dist/types/packages/native/src/financial.d.ts +4 -4
- package/dist/types/packages/native/src/index.d.cts +22 -22
- package/dist/types/packages/native/src/index.d.ts +22 -22
- package/dist/types/packages/native/src/input.d.cts +5 -5
- package/dist/types/packages/native/src/input.d.ts +5 -5
- package/dist/types/packages/native/src/kpi-hero.d.cts +2 -2
- package/dist/types/packages/native/src/kpi-hero.d.ts +2 -2
- package/dist/types/packages/native/src/kpi-row.d.cts +2 -2
- package/dist/types/packages/native/src/kpi-row.d.ts +2 -2
- package/dist/types/packages/native/src/kpi.d.cts +4 -4
- package/dist/types/packages/native/src/kpi.d.ts +4 -4
- package/dist/types/packages/native/src/layers.d.cts +6 -6
- package/dist/types/packages/native/src/layers.d.ts +6 -6
- package/dist/types/packages/native/src/list.d.cts +4 -4
- package/dist/types/packages/native/src/list.d.ts +4 -4
- package/dist/types/packages/native/src/market-cards.d.cts +2 -2
- package/dist/types/packages/native/src/market-cards.d.ts +2 -2
- package/dist/types/packages/native/src/market-list.d.cts +2 -2
- package/dist/types/packages/native/src/market-list.d.ts +2 -2
- package/dist/types/packages/native/src/market-model.d.cts +4 -4
- package/dist/types/packages/native/src/market-model.d.ts +4 -4
- package/dist/types/packages/native/src/market-panel.d.cts +1 -1
- package/dist/types/packages/native/src/market-panel.d.ts +1 -1
- package/dist/types/packages/native/src/market-skeleton.d.cts +2 -2
- package/dist/types/packages/native/src/market-skeleton.d.ts +2 -2
- package/dist/types/packages/native/src/market-table.d.cts +2 -2
- package/dist/types/packages/native/src/market-table.d.ts +2 -2
- package/dist/types/packages/native/src/market.d.cts +5 -5
- package/dist/types/packages/native/src/market.d.ts +5 -5
- package/dist/types/packages/native/src/media.d.cts +4 -4
- package/dist/types/packages/native/src/media.d.ts +4 -4
- package/dist/types/packages/native/src/modal.d.cts +4 -4
- package/dist/types/packages/native/src/modal.d.ts +4 -4
- package/dist/types/packages/native/src/navigation.d.cts +9 -9
- package/dist/types/packages/native/src/navigation.d.ts +9 -9
- package/dist/types/packages/native/src/number-display.d.cts +8 -8
- package/dist/types/packages/native/src/number-display.d.ts +8 -8
- package/dist/types/packages/native/src/popover.d.cts +4 -4
- package/dist/types/packages/native/src/popover.d.ts +4 -4
- package/dist/types/packages/native/src/quantity-stepper.d.cts +2 -2
- package/dist/types/packages/native/src/quantity-stepper.d.ts +2 -2
- package/dist/types/packages/native/src/range-input.d.cts +4 -4
- package/dist/types/packages/native/src/range-input.d.ts +4 -4
- package/dist/types/packages/native/src/search-input.d.cts +2 -2
- package/dist/types/packages/native/src/search-input.d.ts +2 -2
- package/dist/types/packages/native/src/select-control.d.cts +2 -2
- package/dist/types/packages/native/src/select-control.d.ts +2 -2
- package/dist/types/packages/native/src/select.d.cts +8 -8
- package/dist/types/packages/native/src/select.d.ts +8 -8
- package/dist/types/packages/native/src/selection-groups.d.cts +4 -4
- package/dist/types/packages/native/src/selection-groups.d.ts +4 -4
- package/dist/types/packages/native/src/skeleton-base.d.cts +2 -2
- package/dist/types/packages/native/src/skeleton-base.d.ts +2 -2
- package/dist/types/packages/native/src/skeletons.d.cts +8 -8
- package/dist/types/packages/native/src/skeletons.d.ts +8 -8
- package/dist/types/packages/native/src/table-model.d.cts +2 -2
- package/dist/types/packages/native/src/table-model.d.ts +2 -2
- package/dist/types/packages/native/src/table-view.d.cts +2 -2
- package/dist/types/packages/native/src/table-view.d.ts +2 -2
- package/dist/types/packages/native/src/table.d.cts +2 -2
- package/dist/types/packages/native/src/table.d.ts +2 -2
- package/dist/types/packages/native/src/tabs.d.cts +4 -4
- package/dist/types/packages/native/src/tabs.d.ts +4 -4
- package/dist/types/packages/native/src/textarea.d.cts +2 -2
- package/dist/types/packages/native/src/textarea.d.ts +2 -2
- package/dist/types/packages/native/src/time-picker.d.cts +2 -2
- package/dist/types/packages/native/src/time-picker.d.ts +2 -2
- package/package.json +3 -3
|
@@ -2,43 +2,43 @@ import { type ReactNode } from "react";
|
|
|
2
2
|
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
3
|
export type DisplaySize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
4
4
|
export type SemanticTone = "primary" | "success" | "warning" | "danger" | "info";
|
|
5
|
-
export interface
|
|
5
|
+
export interface KjunBadgeProps {
|
|
6
6
|
variant?: "default" | "secondary" | SemanticTone | "price-up" | "price-down";
|
|
7
7
|
size?: DisplaySize;
|
|
8
8
|
dot?: boolean;
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
style?: StyleProp<ViewStyle>;
|
|
11
11
|
}
|
|
12
|
-
export declare function
|
|
12
|
+
export declare function KjunBadge(props: KjunBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
/** Internal composition keeps KPI dots on their own shared geometry role. */
|
|
14
|
-
export declare function BadgeView({ variant, size, dot, children, style, dotSize, }:
|
|
14
|
+
export declare function BadgeView({ variant, size, dot, children, style, dotSize, }: KjunBadgeProps & {
|
|
15
15
|
dotSize?: number;
|
|
16
16
|
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export interface
|
|
17
|
+
export interface KjunEmptyProps {
|
|
18
18
|
text?: string;
|
|
19
19
|
description?: string;
|
|
20
20
|
icon?: string;
|
|
21
21
|
children?: ReactNode;
|
|
22
22
|
}
|
|
23
|
-
export declare function
|
|
24
|
-
export interface
|
|
23
|
+
export declare function KjunEmpty({ text, description, icon, children, }: KjunEmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export interface KjunSpinnerProps {
|
|
25
25
|
size?: DisplaySize;
|
|
26
26
|
text?: string;
|
|
27
27
|
}
|
|
28
|
-
export declare function
|
|
29
|
-
export interface
|
|
28
|
+
export declare function KjunSpinner({ size, text }: KjunSpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export interface KjunAlertProps {
|
|
30
30
|
type?: "info" | "success" | "warning" | "danger" | "error";
|
|
31
31
|
variant?: SemanticTone;
|
|
32
32
|
size?: "sm" | "md" | "lg";
|
|
33
33
|
title?: ReactNode;
|
|
34
34
|
closable?: boolean;
|
|
35
35
|
children?: ReactNode;
|
|
36
|
-
/** Buttons placed under the message; unsized
|
|
36
|
+
/** Buttons placed under the message; unsized KjunButtons follow the alert size. */
|
|
37
37
|
actions?: ReactNode;
|
|
38
38
|
onClose?: () => void;
|
|
39
39
|
}
|
|
40
|
-
export declare function
|
|
41
|
-
export interface
|
|
40
|
+
export declare function KjunAlert({ type, variant, size, title, closable, children, actions, onClose, }: KjunAlertProps): import("react/jsx-runtime").JSX.Element | null;
|
|
41
|
+
export interface KjunProgressProps {
|
|
42
42
|
value?: number;
|
|
43
43
|
max?: number;
|
|
44
44
|
size?: "sm" | "md" | "lg";
|
|
@@ -47,4 +47,4 @@ export interface DsProgressProps {
|
|
|
47
47
|
label?: ReactNode;
|
|
48
48
|
subLabel?: ReactNode;
|
|
49
49
|
}
|
|
50
|
-
export declare function
|
|
50
|
+
export declare function KjunProgress({ value, max, size, variant, showLabel, label, subLabel, }: KjunProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,43 +2,43 @@ import { type ReactNode } from "react";
|
|
|
2
2
|
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
3
|
export type DisplaySize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
4
4
|
export type SemanticTone = "primary" | "success" | "warning" | "danger" | "info";
|
|
5
|
-
export interface
|
|
5
|
+
export interface KjunBadgeProps {
|
|
6
6
|
variant?: "default" | "secondary" | SemanticTone | "price-up" | "price-down";
|
|
7
7
|
size?: DisplaySize;
|
|
8
8
|
dot?: boolean;
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
style?: StyleProp<ViewStyle>;
|
|
11
11
|
}
|
|
12
|
-
export declare function
|
|
12
|
+
export declare function KjunBadge(props: KjunBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
/** Internal composition keeps KPI dots on their own shared geometry role. */
|
|
14
|
-
export declare function BadgeView({ variant, size, dot, children, style, dotSize, }:
|
|
14
|
+
export declare function BadgeView({ variant, size, dot, children, style, dotSize, }: KjunBadgeProps & {
|
|
15
15
|
dotSize?: number;
|
|
16
16
|
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export interface
|
|
17
|
+
export interface KjunEmptyProps {
|
|
18
18
|
text?: string;
|
|
19
19
|
description?: string;
|
|
20
20
|
icon?: string;
|
|
21
21
|
children?: ReactNode;
|
|
22
22
|
}
|
|
23
|
-
export declare function
|
|
24
|
-
export interface
|
|
23
|
+
export declare function KjunEmpty({ text, description, icon, children, }: KjunEmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export interface KjunSpinnerProps {
|
|
25
25
|
size?: DisplaySize;
|
|
26
26
|
text?: string;
|
|
27
27
|
}
|
|
28
|
-
export declare function
|
|
29
|
-
export interface
|
|
28
|
+
export declare function KjunSpinner({ size, text }: KjunSpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export interface KjunAlertProps {
|
|
30
30
|
type?: "info" | "success" | "warning" | "danger" | "error";
|
|
31
31
|
variant?: SemanticTone;
|
|
32
32
|
size?: "sm" | "md" | "lg";
|
|
33
33
|
title?: ReactNode;
|
|
34
34
|
closable?: boolean;
|
|
35
35
|
children?: ReactNode;
|
|
36
|
-
/** Buttons placed under the message; unsized
|
|
36
|
+
/** Buttons placed under the message; unsized KjunButtons follow the alert size. */
|
|
37
37
|
actions?: ReactNode;
|
|
38
38
|
onClose?: () => void;
|
|
39
39
|
}
|
|
40
|
-
export declare function
|
|
41
|
-
export interface
|
|
40
|
+
export declare function KjunAlert({ type, variant, size, title, closable, children, actions, onClose, }: KjunAlertProps): import("react/jsx-runtime").JSX.Element | null;
|
|
41
|
+
export interface KjunProgressProps {
|
|
42
42
|
value?: number;
|
|
43
43
|
max?: number;
|
|
44
44
|
size?: "sm" | "md" | "lg";
|
|
@@ -47,4 +47,4 @@ export interface DsProgressProps {
|
|
|
47
47
|
label?: ReactNode;
|
|
48
48
|
subLabel?: ReactNode;
|
|
49
49
|
}
|
|
50
|
-
export declare function
|
|
50
|
+
export declare function KjunProgress({ value, max, size, variant, showLabel, label, subLabel, }: KjunProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export type {
|
|
3
|
-
export {
|
|
4
|
-
export type { DisplaySize,
|
|
5
|
-
export {
|
|
6
|
-
export type {
|
|
1
|
+
export { KjunCard } from "./card.cjs";
|
|
2
|
+
export type { KjunCardProps } from "./card.cjs";
|
|
3
|
+
export { KjunAlert, KjunBadge, KjunEmpty, KjunProgress, KjunSpinner } from "./display-primitives.cjs";
|
|
4
|
+
export type { DisplaySize, KjunAlertProps, KjunBadgeProps, KjunEmptyProps, KjunProgressProps, KjunSpinnerProps, SemanticTone } from "./display-primitives.cjs";
|
|
5
|
+
export { KjunSkeleton } from "./skeleton-base.cjs";
|
|
6
|
+
export type { KjunSkeletonProps } from "./skeleton-base.cjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export type {
|
|
3
|
-
export {
|
|
4
|
-
export type { DisplaySize,
|
|
5
|
-
export {
|
|
6
|
-
export type {
|
|
1
|
+
export { KjunCard } from "./card.js";
|
|
2
|
+
export type { KjunCardProps } from "./card.js";
|
|
3
|
+
export { KjunAlert, KjunBadge, KjunEmpty, KjunProgress, KjunSpinner } from "./display-primitives.js";
|
|
4
|
+
export type { DisplaySize, KjunAlertProps, KjunBadgeProps, KjunEmptyProps, KjunProgressProps, KjunSpinnerProps, SemanticTone } from "./display-primitives.js";
|
|
5
|
+
export { KjunSkeleton } from "./skeleton-base.js";
|
|
6
|
+
export type { KjunSkeletonProps } from "./skeleton-base.js";
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
import { type
|
|
3
|
-
import { type
|
|
2
|
+
import { type KjunButtonProps } from "./button.cjs";
|
|
3
|
+
import { type KjunTooltipProps } from "./popover.cjs";
|
|
4
4
|
export declare const DropdownContext: import("react").Context<(() => void) | null>;
|
|
5
|
-
export interface
|
|
5
|
+
export interface KjunDropdownProps {
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
placement?: "bottom-start" | "bottom-end" | "top-start" | "top-end";
|
|
8
8
|
menuId?: string;
|
|
@@ -12,8 +12,8 @@ export interface DsDropdownProps {
|
|
|
12
12
|
onOpen?: () => void;
|
|
13
13
|
onClose?: () => void;
|
|
14
14
|
}
|
|
15
|
-
export declare function
|
|
16
|
-
export interface
|
|
15
|
+
export declare function KjunDropdown({ disabled, placement, trigger, children, onOpen, onClose, }: KjunDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export interface KjunDropdownItemProps {
|
|
17
17
|
id?: string;
|
|
18
18
|
variant?: "default" | "danger";
|
|
19
19
|
icon?: string;
|
|
@@ -22,18 +22,18 @@ export interface DsDropdownItemProps {
|
|
|
22
22
|
children: ReactNode;
|
|
23
23
|
onPress?: () => void;
|
|
24
24
|
}
|
|
25
|
-
export declare function
|
|
26
|
-
export declare function
|
|
27
|
-
export interface
|
|
25
|
+
export declare function KjunDropdownItem({ variant, icon, disabled, selected, children, onPress, }: KjunDropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare function KjunDropdownDivider(): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export interface KjunMenuButtonProps extends Omit<KjunDropdownProps, "trigger"> {
|
|
28
28
|
label?: string;
|
|
29
|
-
size?:
|
|
30
|
-
variant?:
|
|
29
|
+
size?: KjunButtonProps["size"];
|
|
30
|
+
variant?: KjunButtonProps["variant"];
|
|
31
31
|
/** Show a square dots-vertical button; label remains its accessible name. */
|
|
32
32
|
compact?: boolean;
|
|
33
33
|
loading?: boolean;
|
|
34
34
|
tooltip?: string;
|
|
35
|
-
tooltipPlacement?:
|
|
35
|
+
tooltipPlacement?: KjunTooltipProps["placement"];
|
|
36
36
|
tooltipDelay?: number;
|
|
37
37
|
ariaLabel?: string;
|
|
38
38
|
}
|
|
39
|
-
export declare function
|
|
39
|
+
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
|
|
3
|
-
import { type
|
|
2
|
+
import { type KjunButtonProps } from "./button.js";
|
|
3
|
+
import { type KjunTooltipProps } from "./popover.js";
|
|
4
4
|
export declare const DropdownContext: import("react").Context<(() => void) | null>;
|
|
5
|
-
export interface
|
|
5
|
+
export interface KjunDropdownProps {
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
placement?: "bottom-start" | "bottom-end" | "top-start" | "top-end";
|
|
8
8
|
menuId?: string;
|
|
@@ -12,8 +12,8 @@ export interface DsDropdownProps {
|
|
|
12
12
|
onOpen?: () => void;
|
|
13
13
|
onClose?: () => void;
|
|
14
14
|
}
|
|
15
|
-
export declare function
|
|
16
|
-
export interface
|
|
15
|
+
export declare function KjunDropdown({ disabled, placement, trigger, children, onOpen, onClose, }: KjunDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export interface KjunDropdownItemProps {
|
|
17
17
|
id?: string;
|
|
18
18
|
variant?: "default" | "danger";
|
|
19
19
|
icon?: string;
|
|
@@ -22,18 +22,18 @@ export interface DsDropdownItemProps {
|
|
|
22
22
|
children: ReactNode;
|
|
23
23
|
onPress?: () => void;
|
|
24
24
|
}
|
|
25
|
-
export declare function
|
|
26
|
-
export declare function
|
|
27
|
-
export interface
|
|
25
|
+
export declare function KjunDropdownItem({ variant, icon, disabled, selected, children, onPress, }: KjunDropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare function KjunDropdownDivider(): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export interface KjunMenuButtonProps extends Omit<KjunDropdownProps, "trigger"> {
|
|
28
28
|
label?: string;
|
|
29
|
-
size?:
|
|
30
|
-
variant?:
|
|
29
|
+
size?: KjunButtonProps["size"];
|
|
30
|
+
variant?: KjunButtonProps["variant"];
|
|
31
31
|
/** Show a square dots-vertical button; label remains its accessible name. */
|
|
32
32
|
compact?: boolean;
|
|
33
33
|
loading?: boolean;
|
|
34
34
|
tooltip?: string;
|
|
35
|
-
tooltipPlacement?:
|
|
35
|
+
tooltipPlacement?: KjunTooltipProps["placement"];
|
|
36
36
|
tooltipDelay?: number;
|
|
37
37
|
ariaLabel?: string;
|
|
38
38
|
}
|
|
39
|
-
export declare function
|
|
39
|
+
export declare function KjunMenuButton({ label, size, variant, compact, loading, tooltip, tooltipPlacement, tooltipDelay, ariaLabel, onOpen, onClose, ...props }: KjunMenuButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import { type ColorValue } from "react-native";
|
|
3
3
|
import { type DisplaySize } from "./display.cjs";
|
|
4
|
-
export interface
|
|
4
|
+
export interface KjunDeviationProps {
|
|
5
5
|
value?: number | null;
|
|
6
6
|
variant?: "pill" | "badge" | "text";
|
|
7
7
|
signalThreshold?: number;
|
|
8
8
|
decimals?: number;
|
|
9
9
|
formatter?: (value: number) => string;
|
|
10
10
|
}
|
|
11
|
-
export declare function
|
|
12
|
-
export interface
|
|
11
|
+
export declare function KjunDeviation({ value, variant, signalThreshold, decimals, formatter, }: KjunDeviationProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export interface KjunHeatmapCellProps {
|
|
13
13
|
value?: number;
|
|
14
14
|
min?: number;
|
|
15
15
|
max?: number;
|
|
@@ -17,8 +17,8 @@ export interface DsHeatmapCellProps {
|
|
|
17
17
|
color?: "brand" | "success" | "danger" | "warning";
|
|
18
18
|
children?: ReactNode;
|
|
19
19
|
}
|
|
20
|
-
export declare function
|
|
21
|
-
export interface
|
|
20
|
+
export declare function KjunHeatmapCell({ value, min, max, mode, color, children, }: KjunHeatmapCellProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export interface KjunProgressCellProps {
|
|
22
22
|
value?: number;
|
|
23
23
|
max?: number;
|
|
24
24
|
showLabel?: boolean;
|
|
@@ -26,13 +26,13 @@ export interface DsProgressCellProps {
|
|
|
26
26
|
customColor?: ColorValue;
|
|
27
27
|
height?: number;
|
|
28
28
|
}
|
|
29
|
-
export declare function
|
|
30
|
-
export interface
|
|
29
|
+
export declare function KjunProgressCell({ value, max, showLabel, color, customColor, height, }: KjunProgressCellProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export interface KjunCollectionMarkProps {
|
|
31
31
|
kind: "favorite" | "interest";
|
|
32
32
|
active?: boolean;
|
|
33
33
|
size?: "sm" | "md" | "lg";
|
|
34
34
|
}
|
|
35
|
-
export declare function
|
|
35
|
+
export declare function KjunCollectionMark({ kind, active, size, }: KjunCollectionMarkProps): import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
export declare const executionStates: {
|
|
37
37
|
readonly queued: readonly [
|
|
38
38
|
"secondary",
|
|
@@ -67,13 +67,13 @@ export declare const executionStates: {
|
|
|
67
67
|
"실패"
|
|
68
68
|
];
|
|
69
69
|
};
|
|
70
|
-
export interface
|
|
70
|
+
export interface KjunExecutionStatusBadgeProps {
|
|
71
71
|
status?: string | null;
|
|
72
72
|
label?: string;
|
|
73
73
|
size?: DisplaySize;
|
|
74
74
|
}
|
|
75
|
-
export declare function
|
|
76
|
-
export interface
|
|
75
|
+
export declare function KjunExecutionStatusBadge({ status, label, size, }: KjunExecutionStatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
76
|
+
export interface KjunSparklineProps {
|
|
77
77
|
data?: number[];
|
|
78
78
|
width?: number;
|
|
79
79
|
height?: number;
|
|
@@ -84,4 +84,4 @@ export interface DsSparklineProps {
|
|
|
84
84
|
stretch?: boolean;
|
|
85
85
|
ariaLabel?: string;
|
|
86
86
|
}
|
|
87
|
-
export declare function
|
|
87
|
+
export declare function KjunSparkline({ data, width, height, color, semantic, fill, strokeWidth, stretch, ariaLabel, }: KjunSparklineProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import { type ColorValue } from "react-native";
|
|
3
3
|
import { type DisplaySize } from "./display.js";
|
|
4
|
-
export interface
|
|
4
|
+
export interface KjunDeviationProps {
|
|
5
5
|
value?: number | null;
|
|
6
6
|
variant?: "pill" | "badge" | "text";
|
|
7
7
|
signalThreshold?: number;
|
|
8
8
|
decimals?: number;
|
|
9
9
|
formatter?: (value: number) => string;
|
|
10
10
|
}
|
|
11
|
-
export declare function
|
|
12
|
-
export interface
|
|
11
|
+
export declare function KjunDeviation({ value, variant, signalThreshold, decimals, formatter, }: KjunDeviationProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export interface KjunHeatmapCellProps {
|
|
13
13
|
value?: number;
|
|
14
14
|
min?: number;
|
|
15
15
|
max?: number;
|
|
@@ -17,8 +17,8 @@ export interface DsHeatmapCellProps {
|
|
|
17
17
|
color?: "brand" | "success" | "danger" | "warning";
|
|
18
18
|
children?: ReactNode;
|
|
19
19
|
}
|
|
20
|
-
export declare function
|
|
21
|
-
export interface
|
|
20
|
+
export declare function KjunHeatmapCell({ value, min, max, mode, color, children, }: KjunHeatmapCellProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export interface KjunProgressCellProps {
|
|
22
22
|
value?: number;
|
|
23
23
|
max?: number;
|
|
24
24
|
showLabel?: boolean;
|
|
@@ -26,13 +26,13 @@ export interface DsProgressCellProps {
|
|
|
26
26
|
customColor?: ColorValue;
|
|
27
27
|
height?: number;
|
|
28
28
|
}
|
|
29
|
-
export declare function
|
|
30
|
-
export interface
|
|
29
|
+
export declare function KjunProgressCell({ value, max, showLabel, color, customColor, height, }: KjunProgressCellProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export interface KjunCollectionMarkProps {
|
|
31
31
|
kind: "favorite" | "interest";
|
|
32
32
|
active?: boolean;
|
|
33
33
|
size?: "sm" | "md" | "lg";
|
|
34
34
|
}
|
|
35
|
-
export declare function
|
|
35
|
+
export declare function KjunCollectionMark({ kind, active, size, }: KjunCollectionMarkProps): import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
export declare const executionStates: {
|
|
37
37
|
readonly queued: readonly [
|
|
38
38
|
"secondary",
|
|
@@ -67,13 +67,13 @@ export declare const executionStates: {
|
|
|
67
67
|
"실패"
|
|
68
68
|
];
|
|
69
69
|
};
|
|
70
|
-
export interface
|
|
70
|
+
export interface KjunExecutionStatusBadgeProps {
|
|
71
71
|
status?: string | null;
|
|
72
72
|
label?: string;
|
|
73
73
|
size?: DisplaySize;
|
|
74
74
|
}
|
|
75
|
-
export declare function
|
|
76
|
-
export interface
|
|
75
|
+
export declare function KjunExecutionStatusBadge({ status, label, size, }: KjunExecutionStatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
76
|
+
export interface KjunSparklineProps {
|
|
77
77
|
data?: number[];
|
|
78
78
|
width?: number;
|
|
79
79
|
height?: number;
|
|
@@ -84,4 +84,4 @@ export interface DsSparklineProps {
|
|
|
84
84
|
stretch?: boolean;
|
|
85
85
|
ariaLabel?: string;
|
|
86
86
|
}
|
|
87
|
-
export declare function
|
|
87
|
+
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, useKjunStyles } 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 } from "./button.cjs";
|
|
6
|
+
export { KjunInput, KjunFormGroup, KjunFormLayout } 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, useKjunStyles } 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 } from "./button.js";
|
|
6
|
+
export { KjunInput, KjunFormGroup, KjunFormLayout } 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";
|
|
@@ -11,7 +11,7 @@ interface FieldValue {
|
|
|
11
11
|
}
|
|
12
12
|
export declare const FieldContext: import("react").Context<FieldValue | null>;
|
|
13
13
|
export declare const useKjunField: () => FieldValue | null;
|
|
14
|
-
export interface
|
|
14
|
+
export interface KjunFormGroupProps {
|
|
15
15
|
label?: string;
|
|
16
16
|
id?: string;
|
|
17
17
|
required?: boolean;
|
|
@@ -20,8 +20,8 @@ export interface DsFormGroupProps {
|
|
|
20
20
|
children: ReactNode;
|
|
21
21
|
style?: StyleProp<ViewStyle>;
|
|
22
22
|
}
|
|
23
|
-
export declare function
|
|
24
|
-
export interface
|
|
23
|
+
export declare function KjunFormGroup({ label, id, required, error, hint, children, style, }: KjunFormGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export interface KjunInputProps extends Omit<TextInputProps, "value" | "onChange"> {
|
|
25
25
|
value: string | number;
|
|
26
26
|
size?: InputSize;
|
|
27
27
|
error?: boolean;
|
|
@@ -36,8 +36,8 @@ export interface DsInputProps extends Omit<TextInputProps, "value" | "onChange">
|
|
|
36
36
|
onClear?: () => void;
|
|
37
37
|
containerStyle?: StyleProp<ViewStyle>;
|
|
38
38
|
}
|
|
39
|
-
export declare const
|
|
40
|
-
export declare function
|
|
39
|
+
export declare const KjunInput: import("react").ForwardRefExoticComponent<KjunInputProps & import("react").RefAttributes<TextInput>>;
|
|
40
|
+
export declare function KjunFormLayout({ children, gap, }: {
|
|
41
41
|
children: ReactNode;
|
|
42
42
|
gap?: number;
|
|
43
43
|
}): import("react/jsx-runtime").JSX.Element;
|