@equinor/fusion-react-date 0.4.14-313.0 → 0.4.15
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 +2 -2
- package/dist/DateRange.d.ts.map +1 -1
- package/dist/DateTime.d.ts +2 -2
- package/dist/DateTime.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/DateRange.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ComponentProps } from '@equinor/fusion-react-utils';
|
|
3
3
|
import { DateRangeElement as HTMLDateRangeCustomElement } from '@equinor/fusion-wc-date';
|
|
4
|
-
|
|
4
|
+
type ElementProps = React.PropsWithChildren<Partial<Pick<HTMLDateRangeCustomElement, 'from' | 'to' | 'format' | 'suffix' | 'variant' | 'locale' | 'seconds' | 'weekstart' | 'capitalize'>>>;
|
|
5
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">> & {
|
|
6
6
|
children?: import("react").ReactNode;
|
|
7
7
|
} & import("react").RefAttributes<HTMLDateRangeCustomElement>>;
|
|
8
|
-
export
|
|
8
|
+
export type DateRangeProps = ComponentProps<HTMLDateRangeCustomElement, ElementProps>;
|
|
9
9
|
export { HTMLDateRangeCustomElement };
|
|
10
10
|
export default DateRange;
|
|
11
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":";AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAE,gBAAgB,IAAI,0BAA0B,EAAgB,MAAM,yBAAyB,CAAC;AAEvG,
|
|
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,KAAK,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,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,0BAA0B,EAAE,YAAY,CAAC,CAAC;AAEtF,OAAO,EAAE,0BAA0B,EAAE,CAAC;AAEtC,eAAe,SAAS,CAAC"}
|
package/dist/DateTime.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ComponentProps } from '@equinor/fusion-react-utils';
|
|
3
3
|
import { DateTimeElement as HTMLDateTimeCustomElement } from '@equinor/fusion-wc-date';
|
|
4
|
-
|
|
4
|
+
type ElementProps = React.PropsWithChildren<Partial<Pick<HTMLDateTimeCustomElement, 'date' | 'format' | 'locale'>>>;
|
|
5
5
|
export declare const DateTime: import("react").ForwardRefExoticComponent<import("@equinor/fusion-react-utils").ComponentAttributes<HTMLDateTimeCustomElement> & Partial<Pick<HTMLDateTimeCustomElement, "format" | "locale" | "date">> & {
|
|
6
6
|
children?: import("react").ReactNode;
|
|
7
7
|
} & import("react").RefAttributes<HTMLDateTimeCustomElement>>;
|
|
8
|
-
export
|
|
8
|
+
export type DateTimeProps = ComponentProps<HTMLDateTimeCustomElement, ElementProps>;
|
|
9
9
|
export { HTMLDateTimeCustomElement };
|
|
10
10
|
export default DateTime;
|
|
11
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":";AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAE,eAAe,IAAI,yBAAyB,EAAe,MAAM,yBAAyB,CAAC;AAEpG,
|
|
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,KAAK,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,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,yBAAyB,EAAE,YAAY,CAAC,CAAC;AAEpF,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.15",
|
|
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.4",
|
|
39
39
|
"@equinor/fusion-wc-date": "^0.2.21"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "931c07293c9fc4c00b338da377a76e154a08f199"
|
|
42
42
|
}
|