@inkeep/cxkit-styled 0.5.5 → 0.5.8
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.
|
@@ -4,7 +4,7 @@ import { FC, ForwardRefExoticComponent, RefAttributes, MemoExoticComponent, Comp
|
|
|
4
4
|
import { ScrollAreaViewportProps, ScrollAreaCornerProps } from '@radix-ui/react-scroll-area';
|
|
5
5
|
import { MarkdownProps } from '@inkeep/cxkit-primitives/src/atoms/markdown';
|
|
6
6
|
import { IconBaseProps } from 'react-icons/lib';
|
|
7
|
-
import { DialogProps } from '@
|
|
7
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
8
8
|
import { TextareaAutosizeProps } from 'react-textarea-autosize';
|
|
9
9
|
import { TooltipProps, TooltipArrowProps } from '@radix-ui/react-tooltip';
|
|
10
10
|
import { SelectProps, SelectValueProps, SelectItemTextProps } from '@radix-ui/react-select';
|
|
@@ -4,7 +4,7 @@ import { FC, ForwardRefExoticComponent, RefAttributes, MemoExoticComponent, Comp
|
|
|
4
4
|
import { ScrollAreaViewportProps, ScrollAreaCornerProps } from '@radix-ui/react-scroll-area';
|
|
5
5
|
import { MarkdownProps } from '@inkeep/cxkit-primitives/src/atoms/markdown';
|
|
6
6
|
import { IconBaseProps } from 'react-icons/lib';
|
|
7
|
-
import { DialogProps } from '@
|
|
7
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
8
8
|
import { TextareaAutosizeProps } from 'react-textarea-autosize';
|
|
9
9
|
import { TooltipProps, TooltipArrowProps } from '@radix-ui/react-tooltip';
|
|
10
10
|
import { SelectProps, SelectValueProps, SelectItemTextProps } from '@radix-ui/react-select';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("class-variance-authority"),a=require("./button.cjs"),e=t.cva("",{variants:{slot:{root:["bg-gray-50 dark:bg-transparent","border border-transparent dark:border-gray-dark-700","rounded-md p-0.5 flex items-center"],button:[
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("class-variance-authority"),a=require("./button.cjs"),e=require("../../utils.cjs"),r=t.cva("",{variants:{slot:{root:["bg-gray-50 dark:bg-transparent","border border-transparent dark:border-gray-dark-700","rounded-md p-0.5 flex items-center"],button:[e.cn(a.button({size:"xs"}),"group","rounded data-[active]:shadow","bg-transparent data-[active]:bg-white","text-gray-600 data-[active]:text-gray-800","dark:text-white-alpha-600 dark:data-[active]:text-white-alpha-950","dark:data-[active]:bg-gray-dark-700 dark:shadow-none","hover:text-gray-800 hover:dark:text-white-alpha-950","focus-visible:ring-transparent")],icon:["mr-1 text-gray-500 data-[active]:text-gray-600","dark:text-white-alpha-500 dark:data-[active]:text-white-alpha-600","group-hover:text-gray-600 dark:group-hover:text-white-alpha-600"]}}});exports.widgetToggle=r;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cva as t } from "class-variance-authority";
|
|
3
3
|
import { button as a } from "./button.js";
|
|
4
|
-
|
|
4
|
+
import { cn as r } from "../../utils.js";
|
|
5
|
+
const i = t("", {
|
|
5
6
|
variants: {
|
|
6
7
|
slot: {
|
|
7
8
|
root: [
|
|
@@ -10,15 +11,17 @@ const d = t("", {
|
|
|
10
11
|
"rounded-md p-0.5 flex items-center"
|
|
11
12
|
],
|
|
12
13
|
button: [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
r(
|
|
15
|
+
a({ size: "xs" }),
|
|
16
|
+
"group",
|
|
17
|
+
"rounded data-[active]:shadow",
|
|
18
|
+
"bg-transparent data-[active]:bg-white",
|
|
19
|
+
"text-gray-600 data-[active]:text-gray-800",
|
|
20
|
+
"dark:text-white-alpha-600 dark:data-[active]:text-white-alpha-950",
|
|
21
|
+
"dark:data-[active]:bg-gray-dark-700 dark:shadow-none",
|
|
22
|
+
"hover:text-gray-800 hover:dark:text-white-alpha-950",
|
|
23
|
+
"focus-visible:ring-transparent"
|
|
24
|
+
)
|
|
22
25
|
],
|
|
23
26
|
icon: [
|
|
24
27
|
"mr-1 text-gray-500 data-[active]:text-gray-600",
|
|
@@ -29,5 +32,5 @@ const d = t("", {
|
|
|
29
32
|
}
|
|
30
33
|
});
|
|
31
34
|
export {
|
|
32
|
-
|
|
35
|
+
i as widgetToggle
|
|
33
36
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/cxkit-styled",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Inkeep, Inc. Customer License (IICL) v1.1",
|
|
6
6
|
"homepage": "",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"clsx": "2.1.1",
|
|
40
40
|
"merge-anything": "6.0.2",
|
|
41
41
|
"tailwind-merge": "2.6.0",
|
|
42
|
-
"@inkeep/cxkit-primitives": "0.5.
|
|
42
|
+
"@inkeep/cxkit-primitives": "0.5.8"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@biomejs/biome": "1.9.4",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"typescript": "5.7.3",
|
|
59
59
|
"vite": "5.4.11",
|
|
60
60
|
"vite-plugin-dts": "4.4.0",
|
|
61
|
-
"@inkeep/cxkit-theme": "0.5.
|
|
62
|
-
"@inkeep/cxkit-types": "0.5.
|
|
61
|
+
"@inkeep/cxkit-theme": "0.5.8",
|
|
62
|
+
"@inkeep/cxkit-types": "0.5.8"
|
|
63
63
|
},
|
|
64
64
|
"module": "dist/index.js",
|
|
65
65
|
"types": "dist/index.d.ts",
|