semantic-forms 3.0.4 → 3.0.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/README.md +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,7 +12,9 @@ Include the `semanticForms.css` and `semanticForms.js` files from this repo into
|
|
|
12
12
|
|
|
13
13
|
If you want to set your own images for the clear fields and dropdown arrows, then include the `semanticFormsNoImages.css` and `semanticForms.js` files from this repo into your project instead, as they do not have any preset images embedded in the CSS and will result in a smaller dependency size.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
If you have CSS inheritance conflicts with other CSS in your webapp, try including the "reset" versions of the semantic forms CSS files (`semanticFormsReset.css` or `semanticFormsNoImagesReset.css`) which set `all: unset;` before applying any semantic-forms styles to help avoid conflicts with other CSS. There is a performance degradation to using this technique, so you should only use this if absolutely necessary.
|
|
16
|
+
|
|
17
|
+
Then apply the `semanticForms` class to your `<form>` elements:
|
|
16
18
|
|
|
17
19
|
```html
|
|
18
20
|
<form class="semanticForms">
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "semantic-forms",
|
|
3
3
|
"description": "Semantic Forms",
|
|
4
4
|
"author": "Eric Newport <kethinov@gmail.com>",
|
|
5
|
-
"version": "3.0.
|
|
5
|
+
"version": "3.0.5",
|
|
6
6
|
"files": [
|
|
7
7
|
"semanticForms.css",
|
|
8
8
|
"semanticForms.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"scripts": {
|
|
23
23
|
"test": "echo \"TODO: tests\"",
|
|
24
24
|
"coverage": "echo \"TODO: test coverage\"",
|
|
25
|
-
"build": "lessc semanticFormsImages.less semanticForms.css && lessc semanticFormsNoImages.less semanticFormsNoImages.css"
|
|
25
|
+
"build": "lessc semanticFormsImages.less semanticForms.css && lessc semanticFormsNoImages.less semanticFormsNoImages.css && lessc semanticFormsImagesReset.less semanticFormsReset.css && lessc semanticFormsNoImagesReset.less semanticFormsNoImagesReset.css"
|
|
26
26
|
},
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|