@tetrascience-npm/tetrascience-react-ui 1.0.0-beta.154.1 → 1.0.0-beta.155.1
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/slider.d.ts +3 -1
- package/dist/components/ui/switch.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.scoped.css +1 -1
- package/dist/index.tailwind.css +1 -1
- package/dist/ui/slider.cjs +1 -1
- package/dist/ui/slider.cjs.map +1 -1
- package/dist/ui/slider.js +17 -15
- package/dist/ui/slider.js.map +1 -1
- package/dist/ui/switch.cjs +1 -1
- package/dist/ui/switch.cjs.map +1 -1
- package/dist/ui/switch.js +15 -15
- package/dist/ui/switch.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { Slider as SliderPrimitive } from 'radix-ui';
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
declare function Slider({ className, defaultValue, value, min, max, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>
|
|
3
|
+
declare function Slider({ className, defaultValue, value, min, max, size, ...props }: React.ComponentProps<typeof SliderPrimitive.Root> & {
|
|
4
|
+
size?: "xs" | "sm" | "default" | "lg";
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
4
6
|
export { Slider };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Switch as SwitchPrimitive } from 'radix-ui';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare function Switch({ className, size, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root> & {
|
|
4
|
-
size?: "sm" | "default";
|
|
4
|
+
size?: "xs" | "sm" | "default" | "lg";
|
|
5
5
|
}): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export { Switch };
|