@tipp/ui 1.2.4 → 1.2.6
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/dialog.cjs +60 -7
- package/dist/atoms/dialog.cjs.map +1 -1
- package/dist/atoms/dialog.js +2 -1
- package/dist/atoms/heading.cjs +2 -2
- package/dist/atoms/heading.cjs.map +1 -1
- package/dist/atoms/heading.d.cts +1 -1
- package/dist/atoms/heading.d.ts +1 -1
- package/dist/atoms/heading.js +1 -1
- package/dist/atoms/index.cjs +3 -3
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +59 -59
- package/dist/atoms/pagination.js +2 -2
- package/dist/chunk-ADJNYQL4.js +97 -0
- package/dist/chunk-ADJNYQL4.js.map +1 -0
- package/dist/chunk-CBIWAPI3.js +130 -0
- package/dist/chunk-CBIWAPI3.js.map +1 -0
- package/dist/chunk-DRMYFBAV.js +37 -0
- package/dist/chunk-DRMYFBAV.js.map +1 -0
- package/dist/chunk-HCN4TB55.js +340 -0
- package/dist/chunk-HCN4TB55.js.map +1 -0
- package/dist/chunk-IDUOBDMG.js +130 -0
- package/dist/chunk-IDUOBDMG.js.map +1 -0
- package/dist/chunk-QNASXACS.js +169 -0
- package/dist/chunk-QNASXACS.js.map +1 -0
- package/dist/chunk-SBZSSTJE.js +88 -0
- package/dist/chunk-SBZSSTJE.js.map +1 -0
- package/dist/chunk-Z4UWDJXZ.js +340 -0
- package/dist/chunk-Z4UWDJXZ.js.map +1 -0
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +72 -72
- package/dist/molecules/date-picker/index.cjs +2 -2
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +3 -3
- package/dist/molecules/expand-table/index.js +27 -27
- package/dist/molecules/expand-table/row.js +24 -24
- package/dist/molecules/index.cjs +2 -2
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +29 -29
- package/dist/molecules/navigation.js +24 -24
- package/dist/molecules/tag-selector.js +25 -25
- package/package.json +1 -1
- package/src/atoms/dialog.tsx +5 -4
- package/src/atoms/heading.tsx +3 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
uiProps
|
|
3
|
-
} from "./chunk-NVKNDAIN.js";
|
|
4
1
|
import "./chunk-DRBRT57F.js";
|
|
5
2
|
import {
|
|
6
3
|
getCellAlign
|
|
@@ -8,14 +5,20 @@ import {
|
|
|
8
5
|
import {
|
|
9
6
|
scrollTo
|
|
10
7
|
} from "./chunk-ZXQZRIRS.js";
|
|
8
|
+
import {
|
|
9
|
+
uiProps
|
|
10
|
+
} from "./chunk-NVKNDAIN.js";
|
|
11
|
+
import {
|
|
12
|
+
useThemeContext
|
|
13
|
+
} from "./chunk-MMGP4GEQ.js";
|
|
11
14
|
import "./chunk-O4ZYERRL.js";
|
|
12
15
|
import {
|
|
13
16
|
DatePicker
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ADJNYQL4.js";
|
|
15
18
|
import {
|
|
16
19
|
ExpandTable,
|
|
17
20
|
createColumnHelper
|
|
18
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5T7WTAHK.js";
|
|
19
22
|
import "./chunk-JFKC7O5G.js";
|
|
20
23
|
import {
|
|
21
24
|
DotNavigation
|
|
@@ -28,19 +31,32 @@ import {
|
|
|
28
31
|
} from "./chunk-U4ESLEOX.js";
|
|
29
32
|
import {
|
|
30
33
|
TagSelector
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import {
|
|
33
|
-
useThemeContext
|
|
34
|
-
} from "./chunk-MMGP4GEQ.js";
|
|
35
|
-
import "./chunk-BSTJBBEX.js";
|
|
36
|
-
import "./chunk-NDUKDKGB.js";
|
|
34
|
+
} from "./chunk-Z4UWDJXZ.js";
|
|
37
35
|
import "./chunk-76JGDATZ.js";
|
|
36
|
+
import {
|
|
37
|
+
Switch
|
|
38
|
+
} from "./chunk-OYM4XCHQ.js";
|
|
39
|
+
import {
|
|
40
|
+
TabNav
|
|
41
|
+
} from "./chunk-YJ7ZFOYL.js";
|
|
42
|
+
import {
|
|
43
|
+
Tabs
|
|
44
|
+
} from "./chunk-5ZITU5L7.js";
|
|
38
45
|
import {
|
|
39
46
|
TextArea
|
|
40
47
|
} from "./chunk-ILRUXI2E.js";
|
|
41
48
|
import {
|
|
42
49
|
TextField
|
|
43
50
|
} from "./chunk-JPIZP2PZ.js";
|
|
51
|
+
import {
|
|
52
|
+
ScrollArea
|
|
53
|
+
} from "./chunk-ZKZDVS7G.js";
|
|
54
|
+
import {
|
|
55
|
+
Section
|
|
56
|
+
} from "./chunk-MUNMDHRF.js";
|
|
57
|
+
import {
|
|
58
|
+
SegmentedControl
|
|
59
|
+
} from "./chunk-TVDKGMBI.js";
|
|
44
60
|
import {
|
|
45
61
|
Select
|
|
46
62
|
} from "./chunk-3JRNKBMN.js";
|
|
@@ -57,14 +73,14 @@ import {
|
|
|
57
73
|
Strong
|
|
58
74
|
} from "./chunk-74DX4CU7.js";
|
|
59
75
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
76
|
+
Link
|
|
77
|
+
} from "./chunk-SIM6HKVI.js";
|
|
62
78
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
79
|
+
Pagination
|
|
80
|
+
} from "./chunk-IDUOBDMG.js";
|
|
65
81
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
82
|
+
Popover
|
|
83
|
+
} from "./chunk-5AVBYDPB.js";
|
|
68
84
|
import {
|
|
69
85
|
Progress
|
|
70
86
|
} from "./chunk-365QMK4D.js";
|
|
@@ -81,14 +97,14 @@ import {
|
|
|
81
97
|
Radio
|
|
82
98
|
} from "./chunk-FPD73OHW.js";
|
|
83
99
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
100
|
+
Form
|
|
101
|
+
} from "./chunk-2CVXGGI5.js";
|
|
86
102
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
103
|
+
Grid
|
|
104
|
+
} from "./chunk-EGEQY3KT.js";
|
|
89
105
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
106
|
+
Heading
|
|
107
|
+
} from "./chunk-DRMYFBAV.js";
|
|
92
108
|
import {
|
|
93
109
|
HoverCard
|
|
94
110
|
} from "./chunk-O3T3TM3V.js";
|
|
@@ -99,14 +115,27 @@ import {
|
|
|
99
115
|
Kbd
|
|
100
116
|
} from "./chunk-TULWX7D6.js";
|
|
101
117
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
118
|
+
DataList
|
|
119
|
+
} from "./chunk-VTJZMOSP.js";
|
|
104
120
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
121
|
+
Dialog
|
|
122
|
+
} from "./chunk-SBZSSTJE.js";
|
|
107
123
|
import {
|
|
108
|
-
|
|
109
|
-
|
|
124
|
+
Content,
|
|
125
|
+
Drawer,
|
|
126
|
+
Root,
|
|
127
|
+
Trigger
|
|
128
|
+
} from "./chunk-ZZXCFJOT.js";
|
|
129
|
+
import {
|
|
130
|
+
ThemeProvider
|
|
131
|
+
} from "./chunk-BVBX6IJ3.js";
|
|
132
|
+
import {
|
|
133
|
+
ToastContainer,
|
|
134
|
+
toast
|
|
135
|
+
} from "./chunk-NJ2U2TVS.js";
|
|
136
|
+
import {
|
|
137
|
+
IconButton
|
|
138
|
+
} from "./chunk-O3DNDMV3.js";
|
|
110
139
|
import {
|
|
111
140
|
DropdownMenu
|
|
112
141
|
} from "./chunk-4WFMOFN2.js";
|
|
@@ -129,14 +158,14 @@ import {
|
|
|
129
158
|
Flex
|
|
130
159
|
} from "./chunk-25HMMI7R.js";
|
|
131
160
|
import {
|
|
132
|
-
|
|
133
|
-
} from "./chunk-
|
|
161
|
+
Callout
|
|
162
|
+
} from "./chunk-B6XJN6EC.js";
|
|
134
163
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
164
|
+
Card
|
|
165
|
+
} from "./chunk-UVKNLJDZ.js";
|
|
137
166
|
import {
|
|
138
|
-
|
|
139
|
-
} from "./chunk-
|
|
167
|
+
CheckboxCards
|
|
168
|
+
} from "./chunk-MIMJ7LON.js";
|
|
140
169
|
import {
|
|
141
170
|
CheckboxGroup
|
|
142
171
|
} from "./chunk-IQEEPHOY.js";
|
|
@@ -153,27 +182,14 @@ import {
|
|
|
153
182
|
Container
|
|
154
183
|
} from "./chunk-Q37G2GS6.js";
|
|
155
184
|
import {
|
|
156
|
-
|
|
157
|
-
} from "./chunk-
|
|
158
|
-
import {
|
|
159
|
-
Dialog
|
|
160
|
-
} from "./chunk-RTJS3BWZ.js";
|
|
161
|
-
import {
|
|
162
|
-
Content,
|
|
163
|
-
Drawer,
|
|
164
|
-
Root,
|
|
165
|
-
Trigger
|
|
166
|
-
} from "./chunk-ZZXCFJOT.js";
|
|
167
|
-
import {
|
|
168
|
-
ThemeProvider
|
|
169
|
-
} from "./chunk-BVBX6IJ3.js";
|
|
185
|
+
AlertDialog
|
|
186
|
+
} from "./chunk-J242TTFH.js";
|
|
170
187
|
import {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
} from "./chunk-NJ2U2TVS.js";
|
|
188
|
+
AspectRatio
|
|
189
|
+
} from "./chunk-EAXUQEO5.js";
|
|
174
190
|
import {
|
|
175
|
-
|
|
176
|
-
} from "./chunk-
|
|
191
|
+
AutoSizingInput
|
|
192
|
+
} from "./chunk-YJCCE5WP.js";
|
|
177
193
|
import {
|
|
178
194
|
Avatar
|
|
179
195
|
} from "./chunk-3SSSCLJ5.js";
|
|
@@ -189,15 +205,6 @@ import {
|
|
|
189
205
|
import {
|
|
190
206
|
Button
|
|
191
207
|
} from "./chunk-4B77ZZOP.js";
|
|
192
|
-
import {
|
|
193
|
-
Callout
|
|
194
|
-
} from "./chunk-B6XJN6EC.js";
|
|
195
|
-
import {
|
|
196
|
-
Card
|
|
197
|
-
} from "./chunk-UVKNLJDZ.js";
|
|
198
|
-
import {
|
|
199
|
-
CheckboxCards
|
|
200
|
-
} from "./chunk-MIMJ7LON.js";
|
|
201
208
|
import {
|
|
202
209
|
ArchiveIcon,
|
|
203
210
|
BackpackIcon,
|
|
@@ -239,15 +246,8 @@ import {
|
|
|
239
246
|
import {
|
|
240
247
|
HorizontalBarChart
|
|
241
248
|
} from "./chunk-SGMO4KBC.js";
|
|
242
|
-
import
|
|
243
|
-
|
|
244
|
-
} from "./chunk-J242TTFH.js";
|
|
245
|
-
import {
|
|
246
|
-
AspectRatio
|
|
247
|
-
} from "./chunk-EAXUQEO5.js";
|
|
248
|
-
import {
|
|
249
|
-
AutoSizingInput
|
|
250
|
-
} from "./chunk-YJCCE5WP.js";
|
|
249
|
+
import "./chunk-BSTJBBEX.js";
|
|
250
|
+
import "./chunk-NDUKDKGB.js";
|
|
251
251
|
import "./chunk-N552FDTV.js";
|
|
252
252
|
export {
|
|
253
253
|
AlertDialog,
|
|
@@ -85,14 +85,14 @@ function Heading2(props) {
|
|
|
85
85
|
const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
|
|
86
86
|
const radixSize = (0, import_react.useMemo)(() => {
|
|
87
87
|
switch (variant) {
|
|
88
|
-
case "subtitle1":
|
|
89
|
-
return "4";
|
|
90
88
|
case "heading1":
|
|
91
89
|
return "7";
|
|
92
90
|
case "heading2":
|
|
93
91
|
return "6";
|
|
94
92
|
case "heading3":
|
|
95
93
|
return "5";
|
|
94
|
+
case "heading4":
|
|
95
|
+
return "4";
|
|
96
96
|
default:
|
|
97
97
|
return size;
|
|
98
98
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/molecules/date-picker/index.tsx","../../../src/atoms/icon-button.tsx","../../../src/atoms/flex.tsx","../../../src/icon.ts","../../../src/atoms/heading.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any -- ReactPicker의 렌더러가 object를 return함 버그를 해결하기 위해 강제 assertion 사용 */\n/* eslint-disable @typescript-eslint/no-unsafe-member-access -- ReactPicker의 렌더러가 object를 return함 버그를 해결하기 위해 강제 assertion 사용 */\nimport type { ElementRef } from 'react';\nimport React, { forwardRef } from 'react';\nimport type { DatePickerProps as ReactDatePickerProps } from 'react-datepicker';\nimport * as RDP from 'react-datepicker';\nimport { registerLocale, setDefaultLocale } from 'react-datepicker';\nimport { ko as fnKo } from 'date-fns/locale';\nimport { IconButton } from '../../atoms/icon-button';\nimport { Flex } from '../../atoms/flex';\nimport { ChevronLeftIcon, ChevronRightIcon } from '../../icon';\nimport { Heading } from '../../atoms/heading';\n\nregisterLocale('ko', fnKo);\nsetDefaultLocale('ko');\n\nexport type DatePickerProps = ReactDatePickerProps & {\n size?: 'small' | 'medium' | 'large';\n};\ntype DatePickerRef = ElementRef<typeof ReactDatePicker>;\n\nconst ReactDatePicker = ((RDP.default as any).default ||\n (RDP.default as any) ||\n (RDP as any)) as typeof RDP.default;\n\nexport const DatePicker = forwardRef<DatePickerRef, DatePickerProps>(\n (props, ref): React.ReactElement => {\n const { size = 'medium', ...rest } = props;\n return (\n <ReactDatePicker\n dateFormat=\"YYYY/MM/dd\"\n nextMonthButtonLabel=\"다음 달\"\n placeholderText=\"YYYY/mm/dd\"\n previousMonthButtonLabel=\"이전 달\"\n ref={ref}\n renderCustomHeader={renderCustomHeader}\n showPopperArrow={false}\n timeIntervals={10}\n {...rest}\n calendarClassName={`tipp_datePicker_calendar ${rest.calendarClassName || ''}`}\n timeCaption=\"시간\"\n wrapperClassName={`tipp_datePicker ${size} ${rest.wrapperClassName || ''}`}\n />\n );\n }\n);\n\nDatePicker.displayName = 'DatePicker';\n\nconst renderCustomHeader: ReactDatePickerProps['renderCustomHeader'] = (\n props\n) => {\n const {\n date,\n decreaseMonth,\n increaseMonth,\n prevMonthButtonDisabled,\n nextMonthButtonDisabled,\n } = props;\n\n const year = date.getFullYear();\n const month = date.getMonth();\n\n return (\n <Flex align=\"center\" justify=\"between\" pb=\"2\" pl=\"2\" pr=\"2\">\n <IconButton\n disabled={prevMonthButtonDisabled}\n onClick={decreaseMonth}\n variant=\"ghost\"\n >\n <ChevronLeftIcon />\n </IconButton>\n <Flex gap=\"3\">\n <Heading variant=\"subtitle1\" weight=\"regular\">\n {year}년\n </Heading>\n <Heading variant=\"subtitle1\" weight=\"regular\">\n {month + 1}월\n </Heading>\n </Flex>\n\n <IconButton\n disabled={nextMonthButtonDisabled}\n onClick={increaseMonth}\n variant=\"ghost\"\n >\n <ChevronRightIcon />\n </IconButton>\n </Flex>\n );\n};\n\n// DatePicker.displayName = 'DatePicker';\n","export { IconButton, type IconButtonProps } from '@radix-ui/themes';\n","export { Flex, type FlexProps } from '@radix-ui/themes';\n","export {\n BookmarkIcon,\n ExitIcon,\n InfoCircledIcon,\n ExclamationTriangleIcon,\n MagnifyingGlassIcon,\n DotsHorizontalIcon,\n ChatBubbleIcon,\n PlusIcon,\n BookmarkFilledIcon,\n MixerHorizontalIcon,\n ChevronLeftIcon,\n ChevronRightIcon,\n ClipboardIcon,\n BarChartIcon,\n PersonIcon,\n GearIcon,\n DotsVerticalIcon,\n Pencil1Icon,\n Cross1Icon,\n Link2Icon,\n ChevronUpIcon,\n ChevronDownIcon,\n FileIcon,\n TrashIcon,\n DoubleArrowLeftIcon,\n DoubleArrowRightIcon,\n GlobeIcon,\n BackpackIcon,\n CalendarIcon,\n CheckIcon,\n ArchiveIcon,\n RowsIcon,\n} from '@radix-ui/react-icons';\n","import {\n Heading as RadixHeading,\n type HeadingProps as RadixHeadingProps,\n} from '@radix-ui/themes';\nimport { useMemo } from 'react';\n\nexport { Heading as RadixHeading } from '@radix-ui/themes';\n\nexport type HeadingProps = RadixHeadingProps & {\n variant?: 'subtitle1' | 'heading1' | 'heading2' | 'heading3';\n};\n\nexport function Heading(props: HeadingProps): React.ReactElement {\n const { size, children, variant, ...rest } = props;\n const radixSize = useMemo<RadixHeadingProps['size']>(() => {\n switch (variant) {\n case '
|
|
1
|
+
{"version":3,"sources":["../../../src/molecules/date-picker/index.tsx","../../../src/atoms/icon-button.tsx","../../../src/atoms/flex.tsx","../../../src/icon.ts","../../../src/atoms/heading.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any -- ReactPicker의 렌더러가 object를 return함 버그를 해결하기 위해 강제 assertion 사용 */\n/* eslint-disable @typescript-eslint/no-unsafe-member-access -- ReactPicker의 렌더러가 object를 return함 버그를 해결하기 위해 강제 assertion 사용 */\nimport type { ElementRef } from 'react';\nimport React, { forwardRef } from 'react';\nimport type { DatePickerProps as ReactDatePickerProps } from 'react-datepicker';\nimport * as RDP from 'react-datepicker';\nimport { registerLocale, setDefaultLocale } from 'react-datepicker';\nimport { ko as fnKo } from 'date-fns/locale';\nimport { IconButton } from '../../atoms/icon-button';\nimport { Flex } from '../../atoms/flex';\nimport { ChevronLeftIcon, ChevronRightIcon } from '../../icon';\nimport { Heading } from '../../atoms/heading';\n\nregisterLocale('ko', fnKo);\nsetDefaultLocale('ko');\n\nexport type DatePickerProps = ReactDatePickerProps & {\n size?: 'small' | 'medium' | 'large';\n};\ntype DatePickerRef = ElementRef<typeof ReactDatePicker>;\n\nconst ReactDatePicker = ((RDP.default as any).default ||\n (RDP.default as any) ||\n (RDP as any)) as typeof RDP.default;\n\nexport const DatePicker = forwardRef<DatePickerRef, DatePickerProps>(\n (props, ref): React.ReactElement => {\n const { size = 'medium', ...rest } = props;\n return (\n <ReactDatePicker\n dateFormat=\"YYYY/MM/dd\"\n nextMonthButtonLabel=\"다음 달\"\n placeholderText=\"YYYY/mm/dd\"\n previousMonthButtonLabel=\"이전 달\"\n ref={ref}\n renderCustomHeader={renderCustomHeader}\n showPopperArrow={false}\n timeIntervals={10}\n {...rest}\n calendarClassName={`tipp_datePicker_calendar ${rest.calendarClassName || ''}`}\n timeCaption=\"시간\"\n wrapperClassName={`tipp_datePicker ${size} ${rest.wrapperClassName || ''}`}\n />\n );\n }\n);\n\nDatePicker.displayName = 'DatePicker';\n\nconst renderCustomHeader: ReactDatePickerProps['renderCustomHeader'] = (\n props\n) => {\n const {\n date,\n decreaseMonth,\n increaseMonth,\n prevMonthButtonDisabled,\n nextMonthButtonDisabled,\n } = props;\n\n const year = date.getFullYear();\n const month = date.getMonth();\n\n return (\n <Flex align=\"center\" justify=\"between\" pb=\"2\" pl=\"2\" pr=\"2\">\n <IconButton\n disabled={prevMonthButtonDisabled}\n onClick={decreaseMonth}\n variant=\"ghost\"\n >\n <ChevronLeftIcon />\n </IconButton>\n <Flex gap=\"3\">\n <Heading variant=\"subtitle1\" weight=\"regular\">\n {year}년\n </Heading>\n <Heading variant=\"subtitle1\" weight=\"regular\">\n {month + 1}월\n </Heading>\n </Flex>\n\n <IconButton\n disabled={nextMonthButtonDisabled}\n onClick={increaseMonth}\n variant=\"ghost\"\n >\n <ChevronRightIcon />\n </IconButton>\n </Flex>\n );\n};\n\n// DatePicker.displayName = 'DatePicker';\n","export { IconButton, type IconButtonProps } from '@radix-ui/themes';\n","export { Flex, type FlexProps } from '@radix-ui/themes';\n","export {\n BookmarkIcon,\n ExitIcon,\n InfoCircledIcon,\n ExclamationTriangleIcon,\n MagnifyingGlassIcon,\n DotsHorizontalIcon,\n ChatBubbleIcon,\n PlusIcon,\n BookmarkFilledIcon,\n MixerHorizontalIcon,\n ChevronLeftIcon,\n ChevronRightIcon,\n ClipboardIcon,\n BarChartIcon,\n PersonIcon,\n GearIcon,\n DotsVerticalIcon,\n Pencil1Icon,\n Cross1Icon,\n Link2Icon,\n ChevronUpIcon,\n ChevronDownIcon,\n FileIcon,\n TrashIcon,\n DoubleArrowLeftIcon,\n DoubleArrowRightIcon,\n GlobeIcon,\n BackpackIcon,\n CalendarIcon,\n CheckIcon,\n ArchiveIcon,\n RowsIcon,\n} from '@radix-ui/react-icons';\n","import {\n Heading as RadixHeading,\n type HeadingProps as RadixHeadingProps,\n} from '@radix-ui/themes';\nimport { useMemo } from 'react';\n\nexport { Heading as RadixHeading } from '@radix-ui/themes';\n\nexport type HeadingProps = RadixHeadingProps & {\n variant?: 'subtitle1' | 'heading1' | 'heading2' | 'heading3' | 'heading4';\n};\n\nexport function Heading(props: HeadingProps): React.ReactElement {\n const { size, children, variant, ...rest } = props;\n const radixSize = useMemo<RadixHeadingProps['size']>(() => {\n switch (variant) {\n case 'heading1':\n return '7';\n case 'heading2':\n return '6';\n case 'heading3':\n return '5';\n case 'heading4':\n return '4';\n default:\n return size;\n }\n }, [size, variant]);\n\n return (\n <RadixHeading {...rest} size={radixSize}>\n {children}\n </RadixHeading>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,IAAAA,gBAAkC;AAElC,UAAqB;AACrB,8BAAiD;AACjD,oBAA2B;;;ACP3B,oBAAiD;;;ACAjD,IAAAC,iBAAqC;;;ACArC,yBAiCO;;;ACjCP,IAAAC,iBAGO;AACP,mBAAwB;AAExB,IAAAA,iBAAwC;AAwBpC;AAlBG,SAASC,SAAQ,OAAyC;AAC/D,QAA6C,YAArC,QAAM,UAAU,QAb1B,IAa+C,IAAT,iBAAS,IAAT,CAA5B,QAAM,YAAU;AACxB,QAAM,gBAAY,sBAAmC,MAAM;AACzD,YAAQ,SAAS;AAAA,MACf,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT;AACE,eAAO;AAAA,IACX;AAAA,EACF,GAAG,CAAC,MAAM,OAAO,CAAC;AAElB,SACE,4CAAC,eAAAC,SAAA,iCAAiB,OAAjB,EAAuB,MAAM,WAC3B,WACH;AAEJ;;;AJLM,IAAAC,sBAAA;AAAA,IAhBN,wCAAe,MAAM,cAAAC,EAAI;AAAA,IACzB,0CAAiB,IAAI;AAOrB,IAAM,kBAAwB,YAAgB,WACvC,eACJ;AAEI,IAAM,iBAAa;AAAA,EACxB,CAAC,OAAO,QAA4B;AAClC,UAAqC,YAA7B,SAAO,SA3BnB,IA2ByC,IAAT,iBAAS,IAAT,CAApB;AACR,WACE;AAAA,MAAC;AAAA;AAAA,QACC,YAAW;AAAA,QACX,sBAAqB;AAAA,QACrB,iBAAgB;AAAA,QAChB,0BAAyB;AAAA,QACzB;AAAA,QACA;AAAA,QACA,iBAAiB;AAAA,QACjB,eAAe;AAAA,SACX,OATL;AAAA,QAUC,mBAAmB,4BAA4B,KAAK,qBAAqB,EAAE;AAAA,QAC3E,aAAY;AAAA,QACZ,kBAAkB,mBAAmB,IAAI,IAAI,KAAK,oBAAoB,EAAE;AAAA;AAAA,IAC1E;AAAA,EAEJ;AACF;AAEA,WAAW,cAAc;AAEzB,IAAM,qBAAiE,CACrE,UACG;AACH,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI;AAEJ,QAAM,OAAO,KAAK,YAAY;AAC9B,QAAM,QAAQ,KAAK,SAAS;AAE5B,SACE,8CAAC,uBAAK,OAAM,UAAS,SAAQ,WAAU,IAAG,KAAI,IAAG,KAAI,IAAG,KACtD;AAAA;AAAA,MAAC;AAAA;AAAA,QACC,UAAU;AAAA,QACV,SAAS;AAAA,QACT,SAAQ;AAAA,QAER,uDAAC,sCAAgB;AAAA;AAAA,IACnB;AAAA,IACA,8CAAC,uBAAK,KAAI,KACR;AAAA,oDAACC,UAAA,EAAQ,SAAQ,aAAY,QAAO,WACjC;AAAA;AAAA,QAAK;AAAA,SACR;AAAA,MACA,8CAACA,UAAA,EAAQ,SAAQ,aAAY,QAAO,WACjC;AAAA,gBAAQ;AAAA,QAAE;AAAA,SACb;AAAA,OACF;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,UAAU;AAAA,QACV,SAAS;AAAA,QACT,SAAQ;AAAA,QAER,uDAAC,uCAAiB;AAAA;AAAA,IACpB;AAAA,KACF;AAEJ;","names":["import_react","import_themes","import_themes","Heading","RadixHeading","import_jsx_runtime","fnKo","Heading"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DatePicker
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-WMZAV6PQ.js";
|
|
3
|
+
} from "../../chunk-ADJNYQL4.js";
|
|
4
|
+
import "../../chunk-DRMYFBAV.js";
|
|
6
5
|
import "../../chunk-O3DNDMV3.js";
|
|
6
|
+
import "../../chunk-25HMMI7R.js";
|
|
7
7
|
import "../../chunk-V2ACXQA5.js";
|
|
8
8
|
import "../../chunk-N552FDTV.js";
|
|
9
9
|
export {
|
|
@@ -1,35 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ExpandTable,
|
|
3
3
|
createColumnHelper
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-5T7WTAHK.js";
|
|
5
5
|
import "../../chunk-JFKC7O5G.js";
|
|
6
|
-
import "../../chunk-BSTJBBEX.js";
|
|
7
|
-
import "../../chunk-NDUKDKGB.js";
|
|
8
6
|
import "../../chunk-76JGDATZ.js";
|
|
7
|
+
import "../../chunk-OYM4XCHQ.js";
|
|
8
|
+
import "../../chunk-YJ7ZFOYL.js";
|
|
9
|
+
import "../../chunk-5ZITU5L7.js";
|
|
9
10
|
import "../../chunk-ILRUXI2E.js";
|
|
10
11
|
import "../../chunk-JPIZP2PZ.js";
|
|
12
|
+
import "../../chunk-ZKZDVS7G.js";
|
|
13
|
+
import "../../chunk-MUNMDHRF.js";
|
|
14
|
+
import "../../chunk-TVDKGMBI.js";
|
|
11
15
|
import "../../chunk-3JRNKBMN.js";
|
|
12
16
|
import "../../chunk-HYITAA4J.js";
|
|
13
17
|
import "../../chunk-5H3YPCZK.js";
|
|
14
18
|
import "../../chunk-FR2GDOU2.js";
|
|
15
19
|
import "../../chunk-74DX4CU7.js";
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
20
|
+
import "../../chunk-SIM6HKVI.js";
|
|
21
|
+
import "../../chunk-IDUOBDMG.js";
|
|
22
|
+
import "../../chunk-5AVBYDPB.js";
|
|
19
23
|
import "../../chunk-365QMK4D.js";
|
|
20
24
|
import "../../chunk-YO3BQW6S.js";
|
|
21
25
|
import "../../chunk-6IVCARWS.js";
|
|
22
26
|
import "../../chunk-6DJOIRMF.js";
|
|
23
27
|
import "../../chunk-FPD73OHW.js";
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
26
|
-
import "../../chunk-
|
|
28
|
+
import "../../chunk-2CVXGGI5.js";
|
|
29
|
+
import "../../chunk-EGEQY3KT.js";
|
|
30
|
+
import "../../chunk-DRMYFBAV.js";
|
|
27
31
|
import "../../chunk-O3T3TM3V.js";
|
|
28
32
|
import "../../chunk-XQOL7UBI.js";
|
|
29
33
|
import "../../chunk-TULWX7D6.js";
|
|
30
|
-
import "../../chunk-
|
|
31
|
-
import "../../chunk-
|
|
32
|
-
import "../../chunk-
|
|
34
|
+
import "../../chunk-VTJZMOSP.js";
|
|
35
|
+
import "../../chunk-SBZSSTJE.js";
|
|
36
|
+
import "../../chunk-ZZXCFJOT.js";
|
|
37
|
+
import "../../chunk-BVBX6IJ3.js";
|
|
38
|
+
import "../../chunk-NJ2U2TVS.js";
|
|
39
|
+
import "../../chunk-O3DNDMV3.js";
|
|
33
40
|
import "../../chunk-4WFMOFN2.js";
|
|
34
41
|
import "../../chunk-E3Z3D4EY.js";
|
|
35
42
|
import "../../chunk-ACVANQJ4.js";
|
|
@@ -37,32 +44,25 @@ import "../../chunk-2DZ2Y3JI.js";
|
|
|
37
44
|
import "../../chunk-QDZS4B6A.js";
|
|
38
45
|
import "../../chunk-52MVZ6AN.js";
|
|
39
46
|
import "../../chunk-25HMMI7R.js";
|
|
40
|
-
import "../../chunk-
|
|
41
|
-
import "../../chunk-
|
|
42
|
-
import "../../chunk-
|
|
47
|
+
import "../../chunk-B6XJN6EC.js";
|
|
48
|
+
import "../../chunk-UVKNLJDZ.js";
|
|
49
|
+
import "../../chunk-MIMJ7LON.js";
|
|
43
50
|
import "../../chunk-IQEEPHOY.js";
|
|
44
51
|
import "../../chunk-LHCDPZ5E.js";
|
|
45
52
|
import "../../chunk-OHMOP5PV.js";
|
|
46
53
|
import "../../chunk-KGLIAFTI.js";
|
|
47
54
|
import "../../chunk-Q37G2GS6.js";
|
|
48
|
-
import "../../chunk-
|
|
49
|
-
import "../../chunk-
|
|
50
|
-
import "../../chunk-
|
|
51
|
-
import "../../chunk-BVBX6IJ3.js";
|
|
52
|
-
import "../../chunk-NJ2U2TVS.js";
|
|
53
|
-
import "../../chunk-O3DNDMV3.js";
|
|
55
|
+
import "../../chunk-J242TTFH.js";
|
|
56
|
+
import "../../chunk-EAXUQEO5.js";
|
|
57
|
+
import "../../chunk-YJCCE5WP.js";
|
|
54
58
|
import "../../chunk-3SSSCLJ5.js";
|
|
55
59
|
import "../../chunk-EFMOJ6IL.js";
|
|
56
60
|
import "../../chunk-YGL6SWKN.js";
|
|
57
61
|
import "../../chunk-4Y5BEXVN.js";
|
|
58
62
|
import "../../chunk-4B77ZZOP.js";
|
|
59
|
-
import "../../chunk-B6XJN6EC.js";
|
|
60
|
-
import "../../chunk-UVKNLJDZ.js";
|
|
61
|
-
import "../../chunk-MIMJ7LON.js";
|
|
62
63
|
import "../../chunk-V2ACXQA5.js";
|
|
63
|
-
import "../../chunk-
|
|
64
|
-
import "../../chunk-
|
|
65
|
-
import "../../chunk-YJCCE5WP.js";
|
|
64
|
+
import "../../chunk-BSTJBBEX.js";
|
|
65
|
+
import "../../chunk-NDUKDKGB.js";
|
|
66
66
|
import "../../chunk-N552FDTV.js";
|
|
67
67
|
export {
|
|
68
68
|
ExpandTable,
|
|
@@ -2,30 +2,39 @@ import {
|
|
|
2
2
|
Row
|
|
3
3
|
} from "../../chunk-JFKC7O5G.js";
|
|
4
4
|
import "../../chunk-76JGDATZ.js";
|
|
5
|
+
import "../../chunk-OYM4XCHQ.js";
|
|
6
|
+
import "../../chunk-YJ7ZFOYL.js";
|
|
7
|
+
import "../../chunk-5ZITU5L7.js";
|
|
5
8
|
import "../../chunk-ILRUXI2E.js";
|
|
6
9
|
import "../../chunk-JPIZP2PZ.js";
|
|
10
|
+
import "../../chunk-ZKZDVS7G.js";
|
|
11
|
+
import "../../chunk-MUNMDHRF.js";
|
|
12
|
+
import "../../chunk-TVDKGMBI.js";
|
|
7
13
|
import "../../chunk-3JRNKBMN.js";
|
|
8
14
|
import "../../chunk-HYITAA4J.js";
|
|
9
15
|
import "../../chunk-5H3YPCZK.js";
|
|
10
16
|
import "../../chunk-FR2GDOU2.js";
|
|
11
17
|
import "../../chunk-74DX4CU7.js";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
18
|
+
import "../../chunk-SIM6HKVI.js";
|
|
19
|
+
import "../../chunk-IDUOBDMG.js";
|
|
20
|
+
import "../../chunk-5AVBYDPB.js";
|
|
15
21
|
import "../../chunk-365QMK4D.js";
|
|
16
22
|
import "../../chunk-YO3BQW6S.js";
|
|
17
23
|
import "../../chunk-6IVCARWS.js";
|
|
18
24
|
import "../../chunk-6DJOIRMF.js";
|
|
19
25
|
import "../../chunk-FPD73OHW.js";
|
|
20
|
-
import "../../chunk-
|
|
21
|
-
import "../../chunk-
|
|
22
|
-
import "../../chunk-
|
|
26
|
+
import "../../chunk-2CVXGGI5.js";
|
|
27
|
+
import "../../chunk-EGEQY3KT.js";
|
|
28
|
+
import "../../chunk-DRMYFBAV.js";
|
|
23
29
|
import "../../chunk-O3T3TM3V.js";
|
|
24
30
|
import "../../chunk-XQOL7UBI.js";
|
|
25
31
|
import "../../chunk-TULWX7D6.js";
|
|
26
|
-
import "../../chunk-
|
|
27
|
-
import "../../chunk-
|
|
28
|
-
import "../../chunk-
|
|
32
|
+
import "../../chunk-VTJZMOSP.js";
|
|
33
|
+
import "../../chunk-SBZSSTJE.js";
|
|
34
|
+
import "../../chunk-ZZXCFJOT.js";
|
|
35
|
+
import "../../chunk-BVBX6IJ3.js";
|
|
36
|
+
import "../../chunk-NJ2U2TVS.js";
|
|
37
|
+
import "../../chunk-O3DNDMV3.js";
|
|
29
38
|
import "../../chunk-4WFMOFN2.js";
|
|
30
39
|
import "../../chunk-E3Z3D4EY.js";
|
|
31
40
|
import "../../chunk-ACVANQJ4.js";
|
|
@@ -33,32 +42,23 @@ import "../../chunk-2DZ2Y3JI.js";
|
|
|
33
42
|
import "../../chunk-QDZS4B6A.js";
|
|
34
43
|
import "../../chunk-52MVZ6AN.js";
|
|
35
44
|
import "../../chunk-25HMMI7R.js";
|
|
36
|
-
import "../../chunk-
|
|
37
|
-
import "../../chunk-
|
|
38
|
-
import "../../chunk-
|
|
45
|
+
import "../../chunk-B6XJN6EC.js";
|
|
46
|
+
import "../../chunk-UVKNLJDZ.js";
|
|
47
|
+
import "../../chunk-MIMJ7LON.js";
|
|
39
48
|
import "../../chunk-IQEEPHOY.js";
|
|
40
49
|
import "../../chunk-LHCDPZ5E.js";
|
|
41
50
|
import "../../chunk-OHMOP5PV.js";
|
|
42
51
|
import "../../chunk-KGLIAFTI.js";
|
|
43
52
|
import "../../chunk-Q37G2GS6.js";
|
|
44
|
-
import "../../chunk-
|
|
45
|
-
import "../../chunk-
|
|
46
|
-
import "../../chunk-
|
|
47
|
-
import "../../chunk-BVBX6IJ3.js";
|
|
48
|
-
import "../../chunk-NJ2U2TVS.js";
|
|
49
|
-
import "../../chunk-O3DNDMV3.js";
|
|
53
|
+
import "../../chunk-J242TTFH.js";
|
|
54
|
+
import "../../chunk-EAXUQEO5.js";
|
|
55
|
+
import "../../chunk-YJCCE5WP.js";
|
|
50
56
|
import "../../chunk-3SSSCLJ5.js";
|
|
51
57
|
import "../../chunk-EFMOJ6IL.js";
|
|
52
58
|
import "../../chunk-YGL6SWKN.js";
|
|
53
59
|
import "../../chunk-4Y5BEXVN.js";
|
|
54
60
|
import "../../chunk-4B77ZZOP.js";
|
|
55
|
-
import "../../chunk-B6XJN6EC.js";
|
|
56
|
-
import "../../chunk-UVKNLJDZ.js";
|
|
57
|
-
import "../../chunk-MIMJ7LON.js";
|
|
58
61
|
import "../../chunk-V2ACXQA5.js";
|
|
59
|
-
import "../../chunk-J242TTFH.js";
|
|
60
|
-
import "../../chunk-EAXUQEO5.js";
|
|
61
|
-
import "../../chunk-YJCCE5WP.js";
|
|
62
62
|
import "../../chunk-N552FDTV.js";
|
|
63
63
|
export {
|
|
64
64
|
Row
|
package/dist/molecules/index.cjs
CHANGED
|
@@ -200,14 +200,14 @@ function Heading2(props) {
|
|
|
200
200
|
const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
|
|
201
201
|
const radixSize = (0, import_react4.useMemo)(() => {
|
|
202
202
|
switch (variant) {
|
|
203
|
-
case "subtitle1":
|
|
204
|
-
return "4";
|
|
205
203
|
case "heading1":
|
|
206
204
|
return "7";
|
|
207
205
|
case "heading2":
|
|
208
206
|
return "6";
|
|
209
207
|
case "heading3":
|
|
210
208
|
return "5";
|
|
209
|
+
case "heading4":
|
|
210
|
+
return "4";
|
|
211
211
|
default:
|
|
212
212
|
return size;
|
|
213
213
|
}
|