@zenkigen-inc/component-ui 1.10.0 → 1.10.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.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type Props = {
3
2
  size?: 'small' | 'medium' | 'large';
4
3
  position?: 'fixed' | 'absolute' | 'static';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type ModalReturnType = {
3
2
  onClose?: () => void;
4
3
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type Props = {
3
2
  page: number;
4
3
  onClick: (value: number) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type PaginationContextType = {
3
2
  /** 現在のページ番号 */
4
3
  currentPage: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type Props = {
3
2
  /** 現在のページ番号 */
4
3
  currentPage: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type Props = {
3
2
  /** トータル件数 */
4
3
  totalSize: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SelectOption } from './type';
3
2
  type UseSelectReturnType = {
4
3
  size?: 'x-small' | 'small' | 'medium' | 'large';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SelectOption } from './type';
3
2
  type Props = {
4
3
  option: SelectOption;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SortOrder } from './type';
3
2
  type Props = {
4
3
  size: 'x-small' | 'small' | 'medium' | 'large';
package/dist/tab/tab.d.ts CHANGED
@@ -6,8 +6,8 @@ export declare function Tab({ children }: Props): import("react").JSX.Element;
6
6
  export declare namespace Tab {
7
7
  var Item: ({ isSelected, ...props }: {
8
8
  id: string;
9
- isSelected?: boolean | undefined;
10
- isDisabled?: boolean | undefined;
9
+ isSelected?: boolean;
10
+ isDisabled?: boolean;
11
11
  children?: ReactNode;
12
12
  onClick: (id: string) => void;
13
13
  }) => import("react").JSX.Element;
@@ -2,6 +2,7 @@ import type { ReactNode } from 'react';
2
2
  type Props = {
3
3
  children?: ReactNode;
4
4
  className?: string;
5
+ isHeader?: boolean;
5
6
  };
6
- export declare function TableCell({ children, className }: Props): import("react").JSX.Element;
7
+ export declare function TableCell({ children, className, isHeader }: Props): import("react").JSX.Element;
7
8
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ColorVariant, TagColor } from './type';
3
2
  type Props = {
4
3
  color?: TagColor;
package/dist/tag/tag.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ColorVariant, TagColor } from './type';
3
2
  type Props = {
4
3
  id: string;
@@ -1,8 +1,8 @@
1
1
  import type { CSSProperties, TextareaHTMLAttributes } from 'react';
2
2
  export declare const TextArea: import("react").ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & {
3
- size?: "medium" | "large" | undefined;
3
+ size?: "medium" | "large";
4
4
  value: string;
5
- height?: CSSProperties['height'];
6
- isResizable?: boolean | undefined;
7
- isError?: boolean | undefined;
5
+ height?: CSSProperties["height"];
6
+ isResizable?: boolean;
7
+ isError?: boolean;
8
8
  } & import("react").RefAttributes<HTMLTextAreaElement>>;
@@ -1,7 +1,7 @@
1
1
  import type { InputHTMLAttributes } from 'react';
2
2
  export declare const TextInput: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
3
- size?: "medium" | "large" | undefined;
3
+ size?: "medium" | "large";
4
4
  value: string;
5
- isError?: boolean | undefined;
6
- onClickClearButton?: (() => void) | undefined;
5
+ isError?: boolean;
6
+ onClickClearButton?: () => void;
7
7
  } & import("react").RefAttributes<HTMLInputElement>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { TooltipHorizontalAlign, TooltipSize, TooltipVerticalPosition } from './type';
3
2
  type Props = {
4
3
  size: TooltipSize;
@@ -3,7 +3,7 @@ import type { TooltipHorizontalAlign, TooltipPosition, TooltipSize, TooltipVerti
3
3
  export declare const TooltipContent: ({ content, horizontalAlign, verticalPosition, size, tooltipPosition, maxWidth, isPortal, }: {
4
4
  content: ReactNode;
5
5
  size: TooltipSize;
6
- maxWidth: CSSProperties['maxWidth'];
6
+ maxWidth: CSSProperties["maxWidth"];
7
7
  verticalPosition: TooltipVerticalPosition;
8
8
  horizontalAlign: TooltipHorizontalAlign;
9
9
  tooltipPosition: TooltipPosition;
@@ -3,7 +3,7 @@ import type { TooltipHorizontalAlign, TooltipPosition, TooltipSize, TooltipVerti
3
3
  export declare const useTooltip: () => {
4
4
  calculatePosition: (args: {
5
5
  dimensions: DOMRect;
6
- maxWidth?: CSSProperties['width'];
6
+ maxWidth?: CSSProperties["width"];
7
7
  verticalPosition: TooltipVerticalPosition;
8
8
  horizontalAlign: TooltipHorizontalAlign;
9
9
  tooltipSize: TooltipSize;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenkigen-inc/component-ui",
3
- "version": "1.10.0",
3
+ "version": "1.10.2",
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.4.5"
22
+ "typescript": "5.5.4"
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.10.0",
30
- "@zenkigen-inc/component-theme": "1.10.0",
29
+ "@zenkigen-inc/component-icons": "1.10.2",
30
+ "@zenkigen-inc/component-theme": "1.10.2",
31
31
  "clsx": "2.1.1"
32
32
  }
33
33
  }