@spark-web/select 1.0.2 → 1.0.3

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +3 -3
  3. package/package.json +15 -12
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @spark-web/select
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#42](https://github.com/brighte-labs/spark-web/pull/42)
8
+ [`435779a`](https://github.com/brighte-labs/spark-web/commit/435779aa42bd635bbf43e1fd41724c666402caa2)
9
+ Thanks [@lukebennett88](https://github.com/lukebennett88)! - Prevent multiple
10
+ versions of React
11
+
12
+ - Updated dependencies
13
+ [[`435779a`](https://github.com/brighte-labs/spark-web/commit/435779aa42bd635bbf43e1fd41724c666402caa2)]:
14
+ - @spark-web/a11y@1.0.3
15
+ - @spark-web/box@1.0.3
16
+ - @spark-web/field@1.0.3
17
+ - @spark-web/icon@1.1.1
18
+ - @spark-web/text@1.0.3
19
+ - @spark-web/text-input@1.0.3
20
+ - @spark-web/theme@2.0.2
21
+ - @spark-web/utils@1.1.1
22
+
3
23
  ## 1.0.2
4
24
 
5
25
  ### Patch Changes
package/README.md CHANGED
@@ -126,12 +126,12 @@ return (
126
126
  | Prop | Type | Default | Description |
127
127
  | ------------- | -------------------------------------------- | ------- | -------------------------------------------------------------------------------------- |
128
128
  | data? | [DataAttributeMap][data-attribute-map] | | Sets data attributes on the component. |
129
- | options | Readonly<Array<Option \| Group\>> | | The values that can be selected by the input. |
129
+ | options | Readonly\<Array\<Option \| Group>> | | The values that can be selected by the input. |
130
130
  | placeholder? | string | | Placeholder text for when the input does not have an initial value. |
131
131
  | defaultValue? | string \| number \| readonly string[] | | Default value of the select. |
132
132
  | name? | string | | This attribute is used to specify the name of the control. |
133
- | onBlur? | React.FocusEventHandler<HTMLSelectElement\> | | Function for handling change events. |
134
- | onChange? | React.ChangeEventHandler<HTMLSelectElement\> | | Function for handling blur events. |
133
+ | onBlur? | React.FocusEventHandler\<HTMLSelectElement> | | Function for handling change events. |
134
+ | onChange? | React.ChangeEventHandler\<HTMLSelectElement> | | Function for handling blur events. |
135
135
  | required? | boolean | | Boolean that indicating that an option with a non-empty string value must be selected. |
136
136
  | value | string \| number \| readonly string[] | | Value of the select. |
137
137
 
package/package.json CHANGED
@@ -1,25 +1,28 @@
1
1
  {
2
2
  "name": "@spark-web/select",
3
+ "version": "1.0.3",
3
4
  "license": "MIT",
4
- "version": "1.0.2",
5
5
  "main": "dist/spark-web-select.cjs.js",
6
6
  "module": "dist/spark-web-select.esm.js",
7
- "devDependencies": {
8
- "@types/react": "^17.0.12"
9
- },
10
7
  "dependencies": {
11
8
  "@babel/runtime": "^7.14.6",
12
9
  "@emotion/css": "^11.7.1",
13
- "@spark-web/a11y": "^1.0.2",
14
- "@spark-web/box": "^1.0.2",
15
- "@spark-web/field": "^1.0.2",
16
- "@spark-web/icon": "^1.0.2",
17
- "@spark-web/text": "^1.0.2",
18
- "@spark-web/text-input": "^1.0.2",
19
- "@spark-web/theme": "^2.0.1",
20
- "@spark-web/utils": "^1.0.2",
10
+ "@spark-web/a11y": "^1.0.3",
11
+ "@spark-web/box": "^1.0.3",
12
+ "@spark-web/field": "^1.0.3",
13
+ "@spark-web/icon": "^1.1.1",
14
+ "@spark-web/text": "^1.0.3",
15
+ "@spark-web/text-input": "^1.0.3",
16
+ "@spark-web/theme": "^2.0.2",
17
+ "@spark-web/utils": "^1.1.1"
18
+ },
19
+ "devDependencies": {
20
+ "@types/react": "^17.0.12",
21
21
  "react": "^17.0.2"
22
22
  },
23
+ "peerDependencies": {
24
+ "react": ">=17.0.2"
25
+ },
23
26
  "engines": {
24
27
  "node": ">= 14.13"
25
28
  }