@instructure/ui-date-input 8.10.3-snapshot.2 → 8.10.3-snapshot.25
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-date-input",
|
|
3
|
-
"version": "8.10.3-snapshot.
|
|
3
|
+
"version": "8.10.3-snapshot.25+ed32a6c3b",
|
|
4
4
|
"description": "A UI component library made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -24,24 +24,24 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@instructure/ui-babel-preset": "8.10.3-snapshot.
|
|
28
|
-
"@instructure/ui-test-locator": "8.10.3-snapshot.
|
|
29
|
-
"@instructure/ui-test-utils": "8.10.3-snapshot.
|
|
27
|
+
"@instructure/ui-babel-preset": "8.10.3-snapshot.25+ed32a6c3b",
|
|
28
|
+
"@instructure/ui-test-locator": "8.10.3-snapshot.25+ed32a6c3b",
|
|
29
|
+
"@instructure/ui-test-utils": "8.10.3-snapshot.25+ed32a6c3b"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@babel/runtime": "^7.13.10",
|
|
33
|
-
"@instructure/emotion": "8.10.3-snapshot.
|
|
34
|
-
"@instructure/ui-calendar": "8.10.3-snapshot.
|
|
35
|
-
"@instructure/ui-form-field": "8.10.3-snapshot.
|
|
36
|
-
"@instructure/ui-icons": "8.10.3-snapshot.
|
|
37
|
-
"@instructure/ui-popover": "8.10.3-snapshot.
|
|
38
|
-
"@instructure/ui-position": "8.10.3-snapshot.
|
|
39
|
-
"@instructure/ui-prop-types": "8.10.3-snapshot.
|
|
40
|
-
"@instructure/ui-react-utils": "8.10.3-snapshot.
|
|
41
|
-
"@instructure/ui-selectable": "8.10.3-snapshot.
|
|
42
|
-
"@instructure/ui-testable": "8.10.3-snapshot.
|
|
43
|
-
"@instructure/ui-text-input": "8.10.3-snapshot.
|
|
44
|
-
"@instructure/ui-utils": "8.10.3-snapshot.
|
|
33
|
+
"@instructure/emotion": "8.10.3-snapshot.25+ed32a6c3b",
|
|
34
|
+
"@instructure/ui-calendar": "8.10.3-snapshot.25+ed32a6c3b",
|
|
35
|
+
"@instructure/ui-form-field": "8.10.3-snapshot.25+ed32a6c3b",
|
|
36
|
+
"@instructure/ui-icons": "8.10.3-snapshot.25+ed32a6c3b",
|
|
37
|
+
"@instructure/ui-popover": "8.10.3-snapshot.25+ed32a6c3b",
|
|
38
|
+
"@instructure/ui-position": "8.10.3-snapshot.25+ed32a6c3b",
|
|
39
|
+
"@instructure/ui-prop-types": "8.10.3-snapshot.25+ed32a6c3b",
|
|
40
|
+
"@instructure/ui-react-utils": "8.10.3-snapshot.25+ed32a6c3b",
|
|
41
|
+
"@instructure/ui-selectable": "8.10.3-snapshot.25+ed32a6c3b",
|
|
42
|
+
"@instructure/ui-testable": "8.10.3-snapshot.25+ed32a6c3b",
|
|
43
|
+
"@instructure/ui-text-input": "8.10.3-snapshot.25+ed32a6c3b",
|
|
44
|
+
"@instructure/ui-utils": "8.10.3-snapshot.25+ed32a6c3b",
|
|
45
45
|
"prop-types": "^15"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
53
|
"sideEffects": false,
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "ed32a6c3b14ddb7fbbb5b543d9871a296f06e4c0"
|
|
55
55
|
}
|
package/src/DateInput/props.ts
CHANGED
|
@@ -34,8 +34,12 @@ import { Calendar } from '@instructure/ui-calendar'
|
|
|
34
34
|
|
|
35
35
|
import type { FormMessage } from '@instructure/ui-form-field'
|
|
36
36
|
import type { PlacementPropValues } from '@instructure/ui-position'
|
|
37
|
-
import type {
|
|
37
|
+
import type {
|
|
38
|
+
OtherHTMLAttributes,
|
|
39
|
+
PropValidators
|
|
40
|
+
} from '@instructure/shared-types'
|
|
38
41
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
42
|
+
import { InputHTMLAttributes } from 'react'
|
|
39
43
|
|
|
40
44
|
type DateInputOwnProps = {
|
|
41
45
|
renderLabel: React.ReactNode | ((...args: any[]) => any)
|
|
@@ -72,7 +76,9 @@ type PropKeys = keyof DateInputOwnProps
|
|
|
72
76
|
|
|
73
77
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
74
78
|
|
|
75
|
-
type DateInputProps = DateInputOwnProps &
|
|
79
|
+
type DateInputProps = DateInputOwnProps &
|
|
80
|
+
WithStyleProps<null, DateInputStyle> &
|
|
81
|
+
OtherHTMLAttributes<DateInputOwnProps, InputHTMLAttributes<DateInputOwnProps>>
|
|
76
82
|
|
|
77
83
|
type DateInputStyle = ComponentStyle<'dateInput' | 'assistiveText'>
|
|
78
84
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { FormMessage } from '@instructure/ui-form-field';
|
|
3
2
|
import type { PlacementPropValues } from '@instructure/ui-position';
|
|
4
|
-
import type { PropValidators } from '@instructure/shared-types';
|
|
3
|
+
import type { OtherHTMLAttributes, PropValidators } from '@instructure/shared-types';
|
|
5
4
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
5
|
+
import { InputHTMLAttributes } from 'react';
|
|
6
6
|
declare type DateInputOwnProps = {
|
|
7
7
|
renderLabel: React.ReactNode | ((...args: any[]) => any);
|
|
8
8
|
value?: any;
|
|
@@ -35,7 +35,7 @@ declare type DateInputOwnProps = {
|
|
|
35
35
|
};
|
|
36
36
|
declare type PropKeys = keyof DateInputOwnProps;
|
|
37
37
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
38
|
-
declare type DateInputProps = DateInputOwnProps & WithStyleProps<null, DateInputStyle
|
|
38
|
+
declare type DateInputProps = DateInputOwnProps & WithStyleProps<null, DateInputStyle> & OtherHTMLAttributes<DateInputOwnProps, InputHTMLAttributes<DateInputOwnProps>>;
|
|
39
39
|
declare type DateInputStyle = ComponentStyle<'dateInput' | 'assistiveText'>;
|
|
40
40
|
declare const propTypes: PropValidators<PropKeys>;
|
|
41
41
|
declare const allowedProps: AllowedPropKeys;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/DateInput/props.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/DateInput/props.ts"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAE3C,aAAK,iBAAiB,GAAG;IACvB,WAAW,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IACxD,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IAChC,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,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