@topjoao/top-design-system 0.1.2-beta.0 → 0.1.2-beta.1
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.md +28 -8
- package/dist/TopToast-CWJSJl4P.cjs +2 -0
- package/dist/TopToast-CWJSJl4P.cjs.map +1 -0
- package/dist/{TopToast-BhGAG5mK.js → TopToast-Dw5MKTR2.js} +6 -5
- package/dist/TopToast-Dw5MKTR2.js.map +1 -0
- package/dist/components/TopNavBar.vue.d.ts +7 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/plugin.cjs +1 -1
- package/dist/plugin.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/TopToast-BhGAG5mK.js.map +0 -1
- package/dist/TopToast-NWCYTyh8.cjs +0 -2
- package/dist/TopToast-NWCYTyh8.cjs.map +0 -1
|
@@ -1437,7 +1437,8 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
|
|
|
1437
1437
|
type: Boolean,
|
|
1438
1438
|
default: void 0
|
|
1439
1439
|
},
|
|
1440
|
-
appearance: { default: () => ({}) }
|
|
1440
|
+
appearance: { default: () => ({}) },
|
|
1441
|
+
spacing: { default: () => ({}) }
|
|
1441
1442
|
},
|
|
1442
1443
|
emits: [
|
|
1443
1444
|
"navigate",
|
|
@@ -1591,10 +1592,10 @@ var De = /* @__PURE__ */ we(Ce, [["render", Ee], ["__file", "/Users/mahmudulhasa
|
|
|
1591
1592
|
disabled: e.disabled,
|
|
1592
1593
|
command: () => Je(e)
|
|
1593
1594
|
})), He = n(() => {
|
|
1594
|
-
let e = f.appearance, t = {},
|
|
1595
|
-
|
|
1595
|
+
let e = f.appearance, t = f.spacing, n = {}, r = (e, t) => {
|
|
1596
|
+
t !== void 0 && t !== "" && (n[e] = t);
|
|
1596
1597
|
};
|
|
1597
|
-
return
|
|
1598
|
+
return r("--top-nav-bg", e.colors?.navigation), r("--top-nav-breadcrumb-bg", e.surfaces?.breadcrumb ?? e.colors?.navigation), r("--top-nav-drawer-bg", e.surfaces?.drawer ?? e.colors?.navigation), r("--top-nav-drawer-footer-bg", e.surfaces?.drawerFooter), r("--top-nav-fg", e.colors?.text), r("--top-nav-muted-fg", e.colors?.mutedText), r("--top-nav-accent", e.colors?.accent), r("--top-nav-menu-bg", e.surfaces?.menu), r("--top-nav-menu-fg", e.colors?.menuText), r("--top-nav-menu-hover", e.surfaces?.menuHover), r("--top-nav-menu-explored", e.surfaces?.menuExplored), r("--top-nav-border", e.colors?.border), r("--top-nav-menu-border", e.borders?.menu), r("--top-nav-menu-outline", e.borders?.menuOutline), r("--top-nav-radius", e.shape?.radius), r("--top-nav-drawer-radius", e.shape?.drawerRadius), r("--top-nav-shadow", e.shape?.shadow), r("--top-nav-mobile-active-bg", e.surfaces?.mobileActive), r("--top-nav-mobile-active-fg", e.colors?.mobileActiveText), r("--top-nav-mobile-divider", e.borders?.mobileDivider), r("--top-nav-favorites-bg", e.surfaces?.favorites), r("--top-nav-favorites-fg", e.colors?.favoritesText), r("--top-nav-favorites-border", e.borders?.favorites), r("--top-nav-favorites-shadow", e.shape?.favoritesShadow), r("--top-nav-focus-ring", e.focus?.onDark), r("--top-nav-focus-ring-light", e.focus?.onLight), r("--top-nav-current-bg", e.surfaces?.currentPage), r("--top-nav-current-border", e.borders?.currentPage), r("--top-nav-header-padding", t.headerPadding), r("--top-nav-breadcrumb-padding", t.breadcrumbPadding), n;
|
|
1598
1599
|
}), Ue = n(() => f.client ? f.client.initials ? f.client.initials : f.client.name.split(/\s+/).filter(Boolean).slice(0, 2).map((e) => e[0]?.toLocaleUpperCase("pt-BR")).join("") : "");
|
|
1599
1600
|
function We() {
|
|
1600
1601
|
let e = Math.max(0, window.scrollY);
|
|
@@ -3027,4 +3028,4 @@ var mr = Symbol("top-accordion-context"), hr = /* @__PURE__ */ u({
|
|
|
3027
3028
|
//#endregion
|
|
3028
3029
|
export { hr as a, Jn as c, He as d, be as f, le as h, vr as i, Xe as l, ue as m, Pr as n, fr as o, he as p, Dr as r, dr as s, zr as t, Z as u };
|
|
3029
3030
|
|
|
3030
|
-
//# sourceMappingURL=TopToast-
|
|
3031
|
+
//# sourceMappingURL=TopToast-Dw5MKTR2.js.map
|