@instructure/ui-options 8.10.3-snapshot.4 → 8.11.1
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/CHANGELOG.md +10 -0
- package/es/Options/Item/styles.js +5 -5
- package/lib/Options/Item/styles.js +5 -5
- package/package.json +15 -16
- package/src/Options/Item/index.tsx +1 -1
- package/src/Options/Item/props.ts +4 -2
- package/src/Options/Item/styles.ts +5 -5
- package/src/Options/Separator/props.ts +5 -2
- package/src/Options/props.ts +5 -2
- package/types/Options/Item/index.d.ts +2 -2
- package/types/Options/Item/props.d.ts +2 -2
- package/types/Options/Item/props.d.ts.map +1 -1
- package/types/Options/Separator/props.d.ts +3 -2
- package/types/Options/Separator/props.d.ts.map +1 -1
- package/types/Options/props.d.ts +2 -2
- package/types/Options/props.d.ts.map +1 -1
- package/LICENSE.md +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [8.11.1](https://github.com/instructure/instructure-ui/compare/v8.11.0...v8.11.1) (2021-10-19)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **ui-options,ui-select,ui-simple-select:** fix icon positioning ([8536a1c](https://github.com/instructure/instructure-ui/commit/8536a1c9badcd8c1d2ce55dfb462d1899e3ca500))
|
|
11
|
+
|
|
12
|
+
# [8.11.0](https://github.com/instructure/instructure-ui/compare/v8.10.2...v8.11.0) (2021-10-15)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @instructure/ui-options
|
|
15
|
+
|
|
6
16
|
## [8.10.2](https://github.com/instructure/instructure-ui/compare/v8.10.1...v8.10.2) (2021-10-01)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @instructure/ui-options
|
|
@@ -80,7 +80,7 @@ const generateStyle = (componentTheme, props) => {
|
|
|
80
80
|
paddingInlineStart: componentTheme.nestedPadding
|
|
81
81
|
},
|
|
82
82
|
'[class$=-optionItem__content--before]': {
|
|
83
|
-
|
|
83
|
+
insetInlineStart: componentTheme.nestedPadding
|
|
84
84
|
}
|
|
85
85
|
})
|
|
86
86
|
}
|
|
@@ -116,13 +116,13 @@ const generateStyle = (componentTheme, props) => {
|
|
|
116
116
|
},
|
|
117
117
|
contentBefore: {
|
|
118
118
|
label: 'optionItem__content--before',
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
insetInlineEnd: 'auto',
|
|
120
|
+
insetInlineStart: componentTheme.iconPadding
|
|
121
121
|
},
|
|
122
122
|
contentAfter: {
|
|
123
123
|
label: 'optionItem__content--after',
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
insetInlineEnd: componentTheme.iconPadding,
|
|
125
|
+
insetInlineStart: 'auto'
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
128
|
};
|
|
@@ -88,7 +88,7 @@ const generateStyle = (componentTheme, props) => {
|
|
|
88
88
|
paddingInlineStart: componentTheme.nestedPadding
|
|
89
89
|
},
|
|
90
90
|
'[class$=-optionItem__content--before]': {
|
|
91
|
-
|
|
91
|
+
insetInlineStart: componentTheme.nestedPadding
|
|
92
92
|
}
|
|
93
93
|
})
|
|
94
94
|
}
|
|
@@ -124,13 +124,13 @@ const generateStyle = (componentTheme, props) => {
|
|
|
124
124
|
},
|
|
125
125
|
contentBefore: {
|
|
126
126
|
label: 'optionItem__content--before',
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
insetInlineEnd: 'auto',
|
|
128
|
+
insetInlineStart: componentTheme.iconPadding
|
|
129
129
|
},
|
|
130
130
|
contentAfter: {
|
|
131
131
|
label: 'optionItem__content--after',
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
insetInlineEnd: componentTheme.iconPadding,
|
|
133
|
+
insetInlineStart: 'auto'
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
136
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-options",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.11.1",
|
|
4
4
|
"description": "A view-only component for composing interactive lists and menus.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@instructure/ui-babel-preset": "8.
|
|
28
|
-
"@instructure/ui-color-utils": "8.
|
|
29
|
-
"@instructure/ui-test-locator": "8.
|
|
30
|
-
"@instructure/ui-test-utils": "8.
|
|
31
|
-
"@instructure/ui-themes": "8.
|
|
27
|
+
"@instructure/ui-babel-preset": "8.11.1",
|
|
28
|
+
"@instructure/ui-color-utils": "8.11.1",
|
|
29
|
+
"@instructure/ui-test-locator": "8.11.1",
|
|
30
|
+
"@instructure/ui-test-utils": "8.11.1",
|
|
31
|
+
"@instructure/ui-themes": "8.11.1"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.13.10",
|
|
35
|
-
"@instructure/emotion": "8.
|
|
36
|
-
"@instructure/shared-types": "8.
|
|
37
|
-
"@instructure/ui-icons": "8.
|
|
38
|
-
"@instructure/ui-prop-types": "8.
|
|
39
|
-
"@instructure/ui-react-utils": "8.
|
|
40
|
-
"@instructure/ui-testable": "8.
|
|
41
|
-
"@instructure/ui-view": "8.
|
|
42
|
-
"@instructure/uid": "8.
|
|
35
|
+
"@instructure/emotion": "8.11.1",
|
|
36
|
+
"@instructure/shared-types": "8.11.1",
|
|
37
|
+
"@instructure/ui-icons": "8.11.1",
|
|
38
|
+
"@instructure/ui-prop-types": "8.11.1",
|
|
39
|
+
"@instructure/ui-react-utils": "8.11.1",
|
|
40
|
+
"@instructure/ui-testable": "8.11.1",
|
|
41
|
+
"@instructure/ui-view": "8.11.1",
|
|
42
|
+
"@instructure/uid": "8.11.1",
|
|
43
43
|
"prop-types": "^15"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
@@ -48,6 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"sideEffects": false
|
|
52
|
-
"gitHead": "118e47643bbadaf5beac7f8ffb047b29eb0618d1"
|
|
51
|
+
"sideEffects": false
|
|
53
52
|
}
|
|
@@ -109,7 +109,7 @@ class Item extends Component<OptionsItemProps> {
|
|
|
109
109
|
<ElementType
|
|
110
110
|
role="none"
|
|
111
111
|
css={styles?.item}
|
|
112
|
-
// @ts-expect-error TODO fix produces an union that is too complex to represent
|
|
112
|
+
// @ts-expect-error TODO: fix produces an union that is too complex to represent
|
|
113
113
|
ref={(element: any) => {
|
|
114
114
|
this.ref = element
|
|
115
115
|
}}
|
|
@@ -28,7 +28,8 @@ import PropTypes from 'prop-types'
|
|
|
28
28
|
import type {
|
|
29
29
|
AsElementType,
|
|
30
30
|
PropValidators,
|
|
31
|
-
OptionsItemTheme
|
|
31
|
+
OptionsItemTheme,
|
|
32
|
+
OtherHTMLAttributes
|
|
32
33
|
} from '@instructure/shared-types'
|
|
33
34
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
34
35
|
|
|
@@ -46,7 +47,8 @@ type PropKeys = keyof OptionsItemOwnProps
|
|
|
46
47
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
47
48
|
|
|
48
49
|
type OptionsItemProps = OptionsItemOwnProps &
|
|
49
|
-
WithStyleProps<OptionsItemTheme, OptionsItemStyle>
|
|
50
|
+
WithStyleProps<OptionsItemTheme, OptionsItemStyle> &
|
|
51
|
+
OtherHTMLAttributes<OptionsItemOwnProps>
|
|
50
52
|
|
|
51
53
|
type OptionsItemStyle = ComponentStyle<
|
|
52
54
|
'item' | 'container' | 'content' | 'contentBefore' | 'contentAfter'
|
|
@@ -89,7 +89,7 @@ const generateStyle = (
|
|
|
89
89
|
paddingInlineStart: componentTheme.nestedPadding
|
|
90
90
|
},
|
|
91
91
|
'[class$=-optionItem__content--before]': {
|
|
92
|
-
|
|
92
|
+
insetInlineStart: componentTheme.nestedPadding
|
|
93
93
|
}
|
|
94
94
|
})
|
|
95
95
|
}
|
|
@@ -124,13 +124,13 @@ const generateStyle = (
|
|
|
124
124
|
},
|
|
125
125
|
contentBefore: {
|
|
126
126
|
label: 'optionItem__content--before',
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
insetInlineEnd: 'auto',
|
|
128
|
+
insetInlineStart: componentTheme.iconPadding
|
|
129
129
|
},
|
|
130
130
|
contentAfter: {
|
|
131
131
|
label: 'optionItem__content--after',
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
insetInlineEnd: componentTheme.iconPadding,
|
|
133
|
+
insetInlineStart: 'auto'
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
}
|
|
@@ -26,9 +26,11 @@ import PropTypes from 'prop-types'
|
|
|
26
26
|
import type {
|
|
27
27
|
AsElementType,
|
|
28
28
|
PropValidators,
|
|
29
|
-
OptionsSeparatorTheme
|
|
29
|
+
OptionsSeparatorTheme,
|
|
30
|
+
OtherHTMLAttributes
|
|
30
31
|
} from '@instructure/shared-types'
|
|
31
32
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
33
|
+
import { AllHTMLAttributes } from 'react'
|
|
32
34
|
|
|
33
35
|
type OptionsSeparatorOwnProps = {
|
|
34
36
|
as?: AsElementType
|
|
@@ -39,7 +41,8 @@ type PropKeys = keyof OptionsSeparatorOwnProps
|
|
|
39
41
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
40
42
|
|
|
41
43
|
type OptionsSeparatorProps = OptionsSeparatorOwnProps &
|
|
42
|
-
WithStyleProps<OptionsSeparatorTheme, OptionsSeparatorStyle>
|
|
44
|
+
WithStyleProps<OptionsSeparatorTheme, OptionsSeparatorStyle> &
|
|
45
|
+
OtherHTMLAttributes<OptionsSeparatorOwnProps, AllHTMLAttributes<any>>
|
|
43
46
|
|
|
44
47
|
type OptionsSeparatorStyle = ComponentStyle<'separator'>
|
|
45
48
|
|
package/src/Options/props.ts
CHANGED
|
@@ -29,7 +29,8 @@ import { Children as ChildrenPropTypes } from '@instructure/ui-prop-types'
|
|
|
29
29
|
import type {
|
|
30
30
|
AsElementType,
|
|
31
31
|
PropValidators,
|
|
32
|
-
OptionsTheme
|
|
32
|
+
OptionsTheme,
|
|
33
|
+
OtherHTMLAttributes
|
|
33
34
|
} from '@instructure/shared-types'
|
|
34
35
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
35
36
|
|
|
@@ -45,7 +46,9 @@ type PropKeys = keyof OptionsOwnProps
|
|
|
45
46
|
|
|
46
47
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
47
48
|
|
|
48
|
-
type OptionsProps = OptionsOwnProps &
|
|
49
|
+
type OptionsProps = OptionsOwnProps &
|
|
50
|
+
WithStyleProps<OptionsTheme, OptionsStyle> &
|
|
51
|
+
OtherHTMLAttributes<OptionsOwnProps>
|
|
49
52
|
|
|
50
53
|
type OptionsStyle = ComponentStyle<'options' | 'list' | 'label'>
|
|
51
54
|
|
|
@@ -12,7 +12,7 @@ declare class Item extends Component<OptionsItemProps> {
|
|
|
12
12
|
static readonly componentId = "Options.Item";
|
|
13
13
|
static allowedProps: readonly (keyof {
|
|
14
14
|
as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
|
|
15
|
-
variant?: "default" | "
|
|
15
|
+
variant?: "default" | "disabled" | "selected" | "highlighted" | undefined;
|
|
16
16
|
role?: string | undefined;
|
|
17
17
|
renderBeforeLabel?: import("react").ReactNode | ((...args: any[]) => any);
|
|
18
18
|
renderAfterLabel?: import("react").ReactNode | ((...args: any[]) => any);
|
|
@@ -20,7 +20,7 @@ declare class Item extends Component<OptionsItemProps> {
|
|
|
20
20
|
})[];
|
|
21
21
|
static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
|
|
22
22
|
as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
|
|
23
|
-
variant?: "default" | "
|
|
23
|
+
variant?: "default" | "disabled" | "selected" | "highlighted" | undefined;
|
|
24
24
|
role?: string | undefined;
|
|
25
25
|
renderBeforeLabel?: import("react").ReactNode | ((...args: any[]) => any);
|
|
26
26
|
renderAfterLabel?: import("react").ReactNode | ((...args: any[]) => any);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { AsElementType, PropValidators, OptionsItemTheme } from '@instructure/shared-types';
|
|
2
|
+
import type { AsElementType, PropValidators, OptionsItemTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
3
3
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
4
4
|
declare type OptionsItemOwnProps = {
|
|
5
5
|
as?: AsElementType;
|
|
@@ -11,7 +11,7 @@ declare type OptionsItemOwnProps = {
|
|
|
11
11
|
};
|
|
12
12
|
declare type PropKeys = keyof OptionsItemOwnProps;
|
|
13
13
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
14
|
-
declare type OptionsItemProps = OptionsItemOwnProps & WithStyleProps<OptionsItemTheme, OptionsItemStyle>;
|
|
14
|
+
declare type OptionsItemProps = OptionsItemOwnProps & WithStyleProps<OptionsItemTheme, OptionsItemStyle> & OtherHTMLAttributes<OptionsItemOwnProps>;
|
|
15
15
|
declare type OptionsItemStyle = ComponentStyle<'item' | 'container' | 'content' | 'contentBefore' | 'contentAfter'>;
|
|
16
16
|
declare const propTypes: PropValidators<PropKeys>;
|
|
17
17
|
declare const allowedProps: AllowedPropKeys;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Options/Item/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Options/Item/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1E,aAAK,mBAAmB,GAAG;IACzB,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,UAAU,GAAG,UAAU,CAAA;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,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,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,KAAK,CAAC,SAAS,CAAC,CAAA;CACnE,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,cAAc,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,GAClD,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;AAE1C,aAAK,gBAAgB,GAAG,cAAc,CACpC,MAAM,GAAG,WAAW,GAAG,SAAS,GAAG,eAAe,GAAG,cAAc,CACpE,CAAA;AAED,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAwBvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAOnB,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import type { AsElementType, PropValidators, OptionsSeparatorTheme } from '@instructure/shared-types';
|
|
1
|
+
import type { AsElementType, PropValidators, OptionsSeparatorTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
2
2
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
3
|
+
import { AllHTMLAttributes } from 'react';
|
|
3
4
|
declare type OptionsSeparatorOwnProps = {
|
|
4
5
|
as?: AsElementType;
|
|
5
6
|
};
|
|
6
7
|
declare type PropKeys = keyof OptionsSeparatorOwnProps;
|
|
7
8
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
8
|
-
declare type OptionsSeparatorProps = OptionsSeparatorOwnProps & WithStyleProps<OptionsSeparatorTheme, OptionsSeparatorStyle
|
|
9
|
+
declare type OptionsSeparatorProps = OptionsSeparatorOwnProps & WithStyleProps<OptionsSeparatorTheme, OptionsSeparatorStyle> & OtherHTMLAttributes<OptionsSeparatorOwnProps, AllHTMLAttributes<any>>;
|
|
9
10
|
declare type OptionsSeparatorStyle = ComponentStyle<'separator'>;
|
|
10
11
|
declare const propTypes: PropValidators<PropKeys>;
|
|
11
12
|
declare const allowedProps: AllowedPropKeys;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Options/Separator/props.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,qBAAqB,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Options/Separator/props.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEzC,aAAK,wBAAwB,GAAG;IAC9B,EAAE,CAAC,EAAE,aAAa,CAAA;CACnB,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,wBAAwB,CAAA;AAE9C,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,qBAAqB,GAAG,wBAAwB,GACnD,cAAc,CAAC,qBAAqB,EAAE,qBAAqB,CAAC,GAC5D,mBAAmB,CAAC,wBAAwB,EAAE,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAA;AAEvE,aAAK,qBAAqB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAA;AAExD,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAKvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAAwB,CAAA;AAE5C,YAAY,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,CAAA;AAC5D,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
package/types/Options/props.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { AsElementType, PropValidators, OptionsTheme } from '@instructure/shared-types';
|
|
2
|
+
import type { AsElementType, PropValidators, OptionsTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
3
3
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
4
4
|
declare type OptionsOwnProps = {
|
|
5
5
|
as?: AsElementType;
|
|
@@ -10,7 +10,7 @@ declare type OptionsOwnProps = {
|
|
|
10
10
|
};
|
|
11
11
|
declare type PropKeys = keyof OptionsOwnProps;
|
|
12
12
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
13
|
-
declare type OptionsProps = OptionsOwnProps & WithStyleProps<OptionsTheme, OptionsStyle>;
|
|
13
|
+
declare type OptionsProps = OptionsOwnProps & WithStyleProps<OptionsTheme, OptionsStyle> & OtherHTMLAttributes<OptionsOwnProps>;
|
|
14
14
|
declare type OptionsStyle = ComponentStyle<'options' | 'list' | 'label'>;
|
|
15
15
|
declare const propTypes: PropValidators<PropKeys>;
|
|
16
16
|
declare const allowedProps: AllowedPropKeys;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Options/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,YAAY,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Options/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,YAAY,EACZ,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1E,aAAK,eAAe,GAAG;IACrB,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IACzD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,eAAe,CAAA;AAErC,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,YAAY,GAAG,eAAe,GACjC,cAAc,CAAC,YAAY,EAAE,YAAY,CAAC,GAC1C,mBAAmB,CAAC,eAAe,CAAC,CAAA;AAEtC,aAAK,YAAY,GAAG,cAAc,CAAC,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;AAEhE,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAkBvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAMnB,CAAA;AAED,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
package/LICENSE.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: The MIT License (MIT)
|
|
3
|
-
category: Getting Started
|
|
4
|
-
order: 9
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# The MIT License (MIT)
|
|
8
|
-
|
|
9
|
-
Copyright (c) 2015 Instructure, Inc.
|
|
10
|
-
|
|
11
|
-
**Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
in the Software without restriction, including without limitation the rights
|
|
14
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
furnished to do so, subject to the following conditions.**
|
|
17
|
-
|
|
18
|
-
The above copyright notice and this permission notice shall be included in all
|
|
19
|
-
copies or substantial portions of the Software.
|
|
20
|
-
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
-
SOFTWARE.
|