@commercetools-uikit/time-input 16.11.0 → 16.12.0
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/commercetools-uikit-time-input.cjs.dev.js +1 -1
- package/dist/commercetools-uikit-time-input.cjs.prod.js +1 -1
- package/dist/commercetools-uikit-time-input.esm.js +1 -1
- package/dist/declarations/src/export-types.d.ts +1 -1
- package/dist/declarations/src/index.d.ts +3 -3
- package/package.json +9 -9
- package/dist/declarations/src/messages.d.ts +0 -8
- package/dist/declarations/src/time-input-body.d.ts +0 -16
- package/dist/declarations/src/time-input-body.styles.d.ts +0 -15
|
@@ -365,7 +365,7 @@ TimeInput.toLocaleTime = (time, locale) => {
|
|
|
365
365
|
var TimeInput$1 = TimeInput;
|
|
366
366
|
|
|
367
367
|
// NOTE: This string will be replaced on build time with the package version.
|
|
368
|
-
var version = "16.
|
|
368
|
+
var version = "16.12.0";
|
|
369
369
|
|
|
370
370
|
exports["default"] = TimeInput$1;
|
|
371
371
|
exports.version = version;
|
|
@@ -329,7 +329,7 @@ TimeInput.toLocaleTime = (time, locale) => {
|
|
|
329
329
|
var TimeInput$1 = TimeInput;
|
|
330
330
|
|
|
331
331
|
// NOTE: This string will be replaced on build time with the package version.
|
|
332
|
-
var version = "16.
|
|
332
|
+
var version = "16.12.0";
|
|
333
333
|
|
|
334
334
|
exports["default"] = TimeInput$1;
|
|
335
335
|
exports.version = version;
|
|
@@ -343,6 +343,6 @@ TimeInput.toLocaleTime = (time, locale) => {
|
|
|
343
343
|
var TimeInput$1 = TimeInput;
|
|
344
344
|
|
|
345
345
|
// NOTE: This string will be replaced on build time with the package version.
|
|
346
|
-
var version = "16.
|
|
346
|
+
var version = "16.12.0";
|
|
347
347
|
|
|
348
348
|
export { TimeInput$1 as default, version };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { TTimeInputProps } from
|
|
1
|
+
export type { TTimeInputProps } from "./time-input.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export { default as version } from
|
|
3
|
-
export * from
|
|
1
|
+
export { default } from "./time-input.js";
|
|
2
|
+
export { default as version } from "./version.js";
|
|
3
|
+
export * from "./export-types.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/time-input",
|
|
3
3
|
"description": "The TimeInput component allows the user to select a time.",
|
|
4
|
-
"version": "16.
|
|
4
|
+
"version": "16.12.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/accessible-button": "16.
|
|
25
|
-
"@commercetools-uikit/constraints": "16.
|
|
26
|
-
"@commercetools-uikit/design-system": "16.
|
|
27
|
-
"@commercetools-uikit/hooks": "16.
|
|
28
|
-
"@commercetools-uikit/icons": "16.
|
|
29
|
-
"@commercetools-uikit/input-utils": "16.
|
|
30
|
-
"@commercetools-uikit/spacings-inline": "16.
|
|
31
|
-
"@commercetools-uikit/utils": "16.
|
|
24
|
+
"@commercetools-uikit/accessible-button": "16.12.0",
|
|
25
|
+
"@commercetools-uikit/constraints": "16.12.0",
|
|
26
|
+
"@commercetools-uikit/design-system": "16.12.0",
|
|
27
|
+
"@commercetools-uikit/hooks": "16.12.0",
|
|
28
|
+
"@commercetools-uikit/icons": "16.12.0",
|
|
29
|
+
"@commercetools-uikit/input-utils": "16.12.0",
|
|
30
|
+
"@commercetools-uikit/spacings-inline": "16.12.0",
|
|
31
|
+
"@commercetools-uikit/utils": "16.12.0",
|
|
32
32
|
"@emotion/is-prop-valid": "1.2.1",
|
|
33
33
|
"@emotion/react": "^11.10.5",
|
|
34
34
|
"@emotion/styled": "^11.10.5",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type KeyboardEvent, type MouseEvent } from 'react';
|
|
2
|
-
import type { TTimeInputProps } from './time-input';
|
|
3
|
-
type TClearSectionProps = {
|
|
4
|
-
isDisabled?: boolean;
|
|
5
|
-
hasError?: boolean;
|
|
6
|
-
isReadOnly?: boolean;
|
|
7
|
-
onClear: (event: MouseEvent<HTMLButtonElement> | KeyboardEvent<HTMLButtonElement>) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare const ClearSection: {
|
|
10
|
-
(props: TClearSectionProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
declare const TimeInputBody: import("react").ForwardRefExoticComponent<TTimeInputProps & {
|
|
14
|
-
onClear: (event: MouseEvent<HTMLButtonElement> | KeyboardEvent<HTMLButtonElement>) => void;
|
|
15
|
-
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
16
|
-
export default TimeInputBody;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type TTimeInputProps } from './time-input';
|
|
3
|
-
declare const getClearSectionStyles: () => import("@emotion/utils").SerializedStyles;
|
|
4
|
-
declare const getClockIconContainerStyles: (props: TTimeInputProps) => import("@emotion/utils").SerializedStyles[];
|
|
5
|
-
declare const StyledClockIconContainer: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
-
as?: import("react").ElementType<any> | undefined;
|
|
8
|
-
}, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
|
|
9
|
-
declare const getInputContainerStyles: (props: TTimeInputProps) => (false | import("@emotion/utils").SerializedStyles | undefined)[];
|
|
10
|
-
declare const getTimeInputStyles: (props: TTimeInputProps) => import("@emotion/utils").SerializedStyles[];
|
|
11
|
-
declare const StyledInputContainer: import("@emotion/styled").StyledComponent<{
|
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
as?: import("react").ElementType<any> | undefined;
|
|
14
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
|
-
export { getClearSectionStyles, getClockIconContainerStyles, getInputContainerStyles, getTimeInputStyles, StyledInputContainer, StyledClockIconContainer, };
|