@tomny-dev/uzi 0.2.5 → 0.2.6-pr.22.68.1.a53abf5
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/auth-card/AuthCard.d.ts +24 -0
- package/dist/components/auth-card/AuthCard.d.ts.map +1 -0
- package/dist/components/auth-card/AuthCard.test.d.ts +2 -0
- package/dist/components/auth-card/AuthCard.test.d.ts.map +1 -0
- package/dist/components/auth-pages/AuthPages.d.ts +58 -0
- package/dist/components/auth-pages/AuthPages.d.ts.map +1 -0
- package/dist/components/auth-pages/AuthPages.test.d.ts +2 -0
- package/dist/components/auth-pages/AuthPages.test.d.ts.map +1 -0
- package/dist/index.cjs +71 -1925
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +27 -1858
- package/dist/index10.cjs +26 -0
- package/dist/index10.cjs.map +1 -0
- package/dist/index10.js +19 -0
- package/dist/index10.js.map +1 -0
- package/dist/index11.cjs +22 -0
- package/dist/index11.cjs.map +1 -0
- package/dist/index11.js +22 -0
- package/dist/index11.js.map +1 -0
- package/dist/index12.cjs +22 -0
- package/dist/index12.cjs.map +1 -0
- package/dist/index12.js +41 -0
- package/dist/index12.js.map +1 -0
- package/dist/index13.cjs +56 -0
- package/dist/index13.cjs.map +1 -0
- package/dist/index13.js +84 -0
- package/dist/index13.js.map +1 -0
- package/dist/index14.cjs +87 -0
- package/dist/index14.cjs.map +1 -0
- package/dist/index14.js +17 -0
- package/dist/index14.js.map +1 -0
- package/dist/index15.cjs +22 -0
- package/dist/index15.cjs.map +1 -0
- package/dist/index15.js +16 -0
- package/dist/index15.js.map +1 -0
- package/dist/index16.cjs +16 -0
- package/dist/index16.cjs.map +1 -0
- package/dist/index16.js +45 -0
- package/dist/index16.js.map +1 -0
- package/dist/index17.cjs +64 -0
- package/dist/index17.cjs.map +1 -0
- package/dist/index17.js +435 -0
- package/dist/index17.js.map +1 -0
- package/dist/index18.cjs +438 -0
- package/dist/index18.cjs.map +1 -0
- package/dist/index18.js +7 -0
- package/dist/index18.js.map +1 -0
- package/dist/index19.cjs +8 -0
- package/dist/index19.cjs.map +1 -0
- package/dist/index19.js +18 -0
- package/dist/index19.js.map +1 -0
- package/dist/index2.cjs +23 -0
- package/dist/index20.cjs +20 -0
- package/dist/index20.cjs.map +1 -0
- package/dist/index20.js +7 -0
- package/dist/index20.js.map +1 -0
- package/dist/index21.cjs +8 -0
- package/dist/index21.cjs.map +1 -0
- package/dist/index21.js +15 -0
- package/dist/index21.js.map +1 -0
- package/dist/index22.cjs +17 -0
- package/dist/index22.cjs.map +1 -0
- package/dist/index22.js +7 -0
- package/dist/index22.js.map +1 -0
- package/dist/index23.cjs +8 -0
- package/dist/index23.cjs.map +1 -0
- package/dist/index23.js +18 -0
- package/dist/index23.js.map +1 -0
- package/dist/index24.cjs +20 -0
- package/dist/index24.cjs.map +1 -0
- package/dist/index24.js +41 -0
- package/dist/index24.js.map +1 -0
- package/dist/index25.cjs +58 -0
- package/dist/index25.cjs.map +1 -0
- package/dist/index25.js +123 -0
- package/dist/index25.js.map +1 -0
- package/dist/index26.cjs +126 -0
- package/dist/index26.cjs.map +1 -0
- package/dist/index26.js +29 -0
- package/dist/index26.js.map +1 -0
- package/dist/index27.cjs +40 -0
- package/dist/index27.cjs.map +1 -0
- package/dist/index27.js +110 -0
- package/dist/index27.js.map +1 -0
- package/dist/index28.cjs +113 -0
- package/dist/index28.cjs.map +1 -0
- package/dist/index28.js +26 -0
- package/dist/index28.js.map +1 -0
- package/dist/index29.cjs +28 -0
- package/dist/index29.cjs.map +1 -0
- package/dist/index29.js +29 -0
- package/dist/index29.js.map +1 -0
- package/dist/index3.js +8 -0
- package/dist/index3.js.map +1 -0
- package/dist/index30.cjs +40 -0
- package/dist/index30.cjs.map +1 -0
- package/dist/index30.js +118 -0
- package/dist/index30.js.map +1 -0
- package/dist/index31.cjs +134 -0
- package/dist/index31.cjs.map +1 -0
- package/dist/index31.js +20 -0
- package/dist/index31.js.map +1 -0
- package/dist/index32.cjs +23 -0
- package/dist/index32.cjs.map +1 -0
- package/dist/index32.js +114 -0
- package/dist/index32.js.map +1 -0
- package/dist/index33.cjs +115 -0
- package/dist/index33.cjs.map +1 -0
- package/dist/index33.js +7 -0
- package/dist/index33.js.map +1 -0
- package/dist/index34.cjs +8 -0
- package/dist/index34.cjs.map +1 -0
- package/dist/index34.js +66 -0
- package/dist/index34.js.map +1 -0
- package/dist/index35.cjs +66 -0
- package/dist/index35.cjs.map +1 -0
- package/dist/index35.js +25 -0
- package/dist/index35.js.map +1 -0
- package/dist/index36.cjs +34 -0
- package/dist/index36.cjs.map +1 -0
- package/dist/index36.js +55 -0
- package/dist/index36.js.map +1 -0
- package/dist/index37.cjs +55 -0
- package/dist/index37.cjs.map +1 -0
- package/dist/index37.js +35 -0
- package/dist/index37.js.map +1 -0
- package/dist/index38.cjs +49 -0
- package/dist/index38.cjs.map +1 -0
- package/dist/index38.js +150 -0
- package/dist/index38.js.map +1 -0
- package/dist/index39.cjs +150 -0
- package/dist/index39.cjs.map +1 -0
- package/dist/index39.js +43 -0
- package/dist/index39.js.map +1 -0
- package/dist/index4.cjs +8 -0
- package/dist/index4.cjs.map +1 -0
- package/dist/index4.js +29 -0
- package/dist/index4.js.map +1 -0
- package/dist/index40.cjs +61 -0
- package/dist/index40.cjs.map +1 -0
- package/dist/index40.js +173 -0
- package/dist/index40.js.map +1 -0
- package/dist/index41.cjs +173 -0
- package/dist/index41.cjs.map +1 -0
- package/dist/index41.js +14 -0
- package/dist/index41.js.map +1 -0
- package/dist/index42.cjs +15 -0
- package/dist/index42.cjs.map +1 -0
- package/dist/index42.js +21 -0
- package/dist/index42.js.map +1 -0
- package/dist/index43.cjs +21 -0
- package/dist/index43.cjs.map +1 -0
- package/dist/index43.js +15 -0
- package/dist/index43.js.map +1 -0
- package/dist/index44.cjs +17 -0
- package/dist/index44.cjs.map +1 -0
- package/dist/index44.js +24 -0
- package/dist/index44.js.map +1 -0
- package/dist/index45.cjs +24 -0
- package/dist/index45.cjs.map +1 -0
- package/dist/index45.js +13 -0
- package/dist/index45.js.map +1 -0
- package/dist/index46.cjs +16 -0
- package/dist/index46.cjs.map +1 -0
- package/dist/index46.js +96 -0
- package/dist/index46.js.map +1 -0
- package/dist/index47.cjs +98 -0
- package/dist/index47.cjs.map +1 -0
- package/dist/index47.js +25 -0
- package/dist/index47.js.map +1 -0
- package/dist/index48.cjs +34 -0
- package/dist/index48.cjs.map +1 -0
- package/dist/index48.js +50 -0
- package/dist/index48.js.map +1 -0
- package/dist/index49.cjs +52 -0
- package/dist/index49.cjs.map +1 -0
- package/dist/index49.js +61 -0
- package/dist/index49.js.map +1 -0
- package/dist/index5.cjs +40 -0
- package/dist/index5.cjs.map +1 -0
- package/dist/index5.js +45 -0
- package/dist/index5.js.map +1 -0
- package/dist/index50.cjs +88 -0
- package/dist/index50.cjs.map +1 -0
- package/dist/index50.js +436 -0
- package/dist/index50.js.map +1 -0
- package/dist/index51.cjs +440 -0
- package/dist/index51.cjs.map +1 -0
- package/dist/index6.cjs +47 -0
- package/dist/index6.cjs.map +1 -0
- package/dist/index6.js +17 -0
- package/dist/index6.js.map +1 -0
- package/dist/index7.cjs +20 -0
- package/dist/index7.cjs.map +1 -0
- package/dist/index7.js +30 -0
- package/dist/index7.js.map +1 -0
- package/dist/index8.cjs +35 -0
- package/dist/index8.cjs.map +1 -0
- package/dist/index8.js +18 -0
- package/dist/index8.js.map +1 -0
- package/dist/index9.cjs +20 -0
- package/dist/index9.cjs.map +1 -0
- package/dist/index9.js +26 -0
- package/dist/index9.js.map +1 -0
- package/dist/style.css +395 -0
- package/package.json +1 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
package/dist/index8.cjs
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const require_runtime = require("./index2.cjs");
|
|
3
|
+
const require_cx = require("./index4.cjs");
|
|
4
|
+
const require_avatar_module = require("./index7.cjs");
|
|
5
|
+
let react = require("react");
|
|
6
|
+
react = require_runtime.__toESM(react, 1);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
let _radix_ui_react_avatar = require("@radix-ui/react-avatar");
|
|
9
|
+
_radix_ui_react_avatar = require_runtime.__toESM(_radix_ui_react_avatar, 1);
|
|
10
|
+
//#region src/components/avatar/Avatar.tsx
|
|
11
|
+
function Avatar({ className, size = "md", ...props }) {
|
|
12
|
+
const sizeClass = size === "sm" ? require_avatar_module.default["size-sm"] : size === "lg" ? require_avatar_module.default["size-lg"] : size === "xl" ? require_avatar_module.default["size-xl"] : require_avatar_module.default["size-md"];
|
|
13
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_avatar.Root, {
|
|
14
|
+
className: require_cx.cx(require_avatar_module.default.avatar, sizeClass, className),
|
|
15
|
+
...props
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function AvatarImage({ className, ...props }) {
|
|
19
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_avatar.Image, {
|
|
20
|
+
className: require_cx.cx(require_avatar_module.default.image, className),
|
|
21
|
+
...props
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function AvatarFallback({ className, ...props }) {
|
|
25
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_avatar.Fallback, {
|
|
26
|
+
className: require_cx.cx(require_avatar_module.default.fallback, className),
|
|
27
|
+
...props
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.Avatar = Avatar;
|
|
32
|
+
exports.AvatarFallback = AvatarFallback;
|
|
33
|
+
exports.AvatarImage = AvatarImage;
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=index8.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index8.cjs","names":[],"sources":["../src/components/avatar/Avatar.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\";\nimport { cx } from \"../../utils/cx\";\nimport styles from \"./avatar.module.css\";\n\nexport type AvatarSize = \"sm\" | \"md\" | \"lg\" | \"xl\";\n\nexport type AvatarProps = React.ComponentProps<typeof AvatarPrimitive.Root> & {\n size?: AvatarSize;\n};\n\nexport function Avatar({\n className,\n size = \"md\",\n ...props\n}: AvatarProps) {\n const sizeClass =\n size === \"sm\" ? styles[\"size-sm\"] : size === \"lg\" ? styles[\"size-lg\"] : size === \"xl\" ? styles[\"size-xl\"] : styles[\"size-md\"];\n\n return (\n <AvatarPrimitive.Root\n className={cx(styles.avatar, sizeClass, className)}\n {...props}\n />\n );\n}\n\nexport function AvatarImage({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Image>) {\n return (\n <AvatarPrimitive.Image\n className={cx(styles.image, className)}\n {...props}\n />\n );\n}\n\nexport function AvatarFallback({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {\n return (\n <AvatarPrimitive.Fallback\n className={cx(styles.fallback, className)}\n {...props}\n />\n );\n}\n"],"mappings":";;;;;;;;;;AAaA,SAAgB,OAAO,EACrB,WACA,OAAO,MACP,GAAG,SACW;CACd,MAAM,YACJ,SAAS,OAAO,sBAAA,QAAO,aAAa,SAAS,OAAO,sBAAA,QAAO,aAAa,SAAS,OAAO,sBAAA,QAAO,aAAa,sBAAA,QAAO;CAErH,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,uBAAgB,MAAjB;EACE,WAAW,WAAA,GAAG,sBAAA,QAAO,QAAQ,WAAW,SAAS;EACjD,GAAI;CACL,CAAA;AAEL;AAEA,SAAgB,YAAY,EAC1B,WACA,GAAG,SACkD;CACrD,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,uBAAgB,OAAjB;EACE,WAAW,WAAA,GAAG,sBAAA,QAAO,OAAO,SAAS;EACrC,GAAI;CACL,CAAA;AAEL;AAEA,SAAgB,eAAe,EAC7B,WACA,GAAG,SACqD;CACxD,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,uBAAgB,UAAjB;EACE,WAAW,WAAA,GAAG,sBAAA,QAAO,UAAU,SAAS;EACxC,GAAI;CACL,CAAA;AAEL"}
|
package/dist/index8.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/components/card/card.module.css
|
|
2
|
+
var card = "uzi-card-module__card__ZPFTz";
|
|
3
|
+
var interactive = "uzi-card-module__interactive__zlPML";
|
|
4
|
+
var card_module_default = {
|
|
5
|
+
card,
|
|
6
|
+
"tone-default": "uzi-card-module__tone-default__7Ujf9",
|
|
7
|
+
"tone-muted": "uzi-card-module__tone-muted__RQy5B",
|
|
8
|
+
"tone-contrast": "uzi-card-module__tone-contrast__JpFxL",
|
|
9
|
+
interactive,
|
|
10
|
+
"padding-none": "uzi-card-module__padding-none__LXdx-",
|
|
11
|
+
"padding-sm": "uzi-card-module__padding-sm__-Ub1s",
|
|
12
|
+
"padding-md": "uzi-card-module__padding-md__kUf46",
|
|
13
|
+
"padding-lg": "uzi-card-module__padding-lg__a5mWP"
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { card, card_module_default as default, interactive };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=index8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index8.js","names":[],"sources":["../src/components/card/card.module.css"],"sourcesContent":[".card {\n position: relative;\n overflow: visible;\n border-radius: var(--ts-card-radius, 12px);\n border: 1px solid var(--ts-card-border, var(--border));\n background: var(--ts-card-bg, var(--panel));\n color: var(--ts-card-fg, var(--foreground));\n box-shadow: var(--ts-card-shadow, 0 16px 36px rgba(0, 0, 0, 0.28));\n padding: var(--ts-card-padding, 16px);\n transition:\n transform 140ms ease,\n box-shadow 140ms ease,\n border-color 140ms ease,\n background-color 140ms ease;\n}\n\n.tone-default {\n --ts-card-bg: var(--panel);\n --ts-card-border: var(--border);\n --ts-card-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);\n}\n\n.tone-muted {\n --ts-card-bg: var(--muted);\n --ts-card-border: var(--border);\n --ts-card-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);\n}\n\n.tone-contrast {\n --ts-card-bg: var(--ts-card-contrast-bg, color-mix(in srgb, var(--background) 60%, black));\n --ts-card-border: var(--border);\n --ts-card-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);\n}\n\n.interactive {\n cursor: default;\n}\n\n.interactive:hover {\n transform: translateY(-1px);\n box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);\n border-color: var(--ts-card-hover-border, color-mix(in srgb, var(--primary) 40%, transparent));\n}\n\n.interactive:focus-within {\n outline: var(--focus-ring);\n outline-offset: var(--focus-ring-offset);\n}\n\n.padding-none { --ts-card-padding: 0; }\n.padding-sm { --ts-card-padding: 10px; }\n.padding-md { --ts-card-padding: 16px; }\n.padding-lg { --ts-card-padding: 20px; }\n"],"mappings":""}
|
package/dist/index9.cjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region src/components/card/card.module.css
|
|
2
|
+
var card = "uzi-card-module__card__ZPFTz";
|
|
3
|
+
var interactive = "uzi-card-module__interactive__zlPML";
|
|
4
|
+
var card_module_default = {
|
|
5
|
+
card,
|
|
6
|
+
"tone-default": "uzi-card-module__tone-default__7Ujf9",
|
|
7
|
+
"tone-muted": "uzi-card-module__tone-muted__RQy5B",
|
|
8
|
+
"tone-contrast": "uzi-card-module__tone-contrast__JpFxL",
|
|
9
|
+
interactive,
|
|
10
|
+
"padding-none": "uzi-card-module__padding-none__LXdx-",
|
|
11
|
+
"padding-sm": "uzi-card-module__padding-sm__-Ub1s",
|
|
12
|
+
"padding-md": "uzi-card-module__padding-md__kUf46",
|
|
13
|
+
"padding-lg": "uzi-card-module__padding-lg__a5mWP"
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.card = card;
|
|
17
|
+
exports.default = card_module_default;
|
|
18
|
+
exports.interactive = interactive;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=index9.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index9.cjs","names":[],"sources":["../src/components/card/card.module.css"],"sourcesContent":[".card {\n position: relative;\n overflow: visible;\n border-radius: var(--ts-card-radius, 12px);\n border: 1px solid var(--ts-card-border, var(--border));\n background: var(--ts-card-bg, var(--panel));\n color: var(--ts-card-fg, var(--foreground));\n box-shadow: var(--ts-card-shadow, 0 16px 36px rgba(0, 0, 0, 0.28));\n padding: var(--ts-card-padding, 16px);\n transition:\n transform 140ms ease,\n box-shadow 140ms ease,\n border-color 140ms ease,\n background-color 140ms ease;\n}\n\n.tone-default {\n --ts-card-bg: var(--panel);\n --ts-card-border: var(--border);\n --ts-card-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);\n}\n\n.tone-muted {\n --ts-card-bg: var(--muted);\n --ts-card-border: var(--border);\n --ts-card-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);\n}\n\n.tone-contrast {\n --ts-card-bg: var(--ts-card-contrast-bg, color-mix(in srgb, var(--background) 60%, black));\n --ts-card-border: var(--border);\n --ts-card-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);\n}\n\n.interactive {\n cursor: default;\n}\n\n.interactive:hover {\n transform: translateY(-1px);\n box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);\n border-color: var(--ts-card-hover-border, color-mix(in srgb, var(--primary) 40%, transparent));\n}\n\n.interactive:focus-within {\n outline: var(--focus-ring);\n outline-offset: var(--focus-ring-offset);\n}\n\n.padding-none { --ts-card-padding: 0; }\n.padding-sm { --ts-card-padding: 10px; }\n.padding-md { --ts-card-padding: 16px; }\n.padding-lg { --ts-card-padding: 20px; }\n"],"mappings":""}
|
package/dist/index9.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { cx } from "./index3.js";
|
|
2
|
+
import card_module_default from "./index8.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/card/Card.tsx
|
|
5
|
+
function Card({ as, tone = "default", padding = "md", interactive = false, className, children, ...rest }) {
|
|
6
|
+
const Component = as ?? "div";
|
|
7
|
+
const TONE_CLASS = {
|
|
8
|
+
default: null,
|
|
9
|
+
muted: "tone-muted",
|
|
10
|
+
contrast: "tone-contrast"
|
|
11
|
+
};
|
|
12
|
+
return /* @__PURE__ */ jsx(Component, {
|
|
13
|
+
className: cx(card_module_default.card, TONE_CLASS[tone] ? card_module_default[TONE_CLASS[tone]] : null, card_module_default[{
|
|
14
|
+
none: "padding-none",
|
|
15
|
+
sm: "padding-sm",
|
|
16
|
+
md: "padding-md",
|
|
17
|
+
lg: "padding-lg"
|
|
18
|
+
}[padding]], interactive && card_module_default.interactive, className),
|
|
19
|
+
...rest,
|
|
20
|
+
children
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Card };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=index9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index9.js","names":[],"sources":["../src/components/card/Card.tsx"],"sourcesContent":["/**\n * Lightweight container component used for panels across the app.\n *\n * @remarks\n * Supports tone variants, padding presets, and an optional interactive affordance.\n *\n * @param props.as - Semantic element to render (defaults to `div`).\n * @param props.tone - Visual tone variant.\n * @param props.padding - Padding preset.\n * @param props.interactive - Enables hover/focus affordance.\n */\nimport type { HTMLAttributes } from \"react\";\nimport { cx } from \"../../utils/cx\";\nimport styles from \"./card.module.css\";\n\nexport type CardTone = \"default\" | \"muted\" | \"contrast\";\nexport type CardPadding = \"none\" | \"sm\" | \"md\" | \"lg\";\n\ntype CardElement = \"div\" | \"section\" | \"article\";\n\nexport type CardProps = HTMLAttributes<HTMLElement> & {\n /** Optional semantic element type. Defaults to `div`. */\n as?: CardElement;\n /** Visual tone; drives background/border CSS vars. */\n tone?: CardTone;\n /** Padding preset; maps to CSS variables so consumers can override globally. */\n padding?: CardPadding;\n /** Adds hover/focus affordance (lift + outline). */\n interactive?: boolean;\n};\n\nexport function Card({\n as,\n tone = \"default\",\n padding = \"md\",\n interactive = false,\n className,\n children,\n ...rest\n}: CardProps) {\n const Component: CardElement = as ?? \"div\";\n const TONE_CLASS: Record<CardTone, string | null> = { default: null, muted: \"tone-muted\", contrast: \"tone-contrast\" };\n const PADDING_CLASS: Record<CardPadding, string> = { none: \"padding-none\", sm: \"padding-sm\", md: \"padding-md\", lg: \"padding-lg\" };\n const classes = cx(\n styles.card,\n TONE_CLASS[tone] ? styles[TONE_CLASS[tone]] : null,\n styles[PADDING_CLASS[padding]],\n interactive && styles.interactive,\n className,\n );\n\n return (\n <Component className={classes} {...rest}>\n {children}\n </Component>\n );\n}\n"],"mappings":";;;;AA+BA,SAAgB,KAAK,EACnB,IACA,OAAO,WACP,UAAU,MACV,cAAc,OACd,WACA,UACA,GAAG,QACS;CACZ,MAAM,YAAyB,MAAM;CACrC,MAAM,aAA8C;EAAE,SAAS;EAAM,OAAO;EAAc,UAAU;CAAgB;CAUpH,OACE,oBAAC,WAAD;EAAW,WATG,GACd,oBAAO,MACP,WAAW,QAAQ,oBAAO,WAAW,SAAS,MAC9C,oBAAO;GAJ4C,MAAM;GAAgB,IAAI;GAAc,IAAI;GAAc,IAAI;EAI1G,EAAc,WACrB,eAAe,oBAAO,aACtB,SAIsB;EAAS,GAAI;EAChC;CACQ,CAAA;AAEf"}
|
package/dist/style.css
CHANGED
|
@@ -2023,4 +2023,399 @@ button.uzi-sidebar-nav-module__item__uMHkJ {
|
|
|
2023
2023
|
outline: var(--focus-ring);
|
|
2024
2024
|
outline-offset: var(--focus-ring-offset);
|
|
2025
2025
|
}
|
|
2026
|
+
.uzi-auth-card-module__authLayout__GHr1j {
|
|
2027
|
+
display: flex;
|
|
2028
|
+
align-items: center;
|
|
2029
|
+
justify-content: center;
|
|
2030
|
+
min-height: 100vh;
|
|
2031
|
+
min-height: 100dvh;
|
|
2032
|
+
padding: 24px;
|
|
2033
|
+
background: var(--background);
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2036
|
+
.uzi-auth-card-module__authCard__ZYYit {
|
|
2037
|
+
width: 100%;
|
|
2038
|
+
max-width: 400px;
|
|
2039
|
+
border-radius: var(--ts-card-radius, 12px);
|
|
2040
|
+
border: 1px solid var(--ts-card-border, var(--border));
|
|
2041
|
+
background: var(--ts-card-bg, var(--panel));
|
|
2042
|
+
color: var(--ts-card-fg, var(--foreground));
|
|
2043
|
+
box-shadow: var(--ts-card-shadow, 0 16px 36px rgba(0, 0, 0, 0.28));
|
|
2044
|
+
padding: 20px;
|
|
2045
|
+
display: flex;
|
|
2046
|
+
flex-direction: column;
|
|
2047
|
+
gap: 16px;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
.uzi-auth-card-module__authBrand__ZCDVm {
|
|
2051
|
+
display: flex;
|
|
2052
|
+
justify-content: center;
|
|
2053
|
+
margin-bottom: 4px;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
.uzi-auth-card-module__authBrand__ZCDVm svg {
|
|
2057
|
+
width: 40px;
|
|
2058
|
+
height: 40px;
|
|
2059
|
+
color: var(--primary);
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
.uzi-auth-card-module__authHeader__NB6UQ {
|
|
2063
|
+
text-align: center;
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
.uzi-auth-card-module__authTitle__VtHLn {
|
|
2067
|
+
font-size: 1.25rem;
|
|
2068
|
+
font-weight: 600;
|
|
2069
|
+
line-height: 1.4;
|
|
2070
|
+
margin: 0;
|
|
2071
|
+
color: var(--foreground);
|
|
2072
|
+
}
|
|
2073
|
+
|
|
2074
|
+
.uzi-auth-card-module__authSubtitle__ZupId {
|
|
2075
|
+
font-size: 0.875rem;
|
|
2076
|
+
color: var(--muted-foreground);
|
|
2077
|
+
margin-top: 4px;
|
|
2078
|
+
margin-bottom: 0;
|
|
2079
|
+
line-height: 1.4;
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
.uzi-auth-card-module__authBody__PTyaL {
|
|
2083
|
+
display: flex;
|
|
2084
|
+
flex-direction: column;
|
|
2085
|
+
gap: 14px;
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
.uzi-auth-card-module__divider__D8r12 {
|
|
2089
|
+
border: none;
|
|
2090
|
+
border-top: 1px solid var(--border);
|
|
2091
|
+
margin: 0;
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
.uzi-auth-card-module__authFooter__C5s-- {
|
|
2095
|
+
text-align: center;
|
|
2096
|
+
font-size: 0.875rem;
|
|
2097
|
+
color: var(--muted-foreground);
|
|
2098
|
+
margin: 0;
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
.uzi-auth-card-module__authFooter__C5s-- a {
|
|
2102
|
+
color: var(--primary);
|
|
2103
|
+
text-decoration: none;
|
|
2104
|
+
font-weight: 500;
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
.uzi-auth-card-module__authFooter__C5s-- a:hover {
|
|
2108
|
+
text-decoration: underline;
|
|
2109
|
+
}
|
|
2110
|
+
/* ── Layout ── */
|
|
2111
|
+
.uzi-auth-pages-module__authLayout__i-FlB {
|
|
2112
|
+
display: flex;
|
|
2113
|
+
align-items: center;
|
|
2114
|
+
justify-content: center;
|
|
2115
|
+
min-height: 100vh;
|
|
2116
|
+
min-height: 100dvh;
|
|
2117
|
+
padding: 24px;
|
|
2118
|
+
background: var(--background);
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2121
|
+
.uzi-auth-pages-module__authCard__toOGS {
|
|
2122
|
+
width: 100%;
|
|
2123
|
+
max-width: 400px;
|
|
2124
|
+
border-radius: var(--ts-card-radius, 12px);
|
|
2125
|
+
border: 1px solid var(--ts-card-border, var(--border));
|
|
2126
|
+
background: var(--ts-card-bg, var(--card));
|
|
2127
|
+
color: var(--ts-card-fg, var(--foreground));
|
|
2128
|
+
box-shadow: var(--ts-card-shadow, 0 16px 36px rgba(0, 0, 0, 0.28));
|
|
2129
|
+
padding: 20px;
|
|
2130
|
+
display: flex;
|
|
2131
|
+
flex-direction: column;
|
|
2132
|
+
gap: 16px;
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
.uzi-auth-pages-module__authBrand__7yOdw {
|
|
2136
|
+
display: flex;
|
|
2137
|
+
justify-content: center;
|
|
2138
|
+
margin-bottom: 4px;
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
.uzi-auth-pages-module__authBrand__7yOdw svg {
|
|
2142
|
+
width: 40px;
|
|
2143
|
+
height: 40px;
|
|
2144
|
+
color: var(--primary);
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
.uzi-auth-pages-module__authHeader__V-wcl {
|
|
2148
|
+
text-align: center;
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
.uzi-auth-pages-module__authTitle__1bgLI {
|
|
2152
|
+
font-size: 1.25rem;
|
|
2153
|
+
font-weight: 600;
|
|
2154
|
+
line-height: 1.4;
|
|
2155
|
+
margin: 0;
|
|
2156
|
+
color: var(--foreground);
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2159
|
+
.uzi-auth-pages-module__authSubtitle__sGXxg {
|
|
2160
|
+
font-size: 0.875rem;
|
|
2161
|
+
color: var(--muted-foreground);
|
|
2162
|
+
margin-top: 4px;
|
|
2163
|
+
margin-bottom: 0;
|
|
2164
|
+
line-height: 1.4;
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
/* ── Form ── */
|
|
2168
|
+
.uzi-auth-pages-module__authForm__4MucP {
|
|
2169
|
+
display: flex;
|
|
2170
|
+
flex-direction: column;
|
|
2171
|
+
gap: 14px;
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
/* ── Field ── */
|
|
2175
|
+
.uzi-auth-pages-module__field__Ajl6w {
|
|
2176
|
+
display: flex;
|
|
2177
|
+
flex-direction: column;
|
|
2178
|
+
gap: 4px;
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
.uzi-auth-pages-module__label__MdsqJ {
|
|
2182
|
+
font-size: 0.875rem;
|
|
2183
|
+
font-weight: 500;
|
|
2184
|
+
line-height: 1.2;
|
|
2185
|
+
color: var(--foreground);
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
.uzi-auth-pages-module__input__yijT9 {
|
|
2189
|
+
display: flex;
|
|
2190
|
+
width: 100%;
|
|
2191
|
+
min-height: 2.25rem;
|
|
2192
|
+
border-radius: 0.5rem;
|
|
2193
|
+
border: 1px solid var(--input);
|
|
2194
|
+
background: var(--background);
|
|
2195
|
+
color: var(--foreground);
|
|
2196
|
+
padding: 0.25rem 0.75rem;
|
|
2197
|
+
font-size: 0.875rem;
|
|
2198
|
+
line-height: 1.25rem;
|
|
2199
|
+
box-shadow: var(--ts-input-shadow, 0 1px 2px rgba(0, 0, 0, 0.04));
|
|
2200
|
+
transition: border-color 0.15s ease, background 0.15s ease;
|
|
2201
|
+
font-family: inherit;
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
.uzi-auth-pages-module__input__yijT9::placeholder {
|
|
2205
|
+
color: var(--muted-foreground);
|
|
2206
|
+
}
|
|
2207
|
+
|
|
2208
|
+
.uzi-auth-pages-module__input__yijT9:focus-visible {
|
|
2209
|
+
outline: var(--focus-ring);
|
|
2210
|
+
outline-offset: var(--focus-ring-offset);
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
.uzi-auth-pages-module__input__yijT9:disabled {
|
|
2214
|
+
cursor: not-allowed;
|
|
2215
|
+
opacity: 0.5;
|
|
2216
|
+
}
|
|
2217
|
+
|
|
2218
|
+
/* ── Error ── */
|
|
2219
|
+
.uzi-auth-pages-module__error__7Mhyi {
|
|
2220
|
+
font-size: 0.8rem;
|
|
2221
|
+
color: var(--destructive);
|
|
2222
|
+
margin-top: 2px;
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
/* ── Password wrapper ── */
|
|
2226
|
+
.uzi-auth-pages-module__passwordWrapper__P0bez {
|
|
2227
|
+
position: relative;
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
.uzi-auth-pages-module__passwordWrapper__P0bez .uzi-auth-pages-module__input__yijT9 {
|
|
2231
|
+
padding-right: 2.5rem;
|
|
2232
|
+
}
|
|
2233
|
+
|
|
2234
|
+
.uzi-auth-pages-module__toggle__T7HaZ {
|
|
2235
|
+
position: absolute;
|
|
2236
|
+
right: 0.5rem;
|
|
2237
|
+
top: 50%;
|
|
2238
|
+
transform: translateY(-50%);
|
|
2239
|
+
background: none;
|
|
2240
|
+
border: none;
|
|
2241
|
+
padding: 0.25rem;
|
|
2242
|
+
cursor: pointer;
|
|
2243
|
+
color: var(--muted-foreground);
|
|
2244
|
+
border-radius: 4px;
|
|
2245
|
+
transition: color 0.15s, background 0.15s;
|
|
2246
|
+
display: flex;
|
|
2247
|
+
align-items: center;
|
|
2248
|
+
justify-content: center;
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
.uzi-auth-pages-module__toggle__T7HaZ:hover {
|
|
2252
|
+
color: var(--foreground);
|
|
2253
|
+
background: var(--accent);
|
|
2254
|
+
}
|
|
2255
|
+
|
|
2256
|
+
.uzi-auth-pages-module__toggle__T7HaZ:focus-visible {
|
|
2257
|
+
outline: var(--focus-ring);
|
|
2258
|
+
outline-offset: var(--focus-ring-offset);
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
.uzi-auth-pages-module__eyeIcon__ab2Ts {
|
|
2262
|
+
width: 1.125rem;
|
|
2263
|
+
height: 1.125rem;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
/* ── Checkbox row ── */
|
|
2267
|
+
.uzi-auth-pages-module__checkboxRow__Rq-84 {
|
|
2268
|
+
display: flex;
|
|
2269
|
+
align-items: center;
|
|
2270
|
+
justify-content: space-between;
|
|
2271
|
+
gap: 8px;
|
|
2272
|
+
flex-wrap: wrap;
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
.uzi-auth-pages-module__checkboxLabel__poKs- {
|
|
2276
|
+
display: flex;
|
|
2277
|
+
align-items: center;
|
|
2278
|
+
gap: 8px;
|
|
2279
|
+
font-size: 0.875rem;
|
|
2280
|
+
color: var(--foreground);
|
|
2281
|
+
cursor: pointer;
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
.uzi-auth-pages-module__checkbox__KOQQe {
|
|
2285
|
+
width: 1rem;
|
|
2286
|
+
height: 1rem;
|
|
2287
|
+
accent-color: var(--primary);
|
|
2288
|
+
border-radius: 4px;
|
|
2289
|
+
cursor: pointer;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
.uzi-auth-pages-module__checkbox__KOQQe:focus-visible {
|
|
2293
|
+
outline: var(--focus-ring);
|
|
2294
|
+
outline-offset: var(--focus-ring-offset);
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
.uzi-auth-pages-module__forgotLink__5q-vL {
|
|
2298
|
+
font-size: 0.875rem;
|
|
2299
|
+
color: var(--primary);
|
|
2300
|
+
text-decoration: none;
|
|
2301
|
+
font-weight: 500;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
.uzi-auth-pages-module__forgotLink__5q-vL:hover {
|
|
2305
|
+
text-decoration: underline;
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
.uzi-auth-pages-module__checkboxLink__kAkKg {
|
|
2309
|
+
color: var(--primary);
|
|
2310
|
+
text-decoration: none;
|
|
2311
|
+
font-weight: 500;
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
.uzi-auth-pages-module__checkboxLink__kAkKg:hover {
|
|
2315
|
+
text-decoration: underline;
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
/* ── Submit button ── */
|
|
2319
|
+
.uzi-auth-pages-module__submitButton__mlGxT {
|
|
2320
|
+
display: inline-flex;
|
|
2321
|
+
align-items: center;
|
|
2322
|
+
justify-content: center;
|
|
2323
|
+
gap: 8px;
|
|
2324
|
+
font-family: inherit;
|
|
2325
|
+
font-weight: 600;
|
|
2326
|
+
border-radius: 8px;
|
|
2327
|
+
border: 1px solid transparent;
|
|
2328
|
+
cursor: pointer;
|
|
2329
|
+
text-decoration: none;
|
|
2330
|
+
transition: opacity 0.15s, border-color 0.15s, color 0.15s, background 0.15s;
|
|
2331
|
+
white-space: nowrap;
|
|
2332
|
+
line-height: 1;
|
|
2333
|
+
font-size: 0.95rem;
|
|
2334
|
+
min-height: 2.25rem;
|
|
2335
|
+
padding: 10px 22px;
|
|
2336
|
+
background: var(--primary);
|
|
2337
|
+
color: var(--primary-foreground);
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2340
|
+
.uzi-auth-pages-module__submitButton__mlGxT:focus-visible {
|
|
2341
|
+
outline: var(--focus-ring);
|
|
2342
|
+
outline-offset: var(--focus-ring-offset);
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
.uzi-auth-pages-module__submitButton__mlGxT:disabled {
|
|
2346
|
+
opacity: 0.45;
|
|
2347
|
+
cursor: not-allowed;
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
.uzi-auth-pages-module__submitButton__mlGxT:hover:not(:disabled) {
|
|
2351
|
+
opacity: 0.88;
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
/* ── Spinner ── */
|
|
2355
|
+
.uzi-auth-pages-module__spinner__seK4F {
|
|
2356
|
+
width: 1rem;
|
|
2357
|
+
height: 1rem;
|
|
2358
|
+
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
2359
|
+
border-top-color: white;
|
|
2360
|
+
border-radius: 50%;
|
|
2361
|
+
animation: uzi-auth-pages-module__spin__hYpWH 0.6s linear infinite;
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
@keyframes uzi-auth-pages-module__spin__hYpWH {
|
|
2365
|
+
to { transform: rotate(360deg); }
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2368
|
+
/* ── Divider ── */
|
|
2369
|
+
.uzi-auth-pages-module__divider__Debmu {
|
|
2370
|
+
border: none;
|
|
2371
|
+
border-top: 1px solid var(--border);
|
|
2372
|
+
margin: 0;
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
/* ── Footer ── */
|
|
2376
|
+
.uzi-auth-pages-module__authFooter__SEaGh {
|
|
2377
|
+
text-align: center;
|
|
2378
|
+
font-size: 0.875rem;
|
|
2379
|
+
color: var(--muted-foreground);
|
|
2380
|
+
margin: 0;
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
.uzi-auth-pages-module__authFooter__SEaGh a {
|
|
2384
|
+
color: var(--primary);
|
|
2385
|
+
text-decoration: none;
|
|
2386
|
+
font-weight: 500;
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
.uzi-auth-pages-module__authFooter__SEaGh a:hover {
|
|
2390
|
+
text-decoration: underline;
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
/* ── Sent state ── */
|
|
2394
|
+
.uzi-auth-pages-module__sentMessage__vLBoY {
|
|
2395
|
+
text-align: center;
|
|
2396
|
+
display: flex;
|
|
2397
|
+
flex-direction: column;
|
|
2398
|
+
gap: 12px;
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
.uzi-auth-pages-module__sentText__qyJkF {
|
|
2402
|
+
font-size: 0.875rem;
|
|
2403
|
+
color: var(--foreground);
|
|
2404
|
+
line-height: 1.5;
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
.uzi-auth-pages-module__sentText__qyJkF strong {
|
|
2408
|
+
font-weight: 600;
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
.uzi-auth-pages-module__backLink__ezB3X {
|
|
2412
|
+
font-size: 0.875rem;
|
|
2413
|
+
color: var(--primary);
|
|
2414
|
+
text-decoration: none;
|
|
2415
|
+
font-weight: 500;
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
.uzi-auth-pages-module__backLink__ezB3X:hover {
|
|
2419
|
+
text-decoration: underline;
|
|
2420
|
+
}
|
|
2026
2421
|
/*$vite$:1*/
|