@instructure/ui-view 8.12.1-snapshot.46 → 8.12.1-snapshot.52
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-view",
|
|
3
|
-
"version": "8.12.1-snapshot.
|
|
3
|
+
"version": "8.12.1-snapshot.52+07b0037b0",
|
|
4
4
|
"description": "A component for basic styles including spacing, sizing, borders, display, positioning, and focus states.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.12.1-snapshot.
|
|
29
|
-
"@instructure/emotion": "8.12.1-snapshot.
|
|
30
|
-
"@instructure/shared-types": "8.12.1-snapshot.
|
|
31
|
-
"@instructure/ui-color-utils": "8.12.1-snapshot.
|
|
32
|
-
"@instructure/ui-dom-utils": "8.12.1-snapshot.
|
|
33
|
-
"@instructure/ui-i18n": "8.12.1-snapshot.
|
|
34
|
-
"@instructure/ui-position": "8.12.1-snapshot.
|
|
35
|
-
"@instructure/ui-prop-types": "8.12.1-snapshot.
|
|
36
|
-
"@instructure/ui-react-utils": "8.12.1-snapshot.
|
|
28
|
+
"@instructure/console": "8.12.1-snapshot.52+07b0037b0",
|
|
29
|
+
"@instructure/emotion": "8.12.1-snapshot.52+07b0037b0",
|
|
30
|
+
"@instructure/shared-types": "8.12.1-snapshot.52+07b0037b0",
|
|
31
|
+
"@instructure/ui-color-utils": "8.12.1-snapshot.52+07b0037b0",
|
|
32
|
+
"@instructure/ui-dom-utils": "8.12.1-snapshot.52+07b0037b0",
|
|
33
|
+
"@instructure/ui-i18n": "8.12.1-snapshot.52+07b0037b0",
|
|
34
|
+
"@instructure/ui-position": "8.12.1-snapshot.52+07b0037b0",
|
|
35
|
+
"@instructure/ui-prop-types": "8.12.1-snapshot.52+07b0037b0",
|
|
36
|
+
"@instructure/ui-react-utils": "8.12.1-snapshot.52+07b0037b0",
|
|
37
37
|
"prop-types": "^15"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@instructure/ui-babel-preset": "8.12.1-snapshot.
|
|
41
|
-
"@instructure/ui-test-utils": "8.12.1-snapshot.
|
|
42
|
-
"@instructure/ui-themes": "8.12.1-snapshot.
|
|
40
|
+
"@instructure/ui-babel-preset": "8.12.1-snapshot.52+07b0037b0",
|
|
41
|
+
"@instructure/ui-test-utils": "8.12.1-snapshot.52+07b0037b0",
|
|
42
|
+
"@instructure/ui-themes": "8.12.1-snapshot.52+07b0037b0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=16.8 <=17"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"sideEffects": false,
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "07b0037b0ddaf6d4f19cca140fc82fc9a2f1efc9"
|
|
52
52
|
}
|
package/src/ContextView/props.ts
CHANGED
|
@@ -72,12 +72,8 @@ type ContextViewProps = ContextViewOwnProps &
|
|
|
72
72
|
OtherHTMLAttributes<ContextViewOwnProps>
|
|
73
73
|
|
|
74
74
|
type ContextViewStyle = ComponentStyle<
|
|
75
|
-
| '
|
|
76
|
-
|
|
77
|
-
| 'contextView__arrow'
|
|
78
|
-
| 'arrowSize'
|
|
79
|
-
| 'arrowBorderWidth'
|
|
80
|
-
>
|
|
75
|
+
'contextView' | 'contextView__content' | 'contextView__arrow'
|
|
76
|
+
> & { arrowSize: string | 0; arrowBorderWidth: string | 0 }
|
|
81
77
|
|
|
82
78
|
const propTypes: PropValidators<PropKeys> = {
|
|
83
79
|
/**
|
|
@@ -24,7 +24,10 @@ declare type ContextViewOwnProps = {
|
|
|
24
24
|
declare type PropKeys = keyof ContextViewOwnProps;
|
|
25
25
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
26
26
|
declare type ContextViewProps = ContextViewOwnProps & WithStyleProps<ContextViewTheme, ContextViewStyle> & OtherHTMLAttributes<ContextViewOwnProps>;
|
|
27
|
-
declare type ContextViewStyle = ComponentStyle<'contextView' | 'contextView__content' | 'contextView__arrow'
|
|
27
|
+
declare type ContextViewStyle = ComponentStyle<'contextView' | 'contextView__content' | 'contextView__arrow'> & {
|
|
28
|
+
arrowSize: string | 0;
|
|
29
|
+
arrowBorderWidth: string | 0;
|
|
30
|
+
};
|
|
28
31
|
declare const propTypes: PropValidators<PropKeys>;
|
|
29
32
|
declare const allowedProps: AllowedPropKeys;
|
|
30
33
|
export type { ContextViewProps, ContextViewStyle };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/ContextView/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EACV,MAAM,EACN,OAAO,EACP,QAAQ,EACR,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAE7B,aAAK,mBAAmB,GAAG;IACzB,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAA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