@cloud-ru/uikit-product-info-block-predefined 0.3.6 → 0.3.7
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 +11 -0
- package/dist/cjs/components/Footer/Footer.d.ts +19 -0
- package/dist/cjs/components/Footer/Footer.js +20 -0
- package/dist/cjs/components/Footer/hooks.d.ts +6 -0
- package/dist/cjs/components/Footer/hooks.js +13 -0
- package/dist/cjs/components/Footer/index.d.ts +1 -0
- package/dist/cjs/components/Footer/index.js +17 -0
- package/dist/cjs/components/Footer/styles.module.css +5 -0
- package/dist/cjs/components/InfoBlockPredefined/InfoBlockPredefined.d.ts +4 -0
- package/dist/cjs/components/InfoBlockPredefined/InfoBlockPredefined.js +22 -0
- package/dist/cjs/components/InfoBlockPredefined/index.d.ts +1 -0
- package/dist/cjs/components/InfoBlockPredefined/index.js +17 -0
- package/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/components/index.js +17 -0
- package/dist/cjs/constants.d.ts +6 -0
- package/dist/cjs/constants.js +9 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +17 -0
- package/dist/esm/components/Footer/Footer.d.ts +19 -0
- package/dist/esm/components/Footer/Footer.js +14 -0
- package/dist/esm/components/Footer/hooks.d.ts +6 -0
- package/dist/esm/components/Footer/hooks.js +10 -0
- package/dist/esm/components/Footer/index.d.ts +1 -0
- package/dist/esm/components/Footer/index.js +1 -0
- package/dist/esm/components/Footer/styles.module.css +5 -0
- package/dist/esm/components/InfoBlockPredefined/InfoBlockPredefined.d.ts +4 -0
- package/dist/esm/components/InfoBlockPredefined/InfoBlockPredefined.js +19 -0
- package/dist/esm/components/InfoBlockPredefined/index.d.ts +1 -0
- package/dist/esm/components/InfoBlockPredefined/index.js +1 -0
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/constants.d.ts +6 -0
- package/dist/esm/constants.js +6 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 0.3.7 (2025-11-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **PD-3377:** contributors update to publish all packages ([719fd3e](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/719fd3e1249e247443b125c47ea408d92c8395c3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 0.3.6 (2025-11-12)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @cloud-ru/uikit-product-info-block-predefined
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ButtonFilledProps, ButtonSimpleProps, ButtonTonalProps } from '@snack-uikit/button';
|
|
2
|
+
import { InfoBlockProps } from '@snack-uikit/info-block';
|
|
3
|
+
import { TooltipProps } from '@snack-uikit/tooltip';
|
|
4
|
+
export type FooterProps = {
|
|
5
|
+
size?: InfoBlockProps['size'];
|
|
6
|
+
/** Основная кнопка */
|
|
7
|
+
primaryButton?: Omit<ButtonFilledProps, 'size'> & {
|
|
8
|
+
tooltip?: TooltipProps;
|
|
9
|
+
};
|
|
10
|
+
/** Дополнительная кнопка */
|
|
11
|
+
secondaryButton?: Omit<ButtonTonalProps, 'size'> & {
|
|
12
|
+
tooltip?: TooltipProps;
|
|
13
|
+
};
|
|
14
|
+
/** Дополнительная кнопка */
|
|
15
|
+
tertiaryButton?: Omit<ButtonSimpleProps, 'size'> & {
|
|
16
|
+
tooltip?: TooltipProps;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare function Footer({ primaryButton, secondaryButton, tertiaryButton, size }: FooterProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Footer = Footer;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const button_1 = require("@snack-uikit/button");
|
|
9
|
+
const constants_1 = require("../../constants");
|
|
10
|
+
const hooks_1 = require("./hooks");
|
|
11
|
+
const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
|
|
12
|
+
function Footer({ primaryButton, secondaryButton, tertiaryButton, size }) {
|
|
13
|
+
const PrimaryButton = (0, hooks_1.useButtonWithTooltip)({ Button: button_1.ButtonFilled, tooltip: primaryButton === null || primaryButton === void 0 ? void 0 : primaryButton.tooltip });
|
|
14
|
+
const SecondaryButton = (0, hooks_1.useButtonWithTooltip)({ Button: button_1.ButtonTonal, tooltip: secondaryButton === null || secondaryButton === void 0 ? void 0 : secondaryButton.tooltip });
|
|
15
|
+
const TertiaryButton = (0, hooks_1.useButtonWithTooltip)({ Button: button_1.ButtonSimple, tooltip: tertiaryButton === null || tertiaryButton === void 0 ? void 0 : tertiaryButton.tooltip });
|
|
16
|
+
if (!secondaryButton && !primaryButton && !tertiaryButton) {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: styles_module_scss_1.default.infoBlockFooter, children: [primaryButton && ((0, jsx_runtime_1.jsx)(PrimaryButton, Object.assign({}, primaryButton, { size: size, "data-test-id": primaryButton['data-test-id'] || constants_1.TEST_IDS.primaryButton }))), secondaryButton && ((0, jsx_runtime_1.jsx)(SecondaryButton, Object.assign({}, secondaryButton, { size: size, "data-test-id": secondaryButton['data-test-id'] || constants_1.TEST_IDS.secondaryButton }))), tertiaryButton && ((0, jsx_runtime_1.jsx)(TertiaryButton, Object.assign({}, tertiaryButton, { size: size, "data-test-id": tertiaryButton['data-test-id'] || constants_1.TEST_IDS.tertiaryButton })))] }));
|
|
20
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { JSXElementConstructor } from 'react';
|
|
2
|
+
import { TooltipProps } from '@snack-uikit/tooltip';
|
|
3
|
+
export declare function useButtonWithTooltip<T>({ Button, tooltip, }: {
|
|
4
|
+
tooltip?: TooltipProps;
|
|
5
|
+
Button: JSXElementConstructor<T>;
|
|
6
|
+
}): JSXElementConstructor<T> | ((props: T) => import("react/jsx-runtime").JSX.Element);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useButtonWithTooltip = useButtonWithTooltip;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const tooltip_1 = require("@snack-uikit/tooltip");
|
|
6
|
+
function useButtonWithTooltip({ Button, tooltip, }) {
|
|
7
|
+
if (tooltip) {
|
|
8
|
+
return function ButtonWithTooltip(props) {
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)(tooltip_1.Tooltip, Object.assign({}, tooltip, { children: (0, jsx_runtime_1.jsx)(Button, Object.assign({}, props)) })));
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
return Button;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Footer';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Footer"), exports);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { InfoBlockProps } from '@snack-uikit/info-block';
|
|
2
|
+
import { FooterProps } from '../Footer';
|
|
3
|
+
export type InfoBlockPredefinedProps = Omit<InfoBlockProps, 'footer' | 'align' | 'size'> & Omit<FooterProps, 'size'>;
|
|
4
|
+
export declare function InfoBlockPredefined({ tertiaryButton, primaryButton, secondaryButton, ...props }: InfoBlockPredefinedProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.InfoBlockPredefined = InfoBlockPredefined;
|
|
15
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
const info_block_1 = require("@snack-uikit/info-block");
|
|
17
|
+
const Footer_1 = require("../Footer");
|
|
18
|
+
const SIZE = 'l';
|
|
19
|
+
function InfoBlockPredefined(_a) {
|
|
20
|
+
var { tertiaryButton, primaryButton, secondaryButton } = _a, props = __rest(_a, ["tertiaryButton", "primaryButton", "secondaryButton"]);
|
|
21
|
+
return ((0, jsx_runtime_1.jsx)(info_block_1.InfoBlock, Object.assign({ size: SIZE }, props, { align: 'horizontal', footer: (0, jsx_runtime_1.jsx)(Footer_1.Footer, { size: SIZE, tertiaryButton: tertiaryButton, secondaryButton: secondaryButton, primaryButton: primaryButton }) })));
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InfoBlockPredefined';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./InfoBlockPredefined"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InfoBlockPredefined';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./InfoBlockPredefined"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TEST_IDS = void 0;
|
|
4
|
+
exports.TEST_IDS = {
|
|
5
|
+
footer: 'info-block-predefined__footer',
|
|
6
|
+
primaryButton: 'info-block-predefined__primary-button',
|
|
7
|
+
secondaryButton: 'info-block-predefined__secondary-button',
|
|
8
|
+
tertiaryButton: 'info-block-predefined__tertiary-button',
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./components"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ButtonFilledProps, ButtonSimpleProps, ButtonTonalProps } from '@snack-uikit/button';
|
|
2
|
+
import { InfoBlockProps } from '@snack-uikit/info-block';
|
|
3
|
+
import { TooltipProps } from '@snack-uikit/tooltip';
|
|
4
|
+
export type FooterProps = {
|
|
5
|
+
size?: InfoBlockProps['size'];
|
|
6
|
+
/** Основная кнопка */
|
|
7
|
+
primaryButton?: Omit<ButtonFilledProps, 'size'> & {
|
|
8
|
+
tooltip?: TooltipProps;
|
|
9
|
+
};
|
|
10
|
+
/** Дополнительная кнопка */
|
|
11
|
+
secondaryButton?: Omit<ButtonTonalProps, 'size'> & {
|
|
12
|
+
tooltip?: TooltipProps;
|
|
13
|
+
};
|
|
14
|
+
/** Дополнительная кнопка */
|
|
15
|
+
tertiaryButton?: Omit<ButtonSimpleProps, 'size'> & {
|
|
16
|
+
tooltip?: TooltipProps;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare function Footer({ primaryButton, secondaryButton, tertiaryButton, size }: FooterProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ButtonFilled, ButtonSimple, ButtonTonal, } from '@snack-uikit/button';
|
|
3
|
+
import { TEST_IDS } from '../../constants';
|
|
4
|
+
import { useButtonWithTooltip } from './hooks';
|
|
5
|
+
import styles from './styles.module.css';
|
|
6
|
+
export function Footer({ primaryButton, secondaryButton, tertiaryButton, size }) {
|
|
7
|
+
const PrimaryButton = useButtonWithTooltip({ Button: ButtonFilled, tooltip: primaryButton === null || primaryButton === void 0 ? void 0 : primaryButton.tooltip });
|
|
8
|
+
const SecondaryButton = useButtonWithTooltip({ Button: ButtonTonal, tooltip: secondaryButton === null || secondaryButton === void 0 ? void 0 : secondaryButton.tooltip });
|
|
9
|
+
const TertiaryButton = useButtonWithTooltip({ Button: ButtonSimple, tooltip: tertiaryButton === null || tertiaryButton === void 0 ? void 0 : tertiaryButton.tooltip });
|
|
10
|
+
if (!secondaryButton && !primaryButton && !tertiaryButton) {
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
return (_jsxs("div", { className: styles.infoBlockFooter, children: [primaryButton && (_jsx(PrimaryButton, Object.assign({}, primaryButton, { size: size, "data-test-id": primaryButton['data-test-id'] || TEST_IDS.primaryButton }))), secondaryButton && (_jsx(SecondaryButton, Object.assign({}, secondaryButton, { size: size, "data-test-id": secondaryButton['data-test-id'] || TEST_IDS.secondaryButton }))), tertiaryButton && (_jsx(TertiaryButton, Object.assign({}, tertiaryButton, { size: size, "data-test-id": tertiaryButton['data-test-id'] || TEST_IDS.tertiaryButton })))] }));
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { JSXElementConstructor } from 'react';
|
|
2
|
+
import { TooltipProps } from '@snack-uikit/tooltip';
|
|
3
|
+
export declare function useButtonWithTooltip<T>({ Button, tooltip, }: {
|
|
4
|
+
tooltip?: TooltipProps;
|
|
5
|
+
Button: JSXElementConstructor<T>;
|
|
6
|
+
}): JSXElementConstructor<T> | ((props: T) => import("react/jsx-runtime").JSX.Element);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Tooltip } from '@snack-uikit/tooltip';
|
|
3
|
+
export function useButtonWithTooltip({ Button, tooltip, }) {
|
|
4
|
+
if (tooltip) {
|
|
5
|
+
return function ButtonWithTooltip(props) {
|
|
6
|
+
return (_jsx(Tooltip, Object.assign({}, tooltip, { children: _jsx(Button, Object.assign({}, props)) })));
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
return Button;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Footer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Footer';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { InfoBlockProps } from '@snack-uikit/info-block';
|
|
2
|
+
import { FooterProps } from '../Footer';
|
|
3
|
+
export type InfoBlockPredefinedProps = Omit<InfoBlockProps, 'footer' | 'align' | 'size'> & Omit<FooterProps, 'size'>;
|
|
4
|
+
export declare function InfoBlockPredefined({ tertiaryButton, primaryButton, secondaryButton, ...props }: InfoBlockPredefinedProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import { InfoBlock } from '@snack-uikit/info-block';
|
|
14
|
+
import { Footer } from '../Footer';
|
|
15
|
+
const SIZE = 'l';
|
|
16
|
+
export function InfoBlockPredefined(_a) {
|
|
17
|
+
var { tertiaryButton, primaryButton, secondaryButton } = _a, props = __rest(_a, ["tertiaryButton", "primaryButton", "secondaryButton"]);
|
|
18
|
+
return (_jsx(InfoBlock, Object.assign({ size: SIZE }, props, { align: 'horizontal', footer: _jsx(Footer, { size: SIZE, tertiaryButton: tertiaryButton, secondaryButton: secondaryButton, primaryButton: primaryButton }) })));
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InfoBlockPredefined';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InfoBlockPredefined';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InfoBlockPredefined';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InfoBlockPredefined';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/uikit-product-info-block-predefined",
|
|
3
3
|
"title": "Info Block Predefined",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.7",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
7
7
|
"*.woff",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"name": "Akhremenko Grigorii",
|
|
31
31
|
"url": "https://github.com/AGrigorii"
|
|
32
32
|
},
|
|
33
|
+
"contributors": [],
|
|
33
34
|
"license": "Apache-2.0",
|
|
34
35
|
"publishConfig": {
|
|
35
36
|
"access": "public"
|
|
@@ -40,5 +41,5 @@
|
|
|
40
41
|
"@snack-uikit/info-block": "0.6.13",
|
|
41
42
|
"@snack-uikit/tooltip": "0.16.2"
|
|
42
43
|
},
|
|
43
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "9c11b1e33e716c874534a1c162266c8591f2ed03"
|
|
44
45
|
}
|