@resq-sw/ui 0.2.0 → 0.2.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.
- package/README.md +125 -28
- package/lib/components/accordion/accordion.d.ts +5 -5
- package/lib/components/accordion/accordion.d.ts.map +1 -1
- package/lib/components/alert/alert.d.ts +5 -5
- package/lib/components/alert/alert.d.ts.map +1 -1
- package/lib/components/alert-dialog/alert-dialog.d.ts +13 -13
- package/lib/components/aspect-ratio/aspect-ratio.d.ts +2 -2
- package/lib/components/avatar/avatar.d.ts +7 -7
- package/lib/components/badge/badge.d.ts +2 -2
- package/lib/components/breadcrumb/breadcrumb.d.ts +8 -8
- package/lib/components/button/button.d.ts +5 -5
- package/lib/components/button-group/button-group.d.ts +6 -6
- package/lib/components/calendar/calendar.d.ts +3 -3
- package/lib/components/card/card.d.ts +8 -8
- package/lib/components/carousel/carousel.d.ts +6 -6
- package/lib/components/chart/chart.d.ts +4 -4
- package/lib/components/checkbox/checkbox.d.ts +2 -2
- package/lib/components/collapsible/collapsible.d.ts +4 -4
- package/lib/components/combobox/combobox.d.ts +15 -15
- package/lib/components/command/command.d.ts +10 -10
- package/lib/components/context-menu/context-menu.d.ts +16 -16
- package/lib/components/context-menu/context-menu.d.ts.map +1 -1
- package/lib/components/dialog/dialog.d.ts +11 -11
- package/lib/components/direction/direction.d.ts +2 -2
- package/lib/components/direction/direction.d.ts.map +1 -1
- package/lib/components/drawer/drawer.d.ts +11 -11
- package/lib/components/drawer/drawer.d.ts.map +1 -1
- package/lib/components/dropdown-menu/dropdown-menu.d.ts +16 -16
- package/lib/components/empty/empty.d.ts +9 -9
- package/lib/components/empty/empty.d.ts.map +1 -1
- package/lib/components/field/field.d.ts +13 -13
- package/lib/components/field/field.d.ts.map +1 -1
- package/lib/components/hover-card/hover-card.d.ts +4 -4
- package/lib/components/input/input.d.ts +2 -2
- package/lib/components/input-group/input-group.d.ts +11 -11
- package/lib/components/input-group/input-group.d.ts.map +1 -1
- package/lib/components/input-otp/input-otp.d.ts +5 -5
- package/lib/components/item/item.d.ts +15 -15
- package/lib/components/item/item.d.ts.map +1 -1
- package/lib/components/kbd/kbd.d.ts +3 -3
- package/lib/components/label/label.d.ts +2 -2
- package/lib/components/menubar/menubar.d.ts +17 -17
- package/lib/components/native-select/native-select.d.ts +4 -4
- package/lib/components/navigation-menu/navigation-menu.d.ts +11 -11
- package/lib/components/pagination/pagination.d.ts +8 -8
- package/lib/components/popover/popover.d.ts +8 -8
- package/lib/components/progress/progress.d.ts +2 -2
- package/lib/components/progress/progress.d.ts.map +1 -1
- package/lib/components/radio-group/radio-group.d.ts +3 -3
- package/lib/components/resizable/resizable.d.ts +4 -4
- package/lib/components/scroll-area/scroll-area.d.ts +3 -3
- package/lib/components/select/select.d.ts +11 -11
- package/lib/components/separator/separator.d.ts +2 -2
- package/lib/components/sheet/sheet.d.ts +9 -9
- package/lib/components/sidebar/sidebar.d.ts +27 -27
- package/lib/components/sidebar/sidebar.d.ts.map +1 -1
- package/lib/components/skeleton/skeleton.d.ts +2 -2
- package/lib/components/slider/slider.d.ts +2 -2
- package/lib/components/sonner/sonner.d.ts +2 -2
- package/lib/components/spinner/spinner.d.ts +2 -2
- package/lib/components/table/table.d.ts +9 -9
- package/lib/components/tabs/tabs.d.ts +7 -7
- package/lib/components/textarea/textarea.d.ts +2 -2
- package/lib/components/toggle/toggle.d.ts +5 -5
- package/lib/components/toggle/toggle.d.ts.map +1 -1
- package/lib/components/toggle-group/toggle-group.d.ts +3 -3
- package/lib/components/tooltip/tooltip.d.ts +5 -5
- package/package.json +2 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Tabs as Tabs$1 } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime248 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types9 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region src/components/tabs/tabs.d.ts
|
|
8
8
|
|
|
@@ -10,23 +10,23 @@ declare function Tabs({
|
|
|
10
10
|
className,
|
|
11
11
|
orientation,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Tabs$1.Root>):
|
|
13
|
+
}: React.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime248.JSX.Element;
|
|
14
14
|
declare const tabsListVariants: (props?: ({
|
|
15
15
|
variant?: "default" | "line" | null | undefined;
|
|
16
|
-
} &
|
|
16
|
+
} & class_variance_authority_types9.ClassProp) | undefined) => string;
|
|
17
17
|
declare function TabsContent({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Tabs$1.Content>):
|
|
20
|
+
}: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime248.JSX.Element;
|
|
21
21
|
declare function TabsList({
|
|
22
22
|
className,
|
|
23
23
|
variant,
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<typeof Tabs$1.List> & VariantProps<typeof tabsListVariants>):
|
|
25
|
+
}: React.ComponentProps<typeof Tabs$1.List> & VariantProps<typeof tabsListVariants>): react_jsx_runtime248.JSX.Element;
|
|
26
26
|
declare function TabsTrigger({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof Tabs$1.Trigger>):
|
|
29
|
+
}: React.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime248.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants };
|
|
32
32
|
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime253 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/textarea/textarea.d.ts
|
|
@@ -6,7 +6,7 @@ import * as React from "react";
|
|
|
6
6
|
declare function Textarea({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<"textarea">):
|
|
9
|
+
}: React.ComponentProps<"textarea">): react_jsx_runtime253.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Textarea };
|
|
12
12
|
//# sourceMappingURL=textarea.d.ts.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Toggle as Toggle$1 } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime254 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types10 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region src/components/toggle/toggle.d.ts
|
|
8
8
|
|
|
9
9
|
declare const toggleVariants: (props?: ({
|
|
10
|
-
size?: "default" | "
|
|
10
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
11
11
|
variant?: "default" | "outline" | null | undefined;
|
|
12
|
-
} &
|
|
12
|
+
} & class_variance_authority_types10.ClassProp) | undefined) => string;
|
|
13
13
|
declare function Toggle({
|
|
14
14
|
className,
|
|
15
15
|
size,
|
|
16
16
|
variant,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>):
|
|
18
|
+
}: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime254.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { Toggle, toggleVariants };
|
|
21
21
|
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.d.ts","names":[],"sources":["../../../src/components/toggle/toggle.tsx"],"sourcesContent":[],"mappings":";;;;;;;;cAwBM;;;IAmBL
|
|
1
|
+
{"version":3,"file":"toggle.d.ts","names":[],"sources":["../../../src/components/toggle/toggle.tsx"],"sourcesContent":[],"mappings":";;;;;;;;cAwBM;;;IAmBL,gCAAA,CAAA;iBAEQ,MAAA;;;;;GAKN,KAAA,CAAM,sBAAsB,QAAA,CAAgB,QAAQ,oBAAoB,kBAAe,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { toggleVariants } from "../toggle/toggle.js";
|
|
2
2
|
import { ToggleGroup as ToggleGroup$1 } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime255 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
|
|
@@ -17,14 +17,14 @@ declare function ToggleGroup({
|
|
|
17
17
|
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants> & {
|
|
18
18
|
orientation?: "horizontal" | "vertical";
|
|
19
19
|
spacing?: number;
|
|
20
|
-
}):
|
|
20
|
+
}): react_jsx_runtime255.JSX.Element;
|
|
21
21
|
declare function ToggleGroupItem({
|
|
22
22
|
children,
|
|
23
23
|
className,
|
|
24
24
|
size,
|
|
25
25
|
variant,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>):
|
|
27
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime255.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { ToggleGroup, ToggleGroupItem };
|
|
30
30
|
//# sourceMappingURL=toggle-group.d.ts.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { Tooltip as Tooltip$1 } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime124 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/tooltip.d.ts
|
|
6
6
|
|
|
7
7
|
declare function Tooltip({
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Tooltip$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime124.JSX.Element;
|
|
10
10
|
declare function TooltipContent({
|
|
11
11
|
children,
|
|
12
12
|
className,
|
|
13
13
|
sideOffset,
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof Tooltip$1.Content>):
|
|
15
|
+
}: React.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime124.JSX.Element;
|
|
16
16
|
declare function TooltipProvider({
|
|
17
17
|
delayDuration,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof Tooltip$1.Provider>):
|
|
19
|
+
}: React.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime124.JSX.Element;
|
|
20
20
|
declare function TooltipTrigger({
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof Tooltip$1.Trigger>):
|
|
22
|
+
}: React.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime124.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
25
25
|
//# sourceMappingURL=tooltip.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@resq-sw/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "ResQ shared UI component library — shadcn-based design system for the ResQ platform",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -308,6 +308,7 @@
|
|
|
308
308
|
"README.md"
|
|
309
309
|
],
|
|
310
310
|
"scripts": {
|
|
311
|
+
"copyright": "node --experimental-strip-types scripts/copyright.gen.ts",
|
|
311
312
|
"build": "tsdown",
|
|
312
313
|
"build-storybook": "storybook build",
|
|
313
314
|
"chromatic": "bunx chromatic --build-script-name=build-storybook",
|