@contentful/f36-datetime 4.1.0 → 4.1.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/CHANGELOG.md +11 -0
- package/dist/main.js +0 -0
- package/dist/main.js.map +0 -0
- package/dist/module.js +0 -0
- package/dist/module.js.map +0 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.1.1](https://github.com/contentful/forma-36/compare/@contentful/f36-datetime@4.1.0...@contentful/f36-datetime@4.1.1) (2022-01-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* force types regeneration for DateTime, Asset and AssetCard ([6965180](https://github.com/contentful/forma-36/commit/69651807d56da28c0a81204aa29746ccac00169f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [4.1.0](https://github.com/contentful/forma-36/compare/@contentful/f36-datetime@4.0.0...@contentful/f36-datetime@4.1.0) (2022-01-11)
|
|
7
18
|
|
|
8
19
|
|
package/dist/main.js
CHANGED
|
File without changes
|
package/dist/main.js.map
CHANGED
|
File without changes
|
package/dist/module.js
CHANGED
|
File without changes
|
package/dist/module.js.map
CHANGED
|
File without changes
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { CommonProps, PropsWithHTMLElement } from "@contentful/f36-core";
|
|
3
3
|
type DateType = Date | string | number;
|
|
4
|
-
type DateFormat = 'full' | 'time' | '
|
|
4
|
+
type DateFormat = 'fullWithSeconds' | 'full' | 'time' | 'day' | 'weekday';
|
|
5
5
|
/**
|
|
6
6
|
* A funtion that will return a formatted date string. The format will dependend on the option
|
|
7
7
|
* passed in the second argument.
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;AAAA,gBAAuB,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9C,
|
|
1
|
+
{"mappings":";;AAAA,gBAAuB,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9C,kBACI,iBAAiB,GACjB,MAAM,GACN,MAAM,GACN,KAAK,GACL,SAAS,CAAC;ACDd;;;;;;;;;;;;;;GAcG;AACH,kCACE,IAAI,EAAE,QAAQ,EACd,MAAM,GAAE,UAAmB,GAC1B,MAAM,CAqBR;AAED;;;;;;;;;;;;;GAaG;AACH,8CACE,IAAI,EAAE,QAAQ,EACd,MAAM,GAAE,UAAmB,GAC1B,MAAM,CAkBR;AGxED,0BAA2B,SAAQ,WAAW;IAC5C;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;;;QAII;IACJ,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB;AAED,4BAA4B,qBAAqB,gBAAgB,EAAE,MAAM,CAAC,CAAC;AAyB3E;;GAEG;AACH,OAAO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UArCL,QAAQ;aAML,UAAU;;;;yCA+B8B,CAAC;AC7BpD,uCAAwC,SAAQ,WAAW;IACzD;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,oCAAoC,qBAClC,6BAA6B,EAC7B,MAAM,CACP,CAAC;AA4CF;;;GAGG;AACH,OAAO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAlEL,QAAQ;eAOH,QAAQ;8BAKO,OAAO;;;;yCAsDgC,CAAC","sources":["packages/components/datetime/src/src/types.ts","packages/components/datetime/src/src/utils/formatDateTimeUtils.ts","packages/components/datetime/src/src/utils/relativeDateTimeUtils.ts","packages/components/datetime/src/src/utils/index.ts","packages/components/datetime/src/src/DateTime/DateTime.tsx","packages/components/datetime/src/src/RelativeDateTime/RelativeDateTime.tsx","packages/components/datetime/src/src/index.ts","packages/components/datetime/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,"export { DateTime } from './DateTime/DateTime';\nexport type { DateTimeProps } from './DateTime/DateTime';\nexport { RelativeDateTime } from './RelativeDateTime/RelativeDateTime';\nexport type { RelativeDateTimeProps } from './RelativeDateTime/RelativeDateTime';\nexport { formatDateAndTime, formatMachineReadableDateTime } from './utils';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/f36-datetime",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Forma 36: DateTime component",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "parcel build"
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "f74c079fa762770fb502c473aee0f084c1a7d21c"
|
|
36
36
|
}
|