@soleil-se/config-svelte 1.11.0 → 1.11.1

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 CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.11.1] - 2022-04-12
9
+
10
+ - Add `class` prop to [NumberSpinner](./components/NumberSpinner).
11
+
8
12
  ## [1.11.0] - 2022-03-29
9
13
 
10
14
  - Add settings for decorative images in [ImageSelector](./components/ImageSelector).
@@ -89,7 +89,7 @@
89
89
  width: 100%;
90
90
  height: 34px;
91
91
  margin-top: -34px;
92
- background-color: rgb(255 255 255 / 30%);
93
92
  cursor: not-allowed;
93
+ background-color: rgb(255 255 255 / 30%);
94
94
  }
95
95
  </style>
@@ -19,6 +19,9 @@
19
19
  value = min && value < Number(min) ? min : value;
20
20
  value = max && value > Number(max) ? max : value;
21
21
 
22
+ let className = '';
23
+ export { className as class };
24
+
22
25
  let element;
23
26
 
24
27
  $: {
@@ -43,7 +46,7 @@
43
46
  [README](https://docs.soleilit.se/03.packages/@soleil&svelte-config/components/NumberSpinner/)
44
47
  -->
45
48
 
46
- <div class="form-group">
49
+ <div class="form-group {className}">
47
50
  <label for={id} class="control-label">{label}</label>
48
51
  <input
49
52
  {id}
@@ -17,6 +17,7 @@ export let suffix;
17
17
  export let disabled = false;
18
18
  export let readonly = false;
19
19
  export let value = min || 1;
20
+ export let class = '';
20
21
  ```
21
22
 
22
23
  ## Example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soleil-se/config-svelte",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "main": "./index.js",
5
5
  "module": "./index.js",
6
6
  "svelte": "./index.js",