@intility/bifrost-react-select 4.0.0-beta.10 → 4.0.0-beta.12

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
@@ -1,5 +1,20 @@
1
1
  # @intility/bifrost-react-select
2
2
 
3
+ ## 4.0.0-beta.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [18c2b063]
8
+ - @intility/bifrost-react@4.0.0-beta.11
9
+
10
+ ## 4.0.0-beta.11
11
+
12
+ ### Patch Changes
13
+
14
+ - ea861dbc: Update lint config, add displayName for components
15
+ - Updated dependencies [ea861dbc]
16
+ - @intility/bifrost-react@4.0.0-beta.10
17
+
3
18
  ## 4.0.0-beta.10
4
19
 
5
20
  ### Patch Changes
package/dist/Select.js CHANGED
@@ -185,7 +185,7 @@ const selectStates = [
185
185
  * Select HOC
186
186
  */ const SelectHOC = (Selector)=>{
187
187
  // @ts-ignore
188
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
188
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, react/display-name
189
189
  const GeneratedSelect = /*#__PURE__*/ forwardRef(({ label, hideLabel = false, isDisabled = false, state, feedback, required = false, description, requiredNoLabel = false, optional = false, inputId, className, style, loading = false, components, ...props }, ref)=>{
190
190
  const selectId = useUniqueId(inputId);
191
191
  return /*#__PURE__*/ _jsxs("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intility/bifrost-react-select",
3
- "version": "4.0.0-beta.10",
3
+ "version": "4.0.0-beta.12",
4
4
  "description": "React select component for Intility's design system, Bifrost.",
5
5
  "type": "module",
6
6
  "main": "dist/Select.js",
@@ -11,7 +11,8 @@
11
11
  "start": "run-p watch:*",
12
12
  "watch:module": "npm run build:module -- --watch",
13
13
  "watch:types": "npm run build:types -- --watch --preserveWatchOutput",
14
- "clean": "rimraf dist"
14
+ "clean": "rimraf dist",
15
+ "lint": "eslint ./src/**/*.{ts,tsx}"
15
16
  },
16
17
  "exports": {
17
18
  "./package.json": "./package.json",
@@ -40,7 +41,7 @@
40
41
  "@fortawesome/fontawesome-svg-core": "^6.4.2",
41
42
  "@fortawesome/free-solid-svg-icons": "^6.4.2",
42
43
  "@fortawesome/react-fontawesome": "^0.2.0",
43
- "@intility/bifrost-react": "4.0.0-beta.9",
44
+ "@intility/bifrost-react": "4.0.0-beta.11",
44
45
  "classnames": "^2.2.6",
45
46
  "react-select": "^5.7.7"
46
47
  }
package/src/Select.tsx CHANGED
@@ -238,7 +238,7 @@ export type SelectState = (typeof selectStates)[number];
238
238
  */
239
239
  const SelectHOC = <Type, Selector>(Selector: Selector) => {
240
240
  // @ts-ignore
241
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
241
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, react/display-name
242
242
  const GeneratedSelect: Type = forwardRef<any, any>(
243
243
  (
244
244
  {