@kimdw-rtk/ui 0.0.26 → 0.0.27
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/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Box/index.d.ts +2 -2
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Card/Card.d.ts +1 -1
- package/dist/components/Card/CardContent.d.ts +1 -1
- package/dist/components/Card/CardInteraction.d.ts +1 -1
- package/dist/components/Card/CardThumbnail.d.ts +1 -1
- package/dist/components/Chip/Chip.d.ts +1 -1
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/DialogContent.d.ts +1 -1
- package/dist/components/Dialog/DialogFooter.d.ts +1 -1
- package/dist/components/Dialog/DialogHeader.d.ts +1 -1
- package/dist/components/Navigation/NavigationAside.d.ts +1 -1
- package/dist/components/Navigation/NavigationBar.d.ts +1 -1
- package/dist/components/Navigation/NavigationContainer.d.ts +1 -1
- package/dist/components/Navigation/NavigationItem.d.ts +1 -1
- package/dist/components/Navigation/NavigationLogo.d.ts +1 -1
- package/dist/components/Navigation/NavigationMenu.d.ts +1 -1
- package/dist/components/Range/Range.d.ts +1 -1
- package/dist/components/ScrollArea/ScrollArea.d.ts +1 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/SelectTrigger.d.ts +1 -1
- package/dist/components/Skeleton/index.d.ts +1 -1
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Table/TableBody.d.ts +1 -1
- package/dist/components/Table/TableCell.d.ts +1 -1
- package/dist/components/Table/TableHead.d.ts +1 -1
- package/dist/components/Table/TableHeader.d.ts +1 -1
- package/dist/components/Table/TableRow.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts +1 -1
- package/dist/components/Tabs/TabsContent.d.ts +1 -1
- package/dist/components/Tabs/TabsList.d.ts +1 -1
- package/dist/components/Tabs/TabsTrigger.d.ts +1 -1
- package/dist/components/TextField/index.d.ts +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Typography/index.d.ts +2 -2
- package/dist/hooks/useToast/ToastProvider.d.ts +1 -1
- package/dist/styles/sx.d.ts +1 -1
- package/dist/types/ui.types.d.ts +1 -1
- package/dist/utils/sprinklesUtils.d.ts +1 -1
- package/package.json +3 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SprinklesProps } from '
|
|
2
|
-
import type { UIComponent } from '
|
|
1
|
+
import { type SprinklesProps } from '../../styles';
|
|
2
|
+
import type { UIComponent } from '../../types';
|
|
3
3
|
import * as s from './Box.css';
|
|
4
4
|
type BoxProps = UIComponent<'div', typeof s.box> & SprinklesProps;
|
|
5
5
|
export declare const Box: import("react").ForwardRefExoticComponent<Omit<BoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactElement } from 'react';
|
|
2
|
-
import type { UIComponent } from '
|
|
2
|
+
import type { UIComponent } from '../../types';
|
|
3
3
|
import * as s from './Button.css';
|
|
4
4
|
interface ButtonProps extends Omit<UIComponent<'button', typeof s.button>, 'hasIcon'> {
|
|
5
5
|
icon?: ReactElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CSSProperties } from 'react';
|
|
2
|
-
import type { UIComponent } from '
|
|
2
|
+
import type { UIComponent } from '../../types';
|
|
3
3
|
import * as s from './Card.css';
|
|
4
4
|
interface CardProps extends UIComponent<'div', typeof s.card> {
|
|
5
5
|
width?: CSSProperties['width'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
type CardContentProps = UIComponent<'div'>;
|
|
3
3
|
export declare const CardContent: import("react").ForwardRefExoticComponent<Omit<CardContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
type CardInteractionProps = UIComponent<'div'>;
|
|
3
3
|
export declare const CardInteraction: import("react").ForwardRefExoticComponent<Omit<CardInteractionProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
type CardThumbnailProps = UIComponent<'img'>;
|
|
3
3
|
export declare const CardThumbnail: import("react").ForwardRefExoticComponent<Omit<CardThumbnailProps, "ref"> & import("react").RefAttributes<HTMLImageElement>>;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
import * as s from './Chip.css';
|
|
3
3
|
type ChipProps = UIComponent<'div', typeof s.chip>;
|
|
4
4
|
export declare const Chip: import("react").ForwardRefExoticComponent<Omit<ChipProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
type DialogProps = Omit<UIComponent<'div'>, 'color'>;
|
|
3
3
|
export declare const Dialog: import("react").ForwardRefExoticComponent<Omit<DialogProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
type DialogContentProps = Omit<UIComponent<'div'>, 'color'>;
|
|
3
3
|
export declare const DialogContent: import("react").ForwardRefExoticComponent<Omit<DialogContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
type DialogFooterProps = Omit<UIComponent<'div'>, 'color'>;
|
|
3
3
|
export declare const DialogFooter: import("react").ForwardRefExoticComponent<Omit<DialogFooterProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
type NavigationAsideProps = UIComponent<'aside'>;
|
|
3
3
|
export declare const NavigationAside: import("react").ForwardRefExoticComponent<Omit<NavigationAsideProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
import * as s from './NavigationBar.css';
|
|
3
3
|
type NavigationBarProps = UIComponent<'nav', typeof s.navigationBar>;
|
|
4
4
|
export declare const NavigationBar: import("react").ForwardRefExoticComponent<Omit<NavigationBarProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
type NavigationContainerProps = UIComponent<'div'>;
|
|
3
3
|
export declare const NavigationContainer: import("react").ForwardRefExoticComponent<Omit<NavigationContainerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
import * as s from './NavigationItem.css';
|
|
3
3
|
type NavigationItemProps = UIComponent<'div', typeof s.container>;
|
|
4
4
|
export declare const NavigationItem: import("react").ForwardRefExoticComponent<Omit<NavigationItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
type NavigationLogoProps = UIComponent<'div'>;
|
|
3
3
|
export declare const NavigationLogo: import("react").ForwardRefExoticComponent<Omit<NavigationLogoProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
import * as s from './NavigationMenu.css';
|
|
3
3
|
type NavigationMenuProps = UIComponent<'div'>;
|
|
4
4
|
export declare const NavigationMenu: import("react").ForwardRefExoticComponent<Omit<NavigationMenuProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
import * as s from './ScrollArea.css';
|
|
3
3
|
type ScrollAreaProps = UIComponent<'div'>;
|
|
4
4
|
export declare const ScrollArea: import("react").ForwardRefExoticComponent<Omit<ScrollAreaProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentProps, type CSSProperties, type RefObject } from 'react';
|
|
2
|
-
import type { UIComponent } from '
|
|
2
|
+
import type { UIComponent } from '../../types';
|
|
3
3
|
import * as s from './Select.css';
|
|
4
4
|
import SelectTrigger from './SelectTrigger';
|
|
5
5
|
interface SelectProps extends Omit<UIComponent<'div', typeof s.select>, 'ref' | 'onChange'> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
import * as s from './SelectTrigger.css';
|
|
3
3
|
type SelectTriggerProps = UIComponent<'div', typeof s.selectTrigger>;
|
|
4
4
|
declare const SelectTrigger: ({ children, className, variant, sx: propSx, }: SelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
type TableBodyProps = UIComponent<'tbody'>;
|
|
3
3
|
export declare const TableBody: ({ className, sx: propSx, ...props }: TableBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CSSProperties } from 'react';
|
|
2
|
-
import type { UIComponent } from '
|
|
2
|
+
import type { UIComponent } from '../../types';
|
|
3
3
|
interface TableCellProps extends UIComponent<'td'> {
|
|
4
4
|
width?: CSSProperties['width'];
|
|
5
5
|
textAlign?: CSSProperties['textAlign'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CSSProperties } from 'react';
|
|
2
|
-
import type { UIComponent } from '
|
|
2
|
+
import type { UIComponent } from '../../types';
|
|
3
3
|
interface TableHeadProps extends UIComponent<'th'> {
|
|
4
4
|
width?: CSSProperties['width'];
|
|
5
5
|
textAlign?: CSSProperties['textAlign'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
type TableHeaderProps = UIComponent<'thead'>;
|
|
3
3
|
export declare const TableHeader: ({ className, sx: propSx, ...props }: TableHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UIComponent } from '
|
|
1
|
+
import type { UIComponent } from '../../types';
|
|
2
2
|
type TabsListProps = UIComponent<'div'>;
|
|
3
3
|
export declare const TabsList: import("react").ForwardRefExoticComponent<Omit<TabsListProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SprinklesProps } from '
|
|
2
|
-
import { type UIComponent } from '
|
|
1
|
+
import { type SprinklesProps } from '../../styles';
|
|
2
|
+
import { type UIComponent } from '../../types';
|
|
3
3
|
import * as s from './Typography.css';
|
|
4
4
|
type TypographyElement = 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span';
|
|
5
5
|
type TypographyProps<T extends TypographyElement = TypographyElement> = Omit<UIComponent<T, typeof s.typography> & {
|
package/dist/styles/sx.d.ts
CHANGED
package/dist/types/ui.types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComponentPropsWithRef, ElementType } from 'react';
|
|
2
2
|
import type { ComplexStyleRule } from '@vanilla-extract/css';
|
|
3
3
|
import type { RecipeVariants, RuntimeFn } from '@vanilla-extract/recipes';
|
|
4
|
-
import type { SprinklesProps } from '
|
|
4
|
+
import type { SprinklesProps } from '../styles';
|
|
5
5
|
type VariantGroups = Record<string, Record<string, ComplexStyleRule | string>>;
|
|
6
6
|
export type RecipeVariantsProps<V extends RuntimeFn<VariantGroups> | undefined> = NonNullable<V extends RuntimeFn<VariantGroups> ? RecipeVariants<V> : object>;
|
|
7
7
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kimdw-rtk/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.27",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"rollup-plugin-postcss": "^4.0.2",
|
|
48
48
|
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
49
49
|
"ts-jest": "^29.3.4",
|
|
50
|
+
"tsc-alias": "^1.8.16",
|
|
50
51
|
"tsup": "^8.5.0",
|
|
51
52
|
"typescript": "5.8.2",
|
|
52
53
|
"@repo/eslint-config": "0.0.0",
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
"generate:component": "turbo gen react-component",
|
|
61
62
|
"check-types": "tsc --noEmit",
|
|
62
63
|
"test": "jest --verbose",
|
|
63
|
-
"build": "rollup -c rollup.config.js"
|
|
64
|
+
"build": "rollup -c rollup.config.js && tsc-alias"
|
|
64
65
|
},
|
|
65
66
|
"types": "./dist/index.d.ts"
|
|
66
67
|
}
|