@equinor/fusion-react-date 0.4.12 → 0.4.14
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/DateRange.d.ts +4 -2
- package/dist/DateRange.d.ts.map +1 -1
- package/dist/DateRange.js +1 -1
- package/dist/DateRange.js.map +1 -1
- package/dist/DateTime.d.ts +4 -2
- package/dist/DateTime.d.ts.map +1 -1
- package/dist/DateTime.js +1 -1
- package/dist/DateTime.js.map +1 -1
- package/package.json +3 -3
package/dist/DateRange.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { ComponentProps } from '@equinor/fusion-react-utils';
|
|
2
3
|
import { DateRangeElement as HTMLDateRangeCustomElement } from '@equinor/fusion-wc-date';
|
|
3
|
-
|
|
4
|
+
declare type ElementProps = React.PropsWithChildren<Partial<Pick<HTMLDateRangeCustomElement, 'from' | 'to' | 'format' | 'suffix' | 'variant' | 'locale' | 'seconds' | 'weekstart' | 'capitalize'>>>;
|
|
4
5
|
export declare const DateRange: import("react").ForwardRefExoticComponent<import("@equinor/fusion-react-utils").ComponentAttributes<HTMLDateRangeCustomElement> & Partial<Pick<HTMLDateRangeCustomElement, "from" | "to" | "format" | "suffix" | "variant" | "locale" | "seconds" | "weekstart" | "capitalize">> & {
|
|
5
6
|
children?: import("react").ReactNode;
|
|
6
7
|
} & import("react").RefAttributes<HTMLDateRangeCustomElement>>;
|
|
7
|
-
export declare type DateRangeProps =
|
|
8
|
+
export declare type DateRangeProps = ComponentProps<HTMLDateRangeCustomElement, ElementProps>;
|
|
9
|
+
export { HTMLDateRangeCustomElement };
|
|
8
10
|
export default DateRange;
|
|
9
11
|
//# sourceMappingURL=DateRange.d.ts.map
|
package/dist/DateRange.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRange.d.ts","sourceRoot":"","sources":["../src/DateRange.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DateRange.d.ts","sourceRoot":"","sources":["../src/DateRange.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAE,gBAAgB,IAAI,0BAA0B,EAAgB,MAAM,yBAAyB,CAAC;AAEvG,aAAK,YAAY,GAAG,KAAK,CAAC,iBAAiB,CACzC,OAAO,CACL,IAAI,CACF,0BAA0B,EAC1B,MAAM,GAAG,IAAI,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,YAAY,CACpG,CACF,CACF,CAAC;AAEF,eAAO,MAAM,SAAS;;8DAGrB,CAAC;AAEF,oBAAY,cAAc,GAAG,cAAc,CAAC,0BAA0B,EAAE,YAAY,CAAC,CAAC;AAEtF,OAAO,EAAE,0BAA0B,EAAE,CAAC;AAEtC,eAAe,SAAS,CAAC"}
|
package/dist/DateRange.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createComponent } from '@equinor/fusion-react-utils';
|
|
2
2
|
import { DateRangeElement as HTMLDateRangeCustomElement, dateRangeTag } from '@equinor/fusion-wc-date';
|
|
3
|
-
export { HTMLDateRangeCustomElement };
|
|
4
3
|
export const DateRange = createComponent(HTMLDateRangeCustomElement, dateRangeTag);
|
|
4
|
+
export { HTMLDateRangeCustomElement };
|
|
5
5
|
export default DateRange;
|
|
6
6
|
//# sourceMappingURL=DateRange.js.map
|
package/dist/DateRange.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRange.js","sourceRoot":"","sources":["../src/DateRange.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DateRange.js","sourceRoot":"","sources":["../src/DateRange.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAE,gBAAgB,IAAI,0BAA0B,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAWvG,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CACtC,0BAA0B,EAC1B,YAAY,CACb,CAAC;AAIF,OAAO,EAAE,0BAA0B,EAAE,CAAC;AAEtC,eAAe,SAAS,CAAC"}
|
package/dist/DateTime.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { ComponentProps } from '@equinor/fusion-react-utils';
|
|
2
3
|
import { DateTimeElement as HTMLDateTimeCustomElement } from '@equinor/fusion-wc-date';
|
|
3
|
-
|
|
4
|
+
declare type ElementProps = React.PropsWithChildren<Partial<Pick<HTMLDateTimeCustomElement, 'date' | 'format' | 'locale'>>>;
|
|
4
5
|
export declare const DateTime: import("react").ForwardRefExoticComponent<import("@equinor/fusion-react-utils").ComponentAttributes<HTMLDateTimeCustomElement> & Partial<Pick<HTMLDateTimeCustomElement, "format" | "locale" | "date">> & {
|
|
5
6
|
children?: import("react").ReactNode;
|
|
6
7
|
} & import("react").RefAttributes<HTMLDateTimeCustomElement>>;
|
|
7
|
-
export declare type DateTimeProps =
|
|
8
|
+
export declare type DateTimeProps = ComponentProps<HTMLDateTimeCustomElement, ElementProps>;
|
|
9
|
+
export { HTMLDateTimeCustomElement };
|
|
8
10
|
export default DateTime;
|
|
9
11
|
//# sourceMappingURL=DateTime.d.ts.map
|
package/dist/DateTime.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTime.d.ts","sourceRoot":"","sources":["../src/DateTime.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DateTime.d.ts","sourceRoot":"","sources":["../src/DateTime.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAE,eAAe,IAAI,yBAAyB,EAAe,MAAM,yBAAyB,CAAC;AAEpG,aAAK,YAAY,GAAG,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;AAEpH,eAAO,MAAM,QAAQ;;6DAGpB,CAAC;AAEF,oBAAY,aAAa,GAAG,cAAc,CAAC,yBAAyB,EAAE,YAAY,CAAC,CAAC;AAEpF,OAAO,EAAE,yBAAyB,EAAE,CAAC;AAErC,eAAe,QAAQ,CAAC"}
|
package/dist/DateTime.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createComponent } from '@equinor/fusion-react-utils';
|
|
2
2
|
import { DateTimeElement as HTMLDateTimeCustomElement, dateTimeTag } from '@equinor/fusion-wc-date';
|
|
3
|
-
export { HTMLDateTimeCustomElement };
|
|
4
3
|
export const DateTime = createComponent(HTMLDateTimeCustomElement, dateTimeTag);
|
|
4
|
+
export { HTMLDateTimeCustomElement };
|
|
5
5
|
export default DateTime;
|
|
6
6
|
//# sourceMappingURL=DateTime.js.map
|
package/dist/DateTime.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTime.js","sourceRoot":"","sources":["../src/DateTime.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DateTime.js","sourceRoot":"","sources":["../src/DateTime.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAE,eAAe,IAAI,yBAAyB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAIpG,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CACrC,yBAAyB,EACzB,WAAW,CACZ,CAAC;AAIF,OAAO,EAAE,yBAAyB,EAAE,CAAC;AAErC,eAAe,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-react-date",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.14",
|
|
4
4
|
"description": "component for formatting and displaying dates",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"date",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"url": "https://github.com/equinor/fusion-react-components/issues"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@equinor/fusion-react-utils": "^2.0.
|
|
38
|
+
"@equinor/fusion-react-utils": "^2.0.3",
|
|
39
39
|
"@equinor/fusion-wc-date": "^0.2.21"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "59ba8a4051f41ff229c903aa479da640d100e5df"
|
|
42
42
|
}
|