@instructure/shared-types 8.11.2-snapshot.71 → 8.12.1-snapshot.7

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 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.12.0](https://github.com/instructure/instructure-ui/compare/v8.11.1...v8.12.0) (2021-11-17)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **emotion:** fix EmotionThemeProvider falling back to using Canvas theme ([cc5ce19](https://github.com/instructure/instructure-ui/commit/cc5ce19b934d6d6f54117e75432a6fb7e65c80ea))
11
+
12
+ ### Features
13
+
14
+ - **shared-types,ui-checkbox,ui-radio-input:** make checkbox and radio borders consistent ([a6aaef2](https://github.com/instructure/instructure-ui/commit/a6aaef20508325ae9e5bfbbb29317174edebce9c))
15
+
6
16
  ## [8.11.1](https://github.com/instructure/instructure-ui/compare/v8.11.0...v8.11.1) (2021-10-19)
7
17
 
8
18
  **Note:** Version bump only for package @instructure/shared-types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/shared-types",
3
- "version": "8.11.2-snapshot.71+dffbe6ba3",
3
+ "version": "8.12.1-snapshot.7+1e7ac8219",
4
4
  "description": "Shared TypeScript typings for Instructure UI packages.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "homepage": "https://instructure.design/#shared-types",
@@ -26,5 +26,5 @@
26
26
  "prop-types": "^15",
27
27
  "react": "^17.0.0"
28
28
  },
29
- "gitHead": "dffbe6ba3be5989382d5edfab5b89886a19408f1"
29
+ "gitHead": "1e7ac821932a91fe9ef761c96f747c7ea1f3925a"
30
30
  }
@@ -32,3 +32,10 @@ export type UIElement =
32
32
  | React.Component
33
33
  | (() => Node | Window | null | undefined)
34
34
  | null
35
+
36
+ /**
37
+ * A DOM element or an array of DOM elements or a method that returns a DOM
38
+ * element, that represents the part of the DOM that is not hidden from the
39
+ * screen reader
40
+ */
41
+ export type LiveRegion = (() => Element) | Element[] | Element
@@ -1,4 +1,10 @@
1
1
  import React from 'react';
2
2
  /** Element func parameter, mainly for the `findDOMNode` util */
3
3
  export declare type UIElement = Node | Window | React.ReactElement | React.Component | (() => Node | Window | null | undefined) | null;
4
+ /**
5
+ * A DOM element or an array of DOM elements or a method that returns a DOM
6
+ * element, that represents the part of the DOM that is not hidden from the
7
+ * screen reader
8
+ */
9
+ export declare type LiveRegion = (() => Element) | Element[] | Element;
4
10
  //# sourceMappingURL=CommonTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommonTypes.d.ts","sourceRoot":"","sources":["../src/CommonTypes.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,gEAAgE;AAChE,oBAAY,SAAS,GACjB,IAAI,GACJ,MAAM,GACN,KAAK,CAAC,YAAY,GAClB,KAAK,CAAC,SAAS,GACf,CAAC,MAAM,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,GACxC,IAAI,CAAA"}
1
+ {"version":3,"file":"CommonTypes.d.ts","sourceRoot":"","sources":["../src/CommonTypes.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,gEAAgE;AAChE,oBAAY,SAAS,GACjB,IAAI,GACJ,MAAM,GACN,KAAK,CAAC,YAAY,GAClB,KAAK,CAAC,SAAS,GACf,CAAC,MAAM,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,GACxC,IAAI,CAAA;AAER;;;;GAIG;AACH,oBAAY,UAAU,GAAG,CAAC,MAAM,OAAO,CAAC,GAAG,OAAO,EAAE,GAAG,OAAO,CAAA"}