@instructure/ui-time-select 8.10.3-snapshot.19 → 8.10.3-snapshot.23
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-time-select",
|
|
3
|
-
"version": "8.10.3-snapshot.
|
|
3
|
+
"version": "8.10.3-snapshot.23+5aaa29662",
|
|
4
4
|
"description": "A component for selecting time values.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,22 +25,22 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.10.3-snapshot.
|
|
29
|
-
"@instructure/ui-form-field": "8.10.3-snapshot.
|
|
30
|
-
"@instructure/ui-i18n": "8.10.3-snapshot.
|
|
31
|
-
"@instructure/ui-position": "8.10.3-snapshot.
|
|
32
|
-
"@instructure/ui-prop-types": "8.10.3-snapshot.
|
|
33
|
-
"@instructure/ui-react-utils": "8.10.3-snapshot.
|
|
34
|
-
"@instructure/ui-select": "8.10.3-snapshot.
|
|
35
|
-
"@instructure/ui-test-locator": "8.10.3-snapshot.
|
|
36
|
-
"@instructure/ui-testable": "8.10.3-snapshot.
|
|
37
|
-
"@instructure/uid": "8.10.3-snapshot.
|
|
28
|
+
"@instructure/console": "8.10.3-snapshot.23+5aaa29662",
|
|
29
|
+
"@instructure/ui-form-field": "8.10.3-snapshot.23+5aaa29662",
|
|
30
|
+
"@instructure/ui-i18n": "8.10.3-snapshot.23+5aaa29662",
|
|
31
|
+
"@instructure/ui-position": "8.10.3-snapshot.23+5aaa29662",
|
|
32
|
+
"@instructure/ui-prop-types": "8.10.3-snapshot.23+5aaa29662",
|
|
33
|
+
"@instructure/ui-react-utils": "8.10.3-snapshot.23+5aaa29662",
|
|
34
|
+
"@instructure/ui-select": "8.10.3-snapshot.23+5aaa29662",
|
|
35
|
+
"@instructure/ui-test-locator": "8.10.3-snapshot.23+5aaa29662",
|
|
36
|
+
"@instructure/ui-testable": "8.10.3-snapshot.23+5aaa29662",
|
|
37
|
+
"@instructure/uid": "8.10.3-snapshot.23+5aaa29662",
|
|
38
38
|
"dayjs": "^1.10.6",
|
|
39
39
|
"prop-types": "^15"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@instructure/ui-babel-preset": "8.10.3-snapshot.
|
|
43
|
-
"@instructure/ui-test-utils": "8.10.3-snapshot.
|
|
42
|
+
"@instructure/ui-babel-preset": "8.10.3-snapshot.23+5aaa29662",
|
|
43
|
+
"@instructure/ui-test-utils": "8.10.3-snapshot.23+5aaa29662",
|
|
44
44
|
"moment-timezone": "^0.5.33"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"sideEffects": false,
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "5aaa296621d72faebe1a809a8895a8185587008d"
|
|
54
54
|
}
|
package/src/TimeSelect/props.ts
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
import React from 'react'
|
|
25
|
+
import React, { InputHTMLAttributes } from 'react'
|
|
26
26
|
import PropTypes from 'prop-types'
|
|
27
27
|
|
|
28
28
|
import { controllable } from '@instructure/ui-prop-types'
|
|
@@ -31,7 +31,10 @@ import { FormPropTypes } from '@instructure/ui-form-field'
|
|
|
31
31
|
import { PositionPropTypes } from '@instructure/ui-position'
|
|
32
32
|
|
|
33
33
|
import type { FormMessage } from '@instructure/ui-form-field'
|
|
34
|
-
import type {
|
|
34
|
+
import type {
|
|
35
|
+
OtherHTMLAttributes,
|
|
36
|
+
PropValidators
|
|
37
|
+
} from '@instructure/shared-types'
|
|
35
38
|
import type {
|
|
36
39
|
PlacementPropValues,
|
|
37
40
|
PositionConstraint
|
|
@@ -73,7 +76,11 @@ type PropKeys = keyof TimeSelectOwnProps
|
|
|
73
76
|
|
|
74
77
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
75
78
|
|
|
76
|
-
type TimeSelectProps = TimeSelectOwnProps
|
|
79
|
+
type TimeSelectProps = TimeSelectOwnProps &
|
|
80
|
+
OtherHTMLAttributes<
|
|
81
|
+
TimeSelectOwnProps,
|
|
82
|
+
InputHTMLAttributes<TimeSelectOwnProps>
|
|
83
|
+
>
|
|
77
84
|
|
|
78
85
|
const propTypes: PropValidators<PropKeys> = {
|
|
79
86
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { InputHTMLAttributes } from 'react';
|
|
2
2
|
import type { FormMessage } from '@instructure/ui-form-field';
|
|
3
|
-
import type { PropValidators } from '@instructure/shared-types';
|
|
3
|
+
import type { OtherHTMLAttributes, PropValidators } from '@instructure/shared-types';
|
|
4
4
|
import type { PlacementPropValues, PositionConstraint } from '@instructure/ui-position';
|
|
5
5
|
declare type TimeSelectOwnProps = {
|
|
6
6
|
renderLabel: React.ReactNode | ((...args: any[]) => any);
|
|
@@ -35,7 +35,7 @@ declare type TimeSelectOwnProps = {
|
|
|
35
35
|
};
|
|
36
36
|
declare type PropKeys = keyof TimeSelectOwnProps;
|
|
37
37
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
38
|
-
declare type TimeSelectProps = TimeSelectOwnProps
|
|
38
|
+
declare type TimeSelectProps = TimeSelectOwnProps & OtherHTMLAttributes<TimeSelectOwnProps, InputHTMLAttributes<TimeSelectOwnProps>>;
|
|
39
39
|
declare const propTypes: PropValidators<PropKeys>;
|
|
40
40
|
declare const allowedProps: AllowedPropKeys;
|
|
41
41
|
export type { TimeSelectProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/TimeSelect/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/TimeSelect/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAQlD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,0BAA0B,CAAA;AAEjC,aAAK,kBAAkB,GAAG;IACxB,WAAW,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IACxD,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAA;IACjC,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,CAAA;IACjD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAA;IACxB,SAAS,CAAC,EAAE,mBAAmB,CAAA;IAC/B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