linkedunion-design-kit 1.6.1 → 1.6.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/dist/index.d.ts CHANGED
@@ -12,4 +12,5 @@ export { default as EditorTooltip } from "./src/components/EditorTooltip/EditorT
12
12
  export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from "./src/components/ui/accordion";
13
13
  export { default as ImageUploader } from "./src/components/ui/imageUploader";
14
14
  export { Typography } from "./src/components/ui/typography";
15
+ export { Checkbox } from "./src/components/ui/checkbox";
15
16
  export { Switch } from "./src/components/ui/switch";
package/dist/index.js CHANGED
@@ -12,4 +12,5 @@ export { default as EditorTooltip } from "./src/components/EditorTooltip/EditorT
12
12
  export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from "./src/components/ui/accordion";
13
13
  export { default as ImageUploader } from "./src/components/ui/imageUploader";
14
14
  export { Typography } from "./src/components/ui/typography";
15
+ export { Checkbox } from "./src/components/ui/checkbox";
15
16
  export { Switch } from "./src/components/ui/switch";
@@ -1,3 +1,3 @@
1
1
  import { ButtonProps } from "./type";
2
- declare const Button: ({ color, startIcon, endIcon, onClick, shape, size, className, children, }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Button: ({ color, startIcon, endIcon, onClick, shape, size, className, children, ...rest }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Button;
@@ -1,7 +1,29 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
1
23
  import { jsxs as _jsxs } from "react/jsx-runtime";
2
24
  import { buttonShapes, buttonSizes, buttonColors } from "./index";
3
25
  var Button = function (_a) {
4
- var _b = _a.color, color = _b === void 0 ? "primary" : _b, startIcon = _a.startIcon, endIcon = _a.endIcon, onClick = _a.onClick, _c = _a.shape, shape = _c === void 0 ? "rounded-none" : _c, _d = _a.size, size = _d === void 0 ? "sm" : _d, className = _a.className, children = _a.children;
5
- return (_jsxs("button", { className: "flex items-center ".concat(buttonShapes[shape], " ").concat(buttonColors[color], " ").concat(className, " ").concat(buttonSizes[size]), onClick: onClick, children: [startIcon && _jsxs("span", { "data-testid": "start-icon", children: [" ", startIcon, " "] }), children, endIcon && _jsxs("span", { "data-testid": "end-icon", children: [" ", endIcon, " "] })] }));
26
+ var _b = _a.color, color = _b === void 0 ? "primary" : _b, startIcon = _a.startIcon, endIcon = _a.endIcon, onClick = _a.onClick, _c = _a.shape, shape = _c === void 0 ? "rounded-none" : _c, _d = _a.size, size = _d === void 0 ? "sm" : _d, className = _a.className, children = _a.children, rest = __rest(_a, ["color", "startIcon", "endIcon", "onClick", "shape", "size", "className", "children"]);
27
+ return (_jsxs("button", __assign({ className: "flex items-center ".concat(buttonShapes[shape], " ").concat(buttonColors[color], " ").concat(className || "", " ").concat(buttonSizes[size]), onClick: onClick }, rest, { children: [startIcon && _jsxs("span", { "data-testid": "start-icon", children: [" ", startIcon, " "] }), children, endIcon && _jsxs("span", { "data-testid": "end-icon", children: [" ", endIcon, " "] })] })));
6
28
  };
7
29
  export default Button;
@@ -21,6 +21,9 @@ var Template = function (args) { return _jsx(Button, __assign({}, args)); };
21
21
  export var _Button = Template.bind({});
22
22
  _Button.args = {
23
23
  children: "Button Text",
24
+ onClick: function () {
25
+ alert("Button clicked!");
26
+ },
24
27
  };
25
28
  _Button.argTypes = {
26
29
  color: {
@@ -53,4 +56,8 @@ _Button.argTypes = {
53
56
  options: Object.keys(buttonSizes),
54
57
  description: "Select the size of the button",
55
58
  },
59
+ onClick: {
60
+ action: "clicked",
61
+ description: "Function to call when button is clicked",
62
+ },
56
63
  };
@@ -4,9 +4,8 @@ type colors = keyof typeof buttonColors;
4
4
  type buttonShapes = keyof typeof buttonShapes;
5
5
  type buttonSizes = keyof typeof buttonSizes;
6
6
  type iconButtonSize = keyof typeof iconButtonSize;
7
- export interface ButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
7
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
8
8
  color?: colors;
9
- onClick?: () => void;
10
9
  size?: buttonSizes;
11
10
  startIcon?: React.ReactNode;
12
11
  endIcon?: React.ReactNode;
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import { Checkbox } from "../ui/checkbox";
3
+ declare const meta: Meta<typeof Checkbox>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Checkbox>;
6
+ export declare const Default: Story;
7
+ export declare const Checked: Story;
8
+ export declare const Disabled: Story;
9
+ export declare const DisabledChecked: Story;
10
+ export declare const Form: Story;
@@ -0,0 +1,61 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { Checkbox } from "../ui/checkbox";
14
+ import { Label } from "../ui/label";
15
+ import Button from "../Button/Button";
16
+ var meta = {
17
+ title: "components/Checkbox",
18
+ component: Checkbox,
19
+ parameters: {
20
+ layout: "centered",
21
+ },
22
+ tags: ["autodocs"],
23
+ argTypes: {
24
+ checked: { control: "boolean" },
25
+ defaultChecked: { control: "boolean" },
26
+ disabled: { control: "boolean" },
27
+ onCheckedChange: { action: "checked changed" },
28
+ },
29
+ };
30
+ export default meta;
31
+ export var Default = {
32
+ args: {
33
+ id: "default",
34
+ },
35
+ render: function (args) { return (_jsxs("div", { className: "flex items-center space-x-2", children: [_jsx(Checkbox, __assign({}, args)), _jsx(Label, { htmlFor: "default", className: "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", children: "Accept terms and conditions" })] })); },
36
+ };
37
+ export var Checked = {
38
+ args: {
39
+ id: "checked",
40
+ defaultChecked: true,
41
+ },
42
+ render: function (args) { return (_jsxs("div", { className: "flex items-center space-x-2", children: [_jsx(Checkbox, __assign({}, args)), _jsx(Label, { htmlFor: "checked", className: "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", children: "Checked option" })] })); },
43
+ };
44
+ export var Disabled = {
45
+ args: {
46
+ id: "disabled",
47
+ disabled: true,
48
+ },
49
+ render: function (args) { return (_jsxs("div", { className: "flex items-center space-x-2", children: [_jsx(Checkbox, __assign({}, args)), _jsx(Label, { htmlFor: "disabled", className: "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", children: "Disabled option" })] })); },
50
+ };
51
+ export var DisabledChecked = {
52
+ args: {
53
+ id: "disabled-checked",
54
+ disabled: true,
55
+ defaultChecked: true,
56
+ },
57
+ render: function (args) { return (_jsxs("div", { className: "flex items-center space-x-2", children: [_jsx(Checkbox, __assign({}, args)), _jsx(Label, { htmlFor: "disabled-checked", className: "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", children: "Disabled checked option" })] })); },
58
+ };
59
+ export var Form = {
60
+ render: function () { return (_jsxs("div", { className: "space-y-4", children: [_jsx("h3", { className: "text-lg font-medium", children: "Terms of Service" }), _jsx("p", { className: "text-sm text-muted-foreground", children: "Please read and accept our terms of service to continue." }), _jsxs("form", { className: "space-y-2", children: [_jsxs("div", { className: "flex items-center space-x-2", children: [_jsx(Checkbox, { id: "terms1" }), _jsx("label", { htmlFor: "terms1", className: "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", children: "I accept the terms and conditions" })] }), _jsxs("div", { className: "flex items-center space-x-2", children: [_jsx(Checkbox, { id: "terms2" }), _jsx(Label, { htmlFor: "terms2", className: "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", children: "I agree to receive marketing emails" })] }), _jsx(Button, { type: "submit", className: "mt-4 rounded-md bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-700", children: "Submit" })] })] })); },
61
+ };
@@ -1,2 +1,3 @@
1
- declare const VerticalCard: ({}: {}) => import("react/jsx-runtime").JSX.Element;
1
+ import { CardInterface } from "../type";
2
+ declare const VerticalCard: ({ item, footer_logo, href, btnLabel, editor, }: CardInterface) => import("react/jsx-runtime").JSX.Element;
2
3
  export default VerticalCard;
@@ -4,7 +4,10 @@ import LUIcon from "../../../components/Icons/LUIcon";
4
4
  import LuImage from "../../../components/Images/LuImage";
5
5
  import Typography from "../../../components/Typography/Typography";
6
6
  import Link from "next/link";
7
+ import { getCardImageSrc } from "..";
7
8
  var VerticalCard = function (_a) {
8
- return (_jsxs("div", { className: "p-8 bg-white rounded-xl flex flex-col items-center w-full shadow-xl", children: [_jsx("div", { className: "w-full max-w-[240px] overflow-hidden aspect-square", children: _jsx(LuImage, { src: "/images/demo-image.jpg", width: 240, height: 240, className: "w-full h-full object-cover", alt: "Image" }) }), _jsxs("div", { className: "flex flex-col items-center flex-grow m-5 text-center h-[100px]", children: [_jsx(Typography, { variant: "h4", children: " Heading Text " }), _jsx(Typography, { variant: "b3", className: "font-extralight line-clamp-2 max-xs:line-clamp-1", children: "The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The The quick brown fox jumps over the lazy dog." })] }), _jsx(Link, { href: "google.com", passHref: true, className: "w-full no-underline", children: _jsx(Button, { endIcon: _jsx(LUIcon, { icon: "angle-right", size: "sm" }), size: "lg", className: "rounded justify-between w-full bg-gray-50 text-gray-950 hover:bg-gray-50 hover:text-gray-950", children: "View" }) })] }));
9
+ var item = _a.item, footer_logo = _a.footer_logo, _b = _a.href, href = _b === void 0 ? "https://www.google.com/" : _b, _c = _a.btnLabel, btnLabel = _c === void 0 ? "View More" : _c, editor = _a.editor;
10
+ var imageSrc = getCardImageSrc(item === null || item === void 0 ? void 0 : item.image, footer_logo);
11
+ return (_jsxs("div", { className: "p-8 bg-white rounded-xl flex flex-col items-center w-full shadow-xl ".concat(editor === null || editor === void 0 ? void 0 : editor.card, " ").concat(editor === null || editor === void 0 ? void 0 : editor.cardBg), children: [_jsx("div", { className: "w-full max-w-[240px] overflow-hidden aspect-square ".concat(editor === null || editor === void 0 ? void 0 : editor.cardImage), children: _jsx(LuImage, { src: imageSrc, width: 240, height: 240, className: "w-full h-full object-cover", alt: "Image" }) }), _jsxs("div", { className: "flex flex-col items-center flex-grow m-5 text-center h-[100px]", children: [_jsx(Typography, { variant: "h4", className: "".concat(editor === null || editor === void 0 ? void 0 : editor.cardTitle), children: item === null || item === void 0 ? void 0 : item.title }), _jsx(Typography, { variant: "b3", className: "font-extralight line-clamp-2 max-xs:line-clamp-1 ".concat(editor === null || editor === void 0 ? void 0 : editor.cardText), children: item === null || item === void 0 ? void 0 : item.description })] }), _jsx(Link, { href: href, passHref: true, className: "w-full no-underline", children: _jsx(Button, { endIcon: _jsx(LUIcon, { icon: "angle-right", size: "sm" }), size: "lg", className: "rounded justify-between w-full bg-gray-50 text-gray-950 hover:bg-gray-50 hover:text-gray-950 ".concat(editor === null || editor === void 0 ? void 0 : editor.cardBtn), children: btnLabel }) })] }));
9
12
  };
10
13
  export default VerticalCard;
@@ -1,4 +1,5 @@
1
1
  import { Meta } from "@storybook/react";
2
+ import { CardInterface } from "../type";
2
3
  declare const _default: Meta;
3
4
  export default _default;
4
- export declare const _Card: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@storybook/react").Args>;
5
+ export declare const _VerticalCard: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CardInterface>;
@@ -16,4 +16,18 @@ export default {
16
16
  component: VerticalCard,
17
17
  };
18
18
  var Template = function (args) { return _jsx(VerticalCard, __assign({}, args)); };
19
- export var _Card = Template.bind({});
19
+ export var _VerticalCard = Template.bind({});
20
+ _VerticalCard.args = {
21
+ // image: "/images/demo-image.jpg",
22
+ // title: "Heading Text",
23
+ // short_description: "The quick brown fox jumps over the lazy dog.",
24
+ item: {
25
+ image: "/images/demo-image.jpg",
26
+ title: "Heading Text",
27
+ description: "The quick brown fox jumps over the lazy dog.",
28
+ },
29
+ footer_logo: "/images/demo-image.jpg",
30
+ href: "https://www.google.com/",
31
+ btnLabel: "View More",
32
+ editor: {},
33
+ };
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
+ declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ export { Checkbox };
@@ -0,0 +1,31 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
25
+ import { CheckIcon } from "lucide-react";
26
+ import { cn } from "../../lib/utils";
27
+ function Checkbox(_a) {
28
+ var className = _a.className, props = __rest(_a, ["className"]);
29
+ return (_jsx(CheckboxPrimitive.Root, __assign({ "data-slot": "checkbox", className: cn("peer border-input dark:bg-input/30 data-[state=checked]:bg-blue-600 data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-blue-600 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4.5 shrink-0 !rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className) }, props, { children: _jsx(CheckboxPrimitive.Indicator, { "data-slot": "checkbox-indicator", className: "flex items-center justify-center text-current transition-none", children: _jsx(CheckIcon, { className: "size-3.5" }) }) })));
30
+ }
31
+ export { Checkbox };
@@ -383,10 +383,18 @@
383
383
  width: calc(var(--spacing) * 3);
384
384
  height: calc(var(--spacing) * 3);
385
385
  }
386
+ .size-3\.5 {
387
+ width: calc(var(--spacing) * 3.5);
388
+ height: calc(var(--spacing) * 3.5);
389
+ }
386
390
  .size-4 {
387
391
  width: calc(var(--spacing) * 4);
388
392
  height: calc(var(--spacing) * 4);
389
393
  }
394
+ .size-4\.5 {
395
+ width: calc(var(--spacing) * 4.5);
396
+ height: calc(var(--spacing) * 4.5);
397
+ }
390
398
  .size-5 {
391
399
  width: calc(var(--spacing) * 5);
392
400
  height: calc(var(--spacing) * 5);
@@ -662,18 +670,42 @@
662
670
  .gap-6 {
663
671
  gap: calc(var(--spacing) * 6);
664
672
  }
673
+ .space-y-2 {
674
+ :where(& > :not(:last-child)) {
675
+ --tw-space-y-reverse: 0;
676
+ margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
677
+ margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
678
+ }
679
+ }
680
+ .space-y-4 {
681
+ :where(& > :not(:last-child)) {
682
+ --tw-space-y-reverse: 0;
683
+ margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
684
+ margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
685
+ }
686
+ }
665
687
  .gap-x-5 {
666
688
  column-gap: calc(var(--spacing) * 5);
667
689
  }
668
690
  .gap-x-\[20px\] {
669
691
  column-gap: 20px;
670
692
  }
693
+ .space-x-2 {
694
+ :where(& > :not(:last-child)) {
695
+ --tw-space-x-reverse: 0;
696
+ margin-inline-start: calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));
697
+ margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
698
+ }
699
+ }
671
700
  .overflow-hidden {
672
701
  overflow: hidden;
673
702
  }
674
703
  .\!rounded-\[2px\] {
675
704
  border-radius: 2px !important;
676
705
  }
706
+ .\!rounded-\[4px\] {
707
+ border-radius: 4px !important;
708
+ }
677
709
  .\!rounded-full {
678
710
  border-radius: calc(infinity * 1px) !important;
679
711
  }
@@ -1259,6 +1291,9 @@
1259
1291
  .text-blue-950 {
1260
1292
  color: #03080d;
1261
1293
  }
1294
+ .text-current {
1295
+ color: currentcolor;
1296
+ }
1262
1297
  .text-gray-50 {
1263
1298
  color: #fafafa;
1264
1299
  }
@@ -1504,11 +1539,19 @@
1504
1539
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1505
1540
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1506
1541
  }
1542
+ .transition-shadow {
1543
+ transition-property: box-shadow;
1544
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1545
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
1546
+ }
1507
1547
  .transition-transform {
1508
1548
  transition-property: transform, translate, scale, rotate;
1509
1549
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1510
1550
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1511
1551
  }
1552
+ .transition-none {
1553
+ transition-property: none;
1554
+ }
1512
1555
  .duration-200 {
1513
1556
  --tw-duration: 200ms;
1514
1557
  transition-duration: 200ms;
@@ -1559,6 +1602,11 @@
1559
1602
  opacity: 50%;
1560
1603
  }
1561
1604
  }
1605
+ .peer-disabled\:opacity-70 {
1606
+ &:is(:where(.peer):disabled ~ *) {
1607
+ opacity: 70%;
1608
+ }
1609
+ }
1562
1610
  .selection\:bg-primary {
1563
1611
  & *::selection {
1564
1612
  background-color: var(--primary);
@@ -3082,11 +3130,21 @@
3082
3130
  translate: var(--tw-translate-x) var(--tw-translate-y);
3083
3131
  }
3084
3132
  }
3133
+ .data-\[state\=checked\]\:border-blue-600 {
3134
+ &[data-state="checked"] {
3135
+ border-color: #276ab3;
3136
+ }
3137
+ }
3085
3138
  .data-\[state\=checked\]\:bg-blue-500 {
3086
3139
  &[data-state="checked"] {
3087
3140
  background-color: #3a84d4;
3088
3141
  }
3089
3142
  }
3143
+ .data-\[state\=checked\]\:bg-blue-600 {
3144
+ &[data-state="checked"] {
3145
+ background-color: #276ab3;
3146
+ }
3147
+ }
3090
3148
  .data-\[state\=checked\]\:bg-green-500 {
3091
3149
  &[data-state="checked"] {
3092
3150
  background-color: #479f76;
@@ -3097,6 +3155,11 @@
3097
3155
  background-color: #fa4f5f;
3098
3156
  }
3099
3157
  }
3158
+ .data-\[state\=checked\]\:text-primary-foreground {
3159
+ &[data-state="checked"] {
3160
+ color: var(--primary-foreground);
3161
+ }
3162
+ }
3100
3163
  .data-\[state\=closed\]\:animate-accordion-up {
3101
3164
  &[data-state="closed"] {
3102
3165
  animation: accordion-up var(--tw-duration,.2s)ease-out;
@@ -3450,6 +3513,13 @@
3450
3513
  }
3451
3514
  }
3452
3515
  }
3516
+ .dark\:data-\[state\=checked\]\:bg-primary {
3517
+ &:is(.dark *) {
3518
+ &[data-state="checked"] {
3519
+ background-color: var(--primary);
3520
+ }
3521
+ }
3522
+ }
3453
3523
  .dark\:data-\[state\=checked\]\:bg-primary-foreground {
3454
3524
  &:is(.dark *) {
3455
3525
  &[data-state="checked"] {
@@ -3532,19 +3602,6 @@
3532
3602
  --sidebar-border: oklch(0.922 0 0);
3533
3603
  --sidebar-ring: oklch(0.708 0 0);
3534
3604
  }
3535
- @layer base {
3536
- * {
3537
- border-color: var(--border);
3538
- outline-color: var(--ring);
3539
- @supports (color: color-mix(in lab, red, red)) {
3540
- outline-color: color-mix(in oklab, var(--ring) 50%, transparent);
3541
- }
3542
- }
3543
- body {
3544
- background-color: var(--background);
3545
- color: var(--foreground);
3546
- }
3547
- }
3548
3605
  @property --tw-translate-x {
3549
3606
  syntax: "*";
3550
3607
  inherits: false;
@@ -3560,6 +3617,16 @@
3560
3617
  inherits: false;
3561
3618
  initial-value: 0;
3562
3619
  }
3620
+ @property --tw-space-y-reverse {
3621
+ syntax: "*";
3622
+ inherits: false;
3623
+ initial-value: 0;
3624
+ }
3625
+ @property --tw-space-x-reverse {
3626
+ syntax: "*";
3627
+ inherits: false;
3628
+ initial-value: 0;
3629
+ }
3563
3630
  @property --tw-border-style {
3564
3631
  syntax: "*";
3565
3632
  inherits: false;
@@ -3817,6 +3884,8 @@
3817
3884
  --tw-translate-x: 0;
3818
3885
  --tw-translate-y: 0;
3819
3886
  --tw-translate-z: 0;
3887
+ --tw-space-y-reverse: 0;
3888
+ --tw-space-x-reverse: 0;
3820
3889
  --tw-border-style: solid;
3821
3890
  --tw-gradient-position: initial;
3822
3891
  --tw-gradient-from: #0000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkedunion-design-kit",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -42,6 +42,7 @@
42
42
  ],
43
43
  "dependencies": {
44
44
  "@radix-ui/react-accordion": "^1.2.8",
45
+ "@radix-ui/react-checkbox": "^1.3.1",
45
46
  "@radix-ui/react-label": "^2.1.3",
46
47
  "@radix-ui/react-switch": "^1.1.4",
47
48
  "@radix-ui/react-tooltip": "^1.2.3",