create-ui0 0.1.4 → 0.1.5
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/index.js +3 -3
- package/package.json +1 -1
- package/template/package.json.tpl +3 -3
- package/template/src/App.vue +22 -25
- package/template-nuxt/package.json.tpl +4 -4
package/dist/index.js
CHANGED
|
@@ -34,7 +34,7 @@ const FEATURES = [
|
|
|
34
34
|
{
|
|
35
35
|
id: 'flex',
|
|
36
36
|
title: 'Flex layout',
|
|
37
|
-
deps: { '@ui0/flex': '^0.1.
|
|
37
|
+
deps: { '@ui0/flex': '^0.1.4' },
|
|
38
38
|
importLine: "import Flex from '@ui0/flex'",
|
|
39
39
|
cssLines: ["'@ui0/flex/style.css'"],
|
|
40
40
|
section: ` <section>
|
|
@@ -49,7 +49,7 @@ const FEATURES = [
|
|
|
49
49
|
{
|
|
50
50
|
id: 'button',
|
|
51
51
|
title: 'Button component',
|
|
52
|
-
deps: { '@ui0/button': '^0.1.
|
|
52
|
+
deps: { '@ui0/button': '^0.1.4' },
|
|
53
53
|
importLine: "import Button from '@ui0/button'",
|
|
54
54
|
cssLines: ["'@ui0/button/style.css'"],
|
|
55
55
|
section: ` <section>
|
|
@@ -60,7 +60,7 @@ const FEATURES = [
|
|
|
60
60
|
{
|
|
61
61
|
id: 'icon',
|
|
62
62
|
title: 'Icon component + ui0 icon pack',
|
|
63
|
-
deps: { '@ui0/icon': '^0.1.
|
|
63
|
+
deps: { '@ui0/icon': '^0.1.4', '@ui0/icons': '^0.1.4' },
|
|
64
64
|
importLine: "import { Icon } from '@ui0/icon'",
|
|
65
65
|
cssLines: ["'@ui0/icon/style.css'", "'@ui0/icons/style.css'"],
|
|
66
66
|
section: ` <section>
|
package/package.json
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"vue": "^3.5.45",
|
|
13
|
-
"@ui0/core": "^0.1.
|
|
14
|
-
"@ui0/theme": "^0.1.
|
|
13
|
+
"@ui0/core": "^0.1.5",
|
|
14
|
+
"@ui0/theme": "^0.1.5"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@ui0/types": "^0.1.
|
|
17
|
+
"@ui0/types": "^0.1.6",
|
|
18
18
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
19
19
|
"sass-embedded": "^1.80.0",
|
|
20
20
|
"typescript": "~6.0.3",
|
package/template/src/App.vue
CHANGED
|
@@ -4,41 +4,38 @@
|
|
|
4
4
|
title="ui0 app"
|
|
5
5
|
name="app"
|
|
6
6
|
>
|
|
7
|
-
|
|
8
|
-
<h1>ui0 app</h1>
|
|
9
|
-
|
|
10
|
-
/* FEATURE_SECTIONS */
|
|
11
|
-
</main>
|
|
7
|
+
/* FEATURE_SECTIONS */
|
|
12
8
|
</App>
|
|
13
9
|
</ThemeProvider>
|
|
14
10
|
</template>
|
|
15
11
|
|
|
16
12
|
<script setup lang="ts">
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
import { App } from '@ui0/core'
|
|
14
|
+
import { ThemeProvider } from '@ui0/theme'
|
|
19
15
|
/* FEATURE_IMPORTS */
|
|
20
16
|
</script>
|
|
21
17
|
|
|
22
18
|
<style module lang="scss">
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
@value app from '@ui0/core/app';
|
|
20
|
+
.page {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
gap: 24px;
|
|
24
|
+
padding: 32px;
|
|
25
|
+
font-family: system-ui, sans-serif;
|
|
29
26
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
h2 {
|
|
34
|
-
font-size: 14px;
|
|
35
|
-
opacity: 0.7;
|
|
36
|
-
margin-bottom: 8px;
|
|
37
|
-
}
|
|
27
|
+
h1 {
|
|
28
|
+
font-size: 20px;
|
|
38
29
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
30
|
+
h2 {
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
opacity: 0.7;
|
|
33
|
+
margin-bottom: 8px;
|
|
43
34
|
}
|
|
35
|
+
}
|
|
36
|
+
.box {
|
|
37
|
+
padding: 12px 16px;
|
|
38
|
+
border: 1px solid rgba(127, 127, 127, 0.4);
|
|
39
|
+
border-radius: 6px;
|
|
40
|
+
}
|
|
44
41
|
</style>
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"preview": "nuxt preview"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@ui0/core": "^0.1.
|
|
13
|
-
"@ui0/nuxt": "^0.1.
|
|
14
|
-
"@ui0/theme": "^0.1.
|
|
12
|
+
"@ui0/core": "^0.1.5",
|
|
13
|
+
"@ui0/nuxt": "^0.1.2",
|
|
14
|
+
"@ui0/theme": "^0.1.5",
|
|
15
15
|
"nuxt": "^4.6.4",
|
|
16
16
|
"vue": "^3.5.45"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@ui0/types": "^0.1.
|
|
19
|
+
"@ui0/types": "^0.1.6",
|
|
20
20
|
"sass-embedded": "^1.80.0"
|
|
21
21
|
}
|
|
22
22
|
}
|