@linzjs/lui 21.3.0 → 21.3.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/CHANGELOG.md +7 -0
- package/dist/components/LuiTooltip/LuiTooltip.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lui.css +33 -15
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +1 -1
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Elements/Tooltips/tippy.scss +37 -17
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [21.3.1](https://github.com/linz/lui/compare/v21.3.0...v21.3.1) (2023-10-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* small whitespace change to enable PR for release ([#1031](https://github.com/linz/lui/issues/1031)) ([791db73](https://github.com/linz/lui/commit/791db736d3743a13730823d359570f653c28f254))
|
|
7
|
+
|
|
1
8
|
# [21.3.0](https://github.com/linz/lui/compare/v21.2.0...v21.3.0) (2023-10-24)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import { TippyProps } from '@tippyjs/react';
|
|
3
3
|
export declare type ILuiTooltipProperties = TippyProps & {
|
|
4
4
|
message?: TippyProps['content'];
|
|
5
|
-
mode?: 'default' | 'info' | 'error';
|
|
5
|
+
mode?: 'default' | 'info' | 'error' | 'default-withDelay' | 'info-withDelay' | 'error-withDelay';
|
|
6
6
|
};
|
|
7
7
|
export declare const LuiTooltip: (props: ILuiTooltipProperties) => JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -46687,7 +46687,7 @@ var Tippy = index;
|
|
|
46687
46687
|
|
|
46688
46688
|
var LuiTooltip = function (props) {
|
|
46689
46689
|
var _a;
|
|
46690
|
-
var children = props.children, _b = props.content, content = _b === void 0 ? props.message : _b, _c = props.theme, theme = _c === void 0 ? (_a = props.mode) !== null && _a !== void 0 ? _a : 'default' : _c, _d = props.offset, offset = _d === void 0 ? [0,
|
|
46690
|
+
var children = props.children, _b = props.content, content = _b === void 0 ? props.message : _b, _c = props.theme, theme = _c === void 0 ? (_a = props.mode) !== null && _a !== void 0 ? _a : 'default' : _c, _d = props.offset, offset = _d === void 0 ? [0, 4] : _d, _e = props.arrow, arrow = _e === void 0 ? false : _e, plugins = props.plugins, rest = __rest(props, ["children", "content", "theme", "offset", "arrow", "plugins"]);
|
|
46691
46691
|
var tippyProps = __assign(__assign({}, rest), { content: content, theme: theme, offset: offset, arrow: arrow, plugins: __spreadArray(__spreadArray([], (plugins || []), true), [followCursor], false) });
|
|
46692
46692
|
return React__default["default"].createElement(Tippy, __assign({}, tippyProps), children);
|
|
46693
46693
|
};
|