@khanacademy/wonder-blocks-popover 4.0.0 → 5.0.0

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
@@ -1,5 +1,36 @@
1
1
  # @khanacademy/wonder-blocks-popover
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 56d961f1: - Migrate Wonder Blocks components off old id providers and onto new `Id` component
8
+
9
+ ### Patch Changes
10
+
11
+ - b6009b77: Deprecate the ID provider and unique ID utilities
12
+ - Updated dependencies [b6009b77]
13
+ - Updated dependencies [897686bc]
14
+ - Updated dependencies [56d961f1]
15
+ - @khanacademy/wonder-blocks-core@10.0.0
16
+ - @khanacademy/wonder-blocks-tooltip@4.0.0
17
+ - @khanacademy/wonder-blocks-modal@7.0.0
18
+ - @khanacademy/wonder-blocks-icon-button@6.0.2
19
+ - @khanacademy/wonder-blocks-typography@3.0.2
20
+
21
+ ## 4.0.1
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [f4abd572]
26
+ - Updated dependencies [0955be7e]
27
+ - Updated dependencies [0955be7e]
28
+ - @khanacademy/wonder-blocks-core@9.0.0
29
+ - @khanacademy/wonder-blocks-modal@6.0.1
30
+ - @khanacademy/wonder-blocks-icon-button@6.0.1
31
+ - @khanacademy/wonder-blocks-tooltip@3.0.1
32
+ - @khanacademy/wonder-blocks-typography@3.0.1
33
+
3
34
  ## 4.0.0
4
35
 
5
36
  ### Major Changes
package/dist/es/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import _extends from '@babel/runtime/helpers/extends';
2
2
  import * as React from 'react';
3
3
  import * as ReactDOM from 'react-dom';
4
- import { View, IDProvider, addStyle } from '@khanacademy/wonder-blocks-core';
4
+ import { View, Id, addStyle } from '@khanacademy/wonder-blocks-core';
5
5
  import { TooltipTail, TooltipPopper } from '@khanacademy/wonder-blocks-tooltip';
6
6
  import { maybeGetPortalMountedModalHostElement } from '@khanacademy/wonder-blocks-modal';
7
7
  import { StyleSheet } from 'aphrodite';
@@ -514,9 +514,8 @@ class Popover extends React.Component {
514
514
  close: this.handleClose,
515
515
  placement: placement
516
516
  }
517
- }, React.createElement(IDProvider, {
518
- id: id,
519
- scope: "popover"
517
+ }, React.createElement(Id, {
518
+ id: id
520
519
  }, uniqueId => React.createElement(React.Fragment, null, React.createElement(PopoverAnchor, {
521
520
  anchorRef: this.updateRef,
522
521
  id: `${uniqueId}-anchor`,
package/dist/index.js CHANGED
@@ -544,9 +544,8 @@ class Popover extends React__namespace.Component {
544
544
  close: this.handleClose,
545
545
  placement: placement
546
546
  }
547
- }, React__namespace.createElement(wonderBlocksCore.IDProvider, {
548
- id: id,
549
- scope: "popover"
547
+ }, React__namespace.createElement(wonderBlocksCore.Id, {
548
+ id: id
550
549
  }, uniqueId => React__namespace.createElement(React__namespace.Fragment, null, React__namespace.createElement(PopoverAnchor, {
551
550
  anchorRef: this.updateRef,
552
551
  id: `${uniqueId}-anchor`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-popover",
3
- "version": "4.0.0",
3
+ "version": "5.0.0",
4
4
  "design": "v1",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,12 +16,12 @@
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.18.6",
19
- "@khanacademy/wonder-blocks-core": "^8.0.0",
20
- "@khanacademy/wonder-blocks-icon-button": "^6.0.0",
21
- "@khanacademy/wonder-blocks-modal": "^6.0.0",
19
+ "@khanacademy/wonder-blocks-core": "^10.0.0",
20
+ "@khanacademy/wonder-blocks-icon-button": "^6.0.2",
21
+ "@khanacademy/wonder-blocks-modal": "^7.0.0",
22
22
  "@khanacademy/wonder-blocks-tokens": "^3.0.0",
23
- "@khanacademy/wonder-blocks-tooltip": "^3.0.0",
24
- "@khanacademy/wonder-blocks-typography": "^3.0.0"
23
+ "@khanacademy/wonder-blocks-tooltip": "^4.0.0",
24
+ "@khanacademy/wonder-blocks-typography": "^3.0.2"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@phosphor-icons/core": "^2.0.2",