@cambly/syntax-core 5.2.0 → 5.3.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/dist/index.d.ts +4 -0
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -502,7 +502,8 @@ var Button = forwardRef2(
|
|
|
502
502
|
startIcon: StartIcon,
|
|
503
503
|
endIcon: EndIcon,
|
|
504
504
|
onClick,
|
|
505
|
-
tooltip
|
|
505
|
+
tooltip,
|
|
506
|
+
type = "button"
|
|
506
507
|
}, ref) => {
|
|
507
508
|
return /* @__PURE__ */ jsxs(
|
|
508
509
|
"button",
|
|
@@ -510,7 +511,7 @@ var Button = forwardRef2(
|
|
|
510
511
|
"data-testid": dataTestId,
|
|
511
512
|
ref,
|
|
512
513
|
"aria-label": accessibilityLabel,
|
|
513
|
-
type
|
|
514
|
+
type,
|
|
514
515
|
title: tooltip,
|
|
515
516
|
disabled: disabled || loading,
|
|
516
517
|
onClick,
|
|
@@ -1027,7 +1028,7 @@ var SelectList = ({
|
|
|
1027
1028
|
{
|
|
1028
1029
|
size: 100,
|
|
1029
1030
|
color: errorText ? "destructive-primary" : "gray700",
|
|
1030
|
-
children: errorText
|
|
1031
|
+
children: errorText ? errorText : helperText
|
|
1031
1032
|
}
|
|
1032
1033
|
) })
|
|
1033
1034
|
]
|