@fuzdev/fuz_ui 0.170.0 → 0.171.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/README.md +7 -7
- package/dist/ProjectLinks.svelte +3 -3
- package/dist/constants.js +1 -1
- package/dist/logos.d.ts +1 -1
- package/dist/logos.d.ts.map +1 -1
- package/dist/logos.js +2 -2
- package/package.json +2 -2
- package/src/lib/constants.ts +1 -1
- package/src/lib/logos.ts +2 -2
package/README.md
CHANGED
|
@@ -19,9 +19,9 @@ Feel free to take the ideas and code for your own purposes.
|
|
|
19
19
|
|
|
20
20
|
The Svelte components and helpers:
|
|
21
21
|
|
|
22
|
-
- builds on my CSS framework [
|
|
22
|
+
- builds on my CSS framework [Fuz CSS](https://github.com/fuzdev/fuz_css)
|
|
23
23
|
- plain CSS and minimal abstraction
|
|
24
|
-
- near-zero dependencies except for Svelte, SvelteKit,
|
|
24
|
+
- near-zero dependencies except for Svelte, SvelteKit, Fuz CSS,
|
|
25
25
|
and my utility library [`@fuzdev/fuz_util`](https://github.com/fuzdev/fuz_util)
|
|
26
26
|
(not all components require SvelteKit but some do import its modules, needs more consideration)
|
|
27
27
|
- not a fully-featured enterprise-ready set of components,
|
|
@@ -45,18 +45,18 @@ The Svelte components and helpers:
|
|
|
45
45
|
npm i -D @fuzdev/fuz_ui
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Fuz uses my style framework [
|
|
48
|
+
Fuz uses my style framework [Fuz CSS](https://github.com/fuzdev/fuz_css).
|
|
49
49
|
Import modules at their full paths:
|
|
50
50
|
|
|
51
51
|
```ts
|
|
52
|
-
//
|
|
52
|
+
// Fuz CSS has one main plain CSS stylesheet:
|
|
53
53
|
import '@fuzdev/fuz_css/style.css';
|
|
54
54
|
|
|
55
|
-
// and import a
|
|
55
|
+
// and import a Fuz CSS theme:
|
|
56
56
|
import '@fuzdev/fuz_css/theme.css'; // or bring your own
|
|
57
57
|
|
|
58
|
-
// using Gro generates
|
|
59
|
-
import '$routes/
|
|
58
|
+
// using Gro generates Fuz CSS' utility classes stylesheet by default:
|
|
59
|
+
import '$routes/fuz.css';
|
|
60
60
|
|
|
61
61
|
// then import Fuz Svelte components:
|
|
62
62
|
import Themed from '@fuzdev/fuz_ui/Themed.svelte';
|
package/dist/ProjectLinks.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import Svg from './Svg.svelte';
|
|
3
|
-
import {gro_logo, fuz_logo,
|
|
3
|
+
import {gro_logo, fuz_logo, fuz_css_logo, fuz_template_logo} from './logos.js';
|
|
4
4
|
|
|
5
5
|
const size = 'var(--icon_size_lg)';
|
|
6
6
|
</script>
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
title="Gro - task runner and toolkit extending SvelteKit"
|
|
17
17
|
href="https://gro.ryanatkn.com/"><Svg data={gro_logo} {size} /><span class="name">Gro</span></a
|
|
18
18
|
>
|
|
19
|
-
<a class="project_link" title="
|
|
20
|
-
><Svg data={
|
|
19
|
+
<a class="project_link" title="Fuz CSS - CSS framework" href="https://css.fuz.dev/"
|
|
20
|
+
><Svg data={fuz_css_logo} {size} /><span class="name">Fuz CSS</span></a
|
|
21
21
|
>
|
|
22
22
|
<a class="project_link" title="Fuz - Svelte UI library" href="https://ui.fuz.dev/"
|
|
23
23
|
><Svg data={fuz_logo} {size} /><span class="name">Fuz</span></a
|
package/dist/constants.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// TODO the 60px is a hack, need `--docs_primary_nav_height` exported or :root values from Fuz -- the --space_lg also needs to be kept in sync
|
|
2
|
-
// see also the same issue in
|
|
2
|
+
// see also the same issue in Fuz CSS
|
|
3
3
|
export const MAIN_HEADER_MARGIN_TOP = 'calc(60px + var(--space_lg))';
|
package/dist/logos.d.ts
CHANGED
package/dist/logos.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logos.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/logos.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,QAAQ;;;;;;CAcF,CAAC;AAEpB,eAAO,MAAM,QAAQ;;;;;;CAgCF,CAAC;AAEpB,eAAO,MAAM,QAAQ;;;;;;CAQF,CAAC;AAEpB,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"logos.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/logos.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,QAAQ;;;;;;CAcF,CAAC;AAEpB,eAAO,MAAM,QAAQ;;;;;;CAgCF,CAAC;AAEpB,eAAO,MAAM,QAAQ;;;;;;CAQF,CAAC;AAEpB,eAAO,MAAM,YAAY;;;;;;;;;CAKN,CAAC;AAEpB,eAAO,MAAM,SAAS;;;;;;CAwBH,CAAC;AAEpB,eAAO,MAAM,aAAa;;;;;;CAIP,CAAC;AAEpB,eAAO,MAAM,aAAa;;;;;;CAIP,CAAC;AAEpB,eAAO,MAAM,iBAAiB;;;;;;CAIX,CAAC;AAEpB,eAAO,MAAM,eAAe;;;;;;CAIT,CAAC;AAEpB,eAAO,MAAM,iBAAiB;;;;;;CAQX,CAAC;AAEpB,eAAO,MAAM,iBAAiB;;;;;;CAcX,CAAC;AAEpB,eAAO,MAAM,cAAc;;;;;;CAQR,CAAC;AAEpB,eAAO,MAAM,gBAAgB;;;;;;;CA4DV,CAAC;AAEpB,eAAO,MAAM,WAAW;;;;;;;;;CAWL,CAAC;AAEpB,eAAO,MAAM,QAAQ;;;;;;CAQF,CAAC;AAEpB,eAAO,MAAM,YAAY;;;;;CAON,CAAC;AAEpB,eAAO,MAAM,WAAW;;;;;;CAQL,CAAC;AAEpB,eAAO,MAAM,WAAW;;;;;;;CAuBL,CAAC"}
|
package/dist/logos.js
CHANGED
|
@@ -9,7 +9,7 @@ Logo colors are the midpoint between the light and dark versions of color varian
|
|
|
9
9
|
--color_c: #d93636;
|
|
10
10
|
--color_d: #8866cc;
|
|
11
11
|
--color_e: #d8bc31;
|
|
12
|
-
--color_f: #84522a; // TODO this one isn't the midpoint bc
|
|
12
|
+
--color_f: #84522a; // TODO this one isn't the midpoint bc Fuz CSS's color needs tweaking, too light in dark mode
|
|
13
13
|
--color_g: #e55d95;
|
|
14
14
|
--color_h: #f4672f;
|
|
15
15
|
--color_i: #36e2e2;
|
|
@@ -72,7 +72,7 @@ export const fuz_logo = {
|
|
|
72
72
|
},
|
|
73
73
|
],
|
|
74
74
|
};
|
|
75
|
-
export const
|
|
75
|
+
export const fuz_css_logo = {
|
|
76
76
|
label: 'a fuzzy tuft of green moss',
|
|
77
77
|
fill: '#3db33d',
|
|
78
78
|
paths: fuz_logo.paths,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fuzdev/fuz_ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.171.0",
|
|
4
4
|
"description": "Svelte UI library",
|
|
5
5
|
"motto": "friendly user zystem",
|
|
6
6
|
"glyph": "🧶",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@changesets/changelog-git": "^0.2.1",
|
|
60
60
|
"@fuzdev/fuz_code": "^0.38.0",
|
|
61
|
-
"@fuzdev/fuz_css": "^0.
|
|
61
|
+
"@fuzdev/fuz_css": "^0.42.0",
|
|
62
62
|
"@fuzdev/fuz_util": "^0.42.0",
|
|
63
63
|
"@ryanatkn/eslint-config": "^0.9.0",
|
|
64
64
|
"@ryanatkn/gro": "^0.181.0",
|
package/src/lib/constants.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// TODO the 60px is a hack, need `--docs_primary_nav_height` exported or :root values from Fuz -- the --space_lg also needs to be kept in sync
|
|
2
|
-
// see also the same issue in
|
|
2
|
+
// see also the same issue in Fuz CSS
|
|
3
3
|
export const MAIN_HEADER_MARGIN_TOP = 'calc(60px + var(--space_lg))';
|
package/src/lib/logos.ts
CHANGED
|
@@ -12,7 +12,7 @@ Logo colors are the midpoint between the light and dark versions of color varian
|
|
|
12
12
|
--color_c: #d93636;
|
|
13
13
|
--color_d: #8866cc;
|
|
14
14
|
--color_e: #d8bc31;
|
|
15
|
-
--color_f: #84522a; // TODO this one isn't the midpoint bc
|
|
15
|
+
--color_f: #84522a; // TODO this one isn't the midpoint bc Fuz CSS's color needs tweaking, too light in dark mode
|
|
16
16
|
--color_g: #e55d95;
|
|
17
17
|
--color_h: #f4672f;
|
|
18
18
|
--color_i: #36e2e2;
|
|
@@ -79,7 +79,7 @@ export const fuz_logo = {
|
|
|
79
79
|
],
|
|
80
80
|
} satisfies SvgData;
|
|
81
81
|
|
|
82
|
-
export const
|
|
82
|
+
export const fuz_css_logo = {
|
|
83
83
|
label: 'a fuzzy tuft of green moss',
|
|
84
84
|
fill: '#3db33d',
|
|
85
85
|
paths: fuz_logo.paths,
|