@tipp/ui 1.0.51 → 1.0.52

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.
Files changed (170) hide show
  1. package/dist/index.js +11 -11
  2. package/package.json +3 -3
  3. package/dist/atoms/alert-dialog.d.cts +0 -1
  4. package/dist/atoms/alert-dialog.d.ts +0 -1
  5. package/dist/atoms/aspect-ratio.d.cts +0 -1
  6. package/dist/atoms/aspect-ratio.d.ts +0 -1
  7. package/dist/atoms/avatar.d.cts +0 -11
  8. package/dist/atoms/avatar.d.ts +0 -11
  9. package/dist/atoms/badge.d.cts +0 -13
  10. package/dist/atoms/badge.d.ts +0 -13
  11. package/dist/atoms/blockquote.d.cts +0 -1
  12. package/dist/atoms/blockquote.d.ts +0 -1
  13. package/dist/atoms/box.d.cts +0 -1
  14. package/dist/atoms/box.d.ts +0 -1
  15. package/dist/atoms/button.d.cts +0 -11
  16. package/dist/atoms/button.d.ts +0 -11
  17. package/dist/atoms/call-out.d.cts +0 -1
  18. package/dist/atoms/call-out.d.ts +0 -1
  19. package/dist/atoms/card.d.cts +0 -23
  20. package/dist/atoms/card.d.ts +0 -23
  21. package/dist/atoms/check-box-card.d.cts +0 -1
  22. package/dist/atoms/check-box-card.d.ts +0 -1
  23. package/dist/atoms/check-box-group.d.cts +0 -11
  24. package/dist/atoms/check-box-group.d.ts +0 -11
  25. package/dist/atoms/check-box.d.cts +0 -11
  26. package/dist/atoms/check-box.d.ts +0 -11
  27. package/dist/atoms/code.d.cts +0 -1
  28. package/dist/atoms/code.d.ts +0 -1
  29. package/dist/atoms/collapse.d.cts +0 -12
  30. package/dist/atoms/collapse.d.ts +0 -12
  31. package/dist/atoms/container.d.cts +0 -1
  32. package/dist/atoms/container.d.ts +0 -1
  33. package/dist/atoms/data-list.d.cts +0 -1
  34. package/dist/atoms/data-list.d.ts +0 -1
  35. package/dist/atoms/dialog.d.cts +0 -1
  36. package/dist/atoms/dialog.d.ts +0 -1
  37. package/dist/atoms/drawer.d.cts +0 -20
  38. package/dist/atoms/drawer.d.ts +0 -20
  39. package/dist/atoms/dropdown-menu.d.cts +0 -23
  40. package/dist/atoms/dropdown-menu.d.ts +0 -23
  41. package/dist/atoms/ellipsis-tooltip.d.cts +0 -11
  42. package/dist/atoms/ellipsis-tooltip.d.ts +0 -11
  43. package/dist/atoms/em.d.cts +0 -1
  44. package/dist/atoms/em.d.ts +0 -1
  45. package/dist/atoms/field-error-wrapper.d.cts +0 -9
  46. package/dist/atoms/field-error-wrapper.d.ts +0 -9
  47. package/dist/atoms/flex.d.cts +0 -1
  48. package/dist/atoms/flex.d.ts +0 -1
  49. package/dist/atoms/form.d.cts +0 -13
  50. package/dist/atoms/form.d.ts +0 -13
  51. package/dist/atoms/grid.d.cts +0 -1
  52. package/dist/atoms/grid.d.ts +0 -1
  53. package/dist/atoms/heading.d.cts +0 -9
  54. package/dist/atoms/heading.d.ts +0 -9
  55. package/dist/atoms/hover-card.d.cts +0 -1
  56. package/dist/atoms/hover-card.d.ts +0 -1
  57. package/dist/atoms/icon-button.d.cts +0 -1
  58. package/dist/atoms/icon-button.d.ts +0 -1
  59. package/dist/atoms/index.d.cts +0 -23
  60. package/dist/atoms/index.d.ts +0 -23
  61. package/dist/atoms/inset.d.cts +0 -1
  62. package/dist/atoms/inset.d.ts +0 -1
  63. package/dist/atoms/kbd.d.cts +0 -1
  64. package/dist/atoms/kbd.d.ts +0 -1
  65. package/dist/atoms/link.d.cts +0 -9
  66. package/dist/atoms/link.d.ts +0 -9
  67. package/dist/atoms/pagination.d.cts +0 -16
  68. package/dist/atoms/pagination.d.ts +0 -16
  69. package/dist/atoms/popover.d.cts +0 -1
  70. package/dist/atoms/popover.d.ts +0 -1
  71. package/dist/atoms/progress.d.cts +0 -1
  72. package/dist/atoms/progress.d.ts +0 -1
  73. package/dist/atoms/quote.d.cts +0 -1
  74. package/dist/atoms/quote.d.ts +0 -1
  75. package/dist/atoms/radio-cards.d.cts +0 -1
  76. package/dist/atoms/radio-cards.d.ts +0 -1
  77. package/dist/atoms/radio-group.d.cts +0 -1
  78. package/dist/atoms/radio-group.d.ts +0 -1
  79. package/dist/atoms/radio.d.cts +0 -1
  80. package/dist/atoms/radio.d.ts +0 -1
  81. package/dist/atoms/scroll-area.d.cts +0 -1
  82. package/dist/atoms/scroll-area.d.ts +0 -1
  83. package/dist/atoms/section.d.cts +0 -1
  84. package/dist/atoms/section.d.ts +0 -1
  85. package/dist/atoms/segmented-control.d.cts +0 -1
  86. package/dist/atoms/segmented-control.d.ts +0 -1
  87. package/dist/atoms/select.d.cts +0 -19
  88. package/dist/atoms/select.d.ts +0 -19
  89. package/dist/atoms/separator.d.cts +0 -1
  90. package/dist/atoms/separator.d.ts +0 -1
  91. package/dist/atoms/skeleton.d.cts +0 -1
  92. package/dist/atoms/skeleton.d.ts +0 -1
  93. package/dist/atoms/spinner.d.cts +0 -1
  94. package/dist/atoms/spinner.d.ts +0 -1
  95. package/dist/atoms/strong.d.cts +0 -1
  96. package/dist/atoms/strong.d.ts +0 -1
  97. package/dist/atoms/switch.d.cts +0 -1
  98. package/dist/atoms/switch.d.ts +0 -1
  99. package/dist/atoms/tab-nav.d.cts +0 -1
  100. package/dist/atoms/tab-nav.d.ts +0 -1
  101. package/dist/atoms/tabs.d.cts +0 -1
  102. package/dist/atoms/tabs.d.ts +0 -1
  103. package/dist/atoms/text-area.d.cts +0 -1
  104. package/dist/atoms/text-area.d.ts +0 -1
  105. package/dist/atoms/text-field.d.cts +0 -1
  106. package/dist/atoms/text-field.d.ts +0 -1
  107. package/dist/atoms/toast.d.cts +0 -6
  108. package/dist/atoms/toast.d.ts +0 -6
  109. package/dist/atoms/tooltip.d.cts +0 -1
  110. package/dist/atoms/tooltip.d.ts +0 -1
  111. package/dist/atoms/typo.d.cts +0 -9
  112. package/dist/atoms/typo.d.ts +0 -9
  113. package/dist/charts/chart-default-props.d.cts +0 -85
  114. package/dist/charts/chart-default-props.d.ts +0 -85
  115. package/dist/charts/horizontal-bar-chart.d.cts +0 -17
  116. package/dist/charts/horizontal-bar-chart.d.ts +0 -17
  117. package/dist/charts/index.d.cts +0 -3
  118. package/dist/charts/index.d.ts +0 -3
  119. package/dist/chunk-5JATGHBQ.js +0 -123
  120. package/dist/chunk-5JATGHBQ.js.map +0 -1
  121. package/dist/chunk-7A7J457W.js +0 -63
  122. package/dist/chunk-7A7J457W.js.map +0 -1
  123. package/dist/chunk-CNQ7RNNY.js +0 -23
  124. package/dist/chunk-CNQ7RNNY.js.map +0 -1
  125. package/dist/chunk-G4FN6FJG.js +0 -91
  126. package/dist/chunk-G4FN6FJG.js.map +0 -1
  127. package/dist/chunk-HFT7A4RR.js +0 -123
  128. package/dist/chunk-HFT7A4RR.js.map +0 -1
  129. package/dist/chunk-HXJPG3ZO.js +0 -130
  130. package/dist/chunk-HXJPG3ZO.js.map +0 -1
  131. package/dist/chunk-N4GN6CKE.js +0 -123
  132. package/dist/chunk-N4GN6CKE.js.map +0 -1
  133. package/dist/chunk-NC6QKYLP.js +0 -123
  134. package/dist/chunk-NC6QKYLP.js.map +0 -1
  135. package/dist/chunk-QEZSWFWS.js +0 -123
  136. package/dist/chunk-QEZSWFWS.js.map +0 -1
  137. package/dist/chunk-T7NZB7LF.js +0 -123
  138. package/dist/chunk-T7NZB7LF.js.map +0 -1
  139. package/dist/icon.d.cts +0 -3
  140. package/dist/icon.d.ts +0 -3
  141. package/dist/icons/down.d.cts +0 -6
  142. package/dist/icons/down.d.ts +0 -6
  143. package/dist/icons/types.d.cts +0 -6
  144. package/dist/icons/types.d.ts +0 -6
  145. package/dist/icons/up.d.cts +0 -6
  146. package/dist/icons/up.d.ts +0 -6
  147. package/dist/index.d.cts +0 -36
  148. package/dist/index.d.ts +0 -36
  149. package/dist/molecules/date-picker/index.d.cts +0 -10
  150. package/dist/molecules/date-picker/index.d.ts +0 -10
  151. package/dist/molecules/expand-table/index.d.cts +0 -22
  152. package/dist/molecules/expand-table/index.d.ts +0 -22
  153. package/dist/molecules/expand-table/row.d.cts +0 -18
  154. package/dist/molecules/expand-table/row.d.ts +0 -18
  155. package/dist/molecules/index.d.cts +0 -8
  156. package/dist/molecules/index.d.ts +0 -8
  157. package/dist/molecules/navigation.d.cts +0 -19
  158. package/dist/molecules/navigation.d.ts +0 -19
  159. package/dist/theme/theme-provider.d.cts +0 -10
  160. package/dist/theme/theme-provider.d.ts +0 -10
  161. package/dist/theme/use-theme.d.cts +0 -1
  162. package/dist/theme/use-theme.d.ts +0 -1
  163. package/dist/types/react-table.d.d.cts +0 -19
  164. package/dist/types/react-table.d.d.ts +0 -19
  165. package/dist/ui-props/index.d.cts +0 -2
  166. package/dist/ui-props/index.d.ts +0 -2
  167. package/dist/utils/get-cell-align.d.cts +0 -9
  168. package/dist/utils/get-cell-align.d.ts +0 -9
  169. package/dist/utils/index.d.cts +0 -2
  170. package/dist/utils/index.d.ts +0 -2
