@ikatec/nebula-react 1.11.0-beta.1 → 1.11.0-beta.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.
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -4884,6 +4884,7 @@ var InputText = React25__namespace.forwardRef(
|
|
|
4884
4884
|
className: cn(
|
|
4885
4885
|
"flex outline-none",
|
|
4886
4886
|
"rounded-input",
|
|
4887
|
+
"w-full",
|
|
4887
4888
|
"border border-inputText-border-default focus-within:ring-[3px] focus-within:ring-inputText-border-focus focus-within:border-inputText-border-focus",
|
|
4888
4889
|
"focus-within:text-inputText-text-focus placeholder:text-inputText-text-default disabled:text-inputText-text-disabled",
|
|
4889
4890
|
isError && "border-inputText-border-danger focus-within:border-inputText-border-danger focus-within:ring-button-danger-border-focus",
|
|
@@ -5820,7 +5821,6 @@ var controlStyles = ({ isDisabled, isFocused }, isError, size4) => {
|
|
|
5820
5821
|
"border-inputSelect-default-border text-inputSelect-default-text": !isFocused && !isError,
|
|
5821
5822
|
"bg-inputText-background-disabled": isDisabled,
|
|
5822
5823
|
"ring-button-danger-border-focus": isError && isFocused,
|
|
5823
|
-
[buttonSizeEnum[size4 ?? "md"]]: true,
|
|
5824
5824
|
"!min-h-8": size4 === "sm",
|
|
5825
5825
|
"!min-h-10": size4 === "md"
|
|
5826
5826
|
}
|
|
@@ -5869,6 +5869,7 @@ var createStyledSelect = (BaseSelect, displayName) => {
|
|
|
5869
5869
|
const { messages: messages23 } = useNebulaI18n();
|
|
5870
5870
|
const customClassNames = React25.useMemo(() => {
|
|
5871
5871
|
return {
|
|
5872
|
+
container: () => "w-full",
|
|
5872
5873
|
control: (props2) => controlStyles(props2, isError, size4),
|
|
5873
5874
|
placeholder: () => placeholderStyles,
|
|
5874
5875
|
input: () => selectInputStyles,
|
|
@@ -5913,7 +5914,7 @@ var createStyledSelect = (BaseSelect, displayName) => {
|
|
|
5913
5914
|
isDisabled: disabled,
|
|
5914
5915
|
components: customComponents,
|
|
5915
5916
|
classNames: customClassNames,
|
|
5916
|
-
noOptionsMessage: () => /* @__PURE__ */ jsxRuntime.jsx("
|
|
5917
|
+
noOptionsMessage: () => /* @__PURE__ */ jsxRuntime.jsx(Paragraph, { className: "nebula-ds text-center", children: messages23.inputSelect.noOptions }),
|
|
5917
5918
|
...props
|
|
5918
5919
|
}
|
|
5919
5920
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -4841,6 +4841,7 @@ var InputText = React25.forwardRef(
|
|
|
4841
4841
|
className: cn(
|
|
4842
4842
|
"flex outline-none",
|
|
4843
4843
|
"rounded-input",
|
|
4844
|
+
"w-full",
|
|
4844
4845
|
"border border-inputText-border-default focus-within:ring-[3px] focus-within:ring-inputText-border-focus focus-within:border-inputText-border-focus",
|
|
4845
4846
|
"focus-within:text-inputText-text-focus placeholder:text-inputText-text-default disabled:text-inputText-text-disabled",
|
|
4846
4847
|
isError && "border-inputText-border-danger focus-within:border-inputText-border-danger focus-within:ring-button-danger-border-focus",
|
|
@@ -5777,7 +5778,6 @@ var controlStyles = ({ isDisabled, isFocused }, isError, size4) => {
|
|
|
5777
5778
|
"border-inputSelect-default-border text-inputSelect-default-text": !isFocused && !isError,
|
|
5778
5779
|
"bg-inputText-background-disabled": isDisabled,
|
|
5779
5780
|
"ring-button-danger-border-focus": isError && isFocused,
|
|
5780
|
-
[buttonSizeEnum[size4 ?? "md"]]: true,
|
|
5781
5781
|
"!min-h-8": size4 === "sm",
|
|
5782
5782
|
"!min-h-10": size4 === "md"
|
|
5783
5783
|
}
|
|
@@ -5826,6 +5826,7 @@ var createStyledSelect = (BaseSelect, displayName) => {
|
|
|
5826
5826
|
const { messages: messages23 } = useNebulaI18n();
|
|
5827
5827
|
const customClassNames = useMemo(() => {
|
|
5828
5828
|
return {
|
|
5829
|
+
container: () => "w-full",
|
|
5829
5830
|
control: (props2) => controlStyles(props2, isError, size4),
|
|
5830
5831
|
placeholder: () => placeholderStyles,
|
|
5831
5832
|
input: () => selectInputStyles,
|
|
@@ -5870,7 +5871,7 @@ var createStyledSelect = (BaseSelect, displayName) => {
|
|
|
5870
5871
|
isDisabled: disabled,
|
|
5871
5872
|
components: customComponents,
|
|
5872
5873
|
classNames: customClassNames,
|
|
5873
|
-
noOptionsMessage: () => /* @__PURE__ */ jsx("
|
|
5874
|
+
noOptionsMessage: () => /* @__PURE__ */ jsx(Paragraph, { className: "nebula-ds text-center", children: messages23.inputSelect.noOptions }),
|
|
5874
5875
|
...props
|
|
5875
5876
|
}
|
|
5876
5877
|
);
|
package/package.json
CHANGED
|
Binary file
|