@stella-source/stellasource-dsl 0.1.2 → 0.1.4
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/cjs/index.js +3 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.esm.js +3 -2
- package/dist/esm/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -17811,6 +17811,7 @@ const Wrapper = dt.div `
|
|
|
17811
17811
|
min-width: 60px;
|
|
17812
17812
|
max-width: 400px;
|
|
17813
17813
|
position: relative;
|
|
17814
|
+
width: 100%;
|
|
17814
17815
|
`;
|
|
17815
17816
|
const TextFieldWrapper = dt.div.attrs({
|
|
17816
17817
|
className: "DSL-stella-textfield",
|
|
@@ -17880,9 +17881,9 @@ const IconContainer = dt.div `
|
|
|
17880
17881
|
`;
|
|
17881
17882
|
|
|
17882
17883
|
const TextFieldContainer = ({ id, label, children, tooltipText, endIcon, className, rightCategory, leftCategory, helperText, dataTestId, helperTextAffectLayout = true, disabled = false, hideLabel = false, isLoading = false, hasError = false, isRequired = false, }) => {
|
|
17883
|
-
return (a$i.createElement(Wrapper, { "data-testId": dataTestId },
|
|
17884
|
+
return (a$i.createElement(Wrapper, { "data-testId": dataTestId, className: className },
|
|
17884
17885
|
a$i.createElement(Label, { tooltipText: tooltipText, required: isRequired, labelValue: label, hideLabel: hideLabel, id: `${id}-label`, htmlFor: `${id}-text-field` }),
|
|
17885
|
-
a$i.createElement(TextFieldWrapper, { id: id,
|
|
17886
|
+
a$i.createElement(TextFieldWrapper, { id: id, "$hasError": hasError, "$isDisabled": disabled, "$isLoading": isLoading, "data-testid": "text-input-wrapper" },
|
|
17886
17887
|
leftCategory && a$i.createElement(Category, null, leftCategory),
|
|
17887
17888
|
children,
|
|
17888
17889
|
isLoading && (a$i.createElement(IconContainer, null,
|