@ornikar/kitt-universal 4.5.1 → 4.6.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/definitions/Button/Button.d.ts +1 -1
- package/dist/definitions/Button/Button.d.ts.map +1 -1
- package/dist/definitions/forms/Checkbox/Checkbox.d.ts +4 -4
- package/dist/definitions/forms/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/definitions/forms/InputEmail/InputEmail.d.ts +1 -1
- package/dist/definitions/forms/InputEmail/InputEmail.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +8 -7
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.css +2 -2
- package/dist/index-browser-all.es.ios.js +8 -7
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +10 -9
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +15 -14
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.css +2 -2
- package/dist/index-node-14.17.cjs.js +9 -8
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.css +7 -7
- package/dist/index-node-14.17.cjs.web.js +14 -13
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/styles.css +7 -7
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@media (hover:none) and (pointer:coarse){.
|
|
2
|
-
.
|
|
1
|
+
@media (hover:none) and (pointer:coarse){.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *:hover,.kitt-hover .kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *{-webkit-transform:scale(var(--p1nlccvg-0));-ms-transform:scale(var(--p1nlccvg-0));transform:scale(var(--p1nlccvg-0));}}@media (min-width:768px){.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *:hover,.kitt-hover .kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *{-webkit-transform:scale(var(--p1nlccvg-2));-ms-transform:scale(var(--p1nlccvg-2));transform:scale(var(--p1nlccvg-2));}}.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *:active,.kitt-active .kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *{-webkit-transform:scale(var(--p1nlccvg-3));-ms-transform:scale(var(--p1nlccvg-3));transform:scale(var(--p1nlccvg-3));}.kitt-u_PressableIconButtonWebWrapper_p1nlccvg,.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > [data-focusvisible-polyfill]{outline:none;}.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *:hover,.kitt-hover .kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *,.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *:focus,.kitt-focus .kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *,.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > [data-focusvisible-polyfill],.kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *:active,.kitt-active .kitt-u_PressableIconButtonWebWrapper_p1nlccvg > *{background-color:var(--p1nlccvg-4);}
|
|
2
|
+
.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *:hover,.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *:active,.kitt-hover .kitt-u_TypographyLinkWebWrapper_tcwz3nt > *{-webkit-text-decoration:none;text-decoration:none;}.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *:hover,.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *:active,.kitt-hover .kitt-u_TypographyLinkWebWrapper_tcwz3nt > *{-webkit-text-decoration:var(--tcwz3nt-0);text-decoration:var(--tcwz3nt-0);}
|
|
@@ -1522,7 +1522,7 @@ function Checkbox({
|
|
|
1522
1522
|
onChange,
|
|
1523
1523
|
onBlur,
|
|
1524
1524
|
onFocus,
|
|
1525
|
-
|
|
1525
|
+
checked,
|
|
1526
1526
|
hitSlop = 40,
|
|
1527
1527
|
id,
|
|
1528
1528
|
children
|
|
@@ -1531,19 +1531,19 @@ function Checkbox({
|
|
|
1531
1531
|
return /*#__PURE__*/jsxRuntime.jsxs(CheckboxAndLabelPressableWrapper, {
|
|
1532
1532
|
accessibilityRole: "checkbox",
|
|
1533
1533
|
accessibilityState: {
|
|
1534
|
-
checked
|
|
1534
|
+
checked
|
|
1535
1535
|
},
|
|
1536
1536
|
hitSlop: hitSlop,
|
|
1537
1537
|
onPress: e => {
|
|
1538
1538
|
if (onFocus) onFocus(e);
|
|
1539
|
-
if (onChange) onChange(e);
|
|
1539
|
+
if (onChange) onChange(!checked, e);
|
|
1540
1540
|
if (onBlur) onBlur(e);
|
|
1541
1541
|
},
|
|
1542
1542
|
children: [/*#__PURE__*/jsxRuntime.jsx(CheckboxContainer, {
|
|
1543
|
-
$isChecked:
|
|
1543
|
+
$isChecked: checked,
|
|
1544
1544
|
$hasLabel: !!children,
|
|
1545
1545
|
testID: id,
|
|
1546
|
-
children:
|
|
1546
|
+
children: checked ? /*#__PURE__*/jsxRuntime.jsx(Icon, {
|
|
1547
1547
|
align: "center",
|
|
1548
1548
|
color: theme.kitt.forms.checkbox.markColor,
|
|
1549
1549
|
size: theme.kitt.forms.checkbox.iconSize,
|
|
@@ -1713,7 +1713,7 @@ function withTheme(WrappedComponent) {
|
|
|
1713
1713
|
|
|
1714
1714
|
const PressableIconButtonWebWrapper = withTheme( /*#__PURE__*/react$1.styled("div")({
|
|
1715
1715
|
name: "PressableIconButtonWebWrapper",
|
|
1716
|
-
class: "
|
|
1716
|
+
class: "kitt-u_PressableIconButtonWebWrapper_p1nlccvg",
|
|
1717
1717
|
vars: {
|
|
1718
1718
|
"p1nlccvg-0": [({
|
|
1719
1719
|
theme,
|
|
@@ -2257,7 +2257,7 @@ function DatePicker({
|
|
|
2257
2257
|
$isStretch: stretch,
|
|
2258
2258
|
children: /*#__PURE__*/jsxRuntime.jsx(DatePickerInputPart, { ...sharedPartProps,
|
|
2259
2259
|
partName: "year",
|
|
2260
|
-
value: currentValue
|
|
2260
|
+
value: currentValue ? currentValue.getFullYear() : undefined,
|
|
2261
2261
|
placeholder: placeholder?.year
|
|
2262
2262
|
})
|
|
2263
2263
|
})]
|
|
@@ -2361,6 +2361,7 @@ function InputEmail(props) {
|
|
|
2361
2361
|
autoCompleteType: "email",
|
|
2362
2362
|
keyboardType: "email-address",
|
|
2363
2363
|
textContentType: "emailAddress",
|
|
2364
|
+
autoCapitalize: "none",
|
|
2364
2365
|
...props
|
|
2365
2366
|
});
|
|
2366
2367
|
}
|
|
@@ -3989,7 +3990,7 @@ function TypographyEmoji({
|
|
|
3989
3990
|
|
|
3990
3991
|
const TypographyLinkWebWrapper = withTheme( /*#__PURE__*/react$1.styled("span")({
|
|
3991
3992
|
name: "TypographyLinkWebWrapper",
|
|
3992
|
-
class: "
|
|
3993
|
+
class: "kitt-u_TypographyLinkWebWrapper_tcwz3nt",
|
|
3993
3994
|
vars: {
|
|
3994
3995
|
"tcwz3nt-0": [({
|
|
3995
3996
|
$hasNoUnderline
|