@tipp/ui 1.0.39 → 1.0.41
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/atoms/avatar.d.cts +3 -3
- package/dist/atoms/avatar.d.ts +3 -3
- package/dist/atoms/badge.d.cts +3 -3
- package/dist/atoms/badge.d.ts +3 -3
- package/dist/atoms/button.d.cts +3 -3
- package/dist/atoms/button.d.ts +3 -3
- package/dist/atoms/card.d.cts +3 -3
- package/dist/atoms/card.d.ts +3 -3
- package/dist/atoms/check-box-group.d.cts +4 -4
- package/dist/atoms/check-box-group.d.ts +4 -4
- package/dist/atoms/check-box.d.cts +3 -3
- package/dist/atoms/check-box.d.ts +3 -3
- package/dist/atoms/collapse.d.cts +3 -3
- package/dist/atoms/collapse.d.ts +3 -3
- package/dist/atoms/drawer.d.cts +8 -8
- package/dist/atoms/drawer.d.ts +8 -8
- package/dist/atoms/drawer.js +2 -2
- package/dist/atoms/dropdown-menu.cjs +51 -1
- package/dist/atoms/dropdown-menu.cjs.map +1 -1
- package/dist/atoms/dropdown-menu.d.cts +26 -1
- package/dist/atoms/dropdown-menu.d.ts +26 -1
- package/dist/atoms/dropdown-menu.js +1 -1
- package/dist/atoms/ellipsis-tooltip.d.cts +2 -2
- package/dist/atoms/ellipsis-tooltip.d.ts +2 -2
- package/dist/atoms/field-error-wrapper.d.cts +3 -3
- package/dist/atoms/field-error-wrapper.d.ts +3 -3
- package/dist/atoms/form.d.cts +7 -7
- package/dist/atoms/form.d.ts +7 -7
- package/dist/atoms/index.cjs +94 -73
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.d.cts +2 -1
- package/dist/atoms/index.d.ts +2 -1
- package/dist/atoms/index.js +59 -59
- package/dist/atoms/pagination.d.cts +2 -2
- package/dist/atoms/pagination.d.ts +2 -2
- package/dist/atoms/pagination.js +2 -2
- package/dist/atoms/typo.d.cts +2 -2
- package/dist/atoms/typo.d.ts +2 -2
- package/dist/charts/horizontal-bar-chart.d.cts +2 -2
- package/dist/charts/horizontal-bar-chart.d.ts +2 -2
- package/dist/chunk-46A3Q5FJ.js +59 -0
- package/dist/chunk-46A3Q5FJ.js.map +1 -0
- package/dist/chunk-4AI7AKMF.js +34 -0
- package/dist/chunk-4AI7AKMF.js.map +1 -0
- package/dist/chunk-4D6AW2AL.js +36 -0
- package/dist/chunk-4D6AW2AL.js.map +1 -0
- package/dist/chunk-4ZCLCSZJ.js +59 -0
- package/dist/chunk-4ZCLCSZJ.js.map +1 -0
- package/dist/chunk-6XEKRSH4.js +119 -0
- package/dist/chunk-6XEKRSH4.js.map +1 -0
- package/dist/chunk-7A7J457W.js +63 -0
- package/dist/chunk-7A7J457W.js.map +1 -0
- package/dist/chunk-7DMFFGJO.js +36 -0
- package/dist/chunk-7DMFFGJO.js.map +1 -0
- package/dist/chunk-AH3JQGIV.js +36 -0
- package/dist/chunk-AH3JQGIV.js.map +1 -0
- package/dist/chunk-BGEMXQCK.js +59 -0
- package/dist/chunk-BGEMXQCK.js.map +1 -0
- package/dist/chunk-E237B7Y6.js +33 -0
- package/dist/chunk-E237B7Y6.js.map +1 -0
- package/dist/chunk-EIRUKSOW.js +34 -0
- package/dist/chunk-EIRUKSOW.js.map +1 -0
- package/dist/chunk-EKFTULUP.js +34 -0
- package/dist/chunk-EKFTULUP.js.map +1 -0
- package/dist/chunk-FXU6OEPZ.js +12 -0
- package/dist/chunk-FXU6OEPZ.js.map +1 -0
- package/dist/chunk-GAXVJHRD.js +104 -0
- package/dist/chunk-GAXVJHRD.js.map +1 -0
- package/dist/chunk-MFLJ2V3R.js +63 -0
- package/dist/chunk-MFLJ2V3R.js.map +1 -0
- package/dist/chunk-NSSO2QWC.js +63 -0
- package/dist/chunk-NSSO2QWC.js.map +1 -0
- package/dist/chunk-P4T2KKQP.js +63 -0
- package/dist/chunk-P4T2KKQP.js.map +1 -0
- package/dist/chunk-R43PBEHD.js +63 -0
- package/dist/chunk-R43PBEHD.js.map +1 -0
- package/dist/chunk-RKLEKAON.js +63 -0
- package/dist/chunk-RKLEKAON.js.map +1 -0
- package/dist/chunk-S6R7UAYR.js +36 -0
- package/dist/chunk-S6R7UAYR.js.map +1 -0
- package/dist/chunk-UMZNOFYA.js +33 -0
- package/dist/chunk-UMZNOFYA.js.map +1 -0
- package/dist/chunk-Z32GH5FC.js +8 -0
- package/dist/chunk-Z32GH5FC.js.map +1 -0
- package/dist/icons/down.d.cts +2 -2
- package/dist/icons/down.d.ts +2 -2
- package/dist/icons/up.d.cts +2 -2
- package/dist/icons/up.d.ts +2 -2
- package/dist/index.cjs +151 -126
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +3 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +69 -69
- package/dist/molecules/date-picker/index.d.cts +2 -2
- package/dist/molecules/date-picker/index.d.ts +2 -2
- package/dist/molecules/date-picker/index.js +2 -2
- package/dist/molecules/expand-table/index.d.cts +3 -3
- package/dist/molecules/expand-table/index.d.ts +3 -3
- package/dist/molecules/expand-table/index.js +27 -27
- package/dist/molecules/expand-table/row.d.cts +3 -3
- package/dist/molecules/expand-table/row.d.ts +3 -3
- package/dist/molecules/expand-table/row.js +24 -24
- package/dist/molecules/index.cjs +6 -2
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +29 -29
- package/dist/molecules/navigation.cjs +6 -2
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.d.cts +4 -4
- package/dist/molecules/navigation.d.ts +4 -4
- package/dist/molecules/navigation.js +25 -25
- package/dist/theme/theme-provider.d.cts +4 -4
- package/dist/theme/theme-provider.d.ts +4 -4
- package/package.json +1 -1
- package/src/atoms/dropdown-menu.tsx +29 -1
- package/src/molecules/navigation.tsx +6 -2
package/dist/atoms/avatar.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { AvatarProps as AvatarProps$1 } from '@radix-ui/themes';
|
|
3
3
|
|
|
4
4
|
type AvatarProps = Omit<AvatarProps$1, 'size'> & {
|
|
5
5
|
size?: 'small' | 'medium' | 'large' | 'full';
|
|
6
6
|
};
|
|
7
|
-
declare const Avatar:
|
|
7
|
+
declare const Avatar: react.ForwardRefExoticComponent<Omit<AvatarProps$1, "size"> & {
|
|
8
8
|
size?: "small" | "medium" | "large" | "full" | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & react.RefAttributes<HTMLImageElement>>;
|
|
10
10
|
|
|
11
11
|
export { Avatar, type AvatarProps };
|
package/dist/atoms/avatar.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { AvatarProps as AvatarProps$1 } from '@radix-ui/themes';
|
|
3
3
|
|
|
4
4
|
type AvatarProps = Omit<AvatarProps$1, 'size'> & {
|
|
5
5
|
size?: 'small' | 'medium' | 'large' | 'full';
|
|
6
6
|
};
|
|
7
|
-
declare const Avatar:
|
|
7
|
+
declare const Avatar: react.ForwardRefExoticComponent<Omit<AvatarProps$1, "size"> & {
|
|
8
8
|
size?: "small" | "medium" | "large" | "full" | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & react.RefAttributes<HTMLImageElement>>;
|
|
10
10
|
|
|
11
11
|
export { Avatar, type AvatarProps };
|
package/dist/atoms/badge.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { BadgeProps as BadgeProps$1 } from '@radix-ui/themes';
|
|
3
3
|
|
|
4
4
|
type BadgeProps = Omit<BadgeProps$1, 'color'> & {
|
|
5
5
|
size: 'small' | 'large';
|
|
6
6
|
color: 'error' | 'accent' | 'neutral' | 'success';
|
|
7
7
|
};
|
|
8
|
-
declare const Badge:
|
|
8
|
+
declare const Badge: react.ForwardRefExoticComponent<Omit<BadgeProps$1, "color"> & {
|
|
9
9
|
size: 'small' | 'large';
|
|
10
10
|
color: 'error' | 'accent' | 'neutral' | 'success';
|
|
11
|
-
} &
|
|
11
|
+
} & react.RefAttributes<HTMLSpanElement>>;
|
|
12
12
|
|
|
13
13
|
export { Badge, type BadgeProps };
|
package/dist/atoms/badge.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { BadgeProps as BadgeProps$1 } from '@radix-ui/themes';
|
|
3
3
|
|
|
4
4
|
type BadgeProps = Omit<BadgeProps$1, 'color'> & {
|
|
5
5
|
size: 'small' | 'large';
|
|
6
6
|
color: 'error' | 'accent' | 'neutral' | 'success';
|
|
7
7
|
};
|
|
8
|
-
declare const Badge:
|
|
8
|
+
declare const Badge: react.ForwardRefExoticComponent<Omit<BadgeProps$1, "color"> & {
|
|
9
9
|
size: 'small' | 'large';
|
|
10
10
|
color: 'error' | 'accent' | 'neutral' | 'success';
|
|
11
|
-
} &
|
|
11
|
+
} & react.RefAttributes<HTMLSpanElement>>;
|
|
12
12
|
|
|
13
13
|
export { Badge, type BadgeProps };
|
package/dist/atoms/button.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ButtonProps as ButtonProps$1 } from '@radix-ui/themes';
|
|
2
|
-
import
|
|
2
|
+
import react__default from 'react';
|
|
3
3
|
|
|
4
4
|
type ButtonProps = Omit<ButtonProps$1, 'size'> & {
|
|
5
5
|
size?: 'small' | 'medium' | 'large';
|
|
6
6
|
};
|
|
7
|
-
declare const Button:
|
|
7
|
+
declare const Button: react__default.ForwardRefExoticComponent<Omit<ButtonProps$1, "size"> & {
|
|
8
8
|
size?: "small" | "medium" | "large" | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & react__default.RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
|
|
11
11
|
export { Button, type ButtonProps };
|
package/dist/atoms/button.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ButtonProps as ButtonProps$1 } from '@radix-ui/themes';
|
|
2
|
-
import
|
|
2
|
+
import react__default from 'react';
|
|
3
3
|
|
|
4
4
|
type ButtonProps = Omit<ButtonProps$1, 'size'> & {
|
|
5
5
|
size?: 'small' | 'medium' | 'large';
|
|
6
6
|
};
|
|
7
|
-
declare const Button:
|
|
7
|
+
declare const Button: react__default.ForwardRefExoticComponent<Omit<ButtonProps$1, "size"> & {
|
|
8
8
|
size?: "small" | "medium" | "large" | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & react__default.RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
|
|
11
11
|
export { Button, type ButtonProps };
|
package/dist/atoms/card.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { CardProps as CardProps$1 } from '@radix-ui/themes';
|
|
3
3
|
|
|
4
4
|
type CardProps = CardProps$1 & {
|
|
@@ -10,7 +10,7 @@ type CardProps = CardProps$1 & {
|
|
|
10
10
|
bottom?: boolean;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
declare const Card:
|
|
13
|
+
declare const Card: react.ForwardRefExoticComponent<CardProps$1 & {
|
|
14
14
|
borderRadius?: "none" | undefined;
|
|
15
15
|
borderDisable?: {
|
|
16
16
|
left?: boolean | undefined;
|
|
@@ -18,6 +18,6 @@ declare const Card: React.ForwardRefExoticComponent<CardProps$1 & {
|
|
|
18
18
|
top?: boolean | undefined;
|
|
19
19
|
bottom?: boolean | undefined;
|
|
20
20
|
} | undefined;
|
|
21
|
-
} &
|
|
21
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
22
22
|
|
|
23
23
|
export { Card, type CardProps };
|
package/dist/atoms/card.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { CardProps as CardProps$1 } from '@radix-ui/themes';
|
|
3
3
|
|
|
4
4
|
type CardProps = CardProps$1 & {
|
|
@@ -10,7 +10,7 @@ type CardProps = CardProps$1 & {
|
|
|
10
10
|
bottom?: boolean;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
declare const Card:
|
|
13
|
+
declare const Card: react.ForwardRefExoticComponent<CardProps$1 & {
|
|
14
14
|
borderRadius?: "none" | undefined;
|
|
15
15
|
borderDisable?: {
|
|
16
16
|
left?: boolean | undefined;
|
|
@@ -18,6 +18,6 @@ declare const Card: React.ForwardRefExoticComponent<CardProps$1 & {
|
|
|
18
18
|
top?: boolean | undefined;
|
|
19
19
|
bottom?: boolean | undefined;
|
|
20
20
|
} | undefined;
|
|
21
|
-
} &
|
|
21
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
22
22
|
|
|
23
23
|
export { Card, type CardProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CheckboxGroup as CheckboxGroup$1 } from '@radix-ui/themes';
|
|
2
|
-
import
|
|
2
|
+
import react__default from 'react';
|
|
3
3
|
|
|
4
4
|
declare const CheckboxGroup: {
|
|
5
|
-
Root:
|
|
5
|
+
Root: react__default.ForwardRefExoticComponent<Omit<Omit<CheckboxGroup$1.RootProps & react__default.RefAttributes<HTMLDivElement>, "ref">, "size"> & {
|
|
6
6
|
size: 'small' | 'medium' | 'large';
|
|
7
|
-
} &
|
|
8
|
-
Item:
|
|
7
|
+
} & react__default.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
Item: react__default.ForwardRefExoticComponent<CheckboxGroup$1.ItemProps & react__default.RefAttributes<HTMLButtonElement>>;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { CheckboxGroup };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CheckboxGroup as CheckboxGroup$1 } from '@radix-ui/themes';
|
|
2
|
-
import
|
|
2
|
+
import react__default from 'react';
|
|
3
3
|
|
|
4
4
|
declare const CheckboxGroup: {
|
|
5
|
-
Root:
|
|
5
|
+
Root: react__default.ForwardRefExoticComponent<Omit<Omit<CheckboxGroup$1.RootProps & react__default.RefAttributes<HTMLDivElement>, "ref">, "size"> & {
|
|
6
6
|
size: 'small' | 'medium' | 'large';
|
|
7
|
-
} &
|
|
8
|
-
Item:
|
|
7
|
+
} & react__default.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
Item: react__default.ForwardRefExoticComponent<CheckboxGroup$1.ItemProps & react__default.RefAttributes<HTMLButtonElement>>;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { CheckboxGroup };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { CheckboxProps as CheckboxProps$1 } from '@radix-ui/themes';
|
|
3
3
|
|
|
4
4
|
type CheckboxProps = Omit<CheckboxProps$1, 'size'> & {
|
|
5
5
|
size?: 'small' | 'medium' | 'large';
|
|
6
6
|
};
|
|
7
|
-
declare const Checkbox:
|
|
7
|
+
declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckboxProps$1, "size"> & {
|
|
8
8
|
size?: "small" | "medium" | "large" | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
|
|
11
11
|
export { Checkbox, type CheckboxProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { CheckboxProps as CheckboxProps$1 } from '@radix-ui/themes';
|
|
3
3
|
|
|
4
4
|
type CheckboxProps = Omit<CheckboxProps$1, 'size'> & {
|
|
5
5
|
size?: 'small' | 'medium' | 'large';
|
|
6
6
|
};
|
|
7
|
-
declare const Checkbox:
|
|
7
|
+
declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckboxProps$1, "size"> & {
|
|
8
8
|
size?: "small" | "medium" | "large" | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
|
|
11
11
|
export { Checkbox, type CheckboxProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react__default from 'react';
|
|
2
2
|
|
|
3
3
|
interface CollapseProps {
|
|
4
|
-
children:
|
|
4
|
+
children: react__default.ReactNode;
|
|
5
5
|
open?: boolean;
|
|
6
6
|
defaultOpen?: boolean;
|
|
7
7
|
/** 닫힘 상태일 때 높이 값이 필요할 시 사용 */
|
|
8
8
|
closedHeight?: string;
|
|
9
9
|
}
|
|
10
|
-
declare function Collapse(props: CollapseProps):
|
|
10
|
+
declare function Collapse(props: CollapseProps): react__default.ReactNode;
|
|
11
11
|
|
|
12
12
|
export { Collapse, type CollapseProps };
|
package/dist/atoms/collapse.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react__default from 'react';
|
|
2
2
|
|
|
3
3
|
interface CollapseProps {
|
|
4
|
-
children:
|
|
4
|
+
children: react__default.ReactNode;
|
|
5
5
|
open?: boolean;
|
|
6
6
|
defaultOpen?: boolean;
|
|
7
7
|
/** 닫힘 상태일 때 높이 값이 필요할 시 사용 */
|
|
8
8
|
closedHeight?: string;
|
|
9
9
|
}
|
|
10
|
-
declare function Collapse(props: CollapseProps):
|
|
10
|
+
declare function Collapse(props: CollapseProps): react__default.ReactNode;
|
|
11
11
|
|
|
12
12
|
export { Collapse, type CollapseProps };
|
package/dist/atoms/drawer.d.cts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react__default from 'react';
|
|
2
2
|
import * as Dialog from '@radix-ui/react-dialog';
|
|
3
3
|
|
|
4
|
-
declare function Root(props: Dialog.DialogProps):
|
|
4
|
+
declare function Root(props: Dialog.DialogProps): react__default.ReactNode;
|
|
5
5
|
type ContentProps = Dialog.DialogContentProps & {
|
|
6
6
|
/** Drawer가 붙는 위치, 기본값 right */
|
|
7
7
|
position?: 'left' | 'right' | 'bottom' | 'top';
|
|
8
8
|
};
|
|
9
|
-
declare function Content(props: ContentProps):
|
|
10
|
-
declare function Trigger(props: Dialog.DialogTriggerProps):
|
|
9
|
+
declare function Content(props: ContentProps): react__default.ReactNode;
|
|
10
|
+
declare function Trigger(props: Dialog.DialogTriggerProps): react__default.ReactNode;
|
|
11
11
|
declare const Drawer: {
|
|
12
|
-
Root:
|
|
12
|
+
Root: react__default.FC<Dialog.DialogProps>;
|
|
13
13
|
Trigger: typeof Trigger;
|
|
14
14
|
Content: typeof Content;
|
|
15
|
-
Close:
|
|
16
|
-
Title:
|
|
17
|
-
Description:
|
|
15
|
+
Close: react__default.ForwardRefExoticComponent<Dialog.DialogCloseProps & react__default.RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
Title: react__default.ForwardRefExoticComponent<Dialog.DialogTitleProps & react__default.RefAttributes<HTMLHeadingElement>>;
|
|
17
|
+
Description: react__default.ForwardRefExoticComponent<Dialog.DialogDescriptionProps & react__default.RefAttributes<HTMLParagraphElement>>;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export { Content, Drawer, Root, Trigger };
|
package/dist/atoms/drawer.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react__default from 'react';
|
|
2
2
|
import * as Dialog from '@radix-ui/react-dialog';
|
|
3
3
|
|
|
4
|
-
declare function Root(props: Dialog.DialogProps):
|
|
4
|
+
declare function Root(props: Dialog.DialogProps): react__default.ReactNode;
|
|
5
5
|
type ContentProps = Dialog.DialogContentProps & {
|
|
6
6
|
/** Drawer가 붙는 위치, 기본값 right */
|
|
7
7
|
position?: 'left' | 'right' | 'bottom' | 'top';
|
|
8
8
|
};
|
|
9
|
-
declare function Content(props: ContentProps):
|
|
10
|
-
declare function Trigger(props: Dialog.DialogTriggerProps):
|
|
9
|
+
declare function Content(props: ContentProps): react__default.ReactNode;
|
|
10
|
+
declare function Trigger(props: Dialog.DialogTriggerProps): react__default.ReactNode;
|
|
11
11
|
declare const Drawer: {
|
|
12
|
-
Root:
|
|
12
|
+
Root: react__default.FC<Dialog.DialogProps>;
|
|
13
13
|
Trigger: typeof Trigger;
|
|
14
14
|
Content: typeof Content;
|
|
15
|
-
Close:
|
|
16
|
-
Title:
|
|
17
|
-
Description:
|
|
15
|
+
Close: react__default.ForwardRefExoticComponent<Dialog.DialogCloseProps & react__default.RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
Title: react__default.ForwardRefExoticComponent<Dialog.DialogTitleProps & react__default.RefAttributes<HTMLHeadingElement>>;
|
|
17
|
+
Description: react__default.ForwardRefExoticComponent<Dialog.DialogDescriptionProps & react__default.RefAttributes<HTMLParagraphElement>>;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export { Content, Drawer, Root, Trigger };
|
package/dist/atoms/drawer.js
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
Drawer,
|
|
4
4
|
Root,
|
|
5
5
|
Trigger
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-7LEWTGAO.js";
|
|
6
|
+
} from "../chunk-L46ZSIX4.js";
|
|
8
7
|
import "../chunk-NJ2U2TVS.js";
|
|
8
|
+
import "../chunk-7LEWTGAO.js";
|
|
9
9
|
import "../chunk-O3DNDMV3.js";
|
|
10
10
|
import "../chunk-N552FDTV.js";
|
|
11
11
|
export {
|
|
@@ -1,8 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __spreadValues = (a, b) => {
|
|
12
|
+
for (var prop in b || (b = {}))
|
|
13
|
+
if (__hasOwnProp.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
if (__getOwnPropSymbols)
|
|
16
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
+
if (__propIsEnum.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
}
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
+
var __objRest = (source, exclude) => {
|
|
24
|
+
var target = {};
|
|
25
|
+
for (var prop in source)
|
|
26
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
27
|
+
target[prop] = source[prop];
|
|
28
|
+
if (source != null && __getOwnPropSymbols)
|
|
29
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
30
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
31
|
+
target[prop] = source[prop];
|
|
32
|
+
}
|
|
33
|
+
return target;
|
|
34
|
+
};
|
|
6
35
|
var __export = (target, all) => {
|
|
7
36
|
for (var name in all)
|
|
8
37
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -20,10 +49,31 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
49
|
// src/atoms/dropdown-menu.tsx
|
|
21
50
|
var dropdown_menu_exports = {};
|
|
22
51
|
__export(dropdown_menu_exports, {
|
|
23
|
-
DropdownMenu: () =>
|
|
52
|
+
DropdownMenu: () => DropdownMenu
|
|
24
53
|
});
|
|
25
54
|
module.exports = __toCommonJS(dropdown_menu_exports);
|
|
26
55
|
var import_themes = require("@radix-ui/themes");
|
|
56
|
+
var import_react = require("react");
|
|
57
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
58
|
+
var Content = (0, import_react.forwardRef)((props, ref) => {
|
|
59
|
+
const _a = props, { isNavigation, className } = _a, rest = __objRest(_a, ["isNavigation", "className"]);
|
|
60
|
+
const contentClassName = (0, import_react.useMemo)(() => {
|
|
61
|
+
const cls = isNavigation ? "dropdown-navigation" : "";
|
|
62
|
+
return [cls, className].join(" ");
|
|
63
|
+
}, [isNavigation, className]);
|
|
64
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
65
|
+
import_themes.DropdownMenu.Content,
|
|
66
|
+
__spreadProps(__spreadValues({
|
|
67
|
+
ref
|
|
68
|
+
}, rest), {
|
|
69
|
+
className: contentClassName
|
|
70
|
+
})
|
|
71
|
+
);
|
|
72
|
+
});
|
|
73
|
+
Content.displayName = "DropdownMenu.Content";
|
|
74
|
+
var DropdownMenu = __spreadProps(__spreadValues({}, import_themes.DropdownMenu), {
|
|
75
|
+
Content
|
|
76
|
+
});
|
|
27
77
|
// Annotate the CommonJS export names for ESM import in node:
|
|
28
78
|
0 && (module.exports = {
|
|
29
79
|
DropdownMenu
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/atoms/dropdown-menu.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../src/atoms/dropdown-menu.tsx"],"sourcesContent":["import { DropdownMenu as RadixDropdownMenu } from '@radix-ui/themes';\nimport { forwardRef, useMemo } from 'react';\n\nexport type ContentProps = RadixDropdownMenu.ContentProps & {\n isNavigation?: boolean;\n};\n\nconst Content = forwardRef<HTMLDivElement, ContentProps>((props, ref) => {\n const { isNavigation, className, ...rest } = props;\n const contentClassName = useMemo(() => {\n const cls = isNavigation ? 'dropdown-navigation' : '';\n return [cls, className].join(' ');\n }, [isNavigation, className]);\n\n return (\n <RadixDropdownMenu.Content\n ref={ref}\n {...rest}\n className={contentClassName}\n />\n );\n});\n\nContent.displayName = 'DropdownMenu.Content';\n\nexport const DropdownMenu = {\n ...RadixDropdownMenu,\n Content,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAkD;AAClD,mBAAoC;AAchC;AARJ,IAAM,cAAU,yBAAyC,CAAC,OAAO,QAAQ;AACvE,QAA6C,YAArC,gBAAc,UARxB,IAQ+C,IAAT,iBAAS,IAAT,CAA5B,gBAAc;AACtB,QAAM,uBAAmB,sBAAQ,MAAM;AACrC,UAAM,MAAM,eAAe,wBAAwB;AACnD,WAAO,CAAC,KAAK,SAAS,EAAE,KAAK,GAAG;AAAA,EAClC,GAAG,CAAC,cAAc,SAAS,CAAC;AAE5B,SACE;AAAA,IAAC,cAAAA,aAAkB;AAAA,IAAlB;AAAA,MACC;AAAA,OACI,OAFL;AAAA,MAGC,WAAW;AAAA;AAAA,EACb;AAEJ,CAAC;AAED,QAAQ,cAAc;AAEf,IAAM,eAAe,iCACvB,cAAAA,eADuB;AAAA,EAE1B;AACF;","names":["RadixDropdownMenu"]}
|
|
@@ -1 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { DropdownMenu as DropdownMenu$1 } from '@radix-ui/themes';
|
|
3
|
+
|
|
4
|
+
type ContentProps = DropdownMenu$1.ContentProps & {
|
|
5
|
+
isNavigation?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const DropdownMenu: {
|
|
8
|
+
Content: react.ForwardRefExoticComponent<DropdownMenu$1.ContentProps & {
|
|
9
|
+
isNavigation?: boolean | undefined;
|
|
10
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
Root: react.FC<DropdownMenu$1.RootProps>;
|
|
12
|
+
Trigger: react.ForwardRefExoticComponent<DropdownMenu$1.TriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
TriggerIcon: react.ForwardRefExoticComponent<DropdownMenu$1.TriggerIconProps & react.RefAttributes<SVGSVGElement>>;
|
|
14
|
+
Label: react.ForwardRefExoticComponent<DropdownMenu$1.LabelProps & react.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
Item: react.ForwardRefExoticComponent<DropdownMenu$1.ItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
Group: react.ForwardRefExoticComponent<DropdownMenu$1.GroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
RadioGroup: react.ForwardRefExoticComponent<DropdownMenu$1.RadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
RadioItem: react.ForwardRefExoticComponent<DropdownMenu$1.RadioItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
CheckboxItem: react.ForwardRefExoticComponent<DropdownMenu$1.CheckboxItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
Sub: react.FC<DropdownMenu$1.SubProps>;
|
|
21
|
+
SubTrigger: react.ForwardRefExoticComponent<DropdownMenu$1.SubTriggerProps & react.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
SubContent: react.ForwardRefExoticComponent<DropdownMenu$1.SubContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
Separator: react.ForwardRefExoticComponent<DropdownMenu$1.SeparatorProps & react.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export { type ContentProps, DropdownMenu };
|
|
@@ -1 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { DropdownMenu as DropdownMenu$1 } from '@radix-ui/themes';
|
|
3
|
+
|
|
4
|
+
type ContentProps = DropdownMenu$1.ContentProps & {
|
|
5
|
+
isNavigation?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const DropdownMenu: {
|
|
8
|
+
Content: react.ForwardRefExoticComponent<DropdownMenu$1.ContentProps & {
|
|
9
|
+
isNavigation?: boolean | undefined;
|
|
10
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
Root: react.FC<DropdownMenu$1.RootProps>;
|
|
12
|
+
Trigger: react.ForwardRefExoticComponent<DropdownMenu$1.TriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
TriggerIcon: react.ForwardRefExoticComponent<DropdownMenu$1.TriggerIconProps & react.RefAttributes<SVGSVGElement>>;
|
|
14
|
+
Label: react.ForwardRefExoticComponent<DropdownMenu$1.LabelProps & react.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
Item: react.ForwardRefExoticComponent<DropdownMenu$1.ItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
Group: react.ForwardRefExoticComponent<DropdownMenu$1.GroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
RadioGroup: react.ForwardRefExoticComponent<DropdownMenu$1.RadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
RadioItem: react.ForwardRefExoticComponent<DropdownMenu$1.RadioItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
CheckboxItem: react.ForwardRefExoticComponent<DropdownMenu$1.CheckboxItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
Sub: react.FC<DropdownMenu$1.SubProps>;
|
|
21
|
+
SubTrigger: react.ForwardRefExoticComponent<DropdownMenu$1.SubTriggerProps & react.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
SubContent: react.ForwardRefExoticComponent<DropdownMenu$1.SubContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
Separator: react.ForwardRefExoticComponent<DropdownMenu$1.SeparatorProps & react.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export { type ContentProps, DropdownMenu };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react__default from 'react';
|
|
2
2
|
import { TypoProps } from './typo.cjs';
|
|
3
3
|
import '@radix-ui/themes';
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ type EllipsisTooltipProps = TypoProps & {
|
|
|
6
6
|
lineClamp?: number;
|
|
7
7
|
children?: string;
|
|
8
8
|
};
|
|
9
|
-
declare function EllipsisTooltip(props: EllipsisTooltipProps):
|
|
9
|
+
declare function EllipsisTooltip(props: EllipsisTooltipProps): react__default.ReactNode;
|
|
10
10
|
|
|
11
11
|
export { EllipsisTooltip, type EllipsisTooltipProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react__default from 'react';
|
|
2
2
|
import { TypoProps } from './typo.js';
|
|
3
3
|
import '@radix-ui/themes';
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ type EllipsisTooltipProps = TypoProps & {
|
|
|
6
6
|
lineClamp?: number;
|
|
7
7
|
children?: string;
|
|
8
8
|
};
|
|
9
|
-
declare function EllipsisTooltip(props: EllipsisTooltipProps):
|
|
9
|
+
declare function EllipsisTooltip(props: EllipsisTooltipProps): react__default.ReactNode;
|
|
10
10
|
|
|
11
11
|
export { EllipsisTooltip, type EllipsisTooltipProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react__default from 'react';
|
|
2
2
|
|
|
3
3
|
interface FieldErrorWrapperProps {
|
|
4
|
-
children?:
|
|
5
|
-
error?:
|
|
4
|
+
children?: react__default.ReactNode;
|
|
5
|
+
error?: react__default.ReactNode;
|
|
6
6
|
}
|
|
7
7
|
declare function FieldErrorWrapper({ children, error, }: FieldErrorWrapperProps): JSX.Element;
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react__default from 'react';
|
|
2
2
|
|
|
3
3
|
interface FieldErrorWrapperProps {
|
|
4
|
-
children?:
|
|
5
|
-
error?:
|
|
4
|
+
children?: react__default.ReactNode;
|
|
5
|
+
error?: react__default.ReactNode;
|
|
6
6
|
}
|
|
7
7
|
declare function FieldErrorWrapper({ children, error, }: FieldErrorWrapperProps): JSX.Element;
|
|
8
8
|
|
package/dist/atoms/form.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import * as RadixForm from '@radix-ui/react-form';
|
|
3
3
|
|
|
4
4
|
declare const Form: {
|
|
5
|
-
Root:
|
|
6
|
-
Field:
|
|
7
|
-
Label:
|
|
8
|
-
Message:
|
|
9
|
-
Control:
|
|
10
|
-
Submit:
|
|
5
|
+
Root: react.ForwardRefExoticComponent<RadixForm.FormProps & react.RefAttributes<HTMLFormElement>>;
|
|
6
|
+
Field: react.ForwardRefExoticComponent<RadixForm.FormFieldProps & react.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
Label: react.ForwardRefExoticComponent<RadixForm.FormLabelProps & react.RefAttributes<HTMLLabelElement>>;
|
|
8
|
+
Message: react.ForwardRefExoticComponent<RadixForm.FormMessageProps & react.RefAttributes<HTMLSpanElement>>;
|
|
9
|
+
Control: react.ForwardRefExoticComponent<RadixForm.FormControlProps & react.RefAttributes<HTMLInputElement>>;
|
|
10
|
+
Submit: react.ForwardRefExoticComponent<RadixForm.FormSubmitProps & react.RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export { Form };
|
package/dist/atoms/form.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import * as RadixForm from '@radix-ui/react-form';
|
|
3
3
|
|
|
4
4
|
declare const Form: {
|
|
5
|
-
Root:
|
|
6
|
-
Field:
|
|
7
|
-
Label:
|
|
8
|
-
Message:
|
|
9
|
-
Control:
|
|
10
|
-
Submit:
|
|
5
|
+
Root: react.ForwardRefExoticComponent<RadixForm.FormProps & react.RefAttributes<HTMLFormElement>>;
|
|
6
|
+
Field: react.ForwardRefExoticComponent<RadixForm.FormFieldProps & react.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
Label: react.ForwardRefExoticComponent<RadixForm.FormLabelProps & react.RefAttributes<HTMLLabelElement>>;
|
|
8
|
+
Message: react.ForwardRefExoticComponent<RadixForm.FormMessageProps & react.RefAttributes<HTMLSpanElement>>;
|
|
9
|
+
Control: react.ForwardRefExoticComponent<RadixForm.FormControlProps & react.RefAttributes<HTMLInputElement>>;
|
|
10
|
+
Submit: react.ForwardRefExoticComponent<RadixForm.FormSubmitProps & react.RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export { Form };
|