ksk-design-system 1.37.1 → 1.37.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.
|
@@ -35,6 +35,7 @@ interface DialogContentProps extends React.ComponentProps<typeof DialogPrimitive
|
|
|
35
35
|
* スクロールしやすく操作しやすい
|
|
36
36
|
*/
|
|
37
37
|
position?: "center" | "top";
|
|
38
|
+
children?: React.ReactNode;
|
|
38
39
|
}
|
|
39
40
|
declare function DialogContent({ className, children, padding, description, position, ...props }: DialogContentProps): import("react/jsx-runtime").JSX.Element;
|
|
40
41
|
declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -17,6 +17,8 @@ export interface ProgressProps extends React.ComponentProps<typeof ProgressPrimi
|
|
|
17
17
|
* @default "sm"
|
|
18
18
|
*/
|
|
19
19
|
transitionDuration?: ProgressDuration;
|
|
20
|
+
/** 進捗値(0〜100)。Radix v2 系で `React.ComponentProps` 経由だと型に出てこないため明示。 */
|
|
21
|
+
value?: number | null;
|
|
20
22
|
}
|
|
21
23
|
/**
|
|
22
24
|
* Progress — 進捗バー。
|
|
@@ -12,6 +12,7 @@ declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitiv
|
|
|
12
12
|
declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
interface SelectTriggerProps extends React.ComponentProps<typeof SelectPrimitive.Trigger>, VariantProps<typeof selectTriggerVariants> {
|
|
15
|
+
children?: React.ReactNode;
|
|
15
16
|
}
|
|
16
17
|
declare function SelectTrigger({ className, children, size, ...props }: SelectTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -70,6 +70,7 @@ interface SheetProps extends React.ComponentProps<typeof DialogPrimitive.Root> {
|
|
|
70
70
|
* Default: true.
|
|
71
71
|
*/
|
|
72
72
|
overlay?: boolean;
|
|
73
|
+
children?: React.ReactNode;
|
|
73
74
|
}
|
|
74
75
|
declare function Sheet({ snapPoints, activeSnapPoint: activeSnapPointProp, setActiveSnapPoint: setActiveSnapPointProp, fadeFromIndex, dismissible, overlay, onOpenChange, open, defaultOpen, ...props }: SheetProps): import("react/jsx-runtime").JSX.Element;
|
|
75
76
|
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -121,6 +122,7 @@ interface SheetContentProps extends React.ComponentProps<typeof DialogPrimitive.
|
|
|
121
122
|
* `<SheetDescription>` を直接置く。
|
|
122
123
|
*/
|
|
123
124
|
description?: React.ReactNode;
|
|
125
|
+
children?: React.ReactNode;
|
|
124
126
|
}
|
|
125
127
|
declare function SheetContent({ className, children, side, glassOverlay, container, padding, swipeToClose, description, ...props }: SheetContentProps): import("react/jsx-runtime").JSX.Element;
|
|
126
128
|
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|