@jbpark/ui-kit 2.7.0 → 2.8.0
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.ko.md +1 -0
- package/README.md +1 -0
- package/dist/components/atoms/Skeleton/index.d.mts +1 -1
- package/dist/components/atoms/Skeleton/index.d.mts.map +1 -1
- package/dist/components/atoms/Tag/index.d.mts +17 -0
- package/dist/components/atoms/Tag/index.d.mts.map +1 -0
- package/dist/components/atoms/Tag/index.mjs +29 -0
- package/dist/components/atoms/Tag/index.mjs.map +1 -0
- package/dist/components/atoms/index.d.mts +2 -1
- package/dist/components/atoms/index.mjs +1 -0
- package/dist/components/molecules/Card/index.mjs +1 -1
- package/dist/components/molecules/Card/index.mjs.map +1 -1
- package/dist/components/organisms/List/index.d.mts +1 -1
- package/dist/components/organisms/List/index.d.mts.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +2 -1
- package/dist/style.css +65 -0
- package/package.json +1 -1
package/README.ko.md
CHANGED
package/README.md
CHANGED
|
@@ -51,6 +51,7 @@ Basic UI building blocks
|
|
|
51
51
|
| **Skeleton** | Loading skeleton | `Button`, `Node` |
|
|
52
52
|
| **Spin** | Loading spinner | - |
|
|
53
53
|
| **Switch** | Toggle switch component | - |
|
|
54
|
+
| **Tag** | Pill-style label/tag | - |
|
|
54
55
|
| **Typography** | Text components | `Link`, `Paragraph`, `Text`, `Title` |
|
|
55
56
|
|
|
56
57
|
## 🔬 Molecules
|
|
@@ -36,7 +36,7 @@ declare const Skeleton: {
|
|
|
36
36
|
height,
|
|
37
37
|
children,
|
|
38
38
|
...props
|
|
39
|
-
}: Props): string | number | bigint | boolean | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> |
|
|
39
|
+
}: Props): string | number | bigint | boolean | react_jsx_runtime0.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | null | undefined;
|
|
40
40
|
Button: ({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../../src/components/atoms/Skeleton/index.tsx"],"mappings":";;;;;;UAYiB,KAAA,SAAc,KAAA,CAAM,wBAAA;EACnC,MAAA;EACA,OAAA;EACA,MAAA;EACA,IAAA;EACA,KAAA;EACA,GAAA;EACA,SAAA;EACA,KAAA;EACA,MAAA;EACA,UAAA;IACE,OAAA;IACA,MAAA;IACA,IAAA;EAAA;AAAA;AAAA,cAUE,QAAA;EAAA;;;;;;;;;;;;;;;KAeH,KAAA,wCAAK,QAAA,CAAA,KAAA,CAAA,SAAA,IAAA,OAAA,sCAAA,KAAA,CAAA,WAAA,GAAA,KAAA,CAAA,YAAA,mBAAA,KAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,KAAA,CAAA,SAAA
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../../src/components/atoms/Skeleton/index.tsx"],"mappings":";;;;;;UAYiB,KAAA,SAAc,KAAA,CAAM,wBAAA;EACnC,MAAA;EACA,OAAA;EACA,MAAA;EACA,IAAA;EACA,KAAA;EACA,GAAA;EACA,SAAA;EACA,KAAA;EACA,MAAA;EACA,UAAA;IACE,OAAA;IACA,MAAA;IACA,IAAA;EAAA;AAAA;AAAA,cAUE,QAAA;EAAA;;;;;;;;;;;;;;;KAeH,KAAA,wCAAK,kBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,QAAA,CAAA,KAAA,CAAA,SAAA,IAAA,OAAA,sCAAA,KAAA,CAAA,WAAA,GAAA,KAAA,CAAA,YAAA,mBAAA,KAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,KAAA,CAAA,SAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/atoms/Tag/index.d.ts
|
|
4
|
+
interface Props extends React.ComponentPropsWithoutRef<'span'> {
|
|
5
|
+
variant?: 'default' | 'outlined';
|
|
6
|
+
color?: 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
7
|
+
}
|
|
8
|
+
declare const Tag: ({
|
|
9
|
+
className,
|
|
10
|
+
variant,
|
|
11
|
+
color,
|
|
12
|
+
children,
|
|
13
|
+
...props
|
|
14
|
+
}: Props) => react_jsx_runtime0.JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Tag };
|
|
17
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../../src/components/atoms/Tag/index.tsx"],"mappings":";;;UAEiB,KAAA,SAAc,KAAA,CAAM,wBAAA;EACnC,OAAA;EACA,KAAA;AAAA;AAAA,cAmBI,GAAA;EAAO,SAAA;EAAA,OAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAAA,GAMV,KAAA,KAAK,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { cn } from "../../../utils.mjs";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/atoms/Tag/index.tsx
|
|
5
|
+
const fillColorClasses = {
|
|
6
|
+
default: "bg-muted text-muted-foreground",
|
|
7
|
+
primary: "bg-primary/10 text-primary",
|
|
8
|
+
success: "bg-green-500/10 text-green-600 dark:text-green-400",
|
|
9
|
+
warning: "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400",
|
|
10
|
+
danger: "bg-destructive/10 text-destructive"
|
|
11
|
+
};
|
|
12
|
+
const outlinedColorClasses = {
|
|
13
|
+
default: "border-border text-foreground",
|
|
14
|
+
primary: "border-primary text-primary",
|
|
15
|
+
success: "border-green-500 text-green-600 dark:text-green-400",
|
|
16
|
+
warning: "border-yellow-500 text-yellow-600 dark:text-yellow-400",
|
|
17
|
+
danger: "border-destructive text-destructive"
|
|
18
|
+
};
|
|
19
|
+
const Tag = ({ className, variant = "default", color = "default", children, ...props }) => {
|
|
20
|
+
return /* @__PURE__ */ jsx("span", {
|
|
21
|
+
className: cn("inline-flex items-center", "rounded-full px-2.5 py-1", "text-xs font-medium", variant === "default" && fillColorClasses[color], variant === "outlined" && ["border", outlinedColorClasses[color]], className),
|
|
22
|
+
...props,
|
|
23
|
+
children
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
export { Tag as default };
|
|
29
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/components/atoms/Tag/index.tsx"],"sourcesContent":["import { cn } from '@repo/ui/utils';\n\nexport interface Props extends React.ComponentPropsWithoutRef<'span'> {\n variant?: 'default' | 'outlined';\n color?: 'default' | 'primary' | 'success' | 'warning' | 'danger';\n}\n\nconst fillColorClasses: Record<string, string> = {\n default: 'bg-muted text-muted-foreground',\n primary: 'bg-primary/10 text-primary',\n success: 'bg-green-500/10 text-green-600 dark:text-green-400',\n warning: 'bg-yellow-500/10 text-yellow-600 dark:text-yellow-400',\n danger: 'bg-destructive/10 text-destructive',\n};\n\nconst outlinedColorClasses: Record<string, string> = {\n default: 'border-border text-foreground',\n primary: 'border-primary text-primary',\n success: 'border-green-500 text-green-600 dark:text-green-400',\n warning: 'border-yellow-500 text-yellow-600 dark:text-yellow-400',\n danger: 'border-destructive text-destructive',\n};\n\nconst Tag = ({\n className,\n variant = 'default',\n color = 'default',\n children,\n ...props\n}: Props) => {\n return (\n <span\n className={cn(\n 'inline-flex items-center',\n 'rounded-full px-2.5 py-1',\n 'text-xs font-medium',\n variant === 'default' && fillColorClasses[color],\n variant === 'outlined' && ['border', outlinedColorClasses[color]],\n className,\n //\n )}\n {...props}\n >\n {children}\n </span>\n );\n};\n\nexport default Tag;\n"],"mappings":";;;;AAOA,MAAM,mBAA2C;CAC/C,SAAS;CACT,SAAS;CACT,SAAS;CACT,SAAS;CACT,QAAQ;CACT;AAED,MAAM,uBAA+C;CACnD,SAAS;CACT,SAAS;CACT,SAAS;CACT,SAAS;CACT,QAAQ;CACT;AAED,MAAM,OAAO,EACX,WACA,UAAU,WACV,QAAQ,WACR,UACA,GAAG,YACQ;AACX,QACE,oBAAC;EACC,WAAW,GACT,4BACA,4BACA,uBACA,YAAY,aAAa,iBAAiB,QAC1C,YAAY,cAAc,CAAC,UAAU,qBAAqB,OAAO,EACjE,UAED;EACD,GAAI;EAEH;GACI"}
|
|
@@ -10,4 +10,5 @@ import { Radio } from "./Radio/index.mjs";
|
|
|
10
10
|
import { Select } from "./Select/index.mjs";
|
|
11
11
|
import { Skeleton } from "./Skeleton/index.mjs";
|
|
12
12
|
import { Spin } from "./Spin/index.mjs";
|
|
13
|
-
import { Switch } from "./Switch/index.mjs";
|
|
13
|
+
import { Switch } from "./Switch/index.mjs";
|
|
14
|
+
import { Tag } from "./Tag/index.mjs";
|
|
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/components/molecules/Card/index.tsx
|
|
5
5
|
const Card = ({ title, children, className, classNames, variant = "outlined", ...props }) => {
|
|
6
6
|
return /* @__PURE__ */ jsxs("div", {
|
|
7
|
-
className: cn("w-full", "rounded-lg p-4", "bg-
|
|
7
|
+
className: cn("w-full", "rounded-lg p-4", "bg-card text-card-foreground shadow-sm transition-all", variant === "outlined" && "border-border border", className),
|
|
8
8
|
...props,
|
|
9
9
|
children: [renderConditional(title, (v) => /* @__PURE__ */ jsx("div", {
|
|
10
10
|
className: cn("mb-4 font-bold", classNames?.title),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/components/molecules/Card/index.tsx"],"sourcesContent":["import { cn, renderConditional } from '@repo/ui/utils';\n\ninterface Props extends Omit<React.ComponentPropsWithRef<'div'>, 'title'> {\n title?: React.ReactNode;\n variant?: 'outlined' | 'borderless';\n classNames?: {\n title?: string;\n body?: string;\n };\n}\n\nconst Card = ({\n title,\n children,\n className,\n classNames,\n variant = 'outlined',\n ...props\n}: Props) => {\n return (\n <div\n className={cn(\n 'w-full',\n 'rounded-lg p-4',\n 'bg-
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/components/molecules/Card/index.tsx"],"sourcesContent":["import { cn, renderConditional } from '@repo/ui/utils';\n\ninterface Props extends Omit<React.ComponentPropsWithRef<'div'>, 'title'> {\n title?: React.ReactNode;\n variant?: 'outlined' | 'borderless';\n classNames?: {\n title?: string;\n body?: string;\n };\n}\n\nconst Card = ({\n title,\n children,\n className,\n classNames,\n variant = 'outlined',\n ...props\n}: Props) => {\n return (\n <div\n className={cn(\n 'w-full',\n 'rounded-lg p-4',\n 'bg-card text-card-foreground shadow-sm transition-all',\n variant === 'outlined' && 'border-border border',\n className,\n //\n )}\n {...props}\n >\n {renderConditional(title, v => (\n <div\n className={cn(\n 'mb-4 font-bold',\n classNames?.title,\n //\n )}\n >\n {v}\n </div>\n ))}\n <div\n className={cn(\n classNames?.body,\n //\n )}\n >\n {children}\n </div>\n </div>\n );\n};\n\nexport default Card;\n"],"mappings":";;;;AAWA,MAAM,QAAQ,EACZ,OACA,UACA,WACA,YACA,UAAU,YACV,GAAG,YACQ;AACX,QACE,qBAAC;EACC,WAAW,GACT,UACA,kBACA,yDACA,YAAY,cAAc,wBAC1B,UAED;EACD,GAAI;aAEH,kBAAkB,QAAO,MACxB,oBAAC;GACC,WAAW,GACT,kBACA,YAAY,MAEb;aAEA;IACG,CACN,EACF,oBAAC;GACC,WAAW,GACT,YAAY,KAEb;GAEA;IACG;GACF"}
|
|
@@ -40,7 +40,7 @@ declare const List: {
|
|
|
40
40
|
classNames,
|
|
41
41
|
renderItem,
|
|
42
42
|
...props
|
|
43
|
-
}: Props<T>): string | number | bigint | true | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined
|
|
43
|
+
}: Props<T>): string | number | bigint | true | react_jsx_runtime0.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined>;
|
|
44
44
|
Item: ({
|
|
45
45
|
children,
|
|
46
46
|
className,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../../src/components/organisms/List/index.tsx"],"mappings":";;;;;;UAWU,KAAA,YAAiB,IAAA,CACzB,KAAA,CAAM,wBAAA;EAGN,OAAA;EACA,WAAA,GAAc,KAAA,CAAM,cAAA,QAAsB,QAAA;EAC1C,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,KAAA,GAAQ,KAAA,CAAM,SAAA;EACd,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,KAAA,GAAQ,KAAA,CAAM,SAAA;EACd,UAAA;IACE,KAAA;IACA,MAAA;IACA,IAAA;EAAA;EAEF,MAAA;IACE,OAAA;IACA,OAAA;IACA,MAAA,GAAS,KAAA,CAAM,SAAA;IACf,OAAA,GAAU,wBAAA;IACV,IAAA;EAAA;EAEF,IAAA,GAAO,CAAA;EACP,UAAA,IAAc,IAAA,EAAM,CAAA,EAAG,KAAA,aAAkB,KAAA,CAAM,SAAA;AAAA;AAAA,cAG3C,IAAA;EAAA;IAAS,OAAA;IAAA,WAAA;IAAA,MAAA;IAAA,MAAA;IAAA,KAAA;IAAA,KAAA;IAAA,MAAA;IAAA,IAAA;IAAA,SAAA;IAAA,UAAA;IAAA,UAAA;IAAA,GAAA;EAAA,GAaZ,KAAA,CAAM,CAAA,sCAAE,QAAA,CAAA,KAAA,CAAA,SAAA,IAAA,OAAA,sCAAA,KAAA,CAAA,WAAA,GAAA,KAAA,CAAA,YAAA,mBAAA,KAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,KAAA,CAAA,SAAA
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../../src/components/organisms/List/index.tsx"],"mappings":";;;;;;UAWU,KAAA,YAAiB,IAAA,CACzB,KAAA,CAAM,wBAAA;EAGN,OAAA;EACA,WAAA,GAAc,KAAA,CAAM,cAAA,QAAsB,QAAA;EAC1C,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,KAAA,GAAQ,KAAA,CAAM,SAAA;EACd,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,KAAA,GAAQ,KAAA,CAAM,SAAA;EACd,UAAA;IACE,KAAA;IACA,MAAA;IACA,IAAA;EAAA;EAEF,MAAA;IACE,OAAA;IACA,OAAA;IACA,MAAA,GAAS,KAAA,CAAM,SAAA;IACf,OAAA,GAAU,wBAAA;IACV,IAAA;EAAA;EAEF,IAAA,GAAO,CAAA;EACP,UAAA,IAAc,IAAA,EAAM,CAAA,EAAG,KAAA,aAAkB,KAAA,CAAM,SAAA;AAAA;AAAA,cAG3C,IAAA;EAAA;IAAS,OAAA;IAAA,WAAA;IAAA,MAAA;IAAA,MAAA;IAAA,KAAA;IAAA,KAAA;IAAA,MAAA;IAAA,IAAA;IAAA,SAAA;IAAA,UAAA;IAAA,UAAA;IAAA,GAAA;EAAA,GAaZ,KAAA,CAAM,CAAA,sCAAE,kBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,QAAA,CAAA,KAAA,CAAA,SAAA,IAAA,OAAA,sCAAA,KAAA,CAAA,WAAA,GAAA,KAAA,CAAA,YAAA,mBAAA,KAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,KAAA,CAAA,SAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -13,6 +13,7 @@ import { Select } from "./components/atoms/Select/index.mjs";
|
|
|
13
13
|
import { Skeleton } from "./components/atoms/Skeleton/index.mjs";
|
|
14
14
|
import { Spin } from "./components/atoms/Spin/index.mjs";
|
|
15
15
|
import { Switch } from "./components/atoms/Switch/index.mjs";
|
|
16
|
+
import { Tag } from "./components/atoms/Tag/index.mjs";
|
|
16
17
|
import "./components/atoms/index.mjs";
|
|
17
18
|
import { Card } from "./components/molecules/Card/index.mjs";
|
|
18
19
|
import { Collapse } from "./components/molecules/Collapse/index.mjs";
|
|
@@ -32,4 +33,4 @@ import { ThemeConfig, ThemeToken } from "./providers/Config/types.mjs";
|
|
|
32
33
|
import { useConfig } from "./providers/Config/context.mjs";
|
|
33
34
|
import { Config, Props } from "./providers/Config/index.mjs";
|
|
34
35
|
import "./providers/index.mjs";
|
|
35
|
-
export { Button, Card, Checkbox, Collapse, ColorPicker, Config, Props as ConfigProps, Drawer, Props$1 as DrawerProps, Dropdown, FloatButton, Input, Layout, List, Marquees, Menu, Modal, Popover, Progress, Radio, Reveals, Select, Skeleton, Space, Spin, Splitter, Swiper, Switch, ThemeConfig, ThemeToken, Typography, useConfig };
|
|
36
|
+
export { Button, Card, Checkbox, Collapse, ColorPicker, Config, Props as ConfigProps, Drawer, Props$1 as DrawerProps, Dropdown, FloatButton, Input, Layout, List, Marquees, Menu, Modal, Popover, Progress, Radio, Reveals, Select, Skeleton, Space, Spin, Splitter, Swiper, Switch, Tag, ThemeConfig, ThemeToken, Typography, useConfig };
|
package/dist/index.mjs
CHANGED
|
@@ -12,6 +12,7 @@ import Select from "./components/atoms/Select/index.mjs";
|
|
|
12
12
|
import Skeleton from "./components/atoms/Skeleton/index.mjs";
|
|
13
13
|
import Spin from "./components/atoms/Spin/index.mjs";
|
|
14
14
|
import Switch from "./components/atoms/Switch/index.mjs";
|
|
15
|
+
import Tag from "./components/atoms/Tag/index.mjs";
|
|
15
16
|
import "./components/atoms/index.mjs";
|
|
16
17
|
import Card from "./components/molecules/Card/index.mjs";
|
|
17
18
|
import Collapse from "./components/molecules/Collapse/index.mjs";
|
|
@@ -33,4 +34,4 @@ import { useConfig } from "./providers/Config/context.mjs";
|
|
|
33
34
|
import Config from "./providers/Config/index.mjs";
|
|
34
35
|
import "./providers/index.mjs";
|
|
35
36
|
|
|
36
|
-
export { Button, Card, Checkbox, Collapse, ColorPicker, Config, Drawer, Dropdown, FloatButton, Input, Layout, List, Marquees, Menu, Modal, Popover, Progress, Radio, Reveals, Select, Skeleton, Space, Spin, Splitter, Swiper, Switch, Typography, useConfig };
|
|
37
|
+
export { Button, Card, Checkbox, Collapse, ColorPicker, Config, Drawer, Dropdown, FloatButton, Input, Layout, List, Marquees, Menu, Modal, Popover, Progress, Radio, Reveals, Select, Skeleton, Space, Spin, Splitter, Swiper, Switch, Tag, Typography, useConfig };
|
package/dist/style.css
CHANGED
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
:root, :host {
|
|
6
6
|
--color-red-400: oklch(70.4% 0.191 22.216);
|
|
7
7
|
--color-yellow-400: oklch(85.2% 0.199 91.936);
|
|
8
|
+
--color-yellow-500: oklch(79.5% 0.184 86.047);
|
|
9
|
+
--color-yellow-600: oklch(68.1% 0.162 75.834);
|
|
8
10
|
--color-green-400: oklch(79.2% 0.209 151.711);
|
|
11
|
+
--color-green-500: oklch(72.3% 0.219 149.579);
|
|
12
|
+
--color-green-600: oklch(62.7% 0.194 149.214);
|
|
9
13
|
--color-blue-400: oklch(70.7% 0.165 254.624);
|
|
10
14
|
--color-gray-200: oklch(92.8% 0.006 264.531);
|
|
11
15
|
--color-black: #000;
|
|
@@ -871,6 +875,9 @@
|
|
|
871
875
|
border-color: color-mix(in oklch,var(--btn-border),transparent 50%);
|
|
872
876
|
}
|
|
873
877
|
}
|
|
878
|
+
.border-border {
|
|
879
|
+
border-color: var(--border);
|
|
880
|
+
}
|
|
874
881
|
.border-border\/60 {
|
|
875
882
|
border-color: var(--border);
|
|
876
883
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -880,9 +887,15 @@
|
|
|
880
887
|
.border-current {
|
|
881
888
|
border-color: currentcolor;
|
|
882
889
|
}
|
|
890
|
+
.border-destructive {
|
|
891
|
+
border-color: var(--destructive);
|
|
892
|
+
}
|
|
883
893
|
.border-gray-200 {
|
|
884
894
|
border-color: var(--color-gray-200);
|
|
885
895
|
}
|
|
896
|
+
.border-green-500 {
|
|
897
|
+
border-color: var(--color-green-500);
|
|
898
|
+
}
|
|
886
899
|
.border-input {
|
|
887
900
|
border-color: var(--input);
|
|
888
901
|
}
|
|
@@ -892,6 +905,9 @@
|
|
|
892
905
|
.border-transparent {
|
|
893
906
|
border-color: transparent;
|
|
894
907
|
}
|
|
908
|
+
.border-yellow-500 {
|
|
909
|
+
border-color: var(--color-yellow-500);
|
|
910
|
+
}
|
|
895
911
|
.bg-\(--btn-bg\) {
|
|
896
912
|
background-color: var(--btn-bg);
|
|
897
913
|
}
|
|
@@ -922,9 +938,24 @@
|
|
|
922
938
|
.bg-border {
|
|
923
939
|
background-color: var(--border);
|
|
924
940
|
}
|
|
941
|
+
.bg-card {
|
|
942
|
+
background-color: var(--card);
|
|
943
|
+
}
|
|
925
944
|
.bg-destructive {
|
|
926
945
|
background-color: var(--destructive);
|
|
927
946
|
}
|
|
947
|
+
.bg-destructive\/10 {
|
|
948
|
+
background-color: var(--destructive);
|
|
949
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
950
|
+
background-color: color-mix(in oklab, var(--destructive) 10%, transparent);
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
.bg-green-500\/10 {
|
|
954
|
+
background-color: color-mix(in srgb, oklch(72.3% 0.219 149.579) 10%, transparent);
|
|
955
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
956
|
+
background-color: color-mix(in oklab, var(--color-green-500) 10%, transparent);
|
|
957
|
+
}
|
|
958
|
+
}
|
|
928
959
|
.bg-inherit {
|
|
929
960
|
background-color: inherit;
|
|
930
961
|
}
|
|
@@ -937,6 +968,12 @@
|
|
|
937
968
|
.bg-primary {
|
|
938
969
|
background-color: var(--primary);
|
|
939
970
|
}
|
|
971
|
+
.bg-primary\/10 {
|
|
972
|
+
background-color: var(--primary);
|
|
973
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
974
|
+
background-color: color-mix(in oklab, var(--primary) 10%, transparent);
|
|
975
|
+
}
|
|
976
|
+
}
|
|
940
977
|
.bg-primary\/20 {
|
|
941
978
|
background-color: var(--primary);
|
|
942
979
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -952,6 +989,12 @@
|
|
|
952
989
|
.bg-white {
|
|
953
990
|
background-color: var(--color-white);
|
|
954
991
|
}
|
|
992
|
+
.bg-yellow-500\/10 {
|
|
993
|
+
background-color: color-mix(in srgb, oklch(79.5% 0.184 86.047) 10%, transparent);
|
|
994
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
995
|
+
background-color: color-mix(in oklab, var(--color-yellow-500) 10%, transparent);
|
|
996
|
+
}
|
|
997
|
+
}
|
|
955
998
|
.fill-primary {
|
|
956
999
|
fill: var(--primary);
|
|
957
1000
|
}
|
|
@@ -982,6 +1025,9 @@
|
|
|
982
1025
|
.px-2 {
|
|
983
1026
|
padding-inline: calc(var(--spacing) * 2);
|
|
984
1027
|
}
|
|
1028
|
+
.px-2\.5 {
|
|
1029
|
+
padding-inline: calc(var(--spacing) * 2.5);
|
|
1030
|
+
}
|
|
985
1031
|
.px-3 {
|
|
986
1032
|
padding-inline: calc(var(--spacing) * 3);
|
|
987
1033
|
}
|
|
@@ -1141,6 +1187,9 @@
|
|
|
1141
1187
|
.text-blue-400 {
|
|
1142
1188
|
color: var(--color-blue-400);
|
|
1143
1189
|
}
|
|
1190
|
+
.text-card-foreground {
|
|
1191
|
+
color: var(--card-foreground);
|
|
1192
|
+
}
|
|
1144
1193
|
.text-current {
|
|
1145
1194
|
color: currentcolor;
|
|
1146
1195
|
}
|
|
@@ -1153,6 +1202,9 @@
|
|
|
1153
1202
|
.text-green-400 {
|
|
1154
1203
|
color: var(--color-green-400);
|
|
1155
1204
|
}
|
|
1205
|
+
.text-green-600 {
|
|
1206
|
+
color: var(--color-green-600);
|
|
1207
|
+
}
|
|
1156
1208
|
.text-muted-foreground {
|
|
1157
1209
|
color: var(--muted-foreground);
|
|
1158
1210
|
}
|
|
@@ -1177,6 +1229,9 @@
|
|
|
1177
1229
|
.text-yellow-400 {
|
|
1178
1230
|
color: var(--color-yellow-400);
|
|
1179
1231
|
}
|
|
1232
|
+
.text-yellow-600 {
|
|
1233
|
+
color: var(--color-yellow-600);
|
|
1234
|
+
}
|
|
1180
1235
|
.underline {
|
|
1181
1236
|
text-decoration-line: underline;
|
|
1182
1237
|
}
|
|
@@ -2581,6 +2636,16 @@
|
|
|
2581
2636
|
}
|
|
2582
2637
|
}
|
|
2583
2638
|
}
|
|
2639
|
+
.dark\:text-green-400 {
|
|
2640
|
+
&:is(.dark *) {
|
|
2641
|
+
color: var(--color-green-400);
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2644
|
+
.dark\:text-yellow-400 {
|
|
2645
|
+
&:is(.dark *) {
|
|
2646
|
+
color: var(--color-yellow-400);
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2584
2649
|
.dark\:hover\:bg-accent\/50 {
|
|
2585
2650
|
&:is(.dark *) {
|
|
2586
2651
|
&:hover {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbpark/ui-kit",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"description": "Modern React UI component library built with TypeScript, Tailwind CSS, and Radix UI. Featuring atoms, molecules, organisms and layout templates for building beautiful interfaces.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|