@tipp/ui 1.0.52 → 1.0.53

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 (165) hide show
  1. package/dist/atoms/alert-dialog.d.cts +1 -0
  2. package/dist/atoms/alert-dialog.d.ts +1 -0
  3. package/dist/atoms/aspect-ratio.d.cts +1 -0
  4. package/dist/atoms/aspect-ratio.d.ts +1 -0
  5. package/dist/atoms/avatar.d.cts +11 -0
  6. package/dist/atoms/avatar.d.ts +11 -0
  7. package/dist/atoms/badge.d.cts +13 -0
  8. package/dist/atoms/badge.d.ts +13 -0
  9. package/dist/atoms/blockquote.d.cts +1 -0
  10. package/dist/atoms/blockquote.d.ts +1 -0
  11. package/dist/atoms/box.d.cts +1 -0
  12. package/dist/atoms/box.d.ts +1 -0
  13. package/dist/atoms/button.d.cts +11 -0
  14. package/dist/atoms/button.d.ts +11 -0
  15. package/dist/atoms/call-out.d.cts +1 -0
  16. package/dist/atoms/call-out.d.ts +1 -0
  17. package/dist/atoms/card.d.cts +23 -0
  18. package/dist/atoms/card.d.ts +23 -0
  19. package/dist/atoms/check-box-card.d.cts +1 -0
  20. package/dist/atoms/check-box-card.d.ts +1 -0
  21. package/dist/atoms/check-box-group.d.cts +11 -0
  22. package/dist/atoms/check-box-group.d.ts +11 -0
  23. package/dist/atoms/check-box.d.cts +11 -0
  24. package/dist/atoms/check-box.d.ts +11 -0
  25. package/dist/atoms/code.d.cts +1 -0
  26. package/dist/atoms/code.d.ts +1 -0
  27. package/dist/atoms/collapse.d.cts +12 -0
  28. package/dist/atoms/collapse.d.ts +12 -0
  29. package/dist/atoms/container.d.cts +1 -0
  30. package/dist/atoms/container.d.ts +1 -0
  31. package/dist/atoms/data-list.d.cts +1 -0
  32. package/dist/atoms/data-list.d.ts +1 -0
  33. package/dist/atoms/dialog.d.cts +1 -0
  34. package/dist/atoms/dialog.d.ts +1 -0
  35. package/dist/atoms/drawer.d.cts +20 -0
  36. package/dist/atoms/drawer.d.ts +20 -0
  37. package/dist/atoms/dropdown-menu.d.cts +23 -0
  38. package/dist/atoms/dropdown-menu.d.ts +23 -0
  39. package/dist/atoms/ellipsis-tooltip.d.cts +11 -0
  40. package/dist/atoms/ellipsis-tooltip.d.ts +11 -0
  41. package/dist/atoms/em.d.cts +1 -0
  42. package/dist/atoms/em.d.ts +1 -0
  43. package/dist/atoms/field-error-wrapper.d.cts +9 -0
  44. package/dist/atoms/field-error-wrapper.d.ts +9 -0
  45. package/dist/atoms/flex.d.cts +1 -0
  46. package/dist/atoms/flex.d.ts +1 -0
  47. package/dist/atoms/form.d.cts +13 -0
  48. package/dist/atoms/form.d.ts +13 -0
  49. package/dist/atoms/grid.d.cts +1 -0
  50. package/dist/atoms/grid.d.ts +1 -0
  51. package/dist/atoms/heading.d.cts +9 -0
  52. package/dist/atoms/heading.d.ts +9 -0
  53. package/dist/atoms/hover-card.d.cts +1 -0
  54. package/dist/atoms/hover-card.d.ts +1 -0
  55. package/dist/atoms/icon-button.d.cts +1 -0
  56. package/dist/atoms/icon-button.d.ts +1 -0
  57. package/dist/atoms/index.d.cts +23 -0
  58. package/dist/atoms/index.d.ts +23 -0
  59. package/dist/atoms/inset.d.cts +1 -0
  60. package/dist/atoms/inset.d.ts +1 -0
  61. package/dist/atoms/kbd.d.cts +1 -0
  62. package/dist/atoms/kbd.d.ts +1 -0
  63. package/dist/atoms/link.d.cts +9 -0
  64. package/dist/atoms/link.d.ts +9 -0
  65. package/dist/atoms/pagination.d.cts +16 -0
  66. package/dist/atoms/pagination.d.ts +16 -0
  67. package/dist/atoms/popover.d.cts +1 -0
  68. package/dist/atoms/popover.d.ts +1 -0
  69. package/dist/atoms/progress.d.cts +1 -0
  70. package/dist/atoms/progress.d.ts +1 -0
  71. package/dist/atoms/quote.d.cts +1 -0
  72. package/dist/atoms/quote.d.ts +1 -0
  73. package/dist/atoms/radio-cards.d.cts +1 -0
  74. package/dist/atoms/radio-cards.d.ts +1 -0
  75. package/dist/atoms/radio-group.d.cts +1 -0
  76. package/dist/atoms/radio-group.d.ts +1 -0
  77. package/dist/atoms/radio.d.cts +1 -0
  78. package/dist/atoms/radio.d.ts +1 -0
  79. package/dist/atoms/scroll-area.d.cts +1 -0
  80. package/dist/atoms/scroll-area.d.ts +1 -0
  81. package/dist/atoms/section.d.cts +1 -0
  82. package/dist/atoms/section.d.ts +1 -0
  83. package/dist/atoms/segmented-control.d.cts +1 -0
  84. package/dist/atoms/segmented-control.d.ts +1 -0
  85. package/dist/atoms/select.d.cts +19 -0
  86. package/dist/atoms/select.d.ts +19 -0
  87. package/dist/atoms/separator.d.cts +1 -0
  88. package/dist/atoms/separator.d.ts +1 -0
  89. package/dist/atoms/skeleton.d.cts +1 -0
  90. package/dist/atoms/skeleton.d.ts +1 -0
  91. package/dist/atoms/spinner.d.cts +1 -0
  92. package/dist/atoms/spinner.d.ts +1 -0
  93. package/dist/atoms/strong.d.cts +1 -0
  94. package/dist/atoms/strong.d.ts +1 -0
  95. package/dist/atoms/switch.d.cts +1 -0
  96. package/dist/atoms/switch.d.ts +1 -0
  97. package/dist/atoms/tab-nav.d.cts +1 -0
  98. package/dist/atoms/tab-nav.d.ts +1 -0
  99. package/dist/atoms/tabs.d.cts +1 -0
  100. package/dist/atoms/tabs.d.ts +1 -0
  101. package/dist/atoms/text-area.d.cts +1 -0
  102. package/dist/atoms/text-area.d.ts +1 -0
  103. package/dist/atoms/text-field.d.cts +1 -0
  104. package/dist/atoms/text-field.d.ts +1 -0
  105. package/dist/atoms/toast.d.cts +6 -0
  106. package/dist/atoms/toast.d.ts +6 -0
  107. package/dist/atoms/tooltip.d.cts +1 -0
  108. package/dist/atoms/tooltip.d.ts +1 -0
  109. package/dist/atoms/typo.d.cts +9 -0
  110. package/dist/atoms/typo.d.ts +9 -0
  111. package/dist/charts/chart-default-props.d.cts +85 -0
  112. package/dist/charts/chart-default-props.d.ts +85 -0
  113. package/dist/charts/horizontal-bar-chart.d.cts +17 -0
  114. package/dist/charts/horizontal-bar-chart.d.ts +17 -0
  115. package/dist/charts/index.d.cts +3 -0
  116. package/dist/charts/index.d.ts +3 -0
  117. package/dist/chunk-7A7J457W.js +63 -0
  118. package/dist/chunk-7A7J457W.js.map +1 -0
  119. package/dist/chunk-CNQ7RNNY.js +23 -0
  120. package/dist/chunk-CNQ7RNNY.js.map +1 -0
  121. package/dist/chunk-FUSEDVWI.js +130 -0
  122. package/dist/chunk-FUSEDVWI.js.map +1 -0
  123. package/dist/chunk-G4FN6FJG.js +91 -0
  124. package/dist/chunk-G4FN6FJG.js.map +1 -0
  125. package/dist/chunk-HXJPG3ZO.js +130 -0
  126. package/dist/chunk-HXJPG3ZO.js.map +1 -0
  127. package/dist/chunk-ONYSO7Y2.js +49 -0
  128. package/dist/chunk-ONYSO7Y2.js.map +1 -0
  129. package/dist/chunk-YZZS2HN7.js +123 -0
  130. package/dist/chunk-YZZS2HN7.js.map +1 -0
  131. package/dist/icon.d.cts +3 -0
  132. package/dist/icon.d.ts +3 -0
  133. package/dist/icons/down.d.cts +6 -0
  134. package/dist/icons/down.d.ts +6 -0
  135. package/dist/icons/types.d.cts +6 -0
  136. package/dist/icons/types.d.ts +6 -0
  137. package/dist/icons/up.d.cts +6 -0
  138. package/dist/icons/up.d.ts +6 -0
  139. package/dist/index.d.cts +36 -0
  140. package/dist/index.d.ts +36 -0
  141. package/dist/index.js +6 -6
  142. package/dist/molecules/date-picker/index.d.cts +10 -0
  143. package/dist/molecules/date-picker/index.d.ts +10 -0
  144. package/dist/molecules/expand-table/index.d.cts +23 -0
  145. package/dist/molecules/expand-table/index.d.ts +23 -0
  146. package/dist/molecules/expand-table/row.d.cts +18 -0
  147. package/dist/molecules/expand-table/row.d.ts +18 -0
  148. package/dist/molecules/index.d.cts +8 -0
  149. package/dist/molecules/index.d.ts +8 -0
  150. package/dist/molecules/index.js +6 -6
  151. package/dist/molecules/navigation.d.cts +19 -0
  152. package/dist/molecules/navigation.d.ts +19 -0
  153. package/dist/theme/theme-provider.d.cts +10 -0
  154. package/dist/theme/theme-provider.d.ts +10 -0
  155. package/dist/theme/use-theme.d.cts +1 -0
  156. package/dist/theme/use-theme.d.ts +1 -0
  157. package/dist/types/react-table.d.d.cts +19 -0
  158. package/dist/types/react-table.d.d.ts +19 -0
  159. package/dist/ui-props/index.d.cts +2 -0
  160. package/dist/ui-props/index.d.ts +2 -0
  161. package/dist/utils/get-cell-align.d.cts +9 -0
  162. package/dist/utils/get-cell-align.d.ts +9 -0
  163. package/dist/utils/index.d.cts +2 -0
  164. package/dist/utils/index.d.ts +2 -0
  165. package/package.json +3 -3
