@jsenv/navi 0.26.18 → 0.26.19
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/jsenv_navi.js +4 -3
- package/dist/jsenv_navi.js.map +3 -3
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -29293,6 +29293,7 @@ const InputTextualUI = props => {
|
|
|
29293
29293
|
autoFocusVisible,
|
|
29294
29294
|
autoSelect,
|
|
29295
29295
|
basePseudoState,
|
|
29296
|
+
icon,
|
|
29296
29297
|
children,
|
|
29297
29298
|
...rest
|
|
29298
29299
|
} = props;
|
|
@@ -29364,7 +29365,7 @@ const InputTextualUI = props => {
|
|
|
29364
29365
|
if (children === undefined) {
|
|
29365
29366
|
if (type === "search") {
|
|
29366
29367
|
innerChildren = jsxs(Fragment, {
|
|
29367
|
-
children: [jsx(InputLeftSlot, {
|
|
29368
|
+
children: [icon === undefined && jsx(InputLeftSlot, {
|
|
29368
29369
|
children: jsx(Icon, {
|
|
29369
29370
|
color: "rgba(28, 43, 52, 0.5)",
|
|
29370
29371
|
children: jsx(SearchSvg, {})
|
|
@@ -29385,14 +29386,14 @@ const InputTextualUI = props => {
|
|
|
29385
29386
|
})]
|
|
29386
29387
|
});
|
|
29387
29388
|
} else if (type === "email") {
|
|
29388
|
-
innerChildren = jsx(InputLeftSlot, {
|
|
29389
|
+
innerChildren = icon === undefined && jsx(InputLeftSlot, {
|
|
29389
29390
|
children: jsx(Icon, {
|
|
29390
29391
|
color: "rgba(28, 43, 52, 0.5)",
|
|
29391
29392
|
children: jsx(EmailSvg, {})
|
|
29392
29393
|
})
|
|
29393
29394
|
});
|
|
29394
29395
|
} else if (type === "tel") {
|
|
29395
|
-
innerChildren = jsx(InputLeftSlot, {
|
|
29396
|
+
innerChildren = icon === undefined && jsx(InputLeftSlot, {
|
|
29396
29397
|
children: jsx(Icon, {
|
|
29397
29398
|
color: "rgba(28, 43, 52, 0.5)",
|
|
29398
29399
|
children: jsx(PhoneSvg, {})
|