@ornikar/kitt-universal 4.5.1 → 4.5.2

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.
@@ -1,7 +1,7 @@
1
1
  import type { ReactElement } from 'react';
2
2
  import type { Except } from 'type-fest';
3
3
  import type { InputTextProps } from '../InputText/InputText';
4
- export interface InputEmailProps extends Except<InputTextProps, 'autoCompleteType' | 'keyboardType' | 'textContentType'> {
4
+ export interface InputEmailProps extends Except<InputTextProps, 'autoCompleteType' | 'keyboardType' | 'textContentType' | 'autoCapitalize'> {
5
5
  }
6
6
  export declare function InputEmail(props: InputEmailProps): ReactElement;
7
7
  //# sourceMappingURL=InputEmail.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputEmail.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputEmail/InputEmail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,MAAM,WAAW,eACf,SAAQ,MAAM,CAAC,cAAc,EAAE,kBAAkB,GAAG,cAAc,GAAG,iBAAiB,CAAC;CAAG;AAE5F,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,YAAY,CAE/D"}
1
+ {"version":3,"file":"InputEmail.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputEmail/InputEmail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,MAAM,WAAW,eACf,SAAQ,MAAM,CAAC,cAAc,EAAE,kBAAkB,GAAG,cAAc,GAAG,iBAAiB,GAAG,gBAAgB,CAAC;CAAG;AAE/G,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,YAAY,CAU/D"}
@@ -2264,7 +2264,7 @@ function DatePicker(_ref4) {
2264
2264
  $isStretch: stretch,
2265
2265
  children: /*#__PURE__*/jsx(DatePickerInputPart, _objectSpread$e(_objectSpread$e({}, sharedPartProps), {}, {
2266
2266
  partName: "year",
2267
- value: currentValue === null || currentValue === void 0 ? void 0 : currentValue.getFullYear(),
2267
+ value: currentValue ? currentValue.getFullYear() : undefined,
2268
2268
  placeholder: placeholder === null || placeholder === void 0 ? void 0 : placeholder.year
2269
2269
  }))
2270
2270
  })]
@@ -2382,7 +2382,8 @@ function InputEmail(props) {
2382
2382
  return /*#__PURE__*/jsx(InputText, _objectSpread$c({
2383
2383
  autoCompleteType: "email",
2384
2384
  keyboardType: "email-address",
2385
- textContentType: "emailAddress"
2385
+ textContentType: "emailAddress",
2386
+ autoCapitalize: "none"
2386
2387
  }, props));
2387
2388
  }
2388
2389