@@ -0,0 +1 @@
1
+ export { Popover } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Popover } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Progress, ProgressProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Progress, ProgressProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Quote, QuoteProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Quote, QuoteProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { RadioCards } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { RadioCards } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { RadioGroup } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { RadioGroup } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Radio, RadioProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Radio, RadioProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { ScrollArea, ScrollAreaProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { ScrollArea, ScrollAreaProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Section, SectionProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Section, SectionProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { SegmentedControl } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { SegmentedControl } from '@radix-ui/themes';
@@ -0,0 +1,19 @@
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 };
@@ -0,0 +1,19 @@
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 };
@@ -0,0 +1 @@
1
+ export { Separator, SeparatorProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Separator, SeparatorProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Skeleton, SkeletonProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Skeleton, SkeletonProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Spinner, SpinnerProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Spinner, SpinnerProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Strong, StrongProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Strong, StrongProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Switch, SwitchProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Switch, SwitchProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { TabNav } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { TabNav } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Tabs } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Tabs } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { TextArea, TextAreaProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { TextArea, TextAreaProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { TextField } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { TextField } from '@radix-ui/themes';
@@ -0,0 +1,6 @@
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 };
@@ -0,0 +1,6 @@
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 };
@@ -0,0 +1 @@
1
+ export { Tooltip, TooltipProps } from '@radix-ui/themes';
@@ -0,0 +1 @@
1
+ export { Tooltip, TooltipProps } from '@radix-ui/themes';
@@ -0,0 +1,9 @@
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 };
@@ -0,0 +1,9 @@
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 };
@@ -0,0 +1,85 @@
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 };
@@ -0,0 +1,85 @@
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 };
@@ -0,0 +1,17 @@
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 };
@@ -0,0 +1,17 @@
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 };
@@ -0,0 +1,3 @@
1
+ export { HorizontalBarChart, HorizontalBarChartProps } from './horizontal-bar-chart.cjs';
2
+ export { EchartDefaultProps } from './chart-default-props.cjs';
3
+ import 'react';
@@ -0,0 +1,3 @@
1
+ export { HorizontalBarChart, HorizontalBarChartProps } from './horizontal-bar-chart.js';
2
+ export { EchartDefaultProps } from './chart-default-props.js';
3
+ import 'react';
@@ -0,0 +1,63 @@
1
+ import {
2
+ Typo
3
+ } from "./chunk-O3XTRD7R.js";
4
+ import {
5
+ Flex
6
+ } from "./chunk-25HMMI7R.js";
7
+ import {
8
+ Button
9
+ } from "./chunk-AQX7DQLI.js";
10
+
11
+ // src/molecules/navigation.tsx
12
+ import { jsx, jsxs } from "react/jsx-runtime";
13
+ function Navigation({
14
+ items,
15
+ fontColor,
16
+ backgroundColor,
17
+ activeKey
18
+ }) {
19
+ return /* @__PURE__ */ jsx(
20
+ Flex,
21
+ {
22
+ direction: "column",
23
+ gap: "4",
24
+ pr: "3",
25
+ style: {
26
+ color: fontColor || "var(--white-a12)",
27
+ backgroundColor: backgroundColor || "var(--black-a12)"
28
+ },
29
+ children: items == null ? void 0 : items.map((item) => {
30
+ const { key, title, icon, itemRender, onClick, children } = item;
31
+ return /* @__PURE__ */ jsxs(Flex, { direction: "column", onClick, children: [
32
+ itemRender ? itemRender(item) : /* @__PURE__ */ jsxs(Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
33
+ icon,
34
+ /* @__PURE__ */ jsx(Typo, { variant: "subtitle", children: title })
35
+ ] }),
36
+ children == null ? void 0 : children.map((menu) => {
37
+ return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ jsx(
38
+ Button,
39
+ {
40
+ className: `tipp-navigation-button ${activeKey === menu.key ? "active" : ""}`,
41
+ ml: "37px",
42
+ onClick: menu.onClick,
43
+ size: "large",
44
+ style: {
45
+ color: "var(--white-a12)",
46
+ height: "32px",
47
+ paddingLeft: "var(--space-2)"
48
+ },
49
+ children: menu.title
50
+ },
51
+ menu.key
52
+ );
53
+ })
54
+ ] }, key);
55
+ })
56
+ }
57
+ );
58
+ }
59
+
60
+ export {
61
+ Navigation
62
+ };
63
+ //# sourceMappingURL=chunk-7A7J457W.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/molecules/navigation.tsx"],"sourcesContent":["import React from 'react';\nimport { Button, Flex, Typo } from '../atoms';\n\ninterface Item {\n itemRender?: (item: Item) => React.ReactNode;\n key: string;\n onClick?: () => void;\n title: string;\n icon?: React.ReactNode;\n children?: Item[];\n}\n\nexport interface NavigationProps {\n items?: Item[];\n fontColor?: string;\n backgroundColor?: string;\n activeKey?: string;\n}\n\nexport function Navigation({\n items,\n fontColor,\n backgroundColor,\n activeKey,\n}: NavigationProps): React.ReactNode {\n return (\n <Flex\n direction=\"column\"\n gap=\"4\"\n pr=\"3\"\n style={{\n color: fontColor || 'var(--white-a12)',\n backgroundColor: backgroundColor || 'var(--black-a12)',\n }}\n >\n {items?.map((item) => {\n const { key, title, icon, itemRender, onClick, children } = item;\n return (\n <Flex direction=\"column\" key={key} onClick={onClick}>\n {itemRender ? (\n itemRender(item)\n ) : (\n <Flex align=\"center\" gap=\"3\" height=\"36px\" pl=\"4\" pr=\"4\">\n {icon}\n <Typo variant=\"subtitle\">{title}</Typo>\n </Flex>\n )}\n {children?.map((menu) => {\n return menu.itemRender ? (\n menu.itemRender(menu)\n ) : (\n <Button\n className={`tipp-navigation-button ${activeKey === menu.key ? 'active' : ''}`}\n key={menu.key}\n ml=\"37px\"\n onClick={menu.onClick}\n size=\"large\"\n style={{\n color: 'var(--white-a12)',\n height: '32px',\n paddingLeft: 'var(--space-2)',\n }}\n >\n {menu.title}\n </Button>\n );\n })}\n </Flex>\n );\n })}\n </Flex>\n );\n}\n"],"mappings":";;;;;;;;;;;AA0Cc,SAEE,KAFF;AAvBP,SAAS,WAAW;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAqC;AACnC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV,KAAI;AAAA,MACJ,IAAG;AAAA,MACH,OAAO;AAAA,QACL,OAAO,aAAa;AAAA,QACpB,iBAAiB,mBAAmB;AAAA,MACtC;AAAA,MAEC,yCAAO,IAAI,CAAC,SAAS;AACpB,cAAM,EAAE,KAAK,OAAO,MAAM,YAAY,SAAS,SAAS,IAAI;AAC5D,eACE,qBAAC,QAAK,WAAU,UAAmB,SAChC;AAAA,uBACC,WAAW,IAAI,IAEf,qBAAC,QAAK,OAAM,UAAS,KAAI,KAAI,QAAO,QAAO,IAAG,KAAI,IAAG,KAClD;AAAA;AAAA,YACD,oBAAC,QAAK,SAAQ,YAAY,iBAAM;AAAA,aAClC;AAAA,UAED,qCAAU,IAAI,CAAC,SAAS;AACvB,mBAAO,KAAK,aACV,KAAK,WAAW,IAAI,IAEpB;AAAA,cAAC;AAAA;AAAA,gBACC,WAAW,0BAA0B,cAAc,KAAK,MAAM,WAAW,EAAE;AAAA,gBAE3E,IAAG;AAAA,gBACH,SAAS,KAAK;AAAA,gBACd,MAAK;AAAA,gBACL,OAAO;AAAA,kBACL,OAAO;AAAA,kBACP,QAAQ;AAAA,kBACR,aAAa;AAAA,gBACf;AAAA,gBAEC,eAAK;AAAA;AAAA,cAVD,KAAK;AAAA,YAWZ;AAAA,UAEJ;AAAA,aA5B4B,GA6B9B;AAAA,MAEJ;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -0,0 +1,23 @@
1
+ import {
2
+ Typo
3
+ } from "./chunk-O3XTRD7R.js";
4
+ import {
5
+ Flex
6
+ } from "./chunk-25HMMI7R.js";
7
+
8
+ // src/atoms/field-error-wrapper.tsx
9
+ import { jsx, jsxs } from "react/jsx-runtime";
10
+ function FieldErrorWrapper({
11
+ children,
12
+ error
13
+ }) {
14
+ return /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: "1", children: [
15
+ children,
16
+ error ? /* @__PURE__ */ jsx(Typo, { color: "red", variant: "caption", children: error }) : null
17
+ ] });
18
+ }
19
+
20
+ export {
21
+ FieldErrorWrapper
22
+ };
23
+ //# sourceMappingURL=chunk-CNQ7RNNY.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/atoms/field-error-wrapper.tsx"],"sourcesContent":["import React from 'react';\nimport { Flex } from './flex';\nimport { Typo } from './typo';\n\nexport interface FieldErrorWrapperProps {\n children?: React.ReactNode;\n error?: React.ReactNode;\n}\n\nexport function FieldErrorWrapper({\n children,\n error,\n}: FieldErrorWrapperProps): JSX.Element {\n return (\n <Flex direction=\"column\" gap=\"1\">\n {children}\n {error ? (\n <Typo color=\"red\" variant=\"caption\">\n {error}\n </Typo>\n ) : null}\n </Flex>\n );\n}\n"],"mappings":";;;;;;;;AAcI,SAGI,KAHJ;AALG,SAAS,kBAAkB;AAAA,EAChC;AAAA,EACA;AACF,GAAwC;AACtC,SACE,qBAAC,QAAK,WAAU,UAAS,KAAI,KAC1B;AAAA;AAAA,IACA,QACC,oBAAC,QAAK,OAAM,OAAM,SAAQ,WACvB,iBACH,IACE;AAAA,KACN;AAEJ;","names":[]}
@@ -0,0 +1,130 @@
1
+ import {
2
+ IconButton
3
+ } from "./chunk-O3DNDMV3.js";
4
+ import {
5
+ Typo
6
+ } from "./chunk-O3XTRD7R.js";
7
+ import {
8
+ Flex
9
+ } from "./chunk-25HMMI7R.js";
10
+ import {
11
+ ChevronLeftIcon,
12
+ ChevronRightIcon,
13
+ DoubleArrowLeftIcon,
14
+ DoubleArrowRightIcon
15
+ } from "./chunk-TSVWEPRP.js";
16
+ import {
17
+ __spreadProps,
18
+ __spreadValues
19
+ } from "./chunk-N552FDTV.js";
20
+
21
+ // src/atoms/pagination.tsx
22
+ import { useCallback, useEffect, useMemo, useState } from "react";
23
+ import { jsx, jsxs } from "react/jsx-runtime";
24
+ function Pagination(props) {
25
+ const { onChange, count = 0, siblingCount = 2 } = props;
26
+ const [page, setPage] = useState(() => props.page || props.defaultPage || 1);
27
+ const visibleItems = useMemo(() => {
28
+ let start = Math.max(1, page - siblingCount);
29
+ let end = Math.min(count, page + siblingCount);
30
+ if (page - siblingCount <= 0 && end < count) {
31
+ end = Math.min(count, end + Math.abs(page - siblingCount) + 1);
32
+ } else if (page + siblingCount > count && start > 1) {
33
+ start = Math.max(1, start - (page + siblingCount - count));
34
+ }
35
+ return Array.from({ length: end - start + 1 }, (_, i) => i + start);
36
+ }, [count, page, siblingCount]);
37
+ useEffect(() => {
38
+ onChange == null ? void 0 : onChange(page);
39
+ }, [onChange, page]);
40
+ useEffect(() => {
41
+ if (props.page) {
42
+ setPage(props.page);
43
+ }
44
+ }, [props.page]);
45
+ const prev = useMemo(() => {
46
+ const p = page - 1;
47
+ return p < 1 ? void 0 : p;
48
+ }, [page]);
49
+ const next = useMemo(() => {
50
+ const n = page + 1;
51
+ return n > count ? void 0 : n;
52
+ }, [count, page]);
53
+ const onClickPrev = useCallback(() => {
54
+ prev && setPage(prev);
55
+ }, [prev]);
56
+ const onClickNext = useCallback(() => {
57
+ next && setPage(next);
58
+ }, [next]);
59
+ const doublePrev = useMemo(() => {
60
+ if (!visibleItems.length)
61
+ return;
62
+ return Math.max(0, visibleItems[0] - 1);
63
+ }, [visibleItems]);
64
+ const onClickDoublePrev = useCallback(() => {
65
+ doublePrev && setPage(doublePrev);
66
+ }, [doublePrev]);
67
+ const doubleNext = useMemo(() => {
68
+ if (!visibleItems.length)
69
+ return;
70
+ const n = visibleItems[visibleItems.length - 1] + 1;
71
+ if (n > count)
72
+ return;
73
+ return Math.min(count, n);
74
+ }, [count, visibleItems]);
75
+ const onClickDoubleNext = useCallback(() => {
76
+ doubleNext && setPage(doubleNext);
77
+ }, [doubleNext]);
78
+ const iconSize = {
79
+ height: 24,
80
+ width: 24
81
+ };
82
+ const moveButtonProps = {
83
+ variant: "ghost",
84
+ size: "3",
85
+ style: { borderRadius: "50%" }
86
+ };
87
+ if (!page)
88
+ return null;
89
+ return /* @__PURE__ */ jsxs(Flex, { align: "center", className: "tipp-pagination", gap: "4", children: [
90
+ /* @__PURE__ */ jsx(
91
+ IconButton,
92
+ __spreadProps(__spreadValues({
93
+ disabled: !doublePrev,
94
+ onClick: onClickDoublePrev
95
+ }, moveButtonProps), {
96
+ children: /* @__PURE__ */ jsx(DoubleArrowLeftIcon, __spreadValues({}, iconSize))
97
+ })
98
+ ),
99
+ /* @__PURE__ */ jsx(IconButton, __spreadProps(__spreadValues({ disabled: !prev, onClick: onClickPrev }, moveButtonProps), { children: /* @__PURE__ */ jsx(ChevronLeftIcon, __spreadValues({}, iconSize)) })),
100
+ /* @__PURE__ */ jsx(Flex, { gap: "1", children: visibleItems.map((item) => {
101
+ return /* @__PURE__ */ jsx(
102
+ "button",
103
+ {
104
+ className: `page-button ${item === page ? "active" : ""}`,
105
+ onClick: () => {
106
+ setPage(item);
107
+ },
108
+ type: "button",
109
+ children: /* @__PURE__ */ jsx(Typo, { variant: "body", children: item })
110
+ },
111
+ item
112
+ );
113
+ }) }),
114
+ /* @__PURE__ */ jsx(IconButton, __spreadProps(__spreadValues({ disabled: !next, onClick: onClickNext }, moveButtonProps), { children: /* @__PURE__ */ jsx(ChevronRightIcon, __spreadValues({}, iconSize)) })),
115
+ /* @__PURE__ */ jsx(
116
+ IconButton,
117
+ __spreadProps(__spreadValues({
118
+ disabled: !doubleNext,
119
+ onClick: onClickDoubleNext
120
+ }, moveButtonProps), {
121
+ children: /* @__PURE__ */ jsx(DoubleArrowRightIcon, __spreadValues({}, iconSize))
122
+ })
123
+ )
124
+ ] });
125
+ }
126
+
127
+ export {
128
+ Pagination
129
+ };
130
+ //# sourceMappingURL=chunk-FUSEDVWI.js.map