@instructure/ui-select 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 +23 -23
- package/src/Select/Group/props.ts +6 -2
- package/src/Select/Option/props.ts +6 -2
- package/src/Select/index.tsx +0 -1
- package/src/Select/props.ts +9 -3
- package/types/Select/Group/props.d.ts +2 -2
- package/types/Select/Group/props.d.ts.map +1 -1
- package/types/Select/Option/props.d.ts +2 -2
- package/types/Select/Option/props.d.ts.map +1 -1
- package/types/Select/index.d.ts +2 -2
- package/types/Select/index.d.ts.map +1 -1
- package/types/Select/props.d.ts +3 -3
- package/types/Select/props.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-select",
|
|
3
|
-
"version": "8.10.3-snapshot.
|
|
3
|
+
"version": "8.10.3-snapshot.25+ed32a6c3b",
|
|
4
4
|
"description": "A component for select and autocomplete behavior.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -24,30 +24,30 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@instructure/ui-babel-preset": "8.10.3-snapshot.
|
|
28
|
-
"@instructure/ui-color-utils": "8.10.3-snapshot.
|
|
29
|
-
"@instructure/ui-test-locator": "8.10.3-snapshot.
|
|
30
|
-
"@instructure/ui-test-utils": "8.10.3-snapshot.
|
|
31
|
-
"@instructure/ui-themes": "8.10.3-snapshot.
|
|
27
|
+
"@instructure/ui-babel-preset": "8.10.3-snapshot.25+ed32a6c3b",
|
|
28
|
+
"@instructure/ui-color-utils": "8.10.3-snapshot.25+ed32a6c3b",
|
|
29
|
+
"@instructure/ui-test-locator": "8.10.3-snapshot.25+ed32a6c3b",
|
|
30
|
+
"@instructure/ui-test-utils": "8.10.3-snapshot.25+ed32a6c3b",
|
|
31
|
+
"@instructure/ui-themes": "8.10.3-snapshot.25+ed32a6c3b"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.13.10",
|
|
35
|
-
"@instructure/emotion": "8.10.3-snapshot.
|
|
36
|
-
"@instructure/shared-types": "8.10.3-snapshot.
|
|
37
|
-
"@instructure/ui-dom-utils": "8.10.3-snapshot.
|
|
38
|
-
"@instructure/ui-form-field": "8.10.3-snapshot.
|
|
39
|
-
"@instructure/ui-icons": "8.10.3-snapshot.
|
|
40
|
-
"@instructure/ui-options": "8.10.3-snapshot.
|
|
41
|
-
"@instructure/ui-popover": "8.10.3-snapshot.
|
|
42
|
-
"@instructure/ui-position": "8.10.3-snapshot.
|
|
43
|
-
"@instructure/ui-prop-types": "8.10.3-snapshot.
|
|
44
|
-
"@instructure/ui-react-utils": "8.10.3-snapshot.
|
|
45
|
-
"@instructure/ui-selectable": "8.10.3-snapshot.
|
|
46
|
-
"@instructure/ui-testable": "8.10.3-snapshot.
|
|
47
|
-
"@instructure/ui-text-input": "8.10.3-snapshot.
|
|
48
|
-
"@instructure/ui-utils": "8.10.3-snapshot.
|
|
49
|
-
"@instructure/ui-view": "8.10.3-snapshot.
|
|
50
|
-
"@instructure/uid": "8.10.3-snapshot.
|
|
35
|
+
"@instructure/emotion": "8.10.3-snapshot.25+ed32a6c3b",
|
|
36
|
+
"@instructure/shared-types": "8.10.3-snapshot.25+ed32a6c3b",
|
|
37
|
+
"@instructure/ui-dom-utils": "8.10.3-snapshot.25+ed32a6c3b",
|
|
38
|
+
"@instructure/ui-form-field": "8.10.3-snapshot.25+ed32a6c3b",
|
|
39
|
+
"@instructure/ui-icons": "8.10.3-snapshot.25+ed32a6c3b",
|
|
40
|
+
"@instructure/ui-options": "8.10.3-snapshot.25+ed32a6c3b",
|
|
41
|
+
"@instructure/ui-popover": "8.10.3-snapshot.25+ed32a6c3b",
|
|
42
|
+
"@instructure/ui-position": "8.10.3-snapshot.25+ed32a6c3b",
|
|
43
|
+
"@instructure/ui-prop-types": "8.10.3-snapshot.25+ed32a6c3b",
|
|
44
|
+
"@instructure/ui-react-utils": "8.10.3-snapshot.25+ed32a6c3b",
|
|
45
|
+
"@instructure/ui-selectable": "8.10.3-snapshot.25+ed32a6c3b",
|
|
46
|
+
"@instructure/ui-testable": "8.10.3-snapshot.25+ed32a6c3b",
|
|
47
|
+
"@instructure/ui-text-input": "8.10.3-snapshot.25+ed32a6c3b",
|
|
48
|
+
"@instructure/ui-utils": "8.10.3-snapshot.25+ed32a6c3b",
|
|
49
|
+
"@instructure/ui-view": "8.10.3-snapshot.25+ed32a6c3b",
|
|
50
|
+
"@instructure/uid": "8.10.3-snapshot.25+ed32a6c3b",
|
|
51
51
|
"prop-types": "^15"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
59
|
"sideEffects": false,
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "ed32a6c3b14ddb7fbbb5b543d9871a296f06e4c0"
|
|
61
61
|
}
|
|
@@ -27,7 +27,10 @@ import PropTypes from 'prop-types'
|
|
|
27
27
|
import { Children as ChildrenPropTypes } from '@instructure/ui-prop-types'
|
|
28
28
|
import { Option } from '../Option'
|
|
29
29
|
|
|
30
|
-
import type {
|
|
30
|
+
import type {
|
|
31
|
+
OtherHTMLAttributes,
|
|
32
|
+
PropValidators
|
|
33
|
+
} from '@instructure/shared-types'
|
|
31
34
|
|
|
32
35
|
type SelectGroupOwnProps = {
|
|
33
36
|
renderLabel: React.ReactNode | ((...args: any[]) => any)
|
|
@@ -38,7 +41,8 @@ type PropKeys = keyof SelectGroupOwnProps
|
|
|
38
41
|
|
|
39
42
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
40
43
|
|
|
41
|
-
type SelectGroupProps = SelectGroupOwnProps
|
|
44
|
+
type SelectGroupProps = SelectGroupOwnProps &
|
|
45
|
+
OtherHTMLAttributes<SelectGroupOwnProps>
|
|
42
46
|
|
|
43
47
|
const propTypes: PropValidators<PropKeys> = {
|
|
44
48
|
/**
|
|
@@ -24,7 +24,10 @@
|
|
|
24
24
|
import React from 'react'
|
|
25
25
|
import PropTypes from 'prop-types'
|
|
26
26
|
|
|
27
|
-
import type {
|
|
27
|
+
import type {
|
|
28
|
+
OtherHTMLAttributes,
|
|
29
|
+
PropValidators
|
|
30
|
+
} from '@instructure/shared-types'
|
|
28
31
|
|
|
29
32
|
type SelectOptionOwnProps = {
|
|
30
33
|
id: string
|
|
@@ -40,7 +43,8 @@ type PropKeys = keyof SelectOptionOwnProps
|
|
|
40
43
|
|
|
41
44
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
42
45
|
|
|
43
|
-
type SelectOptionProps = SelectOptionOwnProps
|
|
46
|
+
type SelectOptionProps = SelectOptionOwnProps &
|
|
47
|
+
OtherHTMLAttributes<SelectOptionOwnProps>
|
|
44
48
|
|
|
45
49
|
const propTypes: PropValidators<PropKeys> = {
|
|
46
50
|
/**
|
package/src/Select/index.tsx
CHANGED
|
@@ -431,7 +431,6 @@ class Select extends Component<SelectProps> {
|
|
|
431
431
|
// a wrapping listitem will be created by Options
|
|
432
432
|
groupChildren.push(
|
|
433
433
|
<Options
|
|
434
|
-
// @ts-expect-error ts-migrate(2769) FIXME: No overload matches this call.
|
|
435
434
|
id={id}
|
|
436
435
|
as="ul"
|
|
437
436
|
role="group"
|
package/src/Select/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 { Children as ChildrenPropTypes } from '@instructure/ui-prop-types'
|
|
@@ -32,7 +32,11 @@ import { PositionPropTypes } from '@instructure/ui-position'
|
|
|
32
32
|
import { Group } from './Group'
|
|
33
33
|
import { Option } from './Option'
|
|
34
34
|
|
|
35
|
-
import type {
|
|
35
|
+
import type {
|
|
36
|
+
OtherHTMLAttributes,
|
|
37
|
+
PropValidators,
|
|
38
|
+
SelectTheme
|
|
39
|
+
} from '@instructure/shared-types'
|
|
36
40
|
import type { FormMessage } from '@instructure/ui-form-field'
|
|
37
41
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
38
42
|
import type {
|
|
@@ -79,7 +83,9 @@ type PropKeys = keyof SelectOwnProps
|
|
|
79
83
|
|
|
80
84
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
81
85
|
|
|
82
|
-
type SelectProps = SelectOwnProps &
|
|
86
|
+
type SelectProps = SelectOwnProps &
|
|
87
|
+
WithStyleProps<SelectTheme, SelectStyle> &
|
|
88
|
+
OtherHTMLAttributes<SelectOwnProps, InputHTMLAttributes<SelectOwnProps>>
|
|
83
89
|
|
|
84
90
|
type SelectStyle = ComponentStyle<'select' | 'icon' | 'assistiveText'>
|
|
85
91
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PropValidators } from '@instructure/shared-types';
|
|
2
|
+
import type { OtherHTMLAttributes, PropValidators } from '@instructure/shared-types';
|
|
3
3
|
declare type SelectGroupOwnProps = {
|
|
4
4
|
renderLabel: React.ReactNode | ((...args: any[]) => any);
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
};
|
|
7
7
|
declare type PropKeys = keyof SelectGroupOwnProps;
|
|
8
8
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
9
|
-
declare type SelectGroupProps = SelectGroupOwnProps
|
|
9
|
+
declare type SelectGroupProps = SelectGroupOwnProps & OtherHTMLAttributes<SelectGroupOwnProps>;
|
|
10
10
|
declare const propTypes: PropValidators<PropKeys>;
|
|
11
11
|
declare const allowedProps: AllowedPropKeys;
|
|
12
12
|
export type { SelectGroupProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Select/Group/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Select/Group/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAElC,aAAK,mBAAmB,GAAG;IACzB,WAAW,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,mBAAmB,CAAA;AAEzC,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,gBAAgB,GAAG,mBAAmB,GACzC,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;AAE1C,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CASvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAA6C,CAAA;AAEjE,YAAY,EAAE,gBAAgB,EAAE,CAAA;AAChC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PropValidators } from '@instructure/shared-types';
|
|
2
|
+
import type { OtherHTMLAttributes, PropValidators } from '@instructure/shared-types';
|
|
3
3
|
declare type SelectOptionOwnProps = {
|
|
4
4
|
id: string;
|
|
5
5
|
isHighlighted?: boolean;
|
|
@@ -11,7 +11,7 @@ declare type SelectOptionOwnProps = {
|
|
|
11
11
|
};
|
|
12
12
|
declare type PropKeys = keyof SelectOptionOwnProps;
|
|
13
13
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
14
|
-
declare type SelectOptionProps = SelectOptionOwnProps
|
|
14
|
+
declare type SelectOptionProps = SelectOptionOwnProps & OtherHTMLAttributes<SelectOptionOwnProps>;
|
|
15
15
|
declare const propTypes: PropValidators<PropKeys>;
|
|
16
16
|
declare const allowedProps: AllowedPropKeys;
|
|
17
17
|
export type { SelectOptionProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Select/Option/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Select/Option/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAElC,aAAK,oBAAoB,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IAC/D,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IAC9D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,oBAAoB,CAAA;AAE1C,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,iBAAiB,GAAG,oBAAoB,GAC3C,mBAAmB,CAAC,oBAAoB,CAAC,CAAA;AAE3C,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CA6BvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAQnB,CAAA;AAED,YAAY,EAAE,iBAAiB,EAAE,CAAA;AACjC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
package/types/Select/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ declare class Select extends Component<SelectProps> {
|
|
|
20
20
|
size?: "small" | "medium" | "large" | undefined;
|
|
21
21
|
assistiveText?: string | undefined;
|
|
22
22
|
placeholder?: string | undefined;
|
|
23
|
-
interaction?: "
|
|
23
|
+
interaction?: "disabled" | "enabled" | "readonly" | undefined;
|
|
24
24
|
isRequired?: boolean | undefined;
|
|
25
25
|
isInline?: boolean | undefined;
|
|
26
26
|
width?: string | undefined;
|
|
@@ -53,7 +53,7 @@ declare class Select extends Component<SelectProps> {
|
|
|
53
53
|
size?: "small" | "medium" | "large" | undefined;
|
|
54
54
|
assistiveText?: string | undefined;
|
|
55
55
|
placeholder?: string | undefined;
|
|
56
|
-
interaction?: "
|
|
56
|
+
interaction?: "disabled" | "enabled" | "readonly" | undefined;
|
|
57
57
|
isRequired?: boolean | undefined;
|
|
58
58
|
isInline?: boolean | undefined;
|
|
59
59
|
width?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Select/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAY,SAAS,EAAE,MAAM,OAAO,CAAA;AAyB3C,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAKrD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,KAAK,EAAE,WAAW,EAA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KAAA,EAAE,IAAI,KAAA;IAyCvB,UAAU,CAAC,IAAI,KAAA;IA6Df,UAAU;IAcV,WAAW,CAAC,IAAI,KAAA;IAyEhB,MAAM;CAwDP;AAED,eAAe,MAAM,CAAA;AACrB,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
package/types/Select/props.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PropValidators, SelectTheme } from '@instructure/shared-types';
|
|
1
|
+
import React, { InputHTMLAttributes } from 'react';
|
|
2
|
+
import type { OtherHTMLAttributes, PropValidators, SelectTheme } from '@instructure/shared-types';
|
|
3
3
|
import type { FormMessage } from '@instructure/ui-form-field';
|
|
4
4
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
5
5
|
import type { PlacementPropValues, PositionConstraint, PositionMountNode } from '@instructure/ui-position';
|
|
@@ -38,7 +38,7 @@ declare type SelectOwnProps = {
|
|
|
38
38
|
};
|
|
39
39
|
declare type PropKeys = keyof SelectOwnProps;
|
|
40
40
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
41
|
-
declare type SelectProps = SelectOwnProps & WithStyleProps<SelectTheme, SelectStyle
|
|
41
|
+
declare type SelectProps = SelectOwnProps & WithStyleProps<SelectTheme, SelectStyle> & OtherHTMLAttributes<SelectOwnProps, InputHTMLAttributes<SelectOwnProps>>;
|
|
42
42
|
declare type SelectStyle = ComponentStyle<'select' | 'icon' | 'assistiveText'>;
|
|
43
43
|
declare const propTypes: PropValidators<PropKeys>;
|
|
44
44
|
declare const allowedProps: AllowedPropKeys;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Select/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Select/props.ts"],"names":[],"mappings":"AAwBA,OAAO,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