@intility/bifrost-react-select 4.0.0-beta.3 → 4.0.0-beta.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/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @intility/bifrost-react-select
2
2
 
3
+ ## 4.0.0-beta.5
4
+
5
+ ### Patch Changes
6
+
7
+ - e410a910: New base color values for light mode #711
8
+ - Updated dependencies [e410a910]
9
+ - @intility/bifrost-react@4.0.0-beta.4
10
+
11
+ ## 4.0.0-beta.4
12
+
13
+ ### Patch Changes
14
+
15
+ - a903f282: fix: export typescript types used in react components
16
+ - Updated dependencies [a903f282]
17
+ - Updated dependencies [19500ce7]
18
+ - Updated dependencies [8263586d]
19
+ - @intility/bifrost-react@4.0.0-beta.3
20
+
3
21
  ## 4.0.0-beta.3
4
22
 
5
23
  ### Patch Changes
package/dist/Select.d.ts CHANGED
@@ -47,7 +47,7 @@ export type SelectType = {
47
47
  }, IsMulti extends boolean = false, Group extends GroupBase<OptionType> = GroupBase<OptionType>>(props: ReactSelectProps<OptionType, IsMulti, Group> & RefAttributes<SelectInstance<OptionType, IsMulti, Group>> & SelectProps): React.ReactElement | null;
48
48
  displayName?: string;
49
49
  };
50
- declare const SelectComponent: SelectType;
50
+ export declare const Select: SelectType;
51
51
  export type AsyncType = {
52
52
  <OptionType = {
53
53
  label: string;
@@ -82,4 +82,4 @@ export type AsyncCreatableType = {
82
82
  };
83
83
  declare const AsyncCreatableSelect: AsyncCreatableType;
84
84
  export { AsyncSelect, CreatableSelect, AsyncCreatableSelect };
85
- export default SelectComponent;
85
+ export default Select;
package/dist/Select.js CHANGED
@@ -237,8 +237,8 @@ const selectStates = [
237
237
  };
238
238
  /**
239
239
  * Select component - dropdown list
240
- */ const SelectComponent = SelectHOC(ReactSelect);
241
- SelectComponent.displayName = "Select";
240
+ */ export const Select = SelectHOC(ReactSelect);
241
+ Select.displayName = "Select";
242
242
  const AsyncSelect = SelectHOC(AsyncReactSelect);
243
243
  AsyncSelect.displayName = "AsyncSelect";
244
244
  const CreatableSelect = SelectHOC(CreatableReactSelect);
@@ -246,4 +246,4 @@ CreatableSelect.displayName = "CreatableSelect";
246
246
  const AsyncCreatableSelect = SelectHOC(AsyncCreatableReactSelect);
247
247
  AsyncCreatableSelect.displayName = "AsyncCreatableSelect";
248
248
  export { AsyncSelect, CreatableSelect, AsyncCreatableSelect };
249
- export default SelectComponent;
249
+ export default Select;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@intility/bifrost-react-select",
3
- "version": "4.0.0-beta.3",
3
+ "version": "4.0.0-beta.5",
4
4
  "description": "React select component for Intility's design system, Bifrost.",
5
5
  "type": "module",
6
- "main": "dist/index.js",
6
+ "main": "dist/Select.js",
7
7
  "scripts": {
8
8
  "build": "run-p build:*",
9
9
  "build:module": "swc ./src -d dist",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "exports": {
17
17
  "./package.json": "./package.json",
18
- ".": "./dist/index.js"
18
+ ".": "./dist/Select.js"
19
19
  },
20
20
  "homepage": "https://bifrost.intility.com",
21
21
  "keywords": [
@@ -40,7 +40,7 @@
40
40
  "@fortawesome/fontawesome-svg-core": "^6.4.2",
41
41
  "@fortawesome/free-solid-svg-icons": "^6.4.2",
42
42
  "@fortawesome/react-fontawesome": "^0.2.0",
43
- "@intility/bifrost-react": "4.0.0-beta.2",
43
+ "@intility/bifrost-react": "4.0.0-beta.4",
44
44
  "classnames": "^2.2.6",
45
45
  "react-select": "^5.7.7"
46
46
  }
package/src/Select.tsx CHANGED
@@ -355,10 +355,10 @@ export type SelectType = {
355
355
  /**
356
356
  * Select component - dropdown list
357
357
  */
358
- const SelectComponent: SelectType = SelectHOC<SelectType, typeof ReactSelect>(
358
+ export const Select: SelectType = SelectHOC<SelectType, typeof ReactSelect>(
359
359
  ReactSelect,
360
360
  );
361
- SelectComponent.displayName = "Select";
361
+ Select.displayName = "Select";
362
362
 
363
363
  // Async Select
364
364
  export type AsyncType = {
@@ -431,4 +431,4 @@ const AsyncCreatableSelect = SelectHOC<
431
431
  AsyncCreatableSelect.displayName = "AsyncCreatableSelect";
432
432
 
433
433
  export { AsyncSelect, CreatableSelect, AsyncCreatableSelect };
434
- export default SelectComponent;
434
+ export default Select;
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export { default, default as Select, AsyncSelect, CreatableSelect, AsyncCreatableSelect, selectStyles, selectComponents, } from "./Select.js";
package/dist/index.js DELETED
@@ -1 +0,0 @@
1
- export { default, default as Select, AsyncSelect, CreatableSelect, AsyncCreatableSelect, selectStyles, selectComponents } from "./Select.js";
package/src/index.ts DELETED
@@ -1,9 +0,0 @@
1
- export {
2
- default,
3
- default as Select,
4
- AsyncSelect,
5
- CreatableSelect,
6
- AsyncCreatableSelect,
7
- selectStyles,
8
- selectComponents,
9
- } from "./Select.js";