@@ -1,9 +0,0 @@
1
- import { LinkProps as LinkProps$1 } from '@radix-ui/themes';
2
- export { Heading as RadixHeading } from '@radix-ui/themes';
3
-
4
- type LinkProps = LinkProps$1 & {
5
- variant?: 'caption' | 'body' | 'subtitle';
6
- };
7
- declare function Link(props: LinkProps): React.ReactNode;
8
-
9
- export { Link, type LinkProps };
@@ -1,9 +0,0 @@
1
- import { LinkProps as LinkProps$1 } from '@radix-ui/themes';
2
- export { Heading as RadixHeading } from '@radix-ui/themes';
3
-
4
- type LinkProps = LinkProps$1 & {
5
- variant?: 'caption' | 'body' | 'subtitle';
6
- };
7
- declare function Link(props: LinkProps): React.ReactNode;
8
-
9
- export { Link, type LinkProps };
@@ -1,16 +0,0 @@
1
- import react__default from 'react';
2
-
3
- interface PaginationProps {
4
- /** 현재 선택된 페이지 */
5
- page?: number;
6
- /** 기본 선택 페이지, page보다 낮은 우선 순위를 갖는다 */
7
- defaultPage?: number;
8
- /** 선택한 페이지 변경 이벤트 cb */
9
- onChange?: (page: number) => void;
10
- /** 전체 페이지의 수 */
11
- count?: number;
12
- siblingCount?: number;
13
- }
14
- declare function Pagination(props: PaginationProps): react__default.ReactNode;
15
-
16
- export { Pagination, type PaginationProps };
@@ -1,16 +0,0 @@
1
- import react__default from 'react';
2
-
3
- interface PaginationProps {
4
- /** 현재 선택된 페이지 */
5
- page?: number;
6
- /** 기본 선택 페이지, page보다 낮은 우선 순위를 갖는다 */
7
- defaultPage?: number;
8
- /** 선택한 페이지 변경 이벤트 cb */
9
- onChange?: (page: number) => void;
10
- /** 전체 페이지의 수 */
11
- count?: number;
12
- siblingCount?: number;
13
- }
14
- declare function Pagination(props: PaginationProps): react__default.ReactNode;
15
-
16
- export { Pagination, type PaginationProps };
@@ -1 +0,0 @@
1
- export { Popover } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Popover } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Progress, ProgressProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Progress, ProgressProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Quote, QuoteProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Quote, QuoteProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { RadioCards } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { RadioCards } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { RadioGroup } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { RadioGroup } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Radio, RadioProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Radio, RadioProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { ScrollArea, ScrollAreaProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { ScrollArea, ScrollAreaProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Section, SectionProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Section, SectionProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { SegmentedControl } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { SegmentedControl } from '@radix-ui/themes';
@@ -1,19 +0,0 @@
1
- import * as react from 'react';
2
- import { Select as Select$1 } from '@radix-ui/themes';
3
-
4
- type ContentProps = Select$1.ContentProps & {
5
- isNavigation?: boolean;
6
- };
7
- declare const Select: {
8
- Content: react.ForwardRefExoticComponent<Select$1.ContentProps & {
9
- isNavigation?: boolean | undefined;
10
- } & react.RefAttributes<HTMLDivElement>>;
11
- Root: react.FC<Select$1.RootProps>;
12
- Trigger: react.ForwardRefExoticComponent<Select$1.TriggerProps & react.RefAttributes<HTMLButtonElement>>;
13
- Item: react.ForwardRefExoticComponent<Select$1.ItemProps & react.RefAttributes<HTMLDivElement>>;
14
- Group: react.ForwardRefExoticComponent<Select$1.GroupProps & react.RefAttributes<HTMLDivElement>>;
15
- Label: react.ForwardRefExoticComponent<Select$1.LabelProps & react.RefAttributes<HTMLDivElement>>;
16
- Separator: react.ForwardRefExoticComponent<Select$1.SeparatorProps & react.RefAttributes<HTMLDivElement>>;
17
- };
18
-
19
- export { type ContentProps, Select };
@@ -1,19 +0,0 @@
1
- import * as react from 'react';
2
- import { Select as Select$1 } from '@radix-ui/themes';
3
-
4
- type ContentProps = Select$1.ContentProps & {
5
- isNavigation?: boolean;
6
- };
7
- declare const Select: {
8
- Content: react.ForwardRefExoticComponent<Select$1.ContentProps & {
9
- isNavigation?: boolean | undefined;
10
- } & react.RefAttributes<HTMLDivElement>>;
11
- Root: react.FC<Select$1.RootProps>;
12
- Trigger: react.ForwardRefExoticComponent<Select$1.TriggerProps & react.RefAttributes<HTMLButtonElement>>;
13
- Item: react.ForwardRefExoticComponent<Select$1.ItemProps & react.RefAttributes<HTMLDivElement>>;
14
- Group: react.ForwardRefExoticComponent<Select$1.GroupProps & react.RefAttributes<HTMLDivElement>>;
15
- Label: react.ForwardRefExoticComponent<Select$1.LabelProps & react.RefAttributes<HTMLDivElement>>;
16
- Separator: react.ForwardRefExoticComponent<Select$1.SeparatorProps & react.RefAttributes<HTMLDivElement>>;
17
- };
18
-
19
- export { type ContentProps, Select };
@@ -1 +0,0 @@
1
- export { Separator, SeparatorProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Separator, SeparatorProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Skeleton, SkeletonProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Skeleton, SkeletonProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Spinner, SpinnerProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Spinner, SpinnerProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Strong, StrongProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Strong, StrongProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Switch, SwitchProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Switch, SwitchProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { TabNav } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { TabNav } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Tabs } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Tabs } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { TextArea, TextAreaProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { TextArea, TextAreaProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { TextField } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { TextField } from '@radix-ui/themes';
@@ -1,6 +0,0 @@
1
- import { ToastContainerProps } from 'react-toastify';
2
- export { toast } from 'react-toastify';
3
-
4
- declare function ToastContainer(props: ToastContainerProps): React.ReactElement;
5
-
6
- export { ToastContainer };
@@ -1,6 +0,0 @@
1
- import { ToastContainerProps } from 'react-toastify';
2
- export { toast } from 'react-toastify';
3
-
4
- declare function ToastContainer(props: ToastContainerProps): React.ReactElement;
5
-
6
- export { ToastContainer };
@@ -1 +0,0 @@
1
- export { Tooltip, TooltipProps } from '@radix-ui/themes';
@@ -1 +0,0 @@
1
- export { Tooltip, TooltipProps } from '@radix-ui/themes';
@@ -1,9 +0,0 @@
1
- import { TextProps } from '@radix-ui/themes';
2
- import react__default from 'react';
3
-
4
- type TypoProps = TextProps & {
5
- variant?: 'body' | 'caption' | 'subtitle';
6
- };
7
- declare const Typo: react__default.ForwardRefExoticComponent<TypoProps & react__default.RefAttributes<HTMLSpanElement>>;
8
-
9
- export { Typo, type TypoProps };
@@ -1,9 +0,0 @@
1
- import { TextProps } from '@radix-ui/themes';
2
- import react__default from 'react';
3
-
4
- type TypoProps = TextProps & {
5
- variant?: 'body' | 'caption' | 'subtitle';
6
- };
7
- declare const Typo: react__default.ForwardRefExoticComponent<TypoProps & react__default.RefAttributes<HTMLSpanElement>>;
8
-
9
- export { Typo, type TypoProps };
@@ -1,85 +0,0 @@
1
- declare const EchartDefaultProps: {
2
- readonly opts: {
3
- readonly renderer: "svg";
4
- };
5
- readonly theme: {
6
- version: number;
7
- themeName: string;
8
- theme: {
9
- seriesCnt: string;
10
- backgroundColor: string;
11
- titleColor: string;
12
- subtitleColor: string;
13
- textColorShow: boolean;
14
- textColor: string;
15
- markTextColor: string;
16
- color: string[];
17
- borderColor: string;
18
- borderWidth: number;
19
- visualMapColor: string[];
20
- legendTextColor: string;
21
- kColor: string;
22
- kColor0: string;
23
- kBorderColor: string;
24
- kBorderColor0: string;
25
- kBorderWidth: number;
26
- lineWidth: number;
27
- symbolSize: number;
28
- symbol: string;
29
- symbolBorderWidth: number;
30
- lineSmooth: boolean;
31
- graphLineWidth: number;
32
- graphLineColor: string;
33
- mapLabelColor: string;
34
- mapLabelColorE: string;
35
- mapBorderColor: string;
36
- mapBorderColorE: string;
37
- mapBorderWidth: number;
38
- mapBorderWidthE: number;
39
- mapAreaColor: string;
40
- mapAreaColorE: string;
41
- axes: {
42
- type: string;
43
- name: string;
44
- axisLineShow: boolean;
45
- axisLineColor: string;
46
- axisTickShow: boolean;
47
- axisTickColor: string;
48
- axisLabelShow: boolean;
49
- axisLabelColor: string;
50
- splitLineShow: boolean;
51
- splitLineColor: string[];
52
- splitAreaShow: boolean;
53
- splitAreaColor: string[];
54
- }[];
55
- axisSeperateSetting: boolean;
56
- toolboxColor: string;
57
- toolboxEmphasisColor: string;
58
- tooltipAxisColor: string;
59
- tooltipAxisWidth: number;
60
- timelineLineColor: string;
61
- timelineLineWidth: number;
62
- timelineItemColor: string;
63
- timelineItemColorE: string;
64
- timelineCheckColor: string;
65
- timelineCheckBorderColor: string;
66
- timelineItemBorderWidth: number;
67
- timelineControlColor: string;
68
- timelineControlBorderColor: string;
69
- timelineControlBorderWidth: number;
70
- timelineLabelColor: string;
71
- };
72
- };
73
- readonly option: {
74
- readonly textStyle: {
75
- readonly fontFamily: "Noto Sans KR";
76
- };
77
- readonly tooltip: {
78
- readonly textStyle: {
79
- readonly fontSize: 16;
80
- };
81
- };
82
- };
83
- };
84
-
85
- export { EchartDefaultProps };
@@ -1,85 +0,0 @@
1
- declare const EchartDefaultProps: {
2
- readonly opts: {
3
- readonly renderer: "svg";
4
- };
5
- readonly theme: {
6
- version: number;
7
- themeName: string;
8
- theme: {
9
- seriesCnt: string;
10
- backgroundColor: string;
11
- titleColor: string;
12
- subtitleColor: string;
13
- textColorShow: boolean;
14
- textColor: string;
15
- markTextColor: string;
16
- color: string[];
17
- borderColor: string;
18
- borderWidth: number;
19
- visualMapColor: string[];
20
- legendTextColor: string;
21
- kColor: string;
22
- kColor0: string;
23
- kBorderColor: string;
24
- kBorderColor0: string;
25
- kBorderWidth: number;
26
- lineWidth: number;
27
- symbolSize: number;
28
- symbol: string;
29
- symbolBorderWidth: number;
30
- lineSmooth: boolean;
31
- graphLineWidth: number;
32
- graphLineColor: string;
33
- mapLabelColor: string;
34
- mapLabelColorE: string;
35
- mapBorderColor: string;
36
- mapBorderColorE: string;
37
- mapBorderWidth: number;
38
- mapBorderWidthE: number;
39
- mapAreaColor: string;
40
- mapAreaColorE: string;
41
- axes: {
42
- type: string;
43
- name: string;
44
- axisLineShow: boolean;
45
- axisLineColor: string;
46
- axisTickShow: boolean;
47
- axisTickColor: string;
48
- axisLabelShow: boolean;
49
- axisLabelColor: string;
50
- splitLineShow: boolean;
51
- splitLineColor: string[];
52
- splitAreaShow: boolean;
53
- splitAreaColor: string[];
54
- }[];
55
- axisSeperateSetting: boolean;
56
- toolboxColor: string;
57
- toolboxEmphasisColor: string;
58
- tooltipAxisColor: string;
59
- tooltipAxisWidth: number;
60
- timelineLineColor: string;
61
- timelineLineWidth: number;
62
- timelineItemColor: string;
63
- timelineItemColorE: string;
64
- timelineCheckColor: string;
65
- timelineCheckBorderColor: string;
66
- timelineItemBorderWidth: number;
67
- timelineControlColor: string;
68
- timelineControlBorderColor: string;
69
- timelineControlBorderWidth: number;
70
- timelineLabelColor: string;
71
- };
72
- };
73
- readonly option: {
74
- readonly textStyle: {
75
- readonly fontFamily: "Noto Sans KR";
76
- };
77
- readonly tooltip: {
78
- readonly textStyle: {
79
- readonly fontSize: 16;
80
- };
81
- };
82
- };
83
- };
84
-
85
- export { EchartDefaultProps };
@@ -1,17 +0,0 @@
1
- import react__default from 'react';
2
-
3
- interface HorizontalBarChartProps {
4
- /** 100% 바가 뜻하는 전체 값 */
5
- total: number;
6
- /** 화면에 채워져보이는 값 */
7
- value: number;
8
- /** 배경 색상 */
9
- backgroundColor?: string;
10
- /** 바의 색상 */
11
- barColor?: string;
12
- /** 바의 높이 */
13
- height?: number;
14
- }
15
- declare function HorizontalBarChart(props: HorizontalBarChartProps): react__default.ReactNode;
16
-
17
- export { HorizontalBarChart, type HorizontalBarChartProps };
@@ -1,17 +0,0 @@
1
- import react__default from 'react';
2
-
3
- interface HorizontalBarChartProps {
4
- /** 100% 바가 뜻하는 전체 값 */
5
- total: number;
6
- /** 화면에 채워져보이는 값 */
7
- value: number;
8
- /** 배경 색상 */
9
- backgroundColor?: string;
10
- /** 바의 색상 */
11
- barColor?: string;
12
- /** 바의 높이 */
13
- height?: number;
14
- }
15
- declare function HorizontalBarChart(props: HorizontalBarChartProps): react__default.ReactNode;
16
-
17
- export { HorizontalBarChart, type HorizontalBarChartProps };
@@ -1,3 +0,0 @@
1
- export { HorizontalBarChart, HorizontalBarChartProps } from './horizontal-bar-chart.cjs';
2
- export { EchartDefaultProps } from './chart-default-props.cjs';
3
- import 'react';
@@ -1,3 +0,0 @@
1
- export { HorizontalBarChart, HorizontalBarChartProps } from './horizontal-bar-chart.js';
2
- export { EchartDefaultProps } from './chart-default-props.js';
3
- import 'react';
@@ -1,123 +0,0 @@
1
- import {
2
- Row
3
- } from "./chunk-MDBFTLD7.js";
4
- import {
5
- TriangleArrowUpIcon
6
- } from "./chunk-NDUKDKGB.js";
7
- import {
8
- TriangleArrowDownIcon
9
- } from "./chunk-BSTJBBEX.js";
10
- import {
11
- Flex
12
- } from "./chunk-25HMMI7R.js";
13
- import {
14
- Typo
15
- } from "./chunk-O3XTRD7R.js";
16
-
17
- // src/molecules/expand-table/index.tsx
18
- import {
19
- flexRender,
20
- getCoreRowModel,
21
- useReactTable,
22
- getSortedRowModel,
23
- createColumnHelper
24
- } from "@tanstack/react-table";
25
- import { useMemo, useState } from "react";
26
- import { jsx, jsxs } from "react/jsx-runtime";
27
- function ExpandTable(props) {
28
- const { data, columns, ExpandComp, placeholder, onRowClick } = props;
29
- const defaultAlign = "left";
30
- const [sorting, setSorting] = useState([]);
31
- const { getRowModel, getHeaderGroups } = useReactTable({
32
- data: data || [],
33
- columns,
34
- getCoreRowModel: getCoreRowModel(),
35
- getSortedRowModel: getSortedRowModel(),
36
- state: {
37
- sorting
38
- },
39
- onSortingChange: setSorting
40
- });
41
- const gridColTemp = useMemo(() => {
42
- return columns.map((col) => {
43
- var _a;
44
- if ((_a = col.meta) == null ? void 0 : _a.autoSize)
45
- return "1fr";
46
- return `${col.size || 150}px`;
47
- }).join(" ");
48
- }, [columns]);
49
- const rowModels = getRowModel();
50
- return /* @__PURE__ */ jsxs("div", { className: "expand-table", children: [
51
- /* @__PURE__ */ jsx("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx(
52
- "div",
53
- {
54
- className: "tr",
55
- style: { gridTemplateColumns: gridColTemp },
56
- children: headerGroup.headers.map((header) => {
57
- var _a;
58
- const sortable = header.column.getCanSort();
59
- const sortedState = header.column.getIsSorted();
60
- const justifyContent = ((_a = header.column.columnDef.meta) == null ? void 0 : _a.align) || defaultAlign;
61
- return /* @__PURE__ */ jsx("div", { className: `${justifyContent} th`, children: /* @__PURE__ */ jsxs(
62
- "button",
63
- {
64
- onClick: header.column.getToggleSortingHandler(),
65
- style: sortable ? { cursor: "pointer" } : void 0,
66
- type: "button",
67
- children: [
68
- /* @__PURE__ */ jsx(Typo, { variant: "body", children: flexRender(
69
- header.column.columnDef.header,
70
- header.getContext()
71
- ) }),
72
- sortable ? /* @__PURE__ */ jsxs(
73
- Flex,
74
- {
75
- direction: "column",
76
- style: { marginLeft: "var(--space-2)" },
77
- children: [
78
- /* @__PURE__ */ jsx(
79
- TriangleArrowUpIcon,
80
- {
81
- color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
82
- }
83
- ),
84
- /* @__PURE__ */ jsx(
85
- TriangleArrowDownIcon,
86
- {
87
- color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
88
- }
89
- )
90
- ]
91
- }
92
- ) : null
93
- ]
94
- }
95
- ) }, header.id);
96
- })
97
- },
98
- headerGroup.id
99
- )) }),
100
- /* @__PURE__ */ jsxs("div", { className: "tbody", children: [
101
- rowModels.rows.length === 0 && /* @__PURE__ */ jsx("div", { className: "tr", children: /* @__PURE__ */ jsx(Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ jsx(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
102
- rowModels.rows.map((row) => {
103
- return /* @__PURE__ */ jsx(
104
- Row,
105
- {
106
- ExpandComp,
107
- defaultAlign,
108
- gridColTemp,
109
- onRowClick,
110
- row
111
- },
112
- `row_${row.id}`
113
- );
114
- })
115
- ] })
116
- ] });
117
- }
118
-
119
- export {
120
- createColumnHelper,
121
- ExpandTable
122
- };
123
- //# sourceMappingURL=chunk-5JATGHBQ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/molecules/expand-table/index.tsx"],"sourcesContent":["import type {\n ColumnDef,\n SortingState,\n RowData,\n Row as RowType,\n} from '@tanstack/react-table';\nimport type { CSSProperties } from 'react';\nimport {\n flexRender,\n getCoreRowModel,\n useReactTable,\n getSortedRowModel,\n createColumnHelper,\n} from '@tanstack/react-table';\nimport React, { useMemo, useState } from 'react';\nimport { Flex, Typo } from '../../atoms';\nimport { TriangleArrowDownIcon } from '../../icons/down';\nimport { TriangleArrowUpIcon } from '../../icons/up';\nimport type { CustomColumnDef } from '../../types/react-table';\nimport { Row, type ExpandComp, type OnRowClick } from './row';\n\nexport type { ExpandComp, OnRowClick, CustomColumnDef, RowType as Row };\nexport { createColumnHelper };\n\nexport interface ExpandTableProps<Datum extends RowData> {\n /** 렌더할 데이터 배열 */\n data?: Datum[];\n /** 테이블 컬럼의 메타 데이터 */\n columns: ColumnDef<Datum>[];\n /** Row의 open이 true인 경우 하단의 collapse에 렌더할 컴포넌트 */\n ExpandComp?: ExpandComp<Datum>;\n /** 데이테가 없을 시 화면에 표시할 컴포넌트 */\n placeholder?: React.ReactNode;\n /** 행 클릭 시 실행할 콜백 */\n onRowClick?: OnRowClick<Datum>;\n rowStyle?: CSSProperties;\n}\n\nexport function ExpandTable<Datum extends RowData>(\n props: ExpandTableProps<Datum>\n): React.ReactNode {\n const { data, columns, ExpandComp, placeholder, onRowClick } = props;\n const defaultAlign = 'left';\n const [sorting, setSorting] = useState<SortingState>([]);\n const { getRowModel, getHeaderGroups } = useReactTable({\n data: data || [],\n columns,\n getCoreRowModel: getCoreRowModel(),\n getSortedRowModel: getSortedRowModel(),\n state: {\n sorting,\n },\n onSortingChange: setSorting,\n });\n\n const gridColTemp = useMemo<string>(() => {\n return columns\n .map((col) => {\n if (col.meta?.autoSize) return '1fr';\n return `${col.size || 150}px`;\n })\n .join(' ');\n }, [columns]);\n\n const rowModels = getRowModel();\n\n return (\n <div className=\"expand-table\">\n <div className=\"thead\">\n {getHeaderGroups().map((headerGroup) => (\n <div\n className=\"tr\"\n key={headerGroup.id}\n style={{ gridTemplateColumns: gridColTemp }}\n >\n {headerGroup.headers.map((header) => {\n const sortable = header.column.getCanSort();\n const sortedState = header.column.getIsSorted();\n const justifyContent =\n header.column.columnDef.meta?.align || defaultAlign;\n\n return (\n <div className={`${justifyContent} th`} key={header.id}>\n <button\n onClick={header.column.getToggleSortingHandler()}\n style={sortable ? { cursor: 'pointer' } : undefined}\n type=\"button\"\n >\n <Typo variant=\"body\">\n {flexRender(\n header.column.columnDef.header,\n header.getContext()\n )}\n </Typo>\n {sortable ? (\n <Flex\n direction=\"column\"\n style={{ marginLeft: 'var(--space-2)' }}\n >\n <TriangleArrowUpIcon\n color={\n sortedState === 'asc'\n ? 'var(--iris-10)'\n : 'var(--iris-6)'\n }\n />\n <TriangleArrowDownIcon\n color={\n sortedState === 'desc'\n ? 'var(--iris-10)'\n : 'var(--iris-6)'\n }\n />\n </Flex>\n ) : null}\n </button>\n </div>\n );\n })}\n </div>\n ))}\n </div>\n <div className=\"tbody\">\n {/* 데이터가 없을 시 표시되는 노드 */}\n {rowModels.rows.length === 0 && (\n <div className=\"tr\" key=\"expand_placeholder\">\n <Flex align=\"center\" justify=\"center\">\n {placeholder || (\n <Typo color=\"gray\" mb=\"6\" mt=\"6\" variant=\"body\">\n 데이터가 없습니다\n </Typo>\n )}\n </Flex>\n </div>\n )}\n\n {/* 행을 렌더하는 로직 */}\n {rowModels.rows.map((row) => {\n return (\n <Row\n ExpandComp={ExpandComp}\n defaultAlign={defaultAlign}\n gridColTemp={gridColTemp}\n key={`row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