@ac-design/design-system 2.4.4 → 2.5.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/dist/lib/compat.css +20 -14
- package/dist/lib/components/AcNavbar.vue_vue_type_script_setup_true_lang.js +25 -24
- package/dist/lib/components/AcProductTag.js +5 -0
- package/dist/lib/components/AcProductTag.vue.d.ts +7 -0
- package/dist/lib/components/AcProductTag.vue_vue_type_script_setup_true_lang.js +15 -0
- package/dist/lib/components/AcSidebarBrand.js +5 -0
- package/dist/lib/components/AcSidebarBrand.vue.d.ts +27 -0
- package/dist/lib/components/AcSidebarBrand.vue_vue_type_script_setup_true_lang.js +76 -0
- package/dist/lib/components/AcSwitch.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/lib/components/index.d.ts +2 -0
- package/dist/lib/index.js +45 -43
- package/package.json +1 -1
package/dist/lib/compat.css
CHANGED
|
@@ -1260,6 +1260,12 @@ button:is([data-ac-ds], [data-ac-ds] *), input:where([type="button"], [type="res
|
|
|
1260
1260
|
.max-w-250:where([data-ac-ds], [data-ac-ds] *) {
|
|
1261
1261
|
max-width: calc(var(--spacing) * 250) !important;
|
|
1262
1262
|
}
|
|
1263
|
+
.max-w-\[135px\]:where([data-ac-ds], [data-ac-ds] *) {
|
|
1264
|
+
max-width: 135px !important;
|
|
1265
|
+
}
|
|
1266
|
+
.max-w-\[146px\]:where([data-ac-ds], [data-ac-ds] *) {
|
|
1267
|
+
max-width: 146px !important;
|
|
1268
|
+
}
|
|
1263
1269
|
.max-w-\[280px\]:where([data-ac-ds], [data-ac-ds] *) {
|
|
1264
1270
|
max-width: 280px !important;
|
|
1265
1271
|
}
|
|
@@ -1356,6 +1362,9 @@ button:is([data-ac-ds], [data-ac-ds] *), input:where([type="button"], [type="res
|
|
|
1356
1362
|
.grow:where([data-ac-ds], [data-ac-ds] *) {
|
|
1357
1363
|
flex-grow: 1 !important;
|
|
1358
1364
|
}
|
|
1365
|
+
.basis-\[80px\]:where([data-ac-ds], [data-ac-ds] *) {
|
|
1366
|
+
flex-basis: 80px !important;
|
|
1367
|
+
}
|
|
1359
1368
|
.basis-\[240px\]:where([data-ac-ds], [data-ac-ds] *) {
|
|
1360
1369
|
flex-basis: 240px !important;
|
|
1361
1370
|
}
|
|
@@ -2084,9 +2093,6 @@ button:is([data-ac-ds], [data-ac-ds] *), input:where([type="button"], [type="res
|
|
|
2084
2093
|
border-color: color-mix(in oklab, var(--color-primary) 40%, transparent) !important;
|
|
2085
2094
|
}
|
|
2086
2095
|
}
|
|
2087
|
-
.border-slate-70:where([data-ac-ds], [data-ac-ds] *) {
|
|
2088
|
-
border-color: var(--color-slate-70) !important;
|
|
2089
|
-
}
|
|
2090
2096
|
.border-success\/25:where([data-ac-ds], [data-ac-ds] *) {
|
|
2091
2097
|
border-color: color-mix(in srgb, #00a651 25%, transparent) !important;
|
|
2092
2098
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2132,9 +2138,6 @@ button:is([data-ac-ds], [data-ac-ds] *), input:where([type="button"], [type="res
|
|
|
2132
2138
|
border-color: color-mix(in oklab, var(--color-warning) 45%, transparent) !important;
|
|
2133
2139
|
}
|
|
2134
2140
|
}
|
|
2135
|
-
.border-white:where([data-ac-ds], [data-ac-ds] *) {
|
|
2136
|
-
border-color: var(--color-white) !important;
|
|
2137
|
-
}
|
|
2138
2141
|
.border-white\/10:where([data-ac-ds], [data-ac-ds] *) {
|
|
2139
2142
|
border-color: color-mix(in srgb, hsl(0 0% 100%) 10%, transparent) !important;
|
|
2140
2143
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2456,8 +2459,8 @@ button:is([data-ac-ds], [data-ac-ds] *), input:where([type="button"], [type="res
|
|
|
2456
2459
|
background-color: color-mix(in oklab, var(--color-slate-20) 10%, transparent) !important;
|
|
2457
2460
|
}
|
|
2458
2461
|
}
|
|
2459
|
-
.bg-slate-
|
|
2460
|
-
background-color: var(--color-slate-
|
|
2462
|
+
.bg-slate-70:where([data-ac-ds], [data-ac-ds] *) {
|
|
2463
|
+
background-color: var(--color-slate-70) !important;
|
|
2461
2464
|
}
|
|
2462
2465
|
.bg-success:where([data-ac-ds], [data-ac-ds] *) {
|
|
2463
2466
|
background-color: var(--color-success) !important;
|
|
@@ -2911,6 +2914,9 @@ button:is([data-ac-ds], [data-ac-ds] *), input:where([type="button"], [type="res
|
|
|
2911
2914
|
.object-cover:where([data-ac-ds], [data-ac-ds] *) {
|
|
2912
2915
|
object-fit: cover !important;
|
|
2913
2916
|
}
|
|
2917
|
+
.object-left:where([data-ac-ds], [data-ac-ds] *) {
|
|
2918
|
+
object-position: left !important;
|
|
2919
|
+
}
|
|
2914
2920
|
.p-0:where([data-ac-ds], [data-ac-ds] *) {
|
|
2915
2921
|
padding: 0px !important;
|
|
2916
2922
|
}
|
|
@@ -3711,12 +3717,6 @@ button:is([data-ac-ds], [data-ac-ds] *), input:where([type="button"], [type="res
|
|
|
3711
3717
|
--tw-ring-color: color-mix(in oklab, var(--color-info) 40%, transparent) !important;
|
|
3712
3718
|
}
|
|
3713
3719
|
}
|
|
3714
|
-
.ring-muted\/70:where([data-ac-ds], [data-ac-ds] *) {
|
|
3715
|
-
--tw-ring-color: color-mix(in srgb, #5c5c5c 70%, transparent) !important;
|
|
3716
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3717
|
-
--tw-ring-color: color-mix(in oklab, var(--color-muted) 70%, transparent) !important;
|
|
3718
|
-
}
|
|
3719
|
-
}
|
|
3720
3720
|
.ring-pending\/20:where([data-ac-ds], [data-ac-ds] *) {
|
|
3721
3721
|
--tw-ring-color: color-mix(in srgb, #8b5cf6 20%, transparent) !important;
|
|
3722
3722
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -5775,6 +5775,12 @@ button:is([data-ac-ds], [data-ac-ds] *), input:where([type="button"], [type="res
|
|
|
5775
5775
|
width: calc(var(--spacing) * 4) !important;
|
|
5776
5776
|
height: calc(var(--spacing) * 4) !important;
|
|
5777
5777
|
}
|
|
5778
|
+
.\[\&\>svg\]\:h-auto > svg:where([data-ac-ds], [data-ac-ds] *) {
|
|
5779
|
+
height: auto !important;
|
|
5780
|
+
}
|
|
5781
|
+
.\[\&\>svg\]\:w-full > svg:where([data-ac-ds], [data-ac-ds] *) {
|
|
5782
|
+
width: 100% !important;
|
|
5783
|
+
}
|
|
5778
5784
|
.\[\&\>svg\]\:shrink-0 > svg:where([data-ac-ds], [data-ac-ds] *) {
|
|
5779
5785
|
flex-shrink: 0 !important;
|
|
5780
5786
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import e from "./AcProductTag.js";
|
|
2
|
+
import { createBlock as t, createCommentVNode as n, createElementBlock as r, createVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, renderSlot as c, unref as l } from "vue";
|
|
3
|
+
import { Menu as u } from "@lucide/vue";
|
|
3
4
|
//#region src/lib/components/AcNavbar.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var
|
|
5
|
+
var d = ["aria-label"], f = {
|
|
5
6
|
key: 1,
|
|
6
7
|
class: "flex shrink-0 items-center gap-2"
|
|
7
|
-
}, f = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "inline-flex items-center rounded-6 border border-primary/25 bg-primary/10 px-1.5 py-0.5 text-sm font-semibold tracking-wide text-primary-strong uppercase"
|
|
10
8
|
}, p = ["aria-label"], m = {
|
|
11
9
|
key: 3,
|
|
12
10
|
class: "hidden min-w-0 shrink sm:block sm:w-48 md:w-60 lg:w-80 xl:w-96"
|
|
@@ -22,7 +20,7 @@ var u = ["aria-label"], d = {
|
|
|
22
20
|
}, v = {
|
|
23
21
|
key: 6,
|
|
24
22
|
class: "flex shrink-0 items-center gap-0.5 sm:gap-3"
|
|
25
|
-
}, y = /*@__PURE__*/
|
|
23
|
+
}, y = /*@__PURE__*/ a({
|
|
26
24
|
__name: "AcNavbar",
|
|
27
25
|
props: {
|
|
28
26
|
menuButton: { default: "mobile" },
|
|
@@ -36,37 +34,40 @@ var u = ["aria-label"], d = {
|
|
|
36
34
|
searchPosition: { default: "start" }
|
|
37
35
|
},
|
|
38
36
|
emits: ["menu"],
|
|
39
|
-
setup(
|
|
37
|
+
setup(a, { emit: y }) {
|
|
40
38
|
let b = y;
|
|
41
|
-
return (y, x) => (
|
|
42
|
-
class:
|
|
39
|
+
return (y, x) => (s(), r("header", {
|
|
40
|
+
class: o(["top-0 z-30 flex h-18 shrink-0 items-center gap-2 border-b border-border/80 bg-surface/90 px-4 backdrop-blur-sm sm:gap-4 sm:px-6", a.sticky && "sticky"]),
|
|
43
41
|
"data-ac-ds": "",
|
|
44
42
|
"data-testid": "ac-navbar"
|
|
45
43
|
}, [
|
|
46
|
-
|
|
44
|
+
a.menuButton === "never" ? n("", !0) : (s(), r("button", {
|
|
47
45
|
key: 0,
|
|
48
46
|
type: "button",
|
|
49
|
-
class:
|
|
50
|
-
"md:hidden":
|
|
51
|
-
"lg:hidden":
|
|
47
|
+
class: o(["inline-flex size-9.5 shrink-0 cursor-pointer items-center justify-center rounded-10 border border-transparent text-muted transition-colors duration-200 hover:border-border hover:bg-surface-sunken/50 hover:text-heading focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-surface focus-visible:outline-none", {
|
|
48
|
+
"md:hidden": a.menuButton === "mobile",
|
|
49
|
+
"lg:hidden": a.menuButton === "tablet"
|
|
52
50
|
}]),
|
|
53
|
-
"aria-label":
|
|
51
|
+
"aria-label": a.menuLabel,
|
|
54
52
|
"data-ac-ds": "",
|
|
55
53
|
"data-testid": "ac-navbar-menu",
|
|
56
54
|
onClick: x[0] ||= (e) => b("menu")
|
|
57
|
-
}, [
|
|
55
|
+
}, [i(l(u), {
|
|
58
56
|
class: "size-5",
|
|
59
57
|
"aria-hidden": "true"
|
|
60
|
-
})], 10,
|
|
61
|
-
y.$slots.brand ||
|
|
62
|
-
|
|
58
|
+
})], 10, d)),
|
|
59
|
+
y.$slots.brand || a.productName ? (s(), r("div", f, [c(y.$slots, "brand"), a.productName ? (s(), t(e, {
|
|
60
|
+
key: 0,
|
|
61
|
+
label: a.productName
|
|
62
|
+
}, null, 8, ["label"])) : n("", !0)])) : n("", !0),
|
|
63
|
+
y.$slots.default ? (s(), r("nav", {
|
|
63
64
|
key: 2,
|
|
64
|
-
"aria-label":
|
|
65
|
+
"aria-label": a.label,
|
|
65
66
|
class: "hidden items-center gap-1 md:flex"
|
|
66
|
-
}, [
|
|
67
|
-
y.$slots.search &&
|
|
68
|
-
y.$slots.start ? (
|
|
69
|
-
y.$slots.actions ? (
|
|
67
|
+
}, [c(y.$slots, "default")], 8, p)) : n("", !0),
|
|
68
|
+
y.$slots.search && a.searchPosition === "start" ? (s(), r("div", m, [c(y.$slots, "search")])) : n("", !0),
|
|
69
|
+
y.$slots.start ? (s(), r("div", h, [c(y.$slots, "start")])) : (s(), r("div", g, [y.$slots.search && a.searchPosition === "center" ? (s(), r("div", _, [c(y.$slots, "search")])) : n("", !0)])),
|
|
70
|
+
y.$slots.actions ? (s(), r("div", v, [c(y.$slots, "actions")])) : n("", !0)
|
|
70
71
|
], 2));
|
|
71
72
|
}
|
|
72
73
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/** The product's short name, shown in capitals, e.g. `"Console"`, `"DB"` or `"Billing"`. */
|
|
3
|
+
label: string;
|
|
4
|
+
}
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, openBlock as n, toDisplayString as r } from "vue";
|
|
2
|
+
//#region src/lib/components/AcProductTag.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var i = {
|
|
4
|
+
class: "inline-flex h-5 shrink-0 items-center rounded-6 border border-primary/25 bg-primary/10 px-1.5 text-sm leading-none font-semibold tracking-wide whitespace-nowrap text-primary-strong uppercase",
|
|
5
|
+
"data-ac-ds": "",
|
|
6
|
+
"data-testid": "ac-product-tag"
|
|
7
|
+
}, a = /*@__PURE__*/ t({
|
|
8
|
+
__name: "AcProductTag",
|
|
9
|
+
props: { label: {} },
|
|
10
|
+
setup(t) {
|
|
11
|
+
return (a, o) => (n(), e("span", i, r(t.label), 1));
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { a as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/** Short product tag after the logo, e.g. `"Console"`, `"DB"` or `"Billing"`. Empty hides it; the collapsed rail never shows it. */
|
|
3
|
+
productName?: string;
|
|
4
|
+
/** Image URL of a custom (white-label) logo. Empty draws the AppsCode logo. */
|
|
5
|
+
logo?: string;
|
|
6
|
+
/** Image URL of a square mark for the collapsed rail. Empty draws the AppsCode mark. */
|
|
7
|
+
mark?: string;
|
|
8
|
+
/** Shows only the mark, for the 56px rail. Pass the sidebar header slot's `collapsed`. */
|
|
9
|
+
collapsed?: boolean;
|
|
10
|
+
/** Route for `RouterLink` (needs vue-router in the app). */
|
|
11
|
+
to?: string | Record<string, unknown>;
|
|
12
|
+
/** Plain link, when there's no router. */
|
|
13
|
+
href?: string;
|
|
14
|
+
/** Accessible name of the link. */
|
|
15
|
+
label?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
18
|
+
label: string;
|
|
19
|
+
mark: string;
|
|
20
|
+
href: string;
|
|
21
|
+
to: string | Record<string, unknown>;
|
|
22
|
+
logo: string;
|
|
23
|
+
collapsed: boolean;
|
|
24
|
+
productName: string;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import e from "./AcLogo.js";
|
|
2
|
+
import t from "./AcProductTag.js";
|
|
3
|
+
import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createVNode as s, defineComponent as c, getCurrentInstance as l, mergeProps as u, openBlock as d, resolveDynamicComponent as f, withCtx as p } from "vue";
|
|
4
|
+
//#region src/lib/components/AcSidebarBrand.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var m = {
|
|
6
|
+
class: "min-w-0 flex-1",
|
|
7
|
+
"data-ac-ds": "",
|
|
8
|
+
"data-testid": "ac-sidebar-brand"
|
|
9
|
+
}, h = ["src"], g = ["src"], _ = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "flex max-w-[135px] min-w-0 grow basis-[80px] [&>svg]:h-auto [&>svg]:w-full"
|
|
12
|
+
}, v = /*@__PURE__*/ c({
|
|
13
|
+
__name: "AcSidebarBrand",
|
|
14
|
+
props: {
|
|
15
|
+
productName: { default: "" },
|
|
16
|
+
logo: { default: "" },
|
|
17
|
+
mark: { default: "" },
|
|
18
|
+
collapsed: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !1
|
|
21
|
+
},
|
|
22
|
+
to: { default: void 0 },
|
|
23
|
+
href: { default: void 0 },
|
|
24
|
+
label: { default: "Home" }
|
|
25
|
+
},
|
|
26
|
+
setup(c) {
|
|
27
|
+
let v = c, y = l()?.appContext.components.RouterLink, b = r(() => {
|
|
28
|
+
if (v.to !== void 0 && y) return {
|
|
29
|
+
is: y,
|
|
30
|
+
attrs: {
|
|
31
|
+
to: v.to,
|
|
32
|
+
"aria-label": v.label
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
let e = v.href ?? (typeof v.to == "string" ? v.to : void 0);
|
|
36
|
+
return e ? {
|
|
37
|
+
is: "a",
|
|
38
|
+
attrs: {
|
|
39
|
+
href: e,
|
|
40
|
+
"aria-label": v.label
|
|
41
|
+
}
|
|
42
|
+
} : {
|
|
43
|
+
is: "div",
|
|
44
|
+
attrs: {}
|
|
45
|
+
};
|
|
46
|
+
}), x = r(() => b.value.is === "div" ? "AppsCode" : "");
|
|
47
|
+
return (r, l) => (d(), o("div", m, [(d(), i(f(b.value.is), u(b.value.attrs, { class: "flex w-fit max-w-full min-w-0 flex-wrap items-center gap-x-2 gap-y-1.5 rounded-8 no-underline focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none" }), {
|
|
48
|
+
default: p(() => [c.collapsed ? (d(), o(n, { key: 0 }, [c.mark ? (d(), o("img", {
|
|
49
|
+
key: 0,
|
|
50
|
+
src: c.mark,
|
|
51
|
+
alt: "",
|
|
52
|
+
class: "size-7 rounded-6 object-contain"
|
|
53
|
+
}, null, 8, h)) : (d(), i(e, {
|
|
54
|
+
key: 1,
|
|
55
|
+
variant: "mark",
|
|
56
|
+
size: 28,
|
|
57
|
+
label: x.value
|
|
58
|
+
}, null, 8, ["label"]))], 64)) : (d(), o(n, { key: 1 }, [c.logo ? (d(), o("img", {
|
|
59
|
+
key: 0,
|
|
60
|
+
src: c.logo,
|
|
61
|
+
alt: "",
|
|
62
|
+
class: "block h-8 max-w-[146px] min-w-0 object-contain object-left",
|
|
63
|
+
"data-testid": "ac-sidebar-brand-logo"
|
|
64
|
+
}, null, 8, g)) : (d(), o("span", _, [s(e, {
|
|
65
|
+
size: 28,
|
|
66
|
+
label: x.value
|
|
67
|
+
}, null, 8, ["label"])])), c.productName ? (d(), i(t, {
|
|
68
|
+
key: 2,
|
|
69
|
+
label: c.productName
|
|
70
|
+
}, null, 8, ["label"])) : a("", !0)], 64))]),
|
|
71
|
+
_: 1
|
|
72
|
+
}, 16))]));
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
//#endregion
|
|
76
|
+
export { v as default };
|
|
@@ -68,9 +68,9 @@ var h = { class: "flex items-center gap-2" }, g = ["for"], _ = [
|
|
|
68
68
|
"aria-busy": i.loading || void 0,
|
|
69
69
|
"aria-disabled": i.loading && !i.disabled || void 0,
|
|
70
70
|
disabled: i.disabled,
|
|
71
|
-
class: ["relative h-6 w-11 shrink-0 rounded-full transition-colors duration-200 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-surface focus-visible:outline-none motion-reduce:transition-none", [b.value ? "bg-primary" : "bg-slate-
|
|
71
|
+
class: ["relative h-6 w-11 shrink-0 rounded-full transition-colors duration-200 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-surface focus-visible:outline-none motion-reduce:transition-none", [b.value ? "bg-primary" : "bg-slate-70", i.disabled ? "cursor-not-allowed opacity-50" : i.loading ? "cursor-wait animate-pulse motion-reduce:animate-none" : "cursor-pointer"]],
|
|
72
72
|
onClick: D
|
|
73
|
-
}), [r("span", { class: s(["pointer-events-none absolute top-0.5 left-0.5 size-5 rounded-full
|
|
73
|
+
}), [r("span", { class: s(["pointer-events-none absolute top-0.5 left-0.5 size-5 rounded-full bg-white shadow-sm transition-transform duration-200 ease-out motion-reduce:transition-none", b.value ? "translate-x-5" : "translate-x-0"]) }, null, 2)], 16, _),
|
|
74
74
|
u(e.$slots, "right")
|
|
75
75
|
]), i.errorMsg ? (c(), n("p", v, d(i.errorMsg), 1)) : t("", !0)], 16));
|
|
76
76
|
}
|
|
@@ -61,6 +61,7 @@ export { default as AcPagination } from "./AcPagination.vue";
|
|
|
61
61
|
export { default as AcPreloader } from "./AcPreloader.vue";
|
|
62
62
|
export { default as AcProgress } from "./AcProgress.vue";
|
|
63
63
|
export { default as AcProductHero } from "./AcProductHero.vue";
|
|
64
|
+
export { default as AcProductTag } from "./AcProductTag.vue";
|
|
64
65
|
export { default as AcRadioCard } from "./AcRadioCard.vue";
|
|
65
66
|
export { default as AcResourceCard } from "./AcResourceCard.vue";
|
|
66
67
|
export { default as AcSearchBar } from "./AcSearchBar.vue";
|
|
@@ -69,6 +70,7 @@ export { default as AcSegmentedControl } from "./AcSegmentedControl.vue";
|
|
|
69
70
|
export { default as AcSettingsRow } from "./AcSettingsRow.vue";
|
|
70
71
|
export { default as AcSelect } from "./AcSelect.vue";
|
|
71
72
|
export { default as AcSidebar } from "./AcSidebar.vue";
|
|
73
|
+
export { default as AcSidebarBrand } from "./AcSidebarBrand.vue";
|
|
72
74
|
export { default as AcSidebarItem } from "./AcSidebarItem.vue";
|
|
73
75
|
export { default as AcSidebarSection } from "./AcSidebarSection.vue";
|
|
74
76
|
export { default as AcSidePanel } from "./AcSidePanel.vue";
|
package/dist/lib/index.js
CHANGED
|
@@ -59,46 +59,48 @@ import $ from "./components/AcSelect.js";
|
|
|
59
59
|
import se from "./components/AcKeyValueInput.js";
|
|
60
60
|
import ce from "./components/AcLoader.js";
|
|
61
61
|
import le from "./components/AcLocaleSwitcher.js";
|
|
62
|
-
import ue from "./components/
|
|
63
|
-
import de from "./components/
|
|
64
|
-
import fe from "./components/
|
|
65
|
-
import pe from "./components/
|
|
66
|
-
import me from "./components/
|
|
67
|
-
import he from "./components/
|
|
68
|
-
import ge from "./components/
|
|
69
|
-
import _e from "./components/
|
|
70
|
-
import ve from "./components/
|
|
71
|
-
import ye from "./components/
|
|
72
|
-
import be from "./components/
|
|
73
|
-
import xe from "./components/
|
|
74
|
-
import Se from "./components/
|
|
75
|
-
import Ce from "./components/
|
|
76
|
-
import we from "./components/
|
|
77
|
-
import Te from "./components/
|
|
78
|
-
import Ee from "./components/
|
|
79
|
-
import De from "./components/
|
|
80
|
-
import Oe from "./components/
|
|
81
|
-
import ke from "./components/
|
|
82
|
-
import Ae from "./components/
|
|
83
|
-
import je from "./components/
|
|
84
|
-
import Me from "./components/
|
|
85
|
-
import Ne from "./components/
|
|
86
|
-
import Pe from "./components/
|
|
87
|
-
import Fe from "./components/
|
|
88
|
-
import Ie from "./components/
|
|
89
|
-
import Le from "./components/
|
|
90
|
-
import Re from "./components/
|
|
91
|
-
import ze from "./components/
|
|
92
|
-
import
|
|
93
|
-
import Ve from "./components/
|
|
94
|
-
import He from "./
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
import Ke from "./
|
|
98
|
-
import qe from "./components/
|
|
99
|
-
import
|
|
100
|
-
import
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
|
|
62
|
+
import ue from "./components/AcProductTag.js";
|
|
63
|
+
import de from "./components/AcNavbar.js";
|
|
64
|
+
import fe from "./components/AcNotificationMenu.js";
|
|
65
|
+
import pe from "./components/AcNumberInput.js";
|
|
66
|
+
import me from "./components/AcPage.js";
|
|
67
|
+
import he from "./components/AcPagination.js";
|
|
68
|
+
import ge from "./components/AcPreloader.js";
|
|
69
|
+
import _e from "./components/AcProgress.js";
|
|
70
|
+
import ve from "./components/AcProductHero.js";
|
|
71
|
+
import ye from "./components/AcRadioCard.js";
|
|
72
|
+
import be from "./components/AcTag.js";
|
|
73
|
+
import xe from "./components/AcResourceCard.js";
|
|
74
|
+
import Se from "./components/AcSectionContent.js";
|
|
75
|
+
import Ce from "./components/AcSegmentedControl.js";
|
|
76
|
+
import we from "./components/AcSettingsRow.js";
|
|
77
|
+
import Te from "./components/AcSidebar.js";
|
|
78
|
+
import Ee from "./components/AcSidebarBrand.js";
|
|
79
|
+
import De from "./components/AcSidebarItem.js";
|
|
80
|
+
import Oe from "./components/AcSidebarSection.js";
|
|
81
|
+
import ke from "./components/AcSidePanel.js";
|
|
82
|
+
import Ae from "./components/AcSideTabs.js";
|
|
83
|
+
import je from "./components/AcSlider.js";
|
|
84
|
+
import Me from "./components/AcStatCard.js";
|
|
85
|
+
import Ne from "./components/AcStatusBar.js";
|
|
86
|
+
import Pe from "./components/AcSteps.js";
|
|
87
|
+
import Fe from "./components/AcSwitch.js";
|
|
88
|
+
import Ie from "./components/AcSwitchCard.js";
|
|
89
|
+
import Le from "./components/AcTable.js";
|
|
90
|
+
import Re from "./components/AcTabs.js";
|
|
91
|
+
import ze from "./components/AcTagInput.js";
|
|
92
|
+
import Be from "./components/AcTaintInput.js";
|
|
93
|
+
import Ve from "./components/AcTextarea.js";
|
|
94
|
+
import { useColorMode as He } from "./composables/useColorMode.js";
|
|
95
|
+
import Ue from "./components/AcThemeMode.js";
|
|
96
|
+
import We from "./components/AcTimePicker.js";
|
|
97
|
+
import { showToast as Ge, useToast as Ke } from "./composables/useToast.js";
|
|
98
|
+
import qe from "./components/AcToaster.js";
|
|
99
|
+
import Je from "./components/AcUsageCard.js";
|
|
100
|
+
import Ye from "./components/AcUserMenu.js";
|
|
101
|
+
import { useTablePagination as Xe } from "./composables/useTablePagination.js";
|
|
102
|
+
import { useApiPagination as Ze } from "./composables/useApiPagination.js";
|
|
103
|
+
import { useBulkSelection as Qe } from "./composables/useBulkSelection.js";
|
|
104
|
+
import { useFormValidation as $e } from "./composables/useFormValidation.js";
|
|
105
|
+
import { HSLToHex as et, HexToHSL as tt, MIN_CONTRAST as nt, contrastOnWhite as rt, getThemeHSL as it, hexToHsl as at, hslToHex as ot, readableLightness as st, setThemeHSL as ct, useBrandColor as lt } from "./composables/useBrandColor.js";
|
|
106
|
+
export { ee as AcAccordion, te as AcAccordionItem, r as AcAlert, o as AcAppSwitcher, s as AcAvatar, d as AcBadge, f as AcBanner, p as AcBreadcrumb, m as AcBulkActionBar, n as AcButton, h as AcButtons, g as AcCard, y as AcCellValue, b as AcCheckBox, x as AcCheckList, S as AcCheckRadio, C as AcCircularProgress, w as AcClusterSwitcher, T as AcColorInput, E as AcCommandBlock, D as AcConfirmModal, O as AcContentHeader, k as AcContentLayout, j as AcContentTable, M as AcCopyButton, N as AcCostSummary, P as AcDatePicker, I as AcDeleteConfirmationModal, I as AcDeleteModal, L as AcDivider, R as AcDropdown, z as AcDropdownDivider, B as AcDropdownItem, V as AcEmptyState, H as AcErrorState, U as AcFeatureCard, W as AcFileUpload, q as AcFontScale, J as AcFooter, Y as AcForm, X as AcFormArray, Z as AcFormFooter, Q as AcFormSection, ne as AcHeader, re as AcHeaderItem, ie as AcHeaderItems, ae as AcInfoTable, F as AcInput, oe as AcKbd, se as AcKeyValueInput, ce as AcLoader, le as AcLocaleSwitcher, i as AcLogo, _ as AcModal, de as AcNavbar, a as AcNavbarItem, fe as AcNotificationMenu, pe as AcNumberInput, me as AcPage, he as AcPagination, ge as AcPreloader, ve as AcProductHero, ue as AcProductTag, _e as AcProgress, ye as AcRadioCard, xe as AcResourceCard, A as AcSearchBar, Se as AcSectionContent, Ce as AcSegmentedControl, $ as AcSelect, we as AcSettingsRow, ke as AcSidePanel, Ae as AcSideTabs, Te as AcSidebar, Ee as AcSidebarBrand, De as AcSidebarItem, Oe as AcSidebarSection, v as AcSkeleton, je as AcSlider, e as AcSpinner, Me as AcStatCard, Ne as AcStatusBar, Pe as AcSteps, Fe as AcSwitch, Ie as AcSwitchCard, Le as AcTable, Re as AcTabs, be as AcTag, ze as AcTagInput, Be as AcTaintInput, Ve as AcTextarea, Ue as AcThemeMode, We as AcTimePicker, qe as AcToaster, t as AcTooltip, Je as AcUsageCard, Ye as AcUserMenu, G as FONT_SCALES, et as HSLToHex, tt as HexToHSL, nt as MIN_CONTRAST, rt as contrastOnWhite, it as getThemeHSL, at as hexToHsl, ot as hslToHex, c as humanizeState, l as normalizeState, st as readableLightness, ct as setThemeHSL, Ge as showToast, u as statusMeta, Ze as useApiPagination, lt as useBrandColor, Qe as useBulkSelection, He as useColorMode, K as useFontScale, $e as useFormValidation, Xe as useTablePagination, Ke as useToast };
|