@contentful/field-editor-date 1.3.5 → 1.5.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/cjs/DateEditor.js +186 -0
- package/dist/cjs/DatepickerInput.js +92 -0
- package/dist/cjs/DatepickerInput.spec.js +110 -0
- package/dist/cjs/TimepickerInput.js +132 -0
- package/dist/cjs/TimezonePickerInput.js +32 -0
- package/dist/cjs/index.js +20 -0
- package/dist/cjs/types.js +4 -0
- package/dist/cjs/utils/data.spec.js +56 -0
- package/dist/cjs/utils/date.js +116 -0
- package/dist/cjs/utils/zoneOffsets.js +61 -0
- package/dist/esm/DateEditor.js +132 -0
- package/dist/esm/DatepickerInput.js +38 -0
- package/dist/esm/DatepickerInput.spec.js +62 -0
- package/dist/esm/TimepickerInput.js +78 -0
- package/dist/esm/TimezonePickerInput.js +17 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/types.js +1 -0
- package/dist/esm/utils/data.spec.js +47 -0
- package/dist/esm/utils/date.js +87 -0
- package/dist/esm/utils/zoneOffsets.js +43 -0
- package/dist/{DateEditor.d.ts → types/DateEditor.d.ts} +29 -29
- package/dist/{DatepickerInput.d.ts → types/DatepickerInput.d.ts} +8 -8
- package/dist/types/DatepickerInput.spec.d.ts +1 -0
- package/dist/{TimepickerInput.d.ts → types/TimepickerInput.d.ts} +12 -12
- package/dist/{TimezonePickerInput.d.ts → types/TimezonePickerInput.d.ts} +7 -7
- package/dist/{index.d.ts → types/index.d.ts} +2 -2
- package/dist/types/types.d.ts +9 -0
- package/dist/types/utils/data.spec.d.ts +1 -0
- package/dist/{utils → types/utils}/date.d.ts +27 -27
- package/dist/{utils → types/utils}/zoneOffsets.d.ts +2 -2
- package/package.json +28 -14
- package/CHANGELOG.md +0 -288
- package/dist/field-editor-date.cjs.development.js +0 -463
- package/dist/field-editor-date.cjs.development.js.map +0 -1
- package/dist/field-editor-date.cjs.production.min.js +0 -2
- package/dist/field-editor-date.cjs.production.min.js.map +0 -1
- package/dist/field-editor-date.esm.js +0 -455
- package/dist/field-editor-date.esm.js.map +0 -1
- package/dist/index.js +0 -8
- package/dist/types.d.ts +0 -9
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
import { FieldAPI, ParametersAPI } from '@contentful/field-editor-shared';
|
|
3
|
-
import { TimeFormat, DateTimeFormat } from './types';
|
|
4
|
-
export interface DateEditorProps {
|
|
5
|
-
/**
|
|
6
|
-
* is the field disabled initially
|
|
7
|
-
*/
|
|
8
|
-
isInitiallyDisabled: boolean;
|
|
9
|
-
isDisabled?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* sdk.field
|
|
12
|
-
*/
|
|
13
|
-
field: FieldAPI;
|
|
14
|
-
/**
|
|
15
|
-
* sdk.parameters
|
|
16
|
-
*/
|
|
17
|
-
parameters?: ParametersAPI & {
|
|
18
|
-
instance?: {
|
|
19
|
-
format?: DateTimeFormat;
|
|
20
|
-
ampm?: TimeFormat;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export declare function DateEditor(props: DateEditorProps): JSX.Element;
|
|
25
|
-
export declare namespace DateEditor {
|
|
26
|
-
var defaultProps: {
|
|
27
|
-
isInitiallyDisabled: boolean;
|
|
28
|
-
};
|
|
29
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { FieldAPI, ParametersAPI } from '@contentful/field-editor-shared';
|
|
3
|
+
import { TimeFormat, DateTimeFormat } from './types';
|
|
4
|
+
export interface DateEditorProps {
|
|
5
|
+
/**
|
|
6
|
+
* is the field disabled initially
|
|
7
|
+
*/
|
|
8
|
+
isInitiallyDisabled: boolean;
|
|
9
|
+
isDisabled?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* sdk.field
|
|
12
|
+
*/
|
|
13
|
+
field: FieldAPI;
|
|
14
|
+
/**
|
|
15
|
+
* sdk.parameters
|
|
16
|
+
*/
|
|
17
|
+
parameters?: ParametersAPI & {
|
|
18
|
+
instance?: {
|
|
19
|
+
format?: DateTimeFormat;
|
|
20
|
+
ampm?: TimeFormat;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export declare function DateEditor(props: DateEditorProps): React.JSX.Element;
|
|
25
|
+
export declare namespace DateEditor {
|
|
26
|
+
var defaultProps: {
|
|
27
|
+
isInitiallyDisabled: boolean;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import moment from 'moment';
|
|
3
|
-
export
|
|
4
|
-
value?: moment.Moment;
|
|
5
|
-
onChange: (val: moment.Moment | undefined) => void;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare const DatepickerInput: (props: DatePickerProps) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import moment from 'moment';
|
|
3
|
+
export type DatePickerProps = {
|
|
4
|
+
value?: moment.Moment;
|
|
5
|
+
onChange: (val: moment.Moment | undefined) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const DatepickerInput: (props: DatePickerProps) => React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom/extend-expect';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
uses12hClock: boolean;
|
|
5
|
-
onChange: (value: {
|
|
6
|
-
time: string;
|
|
7
|
-
ampm: string;
|
|
8
|
-
}) => void;
|
|
9
|
-
time?: string;
|
|
10
|
-
ampm?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const TimepickerInput: ({ disabled, uses12hClock, time, ampm, onChange, }: TimepickerProps) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type TimepickerProps = {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
uses12hClock: boolean;
|
|
5
|
+
onChange: (value: {
|
|
6
|
+
time: string;
|
|
7
|
+
ampm: string;
|
|
8
|
+
}) => void;
|
|
9
|
+
time?: string;
|
|
10
|
+
ampm?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const TimepickerInput: ({ disabled, uses12hClock, time, ampm, onChange, }: TimepickerProps) => React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
onChange: (value: string) => void;
|
|
5
|
-
value?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const TimezonepickerInput: ({ disabled, onChange, value, }: TimezonepickerProps) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type TimezonepickerProps = {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
value?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const TimezonepickerInput: ({ disabled, onChange, value, }: TimezonepickerProps) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DateEditor } from './DateEditor';
|
|
2
|
-
export { zoneOffsets } from './utils/zoneOffsets';
|
|
1
|
+
export { DateEditor } from './DateEditor';
|
|
2
|
+
export { zoneOffsets } from './utils/zoneOffsets';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { TimeResult } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* Parse user input into a string that is stored in the API.
|
|
4
|
-
*
|
|
5
|
-
* Returns a sum type with either the string as the `valid` property
|
|
6
|
-
* or the `invalid` property set to `false`.
|
|
7
|
-
*/
|
|
8
|
-
export declare function buildFieldValue({ data, usesTime, usesTimezone, }: {
|
|
9
|
-
data: TimeResult;
|
|
10
|
-
usesTime: boolean;
|
|
11
|
-
usesTimezone: boolean;
|
|
12
|
-
}): {
|
|
13
|
-
invalid: boolean;
|
|
14
|
-
valid?: undefined;
|
|
15
|
-
} | {
|
|
16
|
-
valid: string | null;
|
|
17
|
-
invalid: boolean;
|
|
18
|
-
};
|
|
19
|
-
export declare function getDefaultAMPM(): string;
|
|
20
|
-
export declare function getDefaultUtcOffset(): string;
|
|
21
|
-
/**
|
|
22
|
-
* Create the user input object from the field value.
|
|
23
|
-
*/
|
|
24
|
-
export declare function userInputFromDatetime({ value, uses12hClock, }: {
|
|
25
|
-
value: string | undefined | null;
|
|
26
|
-
uses12hClock: boolean;
|
|
27
|
-
}): TimeResult;
|
|
1
|
+
import { TimeResult } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Parse user input into a string that is stored in the API.
|
|
4
|
+
*
|
|
5
|
+
* Returns a sum type with either the string as the `valid` property
|
|
6
|
+
* or the `invalid` property set to `false`.
|
|
7
|
+
*/
|
|
8
|
+
export declare function buildFieldValue({ data, usesTime, usesTimezone, }: {
|
|
9
|
+
data: TimeResult;
|
|
10
|
+
usesTime: boolean;
|
|
11
|
+
usesTimezone: boolean;
|
|
12
|
+
}): {
|
|
13
|
+
invalid: boolean;
|
|
14
|
+
valid?: undefined;
|
|
15
|
+
} | {
|
|
16
|
+
valid: string | null;
|
|
17
|
+
invalid: boolean;
|
|
18
|
+
};
|
|
19
|
+
export declare function getDefaultAMPM(): string;
|
|
20
|
+
export declare function getDefaultUtcOffset(): string;
|
|
21
|
+
/**
|
|
22
|
+
* Create the user input object from the field value.
|
|
23
|
+
*/
|
|
24
|
+
export declare function userInputFromDatetime({ value, uses12hClock, }: {
|
|
25
|
+
value: string | undefined | null;
|
|
26
|
+
uses12hClock: boolean;
|
|
27
|
+
}): TimeResult;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const defaultZoneOffset = "+00:00";
|
|
2
|
-
export declare const zoneOffsets: string[];
|
|
1
|
+
export declare const defaultZoneOffset = "+00:00";
|
|
2
|
+
export declare const zoneOffsets: string[];
|
package/package.json
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-date",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"main": "dist/index.js",
|
|
5
|
-
"module": "dist/
|
|
6
|
-
"
|
|
3
|
+
"version": "1.5.0",
|
|
4
|
+
"main": "dist/cjs/index.js",
|
|
5
|
+
"module": "dist/esm/index.js",
|
|
6
|
+
"types": "dist/types/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/types/index.d.ts",
|
|
10
|
+
"require": "./dist/cjs/index.js",
|
|
11
|
+
"default": "./dist/cjs/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
7
15
|
"style": "styles/styles.css",
|
|
8
16
|
"files": [
|
|
9
17
|
"dist"
|
|
@@ -15,27 +23,33 @@
|
|
|
15
23
|
"url": "https://github.com/contentful/field-editors"
|
|
16
24
|
},
|
|
17
25
|
"scripts": {
|
|
18
|
-
"watch": "
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
26
|
+
"watch": "yarn concurrently \"yarn:watch:*\"",
|
|
27
|
+
"watch:cjs": "yarn build:cjs -w",
|
|
28
|
+
"watch:esm": "yarn build:esm -w",
|
|
29
|
+
"watch:types": "yarn build:types --watch",
|
|
30
|
+
"build": "yarn build:types && yarn build:cjs && yarn build:esm",
|
|
31
|
+
"build:types": "tsc --outDir dist/types --emitDeclarationOnly",
|
|
32
|
+
"build:cjs": "swc src --config-file ../../.swcrc -d dist/cjs -C module.type=commonjs",
|
|
33
|
+
"build:esm": "swc src --config-file ../../.swcrc -d dist/esm",
|
|
34
|
+
"test": "jest --watch",
|
|
35
|
+
"test:ci": "jest --ci",
|
|
36
|
+
"tsc": "tsc -p ./ --noEmit"
|
|
23
37
|
},
|
|
24
38
|
"dependencies": {
|
|
25
|
-
"@contentful/f36-components": "^4.
|
|
26
|
-
"@contentful/f36-tokens": "^4.0.
|
|
27
|
-
"@contentful/field-editor-shared": "^1.
|
|
39
|
+
"@contentful/f36-components": "^4.34.1",
|
|
40
|
+
"@contentful/f36-tokens": "^4.0.1",
|
|
41
|
+
"@contentful/field-editor-shared": "^1.3.0",
|
|
28
42
|
"emotion": "^10.0.17",
|
|
29
43
|
"moment": "^2.20.0"
|
|
30
44
|
},
|
|
31
45
|
"devDependencies": {
|
|
32
46
|
"@babel/core": "^7.7.4",
|
|
33
|
-
"@contentful/field-editor-test-utils": "^1.
|
|
47
|
+
"@contentful/field-editor-test-utils": "^1.4.0",
|
|
34
48
|
"@types/timezoned-date": "^3.0.0",
|
|
35
49
|
"timezoned-date": "^3.0.2"
|
|
36
50
|
},
|
|
37
51
|
"peerDependencies": {
|
|
38
52
|
"react": ">=16.8.0"
|
|
39
53
|
},
|
|
40
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "543e02672a8dd4edc810f9f3568d6b69c454e1f9"
|
|
41
55
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [1.3.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.3.4...@contentful/field-editor-date@1.3.5) (2023-03-21)
|
|
7
|
-
|
|
8
|
-
### Bug Fixes
|
|
9
|
-
|
|
10
|
-
- pass isDisabled into FieldConnector ([#1368](https://github.com/contentful/field-editors/issues/1368)) ([e767a91](https://github.com/contentful/field-editors/commit/e767a91758cb473746418c5658319cd67e5bbaf5))
|
|
11
|
-
|
|
12
|
-
## [1.3.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.3.3...@contentful/field-editor-date@1.3.4) (2023-03-14)
|
|
13
|
-
|
|
14
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
15
|
-
|
|
16
|
-
## [1.3.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.3.2...@contentful/field-editor-date@1.3.3) (2023-03-10)
|
|
17
|
-
|
|
18
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
19
|
-
|
|
20
|
-
## [1.3.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.3.1...@contentful/field-editor-date@1.3.2) (2023-03-07)
|
|
21
|
-
|
|
22
|
-
### Bug Fixes
|
|
23
|
-
|
|
24
|
-
- update eslint disable comment ([#1363](https://github.com/contentful/field-editors/issues/1363)) ([952974e](https://github.com/contentful/field-editors/commit/952974ef37b396157e1fd3f7fdee0b4e808871eb))
|
|
25
|
-
|
|
26
|
-
## [1.3.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.3.0...@contentful/field-editor-date@1.3.1) (2023-03-06)
|
|
27
|
-
|
|
28
|
-
### Bug Fixes
|
|
29
|
-
|
|
30
|
-
- provide description for es-lint errors [] ([#1359](https://github.com/contentful/field-editors/issues/1359)) ([866fadf](https://github.com/contentful/field-editors/commit/866fadf808806a1310ed1df1c47e0b83487bf671))
|
|
31
|
-
|
|
32
|
-
# [1.3.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.2.7...@contentful/field-editor-date@1.3.0) (2023-03-06)
|
|
33
|
-
|
|
34
|
-
### Features
|
|
35
|
-
|
|
36
|
-
- support disabling dateField [] ([#1356](https://github.com/contentful/field-editors/issues/1356)) ([a9032e3](https://github.com/contentful/field-editors/commit/a9032e3c7adf838f6861e7598ed6b433c9c769b9))
|
|
37
|
-
|
|
38
|
-
## [1.2.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.2.6...@contentful/field-editor-date@1.2.7) (2023-02-21)
|
|
39
|
-
|
|
40
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
41
|
-
|
|
42
|
-
## [1.2.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.2.5...@contentful/field-editor-date@1.2.6) (2023-02-07)
|
|
43
|
-
|
|
44
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
45
|
-
|
|
46
|
-
## [1.2.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.2.4...@contentful/field-editor-date@1.2.5) (2022-12-08)
|
|
47
|
-
|
|
48
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
49
|
-
|
|
50
|
-
## [1.2.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.2.3...@contentful/field-editor-date@1.2.4) (2022-09-22)
|
|
51
|
-
|
|
52
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
53
|
-
|
|
54
|
-
## [1.2.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.2.2...@contentful/field-editor-date@1.2.3) (2022-09-21)
|
|
55
|
-
|
|
56
|
-
### Bug Fixes
|
|
57
|
-
|
|
58
|
-
- **field-editor-date:** fix date formatting [] ([#1255](https://github.com/contentful/field-editors/issues/1255)) ([bd38088](https://github.com/contentful/field-editors/commit/bd38088fcaa0c4e6916f55a8aec030659b0a88cd))
|
|
59
|
-
|
|
60
|
-
## [1.2.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.2.1...@contentful/field-editor-date@1.2.2) (2022-09-16)
|
|
61
|
-
|
|
62
|
-
### Bug Fixes
|
|
63
|
-
|
|
64
|
-
- fix the way date is parsed in the DateEditor [BAU-943] ([#1239](https://github.com/contentful/field-editors/issues/1239)) ([97434e7](https://github.com/contentful/field-editors/commit/97434e7cbd223fa9347e513ccb9571f210b88344))
|
|
65
|
-
|
|
66
|
-
## [1.2.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.2.0...@contentful/field-editor-date@1.2.1) (2022-09-15)
|
|
67
|
-
|
|
68
|
-
### Bug Fixes
|
|
69
|
-
|
|
70
|
-
- fix date-editor import ([#1238](https://github.com/contentful/field-editors/issues/1238)) ([d70fe58](https://github.com/contentful/field-editors/commit/d70fe58ed0d54321dea300cf5c33ace791cb7c4f))
|
|
71
|
-
|
|
72
|
-
# [1.2.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.1.10...@contentful/field-editor-date@1.2.0) (2022-09-14)
|
|
73
|
-
|
|
74
|
-
### Bug Fixes
|
|
75
|
-
|
|
76
|
-
- cleanup console log ([#1235](https://github.com/contentful/field-editors/issues/1235)) ([823b09f](https://github.com/contentful/field-editors/commit/823b09f77c2576cf0e8ae33b8bec4dc9abb51999))
|
|
77
|
-
|
|
78
|
-
### Features
|
|
79
|
-
|
|
80
|
-
- date editor with new f36 datepicker, do yarn deduplicate for f36-components [BAU-696] ([#1225](https://github.com/contentful/field-editors/issues/1225)) ([bc142a3](https://github.com/contentful/field-editors/commit/bc142a3522b7e55666eb3796f69f6cfcbab9a574))
|
|
81
|
-
|
|
82
|
-
## [1.1.10](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.1.9...@contentful/field-editor-date@1.1.10) (2022-07-29)
|
|
83
|
-
|
|
84
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
85
|
-
|
|
86
|
-
## [1.1.9](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.1.8...@contentful/field-editor-date@1.1.9) (2022-07-29)
|
|
87
|
-
|
|
88
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
89
|
-
|
|
90
|
-
## [1.1.8](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.1.7...@contentful/field-editor-date@1.1.8) (2022-07-11)
|
|
91
|
-
|
|
92
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
93
|
-
|
|
94
|
-
## [1.1.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.1.6...@contentful/field-editor-date@1.1.7) (2022-06-22)
|
|
95
|
-
|
|
96
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
97
|
-
|
|
98
|
-
## [1.1.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.1.5...@contentful/field-editor-date@1.1.6) (2022-05-27)
|
|
99
|
-
|
|
100
|
-
### Bug Fixes
|
|
101
|
-
|
|
102
|
-
- temporary revert of date editor changes ([#1153](https://github.com/contentful/field-editors/issues/1153)) ([7002aab](https://github.com/contentful/field-editors/commit/7002aab9bd82312a585903c7411558f79b66c964))
|
|
103
|
-
|
|
104
|
-
## [1.1.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.1.4...@contentful/field-editor-date@1.1.5) (2022-05-24)
|
|
105
|
-
|
|
106
|
-
### Bug Fixes
|
|
107
|
-
|
|
108
|
-
- change GMT to UTC in datepicker [TOL-60] ([#1149](https://github.com/contentful/field-editors/issues/1149)) ([a407b1a](https://github.com/contentful/field-editors/commit/a407b1a0b9d4861e3d0cc2f7bed17ac90e7489c0))
|
|
109
|
-
|
|
110
|
-
## [1.1.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.1.3...@contentful/field-editor-date@1.1.4) (2022-05-23)
|
|
111
|
-
|
|
112
|
-
### Bug Fixes
|
|
113
|
-
|
|
114
|
-
- increased time input width in date picker to fix visual bug [TOL-122] ([#1150](https://github.com/contentful/field-editors/issues/1150)) ([f992f3b](https://github.com/contentful/field-editors/commit/f992f3b333bfac8469cf84cb0f64120526136448))
|
|
115
|
-
|
|
116
|
-
## [1.1.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.1.2...@contentful/field-editor-date@1.1.3) (2022-05-20)
|
|
117
|
-
|
|
118
|
-
### Bug Fixes
|
|
119
|
-
|
|
120
|
-
- made timezone picker match webapp, added guessing [SHE-831] ([#1146](https://github.com/contentful/field-editors/issues/1146)) ([9d98a31](https://github.com/contentful/field-editors/commit/9d98a3171aa4d2fa9641e6a10a92221686f934c5))
|
|
121
|
-
|
|
122
|
-
## [1.1.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.1.1...@contentful/field-editor-date@1.1.2) (2022-02-15)
|
|
123
|
-
|
|
124
|
-
### Bug Fixes
|
|
125
|
-
|
|
126
|
-
- bump f36 packages ([#1025](https://github.com/contentful/field-editors/issues/1025)) ([ec37a40](https://github.com/contentful/field-editors/commit/ec37a4000db7cd75c66dd9621136b2272c9feeea))
|
|
127
|
-
|
|
128
|
-
## [1.1.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.1.0...@contentful/field-editor-date@1.1.1) (2022-02-14)
|
|
129
|
-
|
|
130
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
131
|
-
|
|
132
|
-
# [1.1.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.0.3...@contentful/field-editor-date@1.1.0) (2022-01-11)
|
|
133
|
-
|
|
134
|
-
### Features
|
|
135
|
-
|
|
136
|
-
- bump f36 packages to stable v4 [BAU-521] ([#988](https://github.com/contentful/field-editors/issues/988)) ([419cf56](https://github.com/contentful/field-editors/commit/419cf56692179b074fcfa2743469d5265ed98429))
|
|
137
|
-
|
|
138
|
-
## [1.0.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.0.2...@contentful/field-editor-date@1.0.3) (2021-12-23)
|
|
139
|
-
|
|
140
|
-
### Bug Fixes
|
|
141
|
-
|
|
142
|
-
- markdown buttons ([#968](https://github.com/contentful/field-editors/issues/968)) ([9803b98](https://github.com/contentful/field-editors/commit/9803b98c25d92df6148686ffe2749a77f7efdbb9))
|
|
143
|
-
|
|
144
|
-
## [1.0.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.0.1...@contentful/field-editor-date@1.0.2) (2021-12-20)
|
|
145
|
-
|
|
146
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
147
|
-
|
|
148
|
-
## [1.0.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@1.0.0...@contentful/field-editor-date@1.0.1) (2021-11-17)
|
|
149
|
-
|
|
150
|
-
### Bug Fixes
|
|
151
|
-
|
|
152
|
-
- **card-actions:** update forma 36 to fix card actions click issue ([#927](https://github.com/contentful/field-editors/issues/927)) ([3dfdef2](https://github.com/contentful/field-editors/commit/3dfdef2c2b0045f12ea94ddafca89a8e9f25e7d0))
|
|
153
|
-
|
|
154
|
-
# [1.0.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.13.0...@contentful/field-editor-date@1.0.0) (2021-11-04)
|
|
155
|
-
|
|
156
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
157
|
-
|
|
158
|
-
# [0.13.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.12.6...@contentful/field-editor-date@0.13.0) (2021-11-04)
|
|
159
|
-
|
|
160
|
-
### Features
|
|
161
|
-
|
|
162
|
-
- Forma v4 components adoption ([#805](https://github.com/contentful/field-editors/issues/805)) ([526bde6](https://github.com/contentful/field-editors/commit/526bde6e10e0ee3789705ec10fb31489af7ca59e))
|
|
163
|
-
|
|
164
|
-
### BREAKING CHANGES
|
|
165
|
-
|
|
166
|
-
- adopts a new Forma v4 beta
|
|
167
|
-
|
|
168
|
-
## [0.12.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.12.5...@contentful/field-editor-date@0.12.6) (2021-10-14)
|
|
169
|
-
|
|
170
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
171
|
-
|
|
172
|
-
## [0.12.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.12.4...@contentful/field-editor-date@0.12.5) (2021-10-06)
|
|
173
|
-
|
|
174
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
175
|
-
|
|
176
|
-
## [0.12.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.12.3...@contentful/field-editor-date@0.12.4) (2021-09-17)
|
|
177
|
-
|
|
178
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
179
|
-
|
|
180
|
-
## [0.12.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.12.2...@contentful/field-editor-date@0.12.3) (2021-09-16)
|
|
181
|
-
|
|
182
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
183
|
-
|
|
184
|
-
## [0.12.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.12.1...@contentful/field-editor-date@0.12.2) (2021-08-19)
|
|
185
|
-
|
|
186
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
187
|
-
|
|
188
|
-
## [0.12.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.12.0...@contentful/field-editor-date@0.12.1) (2021-07-29)
|
|
189
|
-
|
|
190
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
191
|
-
|
|
192
|
-
# [0.12.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.11.6...@contentful/field-editor-date@0.12.0) (2021-07-23)
|
|
193
|
-
|
|
194
|
-
### Features
|
|
195
|
-
|
|
196
|
-
- 💡 new color tokens ([#778](https://github.com/contentful/field-editors/issues/778)) ([fba548d](https://github.com/contentful/field-editors/commit/fba548de32305016df7f2685634eefb14294828f))
|
|
197
|
-
|
|
198
|
-
## [0.11.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.11.3...@contentful/field-editor-date@0.11.6) (2021-07-06)
|
|
199
|
-
|
|
200
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
201
|
-
|
|
202
|
-
## [0.11.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.11.3...@contentful/field-editor-date@0.11.5) (2021-07-06)
|
|
203
|
-
|
|
204
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
205
|
-
|
|
206
|
-
## [0.11.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.11.3...@contentful/field-editor-date@0.11.4) (2021-06-23)
|
|
207
|
-
|
|
208
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
209
|
-
|
|
210
|
-
## [0.11.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.11.2...@contentful/field-editor-date@0.11.3) (2021-06-23)
|
|
211
|
-
|
|
212
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
213
|
-
|
|
214
|
-
## [0.11.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.11.1...@contentful/field-editor-date@0.11.2) (2021-06-22)
|
|
215
|
-
|
|
216
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
217
|
-
|
|
218
|
-
## [0.11.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.11.0...@contentful/field-editor-date@0.11.1) (2021-03-05)
|
|
219
|
-
|
|
220
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
221
|
-
|
|
222
|
-
# [0.11.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.10.2...@contentful/field-editor-date@0.11.0) (2021-02-19)
|
|
223
|
-
|
|
224
|
-
### Features
|
|
225
|
-
|
|
226
|
-
- bump min version of forma-36 ([#606](https://github.com/contentful/field-editors/issues/606)) ([fd57c7a](https://github.com/contentful/field-editors/commit/fd57c7a4312766af38c01507f17706ab22992617))
|
|
227
|
-
|
|
228
|
-
## [0.10.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.10.1...@contentful/field-editor-date@0.10.2) (2021-02-09)
|
|
229
|
-
|
|
230
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
231
|
-
|
|
232
|
-
## [0.10.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.10.0...@contentful/field-editor-date@0.10.1) (2021-02-01)
|
|
233
|
-
|
|
234
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
235
|
-
|
|
236
|
-
# [0.10.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.9.2...@contentful/field-editor-date@0.10.0) (2021-01-20)
|
|
237
|
-
|
|
238
|
-
### Features
|
|
239
|
-
|
|
240
|
-
- update minimal forma-36 versions to use updated design ([#565](https://github.com/contentful/field-editors/issues/565)) ([332c734](https://github.com/contentful/field-editors/commit/332c734bfaf54f0e9773fcbb460d743b1f5459ec))
|
|
241
|
-
|
|
242
|
-
## [0.9.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.9.1...@contentful/field-editor-date@0.9.2) (2021-01-15)
|
|
243
|
-
|
|
244
|
-
### Bug Fixes
|
|
245
|
-
|
|
246
|
-
- 🐛 small layout adjustments ([#555](https://github.com/contentful/field-editors/issues/555)) ([235c594](https://github.com/contentful/field-editors/commit/235c5941db152d2921a9ef134c1a71b0069a4dc2))
|
|
247
|
-
|
|
248
|
-
## [0.9.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.9.0...@contentful/field-editor-date@0.9.1) (2021-01-12)
|
|
249
|
-
|
|
250
|
-
### Bug Fixes
|
|
251
|
-
|
|
252
|
-
- use forma tokens for border radiuses ([#553](https://github.com/contentful/field-editors/issues/553)) ([f4eb745](https://github.com/contentful/field-editors/commit/f4eb74568c7bc0cc25028542821ba64e50e226bd))
|
|
253
|
-
|
|
254
|
-
# [0.9.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.8.4...@contentful/field-editor-date@0.9.0) (2021-01-12)
|
|
255
|
-
|
|
256
|
-
### Features
|
|
257
|
-
|
|
258
|
-
- update minimal required Forma version to the 3.73.12 ([#552](https://github.com/contentful/field-editors/issues/552)) ([2816fd9](https://github.com/contentful/field-editors/commit/2816fd960c28815faebf49a9ef8f4c4c0d91fc36))
|
|
259
|
-
|
|
260
|
-
## [0.8.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.8.3...@contentful/field-editor-date@0.8.4) (2020-12-16)
|
|
261
|
-
|
|
262
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
263
|
-
|
|
264
|
-
## [0.8.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.8.2...@contentful/field-editor-date@0.8.3) (2020-11-06)
|
|
265
|
-
|
|
266
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
267
|
-
|
|
268
|
-
## [0.8.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.8.1...@contentful/field-editor-date@0.8.2) (2020-11-06)
|
|
269
|
-
|
|
270
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
271
|
-
|
|
272
|
-
## [0.8.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.8.0...@contentful/field-editor-date@0.8.1) (2020-11-05)
|
|
273
|
-
|
|
274
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|
|
275
|
-
|
|
276
|
-
# [0.8.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.7.1...@contentful/field-editor-date@0.8.0) (2020-10-28)
|
|
277
|
-
|
|
278
|
-
### Bug Fixes
|
|
279
|
-
|
|
280
|
-
- 🐛 isInitiallyDisabled being null in examples ([#414](https://github.com/contentful/field-editors/issues/414)) ([df53405](https://github.com/contentful/field-editors/commit/df534055cfa64c533725cb5bca392a0a82e54be6))
|
|
281
|
-
|
|
282
|
-
### Features
|
|
283
|
-
|
|
284
|
-
- 🎸 do not show link actions on full reference/media fields ([#437](https://github.com/contentful/field-editors/issues/437)) ([4d11496](https://github.com/contentful/field-editors/commit/4d11496acda86046710e650948b7d87c97925205))
|
|
285
|
-
|
|
286
|
-
## [0.7.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-date@0.7.0...@contentful/field-editor-date@0.7.1) (2020-08-24)
|
|
287
|
-
|
|
288
|
-
**Note:** Version bump only for package @contentful/field-editor-date
|