@adamosuiteservices/ui 2.13.1 → 2.13.3
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/ui/file-upload/file-upload.d.ts +11 -3
- package/dist/components/ui/slider/slider.d.ts +5 -2
- package/dist/components/ui/typography/typography.d.ts +1 -1
- package/dist/file-upload.cjs +6 -18
- package/dist/file-upload.js +264 -134
- package/dist/slider.cjs +6 -7
- package/dist/slider.js +191 -177
- package/dist/styles.css +1 -1
- package/dist/typography-Bj8oEDuE.cjs +1 -0
- package/dist/typography-MnY0LQoZ.js +50 -0
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/docs/AI-GUIDE.md +321 -321
- package/docs/components/layout/sidebar.md +399 -399
- package/docs/components/layout/toaster.md +436 -436
- package/docs/components/ui/accordion-rounded.md +584 -584
- package/docs/components/ui/accordion.md +269 -269
- package/docs/components/ui/calendar.md +1159 -1159
- package/docs/components/ui/card.md +1455 -1455
- package/docs/components/ui/checkbox.md +292 -292
- package/docs/components/ui/collapsible.md +323 -323
- package/docs/components/ui/dialog.md +628 -628
- package/docs/components/ui/field.md +706 -706
- package/docs/components/ui/file-upload.md +475 -66
- package/docs/components/ui/hover-card.md +446 -446
- package/docs/components/ui/kbd.md +434 -434
- package/docs/components/ui/label.md +359 -359
- package/docs/components/ui/pagination.md +650 -650
- package/docs/components/ui/popover.md +536 -536
- package/docs/components/ui/progress.md +182 -182
- package/docs/components/ui/radio-group.md +311 -311
- package/docs/components/ui/separator.md +214 -214
- package/docs/components/ui/sheet.md +174 -174
- package/docs/components/ui/skeleton.md +140 -140
- package/docs/components/ui/slider.md +460 -341
- package/docs/components/ui/spinner.md +170 -170
- package/docs/components/ui/switch.md +408 -408
- package/docs/components/ui/tabs-underline.md +106 -106
- package/docs/components/ui/tabs.md +122 -122
- package/docs/components/ui/textarea.md +243 -243
- package/docs/components/ui/toggle.md +237 -237
- package/docs/components/ui/tooltip.md +317 -317
- package/docs/components/ui/typography.md +320 -280
- package/package.json +1 -1
- package/dist/typography-9EoV0kcN.js +0 -44
- package/dist/typography-DqQZZpkD.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";const d=require("./jsx-runtime-BB_1_6y_.cjs"),i=require("./index-CjyiloO7.cjs"),o=require("./index-DoxiiusW.cjs"),m=require("./index-BTzZJcis.cjs"),c=m.cva("",{variants:{variant:{sm:"adm:text-sm",md:"adm:text-base",lg:"adm:text-lg",xs:"adm:text-xs",caption:"adm:text-[11px]"},color:{default:"adm:text-foreground",muted:"adm:text-muted-foreground",primary:"adm:text-primary",waiting:"adm:text-waiting",success:"adm:text-success",warning:"adm:text-warning",destructive:"adm:text-destructive",secondary:"adm:text-secondary-foreground"}},defaultVariants:{variant:"sm",color:"default"}});function u({className:t,variant:e,color:a,asChild:r=!1,...s}){const n=r?i.Slot:"p";return d.jsxRuntimeExports.jsx(n,{"data-slot":"typography",className:o.cn(c({variant:e,color:a,className:t})),...s})}exports.Typography=u;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as o } from "./jsx-runtime-BzflLqGi.js";
|
|
3
|
+
import { S as d } from "./index-BvLQnI56.js";
|
|
4
|
+
import { c as n } from "./index-CRiPKpXj.js";
|
|
5
|
+
import { c as i } from "./index-BqtVL8d-.js";
|
|
6
|
+
const c = i("", {
|
|
7
|
+
variants: {
|
|
8
|
+
variant: {
|
|
9
|
+
sm: "adm:text-sm",
|
|
10
|
+
md: "adm:text-base",
|
|
11
|
+
lg: "adm:text-lg",
|
|
12
|
+
xs: "adm:text-xs",
|
|
13
|
+
caption: "adm:text-[11px]"
|
|
14
|
+
},
|
|
15
|
+
color: {
|
|
16
|
+
default: "adm:text-foreground",
|
|
17
|
+
muted: "adm:text-muted-foreground",
|
|
18
|
+
primary: "adm:text-primary",
|
|
19
|
+
waiting: "adm:text-waiting",
|
|
20
|
+
success: "adm:text-success",
|
|
21
|
+
warning: "adm:text-warning",
|
|
22
|
+
destructive: "adm:text-destructive",
|
|
23
|
+
secondary: "adm:text-secondary-foreground"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
defaultVariants: {
|
|
27
|
+
variant: "sm",
|
|
28
|
+
color: "default"
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
function g({
|
|
32
|
+
className: t,
|
|
33
|
+
variant: a,
|
|
34
|
+
color: r,
|
|
35
|
+
asChild: e = !1,
|
|
36
|
+
...s
|
|
37
|
+
}) {
|
|
38
|
+
const m = e ? d : "p";
|
|
39
|
+
return /* @__PURE__ */ o.jsx(
|
|
40
|
+
m,
|
|
41
|
+
{
|
|
42
|
+
"data-slot": "typography",
|
|
43
|
+
className: n(c({ variant: a, color: r, className: t })),
|
|
44
|
+
...s
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
export {
|
|
49
|
+
g as T
|
|
50
|
+
};
|
package/dist/typography.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./typography-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./typography-Bj8oEDuE.cjs");exports.Typography=e.Typography;
|
package/dist/typography.js
CHANGED