@cloud-ru/uikit-product-widget 0.9.5 → 0.9.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 +26 -0
- package/dist/cjs/components/ProductsWidget/ProductsWidget.d.ts +2 -2
- package/dist/cjs/components/ProductsWidget/ProductsWidget.js +3 -3
- package/dist/cjs/components/SolutionsWidget/SolutionsWidget.d.ts +2 -2
- package/dist/cjs/components/SolutionsWidget/SolutionsWidget.js +3 -3
- package/dist/cjs/components/Widget/Widget.js +3 -3
- package/dist/cjs/components/Widget/types.d.ts +2 -2
- package/dist/cjs/helperComponents/Actions/ActionView.d.ts +1 -1
- package/dist/cjs/helperComponents/Actions/ActionView.js +1 -1
- package/dist/cjs/helperComponents/Actions/MobileActions.js +3 -3
- package/dist/cjs/helperComponents/Actions/types.d.ts +1 -1
- package/dist/cjs/helperComponents/ButtonDropdown/ButtonDropdown.d.ts +2 -2
- package/dist/cjs/helperComponents/ButtonDropdown/ButtonDropdown.js +2 -2
- package/dist/cjs/helperComponents/ButtonDroplist/ButtonDroplist.d.ts +2 -2
- package/dist/cjs/helperComponents/ButtonDroplist/ButtonDroplist.js +2 -2
- package/dist/cjs/helperComponents/ButtonKebab/ButtonKebab.d.ts +2 -2
- package/dist/cjs/helperComponents/ButtonKebab/ButtonKebab.js +2 -2
- package/dist/esm/components/ProductsWidget/ProductsWidget.d.ts +2 -2
- package/dist/esm/components/ProductsWidget/ProductsWidget.js +3 -3
- package/dist/esm/components/SolutionsWidget/SolutionsWidget.d.ts +2 -2
- package/dist/esm/components/SolutionsWidget/SolutionsWidget.js +3 -3
- package/dist/esm/components/Widget/Widget.js +3 -3
- package/dist/esm/components/Widget/types.d.ts +2 -2
- package/dist/esm/helperComponents/Actions/ActionView.d.ts +1 -1
- package/dist/esm/helperComponents/Actions/ActionView.js +1 -1
- package/dist/esm/helperComponents/Actions/MobileActions.js +3 -3
- package/dist/esm/helperComponents/Actions/types.d.ts +1 -1
- package/dist/esm/helperComponents/ButtonDropdown/ButtonDropdown.d.ts +2 -2
- package/dist/esm/helperComponents/ButtonDropdown/ButtonDropdown.js +2 -2
- package/dist/esm/helperComponents/ButtonDroplist/ButtonDroplist.d.ts +2 -2
- package/dist/esm/helperComponents/ButtonDroplist/ButtonDroplist.js +2 -2
- package/dist/esm/helperComponents/ButtonKebab/ButtonKebab.d.ts +2 -2
- package/dist/esm/helperComponents/ButtonKebab/ButtonKebab.js +2 -2
- package/package.json +9 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,32 @@
|
|
|
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.9.7 (2025-11-13)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **PD-3377:** removed contributors ([121640f](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/121640f7b88b20a728a6ad2c39de8841532bb308))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 0.9.6 (2025-11-13)
|
|
18
|
+
|
|
19
|
+
### Only dependencies have been changed
|
|
20
|
+
* [@cloud-ru/uikit-product-card-predefined@0.8.14](https://gitverse.ru/cloud-ru-tech/uikit-product/-/blob/master/packages/card-predefined/CHANGELOG.md)
|
|
21
|
+
* [@cloud-ru/uikit-product-icons@15.1.3](https://gitverse.ru/cloud-ru-tech/uikit-product/-/blob/master/packages/icons/CHANGELOG.md)
|
|
22
|
+
* [@cloud-ru/uikit-product-mobile-carousel@0.1.14](https://gitverse.ru/cloud-ru-tech/uikit-product/-/blob/master/packages/mobile-carousel/CHANGELOG.md)
|
|
23
|
+
* [@cloud-ru/uikit-product-mobile-dropdown@0.9.23](https://gitverse.ru/cloud-ru-tech/uikit-product/-/blob/master/packages/mobile-dropdown/CHANGELOG.md)
|
|
24
|
+
* [@cloud-ru/uikit-product-mobile-tooltip@0.4.67](https://gitverse.ru/cloud-ru-tech/uikit-product/-/blob/master/packages/mobile-tooltip/CHANGELOG.md)
|
|
25
|
+
* [@cloud-ru/uikit-product-title-clickable@0.0.50](https://gitverse.ru/cloud-ru-tech/uikit-product/-/blob/master/packages/title-clickable/CHANGELOG.md)
|
|
26
|
+
* [@cloud-ru/uikit-product-utils@7.0.2](https://gitverse.ru/cloud-ru-tech/uikit-product/-/blob/master/packages/utils/CHANGELOG.md)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
6
32
|
## 0.9.5 (2025-11-12)
|
|
7
33
|
|
|
8
34
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { CarouselProps } from '@
|
|
3
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
2
|
+
import { CarouselProps } from '@cloud-ru/uikit-product-mobile-carousel';
|
|
3
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
4
4
|
export type ProductsWidgetProps = WithLayoutType<Pick<CarouselProps, 'arrows' | 'pagination'> & WithSupportProps<{
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
cards: ReactNode[];
|
|
@@ -17,9 +17,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
exports.ProductsWidget = ProductsWidget;
|
|
18
18
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
19
|
const react_1 = require("react");
|
|
20
|
-
const uikit_product_locale_1 = require("@
|
|
21
|
-
const uikit_product_mobile_carousel_1 = require("@
|
|
22
|
-
const uikit_product_utils_1 = require("@
|
|
20
|
+
const uikit_product_locale_1 = require("@cloud-ru/uikit-product-locale");
|
|
21
|
+
const uikit_product_mobile_carousel_1 = require("@cloud-ru/uikit-product-mobile-carousel");
|
|
22
|
+
const uikit_product_utils_1 = require("@cloud-ru/uikit-product-utils");
|
|
23
23
|
const typography_1 = require("@snack-uikit/typography");
|
|
24
24
|
const constants_1 = require("./constants");
|
|
25
25
|
const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CardSuggestProps } from '@
|
|
2
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { CardSuggestProps } from '@cloud-ru/uikit-product-card-predefined';
|
|
2
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { LinkProps } from '@snack-uikit/link';
|
|
4
4
|
export type SolutionsWidgetProps = WithLayoutType<WithSupportProps<{
|
|
5
5
|
moreLink?: Pick<LinkProps, 'onClick' | 'href'>;
|
|
@@ -16,9 +16,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.SolutionsWidget = SolutionsWidget;
|
|
18
18
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
-
const uikit_product_card_predefined_1 = require("@
|
|
20
|
-
const uikit_product_locale_1 = require("@
|
|
21
|
-
const uikit_product_utils_1 = require("@
|
|
19
|
+
const uikit_product_card_predefined_1 = require("@cloud-ru/uikit-product-card-predefined");
|
|
20
|
+
const uikit_product_locale_1 = require("@cloud-ru/uikit-product-locale");
|
|
21
|
+
const uikit_product_utils_1 = require("@cloud-ru/uikit-product-utils");
|
|
22
22
|
const link_1 = require("@snack-uikit/link");
|
|
23
23
|
const typography_1 = require("@snack-uikit/typography");
|
|
24
24
|
const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
|
|
@@ -17,9 +17,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
exports.Widget = Widget;
|
|
18
18
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
19
|
const classnames_1 = __importDefault(require("classnames"));
|
|
20
|
-
const uikit_product_icons_1 = require("@
|
|
21
|
-
const uikit_product_locale_1 = require("@
|
|
22
|
-
const uikit_product_title_clickable_1 = require("@
|
|
20
|
+
const uikit_product_icons_1 = require("@cloud-ru/uikit-product-icons");
|
|
21
|
+
const uikit_product_locale_1 = require("@cloud-ru/uikit-product-locale");
|
|
22
|
+
const uikit_product_title_clickable_1 = require("@cloud-ru/uikit-product-title-clickable");
|
|
23
23
|
const info_block_1 = require("@snack-uikit/info-block");
|
|
24
24
|
const skeleton_1 = require("@snack-uikit/skeleton");
|
|
25
25
|
const utils_1 = require("@snack-uikit/utils");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { TitleClickableProps } from '@
|
|
3
|
-
import { WithLayoutType } from '@
|
|
2
|
+
import { TitleClickableProps } from '@cloud-ru/uikit-product-title-clickable';
|
|
3
|
+
import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
|
|
4
4
|
import type { InfoBlockProps } from '@snack-uikit/info-block';
|
|
5
5
|
import { WithSupportProps } from '@snack-uikit/utils';
|
|
6
6
|
import { Action } from '../../helperComponents/Actions/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { WithLayoutType } from '@
|
|
2
|
+
import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { Action } from './types';
|
|
4
4
|
export declare function ActionView({ variant, tooltip, hidden, layoutType, commonProps, ...buttonProps }: WithLayoutType<Action & {
|
|
5
5
|
commonProps: {
|
|
@@ -13,7 +13,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.ActionView = ActionView;
|
|
15
15
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
const uikit_product_mobile_tooltip_1 = require("@
|
|
16
|
+
const uikit_product_mobile_tooltip_1 = require("@cloud-ru/uikit-product-mobile-tooltip");
|
|
17
17
|
const button_1 = require("@snack-uikit/button");
|
|
18
18
|
const ButtonDroplist_1 = require("../ButtonDroplist");
|
|
19
19
|
const ButtonKebab_1 = require("../ButtonKebab");
|
|
@@ -7,9 +7,9 @@ exports.MobileActions = MobileActions;
|
|
|
7
7
|
const react_1 = require("react");
|
|
8
8
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
9
9
|
const react_2 = require("react");
|
|
10
|
-
const uikit_product_icons_1 = require("@
|
|
11
|
-
const uikit_product_mobile_dropdown_1 = require("@
|
|
12
|
-
const uikit_product_mobile_tooltip_1 = require("@
|
|
10
|
+
const uikit_product_icons_1 = require("@cloud-ru/uikit-product-icons");
|
|
11
|
+
const uikit_product_mobile_dropdown_1 = require("@cloud-ru/uikit-product-mobile-dropdown");
|
|
12
|
+
const uikit_product_mobile_tooltip_1 = require("@cloud-ru/uikit-product-mobile-tooltip");
|
|
13
13
|
const button_1 = require("@snack-uikit/button");
|
|
14
14
|
const utils_1 = require("@snack-uikit/utils");
|
|
15
15
|
const ActionView_1 = require("./ActionView");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TooltipProps } from '@
|
|
1
|
+
import { TooltipProps } from '@cloud-ru/uikit-product-mobile-tooltip';
|
|
2
2
|
import { ButtonFilledProps, ButtonFunctionProps, ButtonOutlineProps, ButtonSimpleProps, ButtonTonalProps } from '@snack-uikit/button';
|
|
3
3
|
import { ButtonDroplistProps } from '../ButtonDroplist';
|
|
4
4
|
import { ButtonKebabProps } from '../ButtonKebab';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AdaptiveDropdownProps } from '@
|
|
2
|
-
import { WithLayoutType } from '@
|
|
1
|
+
import { AdaptiveDropdownProps } from '@cloud-ru/uikit-product-mobile-dropdown';
|
|
2
|
+
import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { ButtonFunctionProps } from '@snack-uikit/button';
|
|
4
4
|
export type ButtonDropdownProps = WithLayoutType<{
|
|
5
5
|
button: Omit<ButtonFunctionProps, 'icon' | 'iconPosition' | 'appearance'>;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ButtonDropdown = ButtonDropdown;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const uikit_product_icons_1 = require("@
|
|
6
|
-
const uikit_product_mobile_dropdown_1 = require("@
|
|
5
|
+
const uikit_product_icons_1 = require("@cloud-ru/uikit-product-icons");
|
|
6
|
+
const uikit_product_mobile_dropdown_1 = require("@cloud-ru/uikit-product-mobile-dropdown");
|
|
7
7
|
const button_1 = require("@snack-uikit/button");
|
|
8
8
|
const utils_1 = require("@snack-uikit/utils");
|
|
9
9
|
function ButtonDropdown({ layoutType, button, dropdown }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AdaptiveDroplistProps } from '@
|
|
2
|
-
import { WithLayoutType } from '@
|
|
1
|
+
import { AdaptiveDroplistProps } from '@cloud-ru/uikit-product-mobile-dropdown';
|
|
2
|
+
import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { ButtonFilledProps, ButtonFunctionProps } from '@snack-uikit/button';
|
|
4
4
|
export type ButtonDroplistProps = WithLayoutType<{
|
|
5
5
|
button: (Omit<ButtonFilledProps, 'appearance'> & {
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ButtonDroplist = ButtonDroplist;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
|
-
const uikit_product_icons_1 = require("@
|
|
7
|
-
const uikit_product_mobile_dropdown_1 = require("@
|
|
6
|
+
const uikit_product_icons_1 = require("@cloud-ru/uikit-product-icons");
|
|
7
|
+
const uikit_product_mobile_dropdown_1 = require("@cloud-ru/uikit-product-mobile-dropdown");
|
|
8
8
|
const button_1 = require("@snack-uikit/button");
|
|
9
9
|
const utils_1 = require("@snack-uikit/utils");
|
|
10
10
|
function ButtonDroplist({ layoutType, button, list }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AdaptiveDroplistProps } from '@
|
|
2
|
-
import { WithLayoutType } from '@
|
|
1
|
+
import { AdaptiveDroplistProps } from '@cloud-ru/uikit-product-mobile-dropdown';
|
|
2
|
+
import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { ButtonOutlineProps } from '@snack-uikit/button';
|
|
4
4
|
export type ButtonKebabProps = WithLayoutType<{
|
|
5
5
|
button?: Omit<ButtonOutlineProps, 'label' | 'icon'>;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ButtonKebab = ButtonKebab;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const uikit_product_icons_1 = require("@
|
|
6
|
-
const uikit_product_mobile_dropdown_1 = require("@
|
|
5
|
+
const uikit_product_icons_1 = require("@cloud-ru/uikit-product-icons");
|
|
6
|
+
const uikit_product_mobile_dropdown_1 = require("@cloud-ru/uikit-product-mobile-dropdown");
|
|
7
7
|
const button_1 = require("@snack-uikit/button");
|
|
8
8
|
const utils_1 = require("@snack-uikit/utils");
|
|
9
9
|
function ButtonKebab({ layoutType, button, list }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { CarouselProps } from '@
|
|
3
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
2
|
+
import { CarouselProps } from '@cloud-ru/uikit-product-mobile-carousel';
|
|
3
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
4
4
|
export type ProductsWidgetProps = WithLayoutType<Pick<CarouselProps, 'arrows' | 'pagination'> & WithSupportProps<{
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
cards: ReactNode[];
|
|
@@ -11,9 +11,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useMemo } from 'react';
|
|
14
|
-
import { useLocale } from '@
|
|
15
|
-
import { AdaptiveCarousel } from '@
|
|
16
|
-
import { extractSupportProps } from '@
|
|
14
|
+
import { useLocale } from '@cloud-ru/uikit-product-locale';
|
|
15
|
+
import { AdaptiveCarousel } from '@cloud-ru/uikit-product-mobile-carousel';
|
|
16
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
17
17
|
import { Typography } from '@snack-uikit/typography';
|
|
18
18
|
import { COLUMN_SIZE, MOBILE_COLUMN_SIZE, MOBILE_ROW_SIZE, ROW_SIZE } from './constants';
|
|
19
19
|
import styles from './styles.module.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CardSuggestProps } from '@
|
|
2
|
-
import { WithLayoutType, WithSupportProps } from '@
|
|
1
|
+
import { CardSuggestProps } from '@cloud-ru/uikit-product-card-predefined';
|
|
2
|
+
import { WithLayoutType, WithSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { LinkProps } from '@snack-uikit/link';
|
|
4
4
|
export type SolutionsWidgetProps = WithLayoutType<WithSupportProps<{
|
|
5
5
|
moreLink?: Pick<LinkProps, 'onClick' | 'href'>;
|
|
@@ -10,9 +10,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { CardSuggest } from '@
|
|
14
|
-
import { useLocale } from '@
|
|
15
|
-
import { extractSupportProps } from '@
|
|
13
|
+
import { CardSuggest } from '@cloud-ru/uikit-product-card-predefined';
|
|
14
|
+
import { useLocale } from '@cloud-ru/uikit-product-locale';
|
|
15
|
+
import { extractSupportProps } from '@cloud-ru/uikit-product-utils';
|
|
16
16
|
import { Link } from '@snack-uikit/link';
|
|
17
17
|
import { Typography } from '@snack-uikit/typography';
|
|
18
18
|
import styles from './styles.module.css';
|
|
@@ -11,9 +11,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import cn from 'classnames';
|
|
14
|
-
import { CrossSVG } from '@
|
|
15
|
-
import { useLocale } from '@
|
|
16
|
-
import { TitleClickable } from '@
|
|
14
|
+
import { CrossSVG } from '@cloud-ru/uikit-product-icons';
|
|
15
|
+
import { useLocale } from '@cloud-ru/uikit-product-locale';
|
|
16
|
+
import { TitleClickable } from '@cloud-ru/uikit-product-title-clickable';
|
|
17
17
|
import { InfoBlock } from '@snack-uikit/info-block';
|
|
18
18
|
import { Skeleton } from '@snack-uikit/skeleton';
|
|
19
19
|
import { extractSupportProps } from '@snack-uikit/utils';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { TitleClickableProps } from '@
|
|
3
|
-
import { WithLayoutType } from '@
|
|
2
|
+
import { TitleClickableProps } from '@cloud-ru/uikit-product-title-clickable';
|
|
3
|
+
import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
|
|
4
4
|
import type { InfoBlockProps } from '@snack-uikit/info-block';
|
|
5
5
|
import { WithSupportProps } from '@snack-uikit/utils';
|
|
6
6
|
import { Action } from '../../helperComponents/Actions/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { WithLayoutType } from '@
|
|
2
|
+
import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { Action } from './types';
|
|
4
4
|
export declare function ActionView({ variant, tooltip, hidden, layoutType, commonProps, ...buttonProps }: WithLayoutType<Action & {
|
|
5
5
|
commonProps: {
|
|
@@ -10,7 +10,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { AdaptiveTooltip } from '@
|
|
13
|
+
import { AdaptiveTooltip } from '@cloud-ru/uikit-product-mobile-tooltip';
|
|
14
14
|
import { ButtonFilled, ButtonFunction, ButtonOutline, ButtonSimple, ButtonTonal, } from '@snack-uikit/button';
|
|
15
15
|
import { ButtonDroplist } from '../ButtonDroplist';
|
|
16
16
|
import { ButtonKebab } from '../ButtonKebab';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createElement as _createElement } from "react";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useRef, useState } from 'react';
|
|
4
|
-
import { KebabSVG } from '@
|
|
5
|
-
import { MobileDroplist } from '@
|
|
6
|
-
import { MobileTooltip } from '@
|
|
4
|
+
import { KebabSVG } from '@cloud-ru/uikit-product-icons';
|
|
5
|
+
import { MobileDroplist } from '@cloud-ru/uikit-product-mobile-dropdown';
|
|
6
|
+
import { MobileTooltip } from '@cloud-ru/uikit-product-mobile-tooltip';
|
|
7
7
|
import { ButtonOutline } from '@snack-uikit/button';
|
|
8
8
|
import { useDynamicList } from '@snack-uikit/utils';
|
|
9
9
|
import { ActionView } from './ActionView';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TooltipProps } from '@
|
|
1
|
+
import { TooltipProps } from '@cloud-ru/uikit-product-mobile-tooltip';
|
|
2
2
|
import { ButtonFilledProps, ButtonFunctionProps, ButtonOutlineProps, ButtonSimpleProps, ButtonTonalProps } from '@snack-uikit/button';
|
|
3
3
|
import { ButtonDroplistProps } from '../ButtonDroplist';
|
|
4
4
|
import { ButtonKebabProps } from '../ButtonKebab';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AdaptiveDropdownProps } from '@
|
|
2
|
-
import { WithLayoutType } from '@
|
|
1
|
+
import { AdaptiveDropdownProps } from '@cloud-ru/uikit-product-mobile-dropdown';
|
|
2
|
+
import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { ButtonFunctionProps } from '@snack-uikit/button';
|
|
4
4
|
export type ButtonDropdownProps = WithLayoutType<{
|
|
5
5
|
button: Omit<ButtonFunctionProps, 'icon' | 'iconPosition' | 'appearance'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { ChevronDownSVG, ChevronUpSVG } from '@
|
|
3
|
-
import { AdaptiveDropdown } from '@
|
|
2
|
+
import { ChevronDownSVG, ChevronUpSVG } from '@cloud-ru/uikit-product-icons';
|
|
3
|
+
import { AdaptiveDropdown } from '@cloud-ru/uikit-product-mobile-dropdown';
|
|
4
4
|
import { ButtonFunction } from '@snack-uikit/button';
|
|
5
5
|
import { useValueControl } from '@snack-uikit/utils';
|
|
6
6
|
export function ButtonDropdown({ layoutType, button, dropdown }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AdaptiveDroplistProps } from '@
|
|
2
|
-
import { WithLayoutType } from '@
|
|
1
|
+
import { AdaptiveDroplistProps } from '@cloud-ru/uikit-product-mobile-dropdown';
|
|
2
|
+
import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { ButtonFilledProps, ButtonFunctionProps } from '@snack-uikit/button';
|
|
4
4
|
export type ButtonDroplistProps = WithLayoutType<{
|
|
5
5
|
button: (Omit<ButtonFilledProps, 'appearance'> & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
|
-
import { ChevronDownSVG, ChevronUpSVG } from '@
|
|
4
|
-
import { AdaptiveDroplist } from '@
|
|
3
|
+
import { ChevronDownSVG, ChevronUpSVG } from '@cloud-ru/uikit-product-icons';
|
|
4
|
+
import { AdaptiveDroplist } from '@cloud-ru/uikit-product-mobile-dropdown';
|
|
5
5
|
import { ButtonFilled, ButtonFunction } from '@snack-uikit/button';
|
|
6
6
|
import { useValueControl } from '@snack-uikit/utils';
|
|
7
7
|
export function ButtonDroplist({ layoutType, button, list }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AdaptiveDroplistProps } from '@
|
|
2
|
-
import { WithLayoutType } from '@
|
|
1
|
+
import { AdaptiveDroplistProps } from '@cloud-ru/uikit-product-mobile-dropdown';
|
|
2
|
+
import { WithLayoutType } from '@cloud-ru/uikit-product-utils';
|
|
3
3
|
import { ButtonOutlineProps } from '@snack-uikit/button';
|
|
4
4
|
export type ButtonKebabProps = WithLayoutType<{
|
|
5
5
|
button?: Omit<ButtonOutlineProps, 'label' | 'icon'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { KebabSVG } from '@
|
|
3
|
-
import { AdaptiveDroplist } from '@
|
|
2
|
+
import { KebabSVG } from '@cloud-ru/uikit-product-icons';
|
|
3
|
+
import { AdaptiveDroplist } from '@cloud-ru/uikit-product-mobile-dropdown';
|
|
4
4
|
import { ButtonOutline } from '@snack-uikit/button';
|
|
5
5
|
import { useValueControl } from '@snack-uikit/utils';
|
|
6
6
|
export function ButtonKebab({ layoutType, button, list }) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/uikit-product-widget",
|
|
3
3
|
"title": "Widget",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.7",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
7
7
|
"*.woff",
|
|
@@ -30,20 +30,19 @@
|
|
|
30
30
|
"name": "Akhremenko Grigorii",
|
|
31
31
|
"url": "https://github.com/AGrigorii"
|
|
32
32
|
},
|
|
33
|
-
"contributors": [],
|
|
34
33
|
"license": "Apache-2.0",
|
|
35
34
|
"publishConfig": {
|
|
36
35
|
"access": "public"
|
|
37
36
|
},
|
|
38
37
|
"scripts": {},
|
|
39
38
|
"dependencies": {
|
|
40
|
-
"@cloud-ru/uikit-product-card-predefined": "0.8.
|
|
41
|
-
"@cloud-ru/uikit-product-icons": "15.1.
|
|
42
|
-
"@cloud-ru/uikit-product-mobile-carousel": "0.1.
|
|
43
|
-
"@cloud-ru/uikit-product-mobile-dropdown": "0.9.
|
|
44
|
-
"@cloud-ru/uikit-product-mobile-tooltip": "0.4.
|
|
45
|
-
"@cloud-ru/uikit-product-title-clickable": "0.0.
|
|
46
|
-
"@cloud-ru/uikit-product-utils": "7.0.
|
|
39
|
+
"@cloud-ru/uikit-product-card-predefined": "0.8.15",
|
|
40
|
+
"@cloud-ru/uikit-product-icons": "15.1.4",
|
|
41
|
+
"@cloud-ru/uikit-product-mobile-carousel": "0.1.15",
|
|
42
|
+
"@cloud-ru/uikit-product-mobile-dropdown": "0.9.24",
|
|
43
|
+
"@cloud-ru/uikit-product-mobile-tooltip": "0.4.68",
|
|
44
|
+
"@cloud-ru/uikit-product-title-clickable": "0.0.51",
|
|
45
|
+
"@cloud-ru/uikit-product-utils": "7.0.3",
|
|
47
46
|
"@snack-uikit/button": "0.19.16",
|
|
48
47
|
"@snack-uikit/info-block": "0.6.33",
|
|
49
48
|
"@snack-uikit/link": "0.15.9",
|
|
@@ -55,5 +54,5 @@
|
|
|
55
54
|
"peerDependencies": {
|
|
56
55
|
"@cloud-ru/uikit-product-locale": "*"
|
|
57
56
|
},
|
|
58
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "ce69097516055b330a0b05da5e29ac5b66e56284"
|
|
59
58
|
}
|