@karakuri-ui/react 0.3.10 → 0.3.11
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/ui/accordion.d.mts +1 -1
- package/dist/components/ui/accordion.d.ts +1 -1
- package/dist/components/ui/alert.d.mts +2 -2
- package/dist/components/ui/alert.d.ts +2 -2
- package/dist/components/ui/avatar.d.mts +2 -2
- package/dist/components/ui/avatar.d.ts +2 -2
- package/dist/components/ui/badge.d.mts +2 -2
- package/dist/components/ui/badge.d.ts +2 -2
- package/dist/components/ui/badge.js +54 -43
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/badge.mjs +55 -44
- package/dist/components/ui/badge.mjs.map +1 -1
- package/dist/components/ui/button.d.mts +3 -3
- package/dist/components/ui/button.d.ts +3 -3
- package/dist/components/ui/button.js +31 -20
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/button.mjs +31 -20
- package/dist/components/ui/button.mjs.map +1 -1
- package/dist/components/ui/card.d.mts +1 -1
- package/dist/components/ui/card.d.ts +1 -1
- package/dist/components/ui/chart.d.mts +1 -1
- package/dist/components/ui/chart.d.ts +1 -1
- package/dist/components/ui/checkbox.d.mts +1 -1
- package/dist/components/ui/checkbox.d.ts +1 -1
- package/dist/components/ui/divider.d.mts +1 -1
- package/dist/components/ui/divider.d.ts +1 -1
- package/dist/components/ui/field.d.mts +1 -1
- package/dist/components/ui/field.d.ts +1 -1
- package/dist/components/ui/icon-button.d.mts +2 -2
- package/dist/components/ui/icon-button.d.ts +2 -2
- package/dist/components/ui/icon-button.js +24 -13
- package/dist/components/ui/icon-button.js.map +1 -1
- package/dist/components/ui/icon-button.mjs +24 -13
- package/dist/components/ui/icon-button.mjs.map +1 -1
- package/dist/components/ui/input.d.mts +3 -3
- package/dist/components/ui/input.d.ts +3 -3
- package/dist/components/ui/metric-card.d.mts +2 -2
- package/dist/components/ui/metric-card.d.ts +2 -2
- package/dist/components/ui/navigation-menu.js +25 -11
- package/dist/components/ui/navigation-menu.js.map +1 -1
- package/dist/components/ui/navigation-menu.mjs +25 -11
- package/dist/components/ui/navigation-menu.mjs.map +1 -1
- package/dist/components/ui/popover.d.mts +1 -1
- package/dist/components/ui/popover.d.ts +1 -1
- package/dist/components/ui/progress.d.mts +1 -1
- package/dist/components/ui/progress.d.ts +1 -1
- package/dist/components/ui/radio-group.d.mts +1 -1
- package/dist/components/ui/radio-group.d.ts +1 -1
- package/dist/components/ui/segmented.d.mts +5 -5
- package/dist/components/ui/segmented.d.ts +5 -5
- package/dist/components/ui/slider.d.mts +1 -1
- package/dist/components/ui/slider.d.ts +1 -1
- package/dist/components/ui/spinner.d.mts +1 -1
- package/dist/components/ui/spinner.d.ts +1 -1
- package/dist/components/ui/switch.d.mts +1 -1
- package/dist/components/ui/switch.d.ts +1 -1
- package/dist/components/ui/tabs.d.mts +1 -1
- package/dist/components/ui/tabs.d.ts +1 -1
- package/dist/components/ui/textarea.d.mts +2 -2
- package/dist/components/ui/textarea.d.ts +2 -2
- package/dist/components/ui/toast.d.mts +1 -1
- package/dist/components/ui/toast.d.ts +1 -1
- package/dist/components/ui/toggle-group.d.mts +2 -2
- package/dist/components/ui/toggle-group.d.ts +2 -2
- package/dist/components/ui/toggle.d.mts +2 -2
- package/dist/components/ui/toggle.d.ts +2 -2
- package/dist/components/ui/tooltip.d.mts +1 -1
- package/dist/components/ui/tooltip.d.ts +1 -1
- package/package.json +5 -5
|
@@ -4,7 +4,7 @@ import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const switchVariants: (props?: ({
|
|
7
|
-
size?: "
|
|
7
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
type SwitchLabelPosition = 'start' | 'end' | 'top' | 'bottom';
|
|
10
10
|
type SwitchColor = 'default' | 'primary' | 'success' | 'warning' | 'error';
|
|
@@ -17,7 +17,7 @@ interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimit
|
|
|
17
17
|
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
declare const tabsTriggerVariants: (props?: ({
|
|
19
19
|
variant?: "line" | "enclosed" | "pill" | null | undefined;
|
|
20
|
-
size?: "
|
|
20
|
+
size?: "default" | "sm" | "lg" | "md" | null | undefined;
|
|
21
21
|
fitted?: boolean | null | undefined;
|
|
22
22
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
23
23
|
interface TabsTriggerProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, Omit<VariantProps<typeof tabsTriggerVariants>, 'variant' | 'size' | 'fitted'> {
|
|
@@ -17,7 +17,7 @@ interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimit
|
|
|
17
17
|
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
declare const tabsTriggerVariants: (props?: ({
|
|
19
19
|
variant?: "line" | "enclosed" | "pill" | null | undefined;
|
|
20
|
-
size?: "
|
|
20
|
+
size?: "default" | "sm" | "lg" | "md" | null | undefined;
|
|
21
21
|
fitted?: boolean | null | undefined;
|
|
22
22
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
23
23
|
interface TabsTriggerProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, Omit<VariantProps<typeof tabsTriggerVariants>, 'variant' | 'size' | 'fitted'> {
|
|
@@ -6,9 +6,9 @@ declare const textareaVariants: (props?: ({
|
|
|
6
6
|
variant?: "default" | "filled" | null | undefined;
|
|
7
7
|
focusRing?: boolean | null | undefined;
|
|
8
8
|
size?: "default" | "compact" | null | undefined;
|
|
9
|
-
radius?: "
|
|
9
|
+
radius?: "default" | "sm" | "lg" | "base" | "none" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
|
|
10
10
|
resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
|
|
11
|
-
state?: "
|
|
11
|
+
state?: "default" | "error" | null | undefined;
|
|
12
12
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
13
13
|
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, VariantProps<typeof textareaVariants> {
|
|
14
14
|
error?: boolean;
|
|
@@ -6,9 +6,9 @@ declare const textareaVariants: (props?: ({
|
|
|
6
6
|
variant?: "default" | "filled" | null | undefined;
|
|
7
7
|
focusRing?: boolean | null | undefined;
|
|
8
8
|
size?: "default" | "compact" | null | undefined;
|
|
9
|
-
radius?: "
|
|
9
|
+
radius?: "default" | "sm" | "lg" | "base" | "none" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
|
|
10
10
|
resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
|
|
11
|
-
state?: "
|
|
11
|
+
state?: "default" | "error" | null | undefined;
|
|
12
12
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
13
13
|
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, VariantProps<typeof textareaVariants> {
|
|
14
14
|
error?: boolean;
|
|
@@ -2,7 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
declare const toastVariants: (props?: ({
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6
6
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
7
7
|
type ToastType = 'default' | 'success' | 'error' | 'warning' | 'info' | 'loading';
|
|
8
8
|
type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
@@ -2,7 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
declare const toastVariants: (props?: ({
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6
6
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
7
7
|
type ToastType = 'default' | 'success' | 'error' | 'warning' | 'info' | 'loading';
|
|
8
8
|
type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
@@ -9,8 +9,8 @@ declare const toggleGroupVariants: (props?: ({
|
|
|
9
9
|
declare const toggleGroupItemVariants: (props?: ({
|
|
10
10
|
variant?: "default" | "outline" | null | undefined;
|
|
11
11
|
fontWeight?: "normal" | "semibold" | null | undefined;
|
|
12
|
-
size?: "
|
|
13
|
-
radius?: "
|
|
12
|
+
size?: "default" | "sm" | "lg" | "md" | "xs" | null | undefined;
|
|
13
|
+
radius?: "default" | "sm" | "lg" | "base" | "none" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
15
|
type ToggleGroupSingleProps = {
|
|
16
16
|
type: 'single';
|
|
@@ -9,8 +9,8 @@ declare const toggleGroupVariants: (props?: ({
|
|
|
9
9
|
declare const toggleGroupItemVariants: (props?: ({
|
|
10
10
|
variant?: "default" | "outline" | null | undefined;
|
|
11
11
|
fontWeight?: "normal" | "semibold" | null | undefined;
|
|
12
|
-
size?: "
|
|
13
|
-
radius?: "
|
|
12
|
+
size?: "default" | "sm" | "lg" | "md" | "xs" | null | undefined;
|
|
13
|
+
radius?: "default" | "sm" | "lg" | "base" | "none" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
15
|
type ToggleGroupSingleProps = {
|
|
16
16
|
type: 'single';
|
|
@@ -6,8 +6,8 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
6
6
|
declare const toggleVariants: (props?: ({
|
|
7
7
|
variant?: "default" | "outline" | "ghost" | "outline-ghost" | null | undefined;
|
|
8
8
|
fontWeight?: "normal" | "semibold" | null | undefined;
|
|
9
|
-
size?: "
|
|
10
|
-
radius?: "
|
|
9
|
+
size?: "default" | "sm" | "lg" | "md" | "xs" | null | undefined;
|
|
10
|
+
radius?: "default" | "sm" | "lg" | "base" | "none" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
|
|
11
11
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
12
|
interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, Omit<VariantProps<typeof toggleVariants>, 'fontWeight'> {
|
|
13
13
|
iconOnly?: boolean;
|
|
@@ -6,8 +6,8 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
6
6
|
declare const toggleVariants: (props?: ({
|
|
7
7
|
variant?: "default" | "outline" | "ghost" | "outline-ghost" | null | undefined;
|
|
8
8
|
fontWeight?: "normal" | "semibold" | null | undefined;
|
|
9
|
-
size?: "
|
|
10
|
-
radius?: "
|
|
9
|
+
size?: "default" | "sm" | "lg" | "md" | "xs" | null | undefined;
|
|
10
|
+
radius?: "default" | "sm" | "lg" | "base" | "none" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
|
|
11
11
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
12
|
interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, Omit<VariantProps<typeof toggleVariants>, 'fontWeight'> {
|
|
13
13
|
iconOnly?: boolean;
|
|
@@ -6,7 +6,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
6
6
|
type TooltipSide = 'top' | 'right' | 'bottom' | 'left';
|
|
7
7
|
declare const tooltipContentVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "inverted" | null | undefined;
|
|
9
|
-
size?: "
|
|
9
|
+
size?: "default" | "sm" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
11
|
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
12
12
|
interface TooltipProps extends React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root> {
|
|
@@ -6,7 +6,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
6
6
|
type TooltipSide = 'top' | 'right' | 'bottom' | 'left';
|
|
7
7
|
declare const tooltipContentVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "inverted" | null | undefined;
|
|
9
|
-
size?: "
|
|
9
|
+
size?: "default" | "sm" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
11
|
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
12
12
|
interface TooltipProps extends React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karakuri-ui/react",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.11",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/karakuri-ai/design-system.git"
|
|
@@ -99,13 +99,13 @@
|
|
|
99
99
|
"@types/react": "^19.2.0",
|
|
100
100
|
"@types/react-dom": "^19.2.0",
|
|
101
101
|
"autoprefixer": "^10.4.19",
|
|
102
|
-
"axe-core": "4.
|
|
102
|
+
"axe-core": "4.14.0",
|
|
103
103
|
"cmdk": "^1.1.1",
|
|
104
104
|
"eslint": "^9.39.0",
|
|
105
|
-
"eslint-config-next": "16.4.
|
|
105
|
+
"eslint-config-next": "16.4.3",
|
|
106
106
|
"eslint-config-prettier": "^10.1.8",
|
|
107
107
|
"lucide-react": "^0.400.0",
|
|
108
|
-
"next": "16.4.
|
|
108
|
+
"next": "16.4.3",
|
|
109
109
|
"playwright": "1.64.1",
|
|
110
110
|
"postcss": "^8.5.18",
|
|
111
111
|
"prettier": "^3.3.0",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"license": "MIT",
|
|
134
134
|
"overrides": {
|
|
135
135
|
"sharp": "^0.35.0",
|
|
136
|
-
"postcss": "
|
|
136
|
+
"postcss": "$postcss"
|
|
137
137
|
},
|
|
138
138
|
"engines": {
|
|
139
139
|
"node": ">=18"
|