@mirohq/design-system-base-input
Advanced tools
Comparing version 0.3.16 to 0.3.17
@@ -351,6 +351,2 @@ 'use strict'; | ||
const showInputSlot = valid === void 0 || designSystemUtils.booleanify(hovered); | ||
let formattedChildren = children; | ||
formattedChildren = designSystemUtils.addPropsToChildren(children, designSystemBaseIcon.isIconComponent, { | ||
"aria-hidden": true | ||
}); | ||
const hasPressEvent = Object.keys(restProps).some( | ||
@@ -370,3 +366,3 @@ (key) => key.startsWith("onPress") | ||
ref: designSystemUtils.mergeRefs([forwardRef, actionButtonRef]), | ||
children: formattedChildren | ||
children | ||
} | ||
@@ -393,4 +389,3 @@ ); | ||
size: "small", | ||
weight: "thin", | ||
"aria-hidden": true | ||
weight: "thin" | ||
}); | ||
@@ -397,0 +392,0 @@ designSystemUseLayoutEffect.useLayoutEffect(() => { |
@@ -343,6 +343,2 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime'; | ||
const showInputSlot = valid === void 0 || booleanify(hovered); | ||
let formattedChildren = children; | ||
formattedChildren = addPropsToChildren(children, isIconComponent, { | ||
"aria-hidden": true | ||
}); | ||
const hasPressEvent = Object.keys(restProps).some( | ||
@@ -362,3 +358,3 @@ (key) => key.startsWith("onPress") | ||
ref: mergeRefs([forwardRef, actionButtonRef]), | ||
children: formattedChildren | ||
children | ||
} | ||
@@ -385,4 +381,3 @@ ); | ||
size: "small", | ||
weight: "thin", | ||
"aria-hidden": true | ||
weight: "thin" | ||
}); | ||
@@ -389,0 +384,0 @@ useLayoutEffect(() => { |
{ | ||
"name": "@mirohq/design-system-base-input", | ||
"version": "0.3.16", | ||
"version": "0.3.17", | ||
"description": "", | ||
@@ -32,10 +32,10 @@ "author": "Miro", | ||
"@mirohq/design-system-base-button": "^0.4.57", | ||
"@mirohq/design-system-base-form": "^0.2.27", | ||
"@mirohq/design-system-base-icon": "^0.1.33", | ||
"@mirohq/design-system-base-text-field": "^0.1.10", | ||
"@mirohq/design-system-primitive": "^1.1.2", | ||
"@mirohq/design-system-base-text-field": "^0.1.10", | ||
"@mirohq/design-system-icons": "^0.51.1", | ||
"@mirohq/design-system-icons": "^0.51.2", | ||
"@mirohq/design-system-base-form": "^0.2.27", | ||
"@mirohq/design-system-stitches": "^2.6.20", | ||
"@mirohq/design-system-tooltip": "^3.3.28", | ||
"@mirohq/design-system-use-aria-disabled": "^0.1.5", | ||
"@mirohq/design-system-stitches": "^2.6.20", | ||
"@mirohq/design-system-use-layout-effect": "^0.2.1", | ||
@@ -42,0 +42,0 @@ "@mirohq/design-system-use-press": "^0.4.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
108707
1129