@oaknational/oak-components 3.12.1 → 3.12.2
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/dist/npm/cjs/index.js
CHANGED
|
@@ -3059,10 +3059,7 @@ function OakSelect(_a) {
|
|
|
3059
3059
|
break;
|
|
3060
3060
|
}
|
|
3061
3061
|
return (React__default.default.createElement(StyledWrapper, { "$display": $display, "$position": "relative", "$alignItems": "center", "$gap": "spacing-16" },
|
|
3062
|
-
React__default.default.createElement(NativeSelect, { key: props.value, "$pa": "spacing-16", "$background": finalBackgroundColor, "$borderColor": finalBorderColor, "$pr": "spacing-56", "$focusRingDropShadows": focusRingDropShadows, "$ba": "border-solid-m", disabled: !!props.disabled, "$borderRadius": "border-radius-s", "$hoverBackground": hoverBackground, "$disabledBackgroundColor": disabledBackgroundColor, "$readOnlyBorderColor": finalReadOnlyBorderColor, "$disabledColor": disabledColor, "$readOnlyColor": readOnlyColor, "$color": color, "$disabled": !!props.disabled, "$readOnly": !!props.readOnly, id: id, name: name, onChange: onChange, value: props.value },
|
|
3063
|
-
React__default.default.createElement("button", null,
|
|
3064
|
-
React__default.default.createElement("selectedcontent", null)),
|
|
3065
|
-
children),
|
|
3062
|
+
React__default.default.createElement(NativeSelect, { key: props.value, "$pa": "spacing-16", "$background": finalBackgroundColor, "$borderColor": finalBorderColor, "$pr": "spacing-56", "$focusRingDropShadows": focusRingDropShadows, "$ba": "border-solid-m", disabled: !!props.disabled, "$borderRadius": "border-radius-s", "$hoverBackground": hoverBackground, "$disabledBackgroundColor": disabledBackgroundColor, "$readOnlyBorderColor": finalReadOnlyBorderColor, "$disabledColor": disabledColor, "$readOnlyColor": readOnlyColor, "$color": color, "$disabled": !!props.disabled, "$readOnly": !!props.readOnly, id: id, name: name, onChange: onChange, value: props.value }, children),
|
|
3066
3063
|
React__default.default.createElement(IconUp, { "$position": "absolute", "$top": "spacing-0", "$bottom": "spacing-0", "$right": "spacing-12", "$pointerEvents": "none", "$alignContent": "center" },
|
|
3067
3064
|
React__default.default.createElement(OakIcon, { iconName: "chevron-up" })),
|
|
3068
3065
|
React__default.default.createElement(IconDown, { "$position": "absolute", "$top": "spacing-0", "$bottom": "spacing-0", "$right": "spacing-12", "$pointerEvents": "none", "$alignContent": "center" },
|
|
@@ -30,10 +30,7 @@ function OakSelect(_a) {
|
|
|
30
30
|
break;
|
|
31
31
|
}
|
|
32
32
|
return (React.createElement(StyledWrapper, { "$display": $display, "$position": "relative", "$alignItems": "center", "$gap": "spacing-16" },
|
|
33
|
-
React.createElement(NativeSelect, { key: props.value, "$pa": "spacing-16", "$background": finalBackgroundColor, "$borderColor": finalBorderColor, "$pr": "spacing-56", "$focusRingDropShadows": focusRingDropShadows, "$ba": "border-solid-m", disabled: !!props.disabled, "$borderRadius": "border-radius-s", "$hoverBackground": hoverBackground, "$disabledBackgroundColor": disabledBackgroundColor, "$readOnlyBorderColor": finalReadOnlyBorderColor, "$disabledColor": disabledColor, "$readOnlyColor": readOnlyColor, "$color": color, "$disabled": !!props.disabled, "$readOnly": !!props.readOnly, id: id, name: name, onChange: onChange, value: props.value },
|
|
34
|
-
React.createElement("button", null,
|
|
35
|
-
React.createElement("selectedcontent", null)),
|
|
36
|
-
children),
|
|
33
|
+
React.createElement(NativeSelect, { key: props.value, "$pa": "spacing-16", "$background": finalBackgroundColor, "$borderColor": finalBorderColor, "$pr": "spacing-56", "$focusRingDropShadows": focusRingDropShadows, "$ba": "border-solid-m", disabled: !!props.disabled, "$borderRadius": "border-radius-s", "$hoverBackground": hoverBackground, "$disabledBackgroundColor": disabledBackgroundColor, "$readOnlyBorderColor": finalReadOnlyBorderColor, "$disabledColor": disabledColor, "$readOnlyColor": readOnlyColor, "$color": color, "$disabled": !!props.disabled, "$readOnly": !!props.readOnly, id: id, name: name, onChange: onChange, value: props.value }, children),
|
|
37
34
|
React.createElement(IconUp, { "$position": "absolute", "$top": "spacing-0", "$bottom": "spacing-0", "$right": "spacing-12", "$pointerEvents": "none", "$alignContent": "center" },
|
|
38
35
|
React.createElement(OakIcon, { iconName: "chevron-up" })),
|
|
39
36
|
React.createElement(IconDown, { "$position": "absolute", "$top": "spacing-0", "$bottom": "spacing-0", "$right": "spacing-12", "$pointerEvents": "none", "$alignContent": "center" },
|