@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.
- package/dist/index.js +11 -11
- package/package.json +3 -3
- package/dist/atoms/alert-dialog.d.cts +0 -1
- package/dist/atoms/alert-dialog.d.ts +0 -1
- package/dist/atoms/aspect-ratio.d.cts +0 -1
- package/dist/atoms/aspect-ratio.d.ts +0 -1
- package/dist/atoms/avatar.d.cts +0 -11
- package/dist/atoms/avatar.d.ts +0 -11
- package/dist/atoms/badge.d.cts +0 -13
- package/dist/atoms/badge.d.ts +0 -13
- package/dist/atoms/blockquote.d.cts +0 -1
- package/dist/atoms/blockquote.d.ts +0 -1
- package/dist/atoms/box.d.cts +0 -1
- package/dist/atoms/box.d.ts +0 -1
- package/dist/atoms/button.d.cts +0 -11
- package/dist/atoms/button.d.ts +0 -11
- package/dist/atoms/call-out.d.cts +0 -1
- package/dist/atoms/call-out.d.ts +0 -1
- package/dist/atoms/card.d.cts +0 -23
- package/dist/atoms/card.d.ts +0 -23
- package/dist/atoms/check-box-card.d.cts +0 -1
- package/dist/atoms/check-box-card.d.ts +0 -1
- package/dist/atoms/check-box-group.d.cts +0 -11
- package/dist/atoms/check-box-group.d.ts +0 -11
- package/dist/atoms/check-box.d.cts +0 -11
- package/dist/atoms/check-box.d.ts +0 -11
- package/dist/atoms/code.d.cts +0 -1
- package/dist/atoms/code.d.ts +0 -1
- package/dist/atoms/collapse.d.cts +0 -12
- package/dist/atoms/collapse.d.ts +0 -12
- package/dist/atoms/container.d.cts +0 -1
- package/dist/atoms/container.d.ts +0 -1
- package/dist/atoms/data-list.d.cts +0 -1
- package/dist/atoms/data-list.d.ts +0 -1
- package/dist/atoms/dialog.d.cts +0 -1
- package/dist/atoms/dialog.d.ts +0 -1
- package/dist/atoms/drawer.d.cts +0 -20
- package/dist/atoms/drawer.d.ts +0 -20
- package/dist/atoms/dropdown-menu.d.cts +0 -23
- package/dist/atoms/dropdown-menu.d.ts +0 -23
- package/dist/atoms/ellipsis-tooltip.d.cts +0 -11
- package/dist/atoms/ellipsis-tooltip.d.ts +0 -11
- package/dist/atoms/em.d.cts +0 -1
- package/dist/atoms/em.d.ts +0 -1
- package/dist/atoms/field-error-wrapper.d.cts +0 -9
- package/dist/atoms/field-error-wrapper.d.ts +0 -9
- package/dist/atoms/flex.d.cts +0 -1
- package/dist/atoms/flex.d.ts +0 -1
- package/dist/atoms/form.d.cts +0 -13
- package/dist/atoms/form.d.ts +0 -13
- package/dist/atoms/grid.d.cts +0 -1
- package/dist/atoms/grid.d.ts +0 -1
- package/dist/atoms/heading.d.cts +0 -9
- package/dist/atoms/heading.d.ts +0 -9
- package/dist/atoms/hover-card.d.cts +0 -1
- package/dist/atoms/hover-card.d.ts +0 -1
- package/dist/atoms/icon-button.d.cts +0 -1
- package/dist/atoms/icon-button.d.ts +0 -1
- package/dist/atoms/index.d.cts +0 -23
- package/dist/atoms/index.d.ts +0 -23
- package/dist/atoms/inset.d.cts +0 -1
- package/dist/atoms/inset.d.ts +0 -1
- package/dist/atoms/kbd.d.cts +0 -1
- package/dist/atoms/kbd.d.ts +0 -1
- package/dist/atoms/link.d.cts +0 -9
- package/dist/atoms/link.d.ts +0 -9
- package/dist/atoms/pagination.d.cts +0 -16
- package/dist/atoms/pagination.d.ts +0 -16
- package/dist/atoms/popover.d.cts +0 -1
- package/dist/atoms/popover.d.ts +0 -1
- package/dist/atoms/progress.d.cts +0 -1
- package/dist/atoms/progress.d.ts +0 -1
- package/dist/atoms/quote.d.cts +0 -1
- package/dist/atoms/quote.d.ts +0 -1
- package/dist/atoms/radio-cards.d.cts +0 -1
- package/dist/atoms/radio-cards.d.ts +0 -1
- package/dist/atoms/radio-group.d.cts +0 -1
- package/dist/atoms/radio-group.d.ts +0 -1
- package/dist/atoms/radio.d.cts +0 -1
- package/dist/atoms/radio.d.ts +0 -1
- package/dist/atoms/scroll-area.d.cts +0 -1
- package/dist/atoms/scroll-area.d.ts +0 -1
- package/dist/atoms/section.d.cts +0 -1
- package/dist/atoms/section.d.ts +0 -1
- package/dist/atoms/segmented-control.d.cts +0 -1
- package/dist/atoms/segmented-control.d.ts +0 -1
- package/dist/atoms/select.d.cts +0 -19
- package/dist/atoms/select.d.ts +0 -19
- package/dist/atoms/separator.d.cts +0 -1
- package/dist/atoms/separator.d.ts +0 -1
- package/dist/atoms/skeleton.d.cts +0 -1
- package/dist/atoms/skeleton.d.ts +0 -1
- package/dist/atoms/spinner.d.cts +0 -1
- package/dist/atoms/spinner.d.ts +0 -1
- package/dist/atoms/strong.d.cts +0 -1
- package/dist/atoms/strong.d.ts +0 -1
- package/dist/atoms/switch.d.cts +0 -1
- package/dist/atoms/switch.d.ts +0 -1
- package/dist/atoms/tab-nav.d.cts +0 -1
- package/dist/atoms/tab-nav.d.ts +0 -1
- package/dist/atoms/tabs.d.cts +0 -1
- package/dist/atoms/tabs.d.ts +0 -1
- package/dist/atoms/text-area.d.cts +0 -1
- package/dist/atoms/text-area.d.ts +0 -1
- package/dist/atoms/text-field.d.cts +0 -1
- package/dist/atoms/text-field.d.ts +0 -1
- package/dist/atoms/toast.d.cts +0 -6
- package/dist/atoms/toast.d.ts +0 -6
- package/dist/atoms/tooltip.d.cts +0 -1
- package/dist/atoms/tooltip.d.ts +0 -1
- package/dist/atoms/typo.d.cts +0 -9
- package/dist/atoms/typo.d.ts +0 -9
- package/dist/charts/chart-default-props.d.cts +0 -85
- package/dist/charts/chart-default-props.d.ts +0 -85
- package/dist/charts/horizontal-bar-chart.d.cts +0 -17
- package/dist/charts/horizontal-bar-chart.d.ts +0 -17
- package/dist/charts/index.d.cts +0 -3
- package/dist/charts/index.d.ts +0 -3
- package/dist/chunk-5JATGHBQ.js +0 -123
- package/dist/chunk-5JATGHBQ.js.map +0 -1
- package/dist/chunk-7A7J457W.js +0 -63
- package/dist/chunk-7A7J457W.js.map +0 -1
- package/dist/chunk-CNQ7RNNY.js +0 -23
- package/dist/chunk-CNQ7RNNY.js.map +0 -1
- package/dist/chunk-G4FN6FJG.js +0 -91
- package/dist/chunk-G4FN6FJG.js.map +0 -1
- package/dist/chunk-HFT7A4RR.js +0 -123
- package/dist/chunk-HFT7A4RR.js.map +0 -1
- package/dist/chunk-HXJPG3ZO.js +0 -130
- package/dist/chunk-HXJPG3ZO.js.map +0 -1
- package/dist/chunk-N4GN6CKE.js +0 -123
- package/dist/chunk-N4GN6CKE.js.map +0 -1
- package/dist/chunk-NC6QKYLP.js +0 -123
- package/dist/chunk-NC6QKYLP.js.map +0 -1
- package/dist/chunk-QEZSWFWS.js +0 -123
- package/dist/chunk-QEZSWFWS.js.map +0 -1
- package/dist/chunk-T7NZB7LF.js +0 -123
- package/dist/chunk-T7NZB7LF.js.map +0 -1
- package/dist/icon.d.cts +0 -3
- package/dist/icon.d.ts +0 -3
- package/dist/icons/down.d.cts +0 -6
- package/dist/icons/down.d.ts +0 -6
- package/dist/icons/types.d.cts +0 -6
- package/dist/icons/types.d.ts +0 -6
- package/dist/icons/up.d.cts +0 -6
- package/dist/icons/up.d.ts +0 -6
- package/dist/index.d.cts +0 -36
- package/dist/index.d.ts +0 -36
- package/dist/molecules/date-picker/index.d.cts +0 -10
- package/dist/molecules/date-picker/index.d.ts +0 -10
- package/dist/molecules/expand-table/index.d.cts +0 -22
- package/dist/molecules/expand-table/index.d.ts +0 -22
- package/dist/molecules/expand-table/row.d.cts +0 -18
- package/dist/molecules/expand-table/row.d.ts +0 -18
- package/dist/molecules/index.d.cts +0 -8
- package/dist/molecules/index.d.ts +0 -8
- package/dist/molecules/navigation.d.cts +0 -19
- package/dist/molecules/navigation.d.ts +0 -19
- package/dist/theme/theme-provider.d.cts +0 -10
- package/dist/theme/theme-provider.d.ts +0 -10
- package/dist/theme/use-theme.d.cts +0 -1
- package/dist/theme/use-theme.d.ts +0 -1
- package/dist/types/react-table.d.d.cts +0 -19
- package/dist/types/react-table.d.d.ts +0 -19
- package/dist/ui-props/index.d.cts +0 -2
- package/dist/ui-props/index.d.ts +0 -2
- package/dist/utils/get-cell-align.d.cts +0 -9
- package/dist/utils/get-cell-align.d.ts +0 -9
- package/dist/utils/index.d.cts +0 -2
- package/dist/utils/index.d.ts +0 -2
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Row as Row$1, RowData } from '@tanstack/react-table';
|
|
2
|
-
import react__default from 'react';
|
|
3
|
-
import { CellAlign } from '../../utils/get-cell-align.js';
|
|
4
|
-
|
|
5
|
-
type ExpandComp<Datum> = react__default.FC<{
|
|
6
|
-
row: Row$1<Datum>;
|
|
7
|
-
}>;
|
|
8
|
-
type OnRowClick<Datum> = (data: Datum) => void;
|
|
9
|
-
interface RowProps<Datum extends RowData> {
|
|
10
|
-
row: Row$1<Datum>;
|
|
11
|
-
ExpandComp?: ExpandComp<Datum>;
|
|
12
|
-
onRowClick?: OnRowClick<Datum>;
|
|
13
|
-
gridColTemp: string;
|
|
14
|
-
defaultAlign: CellAlign;
|
|
15
|
-
}
|
|
16
|
-
declare function Row<Datum extends RowData>(props: RowProps<Datum>): react__default.ReactNode;
|
|
17
|
-
|
|
18
|
-
export { type ExpandComp, type OnRowClick, Row };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { ExpandTable, ExpandTableProps } from './expand-table/index.cjs';
|
|
2
|
-
export { Navigation, NavigationProps } from './navigation.cjs';
|
|
3
|
-
export { DatePicker, DatePickerProps } from './date-picker/index.cjs';
|
|
4
|
-
export { ExpandComp, OnRowClick } from './expand-table/row.cjs';
|
|
5
|
-
export { ColumnDef, Row, createColumnHelper } from '@tanstack/react-table';
|
|
6
|
-
import 'react';
|
|
7
|
-
import 'react-datepicker';
|
|
8
|
-
import '../utils/get-cell-align.cjs';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { ExpandTable, ExpandTableProps } from './expand-table/index.js';
|
|
2
|
-
export { Navigation, NavigationProps } from './navigation.js';
|
|
3
|
-
export { DatePicker, DatePickerProps } from './date-picker/index.js';
|
|
4
|
-
export { ExpandComp, OnRowClick } from './expand-table/row.js';
|
|
5
|
-
export { ColumnDef, Row, createColumnHelper } from '@tanstack/react-table';
|
|
6
|
-
import 'react';
|
|
7
|
-
import 'react-datepicker';
|
|
8
|
-
import '../utils/get-cell-align.js';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import react__default from 'react';
|
|
2
|
-
|
|
3
|
-
interface Item {
|
|
4
|
-
itemRender?: (item: Item) => react__default.ReactNode;
|
|
5
|
-
key: string;
|
|
6
|
-
onClick?: () => void;
|
|
7
|
-
title: string;
|
|
8
|
-
icon?: react__default.ReactNode;
|
|
9
|
-
children?: Item[];
|
|
10
|
-
}
|
|
11
|
-
interface NavigationProps {
|
|
12
|
-
items?: Item[];
|
|
13
|
-
fontColor?: string;
|
|
14
|
-
backgroundColor?: string;
|
|
15
|
-
activeKey?: string;
|
|
16
|
-
}
|
|
17
|
-
declare function Navigation({ items, fontColor, backgroundColor, activeKey, }: NavigationProps): react__default.ReactNode;
|
|
18
|
-
|
|
19
|
-
export { Navigation, type NavigationProps };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import react__default from 'react';
|
|
2
|
-
|
|
3
|
-
interface Item {
|
|
4
|
-
itemRender?: (item: Item) => react__default.ReactNode;
|
|
5
|
-
key: string;
|
|
6
|
-
onClick?: () => void;
|
|
7
|
-
title: string;
|
|
8
|
-
icon?: react__default.ReactNode;
|
|
9
|
-
children?: Item[];
|
|
10
|
-
}
|
|
11
|
-
interface NavigationProps {
|
|
12
|
-
items?: Item[];
|
|
13
|
-
fontColor?: string;
|
|
14
|
-
backgroundColor?: string;
|
|
15
|
-
activeKey?: string;
|
|
16
|
-
}
|
|
17
|
-
declare function Navigation({ items, fontColor, backgroundColor, activeKey, }: NavigationProps): react__default.ReactNode;
|
|
18
|
-
|
|
19
|
-
export { Navigation, type NavigationProps };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import react__default from 'react';
|
|
2
|
-
import { Theme } from '@radix-ui/themes';
|
|
3
|
-
|
|
4
|
-
type ThemeProps = react__default.ComponentProps<typeof Theme>;
|
|
5
|
-
interface ThemeProviderProps extends ThemeProps {
|
|
6
|
-
children: react__default.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
declare function ThemeProvider(props: ThemeProviderProps): react__default.ReactElement;
|
|
9
|
-
|
|
10
|
-
export { ThemeProvider };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import react__default from 'react';
|
|
2
|
-
import { Theme } from '@radix-ui/themes';
|
|
3
|
-
|
|
4
|
-
type ThemeProps = react__default.ComponentProps<typeof Theme>;
|
|
5
|
-
interface ThemeProviderProps extends ThemeProps {
|
|
6
|
-
children: react__default.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
declare function ThemeProvider(props: ThemeProviderProps): react__default.ReactElement;
|
|
9
|
-
|
|
10
|
-
export { ThemeProvider };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useThemeContext } from '@radix-ui/themes';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useThemeContext } from '@radix-ui/themes';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare module '@tanstack/react-table' {
|
|
2
|
-
type ExpandButtonComp = <Data extends RowData>(props: {
|
|
3
|
-
open: boolean;
|
|
4
|
-
setIsOpen: (value: boolean) => void;
|
|
5
|
-
data: Data;
|
|
6
|
-
}) => React.ReactNode;
|
|
7
|
-
|
|
8
|
-
/** OpenBtn을 전달한 경우 open과 setIsOpen 상태 관리 props를 전달해 렌더함 */
|
|
9
|
-
|
|
10
|
-
interface ColumnMeta {
|
|
11
|
-
OpenBtn?: ExpandButtonComp;
|
|
12
|
-
/** 셀의 가로 너비 지정을 number가 아닌 auto로 사용하고 싶을 경우.
|
|
13
|
-
* 테이블 당 하나의 셀에만 사용하기를 권장
|
|
14
|
-
*/
|
|
15
|
-
autoSize?: boolean;
|
|
16
|
-
/** 좌/우/중앙 정렬 설정, default값은 left */
|
|
17
|
-
align?: 'left' | 'right' | 'center';
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare module '@tanstack/react-table' {
|
|
2
|
-
type ExpandButtonComp = <Data extends RowData>(props: {
|
|
3
|
-
open: boolean;
|
|
4
|
-
setIsOpen: (value: boolean) => void;
|
|
5
|
-
data: Data;
|
|
6
|
-
}) => React.ReactNode;
|
|
7
|
-
|
|
8
|
-
/** OpenBtn을 전달한 경우 open과 setIsOpen 상태 관리 props를 전달해 렌더함 */
|
|
9
|
-
|
|
10
|
-
interface ColumnMeta {
|
|
11
|
-
OpenBtn?: ExpandButtonComp;
|
|
12
|
-
/** 셀의 가로 너비 지정을 number가 아닌 auto로 사용하고 싶을 경우.
|
|
13
|
-
* 테이블 당 하나의 셀에만 사용하기를 권장
|
|
14
|
-
*/
|
|
15
|
-
autoSize?: boolean;
|
|
16
|
-
/** 좌/우/중앙 정렬 설정, default값은 left */
|
|
17
|
-
align?: 'left' | 'right' | 'center';
|
|
18
|
-
}
|
|
19
|
-
}
|
package/dist/ui-props/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ColumnMeta } from '@tanstack/react-table';
|
|
2
|
-
|
|
3
|
-
type CellDataType = 'number' | 'date' | 'time' | 'string' | 'button';
|
|
4
|
-
type CellAlign = NonNullable<ColumnMeta<unknown, unknown>['align']>;
|
|
5
|
-
declare const getCellAlign: (arg: {
|
|
6
|
-
dataType: CellDataType;
|
|
7
|
-
}) => CellAlign;
|
|
8
|
-
|
|
9
|
-
export { type CellAlign, type CellDataType, getCellAlign };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ColumnMeta } from '@tanstack/react-table';
|
|
2
|
-
|
|
3
|
-
type CellDataType = 'number' | 'date' | 'time' | 'string' | 'button';
|
|
4
|
-
type CellAlign = NonNullable<ColumnMeta<unknown, unknown>['align']>;
|
|
5
|
-
declare const getCellAlign: (arg: {
|
|
6
|
-
dataType: CellDataType;
|
|
7
|
-
}) => CellAlign;
|
|
8
|
-
|
|
9
|
-
export { type CellAlign, type CellDataType, getCellAlign };
|
package/dist/utils/index.d.cts
DELETED
package/dist/utils/index.d.ts
DELETED