@khanacademy/wonder-blocks-tooltip 4.1.0 → 4.1.2
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 +31 -0
- package/dist/es/index.js +13 -13
- package/dist/index.js +23 -19
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-tooltip
|
|
2
2
|
|
|
3
|
+
## 4.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fff5da0: Migrate to semanticColor tokens
|
|
8
|
+
- Updated dependencies [ed26d66]
|
|
9
|
+
- Updated dependencies [5655b9f]
|
|
10
|
+
- Updated dependencies [5655b9f]
|
|
11
|
+
- Updated dependencies [8f53293]
|
|
12
|
+
- Updated dependencies [6d37702]
|
|
13
|
+
- Updated dependencies [051f0f8]
|
|
14
|
+
- Updated dependencies [e1b78db]
|
|
15
|
+
- Updated dependencies [051f0f8]
|
|
16
|
+
- @khanacademy/wonder-blocks-core@12.2.0
|
|
17
|
+
- @khanacademy/wonder-blocks-tokens@5.0.0
|
|
18
|
+
- @khanacademy/wonder-blocks-modal@7.1.2
|
|
19
|
+
- @khanacademy/wonder-blocks-layout@3.1.2
|
|
20
|
+
- @khanacademy/wonder-blocks-typography@3.1.2
|
|
21
|
+
|
|
22
|
+
## 4.1.1
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- ee8d95a: Rollback rollup version from v4 to v2 to prevent an issue with CJS builds in unit tests
|
|
27
|
+
- Updated dependencies [ee8d95a]
|
|
28
|
+
- @khanacademy/wonder-blocks-core@12.1.1
|
|
29
|
+
- @khanacademy/wonder-blocks-layout@3.1.1
|
|
30
|
+
- @khanacademy/wonder-blocks-modal@7.1.1
|
|
31
|
+
- @khanacademy/wonder-blocks-tokens@4.2.1
|
|
32
|
+
- @khanacademy/wonder-blocks-typography@3.1.1
|
|
33
|
+
|
|
3
34
|
## 4.1.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
package/dist/es/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import * as ReactDOM from 'react-dom';
|
|
|
3
3
|
import { Text as Text$1, View, Id } from '@khanacademy/wonder-blocks-core';
|
|
4
4
|
import { maybeGetPortalMountedModalHostElement } from '@khanacademy/wonder-blocks-modal';
|
|
5
5
|
import { StyleSheet, css } from 'aphrodite';
|
|
6
|
-
import { spacing, color } from '@khanacademy/wonder-blocks-tokens';
|
|
6
|
+
import { spacing, color, semanticColor } from '@khanacademy/wonder-blocks-tokens';
|
|
7
7
|
import _extends from '@babel/runtime/helpers/extends';
|
|
8
8
|
import { Strut } from '@khanacademy/wonder-blocks-layout';
|
|
9
9
|
import { HeadingSmall, LabelMedium } from '@khanacademy/wonder-blocks-typography';
|
|
@@ -51,13 +51,13 @@ const TRACKER = new ActiveTracker();
|
|
|
51
51
|
class TooltipAnchor extends React.Component {
|
|
52
52
|
constructor(props) {
|
|
53
53
|
super(props);
|
|
54
|
-
this._weSetFocusivity =
|
|
55
|
-
this._anchorNode =
|
|
56
|
-
this._focused =
|
|
57
|
-
this._hovered =
|
|
58
|
-
this._stolenFromUs =
|
|
59
|
-
this._unsubscribeFromTracker =
|
|
60
|
-
this._timeoutID =
|
|
54
|
+
this._weSetFocusivity = void 0;
|
|
55
|
+
this._anchorNode = void 0;
|
|
56
|
+
this._focused = void 0;
|
|
57
|
+
this._hovered = void 0;
|
|
58
|
+
this._stolenFromUs = void 0;
|
|
59
|
+
this._unsubscribeFromTracker = void 0;
|
|
60
|
+
this._timeoutID = void 0;
|
|
61
61
|
this.activeStateStolen = () => {
|
|
62
62
|
this._stolenFromUs = this.state.active || !!this._timeoutID;
|
|
63
63
|
this._focused = false;
|
|
@@ -533,8 +533,8 @@ const styles$1 = StyleSheet.create({
|
|
|
533
533
|
content: {
|
|
534
534
|
maxWidth: 472,
|
|
535
535
|
borderRadius: spacing.xxxSmall_4,
|
|
536
|
-
border: `solid 1px ${
|
|
537
|
-
backgroundColor:
|
|
536
|
+
border: `solid 1px ${semanticColor.border.primary}`,
|
|
537
|
+
backgroundColor: semanticColor.surface.primary,
|
|
538
538
|
boxShadow: `0 ${spacing.xSmall_8}px ${spacing.xSmall_8}px 0 ${color.offBlack8}`,
|
|
539
539
|
justifyContent: "center"
|
|
540
540
|
}
|
|
@@ -585,12 +585,12 @@ const styles = StyleSheet.create({
|
|
|
585
585
|
}
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
var t=e=>null==e||"object"!=typeof e?e:Array.isArray(e)?e.map(t):Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{}),n=Object.freeze({Unknown:"Unknown",Internal:"Internal",InvalidInput:"InvalidInput",InvalidUse:"InvalidUse",NotFound:"NotFound",NotAllowed:"NotAllowed",Unauthorized:"Unauthorized",NotImplemented:"NotImplemented"});function r(t,e,n){return (e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(
|
|
588
|
+
var t=e=>null==e||"object"!=typeof e?e:Array.isArray(e)?e.map(t):Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{}),n=Object.freeze({Unknown:"Unknown",Internal:"Internal",InvalidInput:"InvalidInput",InvalidUse:"InvalidUse",NotFound:"NotFound",NotAllowed:"NotAllowed",Unauthorized:"Unauthorized",NotImplemented:"NotImplemented"});function r(t,e,n){return (e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return ("string"===e?String:Number)(t)}(t,"string");return "symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class s{constructor(t,e,n){r(this,"_name",void 0),r(this,"_message",void 0),r(this,"_stackFrames",void 0),this._name=t,this._message=e,this._stackFrames=[...n];}get message(){return this._message}get name(){return this._name}get messageWithName(){return "".concat(this.name,": ").concat(this.message)}get stack(){return [...this._stackFrames]}get standardizedStack(){return "".concat(this.messageWithName,"\n").concat(this._stackFrames.join("\n"))}static fromConsequenceAndCause(t,e){var n;if("production"!==process.env.NODE_ENV){if(!(t instanceof s))throw new Error("consequence must be an instance of ErrorInfo");if(!(e instanceof s))throw new Error("cause must be an instance of ErrorInfo");if(e===t)throw new Error("cause and consequence must be different")}for(var r=[],i=e.stack,a=null!==(n=null==t?void 0:t.stack)&&void 0!==n?n:[],o=i.length-1,c=a.length-1;o>=0&&c>=0&&i[o]===a[c];)r.unshift(i[o]),o--,c--;for(;o>=0;o--)r.unshift(i[o]);for(;c>=0;c--)r.unshift(a[c]);return new s(t.name,((t,e)=>{var n=t=>(null==t?void 0:t.trim())||"(empty message)",r=n(t);return null==e?r:"".concat(r,"\n\tcaused by\n\t\t").concat(n(e))})(t.message,e.messageWithName),r)}static normalize(t){var e,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if("production"!==process.env.NODE_ENV){if(!(t instanceof Error))throw new Error("Error must be an instance of Error");if(i<0)throw new Error("stripFrames must be >= 0");if(a<0)throw new Error("minimumFrameCount must be >= 0")}var o=null!==(e=t.message.toString().split("\n").find((t=>t.trim().length)))&&void 0!==e?e:"(empty message)",c=t.toString(),u=(null!==(n=t.stack)&&void 0!==n&&n.startsWith(c)&&t.stack!==c?t.stack.substring(c.length):null!==(r=t.stack)&&void 0!==r?r:"").split("\n").filter((t=>t.trim().length)),l=u.length>=i+a?i:0;return new s(t.name,o,u.slice(l))}static from(t){var e,n;if("production"!==process.env.NODE_ENV&&!(t instanceof Error))throw new Error("Error must be an instance of Error");var r=t.toString(),i=(null!==(e=t.stack)&&void 0!==e&&e.startsWith(r)&&t.stack!==r?t.stack.substring(r.length):null!==(n=t.stack)&&void 0!==n?n:"").split("\n").filter((t=>t.trim().length));return new s(t.name,t.message,i)}}class i extends Error{constructor(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.Unknown,{cause:a,prefix:o,name:c,metadata:u,stripStackFrames:l,minimumFrameCount:m,compositeStack:d}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Object.freeze({});if("production"!==process.env.NODE_ENV){if(a&&!(a instanceof Error))throw new Error("cause must be an instance of Error");if(null!=c&&/\s/g.test(c))throw new Error("name must not contain whitespace");if(/\s/g.test(i))throw new Error("kind must not contain whitespace");if(null!=o&&/\s/g.test(o))throw new Error("prefix must not contain whitespace");if(null!=l&&l<0)throw new Error("stripStackFrames must be >= 0");if(null!=m&&m<0)throw new Error("minimumFrameCount must be >= 0")}super(e),r(this,"kind",void 0),r(this,"originalMessage",void 0),r(this,"originalStack",void 0),r(this,"metadata",void 0),r(this,"cause",void 0),this.originalMessage=e,this.metadata=(e=>{if(null==e)return e;var n=t(e);return Object.freeze(n)})(u),this.name="".concat(null!=o?o:"").concat(i).concat(null!=c?c:"","Error"),this.kind=i,this.originalStack=this.stack,this.cause=a;var f=s.normalize(this,null!=l?l:0,null!=m?m:1);if(delete this.stack,this.stack=f.standardizedStack,null!=a){var h=s.from(a),v=s.fromConsequenceAndCause(f,h);this.message=v.message,!0===d&&(this.stack=v.standardizedStack);}}}Object.freeze({ConsequenceFirst:"consequence-first",CauseFirst:"cause-first"});class w extends i{constructor(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.InvalidInput,r=arguments.length>2?arguments[2]:void 0;super("Unhandled case for '".concat(t,"'"),e,r);}}
|
|
589
589
|
|
|
590
590
|
class RefTracker {
|
|
591
591
|
constructor() {
|
|
592
|
-
this._lastRef =
|
|
593
|
-
this._targetFn =
|
|
592
|
+
this._lastRef = void 0;
|
|
593
|
+
this._targetFn = void 0;
|
|
594
594
|
this.updateRef = ref => {
|
|
595
595
|
if (ref) {
|
|
596
596
|
const domNode = ReactDOM.findDOMNode(ref);
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,10 @@ var wonderBlocksLayout = require('@khanacademy/wonder-blocks-layout');
|
|
|
13
13
|
var wonderBlocksTypography = require('@khanacademy/wonder-blocks-typography');
|
|
14
14
|
var reactPopper = require('react-popper');
|
|
15
15
|
|
|
16
|
-
function
|
|
16
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
17
|
+
|
|
18
|
+
function _interopNamespace(e) {
|
|
19
|
+
if (e && e.__esModule) return e;
|
|
17
20
|
var n = Object.create(null);
|
|
18
21
|
if (e) {
|
|
19
22
|
Object.keys(e).forEach(function (k) {
|
|
@@ -26,12 +29,13 @@ function _interopNamespaceDefault(e) {
|
|
|
26
29
|
}
|
|
27
30
|
});
|
|
28
31
|
}
|
|
29
|
-
n
|
|
32
|
+
n["default"] = e;
|
|
30
33
|
return Object.freeze(n);
|
|
31
34
|
}
|
|
32
35
|
|
|
33
|
-
var React__namespace = /*#__PURE__*/
|
|
34
|
-
var ReactDOM__namespace = /*#__PURE__*/
|
|
36
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
37
|
+
var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
|
|
38
|
+
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
|
|
35
39
|
|
|
36
40
|
class ActiveTracker {
|
|
37
41
|
constructor() {
|
|
@@ -75,13 +79,13 @@ const TRACKER = new ActiveTracker();
|
|
|
75
79
|
class TooltipAnchor extends React__namespace.Component {
|
|
76
80
|
constructor(props) {
|
|
77
81
|
super(props);
|
|
78
|
-
this._weSetFocusivity =
|
|
79
|
-
this._anchorNode =
|
|
80
|
-
this._focused =
|
|
81
|
-
this._hovered =
|
|
82
|
-
this._stolenFromUs =
|
|
83
|
-
this._unsubscribeFromTracker =
|
|
84
|
-
this._timeoutID =
|
|
82
|
+
this._weSetFocusivity = void 0;
|
|
83
|
+
this._anchorNode = void 0;
|
|
84
|
+
this._focused = void 0;
|
|
85
|
+
this._hovered = void 0;
|
|
86
|
+
this._stolenFromUs = void 0;
|
|
87
|
+
this._unsubscribeFromTracker = void 0;
|
|
88
|
+
this._timeoutID = void 0;
|
|
85
89
|
this.activeStateStolen = () => {
|
|
86
90
|
this._stolenFromUs = this.state.active || !!this._timeoutID;
|
|
87
91
|
this._focused = false;
|
|
@@ -457,7 +461,7 @@ class TooltipTail extends React__namespace.Component {
|
|
|
457
461
|
updateRef
|
|
458
462
|
} = this.props;
|
|
459
463
|
return React__namespace.createElement(wonderBlocksCore.View, {
|
|
460
|
-
style: [styles$2.tailContainer,
|
|
464
|
+
style: [styles$2.tailContainer, _extends__default["default"]({}, offset), this._getContainerStyle()],
|
|
461
465
|
"data-placement": placement,
|
|
462
466
|
ref: updateRef
|
|
463
467
|
}, this._renderArrow());
|
|
@@ -557,8 +561,8 @@ const styles$1 = aphrodite.StyleSheet.create({
|
|
|
557
561
|
content: {
|
|
558
562
|
maxWidth: 472,
|
|
559
563
|
borderRadius: wonderBlocksTokens.spacing.xxxSmall_4,
|
|
560
|
-
border: `solid 1px ${wonderBlocksTokens.
|
|
561
|
-
backgroundColor: wonderBlocksTokens.
|
|
564
|
+
border: `solid 1px ${wonderBlocksTokens.semanticColor.border.primary}`,
|
|
565
|
+
backgroundColor: wonderBlocksTokens.semanticColor.surface.primary,
|
|
562
566
|
boxShadow: `0 ${wonderBlocksTokens.spacing.xSmall_8}px ${wonderBlocksTokens.spacing.xSmall_8}px 0 ${wonderBlocksTokens.color.offBlack8}`,
|
|
563
567
|
justifyContent: "center"
|
|
564
568
|
}
|
|
@@ -609,12 +613,12 @@ const styles = aphrodite.StyleSheet.create({
|
|
|
609
613
|
}
|
|
610
614
|
});
|
|
611
615
|
|
|
612
|
-
var t=e=>null==e||"object"!=typeof e?e:Array.isArray(e)?e.map(t):Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{}),n=Object.freeze({Unknown:"Unknown",Internal:"Internal",InvalidInput:"InvalidInput",InvalidUse:"InvalidUse",NotFound:"NotFound",NotAllowed:"NotAllowed",Unauthorized:"Unauthorized",NotImplemented:"NotImplemented"});function r(t,e,n){return (e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(
|
|
616
|
+
var t=e=>null==e||"object"!=typeof e?e:Array.isArray(e)?e.map(t):Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{}),n=Object.freeze({Unknown:"Unknown",Internal:"Internal",InvalidInput:"InvalidInput",InvalidUse:"InvalidUse",NotFound:"NotFound",NotAllowed:"NotAllowed",Unauthorized:"Unauthorized",NotImplemented:"NotImplemented"});function r(t,e,n){return (e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return ("string"===e?String:Number)(t)}(t,"string");return "symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class s{constructor(t,e,n){r(this,"_name",void 0),r(this,"_message",void 0),r(this,"_stackFrames",void 0),this._name=t,this._message=e,this._stackFrames=[...n];}get message(){return this._message}get name(){return this._name}get messageWithName(){return "".concat(this.name,": ").concat(this.message)}get stack(){return [...this._stackFrames]}get standardizedStack(){return "".concat(this.messageWithName,"\n").concat(this._stackFrames.join("\n"))}static fromConsequenceAndCause(t,e){var n;if("production"!==process.env.NODE_ENV){if(!(t instanceof s))throw new Error("consequence must be an instance of ErrorInfo");if(!(e instanceof s))throw new Error("cause must be an instance of ErrorInfo");if(e===t)throw new Error("cause and consequence must be different")}for(var r=[],i=e.stack,a=null!==(n=null==t?void 0:t.stack)&&void 0!==n?n:[],o=i.length-1,c=a.length-1;o>=0&&c>=0&&i[o]===a[c];)r.unshift(i[o]),o--,c--;for(;o>=0;o--)r.unshift(i[o]);for(;c>=0;c--)r.unshift(a[c]);return new s(t.name,((t,e)=>{var n=t=>(null==t?void 0:t.trim())||"(empty message)",r=n(t);return null==e?r:"".concat(r,"\n\tcaused by\n\t\t").concat(n(e))})(t.message,e.messageWithName),r)}static normalize(t){var e,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if("production"!==process.env.NODE_ENV){if(!(t instanceof Error))throw new Error("Error must be an instance of Error");if(i<0)throw new Error("stripFrames must be >= 0");if(a<0)throw new Error("minimumFrameCount must be >= 0")}var o=null!==(e=t.message.toString().split("\n").find((t=>t.trim().length)))&&void 0!==e?e:"(empty message)",c=t.toString(),u=(null!==(n=t.stack)&&void 0!==n&&n.startsWith(c)&&t.stack!==c?t.stack.substring(c.length):null!==(r=t.stack)&&void 0!==r?r:"").split("\n").filter((t=>t.trim().length)),l=u.length>=i+a?i:0;return new s(t.name,o,u.slice(l))}static from(t){var e,n;if("production"!==process.env.NODE_ENV&&!(t instanceof Error))throw new Error("Error must be an instance of Error");var r=t.toString(),i=(null!==(e=t.stack)&&void 0!==e&&e.startsWith(r)&&t.stack!==r?t.stack.substring(r.length):null!==(n=t.stack)&&void 0!==n?n:"").split("\n").filter((t=>t.trim().length));return new s(t.name,t.message,i)}}class i extends Error{constructor(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.Unknown,{cause:a,prefix:o,name:c,metadata:u,stripStackFrames:l,minimumFrameCount:m,compositeStack:d}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Object.freeze({});if("production"!==process.env.NODE_ENV){if(a&&!(a instanceof Error))throw new Error("cause must be an instance of Error");if(null!=c&&/\s/g.test(c))throw new Error("name must not contain whitespace");if(/\s/g.test(i))throw new Error("kind must not contain whitespace");if(null!=o&&/\s/g.test(o))throw new Error("prefix must not contain whitespace");if(null!=l&&l<0)throw new Error("stripStackFrames must be >= 0");if(null!=m&&m<0)throw new Error("minimumFrameCount must be >= 0")}super(e),r(this,"kind",void 0),r(this,"originalMessage",void 0),r(this,"originalStack",void 0),r(this,"metadata",void 0),r(this,"cause",void 0),this.originalMessage=e,this.metadata=(e=>{if(null==e)return e;var n=t(e);return Object.freeze(n)})(u),this.name="".concat(null!=o?o:"").concat(i).concat(null!=c?c:"","Error"),this.kind=i,this.originalStack=this.stack,this.cause=a;var f=s.normalize(this,null!=l?l:0,null!=m?m:1);if(delete this.stack,this.stack=f.standardizedStack,null!=a){var h=s.from(a),v=s.fromConsequenceAndCause(f,h);this.message=v.message,!0===d&&(this.stack=v.standardizedStack);}}}Object.freeze({ConsequenceFirst:"consequence-first",CauseFirst:"cause-first"});class w extends i{constructor(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.InvalidInput,r=arguments.length>2?arguments[2]:void 0;super("Unhandled case for '".concat(t,"'"),e,r);}}
|
|
613
617
|
|
|
614
618
|
class RefTracker {
|
|
615
619
|
constructor() {
|
|
616
|
-
this._lastRef =
|
|
617
|
-
this._targetFn =
|
|
620
|
+
this._lastRef = void 0;
|
|
621
|
+
this._targetFn = void 0;
|
|
618
622
|
this.updateRef = ref => {
|
|
619
623
|
if (ref) {
|
|
620
624
|
const domNode = ReactDOM__namespace.findDOMNode(ref);
|
|
@@ -670,7 +674,7 @@ function _modifyPosition({
|
|
|
670
674
|
const popperHeight = state.rects.popper.height + state.rects.reference.height;
|
|
671
675
|
const minHeight = document.documentElement.clientHeight;
|
|
672
676
|
if (minHeight < popperHeight && state.modifiersData.hide) {
|
|
673
|
-
state.modifiersData.hide =
|
|
677
|
+
state.modifiersData.hide = _extends__default["default"]({}, state.modifiersData.hide, {
|
|
674
678
|
isReferenceHidden: false
|
|
675
679
|
});
|
|
676
680
|
}
|
|
@@ -902,4 +906,4 @@ Tooltip.defaultProps = {
|
|
|
902
906
|
exports.TooltipContent = TooltipContent;
|
|
903
907
|
exports.TooltipPopper = TooltipPopper;
|
|
904
908
|
exports.TooltipTail = TooltipTail;
|
|
905
|
-
exports
|
|
909
|
+
exports["default"] = Tooltip;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-tooltip",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@babel/runtime": "^7.24.5",
|
|
16
|
-
"@khanacademy/wonder-blocks-core": "12.
|
|
17
|
-
"@khanacademy/wonder-blocks-layout": "3.1.
|
|
18
|
-
"@khanacademy/wonder-blocks-modal": "7.1.
|
|
19
|
-
"@khanacademy/wonder-blocks-tokens": "
|
|
20
|
-
"@khanacademy/wonder-blocks-typography": "3.1.
|
|
16
|
+
"@khanacademy/wonder-blocks-core": "12.2.0",
|
|
17
|
+
"@khanacademy/wonder-blocks-layout": "3.1.2",
|
|
18
|
+
"@khanacademy/wonder-blocks-modal": "7.1.2",
|
|
19
|
+
"@khanacademy/wonder-blocks-tokens": "5.0.0",
|
|
20
|
+
"@khanacademy/wonder-blocks-typography": "3.1.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"@popperjs/core": "^2.10.1",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"react-popper": "^2.0.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@khanacademy/wb-dev-build-settings": "2.1.
|
|
30
|
+
"@khanacademy/wb-dev-build-settings": "2.1.1"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"test": "echo \"Error: no test specified\" && exit 1"
|