ownui-system 0.1.0 → 0.1.2
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/README.md +1 -0
- package/dist/components/BottomSheet/bottomsheet-header.d.ts +1 -1
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Dimmed/index.d.ts +1 -1
- package/dist/components/Drawer/drawer.d.ts +1 -1
- package/dist/components/Dropdown/dropdown-header.d.ts +1 -1
- package/dist/components/Dropdown/dropdown.d.ts +1 -1
- package/dist/components/InfiniteSlider/InfiniteSlider.d.ts +1 -1
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/Modal/modal-body.d.ts +1 -1
- package/dist/components/Modal/modal-footer.d.ts +1 -1
- package/dist/components/Modal/modal-header.d.ts +1 -1
- package/dist/components/Popover/popover-context.d.ts +2 -2
- package/dist/components/Popover/popover-trigger.d.ts +1 -1
- package/dist/components/Popover/popover.d.ts +1 -1
- package/dist/components/Radio/radio-group.d.ts +1 -1
- package/dist/components/Radio/radio-item.d.ts +1 -1
- package/dist/components/Skeleton/index.d.ts +1 -1
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/TextArea/index.d.ts +1 -1
- package/dist/ownui-system.js.map +1 -1
- package/dist/ownui-system.umd.cjs.map +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps, ReactNode } from "react";
|
|
1
|
+
import { type ComponentProps, type ReactNode } from "react";
|
|
2
2
|
export interface ButtonProps extends ComponentProps<"button"> {
|
|
3
3
|
size?: "xsmall" | "small" | "medium" | "large" | "xlarge";
|
|
4
4
|
variant?: "normal" | "line" | "text";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ComponentPosition } from '../../types';
|
|
3
|
-
import { HTMLMotionProps } from "framer-motion";
|
|
3
|
+
import { type HTMLMotionProps } from "framer-motion";
|
|
4
4
|
export type DrawerProps = {
|
|
5
5
|
onOpenChange: (isOpen: boolean) => void;
|
|
6
6
|
isOpen: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentPosition } from '../../types';
|
|
2
|
-
import { HTMLMotionProps } from "framer-motion";
|
|
3
|
-
import { ComponentProps } from "react";
|
|
2
|
+
import { type HTMLMotionProps } from "framer-motion";
|
|
3
|
+
import { type ComponentProps } from "react";
|
|
4
4
|
import Popover from "./popover";
|
|
5
5
|
type PopoverProps = ComponentProps<typeof Popover>;
|
|
6
6
|
type PopoverPropsContextValue = {
|