@jsenv/navi 0.27.61 → 0.27.62
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 +17 -11
- package/dist/jsenv_navi.js.map +5 -5
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -32244,6 +32244,7 @@ const getNowHoursRoundedToStep = (stepMinutes, offsetMinutes = 0) => {
|
|
|
32244
32244
|
// Numeric signal types must not fall through to the native type="number"
|
|
32245
32245
|
// (which adds spinner buttons and has poor UX) — they map to navi_number instead.
|
|
32246
32246
|
const VALIDITY_TYPE_TO_INPUT_TYPE = {
|
|
32247
|
+
boolean: "checkbox",
|
|
32247
32248
|
number: "navi_number",
|
|
32248
32249
|
integer: "navi_number",
|
|
32249
32250
|
percentage: "navi_percentage",
|
|
@@ -33102,7 +33103,9 @@ const InputSearchUI = ({
|
|
|
33102
33103
|
const InputEmail = props => {
|
|
33103
33104
|
const Next = useNextResolver();
|
|
33104
33105
|
return jsx(Next, {
|
|
33105
|
-
ui: jsx(InputEmailUI, {
|
|
33106
|
+
ui: jsx(InputEmailUI, {
|
|
33107
|
+
icon: props.icon
|
|
33108
|
+
}),
|
|
33106
33109
|
...props
|
|
33107
33110
|
});
|
|
33108
33111
|
};
|
|
@@ -33652,6 +33655,19 @@ const css$x = /* css */`
|
|
|
33652
33655
|
outline: none;
|
|
33653
33656
|
-webkit-tap-highlight-color: var(--navi-control-tap-highlight-color);
|
|
33654
33657
|
|
|
33658
|
+
&::placeholder {
|
|
33659
|
+
color: var(--x-placeholder-color);
|
|
33660
|
+
}
|
|
33661
|
+
&:-webkit-autofill {
|
|
33662
|
+
-webkit-box-shadow: 0 0 0 1000px var(--x-background-color) inset;
|
|
33663
|
+
}
|
|
33664
|
+
&:-internal-autofill-selected {
|
|
33665
|
+
/* Webkit is putting some nasty styles after automplete that look as follow */
|
|
33666
|
+
/* input:-internal-autofill-selected { color: FieldText !important; } */
|
|
33667
|
+
/* Fortunately we can override it as follow */
|
|
33668
|
+
-webkit-text-fill-color: var(--x-color) !important;
|
|
33669
|
+
}
|
|
33670
|
+
|
|
33655
33671
|
&[type="search"] {
|
|
33656
33672
|
-webkit-appearance: textfield;
|
|
33657
33673
|
|
|
@@ -33769,16 +33785,6 @@ const css$x = /* css */`
|
|
|
33769
33785
|
}
|
|
33770
33786
|
}
|
|
33771
33787
|
}
|
|
33772
|
-
|
|
33773
|
-
.navi_input .navi_control_input::placeholder {
|
|
33774
|
-
color: var(--x-placeholder-color);
|
|
33775
|
-
}
|
|
33776
|
-
.navi_input .navi_control_input:-internal-autofill-selected {
|
|
33777
|
-
/* Webkit is putting some nasty styles after automplete that look as follow */
|
|
33778
|
-
/* input:-internal-autofill-selected { color: FieldText !important; } */
|
|
33779
|
-
/* Fortunately we can override it as follow */
|
|
33780
|
-
-webkit-text-fill-color: var(--x-color) !important;
|
|
33781
|
-
}
|
|
33782
33788
|
`;
|
|
33783
33789
|
const InputHeadlessResolver = props => {
|
|
33784
33790
|
const Next = useNextResolver();
|