td-stylekit 25.7.0 → 25.8.1
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/.commitlintrc.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [25.8.1](https://github.com/treasure-data/td-stylekit/compare/v25.8.0...v25.8.1) (2022-03-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Fail titles with "Revert " in commitlint ([#1242](https://github.com/treasure-data/td-stylekit/issues/1242)) ([1656471](https://github.com/treasure-data/td-stylekit/commit/1656471))
|
|
7
|
+
|
|
8
|
+
# [25.8.0](https://github.com/treasure-data/td-stylekit/compare/v25.7.1...v25.8.0) (2022-03-01)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **Tooltip:** Final revert of onClickOutside issue ([#1241](https://github.com/treasure-data/td-stylekit/issues/1241)) ([8c3c175](https://github.com/treasure-data/td-stylekit/commit/8c3c175))
|
|
14
|
+
|
|
15
|
+
## [25.7.1](https://github.com/treasure-data/td-stylekit/compare/v25.7.0...v25.7.1) (2022-03-01)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* Correctly set onClickOutside prop internally ([#1238](https://github.com/treasure-data/td-stylekit/issues/1238)) ([02f672c](https://github.com/treasure-data/td-stylekit/commit/02f672c))
|
|
21
|
+
|
|
1
22
|
# [25.7.0](https://github.com/treasure-data/td-stylekit/compare/v25.6.0...v25.7.0) (2022-02-23)
|
|
2
23
|
|
|
3
24
|
|
|
@@ -13,7 +13,7 @@ export declare type TooltipPopoverProps = {
|
|
|
13
13
|
target: DOMContainer;
|
|
14
14
|
escClose?: boolean;
|
|
15
15
|
} & Omit<TippyProps, // https://atomiks.github.io/tippyjs/v6/all-props/
|
|
16
|
-
'allowHTML' | 'arrow' | 'animateFill' | 'content' | 'inlinePositioning' | 'onHide' | 'placement' | 'plugins' | 'reference' | 'singleton' | 'visible' | 'render'>;
|
|
16
|
+
'allowHTML' | 'arrow' | 'animateFill' | 'content' | 'inlinePositioning' | 'onClickOutside' | 'onHide' | 'placement' | 'plugins' | 'reference' | 'singleton' | 'visible' | 'render'>;
|
|
17
17
|
/**
|
|
18
18
|
* A popover handler built on Tippy.js.
|
|
19
19
|
* Compose with the Popover wrapper for popover content.
|
|
@@ -17,7 +17,7 @@ var _Modal = _interopRequireDefault(require("../Modal"));
|
|
|
17
17
|
|
|
18
18
|
var _useWaitForDOMRef = require("./useWaitForDOMRef");
|
|
19
19
|
|
|
20
|
-
var _excluded = ["data-instrumentation", "arrowHidden", "children", "hideOnClick", "interactive", "onHide", "
|
|
20
|
+
var _excluded = ["data-instrumentation", "arrowHidden", "children", "hideOnClick", "interactive", "onHide", "show", "showOnCreate", "target", "trigger", "escClose"];
|
|
21
21
|
|
|
22
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
23
|
|
|
@@ -74,7 +74,6 @@ var TooltipPopover = function TooltipPopover(props) {
|
|
|
74
74
|
_props$interactive = props.interactive,
|
|
75
75
|
interactive = _props$interactive === void 0 ? true : _props$interactive,
|
|
76
76
|
onHide = props.onHide,
|
|
77
|
-
onClickOutside = props.onClickOutside,
|
|
78
77
|
show = props.show,
|
|
79
78
|
showOnCreate = props.showOnCreate,
|
|
80
79
|
target = props.target,
|
|
@@ -139,8 +138,7 @@ var TooltipPopover = function TooltipPopover(props) {
|
|
|
139
138
|
onHidden: function onHidden() {
|
|
140
139
|
return setMounted(false);
|
|
141
140
|
},
|
|
142
|
-
reference: triggerTarget
|
|
143
|
-
onClickOutside: onClickOutside
|
|
141
|
+
reference: triggerTarget
|
|
144
142
|
/** Tippy is very strict about the rules of what props are allowed.
|
|
145
143
|
* An instrumentation plugin adds in `data-gs-c` and `data-gs`.
|
|
146
144
|
* By defining as tippy plugins we can make these props acceptable. */
|