@helpdice/ui 1.4.9 → 1.5.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/dist/button/button.compact.d.ts +2 -2
- package/dist/button/index.js +4 -3
- package/dist/html-renderer/index.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1358 -10
- package/esm/button/button.compact.d.ts +2 -2
- package/esm/button/button.compact.js +4 -2
- package/esm/html-renderer/index.d.ts +6 -0
- package/esm/html-renderer/index.js +12 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/package.json +3 -2
|
@@ -11,5 +11,5 @@ type CompactButtonProps = {
|
|
|
11
11
|
target?: string;
|
|
12
12
|
onClick?: () => void;
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
export
|
|
14
|
+
declare const _default: import("react").NamedExoticComponent<CompactButtonProps>;
|
|
15
|
+
export default _default;
|
package/dist/button/index.js
CHANGED
|
@@ -1691,7 +1691,7 @@ var ButtonComponent = /*#__PURE__*/React$1.forwardRef(function (btnProps, ref) {
|
|
|
1691
1691
|
ButtonComponent.displayName = 'Button';
|
|
1692
1692
|
var Button = withScale(ButtonComponent);
|
|
1693
1693
|
|
|
1694
|
-
function CompactButton(_ref) {
|
|
1694
|
+
var CompactButton = function CompactButton(_ref) {
|
|
1695
1695
|
var _ref$to = _ref.to,
|
|
1696
1696
|
to = _ref$to === undefined ? '/' : _ref$to,
|
|
1697
1697
|
children = _ref.children,
|
|
@@ -1766,9 +1766,10 @@ function CompactButton(_ref) {
|
|
|
1766
1766
|
px: 0.6,
|
|
1767
1767
|
iconRight: iconRight
|
|
1768
1768
|
}, children);
|
|
1769
|
-
}
|
|
1769
|
+
};
|
|
1770
|
+
var button_compact = /*#__PURE__*/React$1.memo(CompactButton);
|
|
1770
1771
|
|
|
1771
1772
|
/* "use client" */
|
|
1772
1773
|
|
|
1773
|
-
exports.LinkButton =
|
|
1774
|
+
exports.LinkButton = button_compact;
|
|
1774
1775
|
exports.default = Button;
|
package/dist/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export type { UiProviderProps } from './ui-provider';
|
|
|
41
41
|
export { default as Grid } from './grid';
|
|
42
42
|
export { default as Container } from './grid/grid-container';
|
|
43
43
|
export type { GridProps, GridContainerProps } from './grid';
|
|
44
|
+
export { default as HtmlRenderer } from './html-renderer';
|
|
44
45
|
export { default as Image } from './image';
|
|
45
46
|
export type { ImageProps, ImageBrowserProps } from './image';
|
|
46
47
|
export { default as Input } from './input';
|