@intility/bifrost-react-select 4.3.3 → 5.0.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 +17 -4
- package/dist/Select.d.ts +1 -2
- package/dist/Select.js +3 -11
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,24 +1,37 @@
|
|
|
1
1
|
# @intility/bifrost-react-select
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 5.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6d67f5f: Fix: Explicitly set `font-family` to "Open Sans" to prevent inheriting wrong
|
|
8
|
+
font from parent. #86
|
|
9
|
+
|
|
10
|
+
## 5.0.0
|
|
11
|
+
|
|
12
|
+
### Major Changes
|
|
13
|
+
|
|
14
|
+
- fcbbe97: Update `@Intility/bifrost-react` peer dependency to `>=5.0.0`
|
|
15
|
+
|
|
16
|
+
## 4.3.3 - 2025-02-26
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
6
19
|
|
|
7
20
|
- 1e2116f: update package metadata
|
|
8
21
|
|
|
9
|
-
## 4.3.2
|
|
22
|
+
## 4.3.2 - 2024-12-13
|
|
10
23
|
|
|
11
24
|
### Patch Changes
|
|
12
25
|
|
|
13
26
|
- eb3b1cc: Fix: Text color should be `base-c-2` for disabled inputs (when they have a value).
|
|
14
27
|
|
|
15
|
-
## 4.3.1
|
|
28
|
+
## 4.3.1 - 2024-11-06
|
|
16
29
|
|
|
17
30
|
### Patch Changes
|
|
18
31
|
|
|
19
32
|
- 9ac0d65: allow react 17 as a peer dep
|
|
20
33
|
|
|
21
|
-
## 4.3.0
|
|
34
|
+
## 4.3.0 - 2024-10-15
|
|
22
35
|
|
|
23
36
|
### Minor Changes
|
|
24
37
|
|
package/dist/Select.d.ts
CHANGED
|
@@ -26,8 +26,7 @@ export declare const selectStyles: {
|
|
|
26
26
|
groupHeading: (provided: any) => any;
|
|
27
27
|
};
|
|
28
28
|
export declare const selectComponents: typeof originalComponents;
|
|
29
|
-
|
|
30
|
-
export type SelectState = (typeof selectStates)[number];
|
|
29
|
+
export type SelectState = "default" | "alert";
|
|
31
30
|
export type SelectProps = {
|
|
32
31
|
/** Required label text */
|
|
33
32
|
label: ReactNode;
|
package/dist/Select.js
CHANGED
|
@@ -177,10 +177,6 @@ export const selectComponents = {
|
|
|
177
177
|
Option: CustomOption,
|
|
178
178
|
LoadingIndicator
|
|
179
179
|
};
|
|
180
|
-
const selectStates = [
|
|
181
|
-
"default",
|
|
182
|
-
"alert"
|
|
183
|
-
];
|
|
184
180
|
/**
|
|
185
181
|
* Select HOC
|
|
186
182
|
*/ const SelectHOC = (Selector)=>{
|
|
@@ -190,13 +186,9 @@ const selectStates = [
|
|
|
190
186
|
const selectId = useUniqueId(inputId);
|
|
191
187
|
const locale = useLocale();
|
|
192
188
|
return /*#__PURE__*/ _jsxs("div", {
|
|
193
|
-
className: classNames(className, {
|
|
194
|
-
"bf-select-
|
|
195
|
-
|
|
196
|
-
"bf-select-disabled": isDisabled
|
|
197
|
-
}, {
|
|
198
|
-
"bf-select-alert": !isDisabled && state === "alert"
|
|
199
|
-
}, {
|
|
189
|
+
className: classNames(className, "bf-select-container", "bf-open-sans", {
|
|
190
|
+
"bf-select-disabled": isDisabled,
|
|
191
|
+
"bf-select-alert": !isDisabled && state === "alert",
|
|
200
192
|
"bf-select-small": small
|
|
201
193
|
}),
|
|
202
194
|
style: style,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intility/bifrost-react-select",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "React select component for Intility's design system, Bifrost.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/Select.js",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"react
|
|
42
|
+
"@intility/bifrost-react": ">=5.0.0",
|
|
43
43
|
"react": ">=17.0.0",
|
|
44
|
-
"
|
|
44
|
+
"react-dom": ">=17.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@intility/bifrost-react": "^
|
|
47
|
+
"@intility/bifrost-react": "^5.0.2"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|