@zenkigen-inc/component-ui 1.9.4 → 1.9.5
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/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/dist/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/button/button.d.ts +1 -1
- package/dist/checkbox/checkbox.d.ts +1 -1
- package/dist/dropdown/dropdown-context.d.ts +1 -1
- package/dist/dropdown/dropdown-item.d.ts +1 -1
- package/dist/dropdown/dropdown-menu.d.ts +2 -2
- package/dist/dropdown/dropdown.d.ts +2 -2
- package/dist/dropdown/type.d.ts +1 -1
- package/dist/heading/heading.d.ts +1 -1
- package/dist/hooks/use-outside-click.d.ts +1 -1
- package/dist/icon/icon.d.ts +2 -2
- package/dist/icon-button/icon-button.d.ts +2 -2
- package/dist/index.esm.js +96 -66
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +92 -78
- package/dist/index.js.map +1 -1
- package/dist/modal/modal-body.d.ts +1 -1
- package/dist/modal/modal-footer.d.ts +2 -1
- package/dist/modal/modal-header.d.ts +1 -1
- package/dist/modal/modal.d.ts +1 -1
- package/dist/notification-inline/notification-inline.d.ts +1 -1
- package/dist/radio/radio.d.ts +1 -1
- package/dist/search/search.d.ts +1 -1
- package/dist/select/select-context.d.ts +1 -1
- package/dist/select/select-list.d.ts +1 -1
- package/dist/select/select.d.ts +2 -2
- package/dist/select/type.d.ts +1 -1
- package/dist/select-sort/select-item.d.ts +1 -1
- package/dist/select-sort/select-sort.d.ts +1 -1
- package/dist/tab/tab-item.d.ts +2 -2
- package/dist/tab/tab.d.ts +2 -2
- package/dist/table/table-cell.d.ts +1 -1
- package/dist/table/table-row.d.ts +1 -1
- package/dist/table/table.d.ts +1 -1
- package/dist/tag/delete-icon.d.ts +1 -1
- package/dist/tag/tag.d.ts +1 -1
- package/dist/tag/type.d.ts +1 -1
- package/dist/text-area/text-area.d.ts +1 -1
- package/dist/text-input/text-input.d.ts +1 -1
- package/dist/toast/toast-provider.d.ts +2 -2
- package/dist/toast/toast.d.ts +2 -2
- package/dist/toggle/toggle.d.ts +1 -1
- package/dist/tooltip/tail-icon.d.ts +1 -1
- package/dist/tooltip/tooltip-content.d.ts +2 -2
- package/dist/tooltip/tooltip.d.ts +2 -2
- package/dist/tooltip/tooltip.hook.d.ts +2 -2
- package/dist/tooltip/type.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
2
2
|
export declare function ModalBody({ children }: PropsWithChildren): import("react").JSX.Element;
|
package/dist/modal/modal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, MutableRefObject, PropsWithChildren } from 'react';
|
|
1
|
+
import type { CSSProperties, MutableRefObject, PropsWithChildren } from 'react';
|
|
2
2
|
import { ModalBody } from './modal-body';
|
|
3
3
|
import { ModalFooter } from './modal-footer';
|
|
4
4
|
import { ModalHeader } from './modal-header';
|
package/dist/radio/radio.d.ts
CHANGED
package/dist/search/search.d.ts
CHANGED
package/dist/select/select.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IconName } from '@zenkigen-inc/component-icons';
|
|
2
|
-
import { CSSProperties, PropsWithChildren } from 'react';
|
|
1
|
+
import type { IconName } from '@zenkigen-inc/component-icons';
|
|
2
|
+
import type { CSSProperties, PropsWithChildren } from 'react';
|
|
3
3
|
import { SelectItem } from './select-item';
|
|
4
4
|
import type { SelectOption } from './type';
|
|
5
5
|
type Props = {
|
package/dist/select/type.d.ts
CHANGED
package/dist/tab/tab-item.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
2
|
type Props = {
|
|
3
3
|
id: string;
|
|
4
4
|
isSelected?: boolean;
|
|
@@ -6,5 +6,5 @@ type Props = {
|
|
|
6
6
|
children?: ReactNode;
|
|
7
7
|
onClick: (id: string) => void;
|
|
8
8
|
};
|
|
9
|
-
export declare const TabItem: (props: Props) => import("react").JSX.Element;
|
|
9
|
+
export declare const TabItem: ({ isSelected, ...props }: Props) => import("react").JSX.Element;
|
|
10
10
|
export {};
|
package/dist/tab/tab.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
2
|
type Props = {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
};
|
|
5
5
|
export declare function Tab({ children }: Props): import("react").JSX.Element;
|
|
6
6
|
export declare namespace Tab {
|
|
7
|
-
var Item: (props: {
|
|
7
|
+
var Item: ({ isSelected, ...props }: {
|
|
8
8
|
id: string;
|
|
9
9
|
isSelected?: boolean | undefined;
|
|
10
10
|
isDisabled?: boolean | undefined;
|
package/dist/table/table.d.ts
CHANGED
package/dist/tag/tag.d.ts
CHANGED
package/dist/tag/type.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, TextareaHTMLAttributes } from 'react';
|
|
1
|
+
import type { CSSProperties, TextareaHTMLAttributes } from 'react';
|
|
2
2
|
export declare const TextArea: import("react").ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
3
3
|
size?: "medium" | "large" | undefined;
|
|
4
4
|
value: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from 'react';
|
|
1
|
+
import type { InputHTMLAttributes } from 'react';
|
|
2
2
|
export declare const TextInput: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
3
3
|
size?: "medium" | "large" | undefined;
|
|
4
4
|
value: string;
|
package/dist/toast/toast.d.ts
CHANGED
package/dist/toggle/toggle.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TooltipHorizontalAlign, TooltipSize, TooltipVerticalPosition } from './type';
|
|
2
|
+
import type { TooltipHorizontalAlign, TooltipSize, TooltipVerticalPosition } from './type';
|
|
3
3
|
type Props = {
|
|
4
4
|
size: TooltipSize;
|
|
5
5
|
verticalPosition: TooltipVerticalPosition;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
import { TooltipHorizontalAlign, TooltipPosition, TooltipSize, TooltipVerticalPosition } from './type';
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { TooltipHorizontalAlign, TooltipPosition, TooltipSize, TooltipVerticalPosition } from './type';
|
|
3
3
|
export declare const TooltipContent: ({ content, horizontalAlign, verticalPosition, size, tooltipPosition, maxWidth, isPortal, }: {
|
|
4
4
|
content: string;
|
|
5
5
|
size: TooltipSize;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CSSProperties, PropsWithChildren } from 'react';
|
|
2
|
-
import { TooltipHorizontalAlign, TooltipSize, TooltipVerticalPosition } from './type';
|
|
1
|
+
import type { CSSProperties, PropsWithChildren } from 'react';
|
|
2
|
+
import type { TooltipHorizontalAlign, TooltipSize, TooltipVerticalPosition } from './type';
|
|
3
3
|
type Props = {
|
|
4
4
|
content: string;
|
|
5
5
|
size?: TooltipSize;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
import { TooltipHorizontalAlign, TooltipPosition, TooltipSize, TooltipVerticalPosition } from './type';
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { TooltipHorizontalAlign, TooltipPosition, TooltipSize, TooltipVerticalPosition } from './type';
|
|
3
3
|
export declare const useTooltip: () => {
|
|
4
4
|
calculatePosition: (args: {
|
|
5
5
|
dimensions: DOMRect;
|
package/dist/tooltip/type.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenkigen-inc/component-ui",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
4
4
|
"repository": "https://github.com/zenkigen/zenkigen-component",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"hygen": "6.2.11",
|
|
21
21
|
"microbundle": "0.15.1",
|
|
22
|
-
"typescript": "5.
|
|
22
|
+
"typescript": "5.4.3"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@types/react": "^18.0.0",
|
|
26
26
|
"react": "^18.0.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@zenkigen-inc/component-icons": "1.9.
|
|
30
|
-
"@zenkigen-inc/component-theme": "1.9.
|
|
29
|
+
"@zenkigen-inc/component-icons": "1.9.5",
|
|
30
|
+
"@zenkigen-inc/component-theme": "1.9.5",
|
|
31
31
|
"clsx": "2.1.0"
|
|
32
32
|
}
|
|
33
33
|
}
|