@geomak/ui 6.17.0 → 6.17.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/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3004,11 +3004,13 @@ function TextInput({
|
|
|
3004
3004
|
className,
|
|
3005
3005
|
required,
|
|
3006
3006
|
prefix,
|
|
3007
|
-
suffix
|
|
3007
|
+
suffix,
|
|
3008
|
+
id
|
|
3008
3009
|
}) {
|
|
3009
3010
|
const errorId = React24.useId();
|
|
3010
3011
|
const hasError = errorMessage != null;
|
|
3011
3012
|
const hasAdornment = prefix != null || suffix != null;
|
|
3013
|
+
const inputId = htmlFor ?? id;
|
|
3012
3014
|
const input = /* @__PURE__ */ jsxRuntime.jsx(
|
|
3013
3015
|
"input",
|
|
3014
3016
|
{
|
|
@@ -3019,7 +3021,7 @@ function TextInput({
|
|
|
3019
3021
|
onBlur,
|
|
3020
3022
|
type,
|
|
3021
3023
|
name,
|
|
3022
|
-
id:
|
|
3024
|
+
id: inputId,
|
|
3023
3025
|
"aria-invalid": hasError || void 0,
|
|
3024
3026
|
"aria-describedby": hasError ? errorId : void 0,
|
|
3025
3027
|
placeholder: placeholder ?? "",
|
|
@@ -3032,7 +3034,7 @@ function TextInput({
|
|
|
3032
3034
|
{
|
|
3033
3035
|
className,
|
|
3034
3036
|
label,
|
|
3035
|
-
htmlFor,
|
|
3037
|
+
htmlFor: inputId,
|
|
3036
3038
|
errorId,
|
|
3037
3039
|
errorMessage,
|
|
3038
3040
|
helperText,
|
|
@@ -6560,7 +6562,7 @@ function TreeNodeRow({
|
|
|
6560
6562
|
},
|
|
6561
6563
|
"aria-label": isExpanded ? "Collapse" : "Expand",
|
|
6562
6564
|
tabIndex: -1,
|
|
6563
|
-
className: "w-5 h-5 inline-flex items-center justify-center rounded hover:bg-
|
|
6565
|
+
className: "w-5 h-5 inline-flex items-center justify-center rounded hover:bg-surface-raised focus:outline-none",
|
|
6564
6566
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6565
6567
|
"svg",
|
|
6566
6568
|
{
|