@instructure/ui-tag 8.10.3-snapshot.13 → 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 +15 -15
- package/src/Tag/props.ts +8 -2
- package/types/Tag/props.d.ts +2 -2
- package/types/Tag/props.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-tag",
|
|
3
|
-
"version": "8.10.3-snapshot.
|
|
3
|
+
"version": "8.10.3-snapshot.22+f96f8c48e",
|
|
4
4
|
"description": "A tag component",
|
|
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/emotion": "8.10.3-snapshot.
|
|
30
|
-
"@instructure/shared-types": "8.10.3-snapshot.
|
|
31
|
-
"@instructure/ui-color-utils": "8.10.3-snapshot.
|
|
32
|
-
"@instructure/ui-dom-utils": "8.10.3-snapshot.
|
|
33
|
-
"@instructure/ui-icons": "8.10.3-snapshot.
|
|
34
|
-
"@instructure/ui-react-utils": "8.10.3-snapshot.
|
|
35
|
-
"@instructure/ui-testable": "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-color-utils": "8.10.3-snapshot.22+f96f8c48e",
|
|
32
|
+
"@instructure/ui-dom-utils": "8.10.3-snapshot.22+f96f8c48e",
|
|
33
|
+
"@instructure/ui-icons": "8.10.3-snapshot.22+f96f8c48e",
|
|
34
|
+
"@instructure/ui-react-utils": "8.10.3-snapshot.22+f96f8c48e",
|
|
35
|
+
"@instructure/ui-testable": "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-test-locator": "8.10.3-snapshot.
|
|
42
|
-
"@instructure/ui-test-utils": "8.10.3-snapshot.
|
|
43
|
-
"@instructure/ui-themes": "8.10.3-snapshot.
|
|
40
|
+
"@instructure/ui-babel-preset": "8.10.3-snapshot.22+f96f8c48e",
|
|
41
|
+
"@instructure/ui-test-locator": "8.10.3-snapshot.22+f96f8c48e",
|
|
42
|
+
"@instructure/ui-test-utils": "8.10.3-snapshot.22+f96f8c48e",
|
|
43
|
+
"@instructure/ui-themes": "8.10.3-snapshot.22+f96f8c48e"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": ">=16.8 <=17"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
51
|
"sideEffects": false,
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "f96f8c48efab7806609098e1f00a6953b2884601"
|
|
53
53
|
}
|
package/src/Tag/props.ts
CHANGED
|
@@ -30,7 +30,11 @@ import type {
|
|
|
30
30
|
WithStyleProps,
|
|
31
31
|
ComponentStyle
|
|
32
32
|
} from '@instructure/emotion'
|
|
33
|
-
import type {
|
|
33
|
+
import type {
|
|
34
|
+
OtherHTMLAttributes,
|
|
35
|
+
PropValidators,
|
|
36
|
+
TagTheme
|
|
37
|
+
} from '@instructure/shared-types'
|
|
34
38
|
|
|
35
39
|
type TagOwnProps = {
|
|
36
40
|
className?: string
|
|
@@ -50,7 +54,9 @@ type PropKeys = keyof TagOwnProps
|
|
|
50
54
|
|
|
51
55
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
52
56
|
|
|
53
|
-
type TagProps = TagOwnProps &
|
|
57
|
+
type TagProps = TagOwnProps &
|
|
58
|
+
WithStyleProps<TagTheme, TagStyle> &
|
|
59
|
+
OtherHTMLAttributes<TagOwnProps>
|
|
54
60
|
|
|
55
61
|
type TagStyle = ComponentStyle<'tag' | 'text' | 'icon'>
|
|
56
62
|
|
package/types/Tag/props.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
3
|
-
import type { PropValidators, TagTheme } from '@instructure/shared-types';
|
|
3
|
+
import type { OtherHTMLAttributes, PropValidators, TagTheme } from '@instructure/shared-types';
|
|
4
4
|
declare type TagOwnProps = {
|
|
5
5
|
className?: string;
|
|
6
6
|
text: string | React.ReactNode;
|
|
@@ -16,7 +16,7 @@ declare type TagOwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
declare type PropKeys = keyof TagOwnProps;
|
|
18
18
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
19
|
-
declare type TagProps = TagOwnProps & WithStyleProps<TagTheme, TagStyle>;
|
|
19
|
+
declare type TagProps = TagOwnProps & WithStyleProps<TagTheme, TagStyle> & OtherHTMLAttributes<TagOwnProps>;
|
|
20
20
|
declare type TagStyle = ComponentStyle<'tag' | 'text' | 'icon'>;
|
|
21
21
|
declare const propTypes: PropValidators<PropKeys>;
|
|
22
22
|
declare const allowedProps: AllowedPropKeys;
|
package/types/Tag/props.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Tag/props.ts"],"names":[],"mappings":";AA2BA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,s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