diff --git a/.changeset/big-zebras-matter.md b/.changeset/big-zebras-matter.md deleted file mode 100644 index 98a4000ea2..0000000000 --- a/.changeset/big-zebras-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@alfalab/core-components-select': patch ---- - -Откат изменений скрытия футера при пустых опциях diff --git a/.changeset/img.png b/.changeset/img.png deleted file mode 100644 index 2283b592c0..0000000000 Binary files a/.changeset/img.png and /dev/null differ diff --git a/.changeset/img_1.png b/.changeset/img_1.png deleted file mode 100644 index ead75d9449..0000000000 Binary files a/.changeset/img_1.png and /dev/null differ diff --git a/.changeset/spicy-cars-hunt.md b/.changeset/spicy-cars-hunt.md deleted file mode 100644 index 45d85cab70..0000000000 --- a/.changeset/spicy-cars-hunt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@alfalab/core-components-switch': minor ---- - -- Добавлены `inverted` цвета diff --git a/.changeset/young-guests-cheat.md b/.changeset/young-guests-cheat.md deleted file mode 100644 index 48e9c1780e..0000000000 --- a/.changeset/young-guests-cheat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@alfalab/core-components-markdown': patch ---- - -Исправлено скругление картинок до `16px` diff --git a/.storybook/package-sizes.json b/.storybook/package-sizes.json index 69b7d639de..de221183e5 100644 --- a/.storybook/package-sizes.json +++ b/.storybook/package-sizes.json @@ -15,8 +15,8 @@ "index.js": 7.4 }, "tooltip": { - "desktop.js": 48.8, - "index.js": 106.6, + "desktop.js": 48.9, + "index.js": 106.7, "mobile.js": 78.1 }, "toast": { @@ -52,7 +52,7 @@ "shared.js": 29.7 }, "table": { - "index.js": 170.1 + "index.js": 170.2 }, "tab-bar": { "index.js": 11, @@ -86,7 +86,7 @@ "index.js": 4.1 }, "space": { - "index.js": 2.5 + "index.js": 2.6 }, "sortable-list": { "index.js": 53.7, @@ -114,7 +114,7 @@ "desktop.js": 158.9, "index.js": 303.3, "mobile.js": 276.6, - "shared.js": 261.8 + "shared.js": 261.9 }, "select-with-tags": { "desktop.js": 286.9, @@ -266,7 +266,7 @@ "shared.js": 11.9 }, "input-autocomplete": { - "desktop.js": 279.5, + "desktop.js": 279.6, "index.js": 316, "mobile.js": 288.5, "shared.js": 2 @@ -299,7 +299,7 @@ "index.js": 1.8 }, "gallery": { - "index.js": 623.6 + "index.js": 623.7 }, "form-control": { "desktop.js": 4.1, diff --git a/CHANGELOG.md b/CHANGELOG.md index 34db5d9c9e..03d0c030dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,76 @@ +## 47.24.0 + + + +### [#1359](https://github.com/core-ds/core-components/pull/1359) + +#### Что изменилось +- В сборку добавлено создание js-файлов для цветовых палитр. Это позволяет импортировать js-стили конкретной палитры. + +#### Влияние на компоненты +- Минорное
`vars` + + + +## 47.23.0 + + + +### [#1407](https://github.com/core-ds/core-components/pull/1407) + +#### Что изменилось +- Откат изменений скрытия футера при пустых опциях + +#### Влияние на компоненты +- Патчи
`select` + + +### [#1415](https://github.com/core-ds/core-components/pull/1415) + +#### Что изменилось +- Добавлен обработчик `onTargetClick`, вызываемый при нажатии на цель `Tooltip` + +#### Влияние на компоненты +- Минорное
`tooltip` + + +### [#1414](https://github.com/core-ds/core-components/pull/1414) + +#### Что изменилось +- Для дочернего компонента-обертки Space -> Item прокидываем key который передали или сгенерировал react + +#### Влияние на компоненты +- Патчи
`space` + + +### [#1410](https://github.com/core-ds/core-components/pull/1410) + +#### Что изменилось +- Исправлен расчет высоты пустого списка опций с включенным `limitDynamicOptionGroupSize` + +#### Влияние на компоненты +- Патчи
`select` + + +### [#1381](https://github.com/core-ds/core-components/pull/1381) + +#### Что изменилось +- Добавлены `inverted` цвета + +#### Влияние на компоненты +- Минорное
`switch` + + +### [#1382](https://github.com/core-ds/core-components/pull/1382) + +#### Что изменилось +- Исправлено скругление картинок до `16px` + +#### Влияние на компоненты +- Патчи
`markdown` + + + ## 47.22.0 diff --git a/bin/export-css-custom-properties-as-js-vars.js b/bin/export-css-custom-properties-as-js-vars.js index 8ca864d66b..9bfe86c02d 100644 --- a/bin/export-css-custom-properties-as-js-vars.js +++ b/bin/export-css-custom-properties-as-js-vars.js @@ -10,6 +10,21 @@ const distPath = '../packages/vars/dist'; fs.mkdirSync(path.resolve(__dirname, distPath), { recursive: true }); const BUILDS = ['es5', 'cssm', 'moderncssm', 'esm', 'modern']; +const PALETTES = [ + 'colors', + 'colors-addons', + 'colors-bluetint', + 'colors-decorative', + 'colors-indigo', + 'colors-pfm', + 'colors-qualitative', + 'colors-sequential', + 'colors-students', + 'colors-transparent', + 'colors-x5', + 'shadows-bluetint', + 'shadows-indigo', +]; function ensureDirectoryExist(filePath) { const dirname = path.dirname(filePath); @@ -48,18 +63,35 @@ function createExporter(buildName) { }; } +/** формирует файлы деклараций d.ts */ +function execTsc(destJsPath) { + return function () { + console.log(`create d.ts => ${destJsPath.split('/packages')[1]}`); + + shell.exec( + `tsc --typeRoots [] --declaration --emitDeclarationOnly --allowJs ${destJsPath}`, + ); + }; +} + +/** формирует путь для создания js модуля с css переменными (учитывая тип сборки) */ +function createJSPathDestination(buildName, srcFileName) { + return path.resolve( + __dirname, + distPath, + buildName === 'es5' ? '' : buildName, + `${srcFileName}.js`, + ); +} + +/** собирает css переменные из vars/index.css в единый js модуль */ function exportCssVarsAsJs(srcFileName) { const cssPath = path.resolve(__dirname, `../packages/vars/src/${srcFileName}.css`); const css = fs.readFileSync(cssPath, 'utf-8'); return Promise.all( BUILDS.map((buildName) => { - const destJsPath = path.resolve( - __dirname, - distPath, - buildName === 'es5' ? '' : buildName, - `${srcFileName}.js`, - ); + const destJsPath = createJSPathDestination(buildName, srcFileName); ensureDirectoryExist(destJsPath); return postcss() @@ -71,11 +103,35 @@ function exportCssVarsAsJs(srcFileName) { }), ) .process(css, { from: cssPath, to: destJsPath }) - .then(() => { - shell.exec( - `tsc --typeRoots [] --declaration --emitDeclarationOnly --allowJs ${destJsPath}`, - ); - }); + .then(execTsc(destJsPath)); + }), + ); +} + +/** собирает js модуль для каждого css файла по отдельности */ +function buildPalettesCustomCSSProperties() { + return Promise.all( + PALETTES.map((palette) => { + const cssPath = path.resolve(__dirname, `../packages/vars/src/${palette}.css`); + const css = fs.readFileSync(cssPath, 'utf-8'); + + BUILDS.map((buildName) => { + const destJsPath = createJSPathDestination(buildName, `${palette}.module`); + + ensureDirectoryExist(destJsPath); + + console.log(`build [ ${palette} => ${buildName} ]`); + + return postcss() + .use( + exportCustomVariables({ + exporter: createExporter(buildName), + destination: destJsPath, + }), + ) + .process(css, { from: cssPath, to: destJsPath }) + .then(execTsc(destJsPath)); + }); }), ); } @@ -86,3 +142,8 @@ exportCssVarsAsJs('index') console.error(reason); process.exit(1); }); + +buildPalettesCustomCSSProperties().catch((reason) => { + console.error(reason); + process.exit(1); +}); diff --git a/package.json b/package.json index 722685a6c7..d885a8eb18 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components", - "version": "47.22.0", + "version": "47.24.0", "private": true, "workspaces": [ "packages/*" diff --git a/packages/accordion/package.json b/packages/accordion/package.json index bdb6e2eaa2..24b5b76ea7 100644 --- a/packages/accordion/package.json +++ b/packages/accordion/package.json @@ -22,5 +22,5 @@ "@alfalab/core-components-typography": "^4.10.2" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/action-button/package.json b/packages/action-button/package.json index 3e094131e4..1ecd3d1116 100644 --- a/packages/action-button/package.json +++ b/packages/action-button/package.json @@ -22,5 +22,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/alert/package.json b/packages/alert/package.json index c97182e7e5..a70f8abf3d 100644 --- a/packages/alert/package.json +++ b/packages/alert/package.json @@ -19,5 +19,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/amount-input/package.json b/packages/amount-input/package.json index 9cd44395f0..c1f620e2d2 100644 --- a/packages/amount-input/package.json +++ b/packages/amount-input/package.json @@ -23,5 +23,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/amount/package.json b/packages/amount/package.json index c1791cf423..4cc80a7ae1 100644 --- a/packages/amount/package.json +++ b/packages/amount/package.json @@ -20,5 +20,5 @@ "react": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/attach/package.json b/packages/attach/package.json index 822669066b..b0ba4b9c0b 100644 --- a/packages/attach/package.json +++ b/packages/attach/package.json @@ -24,5 +24,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/backdrop/package.json b/packages/backdrop/package.json index b3484bc87c..43aa222121 100644 --- a/packages/backdrop/package.json +++ b/packages/backdrop/package.json @@ -22,5 +22,5 @@ "react": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/badge/package.json b/packages/badge/package.json index af5977d06b..8a2aa99260 100644 --- a/packages/badge/package.json +++ b/packages/badge/package.json @@ -18,5 +18,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/bank-card/package.json b/packages/bank-card/package.json index 0428d9a38c..ab8ba0f4e4 100644 --- a/packages/bank-card/package.json +++ b/packages/bank-card/package.json @@ -22,5 +22,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/base-modal/package.json b/packages/base-modal/package.json index 4ed49e4b0c..eee6421b80 100644 --- a/packages/base-modal/package.json +++ b/packages/base-modal/package.json @@ -30,5 +30,5 @@ "react": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/bottom-sheet/package.json b/packages/bottom-sheet/package.json index 74ba4eddb7..96a51c6574 100644 --- a/packages/bottom-sheet/package.json +++ b/packages/bottom-sheet/package.json @@ -27,5 +27,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/button/package.json b/packages/button/package.json index f3681cd9ac..76c9193fc7 100644 --- a/packages/button/package.json +++ b/packages/button/package.json @@ -27,5 +27,5 @@ "site" ], "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/calendar-input/package.json b/packages/calendar-input/package.json index e0d731f8ed..b4916a761a 100644 --- a/packages/calendar-input/package.json +++ b/packages/calendar-input/package.json @@ -27,5 +27,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/calendar-range/package.json b/packages/calendar-range/package.json index cacf514c53..e0440ceb29 100644 --- a/packages/calendar-range/package.json +++ b/packages/calendar-range/package.json @@ -24,5 +24,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/calendar-with-skeleton/package.json b/packages/calendar-with-skeleton/package.json index 62ccb2b4b0..89af4e5cbe 100644 --- a/packages/calendar-with-skeleton/package.json +++ b/packages/calendar-with-skeleton/package.json @@ -22,5 +22,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/calendar/package.json b/packages/calendar/package.json index 301c0f2750..f84b11bd9a 100644 --- a/packages/calendar/package.json +++ b/packages/calendar/package.json @@ -32,5 +32,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/card-image/package.json b/packages/card-image/package.json index 052b69653b..0e9fa4b271 100644 --- a/packages/card-image/package.json +++ b/packages/card-image/package.json @@ -19,5 +19,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/cdn-icon/package.json b/packages/cdn-icon/package.json index f58fcbf4d8..a1258f9699 100644 --- a/packages/cdn-icon/package.json +++ b/packages/cdn-icon/package.json @@ -18,5 +18,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/chart/package.json b/packages/chart/package.json index 1a5f344bdb..2017b17f37 100644 --- a/packages/chart/package.json +++ b/packages/chart/package.json @@ -23,5 +23,5 @@ "react": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/checkbox-group/package.json b/packages/checkbox-group/package.json index 0549179a46..df2dda65be 100644 --- a/packages/checkbox-group/package.json +++ b/packages/checkbox-group/package.json @@ -21,5 +21,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/checkbox/package.json b/packages/checkbox/package.json index 72ad51a806..c95284ff4c 100644 --- a/packages/checkbox/package.json +++ b/packages/checkbox/package.json @@ -23,5 +23,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/circular-progress-bar/package.json b/packages/circular-progress-bar/package.json index 5c475f25a9..e16ca46d68 100644 --- a/packages/circular-progress-bar/package.json +++ b/packages/circular-progress-bar/package.json @@ -19,5 +19,5 @@ "react": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/code-input/package.json b/packages/code-input/package.json index a0e3ada56a..9140358c20 100644 --- a/packages/code-input/package.json +++ b/packages/code-input/package.json @@ -21,5 +21,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/collapse/package.json b/packages/collapse/package.json index f3e5a9c7d6..46637afbde 100644 --- a/packages/collapse/package.json +++ b/packages/collapse/package.json @@ -22,5 +22,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/comment/package.json b/packages/comment/package.json index 9cfd044cc3..825b972c9d 100644 --- a/packages/comment/package.json +++ b/packages/comment/package.json @@ -20,5 +20,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/confirmation-v1/package.json b/packages/confirmation-v1/package.json index 55543246bd..1d22616db7 100644 --- a/packages/confirmation-v1/package.json +++ b/packages/confirmation-v1/package.json @@ -24,5 +24,5 @@ "react": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/confirmation/package.json b/packages/confirmation/package.json index 8d9d3fee2d..be7b384353 100644 --- a/packages/confirmation/package.json +++ b/packages/confirmation/package.json @@ -26,5 +26,5 @@ "react": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/custom-button/package.json b/packages/custom-button/package.json index b1be9c3140..7dc33cddd1 100644 --- a/packages/custom-button/package.json +++ b/packages/custom-button/package.json @@ -19,5 +19,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/custom-picker-button/CHANGELOG.md b/packages/custom-picker-button/CHANGELOG.md index 62ea99817e..fd3cd09c67 100644 --- a/packages/custom-picker-button/CHANGELOG.md +++ b/packages/custom-picker-button/CHANGELOG.md @@ -1,5 +1,13 @@ # @alfalab/core-components-custom-picker-button +## 2.5.4 + +### Patch Changes + +- Обновлены зависимости + - select@17.15.1 + - picker-button@11.11.4 + ## 2.5.3 ### Patch Changes diff --git a/packages/custom-picker-button/package.json b/packages/custom-picker-button/package.json index bd78837f19..cd00ac1a37 100644 --- a/packages/custom-picker-button/package.json +++ b/packages/custom-picker-button/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-custom-picker-button", - "version": "2.5.3", + "version": "2.5.4", "description": "Custom picker button component", "keywords": [], "license": "MIT", @@ -15,14 +15,14 @@ "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "dependencies": { - "@alfalab/core-components-picker-button": "^11.11.3", + "@alfalab/core-components-picker-button": "^11.11.4", "@alfalab/core-components-custom-button": "^3.9.1", "@alfalab/core-components-mq": "^4.3.0", - "@alfalab/core-components-select": "^17.15.0", + "@alfalab/core-components-select": "^17.15.1", "classnames": "^2.3.1", "tslib": "^2.4.0", "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/date-input/package.json b/packages/date-input/package.json index 07d9a16dc5..1a09fd67f8 100644 --- a/packages/date-input/package.json +++ b/packages/date-input/package.json @@ -20,5 +20,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/date-range-input/package.json b/packages/date-range-input/package.json index 3d9bf6f157..c0de99098d 100644 --- a/packages/date-range-input/package.json +++ b/packages/date-range-input/package.json @@ -28,5 +28,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/date-time-input/package.json b/packages/date-time-input/package.json index d2269ffb72..1325587166 100644 --- a/packages/date-time-input/package.json +++ b/packages/date-time-input/package.json @@ -28,5 +28,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/divider/package.json b/packages/divider/package.json index dd68518f91..220848367f 100644 --- a/packages/divider/package.json +++ b/packages/divider/package.json @@ -18,5 +18,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/drawer/package.json b/packages/drawer/package.json index 7e73194dba..55e03b02d0 100644 --- a/packages/drawer/package.json +++ b/packages/drawer/package.json @@ -21,5 +21,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/dropzone/package.json b/packages/dropzone/package.json index 13cc5de0b4..c6730114ed 100644 --- a/packages/dropzone/package.json +++ b/packages/dropzone/package.json @@ -19,5 +19,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/file-upload-item/package.json b/packages/file-upload-item/package.json index cb4b1f778f..604cc4f8b9 100644 --- a/packages/file-upload-item/package.json +++ b/packages/file-upload-item/package.json @@ -23,5 +23,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/filter-tag/package.json b/packages/filter-tag/package.json index 5918bd7165..d0f89ebe2e 100644 --- a/packages/filter-tag/package.json +++ b/packages/filter-tag/package.json @@ -23,5 +23,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/form-control/package.json b/packages/form-control/package.json index dacefe13de..81e78f9a71 100644 --- a/packages/form-control/package.json +++ b/packages/form-control/package.json @@ -21,5 +21,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/gallery/CHANGELOG.md b/packages/gallery/CHANGELOG.md index 8d22177dd0..cd088d2117 100644 --- a/packages/gallery/CHANGELOG.md +++ b/packages/gallery/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 5.8.3 + +### Patch Changes + +- Обновлены зависимости + - tooltip@7.6.0 + ## 5.8.2 ### Patch Changes diff --git a/packages/gallery/package.json b/packages/gallery/package.json index 2a2e11449c..80bad0cc3a 100644 --- a/packages/gallery/package.json +++ b/packages/gallery/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-gallery", - "version": "5.8.2", + "version": "5.8.3", "description": "", "keywords": [], "license": "MIT", @@ -16,7 +16,7 @@ "dependencies": { "@alfalab/core-components-base-modal": "^5.8.2", "@alfalab/core-components-icon-button": "^6.10.1", - "@alfalab/core-components-tooltip": "^7.5.2", + "@alfalab/core-components-tooltip": "^7.6.0", "@alfalab/core-components-typography": "^4.10.2", "@alfalab/hooks": "^1.13.0", "@alfalab/icons-glyph": "^2.139.0", @@ -27,5 +27,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/gap/package.json b/packages/gap/package.json index ed0dd133dd..4c66545835 100644 --- a/packages/gap/package.json +++ b/packages/gap/package.json @@ -18,5 +18,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/generic-wrapper/package.json b/packages/generic-wrapper/package.json index 4cff6ee969..b71b87ec77 100644 --- a/packages/generic-wrapper/package.json +++ b/packages/generic-wrapper/package.json @@ -19,5 +19,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/global-store/package.json b/packages/global-store/package.json index a5cb951a8e..4c2cd5c2cc 100644 --- a/packages/global-store/package.json +++ b/packages/global-store/package.json @@ -11,5 +11,5 @@ "directory": "dist" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/grid/package.json b/packages/grid/package.json index 9d5f9a8bfc..16da31630a 100644 --- a/packages/grid/package.json +++ b/packages/grid/package.json @@ -18,5 +18,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/hatching-progress-bar/package.json b/packages/hatching-progress-bar/package.json index 4190c0058e..0c9236fa27 100644 --- a/packages/hatching-progress-bar/package.json +++ b/packages/hatching-progress-bar/package.json @@ -18,5 +18,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/icon-button/package.json b/packages/icon-button/package.json index ff7934a417..0ead98176f 100644 --- a/packages/icon-button/package.json +++ b/packages/icon-button/package.json @@ -19,5 +19,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/icon-view/package.json b/packages/icon-view/package.json index c025f7bc59..506ac52b9a 100644 --- a/packages/icon-view/package.json +++ b/packages/icon-view/package.json @@ -19,5 +19,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/indicator/package.json b/packages/indicator/package.json index 248a2992e6..87b2fffab3 100644 --- a/packages/indicator/package.json +++ b/packages/indicator/package.json @@ -17,5 +17,5 @@ "classnames": "^2.3.1" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/input-autocomplete/CHANGELOG.md b/packages/input-autocomplete/CHANGELOG.md index 7804cd62a4..64f1e5f043 100644 --- a/packages/input-autocomplete/CHANGELOG.md +++ b/packages/input-autocomplete/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 12.5.4 + +### Patch Changes + +- Обновлены зависимости + - select@17.15.1 + ## 12.5.3 ### Patch Changes diff --git a/packages/input-autocomplete/package.json b/packages/input-autocomplete/package.json index a43af18368..c101962ee7 100644 --- a/packages/input-autocomplete/package.json +++ b/packages/input-autocomplete/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-input-autocomplete", - "version": "12.5.3", + "version": "12.5.4", "description": "", "keywords": [], "license": "MIT", @@ -17,7 +17,7 @@ "@alfalab/core-components-form-control": "^12.6.0", "@alfalab/core-components-input": "^15.2.0", "@alfalab/core-components-popover": "^6.3.2", - "@alfalab/core-components-select": "^17.15.0", + "@alfalab/core-components-select": "^17.15.1", "@alfalab/core-components-shared": "^0.13.0", "@alfalab/core-components-mq": "^4.3.0", "@alfalab/hooks": "^1.13.0", @@ -30,5 +30,5 @@ "@types/lodash.throttle": "^4.1.7" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/input/package.json b/packages/input/package.json index 7ac1abbc47..e713e49e32 100644 --- a/packages/input/package.json +++ b/packages/input/package.json @@ -26,5 +26,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/international-phone-input/CHANGELOG.md b/packages/international-phone-input/CHANGELOG.md index 0a3e6041c2..d287267993 100644 --- a/packages/international-phone-input/CHANGELOG.md +++ b/packages/international-phone-input/CHANGELOG.md @@ -1,5 +1,13 @@ # @alfalab/core-components-international-phone-input +## 2.3.4 + +### Patch Changes + +- Обновлены зависимости + - select@17.15.1 + - input-autocomplete@12.5.4 + ## 2.3.3 ### Patch Changes diff --git a/packages/international-phone-input/package.json b/packages/international-phone-input/package.json index 761362e289..76ec1eb7a4 100644 --- a/packages/international-phone-input/package.json +++ b/packages/international-phone-input/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-international-phone-input", - "version": "2.3.3", + "version": "2.3.4", "description": "", "keywords": [], "license": "MIT", @@ -14,9 +14,9 @@ "react": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "dependencies": { - "@alfalab/core-components-input-autocomplete": "12.5.3", + "@alfalab/core-components-input-autocomplete": "12.5.4", "@alfalab/core-components-input": "^15.2.0", - "@alfalab/core-components-select": "^17.15.0", + "@alfalab/core-components-select": "^17.15.1", "@alfalab/core-components-shared": "^0.13.0", "@alfalab/core-components-mq": "^4.3.0", "@alfalab/hooks": "^1.13.0", @@ -28,5 +28,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/intl-phone-input/CHANGELOG.md b/packages/intl-phone-input/CHANGELOG.md index 7dfe258120..1b383813eb 100644 --- a/packages/intl-phone-input/CHANGELOG.md +++ b/packages/intl-phone-input/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 9.10.8 + +### Patch Changes + +- Обновлены зависимости + - select@17.15.1 + - input-autocomplete@12.5.4 + ## 9.10.7 ### Patch Changes diff --git a/packages/intl-phone-input/package.json b/packages/intl-phone-input/package.json index 45301b531f..c6348163c8 100644 --- a/packages/intl-phone-input/package.json +++ b/packages/intl-phone-input/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-intl-phone-input", - "version": "9.10.7", + "version": "9.10.8", "description": "Phone input for international phones", "keywords": [], "license": "MIT", @@ -14,8 +14,8 @@ "react": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "dependencies": { - "@alfalab/core-components-input-autocomplete": "12.5.3", - "@alfalab/core-components-select": "^17.15.0", + "@alfalab/core-components-input-autocomplete": "12.5.4", + "@alfalab/core-components-select": "^17.15.1", "@alfalab/hooks": "^1.13.0", "@alfalab/icons-glyph": "^2.139.0", "@alfalab/utils": "^1.15.2", @@ -25,5 +25,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/keyboard-focusable/package.json b/packages/keyboard-focusable/package.json index c368964666..9f9dc165f3 100644 --- a/packages/keyboard-focusable/package.json +++ b/packages/keyboard-focusable/package.json @@ -19,5 +19,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/link/package.json b/packages/link/package.json index dfb9c3b116..2d1a40cad3 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -20,5 +20,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/list-header/package.json b/packages/list-header/package.json index 9e80490dac..0840a709f9 100644 --- a/packages/list-header/package.json +++ b/packages/list-header/package.json @@ -19,5 +19,5 @@ "react": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/list/package.json b/packages/list/package.json index 0cf1fbbdbe..998a462b9d 100644 --- a/packages/list/package.json +++ b/packages/list/package.json @@ -19,5 +19,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/loader/package.json b/packages/loader/package.json index ccb700f14f..829090c76d 100644 --- a/packages/loader/package.json +++ b/packages/loader/package.json @@ -19,5 +19,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/markdown/CHANGELOG.md b/packages/markdown/CHANGELOG.md index 5cf29bffcd..775a77a486 100644 --- a/packages/markdown/CHANGELOG.md +++ b/packages/markdown/CHANGELOG.md @@ -1,5 +1,15 @@ # @alfalab/core-components-markdown +## 1.5.2 + +### Patch Changes + + + +### [#1382](https://github.com/core-ds/core-components/pull/1382) + +- Исправлено скругление картинок до `16px` + ## 1.5.1 ### Patch Changes diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 9acb332130..46b7253e95 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -1,7 +1,7 @@ { "name": "@alfalab/core-components-markdown", "description": "", - "version": "1.5.1", + "version": "1.5.2", "main": "index.js", "license": "MIT", "publishConfig": { @@ -26,5 +26,5 @@ "react-markdown": "6.0.2" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/masked-input/package.json b/packages/masked-input/package.json index 5e5a04a45f..6c6b6482f1 100644 --- a/packages/masked-input/package.json +++ b/packages/masked-input/package.json @@ -21,5 +21,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/modal/package.json b/packages/modal/package.json index 66c9426a51..831f65ced8 100644 --- a/packages/modal/package.json +++ b/packages/modal/package.json @@ -23,5 +23,5 @@ "react": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/mq/package.json b/packages/mq/package.json index 0c7e2bf552..6071539dc9 100644 --- a/packages/mq/package.json +++ b/packages/mq/package.json @@ -18,5 +18,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/navigation-bar-private/package.json b/packages/navigation-bar-private/package.json index ea5f5b6e5f..8fcec8e439 100644 --- a/packages/navigation-bar-private/package.json +++ b/packages/navigation-bar-private/package.json @@ -25,5 +25,5 @@ "react": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/navigation-bar/package.json b/packages/navigation-bar/package.json index 37f0e3fa2e..fddf495e08 100644 --- a/packages/navigation-bar/package.json +++ b/packages/navigation-bar/package.json @@ -22,5 +22,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/notification-manager/package.json b/packages/notification-manager/package.json index 277d45ee54..347aa76d44 100644 --- a/packages/notification-manager/package.json +++ b/packages/notification-manager/package.json @@ -22,5 +22,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/notification/package.json b/packages/notification/package.json index eb67216ab3..d7105e5170 100644 --- a/packages/notification/package.json +++ b/packages/notification/package.json @@ -24,5 +24,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/number-input/package.json b/packages/number-input/package.json index 21e58ccfe8..3a9db677c4 100644 --- a/packages/number-input/package.json +++ b/packages/number-input/package.json @@ -26,5 +26,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/pagination/package.json b/packages/pagination/package.json index 26d02fcb11..8130f4110c 100644 --- a/packages/pagination/package.json +++ b/packages/pagination/package.json @@ -21,5 +21,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/pass-code-v1/package.json b/packages/pass-code-v1/package.json index be03fa75b9..b9c0f6dac7 100644 --- a/packages/pass-code-v1/package.json +++ b/packages/pass-code-v1/package.json @@ -24,5 +24,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/pass-code/package.json b/packages/pass-code/package.json index 5bc01bb749..d83af5b288 100644 --- a/packages/pass-code/package.json +++ b/packages/pass-code/package.json @@ -25,5 +25,5 @@ "@alfalab/core-components-mq": "^4.3.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/password-input/package.json b/packages/password-input/package.json index 9c936bfb07..6ce2bdf0fb 100644 --- a/packages/password-input/package.json +++ b/packages/password-input/package.json @@ -22,5 +22,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/pattern-lock-v1/package.json b/packages/pattern-lock-v1/package.json index d7de0cd7d9..416af68fdd 100644 --- a/packages/pattern-lock-v1/package.json +++ b/packages/pattern-lock-v1/package.json @@ -23,5 +23,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/pattern-lock/package.json b/packages/pattern-lock/package.json index 0439cd3b62..51583ad7ab 100644 --- a/packages/pattern-lock/package.json +++ b/packages/pattern-lock/package.json @@ -23,5 +23,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/phone-input/package.json b/packages/phone-input/package.json index f69fccc6c5..a19a44f7a1 100644 --- a/packages/phone-input/package.json +++ b/packages/phone-input/package.json @@ -20,5 +20,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/phone-input/src/Component.test.tsx b/packages/phone-input/src/Component.test.tsx index 3b19207796..0a0c209b52 100644 --- a/packages/phone-input/src/Component.test.tsx +++ b/packages/phone-input/src/Component.test.tsx @@ -35,7 +35,8 @@ describe('PhoneInput', () => { expect(inputElement.value).toBe('+7 '); }); - it('with clearableCountryCode === true', async () => { + // todo тест рандомно падает, попробовать разобраться почему + xit('with clearableCountryCode === true', async () => { const { getByTestId } = render( , ); diff --git a/packages/picker-button/CHANGELOG.md b/packages/picker-button/CHANGELOG.md index 692b8f9a6c..dee5b45b45 100644 --- a/packages/picker-button/CHANGELOG.md +++ b/packages/picker-button/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 11.11.4 + +### Patch Changes + +- Обновлены зависимости + - select@17.15.1 + ## 11.11.3 ### Patch Changes diff --git a/packages/picker-button/package.json b/packages/picker-button/package.json index 4645a8c49a..9dfd1501b4 100644 --- a/packages/picker-button/package.json +++ b/packages/picker-button/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-picker-button", - "version": "11.11.3", + "version": "11.11.4", "description": "Picker button component", "keywords": [], "license": "MIT", @@ -16,7 +16,7 @@ }, "dependencies": { "@alfalab/core-components-button": "^11.9.0", - "@alfalab/core-components-select": "^17.15.0", + "@alfalab/core-components-select": "^17.15.1", "@alfalab/core-components-popover": "^6.3.2", "@alfalab/hooks": "^1.13.0", "@alfalab/icons-glyph": "^2.139.0", @@ -25,5 +25,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/plate/package.json b/packages/plate/package.json index 6bf7c9dace..f50dec50fb 100644 --- a/packages/plate/package.json +++ b/packages/plate/package.json @@ -24,5 +24,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/popover/package.json b/packages/popover/package.json index e46d06af78..6991ebf9b4 100644 --- a/packages/popover/package.json +++ b/packages/popover/package.json @@ -31,5 +31,5 @@ "@types/react-transition-group": "^4.4.5" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/popup-sheet/package.json b/packages/popup-sheet/package.json index dbc47a3797..abfa6ba0e2 100644 --- a/packages/popup-sheet/package.json +++ b/packages/popup-sheet/package.json @@ -24,5 +24,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/portal/package.json b/packages/portal/package.json index 3fe5ead035..ca23ba98d8 100644 --- a/packages/portal/package.json +++ b/packages/portal/package.json @@ -19,5 +19,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/product-cover/package.json b/packages/product-cover/package.json index 438b2c6788..79382cace8 100644 --- a/packages/product-cover/package.json +++ b/packages/product-cover/package.json @@ -25,5 +25,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/progress-bar/package.json b/packages/progress-bar/package.json index b51af7a28b..0bce455437 100644 --- a/packages/progress-bar/package.json +++ b/packages/progress-bar/package.json @@ -18,5 +18,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/pure-cell/package.json b/packages/pure-cell/package.json index 2206a914fd..2544577065 100644 --- a/packages/pure-cell/package.json +++ b/packages/pure-cell/package.json @@ -27,5 +27,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/radio-group/package.json b/packages/radio-group/package.json index 91fcac1481..ca2e1a1083 100644 --- a/packages/radio-group/package.json +++ b/packages/radio-group/package.json @@ -22,5 +22,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/radio/package.json b/packages/radio/package.json index 2d2782c545..fdfbd7b982 100644 --- a/packages/radio/package.json +++ b/packages/radio/package.json @@ -22,5 +22,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/scrollbar/package.json b/packages/scrollbar/package.json index b530ec82c6..eb1d9853f8 100644 --- a/packages/scrollbar/package.json +++ b/packages/scrollbar/package.json @@ -29,5 +29,5 @@ "@types/lodash.throttle": "^4.1.7" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/segmented-control/package.json b/packages/segmented-control/package.json index 13133059d8..96ff2715c0 100644 --- a/packages/segmented-control/package.json +++ b/packages/segmented-control/package.json @@ -21,5 +21,5 @@ "@juggle/resize-observer": "^3.3.1" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/select-with-tags/CHANGELOG.md b/packages/select-with-tags/CHANGELOG.md index c6555d18a7..e6233bda3c 100644 --- a/packages/select-with-tags/CHANGELOG.md +++ b/packages/select-with-tags/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 8.4.4 + +### Patch Changes + +- Обновлены зависимости + - select@17.15.1 + ## 8.4.3 ### Patch Changes diff --git a/packages/select-with-tags/package.json b/packages/select-with-tags/package.json index 0c72ec7c18..29da52fe21 100644 --- a/packages/select-with-tags/package.json +++ b/packages/select-with-tags/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-select-with-tags", - "version": "8.4.3", + "version": "8.4.4", "description": "", "keywords": [], "license": "MIT", @@ -15,7 +15,7 @@ }, "dependencies": { "@alfalab/core-components-form-control": "^12.6.0", - "@alfalab/core-components-select": "^17.15.0", + "@alfalab/core-components-select": "^17.15.1", "@alfalab/core-components-tag": "^8.5.0", "@alfalab/core-components-bottom-sheet": "^6.17.6", "@alfalab/core-components-mq": "^4.3.0", @@ -28,5 +28,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/select/CHANGELOG.md b/packages/select/CHANGELOG.md index 4654caf7e6..bd7c91e5d2 100644 --- a/packages/select/CHANGELOG.md +++ b/packages/select/CHANGELOG.md @@ -1,5 +1,21 @@ # Change Log +## 17.15.1 + +### Patch Changes + + + +### [#1407](https://github.com/core-ds/core-components/pull/1407) + +- Откат изменений скрытия футера при пустых опциях + + + +### [#1410](https://github.com/core-ds/core-components/pull/1410) + +- Исправлен расчет высоты пустого списка опций с включенным `limitDynamicOptionGroupSize` + ## 17.15.0 ### Minor Changes diff --git a/packages/select/package.json b/packages/select/package.json index 90dc8fe5ed..e0abc20b80 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-select", - "version": "17.15.0", + "version": "17.15.1", "description": "Select component", "keywords": [], "license": "MIT", @@ -40,5 +40,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/select/src/components/options-list/Component.tsx b/packages/select/src/components/options-list/Component.tsx index ee35df3921..cec0d3721a 100644 --- a/packages/select/src/components/options-list/Component.tsx +++ b/packages/select/src/components/options-list/Component.tsx @@ -114,14 +114,16 @@ export const OptionsList = forwardRef( ); }; + const actualOptionsCount = limitDynamicOptionGroupSize && options.length > 0; + const measured = useVisibleOptions({ ...(!nativeScrollbar && { styleTargetRef: scrollbarRef }), visibleOptions, listRef, open, options, - actualOptionsCount: limitDynamicOptionGroupSize, - size: limitDynamicOptionGroupSize + actualOptionsCount, + size: actualOptionsCount ? (() => { switch (typeof size) { case 'string': diff --git a/packages/shared/package.json b/packages/shared/package.json index 403e179000..a6bfb910ac 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -21,5 +21,5 @@ "@maskito/core": "^1.7.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/side-panel/package.json b/packages/side-panel/package.json index 871752ff99..d2e4f9e31d 100644 --- a/packages/side-panel/package.json +++ b/packages/side-panel/package.json @@ -24,5 +24,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/skeleton/package.json b/packages/skeleton/package.json index 83da1e9138..a8907e5873 100644 --- a/packages/skeleton/package.json +++ b/packages/skeleton/package.json @@ -19,5 +19,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/slider-input/package.json b/packages/slider-input/package.json index db09453d95..ed62ad3615 100644 --- a/packages/slider-input/package.json +++ b/packages/slider-input/package.json @@ -21,5 +21,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/slider/package.json b/packages/slider/package.json index c12f25bdd6..75aded14b9 100644 --- a/packages/slider/package.json +++ b/packages/slider/package.json @@ -20,5 +20,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/sortable-list/package.json b/packages/sortable-list/package.json index 99f4238586..6bd85cb8f2 100644 --- a/packages/sortable-list/package.json +++ b/packages/sortable-list/package.json @@ -25,5 +25,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/space/CHANGELOG.md b/packages/space/CHANGELOG.md index 92f19cc7b5..9f7c2bd76e 100644 --- a/packages/space/CHANGELOG.md +++ b/packages/space/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 3.3.1 + +### Patch Changes + + + +### [#1414](https://github.com/core-ds/core-components/pull/1414) + +- Для дочернего компонента-обертки Space -> Item прокидываем key который передали или сгенерировал react + ## 3.3.0 ### Minor Changes diff --git a/packages/space/package.json b/packages/space/package.json index 6573bb67a5..e3b0b6b593 100644 --- a/packages/space/package.json +++ b/packages/space/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-space", - "version": "3.3.0", + "version": "3.3.1", "description": "", "keywords": [], "license": "MIT", @@ -18,5 +18,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/space/src/Component.test.tsx b/packages/space/src/Component.test.tsx index 9a174393d5..d7eb27aa4d 100644 --- a/packages/space/src/Component.test.tsx +++ b/packages/space/src/Component.test.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React, { FC, useEffect } from 'react'; import { render } from '@testing-library/react'; import { CardImage } from '@alfalab/core-components-card-image'; @@ -29,5 +29,40 @@ describe('Space', () => { ), ).toMatchSnapshot(); }); + + it('should unmount only 1 child component when it removed', () => { + const unmountSpy = jest.fn(); + + const Child: FC<{ id: string; handlerUnmount: jest.Mock }> = ({ + id, + handlerUnmount, + }) => { + useEffect(() => { + return () => { + handlerUnmount(id); + }; + }, [id, handlerUnmount]); + + return
Child {id}
; + }; + + const { rerender } = render( + + + + + , + ); + + rerender( + + + + , + ); + + expect(unmountSpy).toHaveBeenCalledTimes(1); + expect(unmountSpy).toHaveBeenCalledWith('2'); + }); }); }); diff --git a/packages/space/src/Component.tsx b/packages/space/src/Component.tsx index 0aa294d298..f572dcc011 100644 --- a/packages/space/src/Component.tsx +++ b/packages/space/src/Component.tsx @@ -1,4 +1,4 @@ -import React, { Children, forwardRef, ReactNode } from 'react'; +import React, { Children, forwardRef, isValidElement, ReactNode } from 'react'; import cn from 'classnames'; import Item from './Item'; @@ -121,7 +121,7 @@ export const Space = forwardRef((props, ref) => { + +### [#1381](https://github.com/core-ds/core-components/pull/1381) + +- Добавлены `inverted` цвета + ## 4.3.2 ### Patch Changes diff --git a/packages/switch/package.json b/packages/switch/package.json index 5dc2ad0832..3799c9b1e0 100644 --- a/packages/switch/package.json +++ b/packages/switch/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-switch", - "version": "4.3.2", + "version": "4.4.0", "description": "", "gitHead": "f054fef20200664c65e2501ef1f916c555cdf05d", "keywords": [], @@ -22,5 +22,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/system-message/package.json b/packages/system-message/package.json index 6d46ce6751..92e63baf44 100644 --- a/packages/system-message/package.json +++ b/packages/system-message/package.json @@ -20,5 +20,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/tab-bar/package.json b/packages/tab-bar/package.json index 9075cdbec2..ce73251754 100644 --- a/packages/tab-bar/package.json +++ b/packages/tab-bar/package.json @@ -22,5 +22,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/table/CHANGELOG.md b/packages/table/CHANGELOG.md index 413bccdd5e..354ca776c3 100644 --- a/packages/table/CHANGELOG.md +++ b/packages/table/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 2.6.8 + +### Patch Changes + +- Обновлены зависимости + - select@17.15.1 + ## 2.6.7 ### Patch Changes diff --git a/packages/table/package.json b/packages/table/package.json index ae76cf7f03..7f17fe817e 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-table", - "version": "2.6.7", + "version": "2.6.8", "description": "", "keywords": [], "license": "MIT", @@ -17,10 +17,10 @@ "dependencies": { "@alfalab/core-components-button": "^11.9.0", "@alfalab/core-components-pagination": "^2.4.2", - "@alfalab/core-components-select": "^17.15.0", + "@alfalab/core-components-select": "^17.15.1", "classnames": "^2.3.1", "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/tabs/CHANGELOG.md b/packages/tabs/CHANGELOG.md index f01a9aca90..5b9f2fcbec 100644 --- a/packages/tabs/CHANGELOG.md +++ b/packages/tabs/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 8.11.4 + +### Patch Changes + +- Обновлены зависимости + - picker-button@11.11.4 + ## 8.11.3 ### Patch Changes diff --git a/packages/tabs/package.json b/packages/tabs/package.json index 8d4acdb30e..ec7de201e9 100644 --- a/packages/tabs/package.json +++ b/packages/tabs/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-tabs", - "version": "8.11.3", + "version": "8.11.4", "description": "Tabs components", "keywords": [], "license": "MIT", @@ -16,7 +16,7 @@ "dependencies": { "@alfalab/core-components-keyboard-focusable": "^4.1.0", "@alfalab/core-components-tag": "^8.5.0", - "@alfalab/core-components-picker-button": "^11.11.3", + "@alfalab/core-components-picker-button": "^11.11.4", "@alfalab/core-components-badge": "^5.6.1", "@alfalab/core-components-mq": "^4.3.0", "@alfalab/hooks": "^1.13.0", @@ -35,5 +35,5 @@ "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/tag/package.json b/packages/tag/package.json index a96fea7c59..0ff2b57c8b 100644 --- a/packages/tag/package.json +++ b/packages/tag/package.json @@ -22,5 +22,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/text/package.json b/packages/text/package.json index ab4c93d60a..355f98eb6b 100644 --- a/packages/text/package.json +++ b/packages/text/package.json @@ -18,5 +18,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/textarea/package.json b/packages/textarea/package.json index 4f35e1ff64..3c4f01c247 100644 --- a/packages/textarea/package.json +++ b/packages/textarea/package.json @@ -23,5 +23,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/time-input/package.json b/packages/time-input/package.json index 7b1ccd2036..9084fbea78 100644 --- a/packages/time-input/package.json +++ b/packages/time-input/package.json @@ -19,5 +19,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/toast-plate/package.json b/packages/toast-plate/package.json index fb7a52eef2..e5b2c0a2d2 100644 --- a/packages/toast-plate/package.json +++ b/packages/toast-plate/package.json @@ -24,5 +24,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/toast/package.json b/packages/toast/package.json index d45c668a27..b223b20ee5 100644 --- a/packages/toast/package.json +++ b/packages/toast/package.json @@ -28,5 +28,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/tooltip/CHANGELOG.md b/packages/tooltip/CHANGELOG.md index a92c4f87c6..3fe4031b26 100644 --- a/packages/tooltip/CHANGELOG.md +++ b/packages/tooltip/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 7.6.0 + +### Minor Changes + + + +### [#1415](https://github.com/core-ds/core-components/pull/1415) + +- Добавлен обработчик `onTargetClick`, вызываемый при нажатии на цель `Tooltip` + ## 7.5.2 ### Patch Changes diff --git a/packages/tooltip/package.json b/packages/tooltip/package.json index 9610154cb0..90d942061f 100644 --- a/packages/tooltip/package.json +++ b/packages/tooltip/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-tooltip", - "version": "7.5.2", + "version": "7.6.0", "description": "Tooltip component", "keywords": [], "license": "MIT", @@ -25,5 +25,5 @@ "@alfalab/core-components-shared": "^0.13.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/tooltip/src/Component.test.tsx b/packages/tooltip/src/Component.test.tsx index 2e62248905..ad89c1f10f 100644 --- a/packages/tooltip/src/Component.test.tsx +++ b/packages/tooltip/src/Component.test.tsx @@ -1,4 +1,4 @@ -import React, { ForwardRefRenderFunction } from 'react'; +import React, { ForwardRefRenderFunction, SyntheticEvent } from 'react'; import { render, fireEvent, @@ -375,4 +375,28 @@ describe('Props test', () => { expect(lastMockCall[0]).toMatchObject({ anchorElement: anchor }); }); + it('should call `onTargetClick`', async () => { + const childrenText = 'Click me'; + const contentText = 'I am tooltip'; + const onTargetClick = jest.fn(); + + const { getByText, findByText } = await renderTooltip({ + children:
{childrenText}
, + content:
{contentText}
, + trigger: 'click', + onTargetClick, + }); + + const children = getByText(childrenText); + + fireEvent.click(children); + + const content = await findByText(contentText); + + expect(content).toBeInTheDocument(); + + expect(onTargetClick).toBeCalledTimes(1); + + expect(onTargetClick).toBeCalledWith(expect.anything()); + }); }); diff --git a/packages/tooltip/src/desktop/Component.desktop.tsx b/packages/tooltip/src/desktop/Component.desktop.tsx index 7eb0d86d29..91d58e0060 100644 --- a/packages/tooltip/src/desktop/Component.desktop.tsx +++ b/packages/tooltip/src/desktop/Component.desktop.tsx @@ -53,6 +53,7 @@ export const TooltipDesktop: FC = ({ anchor = null, colors = 'default', useAnchorWidth, + onTargetClick, }) => { const [visible, setVisible] = useState(!!forcedOpen); const [target, setTarget] = useState(null); @@ -125,7 +126,9 @@ export const TooltipDesktop: FC = ({ }; }, [clickedOutside, close]); - const handleTargetClick = () => { + const handleTargetClick = (event: React.MouseEvent) => { + event.persist(); + onTargetClick?.(event); toggle(); }; diff --git a/packages/tooltip/src/types.ts b/packages/tooltip/src/types.ts index 0b2d6bcfb3..6b456b331d 100644 --- a/packages/tooltip/src/types.ts +++ b/packages/tooltip/src/types.ts @@ -1,4 +1,4 @@ -import type { MutableRefObject, ReactElement, ReactNode } from 'react'; +import type { MouseEvent, MutableRefObject, ReactElement, ReactNode } from 'react'; import React from 'react'; import type { BottomSheetProps } from '@alfalab/core-components-bottom-sheet'; @@ -145,6 +145,8 @@ export type TooltipDesktopProps = { * @default div */ targetTag?: 'div' | 'span'; + + onTargetClick?: (event: MouseEvent) => void; }; export type TooltipMobileProps = Omit, 'actionButton'> & diff --git a/packages/typography/package.json b/packages/typography/package.json index 1148823780..f34ae27d22 100644 --- a/packages/typography/package.json +++ b/packages/typography/package.json @@ -22,5 +22,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/underlay/package.json b/packages/underlay/package.json index 4431247bb5..829bec7872 100644 --- a/packages/underlay/package.json +++ b/packages/underlay/package.json @@ -17,5 +17,5 @@ "classnames": "^2.3.1" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/universal-date-input/package.json b/packages/universal-date-input/package.json index 5430d36d9f..642adf4534 100644 --- a/packages/universal-date-input/package.json +++ b/packages/universal-date-input/package.json @@ -30,5 +30,5 @@ "@alfalab/core-components-calendar": "^7.14.2" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" } diff --git a/packages/vars/CHANGELOG.md b/packages/vars/CHANGELOG.md index a087355efc..7275f9a53e 100644 --- a/packages/vars/CHANGELOG.md +++ b/packages/vars/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 9.14.0 + +### Minor Changes + + + +### [#1359](https://github.com/core-ds/core-components/pull/1359) + +- В сборку добавлено создание js-файлов для цветовых палитр. Это позволяет импортировать js-стили конкретной палитры. + ## 9.13.1 ### Patch Changes diff --git a/packages/vars/package.json b/packages/vars/package.json index a18f58d115..d49a576287 100644 --- a/packages/vars/package.json +++ b/packages/vars/package.json @@ -1,6 +1,6 @@ { "name": "@alfalab/core-components-vars", - "version": "9.13.1", + "version": "9.14.0", "description": "", "keywords": [], "license": "MIT", diff --git a/packages/vars/src/docs/description.mdx b/packages/vars/src/docs/description.mdx index c8fb38885c..82d1c499dd 100644 --- a/packages/vars/src/docs/description.mdx +++ b/packages/vars/src/docs/description.mdx @@ -15,7 +15,7 @@ import mixins from '!!raw-loader!../mixins.css'; @import '@alfalab/core-components/vars'; ``` -Все CSS-переменные можно также экспортировать в виде JS-переменных: +Все CSS-переменные можно также импортировать в виде JS-переменных: ```typescript import * as vars from '@alfalab/core-components/vars'; @@ -23,6 +23,12 @@ import * as vars from '@alfalab/core-components/vars'; vars.gap2xl === '32px'; //true ``` +В корневом файле `/vars/index.js` находятся не все доступные палитры. В этом случае вы можете импортировать цвет напрямую из JS-файла + +```typescript +import {colorLightDecorativeOrange} from '@alfalab/core-components/vars/colors-decorative.module'; +``` + Для использования в проекте, добавьте один из [подготовленных бандлов](https://github.com/core-ds/core-components/tree/master/packages/vars/src/bundle) продуктов в один из корневых файлов CSS: ```css diff --git a/packages/with-suffix/package.json b/packages/with-suffix/package.json index 90257ea2e1..a92983de0f 100644 --- a/packages/with-suffix/package.json +++ b/packages/with-suffix/package.json @@ -21,5 +21,5 @@ "tslib": "^2.4.0" }, "themesVersion": "13.4.0", - "varsVersion": "9.13.1" + "varsVersion": "9.14.0" }