generator-nitro 9.4.2 → 9.5.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/generators/app/templates/.node-version +1 -1
- package/generators/app/templates/CUTAWAYpackage.json +2 -2
- package/generators/app/templates/project/docs/nitro.md +1 -1
- package/generators/app/templates/src/patterns/atoms/checkbox/css/checkbox.scss +4 -4
- package/generators/app/templates/src/patterns/atoms/checkbox/readme.md +1 -5
- package/generators/app/templates/src/patterns/atoms/list/css/list.scss +5 -2
- package/generators/app/templates/src/patterns/atoms/list/css/modifier/list-mix.scss +2 -2
- package/generators/app/templates/src/patterns/atoms/list/readme.md +2 -3
- package/package.json +1 -1
- package/generators/app/templates/src/patterns/atoms/checkbox/img/check.svg +0 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
20.
|
|
1
|
+
20.19.1
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"dependencies": {<% if (options.exampleCode) { %>
|
|
81
81
|
"@gondel/core": "1.2.8",
|
|
82
82
|
"@gondel/plugin-hot": "1.2.8",
|
|
83
|
-
"bootstrap": "5.3.
|
|
83
|
+
"bootstrap": "5.3.6",<% } %>
|
|
84
84
|
"core-js": "3.42.0"<% if (options.exampleCode) { %>,
|
|
85
85
|
"flatpickr": "4.6.13",
|
|
86
86
|
"handlebars": "4.7.8",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"husky": "9.1.7",
|
|
126
126
|
"license-checker": "25.0.1",
|
|
127
127
|
"lighthouse": "12.6.0",
|
|
128
|
-
"lint-staged": "15.5.
|
|
128
|
+
"lint-staged": "15.5.2",<% if (options.themes) { %>
|
|
129
129
|
"node-sass": "9.0.0",<% } %>
|
|
130
130
|
"npm-check-updates": "18.0.1",
|
|
131
131
|
"npm-run-all": "4.1.5",
|
|
@@ -432,7 +432,7 @@ For final use, all assets are copied from the 'src' to the 'public' folder.
|
|
|
432
432
|
The main assets will be bundled with an easy to use webpack config.
|
|
433
433
|
|
|
434
434
|
The configuration includes loaders for JavaScript, TypeScript, CSS & SCSS,
|
|
435
|
-
clientside handlebars, webfonts and images (with minification).
|
|
435
|
+
clientside handlebars, webfonts and images (with minification).
|
|
436
436
|
|
|
437
437
|
You only have to enable the desired loaders and features. And of course, it is possible to extend the configuration to your needs.
|
|
438
438
|
|
|
@@ -28,13 +28,13 @@ $checkbox-color: $color-gray-5;
|
|
|
28
28
|
border-radius: 4px;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
// Checkbox Replacement - checked state:
|
|
31
|
+
// Checkbox Replacement - checked state: check char
|
|
32
32
|
&:checked + .a-checkbox__label::after {
|
|
33
|
-
|
|
33
|
+
content: '✔';
|
|
34
34
|
color: $color-gray-4;
|
|
35
35
|
position: absolute;
|
|
36
|
-
top:
|
|
37
|
-
left:
|
|
36
|
+
top: 20%;
|
|
37
|
+
left: 5px;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&:focus,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# checkbox
|
|
2
2
|
|
|
3
|
-
Displays a custom checkbox example with label by using css and
|
|
3
|
+
Displays a custom checkbox example with label by using css and background image
|
|
4
4
|
|
|
5
5
|
## Things to note
|
|
6
6
|
|
|
@@ -8,10 +8,6 @@ Displays a custom checkbox example with label by using css and a fonticon
|
|
|
8
8
|
|
|
9
9
|
You may use this pattern with a [div, li or span](./schema.json) root node.
|
|
10
10
|
|
|
11
|
-
### Iconfont
|
|
12
|
-
|
|
13
|
-
The checkbox icon will be extracted to an iconfont with the [iconfont-webpack-plugin](https://www.npmjs.com/package/iconfont-webpack-plugin)
|
|
14
|
-
|
|
15
11
|
## Testing
|
|
16
12
|
|
|
17
13
|
[Example page](http://localhost:8081/example-patterns)
|
|
@@ -9,8 +9,11 @@ $a-list-size: 2rem;
|
|
|
9
9
|
margin: 0.3 * $a-list-size 0;
|
|
10
10
|
&::before {
|
|
11
11
|
position: absolute;
|
|
12
|
+
content: '';
|
|
13
|
+
width: 1em;
|
|
14
|
+
height: 1em;
|
|
12
15
|
margin-top: 0.1 * $a-list-size;
|
|
13
|
-
margin-left: -1.
|
|
14
|
-
|
|
16
|
+
margin-left: -1.6 * $a-list-size;
|
|
17
|
+
background: center / contain no-repeat url('../img/check.svg');
|
|
15
18
|
}
|
|
16
19
|
}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
/* stylelint-disable max-nesting-depth */
|
|
4
4
|
&:nth-child(2n) {
|
|
5
5
|
&::before {
|
|
6
|
-
|
|
6
|
+
background-image: url('../../img/arrow.svg');
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
&:nth-child(3n) {
|
|
10
10
|
&::before {
|
|
11
|
-
|
|
11
|
+
background-image: url('../../img/nitro.svg');
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
/* stylelint-enable max-nesting-depth */
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
# list
|
|
2
2
|
|
|
3
3
|
Unordered list with icon as bullet point (default: checkmark).
|
|
4
|
-
|
|
5
|
-
Possibility to add an svg icon at the end of the text using icon pattern
|
|
4
|
+
Possibility to add an svg icon at the end of the text using the icon pattern
|
|
6
5
|
|
|
7
6
|
## API
|
|
8
7
|
|
|
9
|
-
modifier `a-list
|
|
8
|
+
modifier `a-list--mix` for different icons per line
|
|
10
9
|
|
|
11
10
|
## Testing
|
|
12
11
|
|
package/package.json
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<!-- Generator: Sketch 49.3 (51167) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
-
<title>check_16x16px</title>
|
|
5
|
-
<desc>Created with Sketch.</desc>
|
|
6
|
-
<defs>
|
|
7
|
-
<path d="M5.5148,11.9997 L0.3738,7.9557 C-0.0562,7.6167 -0.1262,6.9997 0.2208,6.5787 C0.5668,6.1577 1.1958,6.0887 1.6258,6.4277 L5.3448,9.3537 L14.2818,0.2977 C14.6658,-0.0893 15.2978,-0.1013 15.6958,0.2747 C16.0918,0.6507 16.1028,1.2707 15.7188,1.6607 L5.5148,11.9997 Z" id="path-1"></path>
|
|
8
|
-
</defs>
|
|
9
|
-
<g id="check_16x16px" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
-
<g id="check-icon" transform="translate(0.000000, 2.000000)">
|
|
11
|
-
<mask id="mask-2" fill="white">
|
|
12
|
-
<use xlink:href="#path-1"></use>
|
|
13
|
-
</mask>
|
|
14
|
-
<use id="Mask" fill="#000000" xlink:href="#path-1"></use>
|
|
15
|
-
<g id="corporate/Green" mask="url(#mask-2)">
|
|
16
|
-
<g transform="translate(-8.000000, -11.000000)"></g>
|
|
17
|
-
</g>
|
|
18
|
-
</g>
|
|
19
|
-
</g>
|
|
20
|
-
</svg>
|