nuxt-ui-ink 0.2.0 → 0.3.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 +4 -3
- package/app/app.config.ts +47 -46
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -29,8 +29,8 @@ export default defineNuxtConfig({
|
|
|
29
29
|
@import "nuxt-ui-ink/theme.css";
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
The layer adds the Nuxt UI module, the component overrides,
|
|
33
|
-
Inter font. The stylesheet has to be imported from yours so Tailwind compiles both together.
|
|
32
|
+
The layer adds the Nuxt UI module, the component overrides, Solar icons for the icons Nuxt UI renders itself, and
|
|
33
|
+
the Inter font. Use the same set in your own components with `i-solar-…-bold`. The stylesheet has to be imported from yours so Tailwind compiles both together.
|
|
34
34
|
|
|
35
35
|
## Classes
|
|
36
36
|
|
|
@@ -110,4 +110,5 @@ renamed slot in a new Nuxt UI version fails the test instead of silently styling
|
|
|
110
110
|
|
|
111
111
|
## License
|
|
112
112
|
|
|
113
|
-
MIT
|
|
113
|
+
MIT. The icons are [Solar](https://www.figma.com/community/file/1166831539721848736) by 480 Design, under CC BY 4.0,
|
|
114
|
+
which asks for attribution: credit them somewhere in a product that ships these icons.
|
package/app/app.config.ts
CHANGED
|
@@ -101,53 +101,54 @@ export default defineAppConfig({
|
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
103
|
|
|
104
|
-
//
|
|
104
|
+
// Solar for every icon the library renders on its own: the filled style for things, the line style for
|
|
105
|
+
// arrows, chevrons and the search glass, whose filled versions are solid shapes
|
|
105
106
|
icons: {
|
|
106
|
-
arrowDown: 'i-
|
|
107
|
-
arrowLeft: 'i-
|
|
108
|
-
arrowRight: 'i-
|
|
109
|
-
arrowUp: 'i-
|
|
110
|
-
caution: 'i-
|
|
111
|
-
check: 'i-
|
|
112
|
-
chevronDoubleLeft: 'i-
|
|
113
|
-
chevronDoubleRight: 'i-
|
|
114
|
-
chevronDown: 'i-
|
|
115
|
-
chevronLeft: 'i-
|
|
116
|
-
chevronRight: 'i-
|
|
117
|
-
chevronUp: 'i-
|
|
118
|
-
close: 'i-
|
|
119
|
-
copy: 'i-
|
|
120
|
-
copyCheck: 'i-
|
|
121
|
-
dark: 'i-
|
|
122
|
-
drag: 'i-
|
|
123
|
-
edit: 'i-
|
|
124
|
-
ellipsis: 'i-
|
|
125
|
-
error: 'i-
|
|
126
|
-
external: 'i-
|
|
127
|
-
eye: 'i-
|
|
128
|
-
eyeOff: 'i-
|
|
129
|
-
file: 'i-
|
|
130
|
-
folder: 'i-
|
|
131
|
-
folderOpen: 'i-
|
|
132
|
-
hash: 'i-
|
|
133
|
-
info: 'i-
|
|
134
|
-
light: 'i-
|
|
135
|
-
loading: 'i-
|
|
136
|
-
menu: 'i-
|
|
137
|
-
minus: 'i-
|
|
138
|
-
panelClose: 'i-
|
|
139
|
-
panelOpen: 'i-
|
|
140
|
-
plus: 'i-
|
|
141
|
-
reload: 'i-
|
|
142
|
-
search: 'i-
|
|
143
|
-
star: 'i-
|
|
144
|
-
stop: 'i-
|
|
145
|
-
success: 'i-
|
|
146
|
-
system: 'i-
|
|
147
|
-
tip: 'i-
|
|
148
|
-
trash: 'i-
|
|
149
|
-
upload: 'i-
|
|
150
|
-
warning: 'i-
|
|
107
|
+
arrowDown: 'i-solar-arrow-down-linear',
|
|
108
|
+
arrowLeft: 'i-solar-arrow-left-linear',
|
|
109
|
+
arrowRight: 'i-solar-arrow-right-linear',
|
|
110
|
+
arrowUp: 'i-solar-arrow-up-linear',
|
|
111
|
+
caution: 'i-solar-danger-circle-bold',
|
|
112
|
+
check: 'i-solar-check-bold',
|
|
113
|
+
chevronDoubleLeft: 'i-solar-double-alt-arrow-left-linear',
|
|
114
|
+
chevronDoubleRight: 'i-solar-double-alt-arrow-right-linear',
|
|
115
|
+
chevronDown: 'i-solar-alt-arrow-down-linear',
|
|
116
|
+
chevronLeft: 'i-solar-alt-arrow-left-linear',
|
|
117
|
+
chevronRight: 'i-solar-alt-arrow-right-linear',
|
|
118
|
+
chevronUp: 'i-solar-alt-arrow-up-linear',
|
|
119
|
+
close: 'i-solar-close-bold',
|
|
120
|
+
copy: 'i-solar-copy-bold',
|
|
121
|
+
copyCheck: 'i-solar-copy-check-bold',
|
|
122
|
+
dark: 'i-solar-moon-bold',
|
|
123
|
+
drag: 'i-solar-reorder-linear',
|
|
124
|
+
edit: 'i-solar-pen-new-square-bold',
|
|
125
|
+
ellipsis: 'i-solar-menu-dots-bold',
|
|
126
|
+
error: 'i-solar-close-circle-bold',
|
|
127
|
+
external: 'i-solar-arrow-right-up-linear',
|
|
128
|
+
eye: 'i-solar-eye-bold',
|
|
129
|
+
eyeOff: 'i-solar-eye-closed-bold',
|
|
130
|
+
file: 'i-solar-file-bold',
|
|
131
|
+
folder: 'i-solar-folder-bold',
|
|
132
|
+
folderOpen: 'i-solar-folder-open-bold',
|
|
133
|
+
hash: 'i-solar-hashtag-bold',
|
|
134
|
+
info: 'i-solar-info-circle-bold',
|
|
135
|
+
light: 'i-solar-sun-2-bold',
|
|
136
|
+
loading: 'i-solar-loader-bold',
|
|
137
|
+
menu: 'i-solar-hamburger-menu-linear',
|
|
138
|
+
minus: 'i-solar-minus-bold',
|
|
139
|
+
panelClose: 'i-solar-panel-left-close-bold',
|
|
140
|
+
panelOpen: 'i-solar-panel-left-open-bold',
|
|
141
|
+
plus: 'i-solar-add-bold',
|
|
142
|
+
reload: 'i-solar-restart-bold',
|
|
143
|
+
search: 'i-solar-magnifier-linear',
|
|
144
|
+
star: 'i-solar-star-bold',
|
|
145
|
+
stop: 'i-solar-stop-bold',
|
|
146
|
+
success: 'i-solar-check-circle-bold',
|
|
147
|
+
system: 'i-solar-monitor-bold',
|
|
148
|
+
tip: 'i-solar-lightbulb-bold',
|
|
149
|
+
trash: 'i-solar-trash-bin-trash-bold',
|
|
150
|
+
upload: 'i-solar-upload-bold',
|
|
151
|
+
warning: 'i-solar-danger-triangle-bold'
|
|
151
152
|
},
|
|
152
153
|
|
|
153
154
|
/* ── Elements ─────────────────────────────────────────────────────────────────────────────────────────── */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-ui-ink",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "A monochrome theme for Nuxt UI, as a Nuxt layer.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"preview": "nuxt build playground && wrangler dev --cwd playground --port 4310"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@iconify-json/
|
|
41
|
+
"@iconify-json/solar": "^1.2.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@nuxt/ui": "^4.13.0",
|