@decidables/decidables-elements 0.0.4 → 0.2.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/CHANGELOG.md +45 -0
- package/LICENSE.md +641 -750
- package/README.md +20 -9
- package/lib/decidablesElements.esm.js +2010 -2235
- package/lib/decidablesElements.esm.js.map +1 -1
- package/lib/decidablesElements.esm.min.js +757 -3
- package/lib/decidablesElements.esm.min.js.map +1 -1
- package/lib/decidablesElements.umd.js +2011 -2236
- package/lib/decidablesElements.umd.js.map +1 -1
- package/lib/decidablesElements.umd.min.js +757 -3
- package/lib/decidablesElements.umd.min.js.map +1 -1
- package/package.json +10 -7
- package/src/decidables-element.js +2 -26
- package/src/slider.js +2 -2
- package/src/switch.js +3 -3
- package/src/toggle-option.js +2 -2
package/README.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
<!--lint ignore first-heading-level-->
|
|
2
2
|
|
|
3
|
-
# decidables-elements
|
|
3
|
+
# **`@decidables/decidables-elements`**<br>Web Components for Basic UI in [**decidables**](https://decidables.github.io)
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@decidables/decidables-elements)
|
|
6
|
-
[](https://github.com/decidables/decidables/blob/main/LICENSE.md)
|
|
6
|
+
[](https://github.com/decidables/decidables/blob/main/LICENSE.md)
|
|
7
|
+
|
|
8
|
+
This package provides basic user interface web components for use in all of the explorables. This
|
|
9
|
+
facilitates a consistent look and feel. They try to use the native inputs when possible, but build
|
|
10
|
+
on them for new elements like a switch, and composite elements like a slider with a linked spinner.
|
|
7
11
|
|
|
8
12
|
## Usage
|
|
9
13
|
|
|
@@ -267,7 +271,9 @@ static get properties() {
|
|
|
267
271
|
|
|
268
272
|
And `this.stuff` will be a `Set` with members: `'this'`, `'that'`, and `'other'`
|
|
269
273
|
|
|
270
|
-
##
|
|
274
|
+
## Development
|
|
275
|
+
|
|
276
|
+
### Features/Bugs/Notes
|
|
271
277
|
|
|
272
278
|
- Custom spinner that looks better than User Agent spinners?
|
|
273
279
|
- Edge/IE11 - slider shadow is clipped
|
|
@@ -275,9 +281,7 @@ And `this.stuff` will be a `Set` with members: `'this'`, `'that'`, and `'other'`
|
|
|
275
281
|
- Firefox - spinner arrows look ugly and asymmetrical
|
|
276
282
|
- IE11 - No CSS variables outside custom elements (and not patched by ShadyCSS!)
|
|
277
283
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
### Local Scripts
|
|
284
|
+
### Package Scripts
|
|
281
285
|
|
|
282
286
|
- `yarn lint`
|
|
283
287
|
- Lints markdown, scripts and styles
|
|
@@ -290,7 +294,7 @@ And `this.stuff` will be a `Set` with members: `'this'`, `'that'`, and `'other'`
|
|
|
290
294
|
- `yarn build`
|
|
291
295
|
- Builds bundles from `src/` to `lib/`
|
|
292
296
|
|
|
293
|
-
|
|
297
|
+
### File Organization
|
|
294
298
|
|
|
295
299
|
- `decidables-elements/`
|
|
296
300
|
- `lib/` (Bundles created from `src/` by `build`) **\[autogenerated\]**
|
|
@@ -298,6 +302,13 @@ And `this.stuff` will be a `Set` with members: `'this'`, `'that'`, and `'other'`
|
|
|
298
302
|
- `test/` (Testing files)
|
|
299
303
|
- `coverage/` (Code coverage results) **\[autogenerated\]**
|
|
300
304
|
- `CHANGELOG.md` (Based on conventional commits) **\[autogenerated\]**
|
|
301
|
-
- `gulpfile.js` (
|
|
302
|
-
- `package.json` (
|
|
305
|
+
- `gulpfile.js` (Tasks for *gulp*)
|
|
306
|
+
- `package.json` (Package config for *yarn* and *npm*)
|
|
303
307
|
- `README.md` (This file)
|
|
308
|
+
|
|
309
|
+
## [License](https://github.com/decidables/decidables/blob/main/LICENSE.md)
|
|
310
|
+
|
|
311
|
+
The content of this project is licensed under [Creative Commons Attribution-ShareAlike 4.0
|
|
312
|
+
International License (CC-BY-SA-4.0)](https://creativecommons.org/licenses/by-sa/4.0/) and the
|
|
313
|
+
source code of this project is licensed under [GNU General Public License v3.0 or any later version
|
|
314
|
+
(GPL-3.0-or-later)](https://www.gnu.org/licenses/gpl-3.0.html).
|