@instructure/ui-pill 8.10.3-snapshot.21 → 8.10.3-snapshot.22
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 +17 -17
- package/src/Pill/props.ts +5 -2
- package/types/Pill/props.d.ts +2 -2
- package/types/Pill/props.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-pill",
|
|
3
|
-
"version": "8.10.3-snapshot.
|
|
3
|
+
"version": "8.10.3-snapshot.22+f96f8c48e",
|
|
4
4
|
"description": "A UI component to communicate concise status.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,24 +25,24 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.10.3-snapshot.
|
|
29
|
-
"@instructure/emotion": "8.10.3-snapshot.
|
|
30
|
-
"@instructure/shared-types": "8.10.3-snapshot.
|
|
31
|
-
"@instructure/ui-react-utils": "8.10.3-snapshot.
|
|
32
|
-
"@instructure/ui-testable": "8.10.3-snapshot.
|
|
33
|
-
"@instructure/ui-tooltip": "8.10.3-snapshot.
|
|
34
|
-
"@instructure/ui-truncate-text": "8.10.3-snapshot.
|
|
35
|
-
"@instructure/ui-utils": "8.10.3-snapshot.
|
|
36
|
-
"@instructure/ui-view": "8.10.3-snapshot.
|
|
28
|
+
"@instructure/console": "8.10.3-snapshot.22+f96f8c48e",
|
|
29
|
+
"@instructure/emotion": "8.10.3-snapshot.22+f96f8c48e",
|
|
30
|
+
"@instructure/shared-types": "8.10.3-snapshot.22+f96f8c48e",
|
|
31
|
+
"@instructure/ui-react-utils": "8.10.3-snapshot.22+f96f8c48e",
|
|
32
|
+
"@instructure/ui-testable": "8.10.3-snapshot.22+f96f8c48e",
|
|
33
|
+
"@instructure/ui-tooltip": "8.10.3-snapshot.22+f96f8c48e",
|
|
34
|
+
"@instructure/ui-truncate-text": "8.10.3-snapshot.22+f96f8c48e",
|
|
35
|
+
"@instructure/ui-utils": "8.10.3-snapshot.22+f96f8c48e",
|
|
36
|
+
"@instructure/ui-view": "8.10.3-snapshot.22+f96f8c48e",
|
|
37
37
|
"prop-types": "^15"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@instructure/ui-babel-preset": "8.10.3-snapshot.
|
|
41
|
-
"@instructure/ui-color-utils": "8.10.3-snapshot.
|
|
42
|
-
"@instructure/ui-test-locator": "8.10.3-snapshot.
|
|
43
|
-
"@instructure/ui-test-queries": "8.10.3-snapshot.
|
|
44
|
-
"@instructure/ui-test-utils": "8.10.3-snapshot.
|
|
45
|
-
"@instructure/ui-themes": "8.10.3-snapshot.
|
|
40
|
+
"@instructure/ui-babel-preset": "8.10.3-snapshot.22+f96f8c48e",
|
|
41
|
+
"@instructure/ui-color-utils": "8.10.3-snapshot.22+f96f8c48e",
|
|
42
|
+
"@instructure/ui-test-locator": "8.10.3-snapshot.22+f96f8c48e",
|
|
43
|
+
"@instructure/ui-test-queries": "8.10.3-snapshot.22+f96f8c48e",
|
|
44
|
+
"@instructure/ui-test-utils": "8.10.3-snapshot.22+f96f8c48e",
|
|
45
|
+
"@instructure/ui-themes": "8.10.3-snapshot.22+f96f8c48e"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": ">=16.8 <=17"
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
53
|
"sideEffects": false,
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "f96f8c48efab7806609098e1f00a6953b2884601"
|
|
55
55
|
}
|
package/src/Pill/props.ts
CHANGED
|
@@ -34,7 +34,8 @@ import type {
|
|
|
34
34
|
import type {
|
|
35
35
|
PropValidators,
|
|
36
36
|
AsElementType,
|
|
37
|
-
PillTheme
|
|
37
|
+
PillTheme,
|
|
38
|
+
OtherHTMLAttributes
|
|
38
39
|
} from '@instructure/shared-types'
|
|
39
40
|
|
|
40
41
|
type PillOwnProps = {
|
|
@@ -56,7 +57,9 @@ type PropKeys = keyof PillOwnProps
|
|
|
56
57
|
|
|
57
58
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
58
59
|
|
|
59
|
-
type PillProps = PillOwnProps &
|
|
60
|
+
type PillProps = PillOwnProps &
|
|
61
|
+
WithStyleProps<PillTheme, PillStyle> &
|
|
62
|
+
OtherHTMLAttributes<PillOwnProps>
|
|
60
63
|
|
|
61
64
|
type PillStyle = ComponentStyle<'pill' | 'text' | 'maxWidth'>
|
|
62
65
|
|
package/types/Pill/props.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
3
|
-
import type { PropValidators, AsElementType, PillTheme } from '@instructure/shared-types';
|
|
3
|
+
import type { PropValidators, AsElementType, PillTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
4
4
|
declare type PillOwnProps = {
|
|
5
5
|
as?: AsElementType;
|
|
6
6
|
color?: 'primary' | 'success' | 'danger' | 'info' | 'warning' | 'alert';
|
|
@@ -18,7 +18,7 @@ declare type PillOwnProps = {
|
|
|
18
18
|
};
|
|
19
19
|
declare type PropKeys = keyof PillOwnProps;
|
|
20
20
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
21
|
-
declare type PillProps = PillOwnProps & WithStyleProps<PillTheme, PillStyle>;
|
|
21
|
+
declare type PillProps = PillOwnProps & WithStyleProps<PillTheme, PillStyle> & OtherHTMLAttributes<PillOwnProps>;
|
|
22
22
|
declare type PillStyle = ComponentStyle<'pill' | 'text' | 'maxWidth'>;
|
|
23
23
|
declare const propTypes: PropValidators<PropKeys>;
|
|
24
24
|
declare const allowedProps: AllowedPropKeys;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Pill/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,SAAS,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Pill/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,SAAS,EACT,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAElC,aAAK,YAAY,GAAG;IAClB,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAA;IACvE;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,CAAA;AACD,aAAK,QAAQ,GAAG,MAAM,YAAY,CAAA;AAElC,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,SAAS,GAAG,YAAY,GAC3B,cAAc,CAAC,SAAS,EAAE,SAAS,CAAC,GACpC,mBAAmB,CAAC,YAAY,CAAC,CAAA;AAEnC,aAAK,SAAS,GAAG,cAAc,CAAC,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC,CAAA;AAE7D,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAavC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAMnB,CAAA;AAED,aAAK,SAAS,GAAG;IACf,SAAS,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|