@stoa-dev/kit 0.1.0 → 0.1.2
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/kit.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.stoa-AppNavigation-root-
|
|
1
|
+
.stoa-AppNavigation-root-12db{position:fixed;inset-block:.75rem;inset-inline-start:.75rem;z-index:40;display:flex;flex-direction:column;align-items:center;gap:.75rem;width:4rem;padding-block:1.25rem;border-radius:1rem;background:color-mix(in srgb,var(--card) 95%,transparent);box-shadow:var(--surface-shadow)}.stoa-AppNavigation-logo-12d7{width:2.25rem;height:2.25rem;margin-bottom:.75rem;border-radius:.5rem}.stoa-AppNavigation-divider-1ctl{width:1.5rem;margin-block:.5rem;border-top:1px solid var(--border)}.stoa-AppNavigation-spacer-8ruf{flex:1}.stoa-AppNavigation-menuButton-1gqk{position:relative}.stoa-AppNavigation-menuButton-1gqk[aria-current=page]{background:var(--accent-wash);color:var(--foreground)}.stoa-AppNavigation-menuButton-1gqk[aria-current=page]:before{content:"";position:absolute;left:-9px;width:3px;height:16px;border-radius:2px;background:var(--accent)}.stoa-AppNavigation-menuButton-1gqk svg{stroke:currentColor}@media(prefers-reduced-motion:reduce){.stoa-AppNavigation-menuButton-1gqk{transition:none}}.stoa-BrandLines-brand-lines-dcsr{display:inline-flex;flex:none;flex-direction:column;align-items:flex-start;gap:4px;width:20px;color:var(--accent)}.stoa-BrandLines-brand-lines-dcsr>i{display:block;width:100%;height:2px;border-radius:2px;background:currentColor}.stoa-BrandLines-brand-lines-dcsr>i:nth-child(2){width:75%}.stoa-BrandLines-brand-lines-dcsr>i:nth-child(3){width:50%}.stoa-BrandLines-brand-lines-loading-1z0s>i{transform-origin:left;animation:stoa-BrandLines-brand-line-pulse-7z2o 1.1s ease-in-out infinite alternate}.stoa-BrandLines-brand-lines-loading-1z0s>i:nth-child(2){animation-delay:.15s}.stoa-BrandLines-brand-lines-loading-1z0s>i:nth-child(3){animation-delay:.3s}@keyframes stoa-BrandLines-brand-line-pulse-7z2o{0%{opacity:.35;transform:scaleX(.55)}to{opacity:1;transform:scaleX(1)}}@media(prefers-reduced-motion:reduce){.stoa-BrandLines-brand-lines-loading-1z0s>i{animation:none}}.stoa-PageHeading-page-heading-lq8m{display:flex;align-items:center;gap:.875rem;min-width:0;margin-block:.25rem .5rem;font-size:clamp(1.75rem,2.4vw,2.5rem);line-height:1.15;letter-spacing:-.045em;font-weight:650;overflow-wrap:anywhere}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
const o = "stoa-AppNavigation-root-
|
|
1
|
+
const o = "stoa-AppNavigation-root-12db", t = "stoa-AppNavigation-logo-12d7", a = "stoa-AppNavigation-divider-1ctl", n = "stoa-AppNavigation-spacer-8ruf", s = "stoa-AppNavigation-menuButton-1gqk", i = {
|
|
2
2
|
root: o,
|
|
3
3
|
logo: t,
|
|
4
4
|
divider: a,
|
|
5
|
-
spacer:
|
|
5
|
+
spacer: n,
|
|
6
6
|
menuButton: s
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
i as default,
|
|
10
10
|
a as divider,
|
|
11
11
|
t as logo,
|
|
12
12
|
s as menuButton,
|
|
13
13
|
o as root,
|
|
14
|
-
|
|
14
|
+
n as spacer
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=AppNavigation.module.scss.js.map
|
package/package.json
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoa-dev/kit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Shared React components, hooks, utilities, licensing UI and theme for STOA desktop apps",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/giannotr/stoa-dev.git",
|
|
9
|
+
"directory": "packages/kit"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/giannotr/stoa-dev/tree/main/packages/kit#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/giannotr/stoa-dev/issues"
|
|
14
|
+
},
|
|
6
15
|
"type": "module",
|
|
7
16
|
"sideEffects": [
|
|
8
17
|
"**/*.css",
|
package/styles/theme.css
CHANGED
|
@@ -71,16 +71,13 @@
|
|
|
71
71
|
--sidebar-ring: oklch(0.708 0 0);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
/* Link hover colours are app-specific and stay in each app. */
|
|
74
75
|
@media (prefers-color-scheme: dark) {
|
|
75
76
|
:root {
|
|
76
77
|
color: #f6f6f6;
|
|
77
78
|
background-color: #2f2f2f;
|
|
78
79
|
}
|
|
79
80
|
|
|
80
|
-
a:hover {
|
|
81
|
-
/* color: #f2178f; */
|
|
82
|
-
color: lch(from var(--accent) calc(l - 20) c h);
|
|
83
|
-
}
|
|
84
81
|
}
|
|
85
82
|
|
|
86
83
|
@theme inline {
|